1<!doctype html> 2<!--[if lt IE 9 ]> <html lang="lv" class="ie intuero benu-eshop-lv chainPage mID-10021 lang-lv cacheStatus-off "> <![endif]--> 3<!--[if (gte IE 9)|!(IE)]><!--> 4<html lang="lv" class="intuero benu-eshop-lv chainPage mID-10021 lang-lv cacheStatus-off "> <!--<![endif]--> 5 6<head> 7 <meta charset="utf-8"> 8 <style> 9 :root {--feature-test_s1:true; --feature-SBNU-7970-V3:true; } </style> 10 11
11<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" data-cookieconsent="ignore"> 12 window.dataLayer = window.dataLayer || []; 13 14 function gtag() { 15 dataLayer.push(arguments); 16 } 17 gtag("consent", "default", { 18 ad_storage: "denied", 19 analytics_storage: "denied", 20 functionality_storage: "denied", 21 personalization_storage: "denied", 22 security_storage: "granted", 23 wait_for_update: 2000, 24 ad_user_data: "denied", 25 ad_personalization: "denied", 26 27 }); 28 </script>
28 29 <!-- Google Tag Manager --> 30
30<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" data-cookieconsent="ignore">
vendor: 610 bytes, lines 30-44
30 31 (function(w, d, s, l, i) { 32 w[l] = w[l] || []; 33 w[l].push({ 34 'gtm.start': new Date().getTime(), 35 event: 'gtm.js' 36 }); 37 var f = d.getElementsByTagName(s)[0], 38 j = d.createElement(s), 39 dl = l != 'dataLayer' ? '&l=' + l : ''; 40 j.async = true; 41 j.src = 42 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; 43 f.parentNode.insertBefore(j, f); 44 })(window, document, 'script', 'dataLayer', '
44GTM-NQWG96J
vendor: 12 bytes, lines 44-45
44'); 45
45</script>
45 46 <!-- End Google Tag Manager --> 47 48
48<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" data-cookieconsent="ignore"> 49
vendor: 87,533 bytes, lines 49-50
49/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 50!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});
51 </script>
51 52 53
53<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" data-cookieconsent="ignore"> 54 const design = true; 55 const addedToCartText = 'Pievienots grozam'; 56 </script>
56 57 58
58<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 59 const isSafari = /^((?!chrome|crios|android).)*safari/i.test(navigator.userAgent); 60 61 if (isSafari) { 62 63 const key = `scroll_${location.pathname}${location.search}`; 64 65 window.addEventListener('pagehide', () => { 66 sessionStorage.setItem(key, window.scrollY); 67 }); 68 69 window.addEventListener('pageshow', (e) => { 70 71 const navEntry = performance.getEntriesByType('navigation')[0]; 72 const isBackForward = e.persisted || navEntry?.type === 'back_forward'; 73 74 if (isBackForward) { 75 const pos = sessionStorage.getItem(key); 76 if (pos) { 77 setTimeout(() => window.scrollTo(0, +pos), 0); 78 } 79 } 80 81 }); 82 83 } 84 </script>
84 85 86
86<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 87 window.lazySizesConfig = window.lazySizesConfig || {}; 88 // window.lazySizesConfig.hFac = 0.2; 89 window.lazySizesConfig.expand = 800; 90 </script>
90 91 92
vendor: 4,198 bytes, lines 92-95
92<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 93 /*! lazysizes - v5.3.2 */ 94 95!function(e){var t=function(u,D,f){"use strict";var k,H;if(function(){var e;var t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:true,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:true,ricTimeout:0,throttleDelay:125};H=u.lazySizesConfig||u.lazysizesConfig||{};for(e in t){if(!(e in H)){H[e]=t[e]}}}(),!D||!D.getElementsByClassName){return{init:function(){},cfg:H,noSupport:true}}var O=D.documentElement,i=u.HTMLPictureElement,P="addEventListener",$="getAttribute",q=u[P].bind(u),I=u.setTimeout,U=u.requestAnimationFrame||I,o=u.requestIdleCallback,j=/^picture$/i,r=["load","error","lazyincluded","_lazyloaded"],a={},G=Array.prototype.forEach,J=function(e,t){if(!a[t]){a[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")}return a[t].test(e[$]("class")||"")&&a[t]},K=function(e,t){if(!J(e,t)){e.setAttribute("class",(e[$]("class")||"").trim()+" "+t)}},Q=function(e,t){var a;if(a=J(e,t)){e.setAttribute("class",(e[$]("class")||"").replace(a," "))}},V=function(t,a,e){var i=e?P:"removeEventListener";if(e){V(t,a)}r.forEach(function(e){t[i](e,a)})},X=function(e,t,a,i,r){var n=D.createEvent("Event");if(!a){a={}}a.instance=k;n.initEvent(t,!i,!r);n.detail=a;e.dispatchEvent(n);return n},Y=function(e,t){var a;if(!i&&(a=u.picturefill||H.pf)){if(t&&t.src&&!e[$]("srcset")){e.setAttribute("srcset",t.src)}a({reevaluate:true,elements:[e]})}else if(t&&t.src){e.src=t.src}},Z=function(e,t){return(getComputedStyle(e,null)||{})[t]},s=function(e,t,a){a=a||e.offsetWidth;while(a<H.minSize&&t&&!e._lazysizesWidth){a=t.offsetWidth;t=t.parentNode}return a},ee=function(){var a,i;var t=[];var r=[];var n=t;var s=function(){var e=n;n=t.length?r:t;a=true;i=false;while(e.length){e.shift()()}a=false};var e=function(e,t){if(a&&!t){e.apply(this,arguments)}else{n.push(e);if(!i){i=true;(D.hidden?I:U)(s)}}};e._lsFlush=s;return e}(),te=function(a,e){return e?function(){ee(a)}:function(){var e=this;var t=arguments;ee(function(){a.apply(e,t)})}},ae=function(e){var a;var i=0;var r=H.throttleDelay;var n=H.ricTimeout;var t=function(){a=false;i=f.now();e()};var s=o&&n>49?function(){o(t,{timeout:n});if(n!==H.ricTimeout){n=H.ricTimeout}}:te(function(){I(t)},true);return function(e){var t;if(e=e===true){n=33}if(a){return}a=true;t=r-(f.now()-i);if(t<0){t=0}if(e||t<9){s()}else{I(s,t)}}},ie=function(e){var t,a;var i=99;var r=function(){t=null;e()};var n=function(){var e=f.now()-a;if(e<i){I(n,i-e)}else{(o||r)(r)}};return function(){a=f.now();if(!t){t=I(n,i)}}},e=function(){var v,m,c,h,e;var y,z,g,p,C,b,A;var n=/^img$/i;var d=/^iframe$/i;var E="onscroll"in u&&!/(gle|ing)bot/.test(navigator.userAgent);var _=0;var w=0;var M=0;var N=-1;var L=function(e){M--;if(!e||M<0||!e.target){M=0}};var x=function(e){if(A==null){A=Z(D.body,"visibility")=="hidden"}return A||!(Z(e.parentNode,"visibility")=="hidden"&&Z(e,"visibility")=="hidden")};var W=function(e,t){var a;var i=e;var r=x(e);g-=t;b+=t;p-=t;C+=t;while(r&&(i=i.offsetParent)&&i!=D.body&&i!=O){r=(Z(i,"opacity")||1)>0;if(r&&Z(i,"overflow")!="visible"){a=i.getBoundingClientRect();r=C>a.left&&p<a.right&&b>a.top-1&&g<a.bottom+1}}return r};var t=function(){var e,t,a,i,r,n,s,o,l,u,f,c;var d=k.elements;if((h=H.loadMode)&&M<8&&(e=d.length)){t=0;N++;for(;t<e;t++){if(!d[t]||d[t]._lazyRace){continue}if(!E||k.prematureUnveil&&k.prematureUnveil(d[t])){R(d[t]);continue}if(!(o=d[t][$]("data-expand"))||!(n=o*1)){n=w}if(!u){u=!H.expand||H.expand<1?O.clientHeight>500&&O.clientWidth>500?500:370:H.expand;k._defEx=u;f=u*H.expFactor;c=H.hFac;A=null;if(w<f&&M<1&&N>2&&h>2&&!D.hidden){w=f;N=0}else if(h>1&&N>1&&M<6){w=u}else{w=_}}if(l!==n){y=innerWidth+n*c;z=innerHeight+n;s=n*-1;l=n}a=d[t].getBoundingClientRect();if((b=a.bottom)>=s&&(g=a.top)<=z&&(C=a.right)>=s*c&&(p=a.left)<=y&&(b||C||p||g)&&(H.loadHidden||x(d[t]))&&(m&&M<3&&!o&&(h<3||N<4)||W(d[t],n))){R(d[t]);r=true;if(M>9){break}}else if(!r&&m&&!i&&M<4&&N<4&&h>
vendor: 3,843 bytes, lines 95-96
952&&(v[0]||H.preloadAfterLoad)&&(v[0]||!o&&(b||C||p||g||d[t][$](H.sizesAttr)!="auto"))){i=v[0]||d[t]}}if(i&&!r){R(i)}}};var a=ae(t);var S=function(e){var t=e.target;if(t._lazyCache){delete t._lazyCache;return}L(e);K(t,H.loadedClass);Q(t,H.loadingClass);V(t,B);X(t,"lazyloaded")};var i=te(S);var B=function(e){i({target:e.target})};var T=function(e,t){var a=e.getAttribute("data-load-mode")||H.iframeLoadMode;if(a==0){e.contentWindow.location.replace(t)}else if(a==1){e.src=t}};var F=function(e){var t;var a=e[$](H.srcsetAttr);if(t=H.customMedia[e[$]("data-media")||e[$]("media")]){e.setAttribute("media",t)}if(a){e.setAttribute("srcset",a)}};var s=te(function(t,e,a,i,r){var n,s,o,l,u,f;if(!(u=X(t,"lazybeforeunveil",e)).defaultPrevented){if(i){if(a){K(t,H.autosizesClass)}else{t.setAttribute("sizes",i)}}s=t[$](H.srcsetAttr);n=t[$](H.srcAttr);if(r){o=t.parentNode;l=o&&j.test(o.nodeName||"")}f=e.firesLoad||"src"in t&&(s||n||l);u={target:t};K(t,H.loadingClass);if(f){clearTimeout(c);c=I(L,2500);V(t,B,true)}if(l){G.call(o.getElementsByTagName("source"),F)}if(s){t.setAttribute("srcset",s)}else if(n&&!l){if(d.test(t.nodeName)){T(t,n)}else{t.src=n}}if(r&&(s||l)){Y(t,{src:n})}}if(t._lazyRace){delete t._lazyRace}Q(t,H.lazyClass);ee(function(){var e=t.complete&&t.naturalWidth>1;if(!f||e){if(e){K(t,H.fastLoadedClass)}S(u);t._lazyCache=true;I(function(){if("_lazyCache"in t){delete t._lazyCache}},9)}if(t.loading=="lazy"){M--}},true)});var R=function(e){if(e._lazyRace){return}var t;var a=n.test(e.nodeName);var i=a&&(e[$](H.sizesAttr)||e[$]("sizes"));var r=i=="auto";if((r||!m)&&a&&(e[$]("src")||e.srcset)&&!e.complete&&!J(e,H.errorClass)&&J(e,H.lazyClass)){return}t=X(e,"lazyunveilread").detail;if(r){re.updateElem(e,true,e.offsetWidth)}e._lazyRace=true;M++;s(e,t,r,i,a)};var r=ie(function(){H.loadMode=3;a()});var o=function(){if(H.loadMode==3){H.loadMode=2}r()};var l=function(){if(m){return}if(f.now()-e<999){I(l,999);return}m=true;H.loadMode=3;a();q("scroll",o,true)};return{_:function(){e=f.now();k.elements=D.getElementsByClassName(H.lazyClass);v=D.getElementsByClassName(H.lazyClass+" "+H.preloadClass);q("scroll",a,true);q("resize",a,true);q("pageshow",function(e){if(e.persisted){var t=D.querySelectorAll("."+H.loadingClass);if(t.length&&t.forEach){U(function(){t.forEach(function(e){if(e.complete){R(e)}})})}}});if(u.MutationObserver){new MutationObserver(a).observe(O,{childList:true,subtree:true,attributes:true})}else{O[P]("DOMNodeInserted",a,true);O[P]("DOMAttrModified",a,true);setInterval(a,999)}q("hashchange",a,true);["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){D[P](e,a,true)});if(/d$|^c/.test(D.readyState)){l()}else{q("load",l);D[P]("DOMContentLoaded",a);I(l,2e4)}if(k.elements.length){t();ee._lsFlush()}else{a()}},checkElems:a,unveil:R,_aLSL:o}}(),re=function(){var a;var n=te(function(e,t,a,i){var r,n,s;e._lazysizesWidth=i;i+="px";e.setAttribute("sizes",i);if(j.test(t.nodeName||"")){r=t.getElementsByTagName("source");for(n=0,s=r.length;n<s;n++){r[n].setAttribute("sizes",i)}}if(!a.detail.dataAttr){Y(e,a.detail)}});var i=function(e,t,a){var i;var r=e.parentNode;if(r){a=s(e,r,a);i=X(e,"lazybeforesizes",{width:a,dataAttr:!!t});if(!i.defaultPrevented){a=i.detail.width;if(a&&a!==e._lazysizesWidth){n(e,r,i,a)}}}};var e=function(){var e;var t=a.length;if(t){e=0;for(;e<t;e++){i(a[e])}}};var t=ie(e);return{_:function(){a=D.getElementsByClassName(H.autosizesClass);q("resize",t)},checkElems:t,updateElem:i}}(),t=function(){if(!t.i&&D.getElementsByClassName){t.i=true;re._();e._()}};return I(function(){H.init&&t()}),k={cfg:H,autoSizer:re,loader:e,init:t,uP:Y,aC:K,rC:Q,hC:J,fire:X,gW:s,rAF:ee}}(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{}); var structuredDataList = []; 96 </script>
vendor: 165 bytes, lines 96-98
96 97 98 <script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" defer src="https://www.google.com/recaptcha/api.js?render=
986LcGQ_oqAAAAAKOD2PmL125-HMXeQoKBYmaa2geF
vendor: 51 bytes, lines 98-102
98"></script> 99 100 101 102
102<link rel="preconnect" href="https://consentcdn.cookiebot.com"> 103 <link rel="preconnect" href="https://consent.cookiebot.com"> 104
104<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="cf55bba6-a2ac-4578-b8dc-d9062963825b" data-culture="lv" type="text/javascript" defer></script>
104 105 106 <!--[if ie]><meta http-equiv="X-UA-Compatible" content="IE=edge"/><![endif]--> 107 <base href="https://www.benu.lv/"> 108 <title>Pakalpojumi aptiekÄs | BENU.LV â tava aptieka klikšķa attÄlumÄ!</title><meta charset="utf-8"> 109 <meta name="generator" content="Intuero by sonaro.eu"> 110 <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes, maximum-scale=2.0"> 111 <link rel="shortcut icon" href="application/images/favicons/favicon.ico"> 112 <link rel="icon" sizes="16x16 32x32 64x64" href="application/images/favicons/favicon.ico"> 113 <link rel="icon" type="image/png" sizes="196x196" href="application/images/favicons/favicon-192.png"> 114 <link rel="icon" type="image/png" sizes="160x160" href="application/images/favicons/favicon-160.png"> 115 <link rel="icon" type="image/png" sizes="96x96" href="application/images/favicons/favicon-96.png"> 116 <link rel="icon" type="image/png" sizes="64x64" href="application/images/favicons/favicon-64.png"> 117 <link rel="icon" type="image/png" sizes="32x32" href="application/images/favicons/favicon-32.png"> 118 <link rel="icon" type="image/png" sizes="16x16" href="application/images/favicons/favicon-16.png"> 119 <link rel="apple-touch-icon" href="application/images/favicons/favicon-57.png"> 120 <link rel="apple-touch-icon" sizes="114x114" href="application/images/favicons/favicon-114.png"> 121 <link rel="apple-touch-icon" sizes="72x72" href="application/images/favicons/favicon-72.png"> 122 <link rel="apple-touch-icon" sizes="144x144" href="application/images/favicons/favicon-144.png"> 123 <link rel="apple-touch-icon" sizes="60x60" href="application/images/favicons/favicon-60.png"> 124 <link rel="apple-touch-icon" sizes="120x120" href="application/images/favicons/favicon-120.png"> 125 <link rel="apple-touch-icon" sizes="76x76" href="application/images/favicons/favicon-76.png"> 126 <link rel="apple-touch-icon" sizes="152x152" href="application/images/favicons/favicon-152.png"> 127 <link rel="apple-touch-icon" sizes="180x180" href="application/images/favicons/favicon-180.png"> 128 <meta name="keywords" content="diennakts aptieka, asinsspiediena mÄrīšana, zÄļu izgatavoÅ¡ana" /> 129 <meta name="description" content="BENU interneta aptieka piedÄva plaÅ¡u pakalpojumu klÄstu aptiekÄs - zÄļu izgatavoÅ¡ana, mÄrÄ«jumi un pÄrbaudes, zÄļu piegÄde uz mÄjÄm, veterinÄros produktus, diennakts aptiekas serviss." /> 130 <meta property="og:locale" content="lt_LT" /> 131 <meta property="og:title" content="Pakalpojumi filiÄlÄs | BENU.LV â tava aptieka klikšķa attÄlumÄ!" /> 132 <meta property="og:type" content="website" /> 133 <meta property="og:url" content="https://www.benu.lv:443/pakalpojumi-filiales" /> 134 <meta property="og:image" content="https://www.benu.lv/media/images/Untitled-3%204.jpg" /> 135 <meta property="og:description" content="BENU interneta aptieka piedÄva plaÅ¡u pakalpojumu klÄstu aptiekÄs - zÄļu izgatavoÅ¡ana, mÄrÄ«jumi un pÄrbaudes, zÄļu piegÄde uz mÄjÄm, veterinÄros produktus, diennakts aptiekas serviss." /> 136 <link rel="canonical" href="https://www.benu.lv/pakalpojumi-filiales" />
136<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=">var makesortable = false; </script>
136 137
137<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=">var moduleID = "10021";</script>
137 138
138<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=">var langID = "lv"; </script>
138 139
139<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=">var intuero = {"appName":"benu-eshop-lv","env":"prod","mID":10021,"mType":"chainPage","lang":"lv","AK":"$2y$04$B6SQp.oMNuF5EkX7bjA.6OjRic6CtbLZZHMJzBRJ39lIVpeD4ysmi","AKPS":"4419252554"}; </script>
139 140
140<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=">var lteIE8 = false;</script>
140 141 <!--[if lte IE 8]>
141<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> lteIE8 = true; </script>
141 <![endif]--> 142
142<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" data-cookieconsent="ignore">
vendor: 87,533 bytes, lines 142-143
142/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 143!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});
144const TrackerPlugin=(()=>{let t=!0,e=!0,i=!0,n=!0,o=!1;const s="color: #1e88e5; font-weight: bold;",a="color: #00897b; font-weight: bold;",r="color: #43a047; font-weight: bold;",l="color: #e53935; font-weight: bold;";function c(t,e){if(o)return void 0!==e?(console.log("%c[Data Payload] %s","color: #546e7a;",t),void console.dir(e)):void 0}function u(t,e){if(!o)return;let i=`%c[TrackerPlugin] %c${t}`,n=[s,a];if(e){const t=e.includes("Inactive")||e.includes("not found")||e.includes("Error")||e.includes("Missing")?l:r;i+=`%c (${e})`,n.push(t)}console.log(i,...n)}function h(t,e){if(!o)return;let i=`%c[TrackerPlugin] %c${t}`,n=[s,a];if(e){const t=e.includes("Inactive")||e.includes("not found")||e.includes("Error")||e.includes("Missing")?l:r;i+=`%c (${e})`,n.push(t)}console.groupCollapsed(i,...n)}function d(){o&&console.groupEnd()}return{setDebugLogsStatus:t=>o=t,setFacebookPixelStatus:e=>t=e,setGTMStatus:t=>i=t,setMatomoTrackerStatus:t=>n=t,setFacebookConversionsAPIStatus:t=>e=t,log:c,logHeader:u,logStartGroup:h,logEnd:d,facebookPixel:function(e,i,n){const o="Facebook Pixel (fbq)";if(t){if(h(o,`Triggering: ${i}`),"undefined"==typeof fbq)return c("Error: API (fbq) not found."),void d();if(!e||!i)return c("Error: Missing Command or Event Name.",{command:e,eventName:i}),void d();n?(fbq(e,i,n),c(`Event Fired: ${e}/${i}`,n)):(fbq(e,i),c(`Event Fired: ${e}/${i}`)),d()}else u(o,"Inactive by config")},facebookConversionsAPI:function(t,i,n){const o="Facebook Conversions API";if(e){if(h(o,`AJAX Call: ${i}`),!t||!i||!n)return c("Error: Missing Event ID, Name, or Data.",{eventID:t,eventName:i,eventData:n}),void d();c("AJAX Payload",{event:i,eventID:t,data:n,sourceURL:window.location.href}),ajaxHelper({methodName:"benu_FacebookSDK",args:{event:i,eventID:t,data:n,sourceURL:$(location).attr("href")}},function(t){t.success||console.log(t)}),d()}else u(o,"Inactive by config")},gtm:function(t){const e="Google Tag Manager (GTM)";let n="Data Push";if(i){if(t&&"object"==typeof t&&t.event&&(n=t.event),h(e,n),"undefined"==typeof dataLayer)return c("Error: API (dataLayer) not found."),void d();if(!t||Array.isArray(t)&&0===t.length||"object"==typeof t&&0===Object.keys(t).length)return c("Error: Empty dataLayer object provided."),void d();dataLayer.push({ecommerce:null}),dataLayer.push(t),c("Pushed to dataLayer",t),d()}else u(e,"Inactive by config")},matomo:function(t){const e="Matomo (Piwik)";if(n){if(h(e,`Commands Push (${t.length} cmds)`),"undefined"==typeof _paq)return c("Error: API (_paq) not found."),void d();if(!t||0===t.length)return c("Error: Empty Matomo command array provided."),void d();_paq.push(t),c("Pushed Commands:"),console.table(t),d()}else u(e,"Inactive by config")},generateUniqueID:function(t="",e=Date.now()){return`${e}${t}${Math.floor(1e3+9e3*Math.random())}`}}})();window.addEventListener("DOMContentLoaded",()=>{TrackerPlugin.setFacebookPixelStatus(_trackerSettings.facebook??!1),TrackerPlugin.setFacebookConversionsAPIStatus(_trackerSettings.facebookAPI??!1),TrackerPlugin.setGTMStatus(_trackerSettings.gtm??!1),TrackerPlugin.setMatomoTrackerStatus(_trackerSettings.matomo??!1),TrackerPlugin.setDebugLogsStatus(_trackerSettings.debug??!1)});var lazyImagesInstance=null,productListSkipped=0,skippedProductsIDs=[];function drawBanner(t,e,i){var n={},o={};if(o.type=t,o.options={},e&&(o.options=e),o.options.screenWidth=$(window).width(),"undefined"!=typeof isOTCPage&&(o.options.isOTCPage=!!isOTCPage),8==t){var s={};$.each($(".bannerLink"),function(t,e){s[$(e).data("id")]=$(e).data("id")}),$.isEmptyObject(s)||(o.beforeLoaded=s)}if(8==t&&forcedBanner>0)return!1;n.className="Banners",n.methodName="drawBanner",n.args=o;var a=ajaxHelperStackCompleted;ajaxHelperOnReady(n,function(n){if(null==n)return!1;var o=!1;if(void 0!==n.return){if(!n.return.success){switch(t){case 2:$(".productsMenu__wrap").addClass("noOffer");break;case 8:if("group"!=e.group&&e.currentPage>1){f=$(".productsList .productItem__wrapCount"),$(".productsList .productItem:hidden").parent().show();var s=$(".productsList").filter(function(){return!$(this).closest(".block-productsBox").length}).first().find(".productItem").length%e.pageSize,r=0;if(void 0!==e.totalCount&&(r=e.totalCount),s&&f.length<r&&r)for(var l=1;l<=s;l++){var c=$(f[f.length-l]).closest(".productItem");$(c).hide()}}}return!1}if(void 0!==n.return.HTML){switch(t){case 2:$(".productsMenu__lvl3").append(n.return.HTML),$(".productsMenu__lvl3 .bannerLink").isInViewport()&&(eshopEvent_visiblePromotions[$(".productsMenu__lvl3 .bannerLink").data("promodata").ID]||(eshopEvent_visiblePromotions[$(".productsMenu__lvl3 .bannerLink").data("promodata").ID]={},eshopEvent_visiblePromotions[$(".productsMenu__lvl3 .bannerLink").data("promodata").ID]=$(".productsMenu__lvl3 .bannerLink").data("promodata"),o=!0)),$(".productsMenu__lvl3").width()-$(".productsMenu__lvl3 ul.open").width()>220?$(".productsMenu__offer").show():$(".productsMenu__offer").hide();break;case"navbanners":void 0!==n.return.groupedHTML&&$.each(n.return.groupedHTML,function(t,e){$(".bnSubMenu__bannersHolder--"+t+", .bnuSubMenu__banners--"+t).append(e)});break;case 3:$(".pageBannerWrap.productsTop").html(n.return.HTML),"function"==typeof window.benuReinitSwipers&&window.benuReinitSwipers(),$(".pageBannerWrap.productsTop .bannerLink").isInViewport()&&(eshopEvent_visiblePromotions[$(".pageBannerWrap.productsTop .bannerLink").data("promodata").ID]||(eshopEvent_visiblePromotions[$(".pageBannerWrap.productsTop .bannerLink").data("promodata").ID]={},eshopEvent_visiblePromotions[$(".pageBannerWrap.productsTop .bannerLink").data("promodata").ID]=$(".pageBannerWrap.productsTop .bannerLink").data("promodata"),o=!0));break;case 4:case 5:$(".pageBannerWrap.productsBottom").html(n.return.HTML),"function"==typeof window.benuReinitSwipers&&window.benuReinitSwipers(),$(".pageBannerWrap.productsBottom .bannerLink").length>0&&$(".pageBannerWrap.productsBottom .bannerLink").isInViewport()&&(eshopEvent_visiblePromotions[$(".pageBannerWrap.productsBottom .bannerLink").data("promodata").ID]||(eshopEvent_visiblePromotions[$(".pageBannerWrap.productsBottom .bannerLink").data("promodata").ID]={},eshopEvent_visiblePromotions[$(".pageBannerWrap.productsBottom .bannerLink").data("promodata").ID]=$(".pageBannerWrap.productsBottom .bannerLink").data("promodata"),o=!0));break;case 31:case 32:var u="top";32==t&&(u="bottom"),31==t?($(".productBanner__"+u+"--desktop").html(n.return.HTML),$(".productBanner__"+u+"--mobile").html(n.return.mobileHTML)):$(".productBanner__"+u).html(n.return.HTML),$(".productBanner__"+u+".bannerLink").length>0&&$(".productBanner__"+u+".bannerLink").isInViewport()&&(eshopEvent_visiblePromotions[$(".productBanner__"+u+".bannerLink").data("promodata").ID]||(eshopEvent_visiblePromotions[$(".productBanner__"+u+".bannerLink").data("promodata").ID]={},eshopEvent_visiblePromotions[$(".productBanner__"+u+".bannerLink").data("promodata").ID]=$(".productBanner__"+u+".bannerLink").data("promodata"),o=!0));break;case 6:var h={};h.ID=n.return.banner.ID,h.name=n.return.banner.name,h.type="Product page background (1920x..any height, with gradient fade)",eshopEvent_visiblePromotions[h.ID]||(eshopEvent_visiblePromotions[h.ID]={},eshopEvent_visiblePromotions[h.ID]=h,o=!0),$(".pr_innerWrap").css("background-image","url("+n.return.HTML+")");break;case 7:var d=$(".chainWrap .chainLink"),p=d[Math.floor(Math.random()*d.length)];$(p).before(n.return.HTML),$(p).parent().find(".bannerLink").isInViewport()&&(eshopEvent_visiblePromotions[$(p).parent().find(".bannerLink").data("promodata").ID]||(eshopEvent_visiblePromotions[$(p).parent().find(".bannerLink").data("promodata").ID]={},eshopEvent_visiblePromotions[$(p).parent().find(".bannerLink").data("promodata").ID]=$(p).parent().find(".bannerLink").data("promodata"),o=!0));break;case 8:if("group"==e.group){var f=$(".productsList").eq(0).find(".productItem__wrapCount");"all"==e.pageSize?e.pageSize=27:e.pageSize=e.pageSize/2,f&&$.each(n.return.HTML,function(t,i){if(-1!=$.inArray(t,n.return.showBannersInOTC)||-1!=$.inArray(t,n.return.showBannersInBoth)){var o=(e.currentPage-1)*e.pageSize,s=Math.min(f.length-1,e.currentPage*e.pageSize-1),a=e.forced?0:Math.floor(Math.random()*(s-o+1)+o),r=f[a];if(r){var l=$(r).closest(".productItem"),c=$(".productsList").eq(0);l.before(i),c.children(".productItem:visible, .productItem--hasBanner:visible").length>e.pageSize&&l.hide(),e.currentPage+=1,delete n.return.HTML[t]}}}),e.currentPage=1,(f=$(".productsList").eq(1).find(".productItem__wrapCount"))&&$.each(n.return.HTML,function(t,i){if((-1!=$.inArray(t,n.return.showBannersInRegular)||-1!=$.inArray(t,n.return.showBannersInBoth))&&void 0!==i){var o=(e.currentPage-1)*e.pageSize,s=Math.min(f.length-1,e.currentPage*e.pageSize-1),a=e.forced?0:Math.floor(Math.random()*(s-o+1)+o),r=f[a];if(r){var l=$(r).closest(".productItem"),c=$(".productsList").eq(1);l.before(i),c.children(".productItem:visible, .productItem--hasBanner:visible").length>e.pageSize&&l.hide(),e.currentPage+=1}}}),$(".productsList .productItem .bannerLink").each(function(t,e){if($(e).isInViewport()){var i=$(e).data("promodata").ID;eshopEvent_visiblePromotions[i]||(eshopEvent_visiblePromotions[i]=$(e).data("promodata"),o=!0)}})}else(f=$(".productsList .productItem__wrapCount")).length&&($.each(n.return.HTML,function(t,i){var n=(e.currentPage-1)*e.pageSize,o=Math.min(f.length-1,e.currentPage*e.pageSize-1),s=e.forced?0:Math.floor(Math.random()*(o-n+1)+n),a=f[s];if(a){var r=$(a).closest(".productItem"),l=$(".productsList");r.before(i),l.children(".productItem:visible, .productItem--hasBanner:visible").length>e.pageSize&&r.hide(),e.currentPage+=1}}),$(".productsList .productItem .bannerLink").each(function(t,e){$(e).isInViewport()&&(eshopEvent_visiblePromotions[$(e).data("promodata").ID]||(eshopEvent_visiblePromotions[$(e).data("promodata").ID]={},eshopEvent_visiblePromotions[$(e).data("promodata").ID]=$(e).data("promodata"),o=!0))}));break;case 10:$(".col.sidebar").prepend(n.return.HTML),$(".sidebar .widget").removeClass("lastWidget"),$(".sidebar .widget").not(".hiddenWidget").last().addClass("lastWidget"),$(".col.sidebar .bannerLink").isInViewport()&&(eshopEvent_visiblePromotions[$(".col.sidebar .bannerLink").data("promodata").ID]||(eshopEvent_visiblePromotions[$(".col.sidebar .bannerLink").data("promodata").ID]={},eshopEvent_visiblePromotions[$(".col.sidebar .bannerLink").data("promodata").ID]=$(".col.sidebar .bannerLink").data("promodata"),o=!0));break;case 18:if($(".bind-topNotificationHolder").prepend(n.return.HTML),"function"==typeof attentionBoxHeight&&attentionBoxHeight("resize"),$(".bnHeader__attention").length>0){$(".bnHeader__attention").show();var m=$(".bnHeader__attention:visible").outerHeight();$(".sliderBannerWrap--top")||($(".bnHeader__attention").hide(),$(window).width()<=768&&($(".appContent").addClass("notificationBar"),$(".appContent").css("padding-top","+="+m),$(".mobileWidgets").addClass("notificationBar"),$(".mobileWidgets").css("top","+="+m),$(".mobileWidget__wrap").css("top","+="+m),$(".header__mobileMenu").addClass("notificationBar"),$(".header__mobileMenu").css("top","+="+m))),$(".bnHeader__attention").slideDown(400,"linear"),$(".bnHeader__attention").isInViewport()&&(eshopEvent_visiblePromotions[$(".bnHeader__attention").data("promodata").ID]||(eshopEvent_visiblePromotions[$(".bnHeader__attention").data("promodata").ID]={},eshopEvent_visiblePromotions[$(".bnHeader__attention").data("promodata").ID]=$(".bnHeader__attention").data("promodata"),o=!0))}setHeaderHeight();break;case 25:$(".bind-successPageBanners").html(n.return.HTML),$(".bind-successPageBanners .bannerLink").isInViewport()&&(eshopEvent_visiblePromotions[$(".bind-successPageBanners .bannerLink").data("promodata").ID]||(eshopEvent_visiblePromotions[$(".bind-successPageBanners .bannerLink").data("promodata").ID]={},eshopEvent_visiblePromotions[$(".bind-successPageBanners .bannerLink").data("promodata").ID]=$(".pageBannerWrap.productsTop .bannerLink").data("promodata"),o=!0))}"function"==typeof eshopEvent_promotionImpression&&o&&a&&eshopEvent_promotionImpression(eshopEvent_visiblePromotions)}}"function"==typeof i&&i(),checkPictureVisibility()},"POST"),checkPictureVisibility()}function CookieConsentCallback(){"function"!=typeof eshopEvent_promotionImpression||$.isEmptyObject(eshopEvent_visiblePromotions)?$.isEmptyObject(eshopEvent_visiblePromotions)||setTimeout(function(){CookieConsentCallback()},1e3):eshopEvent_promotionImpression(eshopEvent_visiblePromotions)}function imageComplete(t){$(t).removeAttr("data-src"),$(t).closest(".lazy-load-picture").addClass("hide-animation")}function checkPictureVisibility(t=null){const e=[".bnSection",".bnContainer",".footer",".bnPopup",".modal",".productItem"];if(t){const i=t;i.isInViewportLCP()&&i.closest(e.join(",")).find("div.hide-source").removeClass("hide-source")}else $("div.lazy-load-picture.hide-source").each(function(){const t=$(this);t.isInViewportLCP()&&t.closest(e.join(",")).find("div.hide-source").removeClass("hide-source")})}function setCountdownTimer(t,e){if(e.length<1)return!1;var i=setInterval(function(){var n=(new Date).getTime(),o=t-n,s=Math.floor(o/864e5),a=Math.floor(o%864e5/36e5),r=Math.floor(o%36e5/6e4),l=Math.floor(o%6e4/1e3);e.find(".bind-countdownDays").html(zeroPad(s,2)),e.find(".bind-countdownHours").html(zeroPad(a,2)),e.find(".bind-countdownMinutes").html(zeroPad(r,2)),e.find(".bind-countdownSeconds").html(zeroPad(l,2)),o<0&&(clearInterval(i),e.find(".bind-countdownDays").html("00"),e.find(".bind-countdownHours").html("00"),e.find(".bind-countdownMinutes").html("00"),e.find(".bind-countdownSeconds").html("00"))},1e3)}function drawAddedToCartPopup(t,e){const i=$.fancybox.getInstance();if(e&&i){const e=$(t).find("#bnModal__wrap").html();i.$refs.container.find("#bnModal__wrap").html(e)}else $.fancybox.open(t,{autoFocus:!1,touch:!1,animationDuration:250,animationEffect:"slide-in-out",fullScreen:!1,btnTpl:{},buttons:[],smallBtn:!1});checkPictureVisibility()}function getPromoSliderWrapTop(){var t=$(".bind-promoBarSliderWrap--top");return t.length?t:$(".sliderBannerWrap--top")}function getPromoSliderTrackTop(){var t=$(".bind-sliderBanner--top");return t.length?t:$(".sliderBanner--top")}function getPromoSliderTrackBottom(){var t=$(".bind-sliderBanner--bottom");return t.length?t:$(".sliderBanner--bottom")}function isPromoSliderTopVisible(){return getPromoSliderWrapTop().length>0||getPromoSliderTrackTop().length>0}function setHeaderHeight(){if(!$(".bnuPromoBarContainer").length){var t=$(window).scrollTop(),e=getPromoSliderWrapTop(),i=getPromoSliderTrackTop();t>=160?($("html").addClass("scrolled"),$(".bnHeader__attention").length>0&&!isPromoSliderTopVisible()&&$(".bnMobileMenu__button").css("top",0),i.length>0&&($(".bnHeader__main").css("top",e.height()),$(".bnMobileMenu").css("padding-top",e.height()),$(".bnMobileMenu__button").css("top",e.height()))):($("html").removeClass("scrolled"),$(".bnHeader__attention").length>0&&!isPromoSliderTopVisible()&&$(".bnMobileMenu__button").css("top",$(".bnHeader__top").height()),i.length>0&&($(".bnHeader__main").css("top",0),$(".bnMobileMenu").css("padding-top",e.height()),$(".bnMobileMenu__button").css("top",$(".bnHeader__top").height()),$(window).width()>992&&e.css("position","static")))}}$.fn.isInViewportLCP=function(){"function"==typeof jQuery&&$(this)instanceof jQuery&&(el=$(this)[0]);var t=el.getBoundingClientRect();return t.top>=20&&t.left>=20},$.fn.isInViewport=function(){if(!$(this))return!1;if(void 0===$(this))return!1;if(void 0===$(this).offset())return!1;var t=$(this).offset().top,e=t+$(this).outerHeight(),i=$(window).scrollTop(),n=i+$(window).height();return e>i&&t<n},$.fn.isInViewportNew=function(){let t=null;if("function"==typeof jQuery&&$(this)instanceof jQuery&&$(this).length>0&&(t=$(this)[0]),!t)return!1;const e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)},$.fn.isInParentsViewport=function(t=null){if("function"!=typeof jQuery||!($(this)instanceof jQuery))return{top:-1,bottom:-1,left:-1,right:-1,inViewport:!1};let e,i=$(this)[0],n=t?t[0]:$(this).parent()[0],o=i.getBoundingClientRect(),s=n.getBoundingClientRect();e=t?s.top+1<=o.top:s.top+1>=o.top;let a=e&&s.bottom+1>=o.bottom&&s.left-1<=o.left&&s.right-1>=o.left;return{top:parse
144Float(o.top-(s.top+1)),bottom:parseFloat(s.bottom+1-o.bottom),left:parseFloat(o.left-(s.left-1)),right:parseFloat(s.right-1-o.right),inViewport:a}},$.fn.focusOnElement=function(t=!1){if("function"!=typeof jQuery||!($(this)instanceof jQuery))return;if(0==$(this).length)return;let e=$(this),i=$(this).attr("tabindex")??-1;if(e.attr("tabindex","0"),e.focus(),e.attr("tabindex",i),t){var n=e.offset().top,o=$(window).scrollTop(),s=n-o;$([document.documentElement,document.body]).animate({scrollTop:o+s},300)}},$.fn.infiniteslide=function(t){var e=$.extend({speed:100,direction:"left",pauseonhover:!0,responsive:!1,clone:1},t),i=function(t,e){var i;return i="up"==e||"down"==e?function(t){var e=0;return $(t).children(":not(.infiniteslide_clone)").each(function(t,i){e+=$(this).outerHeight(!0)}),e}(t):function(t){var e=0;return $(t).children(":not(.infiniteslide_clone)").each(function(t,i){e+=$(this).outerWidth(!0)}),e}(t),i},n=function(t,e){if("up"==e||"down"==e)var i="0,-"+t+"px,0";else i="-"+t+"px,0,0";return i};return this.each(function(t,o){var s=$(this),a=Date.now()+Math.floor(1e4*Math.random()).toString(16);1==e.pauseonhover&&$(s).on("mouseenter",function(){$(this).css({animationPlayState:"paused"})}).on("mouseleave",function(){$(this).css({animationPlayState:"running"})});var r=function(){!function(t,e){if($(t).wrap('<div class="infiniteslide_wrap" aria-hidden="true"></div>').parent().css({overflow:"hidden"}),"up"==e||"down"==e)var i="column";else i="row";$(t).css({display:"flex",flexWrap:"nowrap",alignItems:"center","-ms-flex-align":"center",flexDirection:i}).children().css({flex:"none",display:"block"})}(s,e.direction),function(t,e){for(var i=$(t).children().clone(!0).addClass("infiniteslide_clone"),n=1;n<=e;)i.clone(!0).appendTo($(t)),n++}(s,e.clone),function(t,e,o,s){var a=i(t,o);"up"!=o&&"down"!=o||$(t).parent(".infiniteslide_wrap").css({height:a+"px"});var r=n(a,o);$(t).attr("data-style","infiniteslide"+e);var l,c,u="@keyframes infiniteslide"+e+"{from {transform:translate3d(0,0,0);}to {transform:translate3d("+r+");}}";if($("<style />").attr("id","infiniteslide"+e+"_style").html(u).appendTo("head"),"right"==o||"down"==o)var h=" reverse";else h="";$(t).css({animation:"infiniteslide"+e+" "+(l=a,c=s,l/c+"s linear 0s infinite")+h})}(s,a,e.direction,e.speed),e.responsive&&$(window).on("resize",function(){var t=function(t,e){var o=i(t,e);return n(o,e)}(s,e.direction),o=s.attr("data-style"),a=$("#"+o+"_style").html().replace(/to {transform:translate3d\((.*?)\)/,"to {transform:translate3d("+t+")");$("#"+o+"_style").html(a)})};window.loaded?r():$(window).on("load",r)})},document.addEventListener("lazyloaded",function(t){imageComplete(t.target)}),document.addEventListener("load",function(t){checkPictureVisibility()}),$(function(){checkPictureVisibility(),$(window).on("scroll",function(){checkPictureVisibility()}),$(window).on("resize",function(){checkPictureVisibility()})});var tm=setTimeout(()=>{},20);function initiateProductsBoxSlider(t,e,i,n){e||(e=4);var o=!1;($(window).width()>=1024&&i>e||$(window).width()>=768&&$(window).width()<=1024&&i>3||$(window).width()<768&&i>2)&&(o=!0),i>3&&(o=!0);var s=$("#"+t+" .lazyImage.loading").Lazy({chainable:!1,scrollDirection:"both",effect:"fadeIn",visibleOnly:!0,threshold:200,throttle:50,afterLoad:function(t){t.removeClass("loading")}});if(o){var a=".productItem";$("#"+t+" .bnProductCarousel__slide").length>0&&(a=".bnProductCarousel__slide"),$("#"+t).addClass("keen-slider");var r=new KeenSlider("#"+t,{slides:a,loop:i>2,slidesPerView:2,spacing:30,breakpoints:{"(max-width: 768px)":{slidesPerView:2,loop:i>2,spacing:12},"(min-width: 768px)":{slidesPerView:3,loop:i>3,spacing:21},"(min-width: 1024px)":{slidesPerView:4,loop:i>4,spacing:24}},created:function(e){var i=e.details();i.size<=i.slidesPerView&&$("."+t+" .carouselArrow").hide(),void 0!==i.positions&&$.each(i.positions,function(e,i){i.distance>=0&&i.distance<1&&$("#"+t+" .productItem").eq(e).addClass("keen-active")}),$("#"+t+" .keen-active").length>0&&($.each($("#"+t+" .keen-active"),function(t,e){$(e).find(".product__title").isInViewport()&&(eshopEvent_visibleProducts[$(e).data("impression").ID]||(eshopEvent_visibleProducts[$(e).data("impression").ID]={},eshopEvent_visibleProducts[$(e).data("impression").ID]=$(e).data("impression")))}),"function"==typeof eshopEvent_productImpression&&eshopEvent_productImpression(eshopEvent_visibleProducts))},slideChanged:function(e){var i=e.details();if($("#"+t+" .productItem").removeClass("keen-active"),void 0!==i.positions&&($.each(i.positions,function(e,i){i.distance>=0&&i.distance<1&&$("#"+t+" .productItem").eq(e).addClass("keen-active")}),$("#"+t+" .keen-active").length>0)){var n=!1;$.each($("#"+t+" .keen-active"),function(t,e){$(e).find(".product__title").isInViewport()&&(eshopEvent_visibleProducts[$(e).data("impression").ID]||(eshopEvent_visibleProducts[$(e).data("impression").ID]={},eshopEvent_visibleProducts[$(e).data("impression").ID]=$(e).data("impression"),n=!0),s.force($(e).find(".lazyImage.loading")))}),"function"==typeof eshopEvent_productImpression&&n&&eshopEvent_productImpression(eshopEvent_visibleProducts)}}});$("."+t+" .carouselArrow--next").on("click",function(){var t=r.details(),e=t.absoluteSlide+t.slidesPerView;r.moveToSlide(e)}),$("."+t+" .carouselArrow--prev").on("click",function(){var t=r.details(),e=t.absoluteSlide-t.slidesPerView;r.moveToSlide(e)})}else $("."+t+" .carouselArrow").hide();return"function"==typeof n&&n(r),r}function openChat(){}if($(window).on("scroll",function(){clearTimeout(tm),setTimeout(()=>{setHeaderHeight()},20)}),$(window).on("resize",function(){setHeaderHeight()}),$(document).ready(function(){$(".bind-sliderBanner--top").length&&setTimeout(function(){var t=getPromoSliderWrapTop();getPromoSliderTrackTop().infiniteslide({clone:2,speed:100,pauseonhover:!1}),isPromoSliderTopVisible()&&$("html").addClass("sliderBannerTopVisible"),t.show(),setHeaderHeight()},2e3),$(document).on("click",".bind-shareBlogPost",function(t){t.preventDefault();
144var e=$(this),i=e.attr("data-copy"),n=e.attr("data-message")||"Successfully copied!";if(e.css({transform:"scale(0.95)",opacity:"0.7",transition:"all 0.15s ease-in-out"}),setTimeout(function(){e.css({transform:"scale(1)",opacity:"1"})},150),i){var o=function(){$(".bnAttentionBox--copySuccess").remove();var t=$('<div class="bnAttentionBox bnAttentionBox--green bnAttentionBox--copySuccess" style="margin: 0;position: fixed; bottom: 20px; right: 20px; z-index: 99999; min-width: 250px; opacity: 0; transition: opacity 0.3s ease-in-out;background-color: #f2f8ee"><div class="bnAttentionBox__content" role="alert">'+n+"</div></div>");$("body").append(t),setTimeout(function(){t.css("opacity","1")},10),setTimeout(function(){t.css("opacity","0"),setTimeout(function(){t.remove()},300)},4e3)};if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(i).then(function(){o()}).catch(function(t){console.error("Failed to copy to clipboard:",t)});else{var s=$("<input>");$("body").append(s),s.val(i).select();try{document.execCommand("copy"),o()}catch(t){console.error("Failed to copy to clipboard:",t)}s.remove()}}})}),"function"!=typeof getCookie)function getCookie(t){for(var e=t+"=",i=decodeURIComponent(document.cookie).split(";"),n=0;n<i.length;n++){for(var o=i[n];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""}function showPopupBanner(t){var e="popupBanner-"+t.ID,i=$("#"+e),n=i.get(0),o=void 0!==window.benuDialog&&"function"==typeof window.benuDialog.open&&void 0!==window.HTMLDialogElement&&n instanceof HTMLDialogElement;if(o?window.benuDialog.open(n):1==t.isFancybox?(i.removeClass("hidden"),$.fancybox.open(i,{autoFocus:!1,touch:!1,animationDuration:250,animationEffect:"slide-in-out",btnTpl:{smallBtn:'<span tabindex="0" data-fancybox-close class="bnCloseButton"><i class="fal fa-times"></i></span>'}})):i.modal("show"),1!=t.isFancybox&&!o){var s=i.find(".modal-content").height(),a=$(window).height();if(s>a)for(var r=2;s>a&&r>0;)i.find(".modal-content .prList .productItem").eq(r).hide(),s=i.find(".modal-content").height(),r--}if(t.forced)return!1;trackPopupBannerPromotion(t)}function closeBannerDialog(t){var e=document.getElementById(t);if(void 0!==window.HTMLDialogElement&&e instanceof HTMLDialogElement)e.open&&e.close();else{var i=$("#"+t);i.hasClass("fancybox-content")&&void 0!==$.fancybox?$.fancybox.close():(i.hasClass("modal")&&i.modal("hide"),i.hasClass("bnuBannerCard")&&closeSmallPopup(t))}}function copyTextToClipboard(t){return"undefined"!=typeof navigator&&navigator.clipboard&&"function"==typeof navigator.clipboard.writeText&&window.isSecureContext?navigator.clipboard.writeText(t):new Promise(function(e,i){var n=document.createElement("textarea");n.value=t,n.setAttribute("readonly",""),n.style.position="fixed",n.style.top="0",n.style.left="-9999px",document.body.appendChild(n),n.focus(),n.select();try{document.execCommand("copy")?e():i(new Error("copy failed"))}catch(t){i(t)}finally{document.body.removeChild(n)}})}function setButtonLabel(t,e){var i=t.find("span").first();i.length?i.text(e):t.text(e)}function showSmallPopup(t){if(!t||!t.ID)return!1;var e=$("#popupBanner-"+t.ID);return!!e.length&&(e.addClass("active"),e.parent().removeClass("prevent-layout-shift"),"function"==typeof checkPictureVisibility&&checkPictureVisibility(e),!t.forced&&("undefined"!=typeof LC_API&&void 0!==LC_API.mobile_is_detected&&void 0!==LC_API.chat_window_maximized&&(!0===LC_API.mobile_is_detected()&&(e.parent().addClass("mobile"),$("#chat-widget-container").addClass("mobile")),LC_API.chat_window_maximized()&&(e.parent().addClass("liveChatOpen"),$("#chat-widget-container").addClass("smallPopupOpen"))),void("function"==typeof trackPopupBannerPromotion&&trackPopupBannerPromotion(t))))}function closeSmallPopup(t){var e=t?$("#"+String(t).replace(/^#/,"")):$(".bnuBannerCard.active").first();if(e.length&&(e.hasClass("bnuBannerCard")||(e=e.closest(".bnuBannerCard")),e.length)){e.removeClass("active"),$("#chat-widget-container").removeClass("smallPopupOpen");var i=e.data("banner-id");i&&ajaxHelper({methodName:"closePersistentBanner",args:{data:{bannerID:i}}},!1,"POST")}}function trackPopupBannerPromotion(t){var e={};e.ID=t.ID,e.name=t.name,e.type=t.typeFull||t.type;var i=[];if(!eshopEvent_visiblePromotions[e.ID])if($("#popupBanner-"+t.ID+" .bnProduct").length>0&&$.each($("#popupBanner-"+t.ID+" .bnProduct"),function(t,e){i.push($(e).data("impression"))}),eshopEvent_visiblePromotions[e.ID]={},eshopEvent_visiblePromotions[e.ID]=e,i.length>0&&(eshopEvent_visiblePromotions[e.ID].products=i,eshopEvent_visiblePromotions[e.ID].sendItemsOneByOne=!0),"function"==typeof eshopEvent_promotionImpression)eshopEvent_promotionImpression(eshopEvent_visiblePromotions);else{var n=eshopEvent_visiblePromotions;if($.isEmptyObject(n))return!1;var o,s=[],a=[],r=[];if($.each(n,function(t,e){if(!$.isEmptyObject(e)&&null!=e.ID){var i=String(e.ID);eshopEvent_duplicatePromotions[i]||(eshopEvent_duplicatePromotions[i]=!0,-1!==i.indexOf("campaign-")?(s.push(e),e.ID=i.replace("campaign-",""),r.push(e.ID)):(s.push(e),$.isNumeric(e.ID)&&a.push(e)))}}),s.length<=0)return!1;a.length>0&&((o={args:{}}).args.banners=a,o.className="Banners",o.methodName="updateBanners",ajaxHelper(o,function(t){},"POST")),r.length>0&&((o={args:{}}).args.campaigns=r,o.args.type="shows",o.className="BENUCampaigns",o.methodName="updateCampaigns",ajaxHelper(o,function(t){},"POST"))}}function bindCityAutocomplete(t){var e;return void 0!==t&&(!(t.length<=0)&&void t.autocomplete({minLength:3,delay:300,source:function(i,n){var o=this.element;$(o).addClass("loading"),e&&e.abort(),e=$.ajax({url:"https://api.kartes.lv/v3/Tam95kjw5/search?",dataType:"json",crossDomain:!0,data:{q:$.trim(i.term),fields:"name,iso_code,terit_vien,pop_place",iso_code:"LVA",layers:"apdz_vieta"},success:function(e){var i=[];if("undefined"!=e.apdz_vieta){if(e.apdz_vieta.length<=0)return t.parent().children(".noResultsNotification").addClass("active"),t.parent().addClass("error"),void n(i);t.parent().children(".noResultsNotification").removeClass("active"),t.parent().removeClass("error");for(var o=0,s=e.apdz_vieta.length;o<s;o++){var a="";void 0!==e.apdz_vieta[o].name&&(a+=e.apdz_vieta[o].name);var r=a;void 0!==e.apdz_vieta[o].pop_place&&(r+=", "+e.apdz_vieta[o].pop_place),i.push({label:r,value:a,city:a})}}else t.parent().children(".noResultsNotification").addClass("active"),t.parent().addClass("error");n(i)},error:function(){n([])},complete:function(){$(o).removeClass("loading")}})},select:function(e,i){"productCart"==intuero.mType?"delivery_city"==t.attr("name")?($
144('input[name="delivery_city"]').attr("value",i.item.city),$('input[name="delivery_city"]').val(i.item.city)):($("#buyer_city").attr("value",i.item.city),$("#buyer_city").val(i.item.city)):"city"==t.attr("name")?($('[name="city"]').attr("value",i.item.city),$('[name="city"]').val(i.item.city)):($('[name="profileData[city]"]').attr("value",i.item.city),$('[name="profileData[city]"]').val(i.item.city))},open:function(){var e=t.outerWidth();e&&$("ul.ui-menu").width(e)}}).blur(function(){t.parent().children(".noResultsNotification").removeClass("active")}))}function bindAutocomplete(t){if(void 0===t)return!1;if(t.length<=0)return!1;var e=4;"benu-eshop-lv"==intuero.appName&&(e=3),t.autocomplete({minLength:e,delay:300,source:function(e,i){var n=this.element;if($(n).addClass("loading"),"benu-eshop-lt"==intuero.appName)ajaxHelper({methodName:"collectAddressSuggestions",args:{data:$.trim(e.term)}},function(t){var e=[];if(t.success&&t.return)for(var n=t.return.data,o=0,s=n.length;o<s;o++){var a="",r=n[o].street;""===n[o].address?""!==n[o].mailbox?(r="PaÅ¡to dÄžutÄ "+n[o].mailbox,a=address+", "+n[o].city):a=n[o].city+", "+n[o].municipality:a=n[o].address+", "+n[o].city,e.push({label:a,value:r,address:n[o].address,sreet:n[o].street,number:n[o].number,city:n[o].city,post_code:"LT-"+n[o].post_code}),i(e)}else i(e)});else if("benu-eshop-lv"==intuero.appName){var o={};o.q=$.trim(e.term),"productCart"==intuero.mType?"delivery_address"==t.attr("name")?$('input[name="delivery_city"]').val()&&(o.region=$('input[name="delivery_city"]').val()):$("#buyer_city").val()&&(o.region=$("#buyer_city").val()):"address"==t.attr("name")?$('[name="city"]').val()&&(o.region=$('[name="city"]').val()):$('[name="profileData[city]"]').val()&&(o.region=$('[name="profileData[city]"]').val()),ajaxHelper({methodName:"collectAddressSuggestions",args:{data:o}},function(e){var n=[];if(e.success&&e.return){if("undefined"!=e.return.adrese){var o=e.return.adrese;if(o.length<=0)return t.parent().children(".noResultsNotification").addClass("active"),void i(n);t.parent().children(".noResultsNotification").removeClass("active");for(var s=0,a=o.length;s<a;s++){var r="";void 0!==o[s].iela&&void 0!==o[s].maja&&(r+=o[s].iela+" "+o[s].maja),void 0!==o[s].korpuss&&r&&(r+=" k-"+o[s].korpuss),r||(r+=o[s].name);var l=r,c="",u="";void 0!==o[s].iela&&(l=o[s].iela);var h=r;void 0!==o[s].index&&(h+=" ("+o[s].index+")"),void 0!==o[s].pop_place&&(h+=", "+o[s].pop_place),void 0!==o[s].terit_vien&&(h+=", "+o[s].terit_vien),void 0!==o[s].iela&&(c=o[s].iela,void 0!==o[s].maja&&(u=o[s].maja)),n.push({label:h,value:l,address:r,street:c,number:u,city:o[s].pop_place,post_code:o[s].index})}}else t.parent().children(".noResultsNotification").addClass("active");i(n)}else i(n)})}else"benu-eshop-ee"==intuero.appName&&ajaxHelper({methodName:"collectAddressSuggestions",args:{data:$.trim(e.term)}},function(t){var e=[];if(t.success&&t.return){for(var n=t.return.addresses,o=0,s=n.length;o<s;o++){var a="",r="",l="";n[o].aadresstekst?a+=n[o].aadresstekst:a=n[o].pikkaadress;var c=a;void 0!==n[o].omavalitsus&&(c+=", "+n[o].omavalitsus);var u="";void 0!==n[o].maakond&&(u=(u+=n[o].maakond).replace(" maakond","")),void 0!==n[o].liikluspind&&(r=n[o].liikluspind,void 0!==n[o].aadress_nr&&(l=n[o].aadress_nr)),value=a,""!=r&&(value=r),e.push({label:c,value:value,address:a,street:r,number:l,region:u,city:n[o].omavalitsus,post_code:n[o].sihtnumber})}i(e)}else i(e)})},select:function(e,i){"productCart"==intuero.mType?"delivery_address"==t.attr("name")?($('input[name="delivery_postCode"]').attr("value",i.item.post_code),$('input[name="delivery_postCode"]').val(i.item.post_code).trigger("change"),$('input[name="delivery_city"]').attr("value",i.item.city),$('input[name="delivery_city"]').val(i.item.city).trigger("change"),$('input[name="delivery_address"]').attr("value",i.item.address),$('input[name="delivery_address"]').val(i.item.address).trigger("change"),i.item.region&&($('input[name="delivery_region"]').attr("value",i.item.address),$('input[name="delivery_region"]').val(i.item.address).trigger("change"))):($("#buyer_postCode").attr("value",i.item.post_code),$("#buyer_postCode").val(i.item.post_code).trigger("change"),$("#buyer_city").attr("value",i.item.city),$("#buyer_city").val(i.item.city).trigger("change"),$("#buyer_address").attr("value",i.item.street),$("#buyer_houseNo").attr("value",i.item.number).trigger("change"),i.item.region&&($("#buyer_region").attr("value",i.item.address),$("#buyer_region").val(i.item.address).trigger("change"))):"address"==t.attr("name")?($
144('[name="postCode"]').attr("value",i.item.post_code),$('[name="postCode"]').val(i.item.post_code).trigger("change"),$('[name="city"]').attr("value",i.item.city),$('[name="city"]').val(i.item.city).trigger("change"),$('[name="address"]').attr("value",i.item.address),$('[name="address"]').val(i.item.address).trigger("change"),i.item.region&&($('[name="region"]').attr("value",i.item.region),$('[name="region"]').val(i.item.region).trigger("change"))):($('[name="profileData[postCode]"]').attr("value",i.item.post_code),$('[name="profileData[postCode]"]').val(i.item.post_code).trigger("change"),$('[name="profileData[city]"]').attr("value",i.item.city),$('[name="profileData[city]"]').val(i.item.city).trigger("change"),$('[name="profileData[address]"]').attr("value",i.item.address),$('[name="profileData[address]"]').val(i.item.address).trigger("change"),i.item.region&&($('[name="profileData[region]"]').attr("value",i.item.region),$('[name="profileData[region]"]').val(i.item.region).trigger("change")))},open:function(){var e=t.outerWidth();e&&$("ul.ui-menu").width(e)}}).blur(function(){t.parent().children(".noResultsNotification").removeClass("active")}).autocomplete("widget").addClass("autocompleteAddress")}function addEvent(t,e,i){t.addEventListener?t.addEventListener(e,i,!1):t.attachEvent&&t.attachEvent("on"+e,i)}function setModalMaxHeight(t){this.$sliderTop=$(t),this.$content=this.$sliderTop.find(".modal-content");var e=this.$content.outerHeight()-this.$content.innerHeight(),i=$(window).width()<768?20:60,n=$(window).height()-(i+e)-((this.$sliderTop.find(".modal-header").outerHeight()||0)+(this.$sliderTop.find(".modal-footer").outerHeight()||0));this.$content.css({overflow:"hidden"}),this.$sliderTop.find(".modal-body").css({"max-height":n})}function parseQueryString(){var t="";return window.location.search&&(window.location.search.indexOf("?vars/")>=0?(uriParameters=window.location.search.replace("?vars/",""),uriParameters=uriParameters.split("/"),$.each(uriParameters,function(e,i){e%2==0?(t+=t?"&":"?",t+=i):t+="="+i})):t=window.location.search),t}function closeMobileWidget(){if($(".mobileWidget__wrap").hasClass("opened"))return $(".mobileWidget__wrap").removeClass("opened"),$(this).toggleClass("is-active"),$("body").toggleClass("no-overflow"),$("body").removeClass("mobileWidgetOpen"),!1;$(this).toggleClass("is-active"),$("body").toggleClass("no-overflow"),$("body").removeClass("mobileWidgetOpen"),$(".header__mobileMenu").toggleClass("opened"),$(this).hasClass("is-active")||($(".mobileSubMenu").removeClass("no-overflow"),$(".mobileSubMenu").removeClass("opened"),$(".header__mobileMenu").removeClass("no-overflow"))}function changeInputPasswordType(t){t.type="text"}function toggleOverlay(t,e){"show"==t?($("head").append('<style id="overlay-no-scroll" type="text/css">.overlay{margin-right:'+(window.innerWidth-document.documentElement.clientWidth)+"px;}</style>"),"mobile"==e?$("body").addClass("overlayMobile"):$("body").addClass("overlay")):"hide"==t&&($("#overlay-no-scroll").remove(),$("body").removeClass("overlayMobile"),$("body").removeClass("overlay"))}function togglePriceBoxSticky(t){"show"==t?(toggleOverlay("show","mobile"),$(".bind-bnPriceBoxStickyContent").slideDown(200,function(){$(".bind-bnPriceBoxStickyContent").css("display",""),$(".bind-bnPriceBoxSticky").addClass("visible")})):"hide"==t&&(toggleOverlay("hide","mobile"),$(".bind-bnPriceBoxStickyContent").slideUp(200,function(){$(".bind-bnPriceBoxStickyContent").css("display",""),$(".bind-bnPriceBoxSticky").removeClass("visible")}))}function toggleRxSummary(t){"show"==t?(toggleOverlay("show","mobile"),$(".bnRxSummaryMobile__content").slideDown(200)):"hide"==t&&(toggleOverlay("hide","mobile"),$(".bnRxSummaryMobile__content").slideUp(200))}function copyToClipboard(t){navigator.clipboard.writeText(t)}function zeroPad(t,e){return String(t).padStart(e,"0")}function initiateBirthdayInputs(t){var e="";$('[data-fieldname="'+t+'"]').length&&(e='[data-fieldname="'+t+'"] ');var i,n=null,o=null,s=null;function a(t){var e=".customSelect."+r(t)+".date--month",i=$(e).find(".customOption.active").index();$(e).click(),i?$(e+" .customOption:nth-child("+(i+1)+")").focus():$(e+" .customOption:nth-child(1)").hasClass("placeholder")?$(e+" .customOption:nth-child(2)").focus():$(e+" .customOption:nth-child(1)").focus()}function r(t){return t.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1")}i=t,$(e+".customSelect."+r(i)+".date--month").customSelect({onChange:function(t){var a,l=$(t).data("value");o=$("."+r(i)+".date--year").val(),s=$("."+r(i)+".date--day").val(),l&&(n=l),a=o+"-"+n+"-"+s,$(e+'input[name="'+r(i)+'"]').attr("value",a).val(a).trigger("change"),"placeholder"==l?($("."+r(i)+" .customSelectVisible .customSelectText").addClass("placeholder"),o.length<1&&s.length<1&&$(e+'input[name="'+r(i)+'"]').attr("value","").val("").trigger("change")):$("."+r(i)+" .customSelectVisible .customSelectText").removeClass("placeholder")},activeKeyboard:!0}),$(e+".date--year, "+e+".date--day").on("keyup",function(){$(e+".date--year, "+e+".date--day").removeClass("error");var t,i=$(this).data("element"),a=!0,l=!0;o=$("."+r(i)+".date--year").val(),s=$("."+r(i)+".date--day").val(),4==o.length&&(a=function(t){var e=(new Date).getFullYear();return t>=1900&&t<=e}
144(o)),o&&n&&s&&(l=function(t,e,i){var n=[31,28,31,30,31,30,31,31,30,31,30,31];return(t%400==0||t%100!=0&&t%4==0)&&(n[1]=29),i>0&&i<=n[e-1]}(o,n,s)),a||$(e+".date--year").addClass("error"),l||$(e+".date--day").addClass("error"),t=o+"-"+n+"-"+s,$('input[name="'+r(i)+'"]').attr("value",t).val(t).trigger("change")}),$(e+".date--year, "+e+".date--day").on("keydown",function(t){var e=$(this).data("element"),i=$(this);switch(intuero.appName){case"benu-eshop-lt":i.hasClass("date--year")&&9==t.keyCode&&(t.preventDefault(),a(e));break;case"benu-eshop-lv":case"benu-eshop-ee":i.hasClass("date--day")&&9==t.keyCode&&(t.preventDefault(),a(e))}}),$(".temp--month").on("focus",function(t){t.preventDefault(),a($(this).data("element"))})}function showNewsletterSuccessPopup(){ajaxHelper({methodName:"showNewsletterSuccessPopup"},function(t){t.success&&t.return&&t.return.modalHTML&&(void 0===window.benuDialog||"function"!=typeof window.benuDialog.open?$.fancybox.open(t.return.modalHTML,{toolbar:!1,smallBtn:!1,autoFocus:!1,touch:!1,animationDuration:250,animationEffect:"slide-in-out"}):window.benuDialog.open({id:"newsletterSuccessDialog",content:t.return.modalHTML,className:"bnuDialog--small",lockScroll:!0}))},"GET")}function drawPhoneVerificationPopup(){ajaxHelper({className:"BenuMemberHelper",methodName:"drawPhoneVerificationPopup"},function(t){if(t.success){if(void 0!==window.benuDialog&&"function"==typeof window.benuDialog.open)return void window.benuDialog.open({id:"phoneVerificationDialog",content:t.return,className:"bnuDialog--small",lockScroll:!0});$.fancybox.open(t.return,{touch:!1,keyboard:!1,smallBtn:!1,clickSlide:!1,buttons:[]})}})}
144function drawToasterNotification(t,e){closeToaster(".bnToasterNotification",!0),$(".bnContent > .bnContainer").prepend(t),$(".bnToasterNotification").addClass("active"),checkPictureVisibility();var i=$(".bnToasterNotification").attr("id");e&&setTimeout(()=>{closeToaster("#"+i,!1)},e)}function bnFancybox(t,e,i){var n={autoFocus:!1,touch:!1,animationDuration:250,animationEffect:"slide-in-out",btnTpl:{smallBtn:'<span tabindex="0" data-fancybox-close class="bnCloseButton"><i class="fal fa-times"></i></span>'}};"object"==typeof e&&$.each(e,function(t,e){n[t]=e}),$.fancybox.open(t,n),i&&$(".bnModal__nboSuggestions").length&&showPopupProductsNew(i.prID,i.initiator)}function bnFancyboxClose(){var t=document.querySelector("dialog.bnuDialog[open]");t?t.close():void 0!==$.fancybox&&$.fancybox.close()}function sendBannerPromotion(t){if(!t||!t.ID||"undefined"==typeof eshopEvent_promotionImpression&&void 0===eshopEvent_promotionImpressionFallback)return!1;let e=t.promotion_id,i=t.creative_name;if(seenBanners[e]||(seenBanners[e]={}),!seenBanners[e][i]){seenBanners[e][i]=!0,eshopEvent_duplicatePromotions[e]=!1;var n=[];n.push(t),"undefined"!=typeof eshopEvent_promotionImpression&&eshopEvent_promotionImpression(n),eshopEvent_promotionImpressionFallback(n)}}function closeToaster(t,e=!1){const i=$(t);i.removeClass("active").addClass("inactive"),e?i.remove():setTimeout(()=>i.remove(),300)}function drawPersonalVouchersToaster(){ajaxHelper({className:"BenuMemberHelper",methodName:"drawPersonalVouchersToaster"},function(t){t.success&&drawToasterNotification(t.return,15e3)})}function eshopEvent_promotionImpressionFallback(t){if($.isEmptyObject(t))return!1;var e=[],i=[],n=[];if($.each(t,function(t,o){$.isEmptyObject(o)||void 0===o.ID||eshopEvent_duplicatePromotions[o.ID]||(eshopEvent_duplicatePromotions[o.ID]=!0,-1!=o.ID.toString().indexOf("campaign-")?(e.push(o),o.ID=o.ID.toString().replace("campaign-",""),n.push(o.ID)):(e.push(o),$.isNumeric(o.ID)&&i.push(o)))}),e.length<=0)return!1;if(i.length>0){var o={args:{}};o.args.banners=i,o.className="Banners",o.methodName="updateBanners",ajaxHelper(o,function(t){},"POST")}}if($(document).on("click",".bnuBannerCard .bind-closePopup",function(t){t.preventDefault(),t.stopPropagation(),closeSmallPopup($(this).closest(".bnuBannerCard").attr("id"))}),$(document).on("click",".bnuBannerCard .bind-copyPromoCode",function(t){t.preventDefault(),t.stopPropagation();var e=$(this),i=e.closest(".bnuBannerCard").find(".bnuBannerCard__promoCode").text().trim(),n=e.data("copied-text")||"Copied!",o=e.data("failed-text")||"Failed";i?copyTextToClipboard(i).then(function(){setButtonLabel(e,n)},function(){setButtonLabel(e,o)}):setButtonLabel(e,o)}),$(document).on("click",".bind-openChat",function(t){t.preventDefault(),openChat()}),$(document).ready(function(){$.reject(),lazyImagesInstance?(lazyImagesInstance.addItems($(".lazyImage.loading")),lazyImagesInstance.update(!0)):lazyImagesInstance=$(".lazyImage.loading").Lazy({chainable:!1,scrollDirection:"both",effect:"fadeIn",visibleOnly:!0,threshold:200,autoDestroy:!1,throttle:50,afterLoad:function(t){t.removeClass("loading")}}),drawBanner(18);var t={};t.className="Banners",t.methodName="drawBanner",t.args={type:"popup"},ajaxHelperOnReady(t,function(t){if(null==t)return!1;t.return&&$("body").append(t.return.HTML)},"POST"),$(document).on("click",".footerWidget--menu h3, .footerWidget--menu .h3",function(){var t=$(this).next("ul"),e=$(this);t.hasClass("visibleMobile")?t.slideUp(100,function(){e.removeClass("active"),t.css("display",""),t.removeClass("visibleMobile")}):t.slideDown(100,function(){e.addClass("active"),t.css("display",""),t.addClass("visibleMobile")})}),$(".toggle-content"),$(document).on("change",'#productReminder form.productReminder .priceReminder input[type="checkbox"]',function(){"priceReminder"==$(this).attr("name")?$('.priceReminder input[name="priceReminderCache"]').prop("checked",!1):"priceReminderCache"==$(this).attr("name")&&$('.priceReminder input[name="priceReminder"]').prop("checked",!1)}),$(document).on("change",'#productReminder form.productReminder input[type="checkbox"]',function(){this.value=this.checked?1:0});const e=$(window),i=$(".header__main"),n=t=>$(t).isInViewport();function o(t){if(!t||!t.length)return null;let e=t.data("impression");if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}if(!e||!e.ID){const i=t.attr("data-impression");if(i)try{e=JSON.parse(i)}catch(t){e=null}}return e&&e.ID?e:null}function s(t,e){let i=!1;return t.find(".productItem").each((t,n)=>{const s=$(n),a=s.find(".productItem__title, .bnProductCard__title, .product__title"),r=o(s);if(!a.length||!r||!function(t){return!(!t||!t.length)&&("function"==typeof t.isInViewportNew?t.isInViewportNew():t.isInViewport())}(a))return;const l=r.ID;eshopEvent_visibleProducts[l]||(eshopEvent_visibleProducts[l]={...r},e&&(eshopEvent_visibleProducts[l].positionList=e),i=!0)}),i}function a(){return $(".boughtTogether .boughtTogetherProduct.promoted, .boughtTogether .bnuBoughtTogether__item--promoted").first()}function r(){const t=$(".boughtTogether:visible");if(!t.length)return{foundProducts:!1,foundPromotions:!1};if("function"==typeof t.isInViewport&&!t.isInViewport())return{foundProducts:!1,foundPromotions:!1};let e=!1,i=!1;const n=$(".boughtTogether .boughtTogetherProduct a.promoProduct, .boughtTogether .bnuBoughtTogether__name.promoProduct").first(),o=n.data("recommendation-id"),s=o||"boughtTogether";eshopEvent_visiblePromotions[s]||(eshopEvent_visiblePromotions[s]={ID:s,name:o?"Bought together (NBO)":"Bought together",products:[n.closest(".productData_wrap").data("impression")].filter(
144Boolean),positionList:"boughtTogether",sendItemsOneByOne:!0},i=!0);const r=a().data("impression");return r&&r.ID&&(eshopEvent_visibleProducts[r.ID]||(eshopEvent_visibleProducts[r.ID]={...r,recommendationId:o,positionList:"boughtTogether"},e=!0)),{foundProducts:e,foundPromotions:i}}function l(t,e={}){if(!t.length)return!1;if(t.is(".bnuTabPanel")&&t.prop("hidden"))return!1;if(!0!==e.skipViewportCheck&&!0!==e.fromSwiper&&!function(t){const e=function(t){if(t.is(".bnuTabPanel")&&t.prop("hidden"))return $();const e=t.closest(".bnuProductTabs, .bnuProductRelated, .bnuPageSection, .block-productsCarousel2");return e.length?e:t}(t);return!!e.length&&n(e[0])}(t))return!1;const i=e.positionList||t.find(".bnuPageSection__header h2, .bnuPageSection__header h3, .bnSection__heading h2, .bnSection__heading h3").first().text().trim()||"Product carousel";let s=!1;return function(t){let e=t.find(".productItem.swiper-slide-visible");if(e.length||(e=t.find(".swiper-slide-visible .productItem")),e.length)return e;const i=t.is(".bnuTabPanel")?t.filter(":not([hidden])"):t.find(".bnuTabPanel:not([hidden])").first();return i.length?i.find(".productItem"):t.find(".productItem").filter((t,e)=>n(e))}(t).each((t,e)=>{const n=o($(e));n&&(s=!0,seenCarouselProducts[i]||(seenCarouselProducts[i]=[]),seenCarouselProducts[i].includes(n.ID)||seenCarouselProducts[i].push(n.ID),eshopEvent_visibleProducts[n.ID]=n)}),s&&!1!==e.fireEvent&&"function"==typeof eshopEvent_productImpression&&(eshopEvent_productImpression(eshopEvent_visibleProducts,!0,i),e.carouselEventHandled=!0),s}function c(t={}){let e=!1;return[".productsList__wrap",".bnuProductListing__products",".bnuProductListing__productsGrid",".sibebarWidget.products",".chainWrap"].forEach(t=>{s($(t))&&(e=!0)}),[".block-productsCarousel2",".bnuProductTabs[data-swiper-scope]",".bnuPageSection[data-swiper-scope]",".bnuProductCarousel"].forEach(t=>{$(t).each((t,i)=>{l($(i),{fireEvent:!0})&&(e=!0)})}),!1!==t.fireListEvent&&e&&"function"==typeof eshopEvent_productImpression&&eshopEvent_productImpression(eshopEvent_visibleProducts),e}function u(t,e,i=null){const n=$(`#${t}`);if(n.length&&n.isInViewport()){const o=t;eshopEvent_visiblePromotions[o]||(eshopEvent_visiblePromotions[o]={ID:o,name:e,positionList:i},foundNewPromotions=!0),s(n,i)}}function h(){$(".mobileWidgets").length>0?$(".appContent").addClass("widgets"):$(".appContent").removeClass("widgets")}function d(t){var e=t.closest("[data-recommendation-id]"),i=e.attr("data-recommendation-id")||t.attr("data-recommendation-id");if(i)try{sessionStorage.setItem("recommendationID",i),sessionStorage.setItem("recommendationSource",e.attr("data-recommendation-source")||t.attr("data-recommendation-source")||""),sessionStorage.setItem("recommendationPath",function(t){try{return new URL(t,window.location.origin).pathname}catch(e){return t}}(t.attr("href")))}catch(t){}}window.bnuCollectProductImpressions=function(t,e){e=e||{};const i=t?$(t):$(document);let n=!1;const o=".block-productsCarousel2, .bnuProductTabs[data-swiper-scope], .bnuPageSection[data-swiper-scope]";if((i.is(".productItem")||i.find(".productItem").length)&&s(i,e.positionList)&&(n=!0),i.filter(o).add(i.find(o)).each((t,i)=>{l($(i),e)&&(n=!0)}),i.is(".bnuTabPanel")){const t=i.data("promo-name")||e.positionList||"Related products";l(i,{positionList:t,fireEvent:!1!==e.fireEvent,fromSwiper:e.fromSwiper,skipViewportCheck:e.skipViewportCheck})&&(n=!0)}if(i.is(".boughtTogether")||i.has(".bnuBoughtTogether__inner").length&&i.closest(".boughtTogether").length){const t=r();(t.foundProducts||t.foundPromotions)&&(n=t.foundProducts||n,t.foundPromotions&&"function"==typeof eshopEvent_promotionImpression&&eshopEvent_promotionImpression(eshopEvent_visiblePromotions))}return n&&!1!==e.fireEvent&&!0!==e.carouselEventHandled&&"function"==typeof eshopEvent_productImpression&&eshopEvent_productImpression(eshopEvent_visibleProducts,!1!==e.sendToNbo,e.positionList||""),n},window.bnuTrackRelatedProductTabs=function(t){const e=(t&&t.length?t:$(".bind-relatedProducts")).find(".bnuProductTabs").first();if(!e.length)return!1;const i=e.find(".bnuTabPanel").filter(function(){return!this.hidden}).first();if(!i.length)return!1;const n=i.data("promo-name")||"Related products";return window.bnuCollectProductImpressions(i,{fireEvent:!0,positionList:n,sendToNbo:!0})},e.on("scroll",function(){const t=e.scrollTop(),o=e.width();let s=!1,a=!1;if(function(t,e){const n="fixed";t>(e>767?154:50)?i.addClass(n):t<40&&i.removeClass(n)}(t,o),[{id:"widget-monthProductsNew",name:"Month campaign"},{id:"widget-homeTabs #tab2c",name:"Previously watched",positionList:"simillarProducts"},{id:"widget-homeTabs #tab3c",name:"Popular products"}
144].forEach(t=>u(t.id,t.name,t.positionList)),$(".boughtTogether:visible").length){const t=r();t.foundPromotions&&(s=!0),t.foundProducts&&(a=!0)}c({fireListEvent:!1})&&(a=!0),$(".bannerLink").each((t,e)=>{n(e)&&(s=function(t){const e=t.data("promodata");return!(!e||eshopEvent_visiblePromotions[e.ID]||(eshopEvent_visiblePromotions[e.ID]={...e},0))}($(e))||s)}),[".block-bnr-50x2 .singleSlide a",".block-bnr-33-66 .singleSlide a",".block-bnr-33x3 .bannerLink",".block-bnr-100 .singleSlide a"].forEach(t=>function(t){$(t).each((t,e)=>{const i=$(e);(t=>$(t).isInViewportNew())(i)&&sendBannerPromotion(i.data("impression"))})}(t)),s&&"function"==typeof eshopEvent_promotionImpression&&eshopEvent_promotionImpression(eshopEvent_visiblePromotions),a&&"function"==typeof eshopEvent_productImpression&&eshopEvent_productImpression(eshopEvent_visibleProducts)}),e.on("load",function(){setTimeout(function(){c()},300)}),h(),$(".tabs__links li a").on("click",function(){h()}),$(".header").on("click",".header__cartButton",function(t){if($(".header__cartButton--mobile").is(":visible"))return $(".header__cartWrap").toggleClass("visible"),$("body").toggleClass("no-overflow"),!1;t.stopPropagation()}),$("#intuero").on("click",function(){$(".header__cartWrap").hasClass("visible")&&$("body").removeClass("no-overflow"),$(".header__cartWrap").removeClass("visible")}),$(".header").on("click",".header__searchButton",function(t){$(".header__mobileMenu").hasClass("opened")&&$(".header__mobileMenuButton").click(),$(".header__profileMenu").removeClass("opened"),$(".header__search").toggleClass("opened"),t.stopPropagation()}),$(".header__search").on("click",function(t){t.stopPropagation()}),$("#headerSearch").focus(function(t){$(".header__searchResults").toggleClass("opened"),t.stopPropagation()}),$(".header__searchResults").on("click",function(t){t.stopPropagation()}),$("#intuero").on("click",function(){$(".header__search").removeClass("opened"),$(".header__searchResults").removeClass("opened")}),$(".header").on("click",".header__accountButton",function(t){$(".header__search").removeClass("opened"),(null==$(".header__accountButton").attr("href")||$(this).attr("href").length<1)&&(t.preventDefault(),$(".header__mobileMenu").hasClass("opened")&&$(".header__mobileMenuButton").click(),$(".header__profileMenu").toggleClass("opened")),t.stopPropagation()}),$(".header__profileMenu").on("click",function(t){t.stopPropagation()}),$("#intuero").on("click",function(){$(".header__profileMenu").removeClass("opened")}),$(".mobileWidget__button").on("click",function(){if($(this).hasClass("viewList")||$(this).hasClass("viewMap"))return!1;$(this).next(".mobileWidget__wrap").addClass("opened"),$(".header__mobileMenuButton").addClass("is-active"),$("body").addClass("no-overflow"),$("body").addClass("mobileWidgetOpen")}),$(document).on("submit","form.productReminder",function(t){t.preventDefault(),$(this);var e=$(this).serializeArray(),i={args:{}};i.args.data={},$.each(e,function(t,e){fieldName=e.name,i.args.data[fieldName]=e.value}),i.className="ProductReminder",i.methodName="updateReminder",ajaxHelper(i,function(t){t.return.success&&($(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),void 0!==t.return.updateStatus&&("removed"==t.return.updateStatus?$('.bind-reminder[data-prid="'+t.return.prID+'"]').removeClass("active"):$('.bind-reminder[data-prid="'+t.return.prID+'"]').addClass("active")))},"POST")}),window.bnuReadProductRecommendation=function(){try{var t=sessionStorage.getItem("recommendationID"),e=sessionStorage.getItem("recommendationPath");return!t||e&&e!==window.location.pathname?null:{id:t,source:sessionStorage.getItem("recommendationSource")||""}}catch(t){return null}},$(document).on("click","[data-recommendation-id] a[href], a[href][data-recommendation-id]",function(){d($(this))}),$(document).ready(function(){var t=$(".bind-recommendationFields");if(t.length){var e=window.bnuReadProductRecommendation();if(e&&e.id){var i='<input type="hidden" name="productData_recommendationID" value="'+$("<div>").text(e.id).html()+'">';e.source&&(i+='<input type="hidden" name="productData_recommendationSource" value="'+$
144("<div>").text(e.source).html()+'">'),t.html(i)}}}),$(document).on("click","a.promoProduct",function(t){if($(this).attr("href")){t.preventDefault();var e=$(this).data("promo"),i=$(this).data("campaigndata"),n=$(this).data("recommendation-id");if("function"==typeof eshopEvent_promotionClick)if(n&&e){if((s={}).ID=n,"crossSell"==e){s.name="Pop-up: Cross-sell (NBO)",s.products=[];var o=$(this).data("impression");s.products.push(o),s.sendItemsOneByOne=!0}else"boughtTogether"==e&&(s.name="Bought together (NBO)",s.products=[],(o=a().data("impression"))&&s.products.push(o),s.sendItemsOneByOne=!0);eshopEvent_promotionClick(s)}else if(i)eshopEvent_promotionClick(i);else if(e){var s;switch((s={}).ID=e,e){case"monthProductsNew":s.name="Month campaign";break;case"previouslyWatched":s.name="Previously watched";break;case"popularProducts":s.name="Popular products";break;case"boughtTogether":s.name="Bought together";break;case"alternativeProducts":s.name="Other products";break;case"simillarProducts":s.name="Simillar offers";break;case"crossSell":s.name="Pop-up: Cross-sell"}eshopEvent_promotionClick(s)}d($(this)),window.location.href=$(this).attr("href")}}),$(document).on("click",".bind-topNotificationHolder .notificationClose",function(){var t=$(".bind-topNotificationHolder .bnHeader__attention").data("id");if(""==getCookie("notificationBarHide-"+t)&&navigator.cookieEnabled){var e=new Date;e.setMonth(e.getMonth()+1),e=e.toString("r"),document.cookie="notificationBarHide-"+t+"=true; expires="+e+"; path=/"}$(".bind-topNotificationHolder").slideUp(1,"linear",function(){$(".appContent").removeClass("notificationBar"),$(".mobileWidgets").removeClass("notificationBar"),$(".header__mobileMenu").removeClass("notificationBar"),$(".bind-topNotificationHolder").html(""),attentionBoxHeight()}),$(".appContent").removeAttr("style"),$(".mobileWidgets").removeAttr("style"),$(".mobileWidget__wrap").removeAttr("style"),$(".header__mobileMenu").removeAttr("style")}),$(document).on("click",".bnHeader__attention",function(){var t=$(this).attr("href");t&&(window.location=t)}),$(document).on("mouseenter",".bnHeader__attention",function(){$(this).attr("href")&&$(this).css("cursor","pointer")}),$(document).on("mouseleave",".bnHeader__attention",function(){$(this).css("cursor","default")})}),$(document).on("click",".mobileWidget__close",function(){closeMobileWidget()}),$(document).on("show.bs.modal",".modal",function(){$(this).show()}),$(document).on("click",".bannerLink",function(t){if(t.preventDefault(),!$(this).attr("href"))return!1;
144if("function"==typeof eshopEvent_promotionClick){var e=$(this).data("promodata");e||(e=$(this).data("impression")),eshopEvent_promotionClick(e)}if($(this).prop("href").length&&!$(this).data("id"))return window.location.href=$(this).prop("href"),!1;$(this).attr("target")?window.open("index.php/action/bannerLink/bID/"+$(this).data("id")+"/lang/"+intuero.lang,"_blank"):window.location.href="index.php/action/bannerLink/bID/"+$(this).data("id")+"/lang/"+intuero.lang}),$(window).on("load",function(t){"#externalLogin"==window.location.hash&&(window.location.hash="",history.pushState("",document.title,window.location.pathname),t.preventDefault())}),$(document).on("click","#blankTemplate button.close ",function(){return $("#blankTemplate").remove(),$(".modal-backdrop").remove(),$("body").removeClass("modal-open"),!1}),$(document).on("click","#blankTemplate .button.cancel",function(){return $("#blankTemplate").remove(),$(".modal-backdrop").remove(),$("body").removeClass("modal-open"),!1}),$(document).on("click",".BENUMultiStageToggle__choice",function(t){t.preventDefault();var e=$(this).data("value");""!=e&&($(this).parent().parent().find("input").val(e),$(this).parent().parent().find("input").trigger("change"),$(this).parent().find(".BENUMultiStageToggle__choice.active").removeClass("active"),$(this).addClass("active"))}),tm=setTimeout(()=>{},20),$(window).on("scroll",function(){clearTimeout(tm),setTimeout(()=>{setHeaderHeight()},20)}),$(document).on("click",".bnOverlay",function(){$(".bnSideCart").removeClass("visible"),$(".chat").removeClass("cartOpened"),togglePriceBoxSticky("hide"),toggleRxSummary("hide"),toggleOverlay("hide");let t=$(".bind-cartQuickOverviewContent"),e=t.find(".bind-cartRemoveProduct"),i=$(".bnSideCart__actions > .bnButton"),n=t.find(".cartQntChangeInput"),o=t.find(".bnProduct__title > a");$.each(e,function(t,e){$(e).attr("tabindex","-1")}),$.each(n,function(t,e){$(e).attr("tabindex","-1")}),$.each(o,function(t,e){$(e).attr("tabindex","-1")}),$(i).attr("tabindex","-1")}),$(document).on("click",".bind-sideCartClose",function(t){t.preventDefault(),toggleOverlay("hide"),$(".bnSideCart").removeClass("visible"),$(".chat").removeClass("cartOpened");let e=$(".bind-cartQuickOverviewContent"),i=e.find(".bind-cartRemoveProduct"),n=$(".bnSideCart__actions > .bnButton"),o=e.find(".bnProduct__title > a");$.each(i,function(t,e){$(e).attr("tabindex","-1")});let s=$(".bind-cartQuickOverviewContent").find(".cartQntChangeInput");$.each(s,function(t,e){$(e).attr("tabindex","-1")}),$.each(o,function(t,e){$(e).attr("tabindex","-1")}),$(n).attr("tabindex","-1"),e.attr("tabindex","-1").attr("aria-hidden","true").css("overflow","initial")}),$(document).on("click",".bind-toggleCart",function(t){t.preventDefault();let e=$(".bind-cartQuickOverviewContent"),i=e.find(".bind-cartRemoveProduct"),n=$(".bnSideCart__actions > .bnButton"),o=e.find(".cartQntChangeInput"),s=e.find(".bnProduct__title > a");$(".bnSideCart").hasClass("visible")?($(".bnSideCart").removeClass("visible"),toggleOverlay("hide"),$(".chat").removeClass("cartOpened"),$.each(i,function(t,e){$(e).attr("tabindex","-1")}),$.each(o,function(t,e){$(e).attr("tabindex","-1")}),$.each(s,function(t,e){$(e).attr("tabindex","-1")}),$(n).attr("tabindex","-1"),e.attr("tabindex","-1").attr("aria-hidden","true").css("overflow","initial")):($(".bnSideCart").addClass("visible"),toggleOverlay("show"),$(".chat").addClass("cartOpened"),$.each(i,function(t,e){$(e).attr("tabindex","0")}),$.each(o,function(t,e){$(e).attr("tabindex","0")}),$.each(s,function(t,e){$(e).attr("tabindex","0")}),$(n).attr("tabindex","0"),$(".bnSideCart .bnSideCart__heading .h2").focusOnElement(),e.attr("tabindex","0").attr("aria-hidden","false").css("overflow","scroll")),$(".bind-cartQuickOverviewContent").focus()}),$(document).on("click",".bind-togglePriceBoxSticky",function(){$(".bind-bnPriceBoxStickyContent").is(":visible")?togglePriceBoxSticky("hide"):togglePriceBoxSticky("show")}),$(document).on("click",".bind-toggleRxSummaryMobile",function(){$(".bnRxSummaryMobile__content").is(":visible")?toggleRxSummary("hide"):toggleRxSummary("show")}),$(document).ready(function(){if($(".bind-bnPriceBox").length>0){if($(window).width()<768){$(".bind-bnPriceBoxSticky").addClass("active");var t=-10}else t=(t=$(".bnPriceBox ").position().top+$(".bnPriceBox").height())-$(".bnHeader__main").height()-$(".bnMainMenu").height()-$(".bnBreadcrumbs").height()+80;$(window).on("scroll",function(){$(window).scrollTop()>t?$(".bind-bnPriceBoxSticky").addClass("active"):$(".bind-bnPriceBoxSticky").removeClass("active")})}}),$(document).on("click",".bind-togglePriceBoxSticky",function(){$(".bnPriceBoxSticky").hasClass("visible")?($(".bnPriceBoxSticky").removeClass("visible"),toggleOverlay("hide")):$(".bnPriceBoxSticky").addClass("visible")}),$(document).ready(function(){function t(){$(".bnAttentionBox--truncated").each(function(){$(this).find(".bnAttentionBox__content").outerHeight()>=$(this).find(".bnAttentionBox__content").prop("scrollHeight")&&$(this).removeClass("bnAttentionBox--truncated")})}$(".bnAttentionBox").on("click",".bind-untruncate",function(){$(this).closest(".bnAttentionBox").removeClass("bnAttentionBox--truncated")}),$(".bnAttentionBox").on("click",".bind-closeBox",function(){$(this).closest(".bnAttentionBox").hide()}),t(),$(window).on("resize",function(){t()})}),$(document).ready(function(){if($(".bnMobileWidgetButtonsWrap").length){var t=$(".b
144nMobileWidgetButtonsWrap").offset().top+100;function e(){$(window).scrollTop()>t?$(".bnMobileWidgetButtons").addClass("fixed"):$(".bnMobileWidgetButtons").removeClass("fixed")}e(),$(window).on("scroll",function(){e()}),$(window).on("resize",function(){e()})}}),$(document).ready(function(){$(document).on("click",".bind-openSorting",function(){$(".bnMobileWidget--sorting").addClass("visible"),$("body").addClass("mobileFiltersOpened")}),$(document).on("click",".bind-closeMobileWidget",function(){$(this).closest(".bnMobileWidget").removeClass("visible"),$("body").removeClass("mobileFiltersOpened")}),$(document).on("click",".bind-openSidebar",function(){$(".bnMobileSidebar").addClass("opened"),$("body").addClass("mobileFiltersOpened")}),$(document).on("click",".bind-closeMobileSidebar",function(){$(this).closest(".bnMobileSidebar").removeClass("opened"),$("body").removeClass("mobileFiltersOpened")}),$(document).on("click",".pr_filterGroup_list",function(t){t.stopPropagation(),$(this).closest(".bnMobileWidget--sorting").removeClass("visible"),$("body").removeClass("mobileFiltersOpened")}),$("html").hasClass("touch")?$(document).on("click",".contactsIcon > a",function(t){t.preventDefault(),$(".contactsIcon").toggleClass("active")}):($(document).on("mouseenter",".contactsIcon > a",function(t){t.preventDefault(),$(".contactsIcon").hasClass("active")||$(".contactsIcon").addClass("active")}),$(document).on("mouseleave",".contactsMenu",function(t){t.preventDefault(),$(".contactsIcon").hasClass("active")&&$(".contactsIcon").removeClass("active")}))}),$(document).on("click",".bind-toggleLike",function(t){t.preventDefault();var e=$(this).data("entrytype"),i=$(this).data("entryid");return void 0!==e&&void 0!==i&&($trg=$(this),void ajaxHelper({methodName:"toggleLike",args:{entryType:e,entryID:i}},function(t){if(void 0===t.return)return alert("Server error"),!1;void 0!==t.return.return.status&&("on"==t.return.return.status?$trg.addClass("active"):$trg.removeClass("active"));var e=$trg.find(".bind-likesCount");e&&void 0!==t.return.return.count&&e.html(t.return.return.count)}))}),$(document).on("click",".bind-showFavoritesModal",function(t){t.preventDefault(),ajaxHelper({className:"Favorites",methodName:"getFavoritesModal",args:{}},function(t){t.success&&t.return&&t.return.html&&(void 0===window.benuDialog||"function"!=typeof window.benuDialog.open?$.fancybox.open(t.return.html,{toolbar:!1,smallBtn:!1,autoFocus:!1,touch:!1,animationDuration:250,animationEffect:"slide-in-out"}):window.benuDialog.open({id:"favoritesListDialog",content:t.return.html,className:"bnuDialog--small",lockScroll:!0}))})}),$(document).on("click",".bind-closeAccCompletionMessage .bind-closeBox",function(){ajaxHelper({className:"BenuMemberHelper",methodName:"cancelAccCompletionMessage",args:{}},function(t){t.success&&window.location.reload()})}),$(document).on("click",".bind-showQntInPharmacies",function(t){t.preventDefault();var e=$(this);let i;i="undefined"==typeof product||null===product?e.data("productid"):product.ID,"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(e,!0),ajaxHelper({methodName:"drawPharmaciesQnts",args:{prID:i,drawDialog:!0}},function(t){if("function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(e,!1),t.success){if(void 0!==window.benuDialog&&"function"==typeof window.benuDialog.open)return void window.benuDialog.open({id:"pharmaciesQntsDialog",content:t.return});bnFancybox(t.return)}},"POST")}),$(document).ready(function(){if($(".bind-sliderBanner--top").length){var t=getPromoSliderWrapTop();getPromoSliderTrackTop().infiniteslide({clone:2,speed:100,pauseonhover:!1}),isPromoSliderTopVisible()&&$("html").addClass("sliderBannerTopVisible"),t.show(),setHeaderHeight()}$(".bind-sliderBanner--bottom").length&&getPromoSliderTrackBottom().infiniteslide({clone:2,speed:100,pauseonhover:!1}),$(document).on("click",".bind-sliderBanner-close",function(t){t.preventDefault();var e=$(this).data("wrap"),i="bottom"===$(this).data("position")?"bottom":"top";$("."+e).remove(),"sliderBannerWrap--top"!==e&&"bind-promoBarSliderWrap--top"!==e||($("html").removeClass("sliderBannerTopVisible"),$(".bnMobileMenu").css("top",0),$(".bnHeader__main").css("top",0),$(".bnHeader__attention")?$(".bnMobileMenu__button").css("top",$(".bnHeader__top").height()):$(".bnMobileMenu__button").css("top",0)),setTimeout(function(){const t=document.querySelector(".b
144nuPromoBarContainer"),e=t?t.offsetHeight:0;document.body.style.setProperty("--promo-height",e+"px")},50);var n={className:"Banners",methodName:"pauseSliderBanner"};n.args={position:i},ajaxHelper(n,function(t){})})}),$(document).on("mouseover",".subMenuLink",function(){checkPictureVisibility()}),$(document).on("click",".bind-drawAddedToCartPopup",function(){var t=addLoader($(this));drawAddedToCartPopup(!1,!1,!1),closeToaster(".addedToCartToast"),closeLoader(t)}),$(document).on("click",".bnToasterNotification .bind-closeToaster",function(){closeToaster("#"+$(this).parent().attr("id"))}),$(document).on("mouseover",".subMenuLink",function(){checkPictureVisibility()}),$(window).on("resize",function(){}),$(function(){$(document).on("click","a[data-linkedbannerid]",function(t){t.preventDefault();var e={},i={type:"popup",options:{}};i.options.bannerID=$(this).attr("data-linkedbannerid"),i.options.linkedBannerCall=!0,e.className="Banners",e.methodName="drawBanner",e.args=i,ajaxHelper(e,function(t){t.return&&$("body").append(t.return.HTML)},"POST")});let t=null;$(document).on("click keydown keyup",function(e){if(null==t&&(t=9==e.which,t)){$("html.intuero").find(".alwaysAccessible.bind-focusOnElement").attr("tabindex","-1");var i=new Date;i.setDate(i.getDate()+7),document.cookie="user_accessibility=1; expires="+i+"; path=/",$("html.intuero").addClass("accessibilityActive")}}),$(document).on("click",".bind-increaseContentContrast",function(t){if(t.preventDefault(),$("html.intuero").hasClass("accessibilityContrast"))$("html.intuero").removeClass("accessibilityContrast"),document.cookie="user_accessibility_contrast=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",$(this).attr("aria-label",increaseContrast).find("span").text(increaseContrast);else{var e=new Date;e.setDate(e.getDate()+7),document.cookie="user_accessibility_contrast=1; expires="+e+"; path=/",$("html.intuero").addClass("accessibilityContrast"),$(this).attr("aria-label",decreaseContrast).find("span").text(decreaseContrast)}}),$(document).on("click",".bind-enableAccessibilityMode",function(t){t.preventDefault();var e=new Date;e.setDate(e.getDate()+7),document.cookie="user_accessibility=1; expires="+e+"; path=/",$("html.intuero").addClass("accessibilityActive"),$("html.intuero").find(".alwaysAccessible.bind-focusOnElement").attr("tabindex","-1")}),$(document).on("click",".bind-hideAccessibilityMenu",function(t){t.preventDefault(),$("html.intuero").removeClass("accessibilityActive accessibilityContrast"),document.cookie="user_accessibility_contrast=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",document.cookie="user_accessibility_size=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",document.cookie="user_accessibility=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",$("html.intuero").find(".alwaysAccessible.bind-focusOnElement").attr("tabindex","0")}),$(document).on("click",".bind-focusOnElement",function(t){t.preventDefault();let e=$(this).attr("data-click");e&&$(e).trigger("click");let i=$(this).attr("data-scrollto");i=$(i).find(":focusable").first(),$(i).focusOnElement(!0)}),$(document).on("click",".bind-toggleElementSize",function(t){t.preventDefault();let e=$("html.intuero").hasClass("accessibilitySize");if($("html.intuero").toggleClass("accessibilitySize"),e)document.cookie="user_accessibility_size=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",$(this).attr("aria-label",increaseSize),$(this).find("span").text(increaseSize);else{var i=new Date;i.setDate(i.getDate()+7),document.cookie="user_accessibility_size=1; expires="+i+"; path=/",$(this).attr("aria-label",decreaseSize),$(this).find("span").text(decreaseSize)}setTimeout(function(){window.location.reload()},100)})}),$(window).on("resize",function(){setHeaderHeight()}),$(document).on("click",".bind-openLoginPage",function(t){t.preventDefault(),t.stopPropagation();let e=$(this).data("href")||$(this).attr("href");e&&(window.location.href=e)}),function(){if(!window.bnuMinCartPromoTooltipInit){window.bnuMinCartPromoTooltipInit=!0;var t=null;$(document).on("mouseenter",".bnMinCartPromo__infoIcon, .bnuMinCartPromo__info",function(){var t=$(this),i=t.attr("data-tooltip");i&&(e().html(i).show(),function(t){var i=e(),n=t[0].getBoundingClientRect(),o=i.outerHeight(),s=i.outerWidth()||280,a=n.top-o-8,r=n.left+n.width/2-s/2;r<8&&(r=8),r+s>window.innerWidth-8&&(r=window.innerWidth-s-8),a<8&&(a=n.bottom+8),i.css({top:a+"px",left:r+"px"})}(t))}),$(document).on("mouseleave",".bnMinCartPromo__infoIcon, .bnuMinCartPromo__info",function(t){var i=e();t.relatedTarget&&i[0].contains(t.relatedTarget)||i.hide()})}function e(){return t||(t=$('<div class="bnuMinCartPromo__tooltip"></div>').appendTo("body")).on("mouseleave",function(){t.hide()}),t}}(),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");function ClusterIcon(t,e){t.getMarkerClusterer().extend(ClusterIcon,google.maps.OverlayView),this.cluster_=t,this.className_=t.getMarkerClusterer().getClusterClass(),this.styles_=e,this.center_=null,this.div_=null,this.sums_=null,this.visible_=!1,this.setMap(t.getMap())}function Cluster(t){this.markerClusterer_=t,this.map_=t.getMap(),this.gridSize_=t.getGridSize(),this.minClusterSize_=t.getMinimumClusterSize(),this.averageCenter_=t.getAverageCenter(),this.hideLabel_=t.getHideLabel(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new ClusterIcon(this,t.getStyles())}function MarkerClusterer(t,e,i){this.extend(MarkerClusterer,google.maps.OverlayView),e=e||[],i=i||{}
144,this.markers_=[],this.clusters_=[],this.listeners_=[],this.activeMap_=null,this.ready_=!1,this.gridSize_=i.gridSize||60,this.minClusterSize_=i.minimumClusterSize||2,this.maxZoom_=i.maxZoom||null,this.styles_=i.styles||[],this.title_=i.title||"",this.zoomOnClick_=!0,void 0!==i.zoomOnClick&&(this.zoomOnClick_=i.zoomOnClick),this.averageCenter_=!1,void 0!==i.averageCenter&&(this.averageCenter_=i.averageCenter),this.ignoreHidden_=!1,void 0!==i.ignoreHidden&&(this.ignoreHidden_=i.ignoreHidden),this.enableRetinaIcons_=!1,void 0!==i.enableRetinaIcons&&(this.enableRetinaIcons_=i.enableRetinaIcons),this.hideLabel_=!1,void 0!==i.hideLabel&&(this.hideLabel_=i.hideLabel),this.imagePath_=i.imagePath||MarkerClusterer.IMAGE_PATH,this.imageExtension_=i.imageExtension||MarkerClusterer.IMAGE_EXTENSION,this.imageSizes_=i.imageSizes||MarkerClusterer.IMAGE_SIZES,this.calculator_=i.calculator||MarkerClusterer.CALCULATOR,this.batchSize_=i.batchSize||MarkerClusterer.BATCH_SIZE,this.batchSizeIE_=i.batchSizeIE||MarkerClusterer.BATCH_SIZE_IE,this.clusterClass_=i.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize_=this.batchSizeIE_),this.setupStyles_(),this.addMarkers(e,!0),this.setMap(t)}!function(){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="0",i.TRANSITION_DURATION=150,i.prototype.close=function(e){var n=t(this),o=n.attr("data-target");o||(o=(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var s=t(o);function a(){s.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),s.length||(s=n.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a())};var n=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var n=t(this),o=n.data("bs.alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof e&&o[e].call(n)})},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(t){"use strict";var e=function(i,n){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,n),this.isLoading=!1};function i(i){return this.each(function(){var n=t(this),o=n.data("bs.button"),s="object"==typeof i&&i;o||n.data("bs.button",o=new e(this,s)),"toggle"==i?o.toggle():i&&o.setState(i)})}e.VERSION="0",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var i="disabled",n=this.$element,o=n.is("input")?"val":"html",s=n.data();e+="Text",null==s.resetText&&n.data("resetText",n[o]()),setTimeout(t.proxy(function(){n[o](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,n.removeClass(i).removeAttr(i))},this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")&&(i.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=i,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var n=t(e.target);n.hasClass("btn")||(n=n.closest(".btn")),i.call(n,"toggle"),e.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";var e=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("key
144down.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function i(i){return this.each(function(){var n=t(this),o=n.data("bs.carousel"),s=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i),a="string"==typeof i?i:s.slide;o||n.data("bs.carousel",o=new e(this,s)),"number"==typeof i?o.to(i):a?o[a]():s.interval&&o.pause().cycle()})}e.VERSION="0",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var n=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(n)},e.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(i,n){var o=this.$element.find(".item.active"),s=n||this.getItemForDirection(i,o),a=this.interval,r="next"==i?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var c=s[0],u=t.Event("slide.bs.carousel",{relatedTarget:c,direction:r});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=t(this.$indicators.children()[this.getItemIndex(s)]);h&&h.addClass("active")}var d=t.Event("slid.bs.carousel",{relatedTarget:c,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(i),s[0].offsetWidth,o.addClass(r),s.addClass(r),o.one("bsTransitionEnd",function(){s.removeClass([i,r].join(" ")).addClass("active"),o.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(d)},0)}).emulateTransitionEnd(e.TRANSITION_DURATION)):(o.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(d)),a&&this.cycle(),this}};var n=t.fn.carousel;t.fn.carousel=i,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this};var o=function(e){var n,o=t(this),s=t(o.attr("data-target")||(n=o.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var a=t.extend({},s.data(),o.data()),r=o.attr("data-slide-to");r&&(a.interval=!1),i.call(s,a),r&&s.data("bs.carousel").to(r),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jQuery),function(t){"use strict";var e='[data-toggle="dropdown"]',i=function(e){t(e).on("click.bs.dropdown",this.toggle)};function n(i){i&&3===i.which||(t(".dropdown-backdrop").remove(),t(e).each(function(){var e=t(this),n=o(e),s={relatedTarget:this};n.hasClass("open")&&(n.trigger(i=t.Event("hide.bs.dropdown",s)),i.isDefaultPrevented()||(e.attr("aria-expanded","fal
144se"),n.removeClass("open").trigger("hidden.bs.dropdown",s)))}))}function o(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&t(i);return n&&n.length?n:e.parent()}i.VERSION="0",i.prototype.toggle=function(e){var i=t(this);if(!i.is(".disabled, :disabled")){var s=o(i),a=s.hasClass("open");if(n(),!a){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",n);var r={relatedTarget:this};if(s.trigger(e=t.Event("show.bs.dropdown",r)),e.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),s.toggleClass("open").trigger("shown.bs.dropdown",r)}return!1}},i.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var n=t(this);if(i.preventDefault(),i.stopPropagation(),!n.is(".disabled, :disabled")){var s=o(n),a=s.hasClass("open");if(!a&&27!=i.which||a&&27==i.which)return 27==i.which&&s.find(e).trigger("focus"),n.trigger("click");var r=" li:not(.disabled):visible a",l=s.find('[role="menu"]'+r+', [role="listbox"]'+r);if(l.length){var c=l.index(i.target);38==i.which&&c>0&&c--,40==i.which&&c<l.length-1&&c++,~c||(c=0),l.eq(c).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),o=n.data("bs.dropdown");o||n.data("bs.dropdown",o=new i(this)),"string"==typeof e&&o[e].call(n)})},t.fn.dropdown.Constructor=i,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",e,i.prototype.toggle).on("keydown.bs.dropdown.data-api",e,i.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',i.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',i.prototype.keydown)}(jQuery),function(t){"use strict";var e=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function i(i,n){return this.each(function(){var o=t(this),s=o.data("bs.modal"),a=t.extend({},e.DEFAULTS,o.data(),"object"==typeof i&&i);s||o.data("bs.modal",s=new e(this,a)),"string"==typeof i?s[i](n):a.show&&s.show(n)})}e.VERSION="0",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(i){var n=this,o=t.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o=t.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),o&&n.$element[0].offsetWidth,n.$element.addClass("in").attr("aria-hidden",!1),n.enforceFocus();var s=t.Event("shown.bs.modal",{relatedTarget:i});o?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(s)}).emulateTransitionEnd(e.TRANSITION_DURATION):n.$element.trigger("focus").trigger(s)}))},e.prototype.hide=function(i){i&&i.preventDefault(),i=t.Event("hide.bs.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
144down.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(i){var n=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var s=t.support.transition&&o;if(this.$backdrop=t('<div class="modal-backdrop '+o+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;s?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):i()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){n.removeBackdrop(),i&&i()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):a()}else i&&i()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var n=t.fn.modal;t.fn.modal=i,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=n,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var n=t(this),o=n.attr("href"),s=t(n.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),a=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},s.data(),n.data());n.is("a")&&e.preventDefault(),s.one("show.bs.modal",function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",function(){n.is(":visible")&&n.trigger("focus")})}),i.call(s,a,this)})}(jQuery),function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",t,e)};e.VERSION="0",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),s=o.length;s--;){var a=o[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i&&i.$tip&&i.$tip.is(":visible"))i.hoverState="in";else{if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!n)return;var o=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(r);c&&(r=r.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element);var u=this.getPosition(),h=s[0].offsetWidth,d=s[0].offsetHeight;if(c){var p=r,f=this.options.container?t(this.options.container):this.$element.parent(),m=this.getPosition(f);r="bottom"==r&&u.bottom+d>m.bottom?"top":"top"==r&&u.top-d<m.top?"bottom":"right"==r&&u.right+h>m.width?"left":"left"==r&&u.left-h<m.left?"right":r,s.removeClass(p).addClass(r)}var g=this.getCalculatedOffset(r,u,h,d);this.applyPlacement(g,r);var v=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",v).emulateTransitionEnd(e.TRANSITION_DURATION):v()}},e.prototype.applyPlacement=function(e,i){var n=this.tip(),o=n[0].offsetWidth,s=n[0].offsetHeight,a=parseInt(n.css("margin-top"),10),r=parseInt(n.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(r)&&(r=0),e.top=e.top+a,e.left=e.left+r,t.offset.setOffset(n[0],t.extend({using:function(t){n.css({top:Math.round(t.top),left
vendor: 15,838 bytes, line 144
144:Math.round(t.left)})}},e),0),n.addClass("in");var l=n[0].offsetWidth,c=n[0].offsetHeight;"top"==i&&c!=s&&(e.top=e.top+s-c);var u=this.getViewportAdjustedDelta(i,e,l,c);u.left?e.left+=u.left:e.top+=u.top;var h=/top|bottom/.test(i),d=h?2*u.left-o+l:2*u.top-s+c,p=h?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(d,n[0][p],h)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(i){var n=this,o=t(this.$tip),s=t.Event("hide.bs."+this.type);function a(){"in"!=n.hoverState&&o.detach(),n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),i&&i()}if(this.$element.trigger(s),!s.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),this.hoverState=null,this},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],n="BODY"==i.tagName,o=i.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var s=n?{top:0,left:0}:e.offset(),a={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},r=n?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,a,r,s)},e.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-s-a.scroll,l=e.top+s-a.scroll+n;r<a.top?o.top=a.top-r:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var c=e.left-s,u=e.left+s+i;c<a.left?o.left=a.left-c:u>a.width&&(o.left=a.left+a.width-u)}return o},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each(function(){var n=t(this),o=n.data("bs.tooltip"),s="object"==typeof i&&i;!o&&/destroy|hide/.test(i)||(o||n.data("bs.tooltip",o=new e(this,s)),"string"==typeof i&&o[i]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="0",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=function(i){return this.each(function(){var n=t(this),o=n.data("bs.popover"),s="object"==typeof i&&i;!o&&/destroy|hide/.test(i)||(o||n.data("bs.popover",o=new e(this,s)),"string"==typeof i&&o[i]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};function i(i){return this.each(function(){var n=t(this),o=n.data("bs.tab");o||n.data("bs.tab",o=new e(this)),"string"==typeof i&&o[i]()})}e.VERSION="0",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=i.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(s),e.trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){var r=t(n);this.activate(e.closest("li"),i),this.activate(r,r.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},e.prototype.activate=function(i,n,o){var s=n.find("> .active"),a=o&&t.support.transition&&(s.length&&s.hasClass("fade")||!!n.find("> .fade").length);function r(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade"),i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}s.length&&a?s.one("bsTransitionEnd",r).emulateTransitionEnd(e.TRANSITION_DURATION):r(),s.removeClass("in")};var n=t.fn.tab;t.fn.tab=i,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var o=function(e){e.preventDefault(),i.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(t){"use strict";var e=function(i,n){this.options=t.extend({},e.DEFAULTS,n),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(i),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(i){return this.each(function(){var n=t(this),o=n.data("bs.affix"),s="object"==typeof i&&i;o||n.data("bs.affix",o=new e(this,s)),"string"==typeof i&&o[i]()})}e.VERSION="0",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,i,n){var o=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return o<i&&"top";if("bottom"==this.affixed)return null!=i?!(o+this.unpin<=s.top)&&"bottom":!(o+a<=t-n)&&"bottom";var r=null==this.affixed,l=r?o:s.top;return null!=i&&o<=i?"top":null!=n&&l+(r?a:e)>=t-n&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var i=this.$element.height(),n=this.options.offset,o=n.top,s=n.bottom,a=t(document.body).height();"object"!=typeof n&&(s=o=n),"function"==typeof o&&(o=n.top(this.$element)),"function"==typeof s&&(s=n.bottom(this.$element));var r=this.getState(a,i,o,s);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:a-i-s})}};var n=t.fn.affix;t.fn.affix=i,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),n=e.data();n.offset=n.offset||{},null!=n.offsetBottom&&(n.offset.bottom=n.offsetBottom),null!=n.offsetTop&&(n.offset.top=n.offsetTop),i.call(e,n)})})}(jQuery),function(t){"use strict";var e=function(i,n){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function i(e){var i,n=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(n)}function n(i){return this.each(function(){var n=t(this),o=n.data("bs.collapse"),s=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i);!o&&s.toggle&&/show|hide/.test(i)&&(s.toggle=!1),o||n.data("bs.collapse",o=new e(this,s)),"string"==typeof i&&o[i]()})}e.VERSION="0",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var i,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(i=o.data("bs.collapse"))&&i.transitioning)){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){o&&o.length&&(n.call(o,"hide"),i||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[a](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var i=t.Event("hide.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(e,n){var o=t(n);this.addAriaAndCollapsedClass(i(o),o)},this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var o=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var o=t(this);o.attr("data-target")||e.preventDefault();var s=i(o),a=s.data("bs.collapse")?"toggle":o.data();n.call(s,a)})}(jQuery),function(t){"use strict";function e(i,n){this.$body=t(document.body),this.$scrollElement=t(i).is(document.body)?t(window):t(i),this.options=t.extend({},e.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each(function(){var n=t(this),o=n.data("bs.scrollspy"),s="object"==typeof i&&i;o||n.data("bs.scrollspy",o=new e(this,s)),"string"==typeof i&&o[i]()})}e.VERSION="0",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),o=e.data("target")||e.attr("href"),s=/^#./.test(o)&&t(o);return s&&s.length&&s.is(":visible")&&[[s[i]().top+n,o]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),o=this.offsets,s=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=n)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)a!=s[t]&&e>=o[t]&&(void 0===o[t+1]||e<=o[t+1])&&this.activate(s[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=t(i).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var n=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;return t(this).one("bsTransitionEnd",function(){i=!0}),setTimeout(function(){i||t(n).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.supp
vendor: 12,069 bytes, line 144
144ort.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(i){return t.Bloodhound=e(i)}):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):t.Bloodhound=e(t.jQuery)}(this,function(t){var e=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:t.isArray,isFunction:t.isFunction,isObject:t.isPlainObject,isUndefined:function(t){return void 0===t},isElement:function(t){return!(!t||1!==t.nodeType)},isJQuery:function(e){return e instanceof t},toStr:function(t){return e.isUndefined(t)||null===t?"":t+""},bind:t.proxy,each:function(e,i){t.each(e,function(t,e){return i(e,t)})},map:t.map,filter:t.grep,every:function(e,i){var n=!0;return e?(t.each(e,function(t,o){if(!(n=i.call(null,o,t,e)))return!1}),!!n):n},some:function(e,i){var n=!1;return e?(t.each(e,function(t,o){if(n=i.call(null,o,t,e))return!1}),!!n):n},mixin:t.extend,identity:function(t){return t},clone:function(e){return t.extend(!0,{},e)},getIdGenerator:function(){var t=0;return function(){return t++}},templatify:function(e){return t.isFunction(e)?e:function(){return String(e)}},defer:function(t){setTimeout(t,0)},debounce:function(t,e,i){var n,o;return function(){var s,a,r=this,l=arguments;return s=function(){n=null,i||(o=t.apply(r,l))},a=i&&!n,clearTimeout(n),n=setTimeout(s,e),a&&(o=t.apply(r,l)),o}},throttle:function(t,e){var i,n,o,s,a,r;return a=0,r=function(){a=new Date,o=null,s=t.apply(i,n)},function(){var l=new Date,c=e-(l-a);return i=this,n=arguments,c<=0?(clearTimeout(o),o=null,a=l,s=t.apply(i,n)):o||(o=setTimeout(r,c)),s}},stringify:function(t){return e.isString(t)?t:JSON.stringify(t)},guid:function(){function t(t){var e=(Math.random().toString(16)+"000000000").substr(2,8);return t?"-"+e.substr(0,4)+"-"+e.substr(4,4):e}return"tt-"+t()+t(!0)+t(!0)+t()},noop:function(){}}}(),i=function(){"use strict";return{nonword:i,whitespace:t,ngram:n,obj:{nonword:o(i),whitespace:o(t),ngram:o(n)}};function t(t){return(t=e.toStr(t))?t.split(/\s+/):[]}function i(t){return(t=e.toStr(t))?t.split(/\W+/):[]}function n(t){t=e.toStr(t);var i=[],n="";return e.each(t.split(""),function(t){t.match(/\s+/)?n="":(i.push(n+t),n+=t)}),i}function o(t){return function(i){return i=e.isArray(i)?i:[].slice.call(arguments,0),function(n){var o=[];return e.each(i,function(i){o=o.concat(t(e.toStr(n[i])))}),o}}}}(),n=function(){"use strict";function i(i){this.maxSize=e.isNumber(i)?i:100,this.reset(),this.maxSize<=0&&(this.set=this.get=t.noop)}function n(){this.head=this.tail=null}function o(t,e){this.key=t,this.val=e,this.prev=this.next=null}return e.mixin(i.prototype,{set:function(t,e){var i,n=this.list.tail;this.size>=this.maxSize&&(this.list.remove(n),delete this.hash[n.key],this.size--),(i=this.hash[t])?(i.val=e,this.list.moveToFront(i)):(i=new o(t,e),this.list.add(i),this.hash[t]=i,this.size++)},get:function(t){var e=this.hash[t];if(e)return this.list.moveToFront(e),e.val},reset:function(){this.size=0,this.hash={},this.list=new n}}),e.mixin(n.prototype,{add:function(t){this.head&&(t.next=this.head,this.head.prev=t),this.head=t,this.tail=this.tail||t},remove:function(t){t.prev?t.prev.next=t.next:this.head=t.next,t.next?t.next.prev=t.prev:this.tail=t.prev},moveToFront:function(t){this.remove(t),this.add(t)}}),i}(),o=function(){"use strict";var i;try{(i=window.localStorage).setItem("~~~","!"),i.removeItem("~~~")}catch(t){i=null}function n(t,n){this.prefix=["__",t,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+e.escapeRegExChars(this.prefix)),this.ls=n||i,!this.ls&&this._noop()}return e.mixin(n.prototype,{_prefix:function(t){return this.prefix+t},_ttlKey:function(t){return this._prefix(t)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=e.noop},_safeSet:function(t,e){try{this.ls.setItem(t,e)}catch(t){"QuotaExceededError"===t.name&&(this.clear(),this._noop())}},get:function(t){return this.isExpired(t)&&this.remove(t),a(this.ls.getItem(this._prefix(t)))},set:function(t,i,n){return e.isNumber(n)?this._safeSet(this._ttlKey(t),s(o()+n)):this.ls.removeItem(this._ttlKey(t)),this._safeSet(this._prefix(t),s(i))},remove:function(t){return this.ls.removeItem(this._ttlKey(t)),this.ls.removeItem(this._prefix(t)),this},clear:function(){var t,e=function(t){var e,n,o=[],s=i.length;for(e=0;e<s;e++)(n=i.key(e)).match(t)&&o.push(n.replace(t,""));return o}(this.keyMatcher);for(t=e.length;t--;)this.remove(e[t]);return this},isExpired:function(t){var i=a(this.ls.getItem(this._ttlKey(t)));return!!(e.isNumber(i)&&o()>i)}}),n;function o(){return(new Date).getTime()}function s(t){return JSON.stringify(e.isUndefined(t)?null:t)}function a(e){return t.parseJSON(e)}}(),s=function(){"use strict";var i=0,o={},s=new n(10);function a(t){t=t||{},this.maxPendingRequests=t.maxPendingRequests||6,this.cancelled=!1,this.lastReq=null,this._send=t.transport,this._get=t.limiter?t.limiter(this._get):this._get,this._cache=!1===t.cache?new n(0):s}return a.setMaxPendingRequests=function(t){this.maxPendingRequests=t},a.resetCache=function(){s.reset()},e.mixin(a.prototype,{_fingerprint:function(e){return(e=e||{}).url+e.type+t.param(e.data||{})},_get:function(t,e){var n,s,a=this;function r(t){e(null,t),a._cache.set(n,t)}function l(){e(!0)}n=this._fingerprint(t),this.cancelled||n!==this.lastReq||((s=o[n])?s.done(r).fail(l):i<this.maxPendingRequests?(i++,o[n]=this._send(t).done(r).fail(l).always(function(){i--,delete o[n],a.onDeckRequestArgs&&(a._get.apply(a,a.onDeckRequestArgs),a.onDeckRequestArgs=null)})):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(i,n){var o,s;n=n||t.noop,i=e.isString(i)?{url:i}:i||{},s=this._fingerprint(i),this.cancelled=!1,this.lastReq=s,(o=this._cache.get(s))?n(null,o):this._get(i,n)},cancel:function(){this.cancelled=!0}}),a}(),a=window.SearchIndex=function(){"use strict";var i="c";function n(i){(i=i||{}).datumTokenizer&&i.queryTokenizer||t.error("datumTokenizer and queryTokenizer are both required"),this.identify=i.identify||e.stringify,this.datumTokenizer=i.datumTokenizer,this.queryTokenizer=i.queryTokenizer,this.matchAnyQueryToken=i.matchAnyQueryToken,this.reset()}return e.mixin(n.prototype,{bootstrap:function(t){this.datums=t.datums,this.trie=t.trie},add:function(t){var n=this;t=e.isArray(t)?t:[t],e.each(t,function(t){var a,r;n.datums[a=n.identify(t)]=t,r=o(n.datumTokenizer(t)),e.each(r,function(t){var e,o,r;for(e=n.trie,o=t.split("");r=o.shift();)(e=e[i][r]||(e[i][r]=s())).i.push(a)})})},get:function(t){var i=this;return e.map(t,function(t){return i.datums[t]})},search:function(t){var n,s,a=this;return n=o(this.queryTokenizer(t)),e.each(n,function(t){var e,n,o,r;if(s&&0===s.length&&!a.matchAnyQueryToken)return!1;for(e=a.trie,n=t.split("");e&&(o=n.shift());)e=e[i][o];if(e&&0===n.length)r=e.i.slice(0),s=s?function(t,e){var i=0,n=0,o=[];t=t.sort(),e=e.sort();for(var s=t.length,a=e.length;i<s&&n<a;)t[i]<e[n]?i++:(t[i]>e[n]||(o.push(t[i]),i++),n++);return o}(s,r):r;else if(!a.matchAnyQueryToken)return s=[],!1}),s?e.map(function(t){for(var e={},i=[],n=0,o=t.length;n<o;n++)e[t[n]]||(e[t[n]]=!0,i.push(t[n]));return i}(s),function(t){return a.datums[t]}):[]},all:function(){var t=[];for(var e in this.datums)t.push(this.datums[e]);return t},reset:function(){this.datums={},this.trie=s()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),n;function o(t){return t=e.filter(t,function(t){return!!t}),e.map(t,function(t){return t.toLowerCase()})}function s(){var t={i:[]};return t[i]={},t}}(),r=function(){"use strict";var t;function i(t){this.url=t.url,this.ttl=t.ttl,this.cache=t.cache,this.prepare=t.prepare,this.transform=t.transform,this.transport=t.transport,this.thumbprint=t.thumbprint,this.storage=new o(t.cacheKey)}return t={data:"data",protocol:"protocol",thumbprint:"thumbprint"},e.mixin(i.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(e){this.cache&&(this.storage.set(t.data,e,this.ttl),this.storage.set(t.protocol,location.protocol,this.ttl),this.storage.set(t.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var e,i={};return this.cache?(i.data=this.storage.get(t.data),i.protocol=this.storage.get(t.protocol),i.thumbprint=this.storage.get(t.thumbprint),e=i.thumbprint!==this.thumbprint||i.protocol!==location.protocol,i.data&&!e?i.data:null):null},fromNetwork:function(t){var e,i=this;t&&(e=this.prepare(this._settings()),this.transport(e).fail(function(){t(!0)}).done(function(e){t(null,i.transform(e))}))},clear:function(){return this.storage.clear(),this}}),i}(),l=function(){"use strict";function t(t){this.url=t.url,this.prepare=t.prepare,this.transform=t.transform,this.indexResponse=t.indexResponse,this.transport=new s({cache:t.cache,limiter:t.limiter,transport:t.transport,maxPendingRequests:t.maxPendingRequests})}return e.mixin(t.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(t,e){var i,n=this;if(e)return t=t||"",i=this.prepare(t,this._settings()),this.transport.get(i,function(t,i){e(t?[]:n.transform(i))})},cancelLastRequest:function(){this.transport.cancel()}}),t}(),c=function(){"use strict";return function(n){var o,s;return o={initialize:!0,identify:e.stringify,datumTokenizer:null,queryTokenizer:null,matchAnyQueryToken:!1,sufficient:5,indexRemote:!1,sorter:null,local:[],prefetch:null,remote:null},!(n=e.mixin(o,n||{})).datumTokenizer&&t.error("datumTokenizer is required"),!n.queryTokenizer&&t.error("queryTokenizer is required"),s=n.sorter,n.sorter=s?function(t){return t.sort(s)}:e.identity,n.local=e.isFunction(n.local)?n.local():n.local,n.prefetch=function(n){var o;return n?(o={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:e.identity,transform:e.identity,transport:null},n=e.isString(n)?{url:n}:n,!(n=e.mixin(o,n)).url&&t.error("prefetch requires url to be set"),n.transform=n.filter||n.transform,n.cacheKey=n.cacheKey||n.url,n.thumbprint="1.3.1"+n.thumbprint,n.transport=n.transport?i(n.transport):t.ajax,n):null}(n.prefetch),n.remote=function(n){var o;if(n)return o={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:e.identity,transport:null},n=e.isString(n)?{url:n}:n,!(n=e.mixin(o,n)).url&&t.error("remote requires url to be set"),n.transform=n.filter||n.transform,n.prepare=function(t){var e,i,n;return e=t.prepare,i=t.replace,n=t.wildcard,e||(e=i?function(t,e){return e.url=i(e.url,t),e}:t.wildcard?function(t,e){return e.url=e.url.replace(n,encodeURIComponent(t)),e}:function(t,e){return e})}(n),n.limiter=function(t){var i,n,o;return i=t.limiter,n=t.rateLimitBy,o=t.rateLimitWait,i||(i=/^throttle$/i.test(n)?function(t){return function(i){return e.throttle(i,t)}}(o):function(t){return function(i){return e.debounce(i,t)}}(o)),i}(n),n.transport=n.transport?i(n.transport):t.ajax,delete n.replace,delete n.wildcard,delete n.rateLimitBy,delete n.rateLimitWait,n}(n.remote),n};function i(i){return function(n){var o=t.Deferred();return i(n,function(t){e.defer(function(){o.resolve(t)})},function(t){e.defer(function(){o.reject(t)})}),o}}}(),u=function(){"use strict";var n;function o(t){t=c(t),this.sorter=t.sorter,this.identify=t.identify,this.sufficient=t.sufficient,this.indexRemote=t.indexRemote,this.local=t.local,this.remote=t.remote?new l(t.remote):null,this.prefetch=t.prefetch?new r(t.prefetch):null,this.index=new a({identify:this.identify,datumTokenizer:t.datumTokenizer,queryTokenizer:t.queryTokenizer}),!1!==t.initialize&&this.initialize()}return n=window&&window.Bloodhound,o.noConflict=function(){return window&&(window.Bloodhound=n),o}
144,o.tokenizers=i,e.mixin(o.prototype,{__ttAdapter:function(){var t=this;return this.remote?function(e,i,n){return t.search(e,i,n)}:function(e,i){return t.search(e,i)}},_loadPrefetch:function(){var e,i,n=this;return e=t.Deferred(),this.prefetch?(i=this.prefetch.fromCache())?(this.index.bootstrap(i),e.resolve()):this.prefetch.fromNetwork(function(t,i){if(t)return e.reject();n.add(i),n.prefetch.store(n.index.serialize()),e.resolve()}):e.resolve(),e.promise()},_initialize:function(){var t=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(function(){t.add(t.local)}),this.initPromise},initialize:function(t){return!this.initPromise||t?this._initialize():this.initPromise},add:function(t){return this.index.add(t),this},get:function(t){return t=e.isArray(t)?t:[].slice.call(arguments),this.index.get(t)},search:function(t,i,n){var o,s=this;return i=i||e.noop,n=n||e.noop,o=this.sorter(this.index.search(t)),i(this.remote?o.slice():o),this.remote&&o.length<this.sufficient?this.remote.get(t,function(t){var i=[];e.each(t,function(t){!e.some(o,function(e){return s.identify(t)===s.identify(e)})&&i.push(t)}),s.indexRemote&&s.add(i),n(i)}):this.remote&&this.remote.cancelLastRequest(),this},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return s.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),o}();return u}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(t.jQuery)}(this,function(t){var e=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:t.isArray,isFunction:t.isFunction,isObject:t.isPlainObject,isUndefined:function(t){return void 0===t},isElement:function(t){return!(!t||1!==t.nodeType)},isJQuery:function(e){return e instanceof t},toStr:function(t){return e.isUndefined(t)||null===t?"":t+""},bind:t.proxy,each:function(e,i){t.each(e,function(t,e){return i(e,t)})},map:t.map,filter:t.grep,every:function(e,i){var n=!0;return e?(t.each(e,function(t,o){if(!(n=i.call(null,o,t,e)))return!1}),!!n):n},some:function(e,i){var n=!1;return e?(t.each(e,function(t,o){if(n=i.call(null,o,t,e))return!1}),!!n):n},mixin:t.extend,identity:function(t){return t},clone:function(e){return t.extend(!0,{},e)},getIdGenerator:function(){var t=0;return function(){return t++}},templatify:function(e){return t.isFunction(e)?e:function(){return String(e)}},defer:function(t){setTimeout(t,0)},debounce:function(t,e,i){var n,o;return function(){var s,a,r=this,l=arguments;return s=function(){n=null,i||(o=t.apply(r,l))},a=i&&!n,clearTimeout(n),n=setTimeout(s,e),a&&(o=t.apply(r,l)),o}},throttle:function(t,e){var i,n,o,s,a,r;return a=0,r=function(){a=new Date,o=null,s=t.apply(i,n)},function(){var l=new Date,c=e-(l-a);return i=this,n=arguments,c<=0?(clearTimeout(o),o=null,a=l,s=t.apply(i,n)):o||(o=setTimeout(r,c)),s}},stringify:function(t){return e.isString(t)?t:JSON.stringify(t)},guid:function(){function t(t){var e=(Math.random().toString(16)+"000000000").substr(2,8);return t?"-"+e.substr(0,4)+"-"+e.substr(4,4):e}return"tt-"+t()+t(!0)+t(!0)+t()},noop:function(){}}}(),i=function(){"use strict";var t={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return function(n){var o,s,a,r;return s=e.mixin({},t,n),{css:(o={css:(r={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}},e.isMsie()&&e.mixin(r.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),r),classes:s,html:(a=s,{wrapper:'<span class="'+a.wrapper+'"></span>
144',menu:'<div role="listbox" class="'+a.menu+'"></div>'}),selectors:i(s)}).css,html:o.html,classes:o.classes,selectors:o.selectors,mixin:function(t){e.mixin(t,o)}}};function i(t){var i={};return e.each(t,function(t,e){i[e]="."+t}),i}}(),n=function(){"use strict";var i;function n(e){e&&e.el||t.error("EventBus initialized without el"),this.$el=t(e.el)}return i={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},e.mixin(n.prototype,{_trigger:function(e,i){var n=t.Event("typeahead:"+e);return this.$el.trigger.call(this.$el,n,i||[]),n},before:function(t){var e;return e=[].slice.call(arguments,1),this._trigger("before"+t,e).isDefaultPrevented()},trigger:function(t){var e;this._trigger(t,[].slice.call(arguments,1)),(e=i[t])&&this._trigger(e,[].slice.call(arguments,1))}}),n}(),o=function(){"use strict";var t=/\s+/,e=window.setImmediate?function(t){setImmediate(function(){t()})}:function(t){setTimeout(function(){t()},0)};return{onSync:function(t,e,n){return i.call(this,"sync",t,e,n)},onAsync:function(t,e,n){return i.call(this,"async",t,e,n)},off:function(e){var i;if(!this._callbacks)return this;for(e=e.split(t);i=e.shift();)delete this._callbacks[i];return this},trigger:function(i){var o,s,a,r,l;if(!this._callbacks)return this;for(i=i.split(t),a=[].slice.call(arguments,1);(o=i.shift())&&(s=this._callbacks[o]);)r=n(s.sync,this,[o].concat(a)),l=n(s.async,this,[o].concat(a)),r()&&e(l);return this}};function i(e,i,n,o){var s;if(!n)return this;for(i=i.split(t),n=o?function(t,e){return t.bind?t.bind(e):function(){t.apply(e,[].slice.call(arguments,0))}}(n,o):n,this._callbacks=this._callbacks||{};s=i.shift();)this._callbacks[s]=this._callbacks[s]||{sync:[],async:[]},this._callbacks[s][e].push(n);return this}function n(t,e,i){return function(){for(var n,o=0,s=t.length;!n&&o<s;o+=1)n=!1===t[o].apply(e,i);return!n}}}(),s=function(t){"use strict";var i={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1,diacriticInsensitive:!1},n={A:"[AaªÃ-Ã
à -Ã¥Ä-Ä
ÇÇÈ-ÈȦȧᴬáµá¸á¸áºáº -ảââââ»ââ¶âã±-ã´ã-ãããã©-ã¯ãããã¿ï¼¡ï½]",B:"[Bbá´®áµá¸-á¸â¬ââ·âã´ã
-ãããããï¼¢ï½]",C:"[CcÃçÄ-Äá¶ââââ
âââ
â
½ââ¸âã¶ãããã ã¤ã-ãï¼£ï½]",D:"[DdÄÄÇ-ÇDZ-dzᴰáµá¸-á¸â
â
â
®â
¾ââ¹âãã²ã·-ã¹ãã-ã¯ã
ãDï½]",E:"[EeÃ-Ãè-ëÄ-ÄÈ-ÈȨȩᴱáµá¸-á¸áº¸-ẽââ¡â¯â°â
â âºâãããï¼¥ï½
]",F:"[Ffá¶ á¸á¸ââ±â»â¡â»âã-ããï¬-ï¬ï¼¦ï½]",G:"[GgÄ-ģǦǧǴǵᴳáµá¸ ḡââ¢â¼âãããã-ããã¬ãããã¿ï¼§ï½]",H:"[HhĤĥÈÈʰᴴḢ-ḫáºâ-ââ£â½âãã±ã-ããããHï½]",I:"[IiÃ-Ãì-ïĨ-İIJijÇÇÈ-ÈᴵᵢḬá¸á»-á»â±âââ¹â
â
-â
£â
¥-â
¨â
ªâ
«â
°-â
³â
µ-â
¸â
ºâ
»â¤â¾âãºããï¬ï¬ï¼©ï½]",J:"[JjIJ-ĵÇ-Çǰʲᴶâ
â¥â¿âⱼJï½]",K:"[KkĶķǨǩᴷáµá¸°-ḵâªâ¦ââãã
ãããããã¢ã¦ãªã¸ã¾ããã-ãKï½]",L:"[LlĹ-ÅÇ-ÇˡᴸḶḷḺ-ḽâââ¡â
‰
¼â§ââãããã-ãããã¿ï¬ï¬ï¼¬ï½]",M:"[Mmá´¹áµá¸¾-á¹â â¢â³â
¯â
¿â¨ââã·-ã¹ãããããã-ã¨ã«ã³ã·ã¹ã½ã¿ããããã-ãããããï¼ï½]",N:"[NnÃñÅ-ÅÇ-ÇǸǹᴺá¹-á¹â¿âââ©ââãããã±ãµã»ããï¼®ï½]",O:"[OoºÃ-Ãò-öÅ-ÅÆ Æ¡ÇÇǪǫÈ-ÈȮȯᴼáµá»-á»ââ
ââ´âªââãµãããOï½]",P:"[Ppá´¾áµá¹-á¹ââ«â
âãã±ã¶ããã©-ã¬ã°ã´ãºãã-ãï¼°ï½]",Q:"[Qqââ¬ââ ãï¼±ï½]",R:"[RrÅ-ÅÈ-Èʳᴿᵣá¹-á¹á¹á¹â¨â-ââââ¡ãã´ã-ã¯ããï¼²ï½]",S:"[SsÅ-šſÈÈˢṠ-á¹£â¨ââ â®ââ¢ã§ã¨ã®-ã³ããï¬ï¼³ï½]",T:"[TtÅ¢-Å¥ÈÈáµáµá¹ª-á¹±áºâ¡â¢â¯ââ£ããããï¬
ï¬ï¼´ï½]",U:"[UuÃ-Ãù-üŨ-ųƯưÇÇÈ-Èáµáµáµ¤á¹²-ṷỤ-á»§ââ°ââ¤ã³ãºï¼µï½]",V:"[Vváµáµ¥á¹¼-ṿâ
£-â
§â
³-â
·â±ââ¥â±½ããµã´-ã¹ããï¼¶ï½]",W:"[WwŴŵʷáµáº-áºáºâ²ââ¦ãº-ã¿ãï¼·ï½]",X:"[XxË£áº-áºââ»â
¨-â
«â
¸-â
»â³ââ§ãXï½]",Y:"[YyÃýÿŶ-ŸȲȳʸáºáºáºá»²-ỹâ´ââ¨ãï¼¹ï½]",Z:"[ZzŹ-žDZ-dzᶻáº-áºâ¤â¨âµââ©ã-ãZï½]"};return function(n){var s;(n=e.mixin({},i,n)).node&&n.pattern&&(n.pattern=e.isArray(n.pattern)?n.pattern:[n.pattern],s=function(t,i,n,s){for(var a,r=[],l=0,c=t.length;l<c;l++){var u=e.escapeRegExChars(t[l]);s&&(u=u.replace(/\S/g,o)),r.push(u)}return a=n?"\\b("+r.join("|")+")\\b":"("+r.join("|")+")",i?new RegExp(a):new RegExp(a,"i")}(n.pattern,n.caseSensitive,n.wordsOnly,n.diacriticInsensitive),function t(e,i){for(var n,o=0;o<e.childNodes.length;o++)3===(n=e.childNodes[o]).nodeType?o+=i(n)?1:0:t(n,i)}(n.node,function(e){var i,o,a;return(i=s.exec(e.data))&&(a=t.createElement(n.tagName),n.className&&(a.className=n.className),(o=e.splitText(i.index)).splitText(i[0].length),a.appendChild(o.cloneNode(!0)),e.parentNode.replaceChild(a,o)),!!i}))};function o(t){return n[t.toUpperCase()]||t}}(window.document),a=function(){"use strict";var i;function n(i,n){var o;(i=i||{}).input||t.error("input is missing"),n.mixin(this),this.$hint=t(i.hint),this.$input
144=t(i.input),this.$menu=t(i.menu),o=this.$input.attr("id")||e.guid(),this.$menu.attr("id",o+"_listbox"),this.$hint.attr({"aria-hidden":!0}),this.$input.attr({"aria-owns":o+"_listbox",role:"combobox","aria-autocomplete":"list","aria-expanded":!1}),this.query=this.$input.val(),this.queryWhenFocused=this.hasFocus()?this.query:null,this.$overflowHelper=function(e){return t('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:e.css("font-family"),fontSize:e.css("font-size"),fontStyle:e.css("font-style"),fontVariant:e.css("font-variant"),fontWeight:e.css("font-weight"),wordSpacing:e.css("word-spacing"),letterSpacing:e.css("letter-spacing"),textIndent:e.css("text-indent"),textRendering:e.css("text-rendering"),textTransform:e.css("text-transform")}).insertAfter(e)}(this.$input),this._checkLanguageDirection(),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=e.noop),this.onSync("cursorchange",this._updateDescendent)}return i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},n.normalizeQuery=function(t){return e.toStr(t).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},e.mixin(n.prototype,o,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query,this.trigger("focused")},_onKeydown:function(t){var e=i[t.which||t.keyCode];this._managePreventDefault(e,t),e&&this._shouldTrigger(e,t)&&this.trigger(e+"Keyed",t)},_onInput:function(){this._setQuery(this.getInputValue()),this.clearHintIfInvalid(),this._checkLanguageDirection()},_managePreventDefault:function(t,e){var i;switch(t){case"up":case"down":i=!s(e);break;default:i=!1}i&&e.preventDefault()},_shouldTrigger:function(t,e){return"tab"!==t||!s(e)},_checkLanguageDirection:function(){var t=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==t&&(this.dir=t,this.$hint.attr("dir",t),this.trigger("langDirChanged",t))},_setQuery:function(t,e){var i,o,s,a;s=t,a=this.query,o=!!(i=n.normalizeQuery(s)===n.normalizeQuery(a))&&this.query.length!==t.length,this.query=t,e||i?!e&&o&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},_updateDescendent:function(t,e){this.$input.attr("aria-activedescendant",e)},bind:function(){var t,n,o,s,a=this;return t=e.bind(this._onBlur,this),n=e.bind(this._onFocus,this),o=e.bind(this._onKeydown,this),s=e.bind(this._onInput,this),this.$input.on("blur.tt",t).on("focus.tt",n).on("keydown.tt",o),!e.isMsie()||e.isMsie()>9?this.$input.on("input.tt",s):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(t){i[t.which||t.keyCode]||e.defer(e.bind(a._onInput,a,t))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(t,e){this.setInputValue(t),this._setQuery(t,e)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(t){this.$input.val(t),this.clearHintIfInvalid(),this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(t){this.$hint.val(t)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var t,e,i;i=(t=this.getInputValue())!==(e=this.getHint())&&0===e.indexOf(t),(""===t||!i||this.hasOverflow())&&this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var t=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=t},isCursorAtEnd:function(){var t,i,n;return t=this.$input.val().length,i=this.$input[0].selectionStart,e.isNumber(i)?i===t:!document.selection||((n=document.selection.createRange()).moveStart("character",-t),t===n.text.length)},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$overflowHelper.remove(),this.$hint=this.$input=this.$overflowHelper=t("<div>")},setAriaExpanded:function(t){this.$input.attr("aria-expanded",t)}}),n;function s(t){return t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}}(),r=function(){"use strict";var i,n;function a(i,o){var s,a,r,l;(i=i||{}).templates=i.templates||{},i.templates.notFound=i.templates.notFound||i.templates.empty,i.source||t.error("missing source"),i.node||t.error("missing node"),i.name&&(s=i.name,!/^[_a-zA-Z0-9-]+$/.test(s))&&t.error("invalid dataset name: "+i.name),o.mixin(this),this.highlight=!!i.highlight,this.name=e.toStr(i.name||n()),this.limit=i.limit||5,this.displayFn=(l=(l=i.display||i.displayKey)||e.stringify,e.isFunction(l)?l:function(t){return t[l]}),this.templates=(a=i.templates,r=this.displayFn,{notFound:a.notFound&&e.templatify(a.notFound),pending:a.pending&&e.templatify(a.pending),header:a.header&&e.templatify(a.header),footer:a.footer&&e.templatify(a.footer),suggestion:a.suggestion?function(i){var n=a.suggestion;return t(n(i)).attr("id",e.guid())}:function(i){return t('<div role="option">').attr("id",e.guid()).text(r(i))}}),this.source=i.source.__ttAdapter?i.source.__ttAdapter():i.source,this.async=e.isUndefined(i.async)?this.source.length>2:!!i.async,this._resetLastSuggestion(),this.$el=t(i.node).attr("role","presentation").addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}return i={dataset:"tt-selectable-dataset",val:"tt-selectable-display",obj:"tt-selectable-object"},n=e.getIdGenerator(),a.extractData=function(e){var n=t(e);return n.data(i.obj)?{dataset:n.data(i.dataset)||"",val:n.data(i.val)||"",obj:n.data(i.obj)||null}:null}
vendor: 4,173 bytes, line 144
144,e.mixin(a.prototype,o,{_overwrite:function(t,e){(e=e||[]).length?this._renderSuggestions(t,e):this.async&&this.templates.pending?this._renderPending(t):!this.async&&this.templates.notFound?this._renderNotFound(t):this._empty(),this.trigger("rendered",e,!1,this.name)},_append:function(t,e){(e=e||[]).length&&this.$lastSuggestion.length?this._appendSuggestions(t,e):e.length?this._renderSuggestions(t,e):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(t),this.trigger("rendered",e,!0,this.name)},_renderSuggestions:function(t,e){var i;i=this._getSuggestionsFragment(t,e),this.$lastSuggestion=i.children().last(),this.$el.html(i).prepend(this._getHeader(t,e)).append(this._getFooter(t,e))},_appendSuggestions:function(t,e){var i,n;n=(i=this._getSuggestionsFragment(t,e)).children().last(),this.$lastSuggestion.after(i),this.$lastSuggestion=n},_renderPending:function(t){var e=this.templates.pending;this._resetLastSuggestion(),e&&this.$el.html(e({query:t,dataset:this.name}))},_renderNotFound:function(t){var e=this.templates.notFound;this._resetLastSuggestion(),e&&this.$el.html(e({query:t,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(n,o){var a,r=this;return a=document.createDocumentFragment(),e.each(o,function(e){var o,s;s=r._injectQuery(n,e),o=t(r.templates.suggestion(s)).data(i.dataset,r.name).data(i.obj,e).data(i.val,r.displayFn(e)).addClass(r.classes.suggestion+" "+r.classes.selectable),a.appendChild(o[0])}),this.highlight&&s({className:this.classes.highlight,node:a,pattern:n}),t(a)},_getFooter:function(t,e){return this.templates.footer?this.templates.footer({query:t,suggestions:e,dataset:this.name}):null},_getHeader:function(t,e){return this.templates.header?this.templates.header({query:t,suggestions:e,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=t()},_injectQuery:function(t,i){return e.isObject(i)?e.mixin({_query:t},i):i},update:function(e){var i=this,n=!1,o=!1,s=0;function a(t){o||(o=!0,t=(t||[]).slice(0,i.limit),s=t.length,i._overwrite(e,t),s<i.limit&&i.async&&i.trigger("asyncRequested",e,i.name))}this.cancel(),this.cancel=function(){n=!0,i.cancel=t.noop,i.async&&i.trigger("asyncCanceled",e,i.name)},this.source(e,a,function(o){if(o=o||[],!n&&s<i.limit){i.cancel=t.noop;var a=Math.abs(s-i.limit);s+=a,i._append(e,o.slice(0,a)),i.async&&i.trigger("asyncReceived",e,i.name)}}),!o&&a([])},cancel:t.noop,clear:function(){this._empty(),this.cancel(),this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=t("<div>")}}),a}(),l=function(){"use strict";function i(i,n){var o=this;(i=i||{}).node||t.error("node is required"),n.mixin(this),this.$node=t(i.node),this.query=null,this.datasets=e.map(i.datasets,function(e){var i=o.$node.find(e.node).first();return e.node=i.length?i:t("<div>").appendTo(o.$node),new r(e,n)})}return e.mixin(i.prototype,o,{_onSelectableClick:function(e){this.trigger("selectableClicked",t(e.currentTarget))},_onRendered:function(t,e,i,n){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",e,i,n)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){return e.every(this.datasets,e.bind(function(t){var e=t.isEmpty();return this.$node.attr("aria-expanded",!e),e},this))},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var t=this.getActiveSelectable();t&&t.removeClass(this.classes.cursor)},_ensureVisible:function(t){var e,i,n,o;i=(e=t.position().top)+t.outerHeight(!0),n=this.$node.scrollTop(),o=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10),e<0?this.$node.scrollTop(n+e):o<i&&this.$node.scrollTop(n+(i-o))},bind:function(){var i,n=this;return i=e.bind(this._onSelectableClick,this),this.$node.on("click.tt",this.selectors.selectable,i),this.$node.on("mouseover",this.selectors.selectable,function(){n.setCursor(t(this))}
144),this.$node.on("mouseleave",function(){n._removeCursor()}),e.each(this.datasets,function(t){t.onSync("asyncRequested",n._propagate,n).onSync("asyncCanceled",n._propagate,n).onSync("asyncReceived",n._propagate,n).onSync("rendered",n._onRendered,n).onSync("cleared",n._onCleared,n)}),this},isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.scrollTop(0),this.$node.addClass(this.classes.open)},close:function(){this.$node.attr("aria-expanded",!1),this.$node.removeClass(this.classes.open),this._removeCursor()},setLanguageDirection:function(t){this.$node.attr("dir",t)},selectableRelativeToCursor:function(t){var e,i,n;return i=this.getActiveSelectable(),e=this._getSelectables(),-1===(n=(n=((n=(i?e.index(i):-1)+t)+1)%(e.length+1)-1)<-1?e.length-1:n)?null:e.eq(n)},setCursor:function(t){this._removeCursor(),(t=t&&t.first())&&(t.addClass(this.classes.cursor),this._ensureVisible(t))},getSelectableData:function(t){return t&&t.length?r.extractData(t):null},getActiveSelectable:function(){var t=this._getSelectables().filter(this.selectors.cursor).first();return t.length?t:null},getTopSelectable:function(){var t=this._getSelectables().first();return t.length?t:null},update:function(t){var i=t!==this.query;return i&&(this.query=t,e.each(this.datasets,function(e){e.update(t)})),i},empty:function(){e.each(this.datasets,function(t){t.clear()}),this.query=null,this.$node.addClass(this.classes.empty)},destroy:function(){this.$node.off(".tt"),this.$node=t("<div>"),e.each(this.datasets,function(t){t.destroy()})}}),i}(),c=function(){"use strict";function i(i){this.$el=t("<span></span>",{role:"status","aria-live":"polite"}).css({position:"absolute",padding:"0",border:"0",height:"1px",width:"1px","margin-bottom":"-1px","margin-right":"-1px",overflow:"hidden",clip:"rect(0 0 0 0)","white-space":"nowrap"}),i.$input.after(this.$el),e.each(i.menu.datasets,e.bind(function(t){t.onSync&&(t.onSync("rendered",e.bind(this.update,this)),t.onSync("cleared",e.bind(this.cleared,this)))},this))}return e.mixin(i.prototype,{update:function(t,e){var i,n=e.length;i=1===n?{result:"result",is:"is"}:{result:"results",is:"are"},this.$el.text(n+" "+i.result+" "+i.is+" available, use up and down arrow keys to navigate.")},cleared:function(){this.$el.text("")}}),i}(),u=function(){"use strict";var t=l.prototype;function i(){l.apply(this,[].slice.call(arguments,0))}return e.mixin(i.prototype,l.prototype,{open:function(){return!this._allDatasetsEmpty()&&this._show(),t.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),t.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),t._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),t._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(e){return this.$node.css("ltr"===e?this.css.ltr:this.css.rtl),t.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),i}(),h=function(){"use strict";function i(i,o){var s,a,r,l,c,u,h,d,p,f,m;(i=i||{}).input||t.error("missing input"),i.menu||t.error("missing menu"),i.eventBus||t.error("missing event bus"),o.mixin(this),this.eventBus=i.eventBus,this.minLength=e.isNumber(i.minLength)?i.minLength:1,this.input=i.input,this.menu=i.menu,this.enabled=!0,this.autoselect=!!i.autoselect,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),s=n(this,"activate","open","_onFocused"),a=n(this,"deactivate","_onBlurred"),r=n(this,"isActive","isOpen","_onEnterKeyed"),l=n(this,"isActive","
144isOpen","_onTabKeyed"),c=n(this,"isActive","_onEscKeyed"),u=n(this,"isActive","open","_onUpKeyed"),h=n(this,"isActive","open","_onDownKeyed"),d=n(this,"isActive","isOpen","_onLeftKeyed"),p=n(this,"isActive","isOpen","_onRightKeyed"),f=n(this,"_openIfActive","_onQueryChanged"),m=n(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",s,this).onSync("blurred",a,this).onSync("enterKeyed",r,this).onSync("tabKeyed",l,this).onSync("escKeyed",c,this).onSync("upKeyed",u,this).onSync("downKeyed",h,this).onSync("leftKeyed",d,this).onSync("rightKeyed",p,this).onSync("queryChanged",f,this).onSync("whitespaceChanged",m,this).onSync("langDirChanged",this._onLangDirChanged,this)}return e.mixin(i.prototype,{_hacks:function(){var i,n;i=this.input.$input||t("<div>"),n=this.menu.$node||t("<div>"),i.on("blur.tt",function(t){var o,s,a;o=document.activeElement,s=n.is(o),a=n.has(o).length>0,e.isMsie()&&(s||a)&&(t.preventDefault(),t.stopImmediatePropagation(),e.defer(function(){i.focus()}))}),n.on("mousedown.tt",function(t){t.preventDefault()})},_onSelectableClicked:function(t,e){this.select(e)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(t,e,i,n){if(this._updateHint(),this.autoselect){var o=this.selectors.cursor.substr(1);this.menu.$node.find(this.selectors.suggestion).first().addClass(o)}this.eventBus.trigger("render",e,i,n)},_onAsyncRequested:function(t,e,i){this.eventBus.trigger("asyncrequest",i,e)},_onAsyncCanceled:function(t,e,i){this.eventBus.trigger("asynccancel",i,e)},_onAsyncReceived:function(t,e,i){this.eventBus.trigger("asyncreceive",i,e)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(t,e){var i;(i=this.menu.getActiveSelectable())?this.select(i)&&(e.preventDefault(),e.stopPropagation()):this.autoselect&&this.select(this.menu.getTopSelectable())&&(e.preventDefault(),e.stopPropagation())},_onTabKeyed:function(t,e){var i;(i=this.menu.getActiveSelectable())?this.select(i)&&e.preventDefault():this.autoselect&&(i=this.menu.getTopSelectable())&&this.autocomplete(i)&&e.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){"rtl"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getActiveSelectable()||this.menu.getTopSelectable())},_onRightKeyed:function(){"ltr"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getActiveSelectable()||this.menu.getTopSelectable())},_onQueryChanged:function(t,e){this._minLengthMet(e)?this.menu.update(e):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(t,e){this.dir!==e&&(this.dir=e,this.menu.setLanguageDirection(e))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(t){return(t=e.isString(t)?t:this.input.getQuery()||"").length>=this.minLength},_updateHint:function(){var t,i,n,o,s,r;t=this.menu.getTopSelectable(),i=this.menu.getSelectableData(t),n=this.input.getInputValue(),!i||e.isBlankString(n)||this.input.hasOverflow()?this.input.clearHint():(o=a.normalizeQuery(n),s=e.escapeRegExChars(o),(r=new RegExp("^(?:"+s+")(.+$)","i").exec(i.val))&&this.input.setHint(n+r[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return!!this.isActive()||!(!this.isEnabled()||this.eventBus.before("active"))&&(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return!this.isActive()||!this.eventBus.before("idle")&&(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0)},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.input.setAriaExpanded(!0),this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.input.setAriaExpanded(!1),this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(t){this.input.setQuery(e.toStr(t))},getVal:function(){return this.input.getQuery()},select:function(t){var e=this.menu.getSelectableData(t);return!(!e||this.eventBus.before("select",e.obj,e.dataset)||(this.input.setQuery(e.val,!0),this.eventBus.trigger("select",e.obj,e.dataset),this.close(),0))},autocomplete:function(t){var e,i;return e=this.input.getQuery(),!(!(i=this.menu.getSelectableData(t))||e===i.val||this.eventBus.before("autocomplete",i.obj,i.dataset)||(this.input.setQuery(i.val),this.eventBus.trigger("autocomplete",i.obj,i.dataset),0))},moveCursor:function(t){var e,i,n,o,s,a;return e=this.input.getQuery(),i=this.menu.selectableRelativeToCursor(t),o=(n=this.menu.getSelectableData(i))?n.obj:null,s=n?n.dataset:null,a=i?i.attr("id"):null,this.input.trigger("cursorchange",a),!(this._minLengthMet()&&this.menu.update(e)||this.eventBus.before("cursorchange",o,s)||(this.menu.setCursor(i),n?"string"==typeof n.val&&this.input.setInputValue(n.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",o,s),0))},destroy:function(){this.input.destroy(),this.menu.destroy()}}),i;
144function n(t){var i=[].slice.call(arguments,1);return function(){var n=[].slice.call(arguments);e.each(i,function(e){return t[e].apply(t,n)})}}}();!function(){"use strict";var o,s,r;function d(e,i){e.each(function(){var e,n=t(this);(e=n.data(s.typeahead))&&i(e,n)})}function p(i){var n;return(n=e.isJQuery(i)||e.isElement(i)?t(i).first():[]).length?n:null}o=t.fn.typeahead,s={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},r={initialize:function(o,r){var d;return r=e.isArray(r)?r:[].slice.call(arguments,1),d=i((o=o||{}).classNames),this.each(function(){var i,f,m,g,v,b,_,y,w,C,x;e.each(r,function(t){t.highlight=!!o.highlight}),i=t(this),f=t(d.html.wrapper),m=p(o.hint),g=p(o.menu),v=!1!==o.hint&&!m,b=!1!==o.menu&&!g,v&&(m=function(t,e){return t.clone().addClass(e.classes.hint).removeData().css(e.css.hint).css((i=t,{backgroundAttachment:i.css("background-attachment"),backgroundClip:i.css("background-clip"),backgroundColor:i.css("background-color"),backgroundImage:i.css("background-image"),backgroundOrigin:i.css("background-origin"),backgroundPosition:i.css("background-position"),backgroundRepeat:i.css("background-repeat"),backgroundSize:i.css("background-size")})).prop({readonly:!0,required:!1}).removeAttr("id name placeholder").removeClass("required").attr({spellcheck:"false",tabindex:-1});var i}(i,d)),b&&(g=t(d.html.menu).css(d.css.menu)),m&&m.val(""),i=function(t,e){t.data(s.attrs,{dir:t.attr("dir"),autocomplete:t.attr("autocomplete"),spellcheck:t.attr("spellcheck"),style:t.attr("style")}),t.addClass(e.classes.input).attr({spellcheck:!1});try{!t.attr("dir")&&t.attr("dir","auto")}catch(t){}return t}(i,d),(v||b)&&(f.css(d.css.wrapper),i.css(v?d.css.input:d.css.inputWithNoHint),i.wrap(f).parent().prepend(v?m:null).append(b?g:null)),x=b?u:l,_=new n({el:i}),y=new a({hint:m,input:i,menu:g},d),w=new x({node:g,datasets:r},d),new c({$input:i,menu:w}),C=new h({input:y,menu:w,eventBus:_,minLength:o.minLength,autoselect:o.autoselect},d),i.data(s.www,d),i.data(s.typeahead,C)})},isEnabled:function(){var t;return d(this.first(),function(e){t=e.isEnabled()}),t},enable:function(){return d(this,function(t){t.enable()}),this},disable:function(){return d(this,function(t){t.disable()}),this},isActive:function(){var t;return d(this.first(),function(e){t=e.isActive()}),t},activate:function(){return d(this,function(t){t.activate()}),this},deactivate:function(){return d(this,function(t){t.deactivate()}),this},isOpen:function(){var t;return d(this.first(),function(e){t=e.isOpen()}),t},open:function(){return d(this,function(t){t.open()}),this},close:function(){return d(this,function(t){t.close()}),this},select:function(e){var i=!1,n=t(e);return d(this.first(),function(t){i=t.select(n)}),i},autocomplete:function(e){var i=!1,n=t(e);return d(this.first(),function(t){i=t.autocomplete(n)}),i},moveCursor:function(t){var e=!1;return d(this.first(),function(i){e=i.moveCursor(t)}),e},val:function(t){var i;return arguments.length?(d(this,function(i){i.setVal(e.toStr(t))}),this):(d(this.first(),function(t){i=t.getVal()}),i)},destroy:function(){return d(this,function(t,i){!function(t){var i,n;i=t.data(s.www),n=t.parent().filter(i.selectors.wrapper),e.each(t.data(s.attrs),function(i,n){e.isUndefined(i)?t.removeAttr(n):t.attr(n,i)}),t.removeData(s.typeahead).removeData(s.www).removeData(s.attr).removeClass(i.classes.input),n.length&&(t.detach().insertAfter(n),n.remove())}(i),t.destroy()}),this}},t.fn.typeahead=function(t){return r[t]?r[t].apply(this,[].slice.call(arguments,1)):r.initialize.apply(this,arguments)},t.fn.typeahead.noConflict=function(){return t.fn.typeahead=o,this}}()}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).KeenSlider=e()}(this,function(){"use strict";function t(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function e(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function i(i){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};
144n%2?e(Object(o),!0).forEach(function(e){t(i,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(o,t))})}return i}function n(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function s(t){return Array.prototype.slice.call(t)}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return"function"==typeof t?s(t()):"string"==typeof t?s(e.querySelectorAll(t)):t instanceof HTMLElement!=0?[t]:t instanceof NodeList!=0?t:[]}function r(t,e,i){return Math.min(Math.max(t,e),i)}return Math.sign||(Math.sign=function(t){return(t>0)-(t<0)||+t}),function(t){var e,o,s,l,c,u,h,d,p,f,m,g,v,b,_,y,w,C,x,k,$,S,P,T,D,I,M,E,A,L,O,H,B,N,z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},F="data-keen-slider-moves",R="data-keen-slider-v",W=[],j=null,q=!1,U=!1,V=0,Y=[];function K(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t.addEventListener(e,i,n),W.push([t,e,i,n])}function X(t){if(C&&x===Z(t)&&st()){var i=tt(t).x;if(!et(t)&&T)return G(t);T&&(St(),k=i,T=!1),t.cancelable&&t.preventDefault();var n=k-i;D+=Math.abs(n),!I&&D>5&&(I=!0,e.setAttribute(F,!0)),wt(P(n,Tt)*(rt()?-1:1),t.timeStamp),k=i}}function Q(t){C||!st()||function(t){return t.hasAttribute(y.preventEvent)}(t.target)||(C=!0,T=!0,x=Z(t),I=!1,D=0,et(t),ht(),w=f,k=tt(t).x,wt(0,t.timeStamp),nt("dragStart"))}function G(t){C&&x===Z(t,!0)&&st()&&(e.removeAttribute(F),C=!1,function(){switch(nt("beforeChange"),y.mode){case"free":!function(){if(0===v)return!(!Ct(0)||at())&&pt(f);var t=y.friction/Math.pow(Math.abs(v),-.5);ft(Math.pow(v,2)/t*Math.sign(v),6*Math.abs(v/t),function(t){return 1-Math.pow(1-t,5)})}();break;case"free-snap":!function(){if(0===v)return pt(f);var t=y.friction/Math.pow(Math.abs(v),-.5),e=Math.pow(v,2)/t*Math.sign(v),i=6*Math.abs(v/t),n=(V+e)/(u/h);ft((-1===m?Math.floor(n):Math.ceil(n))*(u/h)-V,i,function(t){return 1-Math.pow(1-t,5)})}();break;default:pt((1===h&&0!==m?w:f)+Math.sign(m))}}(),nt("dragEnd"))}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?function(t){return t.changedTouches}(t):J(t);return e?e[0]?e[0].identifier:"error":"default"}function J(t){return t.targetTouches}function tt(t){var e=J(t);return{x:ct()?e?e[0].screenY:t.pageY:e?e[0].screenX:t.pageX,timestamp:t.timeStamp}}function et(t){var e=J(t);if(!e)return!0;var i=e[0],n=ct()?i.clientY:i.clientX,o=ct()?i.clientX:i.clientY,s=void 0!==$&&void 0!==S&&Math.abs(S-o)<=Math.abs($-n);return $=n,S=o,s}function it(t){st()&&C&&t.preventDefault()}function nt(t){y[t]&&y[t](Tt)}function ot(){return y.centered}function st(){return void 0!==o?o:y.controls}function at(){return y.loop&&s>1}function rt(){return y.rtl}function lt(){return!y.loop&&y.rubberband}function ct(){return!!y.vertical}function ut(){M=window.requestAnimationFrame(dt)}function ht(){M&&(window.cancelAnimationFrame(M),M=null),E=null}function dt(t){E||(E=t);var e=t-E,i=function(t){return A*O(t/L)-H}(e);if(e>=L)return wt(A-H,!1),N?N():void nt("afterChange");var n=Ct(i);if(0===n||at()||lt()||B){if(0!==n&<()&&!B)return function(){if(ht(),0===v)return pt(f,!0);var t=.04/Math.pow(Math.abs(v),-.5),e=Math.pow(v,2)/t*Math.sign(v),i=function(t){return--t*t*t+1},n=v;ft(e,3*Math.abs(n/t),i,!0,function(){ft($t(kt(f)),500,i,!0)})}();H+=i,wt(i,!1),ut()}else wt(i-n,!1)}function pt(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y.duration;ft($t(t=kt(t,arguments.length>3&&void 0!==arguments[3]&&arguments[3],arguments.length>4&&void 0!==arguments[4]&&arguments[4])),i,function(t){return 1+--t*t*t*t*t},e)}function ft(t,e,i,n,o){ht(),A=t,H=0,L=e,O=i,B=n,N=o,E=null,ut()}function mt(i){var n=a(t);n.length&&(e=n[0],bt(i),K(window,"orientationchange",_t),K(window,"resize",function(){return bt()}),K(e,"dragstart",function(t){st()&&t.preventDefault()}),K(e,"mousedown",Q),K(y.cancelOnLeave?e:window,"mousemove",X),y.cancelOnLeave&&K(e,"mouseleave",G),K(window,"mouseup",G),K(e,"touchstart",Q,{passive:!0}),K(e,"touchmove",X,{passive:!1}),K(e,"touchend",G,{passive:!0}),K(e,"touchcancel",G,{passive:!0}),K(window,"wheel",it,{passive:!1}),nt("mounted"))}function gt(){var t,e=z.breakpoints||[];for(var n in e)window.matchMedia(n).matches&&(t=n);if(t===j)return!0;var o=(j=t)?e[j]:z;o.breakpoints&&j&&delete o.breakpoints,y=i(i(i({},Pt),z),o),q=!0,p=null,nt("optionsChanged"),vt()}function vt(t,e){t&&(z=t),e&&(j=null),yt(),mt(e)}function bt(t){var i=window.innerWidth;if(gt()&&(i!==p||t)){p=i;var n=y.slides;"number"==typeof n?(c=null,s=n):(c=a(n,e),s=c?c.length:0);var o=y.dragSpeed;P="function"==typeof o?o:function(t){return t*o},u=ct()?e.offsetHeight:e.offsetWidth,h=function(t){return"function"==typeof t?t():r(t,1,Math.max(at()?s-1:s,1))}(y.slidesPerView),d=r(y.spacing,0,u/(h-1)-1),u+=d,l=ot()?(u/2-u/h/2)/u:0,c&&c.forEac
144h(function(t){var e="calc(".concat(100/h,"% - ").concat(d/h*(h-1),"px)");ct()?(t.style["min-height"]=e,t.style["max-height"]=e):(t.style["min-width"]=e,t.style["max-width"]=e)});var m=!U||q&&y.resetSlide?y.initial:f;(function(t){nt("beforeChange"),wt($t(t),!1),nt("afterChange")})(at()?m:xt(m)),ct()&&e.setAttribute(R,!0),q=!1}}function _t(t){bt(),setTimeout(bt,500),setTimeout(bt,2e3)}function yt(){W.forEach(function(t){t[0].removeEventListener(t[1],t[2],t[3])}),W=[],function(){if(c){var t=["transform","-webkit-transform"];t=[].concat(n(t),ct?["min-height","max-height"]:["min-width","max-width"]),c.forEach(function(e){t.forEach(function(t){e.style.removeProperty(t)})})}}(),e&&e.hasAttribute(R)&&e.removeAttribute(R),nt("destroyed")}function wt(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(function(t,e){clearTimeout(g);var i=Math.sign(t);if(i!==m&&St(),m=i,Y.push({distance:t,time:e}),g=setTimeout(function(){Y=[],v=0},50),(Y=Y.slice(-6)).length<=1||0===m)return v=0;var n=Y.slice(0,-1).reduce(function(t,e){return t+e.distance},0),o=Y[Y.length-1].time,s=Y[0].time;v=r(n/(o-s),-10,10)})(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now()),e&&(t=function(t){if(at())return t;var e,i=Ct(t);return lt()?0===i?t:t*(e=i/u,(1-Math.abs(e))*(1-Math.abs(e))):t-i}(t)),V+=t,function(){_=at()?V%(u*s/h)/(u*s/h):V/(u*s/h),function(){var t=Math.round(V/(u/h));t!==f&&(!at()&&(t<0||t>s-1)||(f=t,nt("slideChanged")))}();for(var t=[],e=0;e<s;e++){var i=(1/s*e-(_<0&&at()?_+1:_))*s/h+l;at()&&(i+=i>(s-1)/h?-s/h:i<-s/h+1?s/h:0);var n=1/h,o=i+n,a=o<n?o/n:o>1?1-(o-1)*h/1:1;t.push({portion:a<0||a>1?0:a,distance:rt()?-1*i+1-n:i})}b=t,c&&c.forEach(function(t,e){var i=b[e].distance*u-e*(u/h-d/h-d/h*(h-1)),n=ct()?0:i,o=ct()?i:0,s="translate3d(".concat(n,"px, ").concat(o,"px, 0)");t.style.transform=s,t.style["-webkit-transform"]=s}),nt("move")}()}function Ct(t){var e=u*(s-1*(ot()?1:h))/h,i=V+t;return i>e?i-e:i<0?i:0}function xt(t){return r(t,0,s-1-(ot()?0:h-1))}function kt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return at()?e?function(t,e){var i=(f%s+s)%s,n=i<(t=(t%s+s)%s)?-i-s+t:-(i-t),o=i>t?s-i+t:t-i,a=e?Math.abs(n)<=o?n:o:t<i?n:o;return f+a}(t,i):t:xt(t)}function $t(t){return-(-u/h*t+V)}function St(){Y=[]}var Pt={centered:!1,breakpoints:null,controls:!0,dragSpeed:1,friction:.0025,loop:!1,initial:0,duration:500,preventEvent:"data-keen-slider-pe",slides:".keen-slider__slide",vertical:!1,resetSlide:!1,slidesPerView:1,spacing:0,mode:"snap",rtl:!1,rubberband:!0,cancelOnLeave:!0},Tt={controls:function(t){o=t},destroy:yt,refresh:function(t){vt(t,!0)},next:function(){pt(f+1,!0)},prev:function(){pt(f-1,!0)},moveToSlide:function(t,e){pt(t,!0,e)},moveToSlideRelative:function(t){pt(t,!0,arguments.length>2?arguments[2]:void 0,!0,arguments.length>1&&void 0!==arguments[1]&&arguments[1])},resize:function(){bt(!0)},details:function(){return function(){var t=Math.abs(_),e=V<0?1-t:t;return{direction:m,progressTrack:e,progressSlides:e*s/(s-1),positions:b,position:V,speed:v,relativeSlide:(f%s+s)%s,absoluteSlide:f,size:s,slidesPerView:h,widthOrHeight:u}}()},options:function(){var t=i({},y);return delete t.breakpoints,t}};return gt(),U=!0,nt("created"),Tt}}),function(t,e,i){"use strict";function n(e,L,O){function H(i){var n=It.length;if(Ct.old=t.extend({},Ct),yt=vt?0:bt[mt.horizontal?"width":"height"](),$t=xt[mt.horizontal?"width":"height"](),wt=vt?e:_t[mt.horizontal?"outerWidth":"outerHeight"](),It.length=0,Ct.start=0,Ct.end=M(wt-yt,0),Rt){Et.length,Mt=_t.children(mt.itemSelector),Et.length=0;var o,s=c(_t,mt.horizontal?"paddingLeft":"paddingTop"),a=c(_t,mt.horizontal?"paddingRight":"paddingBottom"),r="border-box"===t(Mt).css("boxSizing"),l="none"!==Mt.css("float"),h=0,d=Mt.length-1;wt=0,Mt.each(function(e,i){var n=t(i),r=i.getBoundingClientRect(),u=I(mt.horizontal?r.width||r.right-r.left:r.height||r.bottom-r.top),p=c(n,mt.horizontal?"marginLeft":"marginTop"),f=c(n,mt.horizontal?"marginRight":"marginBottom"),m=u+p+f,g=!p||!f,v={};v.el=i,v.size=g?u:m,v.half=v.size/2,v.start=wt+(g?p:0),v.center=v.start-I(yt/2-v.size/2),v.end=v.start-yt+v.size,e||(wt+=s),wt+=m,mt.horizontal||l||f&&p&&e>0&&(wt-=E(p,f)),e===d&&(v.end+=a,wt+=a,h=g?f:0),Et.push(v),o=v}),_t[0].style[mt.horizontal?"width":"height"]=(r?wt:wt-s-a)+"px",wt-=h,Et.length?(Ct.start=Et[0][zt?"center":"start"],Ct.end=zt?o.center:wt>yt?o.end:Ct.start):Ct.start=Ct.end=0}if(Ct.center=I(Ct.end/2+Ct.start/2),V(),kt.length&&$t>0&&(mt.dynamicHandle?(St=u(St=Ct.start===Ct.end?$t:I($t*yt/wt),mt.minHandleSize,$t),kt[0].style[mt.horizontal?"width":"height"]=St+"px"):St=kt[mt.horizontal?"outerWidth":"outerHeight"](),Pt.end=$t-St,ie||z()),!vt&&yt>0){var p=Ct.start,f="";if(Rt)t.each(Et,function(t,e){zt?It.push(e.center):e.start+e.size>p&&p<=Ct.end&&(p=e.start,It.push(p),(p+=yt)>Ct.end&&p<Ct.end+yt&&It.push(Ct.end))});else for(;p-yt<Ct.end;)It.push(p),p+=yt;if(Tt[0]&&n!==It.length){for(var m=0;m<It.length;m++)f+=mt.pageBuilder.call(gt,m);(Dt=Tt.html(f).children()).eq(At.activePage).addClass(mt.activeClass)}}if(At.slideeSize=wt,At.frameSize=yt,At.sbSize=$t,At.handleSize=St,Rt){i&&null!=mt.startAt&&(q(mt.startAt),gt[Ft?"toCenter":"toStart"](mt.startAt));var g=Et[At.activeItem];
144B(Ft&&g?g.center:u(Ct.dest,Ct.start,Ct.end))}else i?null!=mt.startAt&&B(mt.startAt,1):B(u(Ct.dest,Ct.start,Ct.end));dt("load")}function B(t,e,i){if(Rt&&te.released&&!i){var n=U(t),o=t>Ct.start&&t<Ct.end;Ft?(o&&(t=Et[n.centerItem].center),zt&&mt.activateMiddle&&q(n.centerItem)):o&&(t=Et[n.firstItem].start)}te.init&&te.slidee&&mt.elasticBounds?t>Ct.end?t=Ct.end+(t-Ct.end)/6:t<Ct.start&&(t=Ct.start+(t-Ct.start)/6):t=u(t,Ct.start,Ct.end),Zt.start=+new Date,Zt.time=0,Zt.from=Ct.cur,Zt.to=t,Zt.delta=t-Ct.cur,Zt.tweesing=te.tweese||te.init&&!te.slidee,Zt.immediate=!Zt.tweesing&&(e||te.init&&te.slidee||!mt.speed),te.tweese=0,t!==Ct.dest&&(Ct.dest=t,dt("change"),ie||N()),Q(),V(),Y(),Dt[0]&&Gt.page!==At.activePage&&(Gt.page=At.activePage,Dt.removeClass(mt.activeClass).eq(At.activePage).addClass(mt.activeClass),dt("activePage",Gt.page))}function N(){if(gt.initialized){if(!ie)return ie=v(N),void(te.released&&dt("moveStart"));Zt.immediate?Ct.cur=Zt.to:Zt.tweesing?(Zt.tweeseDelta=Zt.to-Ct.cur,P(Zt.tweeseDelta)<.1?Ct.cur=Zt.to:Ct.cur+=Zt.tweeseDelta*(te.released?mt.swingSpeed:mt.syncSpeed)):(Zt.time=E(+new Date-Zt.start,mt.speed),Ct.cur=Zt.from+Zt.delta*t.easing[mt.easing](Zt.time/mt.speed,Zt.time,0,1,mt.speed)),Zt.to===Ct.cur?(Ct.cur=Zt.to,te.tweese=ie=0):ie=v(N),dt("move"),vt||(d?_t[0].style[d]=p+(mt.horizontal?"translateX":"translateY")+"("+-Ct.cur+"px)":_t[0].style[mt.horizontal?"left":"top"]=-I(Ct.cur)+"px"),!ie&&te.released&&dt("moveEnd"),z()}}function z(){kt.length&&(Pt.cur=Ct.start===Ct.end?0:((te.init&&!te.slidee?Ct.dest:Ct.cur)-Ct.start)/(Ct.end-Ct.start)*Pt.end,Pt.cur=u(I(Pt.cur),Pt.start,Pt.end),Gt.hPos!==Pt.cur&&(Gt.hPos=Pt.cur,d?kt[0].style[d]=p+(mt.horizontal?"translateX":"translateY")+"("+Pt.cur+"px)":kt[0].style[mt.horizontal?"left":"top"]=Pt.cur+"px"))}function F(){Jt.speed&&Ct.cur!==(Jt.speed>0?Ct.end:Ct.start)||gt.stop(),se=te.init?v(F):0,Jt.now=+new Date,Jt.pos=Ct.cur+(Jt.now-Jt.lastTime)/1e3*Jt.speed,B(te.init?Jt.pos:I(Jt.pos)),te.init||Ct.cur!==Ct.dest||dt("moveEnd"),Jt.lastTime=Jt.now}function R(t,e,n){if("boolean"===o(e)&&(n=e,e=i),e===i)B(Ct[t],n);else{if(Ft&&"center"!==t)return;var s=gt.getPos(e);s&&B(s[t],n,!Ft)}}function W(t){return null!=t?l(t)?t>=0&&t<Et.length?t:-1:Mt.index(t):-1}function j(t){return W(l(t)&&0>t?t+Et.length:t)}function q(t,e){var i=W(t);return!(!Rt||0>i)&&((Gt.active!==i||e)&&(Mt.eq(At.activeItem).removeClass(mt.activeClass),Mt.eq(i).addClass(mt.activeClass),Gt.active=At.activeItem=i,Y(),dt("active",i)),i)}function U(t){t=u(l(t)?t:Ct.dest,Ct.start,Ct.end);var e={},i=zt?0:yt/2;if(!vt)for(var n=0,o=It.length;o>n;n++){if(t>=Ct.end||n===It.length-1){e.activePage=It.length-1;break}if(t<=It[n]+i){e.activePage=n;break}}if(Rt){for(var s=!1,a=!1,r=!1,c=0,h=Et.length;h>c;c++)if(!1===s&&t<=Et[c].start+Et[c].half&&(s=c),!1===r&&t<=Et[c].center+Et[c].half&&(r=c),c===h-1||t<=Et[c].end+Et[c].half){a=c;break}e.firstItem=l(s)?s:0,e.centerItem=l(r)?r:e.firstItem,e.lastItem=l(a)?a:e.centerItem}return e}function V(e){t.extend(At,U(e))}function Y(){var t=Ct.dest<=Ct.start,e=Ct.dest>=Ct.end,i=(t?1:0)|(e?2:0);if(Gt.slideePosState!==i&&(Gt.slideePosState=i,Kt.is("button,input")&&Kt.prop("disabled",t),Xt.is("button,input")&&Xt.prop("disabled",e),Kt.add(Ut)[t?"addClass":"removeClass"](mt.disabledClass),Xt.add(qt)[e?"addClass":"removeClass"](mt.disabledClass)),Gt.fwdbwdState!==i&&te.released&&(Gt.fwdbwdState=i,Ut.is("button,input")&&Ut.prop("disabled",t),qt.is("button,input")&&qt.prop("disabled",e)),Rt&&null!=At.activeItem){var n=0===At.activeItem,o=At.activeItem>=Et.length-1,s=(n?1:0)|(o?2:0);Gt.itemsButtonState!==s&&(Gt.itemsButtonState=s,Vt.is("button,input")&&Vt.prop("disabled",n),Yt.is("button,input")&&Yt.prop("disabled",o),Vt[n?"addClass":"removeClass"](mt.disabledClass),Yt[o?"addClass":"removeClass"](mt.disabledClass))}}function K(t,e,i){if(t=j(t),e=j(e),t>-1&&e>-1&&t!==e&&(!i||e!==t-1)&&(i||e!==t+1)){Mt.eq(t)[i?"insertAfter":"insertBefore"](Et[e].el);var n=e>t?t:i?e:e-1,o=t>e?t:i?e+1:e,s=t>e;null!=At.activeItem&&(t===At.activeItem?Gt.active=At.activeItem=i?s?e+1:e:s?e:e-1:At.activeItem>n&&At.activeItem<o&&(Gt.active=At.activeItem+=s?1:-1)),H()}}function X(t,e){for(var i=0,n=Qt[t].length;n>i;i++)if(Qt[t][i]===e)return i;return-1}function Q(){te.released&&!gt.isPaused&>.resume()}
144function G(t){return I(u(t,Pt.start,Pt.end)/Pt.end*(Ct.end-Ct.start))+Ct.start}function Z(){te.history[0]=te.history[1],te.history[1]=te.history[2],te.history[2]=te.history[3],te.history[3]=te.delta}function J(t){te.released=0,te.source=t,te.slidee="slidee"===t}function tt(e){var i="touchstart"===e.type,n=e.data.source,o="slidee"===n;te.init||!i&&nt(e.target)||("handle"!==n||mt.dragHandle&&Pt.start!==Pt.end)&&(!o||(i?mt.touchDragging:mt.mouseDragging&&e.which<2))&&(i||s(e),J(n),te.init=0,te.$source=t(e.target),te.touch=i,te.pointer=i?e.originalEvent.touches[0]:e,te.initX=te.pointer.pageX,te.initY=te.pointer.pageY,te.initPos=o?Ct.cur:Pt.cur,te.start=+new Date,te.time=0,te.path=0,te.delta=0,te.locked=0,te.history=[0,0,0,0],te.pathToLock=o?i?30:10:0,b.on(i?w:y,et),gt.pause(1),(o?_t:kt).addClass(mt.draggedClass),dt("moveStart"),o&&(ne=setInterval(Z,10)))}function et(t){if(te.released="mouseup"===t.type||"touchend"===t.type,te.pointer=te.touch?t.originalEvent[te.released?"changedTouches":"touches"][0]:t,te.pathX=te.pointer.pageX-te.initX,te.pathY=te.pointer.pageY-te.initY,te.path=T(D(te.pathX,2)+D(te.pathY,2)),te.delta=mt.horizontal?te.pathX:te.pathY,te.released||!(te.path<1)){if(!te.init){if(te.path<mt.dragThreshold)return te.released?it():i;if(!(mt.horizontal?P(te.pathX)>P(te.pathY):P(te.pathX)<P(te.pathY)))return it();te.init=1}s(t),!te.locked&&te.path>te.pathToLock&&te.slidee&&(te.locked=1,te.$source.on(x,a)),te.released&&(it(),mt.releaseSwing&&te.slidee&&(te.swing=(te.delta-te.history[0])/40*300,te.delta+=te.swing,te.tweese=P(te.swing)>10)),B(te.slidee?I(te.initPos-te.delta):G(te.initPos+te.delta))}}function it(){clearInterval(ne),te.released=!0,b.off(te.touch?w:y,et),(te.slidee?_t:kt).removeClass(mt.draggedClass),setTimeout(function(){te.$source.off(x,a)}),Ct.cur===Ct.dest&&te.init&&dt("moveEnd"),gt.resume(1),te.init=0}function nt(e){return~t.inArray(e.nodeName,$)||t(e).is(mt.interactive)}function ot(){gt.stop(),b.off("mouseup",ot)}function st(t){switch(s(t),this){case qt[0]:case Ut[0]:gt.moveBy(qt.is(this)?mt.moveBy:-mt.moveBy),b.on("mouseup",ot);break;case Vt[0]:gt.prev();break;case Yt[0]:gt.next();break;case Kt[0]:gt.prevPage();break;case Xt[0]:gt.nextPage()}}function at(t){t.originalEvent[m]=gt;var e=+new Date;if(A+mt.scrollHijack>e&&Wt[0]!==document&&Wt[0]!==window)A=e;else if(mt.scrollBy&&Ct.start!==Ct.end){var i=function(t){return ee.curDelta=(mt.horizontal?t.deltaY||t.deltaX:t.deltaY)||-t.wheelDelta,ee.curDelta/=1===t.deltaMode?3:100,Rt?(f=+new Date,ee.last<f-ee.resetTime&&(ee.delta=0),ee.last=f,ee.delta+=ee.curDelta,P(ee.delta)<1?ee.finalDelta=0:(ee.finalDelta=I(ee.delta/1),ee.delta%=1),ee.finalDelta):ee.curDelta}(t.originalEvent);(mt.scrollTrap||i>0&&Ct.dest<Ct.end||0>i&&Ct.dest>Ct.start)&&s(t,1),gt.slideBy(mt.scrollBy*i)}}function rt(t){mt.clickBar&&t.target===xt[0]&&(s(t),B(G((mt.horizontal?t.pageX-xt.offset().left:t.pageY-xt.offset().top)-St/2)))}function lt(t){if(mt.keyboardNavBy)switch(t.which){case mt.horizontal?37:38:s(t),gt["pages"===mt.keyboardNavBy?"prevPage":"prev"]();break;case mt.horizontal?39:40:s(t),gt["pages"===mt.keyboardNavBy?"nextPage":"next"]()}}function ct(t){return nt(this)?void(t.originalEvent[m+"ignore"]=!0):void(this.parentNode!==_t[0]||t.originalEvent[m+"ignore"]||gt.activate(this))}function ut(){this.parentNode===Tt[0]&>.activatePage(Dt.index(this))}function ht(t){mt.pauseOnHover&>["mouseenter"===t.type?"pause":"resume"](2)}function dt(t,e){if(Qt[t]){for(ft=Qt[t].length,S.length=0,pt=0;ft>pt;pt++)S.push(Qt[t][pt]);for(pt=0;ft>pt;pt++)S[pt].call(gt,t,e)}}if(!(this instanceof n))return new n(e,L,O);var pt,ft,mt=t.extend({},n.defaults,L),gt=this,vt=l(e),bt=t(e),_t=mt.slidee?t(mt.slidee).eq(0):bt.children().eq(0),yt=0,wt=0,Ct={start:0,center:0,end:0,cur:0,dest:0},xt=t(mt.scrollBar).eq(0),kt=xt.children().eq(0),$t=0,St=0,Pt={start:0,end:0,cur:0},Tt=t(mt.pagesBar),Dt=0,It=[],Mt=0,Et=[],At={firstItem:0,lastItem:0,centerItem:0,activeItem:null,activePage:0},Lt=new h(bt[0]),Ot=new h(_t[0]),Ht=new h(xt[0]),Bt=new h(kt[0]),Nt="basic"===mt.itemNav,zt="forceCentered"===mt.itemNav,Ft="centered"===mt.itemNav||zt,Rt=!vt&&(Nt||Ft||zt),Wt=mt.scrollSource?t(mt.scrollSource):bt,jt=mt.dragSource?t(mt.dragSource):bt,qt=t(mt.forward),Ut=t(mt.backward),Vt=t(mt.prev),Yt=t(mt.next),Kt=t(mt.prevPage),Xt=t(mt.nextPage),Qt={},Gt={},Zt={},Jt={},te={released:1},ee={last:0,delta:0,resetTime:200},ie=0,ne=0,oe=0,se=0;vt||(e=bt[0]),gt.initialized=0,gt.frame=e,gt.slidee=_t[0],gt.pos=Ct,gt.rel=At,gt.items=Et,gt.pages=It,gt.isPaused=0,gt.options=mt,gt.dragging=te,gt.reload=function(){H()},gt.getPos=function(t){if(Rt){var e=W(t);return-1!==e&&Et[e]}var i=_t.find(t).eq(0);if(i[0]){var n=mt.horizontal?i.offset().left-_t.offset().left:i.offset().top-_t.offset().top,o=i[mt.horizontal?"outerWidth":"outerHeight"]();return{start:n,center:n-yt/2+o/2,end:n-yt+o,size:o}}return!1},gt.moveBy=function(t){Jt.speed=t,!te.init&&Jt.speed&&Ct.cur!==(Jt.speed>0?Ct.end:Ct.start)&&(Jt.lastTime=+new Date,Jt.startPos=Ct.cur,J("button"),te.init=1,dt("moveStart"),g(se),F())},gt.stop=function(){"button"===te.source&&(te.init=0,te.released=1)},gt.prev=function(){gt.activate(null==At.activeItem?0:At.activeItem-1)},gt.next=function(){gt.activate(null==At.activeItem?0:At.activeItem+1)},gt.prevPage=function(){gt.activatePage(At.activePage-1)},gt.nextPage=function(){gt.activatePage(At.activePage+1)},gt.slideBy=function(t,e){t&&(Rt?gt[Ft?"toCenter":"toStart"](u((Ft?At.centerItem:At.firstItem)+mt.scrollBy*t,0,Et.length)):B(Ct.dest+t,e))},gt.slideTo=function(t,e){B(t,e)},gt.toStart=function(t,e){R("start",t,e)},gt.toEnd=function(t,e){R("end",t,e)},gt.toCenter=function(t,e){R("center",t,e)},gt.getIndex=W,gt.activate=function(t,e){var i=q(t);mt.smart&&!1!==i&&(Ft?gt.toCenter(i,e):i>=At.lastItem?gt.toStart(i,e):i<=At.firstItem?gt.toEnd(i,e):Q())},gt.activatePage=function(t,e){l(t)&&B(It[u(t,0,It.length-1)],e)},gt.resume=function(t){mt.cycleBy&&mt.cycleInterval&&("items"!==mt.cycleBy||Et[0]&&null!=At.activeItem)&&!(t<gt.isPaused)&&(gt.isPaused=0,oe?oe=clearTimeout(oe):dt("resume"),oe=setTimeout(function(){switch(dt("cycle"),mt.cycleBy){case"items":gt.activate(At.activeItem>=Et.length-1?0:At.activeItem+1);break;case"pages":gt.activatePage(At.activePage>=It.length-1?0:At.activePage+1)}},mt.cycleInterval))},gt.pause=function(t){t<gt.isPaused||(gt.isPaused=t||100,oe&&(oe=clearTimeout(oe),dt("pause")))},gt.toggle=function(){gt[oe?"pause":"resume"]()},gt.set=function(e,i){t.isPlainObject(e)?t.extend(mt,e):mt.hasOwnProperty(e)&&(mt[e]=i)},gt.add=function(e,i){var n=t(e);Rt?(null==i||!Et[0]||i>=Et.length?n.appendTo(_t):Et.length&&n.insertBefore(Et[i].el),null!=At.activeItem&&i<=At.activeItem&&(Gt.active=At.activeItem+=n.length)):_t.append(n),H()},gt.remove=function(e){if(Rt){var i=j(e);if(i>-1){Mt.eq(i).remove();var n=i===At.activeItem;null!=At.activeItem&&i<At.activeItem&&(Gt.active=--At.activeItem),H(),n&&(Gt.active=null,gt.activate(At.activeItem))}}else t(e).remove(),H()},gt.moveAfter=function(t,e){K(t,e,1)},gt.moveBefore=function(t,e){K(t,e)},gt.on=function(t,e){if("object"===o(t))for(var i in t)t.hasOwnProperty(i)&>.on(i,t[i]);else if("function"===o(e))for(var n=t.split(" "),s=0,a=n.length;a>s;s++)Qt[n[s]]=Qt[n[s]]||[],-1===X(n[s],e)&&Qt[n[s]].push(e);else if("array"===o(e))for(var r=0,l=e.length;l>r;r++)gt.on(t,e[r])},gt.one=function(t,e){gt.on(t,function i(){e.apply(gt,arguments),gt.off(t,i)})},gt.off=function(t,e){if(e instanceof Array)for(var i=0,n=e.length;n>i;i++)gt.off(t,e[i]);else for(var o=t.split(" "),s=0,a=o.length;a>s;s++)if(Qt[o[s]]=Qt[o[s]]||[],null==e)Qt[o[s]].length=0;else{var r=X(o[s],e);-1!==r&&Qt[o[s]].splice(r,1)}},gt.destroy=function(){return n.removeInstance(e),Wt.add(kt).add(xt).add(Tt).add(qt).add(Ut).add(Vt).add(Yt).add(Kt).add(Xt).off("."+m),b.off("keydown",lt),Vt.add(Yt).add(Kt).add(Xt).removeClass(mt.disabledClass),Mt&&null!=At.activeItem&&Mt.eq(At.activeItem).removeClass(mt.activeClass),Tt.empty(),vt||(bt.off("."+m),Lt.restore(
144),Ot.restore(),Ht.restore(),Bt.restore(),t.removeData(e,m)),Et.length=It.length=0,Gt={},gt.initialized=0,gt},gt.init=function(){if(!gt.initialized){if(n.getInstance(e))throw new Error("There is already a Sly instance on this element");n.storeInstance(e,gt),gt.on(O);var t=["overflow","position"],i=["position","webkitTransform","msTransform","transform","left","top","width","height"];Lt.save.apply(Lt,t),Ht.save.apply(Ht,t),Ot.save.apply(Ot,i),Bt.save.apply(Bt,i);var o=kt;return vt||(o=o.add(_t),bt.css("overflow","hidden"),d||"static"!==bt.css("position")||bt.css("position","relative")),d?p&&o.css(d,p):("static"===xt.css("position")&&xt.css("position","relative"),o.css({position:"absolute"})),mt.forward&&qt.on(k,st),mt.backward&&Ut.on(k,st),mt.prev&&Vt.on(x,st),mt.next&&Yt.on(x,st),mt.prevPage&&Kt.on(x,st),mt.nextPage&&Xt.on(x,st),Wt.on(C,at),xt[0]&&xt.on(x,rt),Rt&&mt.activateOn&&bt.on(mt.activateOn+"."+m,"*",ct),Tt[0]&&mt.activatePageOn&&Tt.on(mt.activatePageOn+"."+m,"*",ut),jt.on(_,{source:"slidee"},tt),kt&&kt.on(_,{source:"handle"},tt),b.on("keydown",lt),vt||(bt.on("mouseenter."+m+" mouseleave."+m,ht),bt.on("scroll."+m,r)),gt.initialized=1,H(!0),mt.cycleBy&&!vt&>[mt.startPaused?"pause":"resume"](),gt}}}function o(t){return null==t?String(t):"object"==typeof t||"function"==typeof t?Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()||"object":typeof t}function s(t,e){t.preventDefault(),e&&t.stopPropagation()}function a(e){s(e,1),t(this).off(e.type,a)}function r(){this.scrollLeft=0,this.scrollTop=0}function l(t){return!isNaN(parseFloat(t))&&isFinite(t)}function c(t,e){return 0|I(String(t.css(e)).replace(/[^\-0-9.]/g,""))}function u(t,e,i){return e>t?e:t>i?i:t}function h(t){var e={style:{},save:function(){if(t&&t.nodeType){for(var i=0;i<arguments.length;i++)e.style[arguments[i]]=t.style[arguments[i]];return e}},restore:function(){if(t&&t.nodeType){for(var i in e.style)e.style.hasOwnProperty(i)&&(t.style[i]=e.style[i]);return e}}};return e}var d,p,f,m="sly",g=e.cancelAnimationFrame||e.cancelRequestAnimationFrame,v=e.requestAnimationFrame,b=t(document),_="touchstart."+m+" mousedown."+m,y="mousemove."+m+" mouseup."+m,w="touchmove."+m+" touchend."+m,C=(document.implementation.hasFeature("Event.wheel","3.0")?"wheel.":"mousewheel.")+m,x="click."+m,k="mousedown."+m,$=["INPUT","SELECT","BUTTON","TEXTAREA"],S=[],P=Math.abs,T=Math.sqrt,D=Math.pow,I=Math.round,M=Math.max,E=Math.min,A=0;b.on(C,function(t){var e=t.originalEvent[m],i=+new Date;(!e||e.options.scrollHijack<i-A)&&(A=i)}),n.getInstance=function(e){return t.data(e,m)},n.storeInstance=function(e,i){return t.data(e,m,i)},n.removeInstance=function(e){return t.removeData(e,m)},function(t){v=t.requestAnimationFrame||t.webkitRequestAnimationFrame||function(t){var i=(new Date).getTime(),n=Math.max(0,16-(i-e)),o=setTimeout(t,n);return e=i,o};var e=(new Date).getTime(),i=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.clearTimeout;g=function(e){i.call(t,e)}}(window),function(){function t(t){for(var n=0,o=e.length;o>n;n++){var s=e[n]?e[n]+t.charAt(0).toUpperCase()+t.slice(1):t;if(null!=i.style[s])return s}}var e=["","Webkit","Moz","ms","O"],i=document.createElement("div");d=t("transform"),p=t("perspective")?"translateZ(0) ":""}(),e.Sly=n,t.fn.sly=function(e,i){var s,a;return t.isPlainObject(e)||(("string"===o(e)||!1===e)&&(s=!1===e?"destroy":e,a=Array.prototype.slice.call(arguments,1)),e={}),this.each(function(t,o){var r=n.getInstance(o);r||s?r&&s&&r[s]&&r[s].apply(r,a):r=new n(o,e,i).init()})},n.defaults={slidee:null,horizontal:!1,itemNav:null,itemSelector:null,smart:!1,activateOn:null,activateMiddle:!1,scrollSource:null,scrollBy:0,scrollHijack:300,scrollTrap:!1,dragSource:null,mouseDragging:!1,touchDragging:!1,releaseSwing:!1,swingSpeed:.2,elasticBounds:!1,dragThreshold:3,interactive:null,scrollBar:null,dragHandle:!1,dynamicHandle:!1,minHandleSize:50,clickBar:!1,syncSpeed:.5,pagesBar:null,activatePageOn:null,pageBuilder:function(t){return"<li>"+(t+1)+"</li>"},forward:null,backward:null,prev:null,next:null,prevPage:null,nextPage:null,cycleBy:null,cycleInterval:5e3,pauseOnHover:!1,startPaused:!1,moveBy:300,speed:0,easing:"swing",startAt:null,keyboardNavBy:null,draggedClass:"dragged",activeClass:"active",disabledClass:"disabled"}}
144(jQuery,window),function(t,e,i,n){"use strict";function o(t){var e=i(t.currentTarget),n=t.data?t.data.options:{},o=e.attr("data-fancybox")||"",s=0,a=[];t.isDefaultPrevented()||(t.preventDefault(),o?(s=(a=(a=n.selector?i(n.selector):t.data?t.data.items:[]).length?a.filter('[data-fancybox="'+o+'"]'):i('[data-fancybox="'+o+'"]')).index(e))<0&&(s=0):a=[e],i.fancybox.open(a,n,s))}if(i){if(i.fn.fancybox)return void("console"in t&&console.log("fancyBox already initialized"));var s={loop:!1,margin:[44,0],gutter:50,keyboard:!0,arrows:!0,infobar:!0,toolbar:!0,buttons:["slideShow","fullScreen","thumbs","share","close"],idleTime:3,smallBtn:"auto",protect:!1,modal:!1,image:{preload:"auto"},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen allowtransparency="true" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},defaultType:"image",animationEffect:"zoom",animationDuration:500,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption-wrap"><div class="fancybox-caption"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}<p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}"><svg viewBox="0 0 40 40"><path d="M20,23 L20,8 L20,23 L13,16 L20,23 L27,16 L20,23 M9,28 L31,28" /></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg viewBox="0 0 40 40"><path d="M 18,17 m -8, 0 a 8,8 0 1,0 16,0 a 8,8 0 1,0 -16,0 M25,23 L31,29 L25,23"></path></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg viewBox="0 0 40 40"><path d="M10,10 L30,30 M30,10 L10,30" /></svg></button>',smallBtn:'<button data-fancybox-close class="fancybox-close-small" title="{{CLOSE}}"></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><svg viewBox="0 0 40 40"><path d="M10,20 L30,20 L10,20 L18,28 L10,20 L18,12 L10,20"></path></svg></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><svg viewBox="0 0 40 40"><path d="M30,20 L10,20 L30,20 L22,28 L30,20 L22,12 L30,20"></path></svg></button>'},parentEl:"body",autoFocus:!1,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:4e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},onInit:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeClose:i.noop,afterClose:i.noop,onActivate:i.noop,onDeactivate:i.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{margin:0,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schliessen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/>
144 Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"MaÃstab"}}},a=i(t),r=i(e),l=0,c=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},u=function(){var t,i=e.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in o)if(i.style[t]!==n)return o[t]}(),h=function(t){return t&&t.length&&t[0].offsetHeight},d=function(t,n,o){var s=this;s.opts=i.extend(!0,{index:o},i.fancybox.defaults,n||{}),i.fancybox.isMobile&&(s.opts=i.extend(!0,{},s.opts,s.opts.mobile)),n&&i.isArray(n.buttons)&&(s.opts.buttons=n.buttons),s.id=s.opts.id||++l,s.group=[],s.currIndex=parseInt(s.opts.index,10)||0,s.prevIndex=null,s.prevPos=null,s.currPos=0,s.firstRun=null,s.createGroup(t),s.group.length&&(s.$lastFocus=i(e.activeElement).blur(),s.slides={},s.init())};i.extend(d.prototype,{init:function(){var o,s,a,l=this,c=l.group[l.currIndex],u=c.opts,h=i.fancybox.scrollbarWidth;l.scrollTop=r.scrollTop(),l.scrollLeft=r.scrollLeft(),i.fancybox.getInstance()||(i("body").addClass("fancybox-active"),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!t.MSStream?"image"!==c.type&&i("body").css("top",-1*i("body").scrollTop()).addClass("fancybox-iosfix"):!i.fancybox.isMobile&&e.body.scrollHeight>t.innerHeight&&(h===n&&(o=i('<div style="width:50px;height:50px;overflow:scroll;" />').appendTo("body"),h=i.fancybox.scrollbarWidth=o[0].offsetWidth-o[0].clientWidth,o.remove()),i("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar { margin-right: '+h+"px; }</style>"),i("body").addClass("compensate-for-scrollbar"))),a="",i.each(u.buttons,function(t,e){a+=u.btnTpl[e]||""}),s=i(l.translate(l,u.baseTpl.replace("{{buttons}}",a).replace("{{arrows}}",u.btnTpl.arrowLeft+u.btnTpl.arrowRight))).attr("id","fancybox-container-"+l.id).addClass("fancybox-is-hidden").addClass(u.baseClass).data("FancyBox",l).appendTo(u.parentEl),l.$refs={container:s},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){l.$refs[t]=s.find(".fancybox-"+t)}),l.trigger("onInit"),l.activate(),l.jumpTo(l.currIndex)},translate:function(t,e){var i=t.opts.i18n[t.opts.lang];return e.replace(/\{\{(\w+)\}\}/g,function(t,e){var o=i[e];return o===n?t:o})},createGroup:function(t){var e=this,o=i.makeArray(t);i.each(o,function(t,o){var s,a,r,l,c={},u={};i.isPlainObject(o)?(c=o,u=o.opts||o):"object"===i.type(o)&&i(o).length?(u=(s=i(o)).data(),(u=i.extend({},u,u.options||{})).$orig=s,c.src=u.src||s.attr("href"),c.type||c.src||(c.type="inline",c.src=o)):c={type:"html",src:o+""},c.opts=i.extend(!0,{},e.opts,u),i.isArray(u.buttons)&&(c.opts.buttons=u.buttons),a=c.type||c.opts.type,r=c.src||"",!a&&r&&(r.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":r.match(/\.(pdf)((\?|#).*)?$/i)?a="pdf":"#"===r.charAt(0)&&(a="inline")),a?c.type=a:e.trigger("objectNeedsType",c),c.index=e.group.length,c.opts.$orig&&!c.opts.$orig.length&&delete c.opts.$orig,!c.opts.$thumb&&c.opts.$orig&&(c.opts.$thumb=c.opts.$orig.find("img:first")),c.opts.$thumb&&!c.opts.$thumb.length&&delete c.opts.$thumb,"function"===i.type(e.opts.caption)&&(c.opts.caption=e.opts.caption.apply(o,[e,c])),c.opts.caption instanceof i||(c.opts.caption=c.opts.caption===n?"":c.opts.caption+""),"ajax"===a&&(l=r.split(/\s+/,2)).length>1&&(c.src=l.shift(),c.opts.filter=l.shift()),"auto"==c.opts.smallBtn&&(i.inArray(a,["html","inline","ajax"])>-1?(c.opts.toolbar=!1,c.opts.smallBtn=!0):c.opts.smallBtn=!1),"pdf"===a&&(c.type="iframe",c.opts.iframe.preload=!1),c.opts.modal&&(c.opts=i.extend(!0,c.opts,{infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),e.group.push(c)})},addEvents:function(){var n=this;n.removeEvents(),n.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),n.close(t)}).on("click.fb-prev touchend.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),n.previous()}).on("click.fb-next touchend.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),n.next()}).on("click.fb","[data-fancybox-zoom]",function(t){n[n.isScaledDown()?"scaleToActual":"scaleToFit"]()}),a.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?c(function(){n.update()}):(n.$refs.stage.hide(),setTimeout(function(){n.$refs.stage.show(),n.update()},600))}),r.on("focusin.fb",function(t){var o=i.fancybox?i.fancybox.getInstance():null;o.isClosing||!o.current||!o.current.opts.trapFocus||i(t.target).hasClass("fancybox-container")||i(t.target).is(e)||o&&"fixed"!==i(t.target).css("position")&&!o.$refs.container.has(t.target).length&&(t.stopPropagation(),o.focus(),a.scrollTop(n.scrollTop).scrollLeft(n.scrollLeft))}
144),r.on("keydown.fb",function(t){var e=n.current,o=t.keyCode||t.which;if(e&&e.opts.keyboard&&!i(t.target).is("input")&&!i(t.target).is("textarea"))return 8===o||27===o?(t.preventDefault(),void n.close(t)):37===o||38===o?(t.preventDefault(),void n.previous()):39===o||40===o?(t.preventDefault(),void n.next()):void n.trigger("afterKeydown",t,o)}),n.group[n.currIndex].opts.idleTime&&(n.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(t){n.idleSecondsCounter=0,n.isIdle&&n.showControls(),n.isIdle=!1}),n.idleInterval=t.setInterval(function(){n.idleSecondsCounter++,n.idleSecondsCounter>=n.group[n.currIndex].opts.idleTime&&(n.isIdle=!0,n.idleSecondsCounter=0,n.hideControls())},1e3))},removeEvents:function(){var e=this;a.off("orientationchange.fb resize.fb"),r.off("focusin.fb keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e,o){var s,a,r,l,c,u,d,p=this,f=p.group.length;if(!(p.isSliding||p.isClosing||p.isAnimating&&p.firstRun)){if(t=parseInt(t,10),!(a=p.current?p.current.opts.loop:p.opts.loop)&&(t<0||t>=f))return!1;if(s=p.firstRun=null===p.firstRun,!(f<2&&!s&&p.isSliding)){if(l=p.current,p.prevIndex=p.currIndex,p.prevPos=p.currPos,r=p.createSlide(t),f>1&&((a||r.index>0)&&p.createSlide(t-1),(a||r.index<f-1)&&p.createSlide(t+1)),p.current=r,p.currIndex=r.index,p.currPos=r.pos,p.trigger("beforeShow",s),p.updateControls(),u=i.fancybox.getTranslate(r.$slide),r.isMoved=(0!==u.left||0!==u.top)&&!r.$slide.hasClass("fancybox-animated"),r.forcedDuration=n,i.isNumeric(e)?r.forcedDuration=e:e=r.opts[s?"animationDuration":"transitionDuration"],e=parseInt(e,10),s)return r.opts.animationEffect&&e&&p.$refs.container.css("transition-duration",e+"ms"),p.$refs.container.removeClass("fancybox-is-hidden"),h(p.$refs.container),p.$refs.container.addClass("fancybox-is-open"),r.$slide.addClass("fancybox-slide--current"),p.loadSlide(r),void p.preload();i.each(p.slides,function(t,e){i.fancybox.stop(e.$slide)}),r.$slide.removeClass("fancybox-slide--next fancybox-slide--previous").addClass("fancybox-slide--current"),r.isMoved?(c=Math.round(r.$slide.width()),i.each(p.slides,function(t,n){var o=n.pos-r.pos;i.fancybox.animate(n.$slide,{top:0,left:o*c+o*n.opts.gutter},e,function(){n.$slide.removeAttr("style").removeClass("fancybox-slide--next fancybox-slide--previous"),n.pos===p.currPos&&(r.isMoved=!1,p.complete())})})):p.$refs.stage.children().removeAttr("style"),r.isLoaded?p.revealContent(r):p.loadSlide(r),p.preload(),l.pos!==r.pos&&(d="fancybox-slide--"+(l.pos>r.pos?"next":"previous"),l.$slide.removeClass("fancybox-slide--complete fancybox-slide--current fancybox-slide--next fancybox-slide--previous"),l.isComplete=!1,e&&(r.isMoved||r.opts.transitionEffect)&&(r.isMoved?l.$slide.addClass(d):(d="fancybox-animated "+d+" fancybox-fx-"+r.opts.transitionEffect,i.fancybox.animate(l.$slide,d,e,function(){l.$slide.removeClass(d).removeAttr("style")}))))}}},createSlide:function(t){var e,n,o=this;return n=(n=t%o.group.length)<0?o.group.length+n:n,!o.slides[t]&&o.group[n]&&(e=i('<div class="fancybox-slide"></div>').appendTo(o.$refs.stage),o.slides[t]=i.extend(!0,{},o.group[n],{pos:t,$slide:e,isLoaded:!1}),o.updateSlide(o.slides[t])),o.slides[t]},scaleToActual:function(t,e,o){var s,a,r,l,c,u=this,h=u.current,d=h.$content,p=parseInt(h.$slide.width(),10),f=parseInt(h.$slide.height(),10),m=h.width,g=h.height;"image"!=h.type||h.hasError||!d||u.isAnimating||(i.fancybox.stop(d),u.isAnimating=!0,t=t===n?.5*p:t,e=e===n?.5*f:e,l=m/(s=i.fancybox.getTranslate(d)).width,c=g/s.height,a=.5*p-.5*m,r=.5*f-.5*g,m>p&&((a=s.left*l-(t*l-t))>0&&(a=0),a<p-m&&(a=p-m)),g>f&&((r=s.top*c-(e*c-e))>0&&(r=0),r<f-g&&(r=f-g)),u.updateCursor(m,g),i.fancybox.animate(d,{top:r,left:a,scaleX:l,scaleY:c},o||330,function(){u.isAnimating=!1}),u.SlideShow&&u.SlideShow.isActive&&u.SlideShow.stop())},scaleToFit:function(t){var e,n=this,o=n.current,s=o.$content;"image"!=o.type||o.hasError||!s||n.isAnimating||(i.fancybox.stop(s),n.isAnimating=!0,e=n.getFitPos(o),n.updateCursor(e.width,e.height),i.fancybox.animate(s,{top:e.top,left
144:e.left,scaleX:e.width/s.width(),scaleY:e.height/s.height()},t||330,function(){n.isAnimating=!1}))},getFitPos:function(t){var e,n,o,s,a,r=t.$content,l=t.width,c=t.height,u=t.opts.margin;return!(!r||!r.length||!l&&!c)&&("number"===i.type(u)&&(u=[u,u]),2==u.length&&(u=[u[0],u[1],u[0],u[1]]),e=parseInt(this.$refs.stage.width(),10)-(u[1]+u[3]),n=parseInt(this.$refs.stage.height(),10)-(u[0]+u[2]),o=Math.min(1,e/l,n/c),s=Math.floor(o*l),a=Math.floor(o*c),{top:Math.floor(.5*(n-a))+u[0],left:Math.floor(.5*(e-s))+u[3],width:s,height:a})},update:function(){var t=this;i.each(t.slides,function(e,i){t.updateSlide(i)})},updateSlide:function(t){var e=this,n=t.$content;n&&(t.width||t.height)&&(i.fancybox.stop(n),i.fancybox.setTranslate(n,e.getFitPos(t)),t.pos===e.currPos&&e.updateCursor()),t.$slide.trigger("refresh"),e.trigger("onUpdate",t)},updateCursor:function(t,e){var i=this,o=i.$refs.container.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-drag fancybox-can-zoomOut");i.current&&!i.isClosing&&(i.isZoomable()?(o.addClass("fancybox-is-zoomable"),(t!==n&&e!==n?t<i.current.width&&e<i.current.height:i.isScaledDown())?o.addClass("fancybox-can-zoomIn"):i.current.opts.touch?o.addClass("fancybox-can-drag"):o.addClass("fancybox-can-zoomOut")):i.current.opts.touch&&o.addClass("fancybox-can-drag"))},isZoomable:function(){var t,e=this,n=e.current;if(n&&!e.isClosing)return!!("image"===n.type&&n.isLoaded&&!n.hasError&&("zoom"===n.opts.clickContent||i.isFunction(n.opts.clickContent)&&"zoom"===n.opts.clickContent(n))&&(t=e.getFitPos(n),n.width>t.width||n.height>t.height))},isScaledDown:function(){var t=this.current,e=t.$content,n=!1;return e&&(n=(n=i.fancybox.getTranslate(e)).width<t.width||n.height<t.height),n},canPan:function(){var t=this.current,e=t.$content,i=!1;return e&&(i=this.getFitPos(t),i=Math.abs(e.width()-i.width)>1||Math.abs(e.height()-i.height)>1),i},loadSlide:function(t){var e,n,o,s=this;if(!t.isLoading&&!t.isLoaded){switch(t.isLoading=!0,s.trigger("beforeLoad",t),e=t.type,(n=t.$slide).off("refresh").trigger("onReset").addClass("fancybox-slide--"+(e||"unknown")).addClass(t.opts.slideClass),e){case"image":s.setImage(t);break;case"iframe":s.setIframe(t);break;case"html":s.setContent(t,t.src||t.content);break;case"inline":i(t.src).length?s.setContent(t,i(t.src)):s.setError(t);break;case"ajax":s.showLoading(t),o=i.ajax(i.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,i){"success"===i&&s.setContent(t,e)},error:function(e,i){e&&"abort"!==i&&s.setError(t)}})),n.one("onReset",function(){o.abort()});break;default:s.setError(t)}return!0}},setImage:function(e){var n,o,s,a,r=this,l=e.opts.srcset||e.opts.image.srcset;if(l){s=t.devicePixelRatio||1,a=t.innerWidth*s,o=l.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,i){var n=parseInt(t.substring(0,t.length-1),10);return 0===i?e.url=t:void(n&&(e.value=n,e.postfix=t[t.length-1]))}),e}),o.sort(function(t,e){return t.value-e.value});for(var c=0;c<o.length;c++){var u=o[c];if("w"===u.postfix&&u.value>=a||"x"===u.postfix&&u.value>=s){n=u;break}}!n&&o.length&&(n=o[o.length-1]),n&&(e.src=n.url,e.width&&e.height&&"w"==n.postfix&&(e.height=e.width/e.height*n.value,e.width=n.value))}e.$content=i('<div class="fancybox-image-wrap"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&(e.opts.thumb||e.opts.$thumb)?(e.width=e.opts.width,e.height=e.opts.height,e.$ghost=i("<img />").one("error",function(){i(this).remove(),e.$ghost=null,r.setBigImage(e)}).one("load",function(){r.afterLoad(e),r.setBigImage(e)}).addClass("fancybox-image").appendTo(e.$content).attr("src",e.opts.thumb||e.opts.$thumb.attr("src"))):r.setBigImage(e)},setBigImage:function(t){var e=this,n=i("<img />");t.$image=n.one("error",function(){e.setError(t)}).one("load",function(){clearTimeout(t.timouts),t.timouts=null,e.isClosing||(t.width=this.naturalWidth,t.height=this.naturalHeight,t.opts.image.srcset&&n.attr("sizes","100vw").attr("srcset",t.opts.image.srcset),e.hideLoading(t),t.$ghost?t.timouts=setTimeout(function(){t.timouts=null,t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))):e.afterLoad(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(n[0].complete||"complete"==n[0].readyState)&&n[0].naturalWi
144dth&&n[0].naturalHeight?n.trigger("load"):n[0].error?n.trigger("error"):t.timouts=setTimeout(function(){n[0].complete||t.hasError||e.showLoading(t)},100)},setIframe:function(t){var e,o=this,s=t.opts.iframe,a=t.$slide;t.$content=i('<div class="fancybox-content'+(s.preload?" fancybox-is-hidden":"")+'"></div>').css(s.css).appendTo(a),e=i(s.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(s.attr).appendTo(t.$content),s.preload?(o.showLoading(t),e.on("load.fb error.fb",function(e){this.isReady=1,t.$slide.trigger("refresh"),o.afterLoad(t)}),a.on("refresh.fb",function(){var i,o,a=t.$content,r=s.css.width,l=s.css.height;if(1===e[0].isReady){try{o=e.contents().find("body")}catch(t){}o&&o.length&&(r===n&&(i=e[0].contentWindow.document.documentElement.scrollWidth,r=Math.ceil(o.outerWidth(!0)+(a.width()-i)),r+=a.outerWidth()-a.innerWidth()),l===n&&(l=Math.ceil(o.outerHeight(!0)),l+=a.outerHeight()-a.innerHeight()),r&&a.width(r),l&&a.height(l)),a.removeClass("fancybox-is-hidden")}})):this.afterLoad(t),e.attr("src",t.src),!0===t.opts.smallBtn&&t.$content.prepend(o.translate(t,t.opts.btnTpl.smallBtn)),a.one("onReset",function(){try{i(this).find("iframe").hide().attr("src","//about:blank")}catch(t){}i(this).empty(),t.isLoaded=!1})},setContent:function(t,e){this.isClosing||(this.hideLoading(t),t.$slide.empty(),function(t){return t&&t.hasOwnProperty&&t instanceof i}(e)&&e.parent().length?(e.parent(".fancybox-slide--inline").trigger("onReset"),t.$placeholder=i("<div></div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===i.type(e)&&3===(e=i("<div>").append(i.trim(e)).contents())[0].nodeType&&(e=i("<div>").html(e)),t.opts.filter&&(e=i("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){t.$placeholder&&(t.$placeholder.after(e.hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(i(this).empty(),t.isLoaded=!1)}),t.$content=i(e).appendTo(t.$slide),this.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.removeClass("fancybox-slide--"+t.type),this.setContent(t,this.translate(t,t.opts.errorTpl))},showLoading:function(t){(t=t||this.current)&&!t.$spinner&&(t.$spinner=i(this.opts.spinnerTpl).appendTo(t.$slide))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),t.opts.smallBtn&&!t.$smallBtn&&(t.$smallBtn=i(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content.filter("div,form").first())),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&i('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.revealContent(t))},revealContent:function(t){var e,o,s,a,r,l=this,c=t.$slide,u=!1;return e=t.opts[l.firstRun?"animationEffect":"transitionEffect"],s=t.opts[l.firstRun?"animationDuration":"transitionDuration"],s=parseInt(t.forcedDuration===n?s:t.forcedDuration,10),!t.isMoved&&t.pos===l.currPos&&s||(e=!1),"zoom"!==e||t.pos===l.currPos&&s&&"image"===t.type&&!t.hasError&&(u=l.getThumbPos(t))||(e="fade"),"zoom"===e?((r=l.getFitPos(t)).scaleX=r.width/u.width,r.scaleY=r.height/u.height,delete r.width,delete r.height,"auto"==(a=t.opts.zoomOpacity)&&(a=Math.abs(t.width/t.height-u.width/u.height)>.1),a&&(u.opacity=.1,r.opacity=1),i.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),u),h(t.$content),void i.fancybox.animate(t.$content,r,s,function(){l.complete()})):(l.updateSlide(t),e?(i.fancybox.stop(c),o="fancybox-animated fancybox-slide--"+(t.pos>=l.prevPos?"next":"previous")+" fancybox-fx-"+e,c.removeAttr("style").removeClass("fancybox-slide--current fancybox-slide--next fancybox-slide--previous").addClass(o),t.$content.removeClass("fancybox-is-hidden"),h(c),void i.fancybox.animate(c,"fancybox-slide--current",s,function(e){c.removeClass(o).removeAttr("style"),t.pos===l.currPos&&l.complete()},!0)):(h(c),t.$content.removeClass("fancybox-is-hidden"),void(t.pos===l.currPos&&l.complete())))},getThumbPos:function(n){var o,s=!1,a=n.opts.$thumb,r=a?a.offset():0;return r&&a[0].ownerDocument===e&&function(e){for(var n,o=e[0],s=o.getBoundingClientRect(),a=[];null!==o.parentElement;)"hidden"!==i(o.parentElement).css("overflow")&&"auto"!==i(o.parentElement).css("overflow")||a.push(o.parentElement.getBoundingClientRect()),o=o.parentElement;return n=a.every(function(t){var e=Math.min(s.right,t.right)-Math.max(s.left,t.left),i=Math.min(s.bottom,t.bottom)-Math.max(s.top,t.top);return e>0&&i>0}),n&&s.bottom>0&&s.right>0&&s.left<i(t).width()&&s.top<i(t).height()}(a)&&(o=this.$refs.stage.offset(),s={top:r.top-o.top+parseFloat(a.css("border-top-width")||0),left
144:r.left-o.left+parseFloat(a.css("border-left-width")||0),width:a.width(),height:a.height(),scaleX:1,scaleY:1}),s},complete:function(){var t=this,n=t.current,o={};n.isMoved||!n.isLoaded||n.isComplete||(n.isComplete=!0,n.$slide.siblings().trigger("onReset"),h(n.$slide),n.$slide.addClass("fancybox-slide--complete"),i.each(t.slides,function(e,n){n.pos>=t.currPos-1&&n.pos<=t.currPos+1?o[n.pos]=n:n&&(i.fancybox.stop(n.$slide),n.$slide.off().remove())}),t.slides=o,t.updateCursor(),t.trigger("afterShow"),(i(e.activeElement).is("[disabled]")||n.opts.autoFocus&&"image"!=n.type&&"iframe"!==n.type)&&t.focus())},preload:function(){var t,e,i=this;i.group.length<2||(t=i.slides[i.currPos+1],e=i.slides[i.currPos-1],t&&"image"===t.type&&i.loadSlide(t),e&&"image"===e.type&&i.loadSlide(e))},focus:function(){var t,e=this.current;this.isClosing||(e&&e.isComplete&&((t=e.$slide.find("input[autofocus]:enabled:visible:first")).length||(t=e.$slide.find("button,:input,[tabindex],a").filter(":enabled:visible:first"))),(t=t&&t.length?t:this.$refs.container).focus())},activate:function(){var t=this;i(".fancybox-container").each(function(){var e=i(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var n,o,s,a,r,l,h=this,d=h.current,p=function(){h.cleanUp(t)};return!(h.isClosing||(h.isClosing=!0,!1===h.trigger("beforeClose",t)?(h.isClosing=!1,c(function(){h.update()}),1):(h.removeEvents(),d.timouts&&clearTimeout(d.timouts),s=d.$content,n=d.opts.animationEffect,o=i.isNumeric(e)?e:n?d.opts.animationDuration:0,d.$slide.off(u).removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),d.$slide.siblings().trigger("onReset").remove(),o&&h.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing"),h.hideLoading(d),h.hideControls(),h.updateCursor(),"zoom"!==n||!0!==t&&s&&o&&"image"===d.type&&!d.hasError&&(l=h.getThumbPos(d))||(n="fade"),"zoom"===n?(i.fancybox.stop(s),r=i.fancybox.getTranslate(s),r.width=r.width*r.scaleX,r.height=r.height*r.scaleY,a=d.opts.zoomOpacity,"auto"==a&&(a=Math.abs(d.width/d.height-l.width/l.height)>.1),a&&(l.opacity=0),r.scaleX=r.width/l.width,r.scaleY=r.height/l.height,r.width=l.width,r.height=l.height,i.fancybox.setTranslate(d.$content,r),i.fancybox.animate(d.$content,l,o,p),0):(n&&o?!0===t?setTimeout(p,o):i.fancybox.animate(d.$slide.removeClass("fancybox-slide--current"),"fancybox-animated fancybox-slide--previous fancybox-fx-"+n,o,p):p(),0))))},cleanUp:function(t){var n,o,s=this,r=i("body");s.current.$slide.trigger("onReset"),s.$refs.container.empty().remove(),s.trigger("afterClose",t),s.$lastFocus&&s.current.opts.backFocus&&s.$lastFocus.focus(),s.current=null,(n=i.fancybox.getInstance())?n.activate():(a.scrollTop(s.scrollTop).scrollLeft(s.scrollLeft),r.removeClass("fancybox-active compensate-for-scrollbar"),r.hasClass("fancybox-iosfix")&&(o=parseInt(e.body.style.top,10),r.removeClass("fancybox-iosfix").css("top","").scrollTop(-1*o)),i("#fancybox-style-noscroll").remove())},trigger:function(t,e){var n,o=Array.prototype.slice.call(arguments,1),s=this,a=e&&e.opts?e:s.current;return a?o.unshift(a):a=s,o.unshift(s),i.isFunction(a.opts[t])&&(n=a.opts[t].apply(a,o)),!1===n?n:void("afterClose"!==t&&s.$refs?s.$refs.container.trigger(t+".fb",o):r.trigger(t+".fb",o))},updateControls:function(t){var e=this,i=e.current,n=i.index,o=i.opts.caption,s=e.$refs.container,a=e.$refs.caption;i.$slide.trigger("refresh"),e.$caption=o&&o.length?a.html(o):null,e.isHiddenControls||e.isIdle||e.showControls(),s.find("[data-fancybox-count]").html(e.group.length),s.find("[data-fancybox-index]").html(n+1),s.find("[data-fancybox-prev]").prop("disabled",!i.opts.loop&&n<=0),s.find("[data-fancybox-next]").prop("disabled",!i.opts.loop&&n>=e.group.length-1),"image"===i.type?s.find("[data-fancybox-download]").attr("href",i.opts.image.src||i.src).show():s.find("[data-fancybox-download],[data-fancybox-zoom]").hide()}
144,hideControls:function(){this.isHiddenControls=!0,this.$refs.container.removeClass("fancybox-show-infobar fancybox-show-toolbar fancybox-show-caption fancybox-show-nav")},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,i=t.$refs.container;t.isHiddenControls=!1,t.idleSecondsCounter=0,i.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal),t.$caption?i.addClass("fancybox-show-caption "):i.removeClass("fancybox-show-caption")},toggleControls:function(){this.isHiddenControls?this.showControls():this.hideControls()}}),i.fancybox={version:"3.2.3",defaults:s,getInstance:function(t){var e=i('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),n=Array.prototype.slice.call(arguments,1);return e instanceof d&&("string"===i.type(t)?e[t].apply(e,n):"function"===i.type(t)&&t.apply(e,n),e)},open:function(t,e,i){return new d(t,e,i)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close())},destroy:function(){this.close(!0),r.off("click.fb-start")},isMobile:e.createTouch!==n&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var i=e.createElement("div");return t.getComputedStyle&&t.getComputedStyle(i).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;if(!t||!t.length)return!1;if((e=(e=t.eq(0).css("transform"))&&-1!==e.indexOf("matrix")?(e=(e=e.split("(")[1]).split(")")[0]).split(","):[]).length)e=(e=e.length>10?[e[13],e[12],e[0],e[5]]:[e[5],e[4],e[0],e[3]]).map(parseFloat);else{e=[0,0,1,1];var i=/\.*translate\((.*)px,(.*)px\)/i.exec(t.eq(0).attr("style"));i&&(e[0]=parseFloat(i[2]),e[1]=parseFloat(i[1]))}return{top:e[0],left:e[1],scaleX:e[2],scaleY:e[3],opacity:parseFloat(t.css("opacity")),width:t.width(),height:t.height()}},setTranslate:function(t,e){var i="",o={};if(t&&e)return e.left===n&&e.top===n||(i=(e.left===n?t.position().left:e.left)+"px, "+(e.top===n?t.position().top:e.top)+"px",i=this.use3d?"translate3d("+i+", 0px)":"translate("+i+")"),e.scaleX!==n&&e.scaleY!==n&&(i=(i.length?i+" ":"")+"scale("+e.scaleX+", "+e.scaleY+")"),i.length&&(o.transform=i),e.opacity!==n&&(o.opacity=e.opacity),e.width!==n&&(o.width=e.width),e.height!==n&&(o.height=e.height),t.css(o)},animate:function(t,e,o,s,a){i.isFunction(o)&&(s=o,o=null),i.isPlainObject(e)||t.removeAttr("style"),t.on(u||"transitionend",function(o){(!o||!o.originalEvent||t.is(o.originalEvent.target)&&"z-index"!=o.originalEvent.propertyName)&&(i.fancybox.stop(t),i.isPlainObject(e)?e.scaleX!==n&&e.scaleY!==n&&(t.css("transition-duration","0ms"),e.width=Math.round(t.width()*e.scaleX),e.height=Math.round(t.height()*e.scaleY),e.scaleX=1,e.scaleY=1,i.fancybox.setTranslate(t,e)):!0!==a&&t.removeClass(e),i.isFunction(s)&&s(o))}),i.isNumeric(o)&&t.css("transition-duration",o+"ms"),i.isPlainObject(e)?i.fancybox.setTranslate(t,e):t.addClass(e),e.scaleX&&t.hasClass("fancybox-image-wrap")&&t.parent().addClass("fancybox-is-scaling"),t.data("timer",setTimeout(function(){t.trigger("transitionend")},o+16))},stop:function(t){clearTimeout(t.data("timer")),t.off(u||"transitionend"),t.hasClass("fancybox-image-wrap")&&t.parent().removeClass("fancybox-is-scaling")}},i.fn.fancybox=function(t){var e;return(e=(t=t||{}).selector||!1)?i("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},o):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},o),this},r.on("click.fb-start","[data-fancybox]",o)}}(window,document,window.jQuery||jQuery),function(t){"use strict";var e=function(e,i,n){if(e)return n=n||"","object"===t.type(n)&&(n=t.param(n,!0)),t.each(i,function(t,i){e=e.replace("$"+t,i||"")}),n.length&&(e+=(e.indexOf("?")>0?"&":"?")+n),e},i={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"//www.youtube.com/embed/$4",thumb:"//img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1,api:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},metacafe:{matcher:/metacafe.com\/watch\/(\d+)\/(.*)?/,type:"iframe",url:"//www.metacafe.com/embed/$1/?ap=1"},dailymotion:{matcher:/dailymotion.com\/video\/(.*)\/?(.*)/,params:{additionalInfos:0,autoStart:1},type:"iframe",url:"//www.dailymotion.com/embed/video/$1"},vine:{matcher:/vine.co\/v\/([a-zA-Z0-9\?\=\-]+)/,type:"iframe",url:"//vine.co/v/$1/embed/simple"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12])+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}};t(document).on("objectNeedsType.fb",function(n,o,s){var a,r,l,c,u,h,d=s.src||"",p=!1;a=t.extend(!0,{},i,s.opts.media),t.each(a,function(i,n){if(l=d.match(n.matcher)){if(p=n.type,h={},n.paramPlace&&l[n.paramPlace]){"?"==(u=l[n.paramPlace])[0]&&(u=u.substring(1)),u=u.split("&");for(var o=0;o<u.length;++o){var a=u[o].split("=",2);2==a.length&&(h[a[0]]=decodeURIComponent(a[1].replace(/\+/g," ")))}}return c=t.extend(!0,{},n.params,s.opts[i],h),d="function"===t.type(n.url)?n.url.call(this,l,c,s):e(n.url,l,c),r="function"===t.type(n.thumb)?n.thumb.call(this,l,c,s):e(n.thumb,l),"vimeo"===i&&(d=d.replace("&%23","#")),!1}}),p?(s.src=d,s.type=p,s.opts.thumb||s.opts.$thumb&&s.opts.$thumb.length||(s.opts.thumb=r),"iframe"===p&&(t.extend(!0,s.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}}),s.contentProvider=void 0,s.opts.slideClass+=" fancybox-slide--video")):d&&(s.type=s.opts.defaultType)})}
144(window.jQuery||jQuery),function(t,e,i){"use strict";var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},o=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)},s=function(e){var i=[];for(var n in e=(e=e.originalEvent||e||t.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e])e[n].pageX?i.push({x:e[n].pageX,y:e[n].pageY}):e[n].clientX&&i.push({x:e[n].clientX,y:e[n].clientY});return i},a=function(t,e,i){return e&&t?"x"===i?t.x-e.x:"y"===i?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},r=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea')||i.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,n=t[0].attributes,o=n.length;e<o;e++)if("data-fancybox-"===n[e].nodeName.substr(0,14))return!0;return!1},l=function(e){var i=t.getComputedStyle(e)["overflow-y"],n=t.getComputedStyle(e)["overflow-x"],o=("scroll"===i||"auto"===i)&&e.scrollHeight>e.clientHeight,s=("scroll"===n||"auto"===n)&&e.scrollWidth>e.clientWidth;return o||s},c=function(t){for(var e=!1;!(e=l(t.get(0)))&&(t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body"););return e},u=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",i.proxy(e,"ontouchstart"))};u.prototype.destroy=function(){this.$container.off(".fb.touch")},u.prototype.ontouchstart=function(n){var o=this,l=i(n.target),u=o.instance,h=u.current,d=h.$content,p="touchstart"==n.type;if(p&&o.$container.off("mousedown.fb.touch"),!h||o.instance.isAnimating||o.instance.isClosing)return n.stopPropagation(),void n.preventDefault();if((!n.originalEvent||2!=n.originalEvent.button)&&l.length&&!r(l)&&!r(l.parent())&&!(n.originalEvent.clientX>l[0].clientWidth+l.offset().left)&&(o.startPoints=s(n),o.startPoints&&!(o.startPoints.length>1&&u.isSliding))){if(o.$target=l,o.$content=d,o.canTap=!0,o.opts=h.opts.touch,i(e).off(".fb.touch"),i(e).on(p?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",i.proxy(o,"ontouchend")),i(e).on(p?"touchmove.fb.touch":"mousemove.fb.touch",i.proxy(o,"ontouchmove")),!o.opts&&!u.canPan()||!l.is(o.$stage)&&!o.$stage.find(l).length)return void(l.is("img")&&n.preventDefault());n.stopPropagation(),i.fancybox.isMobile&&(c(o.$target)||c(o.$target.parent()))||n.preventDefault(),o.canvasWidth=Math.round(h.$slide[0].clientWidth),o.canvasHeight=Math.round(h.$slide[0].clientHeight),o.startTime=(new Date).getTime(),o.distanceX=o.distanceY=o.distance=0,o.isPanning=!1,o.isSwiping=!1,o.isZooming=!1,o.sliderStartPos=o.sliderLastPos||{top:0,left:0},o.contentStartPos=i.fancybox.getTranslate(o.$content),o.contentLastPos=null,1!==o.startPoints.length||o.isZooming||(o.canTap=!u.isSliding,"image"===h.type&&(o.contentStartPos.width>o.canvasWidth+1||o.contentStartPos.height>o.canvasHeight+1)?(i.fancybox.stop(o.$content),o.$content.css("transition-duration","0ms"),o.isPanning=!0):o.isSwiping=!0,o.$container.addClass("fancybox-controls--isGrabbing")),2!==o.startPoints.length||u.isAnimating||h.hasError||"image"!==h.type||!h.isLoaded&&!h.$ghost||(o.isZooming=!0,o.isSwiping=!1,o.isPanning=!1,i.fancybox.stop(o.$content),o.$content.css("transition-duration","0ms"),o.centerPointStartX=.5*(o.startPoints[0].x+o.startPoints[1].x)-i(t).scrollLeft(),o.centerPointStartY=.5*(o.startPoints[0].y+o.startPoints[1].y)-i(t).scrollTop(),o.percentageOfImageAtPinchPointX=(o.centerPointStartX-o.contentStartPos.left)/o.contentStartPos.width,o.percentageOfImageAtPinchPointY=(o.centerPointStartY-o.contentStartPos.top)/o.contentStartPos.height,o.startDistanceBetweenFingers=a(o.startPoints[0],o.startPoints[1]))}},u.prototype.ontouchmove=function(t){var e=this;if(e.newPoints=s(t),i.fancybox.isMobile&&(c(e.$target)||c(e.$target.parent())))return t.stopPropagation(),void(e.canTap=!1);if((e.opts||e.instance.canPan())&&e.newPoints&&e.newPoints.length&&(e.distanceX=a(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=a(e.newPoints[0],e.startPoints[0],"y"),e.distance=a(e.newPoints[0],e.startPoints[0]),e.distance>
1440)){if(!e.$target.is(e.$stage)&&!e.$stage.find(e.$target).length)return;t.stopPropagation(),t.preventDefault(),e.isSwiping?e.onSwipe():e.isPanning?e.onPan():e.isZooming&&e.onZoom()}},u.prototype.onSwipe=function(){var e,s=this,a=s.isSwiping,r=s.sliderStartPos.left||0;!0===a?Math.abs(s.distance)>10&&(s.canTap=!1,s.instance.group.length<2&&s.opts.vertical?s.isSwiping="y":s.instance.isSliding||!1===s.opts.vertical||"auto"===s.opts.vertical&&i(t).width()>800?s.isSwiping="x":(e=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=e>45&&e<135?"y":"x"),s.instance.isSliding=s.isSwiping,s.startPoints=s.newPoints,i.each(s.instance.slides,function(t,e){i.fancybox.stop(e.$slide),e.$slide.css("transition-duration","0ms"),e.inTransition=!1,e.pos===s.instance.current.pos&&(s.sliderStartPos.left=i.fancybox.getTranslate(e.$slide).left)}),s.instance.SlideShow&&s.instance.SlideShow.isActive&&s.instance.SlideShow.stop()):("x"==a&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?r+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?r-=Math.pow(-s.distanceX,.8):r+=s.distanceX),s.sliderLastPos={top:"x"==a?0:s.sliderStartPos.top+s.distanceY,left:r},s.requestId&&(o(s.requestId),s.requestId=null),s.requestId=n(function(){s.sliderLastPos&&(i.each(s.instance.slides,function(t,e){var n=e.pos-s.instance.currPos;
144i.fancybox.setTranslate(e.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+n*s.canvasWidth+n*e.opts.gutter})}),s.$container.addClass("fancybox-is-sliding"))}))},u.prototype.onPan=function(){var t,e,s,a=this;a.canTap=!1,t=a.contentStartPos.width>a.canvasWidth?a.contentStartPos.left+a.distanceX:a.contentStartPos.left,e=a.contentStartPos.top+a.distanceY,(s=a.limitMovement(t,e,a.contentStartPos.width,a.contentStartPos.height)).scaleX=a.contentStartPos.scaleX,s.scaleY=a.contentStartPos.scaleY,a.contentLastPos=s,a.requestId&&(o(a.requestId),a.requestId=null),a.requestId=n(function(){i.fancybox.setTranslate(a.$content,a.contentLastPos)})},u.prototype.limitMovement=function(t,e,i,n){var o,s,a,r,l=this,c=l.canvasWidth,u=l.canvasHeight,h=l.contentStartPos.left,d=l.contentStartPos.top,p=l.distanceX,f=l.distanceY;return o=Math.max(0,.5*c-.5*i),s=Math.max(0,.5*u-.5*n),a=Math.min(c-i,.5*c-.5*i),r=Math.min(u-n,.5*u-.5*n),i>c&&(p>0&&t>o&&(t=o-1+Math.pow(-o+h+p,.8)||0),p<0&&t<a&&(t=a+1-Math.pow(a-h-p,.8)||0)),n>u&&(f>0&&e>s&&(e=s-1+Math.pow(-s+d+f,.8)||0),f<0&&e<r&&(e=r+1-Math.pow(r-d-f,.8)||0)),{top:e,left:t}},u.prototype.limitPosition=function(t,e,i,n){var o=this.canvasWidth,s=this.canvasHeight;return t=i>o?(t=t>0?0:t)<o-i?o-i:t:Math.max(0,o/2-i/2),{top:e=n>s?(e=e>0?0:e)<s-n?s-n:e:Math.max(0,s/2-n/2),left:t}},u.prototype.onZoom=function(){var e=this,s=e.contentStartPos.width,r=e.contentStartPos.height,l=e.contentStartPos.left,c=e.contentStartPos.top,u=a(e.newPoints[0],e.newPoints[1])/e.startDistanceBetweenFingers,h=Math.floor(s*u),d=Math.floor(r*u),p=(s-h)*e.percentageOfImageAtPinchPointX,f=(r-d)*e.percentageOfImageAtPinchPointY,m=(e.newPoints[0].x+e.newPoints[1].x)/2-i(t).scrollLeft(),g=(e.newPoints[0].y+e.newPoints[1].y)/2-i(t).scrollTop(),v=m-e.centerPointStartX,b={top:c+(f+(g-e.centerPointStartY)),left:l+(p+v),scaleX:e.contentStartPos.scaleX*u,scaleY:e.contentStartPos.scaleY*u};e.canTap=!1,e.newWidth=h,e.newHeight=d,e.contentLastPos=b,e.requestId&&(o(e.requestId),e.requestId=null),e.requestId=n(function(){i.fancybox.setTranslate(e.$content,e.contentLastPos)})},u.prototype.ontouchend=function(t){var n=this,a=Math.max((new Date).getTime()-n.startTime,1),r=n.isSwiping,l=n.isPanning,c=n.isZooming;return n.endPoints=s(t),n.$container.removeClass("fancybox-controls--isGrabbing"),i(e).off(".fb.touch"),n.requestId&&(o(n.requestId),n.requestId=null),n.isSwiping=!1,n.isPanning=!1,n.isZooming=!1,n.canTap?n.onTap(t):(n.speed=366,n.velocityX=n.distanceX/a*.5,n.velocityY=n.distanceY/a*.5,n.speedX=Math.max(.5*n.speed,Math.min(1.5*n.speed,1/Math.abs(n.velocityX)*n.speed)),void(l?n.endPanning():c?n.endZooming():n.endSwiping(r)))},u.prototype.endSwiping=function(t){var e=this,n=!1;e.instance.isSliding=!1,e.sliderLastPos=null,"y"==t&&Math.abs(e.distanceY)>50?(i.fancybox.animate(e.instance.current.$slide,{top:e.sliderStartPos.top+e.distanceY+150*e.velocityY,opacity:0},150),n=e.instance.close(!0,300)):"x"==t&&e.distanceX>50&&e.instance.group.length>1?n=e.instance.previous(e.speedX):"x"==t&&e.distanceX<-50&&e.instance.group.length>1&&(n=e.instance.next(e.speedX)),!1!==n||"x"!=t&&"y"!=t||e.instance.jumpTo(e.instance.current.index,150),e.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var t,e,n,o=this;o.contentLastPos&&(!1===o.opts.momentum?(t=o.contentLastPos.left,e=o.contentLastPos.top):(t=o.contentLastPos.left+o.velocityX*o.speed,e=o.contentLastPos.top+o.velocityY*o.speed),(n=o.limitPosition(t,e,o.contentStartPos.width,o.contentStartPos.height)).width=o.contentStartPos.width,n.height=o.contentStartPos.height,i.fancybox.animate(o.$content,n,330))},u.prototype.endZooming=function(){var t,e,n,o,s=this,a=s.instance.current,r=s.newWidth,l=s.newHeight;s.contentLastPos&&(t=s.contentLastPos.left,o={top:e=s.contentLastPos.top,left
144:t,width:r,height:l,scaleX:1,scaleY:1},i.fancybox.setTranslate(s.$content,o),r<s.canvasWidth&&l<s.canvasHeight?s.instance.scaleToFit(150):r>a.width||l>a.height?s.instance.scaleToActual(s.centerPointStartX,s.centerPointStartY,150):(n=s.limitPosition(t,e,r,l),i.fancybox.setTranslate(s.content,i.fancybox.getTranslate(s.$content)),i.fancybox.animate(s.$content,n,150)))},u.prototype.onTap=function(t){var e,n=this,o=i(t.target),a=n.instance,r=a.current,l=t&&s(t)||n.startPoints,c=l[0]?l[0].x-n.$stage.offset().left:0,u=l[0]?l[0].y-n.$stage.offset().top:0,h=function(e){var o=r.opts[e];if(i.isFunction(o)&&(o=o.apply(a,[r,t])),o)switch(o){case"close":a.close(n.startEvent);break;case"toggleControls":a.toggleControls(!0);break;case"next":a.next();break;case"nextOrClose":a.group.length>1?a.next():a.close(n.startEvent);break;case"zoom":"image"==r.type&&(r.isLoaded||r.$ghost)&&(a.canPan()?a.scaleToFit():a.isScaledDown()?a.scaleToActual(c,u):a.group.length<2&&a.close(n.startEvent))}};if(!(t.originalEvent&&2==t.originalEvent.button||a.isSliding||c>o[0].clientWidth+o.offset().left)){if(o.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))e="Outside";else if(o.is(".fancybox-slide"))e="Slide";else{if(!a.current.$content||!a.current.$content.has(t.target).length)return;e="Content"}if(n.tapped){if(clearTimeout(n.tapped),n.tapped=null,Math.abs(c-n.tapX)>50||Math.abs(u-n.tapY)>50||a.isSliding)return this;h("dblclick"+e)}else n.tapX=c,n.tapY=u,r.opts["dblclick"+e]&&r.opts["dblclick"+e]!==r.opts["click"+e]?n.tapped=setTimeout(function(){n.tapped=null,h("click"+e)},300):h("click"+e);return this}},i(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new u(e))}),i(e).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,window.jQuery||jQuery),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg viewBox="0 0 40 40"><path d="M13,12 L27,20 L13,27 Z" /><path d="M15,10 v19 M23,10 v19" /></svg></button>'},slideShow:{autoStart:!1,speed:3e3}});var i=function(t){this.instance=t,this.init()};e.extend(i.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this;t.$button=t.instance.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),(t.instance.group.length<2||!t.instance.group[t.instance.currIndex].opts.slideShow)&&t.$button.hide()},set:function(t){var e=this;e.instance&&e.instance.current&&(!0===t||e.instance.current.opts.loop||e.instance.currIndex<e.instance.group.length-1)?e.timer=setTimeout(function(){e.isActive&&e.instance.jumpTo((e.instance.currIndex+1)%e.instance.group.length)},e.instance.current.opts.slideShow.speed):(e.stop(),e.instance.idleSecondsCounter=0,e.instance.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null},start:function(){var t=this,e=t.instance.current;e&&(t.isActive=!0,t.$button.attr("title",e.opts.i18n[e.opts.lang].PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),t.set(!0))},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",e.opts.i18n[e.opts.lang].PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),t.isActive=!1},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new i(e))},"beforeShow.fb":function(t,e,i,n){var o=e&&e.SlideShow;n?o&&i.opts.slideShow.autoStart&&o.start():o&&o.isActive&&o.clear()},"afterShow.fb":function(t,e,i){var n=e&&e.SlideShow;n&&n.isActive&&n.set()},"afterKeydown.fb":function(i,n,o,s,a){var r=n&&n.SlideShow;!r||!o.opts.slideShow||80!==a&&32!==a||e(t.activeElement).is("button,a,input")||(s.preventDefault(),r.toggle(
144))},"beforeClose.fb onDeactivate.fb":function(t,e){var i=e&&e.SlideShow;i&&i.stop()}}),e(t).on("visibilitychange",function(){var i=e.fancybox.getInstance(),n=i&&i.SlideShow;n&&n.isActive&&(t.hidden?n.clear():n.set())})}(document,window.jQuery||jQuery),function(t,e){"use strict";var i=function(){var e,i,n,o=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],s={};for(i=0;i<o.length;i++)if((e=o[i])&&e[1]in t){for(n=0;n<e.length;n++)s[o[0][n]]=e[n];return s}return!1}();if(i){var n={request:function(e){(e=e||t.documentElement)[i.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[i.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[i.fullscreenElement])},enabled:function(){return Boolean(t[i.fullscreenEnabled])}};e.extend(!0,e.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fullscreen" title="{{FULL_SCREEN}}"><svg viewBox="0 0 40 40"><path d="M9,12 h22 v16 h-22 v-16 v16 h22 v-16 Z" /></svg></button>'},fullScreen:{autoStart:!1}}),e(t).on({"onInit.fb":function(t,e){var i;e&&e.group[e.currIndex].opts.fullScreen?((i=e.$refs.container).on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),n.toggle(i[0])}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&n.request(i[0]),e.FullScreen=n):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()},"afterKeydown.fb":function(t,e,i,n,o){e&&e.FullScreen&&70===o&&(n.preventDefault(),e.FullScreen.toggle(e.$refs.container[0]))},"beforeClose.fb":function(t){t&&t.FullScreen&&n.exit()}}),e(t).on(i.fullscreenchange,function(){var t=n.isFullscreen(),i=e.fancybox.getInstance();i&&(i.current&&"image"===i.current.type&&i.isAnimating&&(i.current.$content.css("transition","none"),i.isAnimating=!1,i.update(!0,!0,0)),i.trigger("onFullscreenChange",t),i.$refs.container.toggleClass("fancybox-is-fullscreen",t))})}else e&&e.fancybox&&(e.fancybox.defaults.btnTpl.fullScreen=!1)}(document,window.jQuery||jQuery),function(t,e){"use strict";e.fancybox.defaults=e.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg viewBox="0 0 120 120"><path d="M30,30 h14 v14 h-14 Z M50,30 h14 v14 h-14 Z M70,30 h14 v14 h-14 Z M30,50 h14 v14 h-14 Z M50,50 h14 v14 h-14 Z M70,50 h14 v14 h-14 Z M30,70 h14 v14 h-14 Z M50,70 h14 v14 h-14 Z M70,70 h14 v14 h-14 Z" /></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},e.fancybox.defaults);var i=function(t){this.init(t)};e.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this;e.instance=t,t.Thumbs=e;var i=t.group[0],n=t.group[1];e.opts=t.group[t.currIndex].opts.thumbs,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]"),e.opts&&i&&n&&("image"==i.type||i.opts.thumb||i.opts.$thumb)&&("image"==n.type||n.opts.thumb||n.opts.$thumb)?(e.$button.show().on("click",function(){e.toggle()}),e.isActive=!0):e.$button.hide()},create:function(){var t,i,n=this,o=n.instance,s=n.opts.parentEl;n.$grid=e('<div class="fancybox-thumbs fancybox-thumbs-'+n.opts.axis+'"></div>').appendTo(o.$refs.container.find(s).addBack().filter(s)),t="<ul>",e.each(o.group,function(e,n){(i=n.opts.thumb||(n.opts.$thumb?n.opts.$thumb.attr("src"):null))||"image"!==n.type||(i=n.src),i&&i.length&&(t+='<li data-index="'+e+'" tabindex="0" class="fancybox-thumbs-loading"><img data-src="'+i+'" /></li>')}),t+="</ul>",n.$list=e(t).appendTo(n.$grid).on("click","li",function(){o.jumpTo(e(this).data("index"))}),n.$list.find("img").hide().one("load",function(){var t,i,n,o,s=e(this).parent().removeClass("fancybox-thumbs-loading"),a=s.outerWidth(),r=s.outerHeight();
144t=this.naturalWidth||this.width,o=(i=this.naturalHeight||this.height)/r,(n=t/a)>=1&&o>=1&&(n>o?(t/=o,i=r):(t=a,i/=n)),e(this).css({width:Math.floor(t),height:Math.floor(i),"margin-top":i>r?Math.floor(.3*r-.3*i):Math.floor(.5*r-.5*i),"margin-left":Math.floor(.5*a-.5*t)}).show()}).each(function(){this.src=e(this).data("src")}),"x"===n.opts.axis&&n.$list.width(parseInt(n.$grid.css("padding-right"))+o.group.length*n.$list.children().eq(0).outerWidth(!0)+"px")},focus:function(t){var e,i,n=this,o=n.$list;n.instance.current&&(i=(e=o.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+n.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===n.opts.axis&&(i.top<0||i.top>o.height()-e.outerHeight())?o.stop().animate({scrollTop:o.scrollTop()+i.top},t):"x"===n.opts.axis&&(i.left<o.parent().scrollLeft()||i.left>o.parent().scrollLeft()+(o.parent().width()-e.outerWidth()))&&o.parent().stop().animate({scrollLeft:i.left},t))},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus(0)):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){var n;e&&!e.Thumbs&&(n=new i(e)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(t,e,i,n){var o=e&&e.Thumbs;o&&o.isVisible&&o.focus(n?0:250)},"afterKeydown.fb":function(t,e,i,n,o){var s=e&&e.Thumbs;s&&s.isActive&&71===o&&(n.preventDefault(),s.toggle())},"beforeClose.fb":function(t,e){var i=e&&e.Thumbs;i&&i.isVisible&&!1!==i.opts.hideOnClose&&i.$grid.hide()}})}(document,window.jQuery),function(t,e){"use strict";e.extend(!0,e.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg viewBox="0 0 40 40"><path d="M6,30 C8,18 19,16 23,16 L23,16 L23,10 L33,20 L23,29 L23,24 C19,24 8,27 6,30 Z"></svg></button>'},share:{tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a href="https://www.facebook.com/sharer/sharer.php?u={{src}}" target="_blank" class="fancybox-share_button"><svg version="1.1" viewBox="0 0 32 32" fill="#3b5998"><path d="M27.6 3h-23.2c-.8 0-1.4.6-1.4 1.4v23.1c0 .9.6 1.5 1.4 1.5h12.5v-10.1h-3.4v-3.9h3.4v-2.9c0-3.4 2.1-5.2 5-5.2 1.4 0 2.7.1 3 .2v3.5h-2.1c-1.6 0-1.9.8-1.9 1.9v2.5h3.9l-.5 3.9h-3.4v10.1h6.6c.8 0 1.4-.6 1.4-1.4v-23.2c.1-.8-.5-1.4-1.3-1.4z"></path></svg><span>Facebook</span></a><a href="https://www.pinterest.com/pin/create/button/?url={{src}}&description={{descr}}" target="_blank" class="fancybox-share_button"><svg version="1.1" viewBox="0 0 32 32" fill="#c92228"><path d="M16 3c-7.2 0-13 5.8-13 13 0 5.5 3.4 10.2 8.3 12.1-.1-1-.2-2.6 0-3.7.2-1 1.5-6.5 1.5-6.5s-.4-.8-.4-1.9c0-1.8 1-3.2 2.4-3.2 1.1 0 1.6.8 1.6 1.8 0 1.1-.7 2.8-1.1 4.3-.3 1.3.6 2.3 1.9 2.3 2.3 0 4.1-2.4 4.1-6 0-3.1-2.2-5.3-5.4-5.3-3.7 0-5.9 2.8-5.9 5.6 0 1.1.4 2.3 1 3 .1.1.1.2.1.4-.1.4-.3 1.3-.4 1.5-.1.2-.2.3-.4.2-1.6-.8-2.6-3.1-2.6-5 0-4.1 3-7.9 8.6-7.9 4.5 0 8 3.2 8 7.5 0 4.5-2.8 8.1-6.7 8.1-1.3 0-2.6-.7-3-1.5 0 0-.7 2.5-.8 3.1-.3 1.1-1.1 2.5-1.6 3.4 1.2.4 2.5.6 3.8.6 7.2 0 13-5.8 13-13 0-7.1-5.8-12.9-13-12.9z"></path></svg><span>Pinterest</span></a><a href="https://twitter.com/intent/tweet?url={{src}}&text={{descr}}" target="_blank" class="fancybox-share_button"><svg version="1.1" viewBox="0 0 32 32" fill="#1da1f2"><path d="M30 7.3c-1 .5-2.1.8-3.3.9 1.2-.7 2.1-1.8 2.5-3.2-1.1.7-2.3 1.1-3.6 1.4-1-1.1-2.5-1.8-4.2-1.8-3.2 0-5.7 2.6-5.7 5.7 0 .5.1.9.1 1.3-4.8-.2-9-2.5-11.8-6-.5.9-.8 1.9-.8 3 0 2 1 3.8 2.6 4.8-.9 0-1.8-.3-2.6-.7v.1c0 2.8 2 5.1 4.6 5.6-.5.1-1 .2-1.5.2-.4 0-.7 0-1.1-.1.7 2.3 2.9 3.9 5.4 4-2 1.5-4.4 2.5-7.1 2.5-.5 0-.9 0-1.4-.1 2.5 1.6 5.6 2.6 8.8 2.6 10.6 0 16.3-8.8 16.3-16.3v-.7c1.1-1 2-2 2.8-3.2z"></path></svg><span>Twitter</span></a></p><p><input type="text" value="{{src_raw}}" onfocus="this.select()" /></p></div>'}}),e(t).on("click","[data-fancybox-share]",function(){var t,i,n=e.fancybox.getInstance();n&&(t=!1===n.current.opts.hash?n.current.src:window.location,i=n.current.opts.share.tpl.replace(/\{\{src\}\}/g,encodeURIComponent(t)).replace(/\{\{src_raw\}\}/g,t).replace(/\{\{descr\}\}/g,n.$caption?encodeURIComponent(n.$caption.text()):""),e.fancybox.open({src:n.translate(n,i),type:"html",opts:{animationEffect:"fade",animationDuration:250}}))})}
144(document,window.jQuery||jQuery),function(t,e,i){"use strict";function n(){var t=e.location.hash.substr(1),i=t.split("-"),n=i.length>1&&/^\+?\d+$/.test(i[i.length-1])&&parseInt(i.pop(-1),10)||1;return n<1&&(n=1),{hash:t,index:n,gallery:i.join("-")}}function o(t){var e;""!==t.gallery&&((e=i("[data-fancybox='"+i.escapeSelector(t.gallery)+"']").eq(t.index-1)).length||(e=i("#"+i.escapeSelector(t.gallery))),e.length&&(a=!1,e.trigger("click")))}function s(t){var e;return!!t&&((e=t.current?t.current.opts:t.opts).hash||(e.$orig?e.$orig.data("fancybox"):""))}i.escapeSelector||(i.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})});var a=!0,r=null,l=null;i(function(){!1!==i.fancybox.defaults.hash&&(i(t).on({"onInit.fb":function(t,e){var i,o;!1!==e.group[e.currIndex].opts.hash&&(i=n(),(o=s(e))&&i.gallery&&o==i.gallery&&(e.currIndex=i.index-1))},"beforeShow.fb":function(i,n,o){var c;o&&!1!==o.opts.hash&&(c=s(n))&&""!==c&&(e.location.hash.indexOf(c)<0&&(n.opts.origHash=e.location.hash),r=c+(n.group.length>1?"-"+(o.index+1):""),"replaceState"in e.history?(l&&clearTimeout(l),l=setTimeout(function(){e.history[a?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+r),l=null,a=!1},300)):e.location.hash=r)},"beforeClose.fb":function(n,o,a){var c,u;l&&clearTimeout(l),!1!==a.opts.hash&&(c=s(o),u=o&&o.opts.origHash?o.opts.origHash:"",c&&""!==c&&("replaceState"in history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+u):(e.location.hash=u,i(e).scrollTop(o.scrollTop).scrollLeft(o.scrollLeft))),r=null)}}),i(e).on("hashchange.fb",function(){var t=n();i.fancybox.getInstance()?!r||r===t.gallery+"-"+t.index||1===t.index&&r==t.gallery||(r=null,i.fancybox.close()):""!==t.gallery&&o(t)}),setTimeout(function(){o(n())},50))})}(document,window,window.jQuery||jQuery),jQuery.extend(jQuery.fancybox.defaults,{buttons:["close"],animationEffect:"fade"}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(t){function e(t){return a.raw?t:encodeURIComponent(t)}function i(t){return a.raw?t:decodeURIComponent(t)}function n(t){return e(a.json?JSON.stringify(t):String(t))}function o(e,i){var n=a.raw?e:function(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(s," ")),a.json?JSON.parse(t):t}catch(t){}}(e);return t.isFunction(i)?i(n):n}var s=/\+/g,a=t.cookie=function(s,r,l){if(void 0!==r&&!t.isFunction(r)){if("number"==typeof(l=t.extend({},a.defaults,l)).expires){var c=l.expires,u=l.expires=new Date;u.setTime(+u+864e5*c)}return document.cookie=[e(s),"=",n(r),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var h=s?void 0:{},d=document.cookie?document.cookie.split("; "):[],p=0,f=d.length;f>p;p++){var m=d[p].split("="),g=i(m.shift()),v=m.join("=");if(s&&s===g){h=o(v,r);break}s||void 0===(v=o(v))||(h[g]=v)}return h};a.defaults={},t.removeCookie=function(e,i){return void 0!==t.cookie(e)&&(t.cookie(e,"",t.extend({},i,{expires:-1})),!t.cookie(e))}}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){"use strict";t.ui=t.ui||{},t.ui.version="1.13.2";var e,i=0,n=Array.prototype.hasOwnProperty,o=Array.prototype.slice;t.cleanData=(e=t.cleanData,function(i){var n,o,s;for(s=0;null!=(o=i[s]);s++)(n=t._data(o,"events"))&&n.remove&&t(o).triggerHandler("remove");e(i)}),t.widget=function(e,i,n){var o,s,a,r={},l=e.split(".")[0],c=l+"-"+(e=e.split(".")[1]);return n||(n=i,i=t.Widget),Array.isArray(n)&&(n=t.extend.apply(null,[{}].concat(n))),t.expr.pseudos[c.toLowerCase()]=function(e){return!!t.data(e,c)},t[l]=t[l]||{},o=t[l][e],s=t[l][e]=function(t,e){if(!this||!this._createWidget)return new s(t,e);arguments.length&&this._createWidget(t,e)},t.extend(s,o,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),(a=new i).options=t.widget.extend({},a.options),t.each(n,function(t,e){r[t]="function"==typeof e?function(){function n(){return i.prototype[t].apply(this,arguments)}function o(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,s=this._superApply;return this._super=n,this._superApply=o,t=e.apply(this,arguments),this._super=i,this._superApply=s,t}}():e}),s.prototype=t.widget.extend(a,{widgetEventPrefix:o&&a.widgetEventPrefix||e},r,{constructor:s,namespace:l,widgetName:e,widgetFullName:c}),o?(t.each(o._childConstructors,function(e,i){var n=i.prototype;t.widget(n.namespace+"."+n.widgetName,s,i._proto)}),delete o._childConstructors):i._childConstructors.push(s),t.widget.bridge(e,s),s}
vendor: 1,157 bytes, line 144
144,t.widget.extend=function(e){for(var i,s,a=o.call(arguments,1),r=0,l=a.length;r<l;r++)for(i in a[r])s=a[r][i],n.call(a[r],i)&&void 0!==s&&(t.isPlainObject(s)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],s):t.widget.extend({},s):e[i]=s);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(s){var a="string"==typeof s,r=o.call(arguments,1),l=this;return a?this.length||"instance"!==s?this.each(function(){var i,o=t.data(this,n);return"instance"===s?(l=o,!1):o?"function"!=typeof o[s]||"_"===s.charAt(0)?t.error("no such method '"+s+"' for "+e+" widget instance"):(i=o[s].apply(o,r))!==o&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+s+"'")}):l=void 0:(r.length&&(s=t.widget.extend.apply(null,[s].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(s||{}),e._init&&e._init()):t.data(this,n,new i(s,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null}
vendor: 4,217 bytes, line 144
144,_createWidget:function(e,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var n,o,s,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},n=e.split("."),e=n.shift(),n.length){for(o=a[e]=t.widget.extend({},this.options[e]),s=0;s<n.length-1;s++)o[n[s]]=o[n[s]]||{},o=o[n[s]];if(e=n.pop(),1===arguments.length)return void 0===o[e]?null:o[e];o[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,n,o;for(i in e)o=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&o&&o.length&&(n=t(o.get()),this._removeClass(o,i),n.addClass(this._classes({element:n,keys:i,classes:e,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(e){var i=[],n=this;function o(){var i=[];e.element.each(function(e,o){t.map(n.classesElementLookup,function(t){return t}).some(function(t){return t.is(o)})||i.push(o)}),n._on(t(i),{remove:"_untrackClassesElement"})}function s(s,a){var r,l;for(l=0;l<s.length;l++)r=n.classesElementLookup[s[l]]||t(),e.add?(o(),r=t(t.uniqueSort(r.get().concat(e.element.get())))):r=t(r.not(e.element).get()),n.classesElementLookup[s[l]]=r,i.push(s[l]),a&&e.classes[s[l]]&&i.push(e.classes[s[l]])}return(e=t.extend({element:this.element,classes:this.options.classes||{}},e)).keys&&s(e.keys.match(/\S+/g)||[],!0),e.extra&&s(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(n,o){-1!==t.inArray(e.target,o)&&(i.classesElementLookup[n]=t(o.not(e.target).get()))}),this._off(t(e.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){n="boolean"==typeof n?n:i;var o="string"==typeof t||null===t,s={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n};return s.element.toggleClass(this._classes(s),n),this},_on:function(e,i,n){var o,s=this;"boolean"!=typeof e&&(n=i,i=e,e=!1),n?(i=o=t(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,o=this.widget()),t.each(n,function(n,a){function r(){if(e||!0!==s.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof a?s[a]:a).apply(s,arguments)}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),c=l[1]+s.eventNamespace,u=l[2];u?o.on(c,u,r):i.on(c,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t
vendor: 5,805 bytes, line 144
144(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).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(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,n){var o,s,a=this.options[e];if(n=n||{},(i=t.Event(i)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],s=i.originalEvent)for(o in s)o in i||(i[o]=s[o]);return this.element.trigger(i,n),!("function"==typeof a&&!1===a.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(n,o,s){var a;"string"==typeof o&&(o={effect:o});var r=o?!0===o||"number"==typeof o?i:o.effect||i:e;"number"==typeof(o=o||{})?o={duration:o}:!0===o&&(o={}),a=!t.isEmptyObject(o),o.complete=s,o.delay&&n.delay(o.delay),a&&t.effects&&t.effects.effect[r]?n[e](o):r!==e&&n[r]?n[r](o.duration,o.easing,s):n.queue(function(i){t(this)[e](),s&&s.call(n[0]),i()})}}),t.widget,function(){var e,i=Math.max,n=Math.abs,o=/left|center|right/,s=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,r=/^\w+/,l=/%$/,c=t.fn.position;function u(t,e,i){return[parseFloat(t[0])*(l.test(t[0])?e/100:1),parseFloat(t[1])*(l.test(t[1])?i/100:1)]}function h(e,i){return parseInt(t.css(e,i),10)||0}function d(t){return null!=t&&t===t.window}t.position={scrollbarWidth:function(){if(void 0!==e)return e;var i,n,o=t("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),s=o.children()[0];return t("body").append(o),i=s.offsetWidth,o.css("overflow","scroll"),i===(n=s.offsetWidth)&&(n=o[0].clientWidth),o.remove(),e=i-n},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),o="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth;return{width:"scroll"===n||"auto"===n&&e.height<e.element[0].scrollHeight?t.position.scrollbarWidth():0,height:o?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),n=d(i[0]),o=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:n,isDocument:o,offset:n||o?{left:0,top:0}:t(e).offset(),scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return c.apply(this,arguments);var l,p,f,m,g,v,b,_,y="string"==typeof(e=t.extend({},e)).of?t(document).find(e.of):t(e.of),w=t.position.getWithinInfo(e.within),C=t.position.getScrollInfo(w),x=(e.collision||"flip").split(" "),k={};return v=9===(_=(b=y)[0]).nodeType?{width:b.width(),height:b.height(),offset:{top:0,left:0}}:d(_)?{width:b.width(),height:b.height(),offset:{top:b.scrollTop(),left:b.scrollLeft()}}:_.preventDefault?{width:0,height:0,offset:{top:_.pageY,left:_.pageX}}:{width:b.outerWidth(),height:b.outerHeight(),offset:b.offset()},y[0].preventDefault&&(e.at="left top"),p=v.width,f=v.height,m=v.offset,g=t.extend({},m),t.each(["my","at"],function(){var t,i,n=(e[this]||"").split(" ");1===n.length&&(n=o.test(n[0])?n.concat(["center"]):s.test(n[0])?["center"].concat(n):["center","center"]),n[0]=o.test(n[0])?n[0]:"center",n[1]=s.test(n[1])?n[1]:"center",t=a.exec(n[0]),i=a.exec(n[1]),k[this]=[t?t[0]:0,i?i[0]:0],e[this]=[r.exec(n[0])[0],r.exec(n[1])[0]]}),1===x.length&&(x[1]=x[0]),"right"===e.at[0]?g.left+=p:"center"===e.at[0]&&(g.left+=p/2),"bottom"===e.at[1]?g.top+=f:"center"===e.at[1]&&(g.top+=f/2),l=u(k.at,p,f),g.left+=l[0],g.top+=l[1],this.each(function(){var o,s,a=t(this),r=a.outerWidth(),c=a.outerHeight(),d=h(this,"marginLeft"),v=h(this,"marginTop"),b=r+d+h(this,"marginRight")+C.width,_=c+v+h(this,"marginBottom")+C.height,$=t.extend({},g),S=u(k.my,a.outerWidth(),a.outerHeight());"right"===e.my[0]?$.left-=r:"center"===e.my[0]&&($.left-=r/2),"bottom"===e.my[1]?$.top-=c:"center"===e.my[1]&&($.top-=c/2),$.left+=S[0],$.top+=S[1],o={marginLeft:d,marginTop:v},t.each(["left","top"],function(i,n){t.ui.position[x[i]]&&t.ui.position[x[i]][n]($,{targetWidth:p,targetHeight:f,elemWidth:r,elemHeight:c,collisionPosition:o,collisionWidth:b,collisionHeight:_,offset:[l[0]+S[0],l[1]+S[1]],my:e.my,at:e.at,within:w,elem:a})}),e.using&&(s=function(t){var o=m.left-$.left,s=o+p-r,l=m.top-$.top,u=l+f-c,h={target:{element:y,left:m.left,top:m.top,width:p,height:f},element:{element:a,left:$.left,top:$.top,width:r,height:c},horizontal:s<0?"left":o>0?"right":"center",vertical:u<0?"top":l>0?"bottom":"middle"};p<r&&n(o+s)<p&&(h.horizontal="center"),f<c&&n(l+u)<f&&(h.vertical="middle"),i(n(o),n(s))>i(n(l),n(u))?h.important="horizontal":h.important="vertical",e.using.call(this,t,h)}),a.offset(t.extend($,{using:s}))})},t.ui.position={fit:{left:function(t,e){var n,o=e.within,s=o.isWindow?o.scrollLeft:o.offset.left,a=o.width,r=t.left-e.collisionPosition.marginLeft,l=s-r,c=r+e.collisionWidth-a-s;e.collisionWidth>a?l>0&&c<=0?(n=t.left+l+e.collisionWidth-a-s,t.left+=l-n):t.left=c>0&&l<=0?s:l>c?s+a-e.collisionWidth:s:l>0?t.left+=l:c>0?t.left-=c:t.left=i(t.left-r,t.left)},top:function(t,e){var n,o=e.within,s=o.isWindow?o.scrollTop:o.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,l=s-r,c=r+e.collisionHeight-a-s;e.collisionHeight>a?l>0&&c<=0?(n=t.top+l+e.collisionHeight-a-s,t.top+=l-n):t.top=c>0&&l<=0?s:l>c?s+a-e.collisionHeight:s:l>
vendor: 6,157 bytes, line 144
1440?t.top+=l:c>0?t.top-=c:t.top=i(t.top-r,t.top)}},flip:{left:function(t,e){var i,o,s=e.within,a=s.offset.left+s.scrollLeft,r=s.width,l=s.isWindow?s.scrollLeft:s.offset.left,c=t.left-e.collisionPosition.marginLeft,u=c-l,h=c+e.collisionWidth-r-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];u<0?((i=t.left+d+p+f+e.collisionWidth-r-a)<0||i<n(u))&&(t.left+=d+p+f):h>0&&((o=t.left-e.collisionPosition.marginLeft+d+p+f-l)>0||n(o)<h)&&(t.left+=d+p+f)},top:function(t,e){var i,o,s=e.within,a=s.offset.top+s.scrollTop,r=s.height,l=s.isWindow?s.scrollTop:s.offset.top,c=t.top-e.collisionPosition.marginTop,u=c-l,h=c+e.collisionHeight-r-l,d="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,p="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,f=-2*e.offset[1];u<0?((o=t.top+d+p+f+e.collisionHeight-r-a)<0||o<n(u))&&(t.top+=d+p+f):h>0&&((i=t.top-e.collisionPosition.marginTop+d+p+f-l)>0||n(i)<h)&&(t.top+=d+p+f)}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr.pseudos,{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,n){return!!t.data(e,n[3])}}),t.fn.extend({disableSelection:(s="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(s+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var s,a,r=t,l={},c=l.toString,u=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16),t[4]?(parseInt(t[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16),t[4]?(parseInt(t[4]+t[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],d=r.Color=function(t,e,i,n){return new r.Color.fn.parse(t,e,i,n)},p={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},f={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},m=d.support={},g=r("<p>")[0],v=r.each;function b(t){return null==t?t+"":"object"==typeof t?l[c.call(t)]||"object":typeof t}function _(t,e,i){var n=f[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:Math.min(n.max,Math.max(0,t)))}function y(t){var e=d(),i=e._rgba=[];return t=t.toLowerCase(),v(h,function(n,o){var s,a=o.re.exec(t),r=a&&o.parse(a),l=o.space||"rgba";if(r)return s=e[l](r),e[p[l].cache]=s[p[l].cache],i=e._rgba=s._rgba,!1}),i.length?("0,0,0,0"===i.join()&&r.extend(i,a.transparent),e):a[t]}function w(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}g.style.cssText="background-color:rgba(1,1,1,.5)",m.rgba=g.style.backgroundColor.indexOf("rgba")>-1,v(p,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){l["[object "+e+"]"]=e.toLowerCase()}),d.fn=r.extend(d.prototype,{parse:function(t,e,i,n){if(void 0===t)return this._rgba=[null,null,null,null],this;(t.jquery||t.nodeType)&&(t=r(t).css(e),e=void 0);var o=this,s=b(t),l=this._rgba=[];return void 0!==e&&(t=[t,e,i,n],s="array"),"string"===s?this.parse(y(t)||a._default):"array"===s?(v(p.rgba.props,function(e,i){l[i.idx]=_(t[i.idx],i)}),this):"object"===s?(v(p,t instanceof d?function(e,i){t[i.cache]&&(o[i.cache]=t[i.cache].slice())}:function(e,i){var n=i.cache;v(i.props,function(e,s){if(!o[n]&&i.to){if("alpha"===e||null==t[e])return;o[n]=i.to(o._rgba)}o[n][s.idx]=_(t[e],s,!0)}),o[n]&&r.inArray(null,o[n].slice(0,3))<0&&(null==o[n][3]&&(o[n][3]=1),i.from&&(o._rgba=i.from(o[n])))}),this):void 0},is:function(t){var e=d(t),i=!0,n=this;return v(p,function(t,o){var s,a=e[o.cache];return a&&(s=n[o.cache]||o.to&&o.to(n._rgba)||[],v(o.props,function(t,e){if(null!=a[e.idx])return i=a[e.idx]===s[e.idx]})),i}),i},_space:function(){var t=[],e=this;return v(p,function(i,n){e[n.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var i=d(t),n=i._space(),o=p[n],s=0===this.alpha()?d("transparent"):this,a=s[o.cache]||o.to(s._rgba),r=a.slice();return i=i[o.cache],v(o.props,function(t,n){var o=n.idx,s=a[o],l=i[o],c=f[n.type]||{};null!==l&&(null===s?r[o]=l:(c.mod&&(l-s>c.mod/2?s+=c.mod:s-l>c.mod/2&&(s-=c.mod)),r[o]=_((l-s)*e+s,n)))}),this[n](r)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),i=e.pop(),n=d(t)._rgba;return d(r.map(e,function(t,e){return(1-i)*n[e]+i*t}))},toRgbaString:function(){var t="rgba(",e=r.map(this._rgba,function(t,e){return null!=t?t:e>2?1:0});return 1===e[3]&&(e.pop(),t="rgb("),t+e.join()+")"},toHslaString:function(){var t="hsla(",e=r.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===e[3]&&(e.pop(),t="hsl("),t+e.join()+")"},toHexString:function(t){var e=this._rgba.slice(),i=e.pop();return t&&e.push(~~(255*i)),"#"+r.map(e,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),d.fn.parse.prototype=d.fn,p.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,
vendor: 7,353 bytes, line 144
144null,null,t[3]];var e,i,n=t[0]/255,o=t[1]/255,s=t[2]/255,a=t[3],r=Math.max(n,o,s),l=Math.min(n,o,s),c=r-l,u=r+l,h=.5*u;return e=l===r?0:n===r?60*(o-s)/c+360:o===r?60*(s-n)/c+120:60*(n-o)/c+240,i=0===c?0:h<=.5?c/u:c/(2-u),[Math.round(e)%360,i,h,null==a?1:a]},p.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],o=t[3],s=n<=.5?n*(1+i):n+i-n*i,a=2*n-s;return[Math.round(255*w(a,s,e+1/3)),Math.round(255*w(a,s,e)),Math.round(255*w(a,s,e-1/3)),o]},v(p,function(t,e){var i=e.props,n=e.cache,o=e.to,s=e.from;d.fn[t]=function(t){if(o&&!this[n]&&(this[n]=o(this._rgba)),void 0===t)return this[n].slice();var e,a=b(t),r="array"===a||"object"===a?t:arguments,l=this[n].slice();return v(i,function(t,e){var i=r["object"===a?t:e.idx];null==i&&(i=l[e.idx]),l[e.idx]=_(i,e)}),s?((e=d(s(l)))[n]=l,e):d(l)},v(i,function(e,i){d.fn[e]||(d.fn[e]=function(n){var o,s,a,r,l=b(n);return s=(o=this[r="alpha"===e?this._hsla?"hsla":"rgba":t]())[i.idx],"undefined"===l?s:("function"===l&&(l=b(n=n.call(this,s))),null==n&&i.empty?this:("string"===l&&(a=u.exec(n))&&(n=s+parseFloat(a[2])*("+"===a[1]?1:-1)),o[i.idx]=n,this[r](o)))})})}),d.hook=function(t){var e=t.split(" ");v(e,function(t,e){r.cssHooks[e]={set:function(t,i){var n,o,s="";if("transparent"!==i&&("string"!==b(i)||(n=y(i)))){if(i=d(n||i),!m.rgba&&1!==i._rgba[3]){for(o="backgroundColor"===e?t.parentNode:t;(""===s||"transparent"===s)&&o&&o.style;)try{s=r.css(o,"backgroundColor"),o=o.parentNode}catch(t){}i=i.blend(s&&"transparent"!==s?s:"_default")}i=i.toRgbaString()}try{t.style[e]=i}catch(t){}}},r.fx.step[e]=function(t){t.colorInit||(t.start=d(t.elem,e),t.end=d(t.end),t.colorInit=!0),r.cssHooks[e].set(t.elem,t.start.transition(t.end,t.pos))}})},d.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),r.cssHooks.borderColor={expand:function(t){var e={};return v(["Top","Right","Bottom","Left"],function(i,n){e["border"+n+"Color"]=t}),e}},a=r.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"};var C,x,k="ui-effects-",$="ui-effects-style",S="ui-effects-animated";if(t.effects={effect:{}},function(){var e=["add","remove","toggle"],i={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function n(t){return t.replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()})}function o(t){var e,i,o=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,s={};if(o&&o.length&&o[0]&&o[o[0]])for(i=o.length;i--;)"string"==typeof o[e=o[i]]&&(s[n(e)]=o[e]);else for(e in o)"string"==typeof o[e]&&(s[e]=o[e]);return s}t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(r.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(n,s,a,r){var l=t.speed(s,a,r);return this.queue(function(){var s,a=t(this),r=a.attr("class")||"",c=l.children?a.find("*").addBack():a;c=c.map(function(){return{el:t(this),start:o(this)}}),(s=function(){t.each(e,function(t,e){n[e]&&a[e+"Class"](n[e])})})(),c=c.map(function(){return this.end=o(this.el[0]),this.diff=function(e,n){var o,s,a={};for(o in n)s=n[o],e[o]!==s&&(i[o]||!t.fx.step[o]&&isNaN(parseFloat(s))||(a[o]=s));return a}(this.start,this.end),this}),a.attr("class",r),c=c.map(function(){var e=this,i=t.Deferred(),n=t.extend({},l,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,n),i.promise()}),t.when.apply(t,c.get()).done(function(){s(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),l.complete.call(a[0])})})},t.fn.extend({addClass:function(e){return function(i,n,o,s){return n?t.effects.animateClass.call(this,{add:i},n,o,s):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,n,o,s){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},n,o,s):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(i,n,o,s,a){return"boolean"==typeof n||void 0===n?o?t.effects.animateClass.call(this,n?{add:i}:{remove:i},o,s,a):e.apply(this,arguments):t.effects.animateClass.call(this,{toggle:i},n,o,s)}}(t.fn.toggleClass),switchClass:function(e,i,n,o,s){return t.effects.animateClass.call(this,{add:i,remove:e},n,o,s)}})}(),function(){function e(e,i,n,o){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),"function"==typeof i&&(o=i,n=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(o=n,n=i,i={}),"function"==typeof n&&(o=n,n=null),i&&t.extend(e,i),n=n||i.duration,e.duration=t.fx.off?0:"number"==typeof n?n:n in t.fx.speeds?t.fx.speeds[n]:t.fx.speeds._default,e.complete=o||i.complete,e}function i(e){return!(e&&"number"!=typeof e&&!t.fx.speeds[e])||"string"==typeof e&&!t.effects.effect[e]||"function"==typeof e||"object"==typeof e&&!e.effect}function n(t,e){var i=e.outerWidth(),n=e.outerHeight(),o=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t)||["",0,i,n,0];return{top:parseFloat(o[1])||0,right:"auto"===o[2]?i:parseFloat(o[2]),bottom:"auto"===o[3]?n:parseFloat(o[3]),left:parseFloat(o[4])||0}}t.expr&&t.expr.pseudos&&t.expr.pseudos.animated&&(t.expr.pseudos.animated=function(e){return function(i){return!!t(i).data(S)||e(i)}}(t.expr.pseudos.animated)),!1!==t.uiBackCompat&&t.extend(t.effects,{save:function(t,e){for(var i=0,n=e.length;i<n;i++)null!==e[i]&&t.data(k+e[i],t[0].style[e[i]])},restore:function(t,e){for(var i,n=0,o=e.length;n<o;n++)null!==e[n]&&(i=t.data(k+e[n]),t.css(e[n],i))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),float:e.css("float")},n=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:e.width(),height:e.height()},s=document.activeElement;try{s.id}catch(t){s=document.body}return e.wrap(n),(e[0]===s||t.contains(e[0],s))&&t(s).trigger("focus"),n=e.parent(),"static"===e.css("position")?(n.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,n){i[n]=e.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(o),n.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).trigger("focus")),e}}),t.extend(t.effects,{version:"1.13.2",define:function(e,i,n){return n||(n=i,i="effect"),t.effects.effect[e]=n,t.effects.effect[e].mode=i,n}
vendor: 6,313 bytes, line 144
144,scaledDimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(e||100)/100:1,o="vertical"!==i?(e||100)/100:1;return{height:t.height()*o,width:t.width()*n,outerHeight:t.outerHeight()*o,outerWidth:t.outerWidth()*n}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var n=t.queue();e>1&&n.splice.apply(n,[1,0].concat(n.splice(e,i))),t.dequeue()},saveStyle:function(t){t.data($,t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data($)||"",t.removeData($)},mode:function(t,e){var i=t.is(":hidden");return"toggle"===e&&(e=i?"show":"hide"),(i?"hide"===e:"show"===e)&&(e="none"),e},getBaseline:function(t,e){var i,n;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=t[1]/e.width}return{x:n,y:i}},createPlaceholder:function(e){var i,n=e.css("position"),o=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",i=t("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(k+"placeholder",i)),e.css({position:n,left:o.left,top:o.top}),i},removePlaceholder:function(t){var e=k+"placeholder",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(e){t.effects.restoreStyle(e),t.effects.removePlaceholder(e)},setTransition:function(e,i,n,o){return o=o||{},t.each(i,function(t,i){var s=e.cssUnit(i);s[0]>0&&(o[i]=s[0]*n+s[1])}),o}}),t.fn.extend({effect:function(){var i=e.apply(this,arguments),n=t.effects.effect[i.effect],o=n.mode,s=i.queue,a=s||"fx",r=i.complete,l=i.mode,c=[],u=function(e){var i=t(this),n=t.effects.mode(i,l)||o;i.data(S,!0),c.push(n),o&&("show"===n||n===o&&"hide"===n)&&i.show(),o&&"none"===n||t.effects.saveStyle(i),"function"==typeof e&&e()};if(t.fx.off||!n)return l?this[l](i.duration,r):this.each(function(){r&&r.call(this)});function h(e){var s=t(this);function a(){"function"==typeof r&&r.call(s[0]),"function"==typeof e&&e()}i.mode=c.shift(),!1===t.uiBackCompat||o?"none"===i.mode?(s[l](),a()):n.call(s[0],i,function(){s.removeData(S),t.effects.cleanUp(s),"hide"===i.mode&&s.hide(),a()}):(s.is(":hidden")?"hide"===l:"show"===l)?(s[l](),a()):n.call(s[0],i,a)}return!1===s?this.each(u).each(h):this.queue(a,u).queue(a,h)},show:function(t){return function(n){if(i(n))return t.apply(this,arguments);var o=e.apply(this,arguments);return o.mode="show",this.effect.call(this,o)}}(t.fn.show),hide:function(t){return function(n){if(i(n))return t.apply(this,arguments);var o=e.apply(this,arguments);return o.mode="hide",this.effect.call(this,o)}}(t.fn.hide),toggle:function(t){return function(n){if(i(n)||"boolean"==typeof n)return t.apply(this,arguments);var o=e.apply(this,arguments);return o.mode="toggle",this.effect.call(this,o)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),n=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(n=[parseFloat(i),e])}),n},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):n(this.css("clip"),this)},transfer:function(e,i){var n=t(this),o=t(e.to),s="fixed"===o.css("position"),a=t("body"),r=s?a.scrollTop():0,l=s?a.scrollLeft():0,c=o.offset(),u={top:c.top-r,left:c.left-l,height:o.innerHeight(),width:o.innerWidth()},h=n.offset(),d=t("<div class='ui-effects-transfer'></div>");d.appendTo("body").addClass(e.className).css({top:h.top-r,left:h.left-l,height:n.innerHeight(),width:n.innerWidth(),position:s?"fixed":"absolute"}).animate(u,e.duration,e.easing,function(){d.remove(),"function"==typeof i&&i()})}}),t.fx.step.clip=function(e){e.clipInit||(e.start=t(e.elem).cssClip(),"string"==typeof e.end&&(e.end=n(e.end,e.elem)),e.clipInit=!0),t(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),C={},t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){C[e]=function(e){return Math.pow(e,t+2)}}),t.extend(C,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(C,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return t<.5?i(2*t)/2:1-i(-2*t+2)/2}}),t.effects,t.effects.define("blind","hide",function(e,i){var n={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},o=t(this),s=e.direction||"up",a=o.cssClip(),r={clip:t.extend({},a)},l=t.effects.createPlaceholder(o);r.clip[n[s][0]]=r.clip[n[s][1]],"show"===e.mode&&(o.cssClip(r.clip),l&&l.css(t.effects.clipToBox(r)),r.clip=a),l&&l.animate(t.effects.clipToBox(r),e.duration,e.easing),o.animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("bounce",function(e,i){var n,o,s,a=t(this),r=e.mode,l="hide"===r,c="show"===r,u=e.direction||"up",h=e.distance,d=e.times||5,p=2*d+(c||l?1:0),f=e.duration/p,m=e.easing,g="up"===u||"down"===u?"top":"left",v="up"===u||"left"===u,b=0,_=a.queue().length;for(t.effects.createPlaceholder(a),s=a.css(g),h||(h=a["top"===g?"outerHeight":"outerWidth"]()/3),c&&((o={opacity:1})[g]=s,a.css("opacity",0).css(g,v?2*-h:2*h).animate(o,f,m)),l&&(h/=Math.pow(2,d-1)),(o={})[g]=s;b<d;b++)(n={})[g]=(v?"-=":"+=")+h,a.animate(n,f,m).animate(o,f,m),h=l?2*h:h/2;l&&((n={opacity:0}
vendor: 4,389 bytes, line 144
144)[g]=(v?"-=":"+=")+h,a.animate(n,f,m)),a.queue(i),t.effects.unshift(a,_,p+1)}),t.effects.define("clip","hide",function(e,i){var n,o={},s=t(this),a=e.direction||"vertical",r="both"===a,l=r||"horizontal"===a,c=r||"vertical"===a;n=s.cssClip(),o.clip={top:c?(n.bottom-n.top)/2:n.top,right:l?(n.right-n.left)/2:n.right,bottom:c?(n.bottom-n.top)/2:n.bottom,left:l?(n.right-n.left)/2:n.left},t.effects.createPlaceholder(s),"show"===e.mode&&(s.cssClip(o.clip),o.clip=n),s.animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("drop","hide",function(e,i){var n,o=t(this),s="show"===e.mode,a=e.direction||"left",r="up"===a||"down"===a?"top":"left",l="up"===a||"left"===a?"-=":"+=",c="+="===l?"-=":"+=",u={opacity:0};t.effects.createPlaceholder(o),n=e.distance||o["top"===r?"outerHeight":"outerWidth"](!0)/2,u[r]=l+n,s&&(o.css(u),u[r]=c+n,u.opacity=1),o.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("explode","hide",function(e,i){var n,o,s,a,r,l,c=e.pieces?Math.round(Math.sqrt(e.pieces)):3,u=c,h=t(this),d="show"===e.mode,p=h.show().css("visibility","hidden").offset(),f=Math.ceil(h.outerWidth()/u),m=Math.ceil(h.outerHeight()/c),g=[];function v(){g.push(this),g.length===c*u&&(h.css({visibility:"visible"}),t(g).remove(),i())}for(n=0;n<c;n++)for(a=p.top+n*m,l=n-(c-1)/2,o=0;o<u;o++)s=p.left+o*f,r=o-(u-1)/2,h.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-o*f,top:-n*m}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:f,height:m,left:s+(d?r*f:0),top:a+(d?l*m:0),opacity:d?0:1}).animate({left:s+(d?0:r*f),top:a+(d?0:l*m),opacity:d?1:0},e.duration||500,e.easing,v)}),t.effects.define("fade","toggle",function(e,i){var n="show"===e.mode;t(this).css("opacity",n?0:1).animate({opacity:n?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("fold","hide",function(e,i){var n=t(this),o=e.mode,s="show"===o,a="hide"===o,r=e.size||15,l=/([0-9]+)%/.exec(r),c=e.horizFirst?["right","bottom"]:["bottom","right"],u=e.duration/2,h=t.effects.createPlaceholder(n),d=n.cssClip(),p={clip:t.extend({},d)},f={clip:t.extend({},d)},m=[d[c[0]],d[c[1]]],g=n.queue().length;l&&(r=parseInt(l[1],10)/100*m[a?0:1]),p.clip[c[0]]=r,f.clip[c[0]]=r,f.clip[c[1]]=0,s&&(n.cssClip(f.clip),h&&h.css(t.effects.clipToBox(f)),f.clip=d),n.queue(function(i){h&&h.animate(t.effects.clipToBox(p),u,e.easing).animate(t.effects.clipToBox(f),u,e.easing),i()}).animate(p,u,e.easing).animate(f,u,e.easing).queue(i),t.effects.unshift(n,g,4)}),t.effects.define("highlight","show",function(e,i){var n=t(this),o={backgroundColor:n.css("backgroundColor")};"hide"===e.mode&&(o.opacity=0),t.effects.saveStyle(n),n.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("size",function(e,i){var n,o,s,a=t(this),r=["fontSize"],l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=e.mode,h="effect"!==u,d=e.scale||"both",p=e.origin||["middle","center"],f=a.css("position"),m=a.position(),g=t.effects.scaledDimensions(a),v=e.from||g,b=e.to||t.effects.scaledDimensions(a,0);t.effects.createPlaceholder(a),"show"===u&&(s=v,v=b,b=s),o={from:{y:v.height/g.height,x:v.width/g.width},to:{y:b.height/g.height,x:b.width/g.width}},"box"!==d&&"both"!==d||(o.from.y!==o.to.y&&(v=t.effects.setTransition(a,l,o.from.y,v),b=t.effects.setTransition(a,l,o.to.y,b)),o.from.x!==o.to.x&&(v=t.effects.setTransition(a,c,o.from.x,v),b=t.effects.setTransition(a,c,o.to.x,b))),"content"!==d&&"both"!==d||o.from.y!==o.to.y&&(v=t.effects.setTransition(a,r,o.from.y,v),b=t.effects.setTransition(a,r,o.to.y,b)),p&&(n=t.effects.getBaseline(p,g),v.top=(g.outerHeight-v.outerHeight)*n.y+m.top,v.left=(g.outerWidth-v.outerWidth)*n.x+m.left,b.top=(g.outerHeight-b.outerHeight)*n.y+m.top,b.left=(g.outerWidth-b.outerWidth)*n.x+m.left),delete v.outerHeight,delete v.outerWidth,a.css(v),"content"!==d&&"both"!==d||(l=l.concat(["marginTop","marginBottom"]).concat(r),c=c.concat(["marginLeft","marginRight"]),a.find("*[width]").each(function(){var i=t(this),n=t.effects.scaledDimensions(i),s={height:n.height*o.from.y,width:n.width*o.from.x,outerHeight:n.outerHeight*o.from.y,outerWidth:n.outerWidth*o.from.x}
vendor: 4,946 bytes, line 144
144,a={height:n.height*o.to.y,width:n.width*o.to.x,outerHeight:n.height*o.to.y,outerWidth:n.width*o.to.x};o.from.y!==o.to.y&&(s=t.effects.setTransition(i,l,o.from.y,s),a=t.effects.setTransition(i,l,o.to.y,a)),o.from.x!==o.to.x&&(s=t.effects.setTransition(i,c,o.from.x,s),a=t.effects.setTransition(i,c,o.to.x,a)),h&&t.effects.saveStyle(i),i.css(s),i.animate(a,e.duration,e.easing,function(){h&&t.effects.restoreStyle(i)})})),a.animate(b,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){var e=a.offset();0===b.opacity&&a.css("opacity",v.opacity),h||(a.css("position","static"===f?"relative":f).offset(e),t.effects.saveStyle(a)),i()}})}),t.effects.define("scale",function(e,i){var n=t(this),o=e.mode,s=parseInt(e.percent,10)||(0===parseInt(e.percent,10)||"effect"!==o?0:100),a=t.extend(!0,{from:t.effects.scaledDimensions(n),to:t.effects.scaledDimensions(n,s,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(a.from.opacity=1,a.to.opacity=0),t.effects.effect.size.call(this,a,i)}),t.effects.define("puff","hide",function(e,i){var n=t.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});t.effects.effect.scale.call(this,n,i)}),t.effects.define("pulsate","show",function(e,i){var n=t(this),o=e.mode,s="show"===o,a=s||"hide"===o,r=2*(e.times||5)+(a?1:0),l=e.duration/r,c=0,u=1,h=n.queue().length;for(!s&&n.is(":visible")||(n.css("opacity",0).show(),c=1);u<r;u++)n.animate({opacity:c},l,e.easing),c=1-c;n.animate({opacity:c},l,e.easing),n.queue(i),t.effects.unshift(n,h,r+1)}),t.effects.define("shake",function(e,i){var n=1,o=t(this),s=e.direction||"left",a=e.distance||20,r=e.times||3,l=2*r+1,c=Math.round(e.duration/l),u="up"===s||"down"===s?"top":"left",h="up"===s||"left"===s,d={},p={},f={},m=o.queue().length;for(t.effects.createPlaceholder(o),d[u]=(h?"-=":"+=")+a,p[u]=(h?"+=":"-=")+2*a,f[u]=(h?"-=":"+=")+2*a,o.animate(d,c,e.easing);n<r;n++)o.animate(p,c,e.easing).animate(f,c,e.easing);o.animate(p,c,e.easing).animate(d,c/2,e.easing).queue(i),t.effects.unshift(o,m,l+1)}),t.effects.define("slide","show",function(e,i){var n,o,s=t(this),a={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},r=e.mode,l=e.direction||"left",c="up"===l||"down"===l?"top":"left",u="up"===l||"left"===l,h=e.distance||s["top"===c?"outerHeight":"outerWidth"](!0),d={};t.effects.createPlaceholder(s),n=s.cssClip(),o=s.position()[c],d[c]=(u?-1:1)*h+o,d.clip=s.cssClip(),d.clip[a[l][1]]=d.clip[a[l][0]],"show"===r&&(s.cssClip(d.clip),s.css(c,d[c]),d.clip=n,d[c]=o),s.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),!1!==t.uiBackCompat&&t.effects.define("transfer",function(e,i){t(this).transfer(e,i)}),t.ui.focusable=function(e,i){var n,o,s,a,r,l=e.nodeName.toLowerCase();return"area"===l?(o=(n=e.parentNode).name,!(!e.href||!o||"map"!==n.nodeName.toLowerCase())&&(s=t("img[usemap='#"+o+"']")).length>0&&s.is(":visible")):(/^(input|select|textarea|button|object)$/.test(l)?(a=!e.disabled)&&(r=t(e).closest("fieldset")[0])&&(a=!r.disabled):a="a"===l&&e.href||i,a&&t(e).is(":visible")&&function(t){for(var e=t.css("visibility");"inherit"===e;)e=(t=t.parent()).css("visibility");return"visible"===e}(t(e)))},t.extend(t.expr.pseudos,{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element._form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},t.expr.pseudos||(t.expr.pseudos=t.expr[":"]),t.uniqueSort||(t.uniqueSort=t.unique),!t.escapeSelector){var P=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,T=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t};t.escapeSelector=function(t){return(t+"").replace(P,T)}}t.fn.even&&t.fn.odd||t.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),t.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},t.fn.labels=function(){var e,i,n,o,s;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(o=this.eq(0).parents("label"),(n=this.attr("id"))&&(s=(e=this.eq(0).parents().last(
vendor: 5,849 bytes, line 144
144)).add(e.length?e.siblings():this.siblings()),i="label[for='"+t.escapeSelector(n)+"']",o=o.add(s.find(i).addBack(i))),this.pushStack(o)):this.pushStack([])},t.fn.scrollParent=function(e){var i=this.css("position"),n="absolute"===i,o=e?/(auto|scroll|hidden)/:/(auto|scroll)/,s=this.parents().filter(function(){var e=t(this);return(!n||"static"!==e.css("position"))&&o.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&s.length?s:t(this[0].ownerDocument||document)},t.extend(t.expr.pseudos,{tabbable:function(e){var i=t.attr(e,"tabindex"),n=null!=i;return(!n||i>=0)&&t.ui.focusable(e,n)}}),t.fn.extend({uniqueId:(x=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++x)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.widget("ui.accordion",{version:"1.13.2",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(t){return t.find("> li > :first-child").add(t.find("> :not(li)").even())},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t()}},_createIcons:function(){var e,i,n=this.options.icons;n&&(e=t("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+n.header),e.prependTo(this.headers),i=this.active.children(".ui-accordion-header-icon"),this._removeClass(i,n.header)._addClass(i,null,n.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){"active"!==t?("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons())):this._activate(e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,n=this.headers.length,o=this.headers.index(e.target),s=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:s=this.headers[(o+1)%n];break;case i.LEFT:case i.UP:s=this.headers[(o-1+n)%n];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:s=this.headers[0];break;case i.END:s=this.headers[n-1]}s&&(t(e.target).attr("tabIndex",-1),t(s).attr("tabIndex",0),t(s).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=t()):!1===e.active?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;"function"==typeof this.options.header?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var e,i=this.options,n=i.heightStyle,o=this.element.parent();this.active=this._findActive(i.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=t(this),i=e.uniqueId().attr("id"),n=e.next(),o=n.uniqueId().attr("id");e.attr("aria-controls",o),n.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(i.event),"fill"===n?(e=o.height(),this.element.siblings(":visible").each(function(){var i=t(this),n=i.
vendor: 4,976 bytes, line 144
144css("position");"absolute"!==n&&"fixed"!==n&&(e-=i.outerHeight(!0))}),this.headers.each(function(){e-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(e=0,this.headers.next().each(function(){var i=t(this).is(":visible");i||t(this).show(),e=Math.max(e,t(this).css("height","").height()),i||t(this).hide()}).height(e))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i,n,o=this.options,s=this.active,a=t(e.currentTarget),r=a[0]===s[0],l=r&&o.collapsible,c=l?t():a.next(),u=s.next(),h={oldHeader:s,oldPanel:u,newHeader:l?t():a,newPanel:c};e.preventDefault(),r&&!o.collapsible||!1===this._trigger("beforeActivate",e,h)||(o.active=!l&&this.headers.index(a),this.active=r?t():a,this._toggle(h),this._removeClass(s,"ui-accordion-header-active","ui-state-active"),o.icons&&(i=s.children(".ui-accordion-header-icon"),this._removeClass(i,null,o.icons.activeHeader)._addClass(i,null,o.icons.header)),r||(this._removeClass(a,"ui-accordion-header-collapsed")._addClass(a,"ui-accordion-header-active","ui-state-active"),o.icons&&(n=a.children(".ui-accordion-header-icon"),this._removeClass(n,null,o.icons.header)._addClass(n,null,o.icons.activeHeader)),this._addClass(a.next(),"ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,n=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=n,this.options.animate?this._animate(i,n,e):(n.hide(),i.show(),this._toggleComplete(e)),n.attr({"aria-hidden":"true"}),n.prev().attr({"aria-selected":"false","aria-expanded":"false"}),i.length&&n.length?n.prev().attr({tabIndex:-1,"aria-expanded":"false"}):i.length&&this.headers.filter(function(){return 0===parseInt(t(this).attr("tabIndex"),10)}).attr("tabIndex",-1),i.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,e,i){var n,o,s,a=this,r=0,l=t.css("box-sizing"),c=t.length&&(!e.length||t.index()<e.index()),u=this.options.animate||{},h=c&&u.down||u,d=function(){a._toggleComplete(i)};return"number"==typeof h&&(s=h),"string"==typeof h&&(o=h),o=o||h.easing||u.easing,s=s||h.duration||u.duration,e.length?t.length?(n=t.show().outerHeight(),e.animate(this.hideProps,{duration:s,easing:o,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(this.showProps,{duration:s,easing:o,complete:d,step:function(t,i){i.now=Math.round(t),"height"!==i.prop?"content-box"===l&&(r+=i.now):"content"!==a.options.heightStyle&&(i.now=Math.round(n-e.outerHeight()-r),r=0)}})):e.animate(this.hideProps,s,o,d):t.animate(this.showProps,s,o,d)},_toggleComplete:function(t){var e=t.oldPanel,i=e.prev();this._removeClass(e,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}}),t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e},t.widget("ui.menu",{version:"1.13.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(e){var i=t(e.target),n=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&n.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(e){this._delay(function(){!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]))&&this.collapseAll(e)}
vendor: 5,933 bytes, line 144
144)},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(e){if(!this.previousFilter&&(e.clientX!==this.lastMousePosition.x||e.clientY!==this.lastMousePosition.y)){this.lastMousePosition={x:e.clientX,y:e.clientY};var i=t(e.target).closest(".ui-menu-item"),n=t(e.currentTarget);i[0]===n[0]&&(n.is(".ui-state-active")||(this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,n)))}},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var i,n,o,s,a=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,n=this.previousFilter||"",s=!1,o=e.keyCode>=96&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),o===n?s=!0:o=n+o,i=this._filterMenuItems(o),(i=s&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(o=String.fromCharCode(e.keyCode),i=this._filterMenuItems(o)),i.length?(this.focus(e,i),this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i,n,o,s=this,a=this.options.icons.submenu,r=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),i=r.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),i=e.prev(),n=t("<span>").data("ui-menu-submenu-caret",!0);s._addClass(n,"ui-menu-icon","ui-icon "+a),i.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",i.attr("id"))}),this._addClass(i,"ui-menu","ui-widget ui-widget-content ui-front"),(e=r.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=t(this);s._isDivider(e)&&s._addClass(e,"ui-menu-divider","ui-widget-content")}),o=(n=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(o,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,n,o;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),n=this.active.children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),o=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(o,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,n,o,s,a,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,o=e.offset().top-this.activeMenu.offset().top-i-n,s=this.activeMenu.scrollTop(),a=this.activeMenu.height(),r=e.outerHeight(),o<0?this.activeMenu.scrollTop(s+o):o+r>a&&this.activeMenu.scrollTop(s+o-a+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var n=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));n.length||(n=this.element),this._close(n),this.blur(e),this._removeClass(n.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=n},i?0:this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
144se")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this._menuItems(this.active.children(".ui-menu")).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(t){return(t||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(t,e,i){var n;this.active&&(n="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").last():this.active[t+"All"](".ui-menu-item").first()),n&&n.length&&this.active||(n=this._menuItems(this.activeMenu)[e]()),this.focus(i,n)},nextPage:function(e){var i,n,o;this.active?this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,o=this.element.innerHeight(),0===t.fn.jquery.indexOf("3.2.")&&(o+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return(i=t(this)).offset().top-n-o<0}),this.focus(e,i)):this.focus(e,this._menuItems(this.activeMenu)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var i,n,o;this.active?this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,o=this.element.innerHeight(),0===t.fn.jquery.indexOf("3.2.")&&(o+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return(i=t(this)).offset().top-n+o>0}),this.focus(e,i)):this.focus(e,this._menuItems(this.activeMenu).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,i)},_filterMenuItems:function(e){var i=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),n=new RegExp("^"+i,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return n.test(String.prototype.trim.call(t(this).children(".ui-menu-item-wrapper").text()))})}}),t.widget("ui.autocomplete",{version:"1.13.2",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var e,i,n,o=this.element[0].nodeName.toLowerCase(),s="textarea"===o,a="input"===o;this.isMultiLine=s||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[s||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(o){if(this.element.prop("readOnly"))return e=!0,n=!0,void(i=!0);e=!1,n=!1,i=!1;var s=t.ui.keyCode;switch(o.keyCode){case s.PAGE_UP:e=!0,this._move("previousPage",o);break;case s.PAGE_DOWN:e=!0,this._move("nextPage",o);break;case s.UP:e=!0,this._keyEvent("previous",o);break;case s.DOWN:e=!0,this._keyEvent("next",o);break;case s.ENTER:this.menu.active&&(e=!0,o.preventDefault(),this.menu.select(o));break;case s.TAB:this.menu.active&&this.menu.select(o);break;case s.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(o),o.preventDefault());break;default:i=!0,this._searchTimeout(o)}},keypress:function(n){if(e)return e=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||n.preventDefault());if(!i){var o=t.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:this._move("previousPage",n);break;case o.PAGE_DOWN:this._move("nextPage",n);break;case o.UP:this._keyEvent("previous",n);break;case o.DOWN:this._keyEvent("next",n)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value(
vendor: 7,355 bytes, line 144
144)},blur:function(t){clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=t("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault()},menufocus:function(e,i){var n,o;if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)});o=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:o})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(o.value),(n=i.item.attr("aria-label")||o.value)&&String.prototype.trim.call(n).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(t("<div>").text(n))},100))},menuselect:function(e,i){var n=i.item.data("ui-autocomplete-item"),o=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=o,this._delay(function(){this.previous=o,this.selectedItem=n})),!1!==this._trigger("select",e,{item:n})&&this._value(n.value),this.term=this._value(),this.close(e),this.selectedItem=n}}),this.liveRegion=t("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var i=this.menu.element[0];return e.target===this.element[0]||e.target===i||t.contains(i,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,n=this;Array.isArray(this.options.source)?(e=this.options.source,this.source=function(i,n){n(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,o){n.xhr&&n.xhr.abort(),n.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){o(t)},error:function(){o([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),i=this.menu.element.is(":visible"),n=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;e&&(!e||i||n)||(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var t=++this.requestIndex;return function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}.bind(this)},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var n=this;t.each(i,function(t,i){n._renderItemData(e,i)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,i){return t("<li>").append(t("<div>").text(i.label)).appendTo(e)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var n=new RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return n.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(t("<div>").text(i))},100))}}),t.ui.autocomplete;var D,I=/ui-corner-([a-z]){2,6}/g;function M(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
144ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=E(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function E(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",i,function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",i,A)}function A(){t.datepicker._isDisabledDatepicker(D.inline?D.dpDiv.parent()[0]:D.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))}function L(e,i){for(var n in t.extend(e,i),i)null==i[n]&&(e[n]=i[n]);return e}t.widget("ui.controlgroup",{version:"1.13.2",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,i=[];t.each(this.options.items,function(n,o){var s,a={};if(o)return"controlgroupLabel"===n?((s=e.element.find(o)).each(function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),e._addClass(s,null,"ui-widget ui-widget-content ui-state-default"),void(i=i.concat(s.get()))):void(t.fn[n]&&(a=e["_"+n+"Options"]?e["_"+n+"Options"]("middle"):{classes:{}},e.element.find(o).each(function(){var o=t(this),s=o[n]("instance"),r=t.widget.extend({},a);if("button"!==n||!o.parent(".ui-spinner").length){s||(s=o[n]()[n]("instance")),s&&(r.classes=e._resolveClassesValues(r.classes,s)),o[n](r);var l=o[n]("widget");t.data(l[0],"ui-controlgroup-data",s||o[n]("instance")),i.push(l[0])}})))}),this.childWidgets=t(t.uniqueSort(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var i=t(this).data("ui-controlgroup-data");i&&i[e]&&i[e]()})},_updateCornerClass:function(t,e){var i=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,i)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],n},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(e,i){var n={};return t.each(e,function(t){var o=i.options.classes[t]||"";o=String.prototype.trim.call(o.replace(I,"")),n[t]=(o+" "+e[t]).replace(/\s+/g," ")}),n},_setOption:function(t,e){"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"!==t?this.refresh():this._callChildMethod(e?"disable":"enable")},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,n){var o=e[n]().data("ui-controlgroup-data");if(o&&i["_"+o.widgetName+"Options"]){var s=i["_"+o.widgetName+"Options"](1===e.length?"only":n);s.classes=i._resolveClassesValues(s.classes,o),o.element[o.widgetName](s)}else i._updateCornerClass(e[n](),n)}),this._callChildMethod("refresh"))}}),t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.13.2",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i,n,o=this._super()||{};return this._readType(),i=this.element.labels(),this.label=t(i[i.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",(n=this.label.contents().not(this.element[0])).length&&(this.originalLabel+=n.clone().wrapAll("<div></div>").parent().html()),this.originalLabel&&(o.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(o.disabled=e),o},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();
vendor: 1,426 bytes, line 144
144this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,i="input[name='"+t.escapeSelector(e)+"']";return e?(this.form.length?t(this.form[0].elements).filter(i):t(i).filter(function(){return 0===t(this)._form().length})).not(this.element):t([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=t(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){if("label"!==t||e){if(this._super(t,e),"disabled"===t)return this._toggleClass(this.label,null,"ui-state-disabled",e),void(this.element[0].disabled=e);this.refresh()}},_updateIcon:function(e){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=t("<span>"),this.iconSpace=t("<span> </span>
144"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(i+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]),t.ui.checkboxradio,t.widget("ui.button",{version:"1.13.2",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),null!=(t=this.element[0].disabled)&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===t.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,i){var n="iconPosition"!==e,o=n?this.options.iconPosition:i,s="top"===o||"bottom"===o;this.icon?n&&this._removeClass(this.icon,null,this.options.icon):(this.icon=t("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),n&&this._addClass(this.icon,null,i),this._attachIcon(o),s?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
vendor: 7,085 bytes, line 144
144pace||(this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(o))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=void 0===t.showLabel?this.options.showLabel:t.showLabel,i=void 0===t.icon?this.options.icon:t.icon;e||i||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){"icon"===t&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===t&&this._updateIcon(t,e),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",e),this.element[0].disabled=e,e&&this.element.trigger("blur"))},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),!1!==t.uiBackCompat&&(t.widget("ui.button",t.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(t,e){"text"!==t?("showLabel"===t&&(this.options.text=e),"icon"===t&&(this.options.icons.primary=e),"icons"===t&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",e)}}),t.fn.button=function(e){return function(i){var n="string"==typeof i,o=Array.prototype.slice.call(arguments,1),s=this;return n?this.length||"instance"!==i?this.each(function(){var e,n=t(this).attr("type"),a="checkbox"!==n&&"radio"!==n?"button":"checkboxradio",r=t.data(this,"ui-"+a);return"instance"===i?(s=r,!1):r?"function"!=typeof r[i]||"_"===i.charAt(0)?t.error("no such method '"+i+"' for button widget instance"):(e=r[i].apply(r,o))!==r&&void 0!==e?(s=e&&e.jquery?s.pushStack(e.get()):e,!1):void 0:t.error("cannot call methods on button prior to initialization; attempted to call method '"+i+"'")}):s=void 0:(o.length&&(i=t.widget.extend.apply(null,[i].concat(o))),this.each(function(){var n=t(this).attr("type"),o="checkbox"!==n&&"radio"!==n?"button":"checkboxradio",s=t.data(this,"ui-"+o);if(s)s.option(i||{}),s._init&&s._init();else{if("button"===o)return void e.call(t(this),i);t(this).checkboxradio(t.extend({icon:!1},i))}})),s}}(t.fn.button),t.fn.buttonset=function(){return t.ui.controlgroup||t.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),t.ui.button,t.extend(t.ui,{datepicker:{version:"1.13.2"}}),t.extend(M.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return L(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var n,o,s;o="div"===(n=e.nodeName.toLowerCase())||"span"===n,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(s=this._newInst(t(e),o)).settings=t.extend({},i||{}),"input"===n?this._connectDatepicker(e,s):o&&this._inlineDatepicker(e,s)},_newInst:function(e,i){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?E(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,i){var n=t(e);i.append=t([]),i.trigger=t([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),t.data(e,"datepicker",i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var n,o,s,a=this._get(i,"appendText"),r=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=t("<span>").addClass(this._appendClass).text(a),e[r?"before":"after"](i.append)),e.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(o=this._get(i,"buttonText"),s=this._get(i,"buttonImage"),this._get(i,"buttonImageOnly")?i.trigger=t("<img>").addClass(this._triggerClass).attr({src:s,alt:o,title:o}):(i.trigger=t("<button type='button'>").addClass(this._triggerClass),s?i.trigger.html(t("<img>").attr({src:s,alt:o,title:o})):i.trigger.text(o)),e[r?"before":"after"](i.trigger),i.trigger.on("click",function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,o,s=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(i=0,n=0,o=0;o<t.length;o++)t[o].length>i&&(i=t[o].length,n=o);return n},s.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),s.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-s.getDay())),t.input.attr("size",this._formatDate(t,s).length)}},_inlineDatepicker:function(e,i){var n=t(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),t.data(e,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,n,o,s){var a,r,l,c,u,h=this._dialogInst;return h||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>
144"),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),(h=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},t.data(this._dialogInput[0],"datepicker",h)),L(h.settings,o||{}),i=i&&i.constructor===Date?this._formatDate(h,i):i,this._dialogInput.val(i),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(r=document.documentElement.clientWidth,l=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[r/2-100+c,l/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),h.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",h),this},_destroyDatepicker:function(e){var i,n=t(e),o=t.data(e,"datepicker");n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,"datepicker"),"input"===i?(o.append.remove(),o.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==i&&"span"!==i||n.removeClass(this.markerClassName).empty(),D===o&&(D=null,this._curInst=null))},_enableDatepicker:function(e){var i,n,o=t(e),s=t.data(e,"datepicker");o.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=o.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,n,o=t(e),s=t.data(e,"datepicker");o.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=o.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,i,n){var o,s,a,r,l=this._getInst(e);if(2===arguments.length&&"string"==typeof i)return"defaults"===i?t.extend({},t.datepicker._defaults):l?"all"===i?t.extend({},l.settings):this._get(l,i):null;o=i||{},"string"==typeof i&&((o={})[i]=n),l&&(this._curInst===l&&this._hideDatepicker(),s=this._getDateDatepicker(e,!0),a=this._getMinMaxDate(l,"min"),r=this._getMinMaxDate(l,"max"),L(l.settings,o),null!==a&&void 0!==o.dateFormat&&void 0===o.minDate&&(l.settings.minDate=this._formatDate(l,a)),null!==r&&void 0!==o.dateFormat&&void 0===o.maxDate&&(l.settings.maxDate=this._formatDate(l,r)),"disabled"in o&&(o.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(t(e),l),this._autoSize(l),this._setDate(l,s),this._updateAlternate(l),this._updateDatepicker(l))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,n,o,s=t.datepicker._getInst(e.target),a=!0,r=s.dpDiv.is(".ui-datepicker-rtl");if(s._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),a=!1;break;case 13:return(o=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",s.dpDiv))[0]&&t.datepicker._selectDay(e.target,s.selectedMonth,s.selectedYear,o[0]),(i=t.datepicker._get(s,"onSelect"))?(n=t.datepicker._formatDate(s),i.apply(s.input?s.input[0]:null,[n,s])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(s,"stepBigMonths"):-t.datepicker._get(s,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(s,"stepBigMonths"):+t.datepicker._get(s,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(s,"stepBigMonths"):-t.datepicker._get(s,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(s,"stepBigMonths"):+t.datepicker._get(s,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var i,n,o=t.datepicker._getInst(e.target);if(t.datepicker._get(o,"constrainInput"))return i=t.datepicker._possibleChars(t.datepicker._get(o,"dateFormat")),n=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||n<" "||!i||i.indexOf(n)>-1},_doKeyUp:function(e){var i=t.datepicker._getInst(e.target);if(i.input.val()!==i.lastVal)try{t.datepicker.parseDate(t.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,t.datepicker._getFormatConfig(i))&&(t.datepicker._setDateFromField(i),t.datepicker._updateAlternate(i),t.datepicker._updateDatepicker(i))}catch(t){}return!0},_showDatepicker:function(e){var i,n,o,s,a,r,l;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),t.datepicker._isDisabledDatepicker(e)||t.datepicker._lastInput===e||(i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),!1!==(o=(n=t.datepicker._get(i,"beforeShow"))?n.apply(e,[e,i]):{})&&(L(i.settings,o),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),s=!1,t(e).parents().each(function(){return!(s|="fixed"===t(this).css("position"))}),a={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),a=t.datepicker._checkOffset(i,a,s),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":s?"fixed":"absolute",display:"none",left:a.left+"px",to
vendor: 36,563 bytes, line 144
144p:a.top+"px"}),i.inline||(r=t.datepicker._get(i,"showAnim"),l=t.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(t){for(var e,i;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}(t(e))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[r]?i.dpDiv.show(r,t.datepicker._get(i,"showOptions"),l):i.dpDiv[r||"show"](r?l:null),t.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),t.datepicker._curInst=i)))},_updateDatepicker:function(e){this.maxRows=4,D=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var i,n=this._getNumberOfMonths(e),o=n[1],s=e.dpDiv.find("."+this._dayOverClass+" a"),a=t.datepicker._get(e,"onUpdateDatepicker");s.length>0&&A.apply(s.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),o>1&&e.dpDiv.addClass("ui-datepicker-multi-"+o).css("width",17*o+"em"),e.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year").first().replaceWith(e.yearshtml),i=e.yearshtml=null},0)),a&&a.apply(e.input?e.input[0]:null,[e])},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,i,n){var o=e.dpDiv.outerWidth(),s=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:t(document).scrollLeft()),c=document.documentElement.clientHeight+(n?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?o-a:0,i.left-=n&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=n&&i.top===e.input.offset().top+r?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+o>l&&l>o?Math.abs(i.left+o-l):0),i.top-=Math.min(i.top,i.top+s>c&&c>s?Math.abs(s+r):0),i},_findPos:function(e){for(var i,n=this._getInst(e),o=this._get(n,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.pseudos.hidden(e));)e=e[o?"previousSibling":"nextSibling"];return[(i=t(e).offset()).left,i.top]},_hideDatepicker:function(e){var i,n,o,s,a=this._curInst;!a||e&&a!==t.data(e,"datepicker")||this._datepickerShowing&&(i=this._get(a,"showAnim"),n=this._get(a,"duration"),o=function(){t.datepicker._tidyDialog(a)},t.effects&&(t.effects.effect[i]||t.effects[i])?a.dpDiv.hide(i,t.datepicker._get(a,"showOptions"),n,o):a.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,o),i||o(),this._datepickerShowing=!1,(s=this._get(a,"onClose"))&&s.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),n=t.datepicker._getInst(i[0]);(i[0].id===t.datepicker._mainDivId||0!==i.parents("#"+t.datepicker._mainDivId).length||i.hasClass(t.datepicker.markerClassName)||i.closest("."+t.datepicker._triggerClass).length||!t.datepicker._datepickerShowing||t.datepicker._inDialog&&t.blockUI)&&(!i.hasClass(t.datepicker.markerClassName)||t.datepicker._curInst===n)||t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,n){var o=t(e),s=this._getInst(o[0]);this._isDisabledDatepicker(o[0])||(this._adjustInstDate(s,i,n),this._updateDatepicker(s))},_gotoToday:function(e){var i,n=t(e),o=this._getInst(n[0]);this._get(o,"gotoCurrent")&&o.currentDay?(o.selectedDay=o.currentDay,o.drawMonth=o.selectedMonth=o.currentMonth,o.drawYear=o.selectedYear=o.currentYear):(i=new Date,o.selectedDay=i.getDate(),o.drawMonth=o.selectedMonth=i.getMonth(),o.drawYear=o.selectedYear=i.getFullYear()),this._notifyChange(o),this._adjustDate(n)},_selectMonthYear:function(e,i,n){var o=t(e),s=this._getInst(o[0]);s["selected"+("M"===n?"Month":"Year")]=s["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(s),this._adjustDate(o)},_selectDay:function(e,i,n,o){var s,a=t(e);t(o).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((s=this._getInst(a[0])).selectedDay=s.currentDay=parseInt(t("a",o).attr("data-date")),s.selectedMonth=s.currentMonth=i,s.selectedYear=s.currentYear=n,this._selectDate(e,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var n,o=t(e),s=this._getInst(o[0]);i=null!=i?i:this._formatDate(s),s.input&&s.input.val(i),this._updateAlternate(s),(n=this._get(s,"onSelect"))?n.apply(s.input?s.input[0]:null,[i,s]):s.input&&s.input.trigger("change"),s.inline?this._updateDatepicker(s):(this._hideDatepicker(),this._lastInput=s.input[0],"object"!=typeof s.input[0]&&s.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var i,n,o,s=this._get(e,"altField");s&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),n=this._getDate(e),o=this.formatDate(i,n,this._getFormatConfig(e)),t(document).find(s).val(o))},noWeekends:function(t){var e=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(e,i,n){if(null==e||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;var o,s,a,r,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),h=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,d=(n?n.dayNames:null)||this._defaults.dayNames,p=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,f=(n?n.monthNames:null)||this._defaults.monthNames,m=-1,g=-1,v=-1,b=-1,_=!1,y=function(t){var i=o+1<e.length&&e.charAt(o+1)===t;return i&&o++,i},w=function(t){var e=y(t),n="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,o=new RegExp("^\\d{"+("y"===t?n:1)+","+n+"}"),s=i.substring(l).match(o);if(!s)throw"Missing number at position "+l;return l+=s[0].length,parseInt(s[0],10)},C=function(e,n,o){var s=-1,a=t.map(y(e)?o:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(a,function(t,e){var n=e[1];if(i.substr(l,n.length).toLowerCase()===n.toLowerCase())return s=e[0],l+=n.length,!1}),-1!==s)return s+1;throw"Unknown name at position "+l},x=function(){if(i.charAt(l)!==e.charAt(o))throw"Unexpected literal at position "+l;l++};for(o=0;o<e.length;o++)if(_)"'"!==e.charAt(o)||y("'")?x():_=!1;else switch(e.charAt(o)){case"d":v=w("d");break;case"D":C("D",h,d);break;case"o":b=w("o");break;case"m":g=w("m");break;case"M":g=C("M",p,f);break;case"y":m=w("y");break;case"@":m=(r=new Date(w("@"))).getFullYear(),g=r.getMonth()+1,v=r.getDate();break;case"!":m=(r=new Date((w("!")-this._ticksTo1970)/1e4)).getFullYear(),g=r.getMonth()+1,v=r.getDate();break;case"'":y("'")?x():_=!0;break;default:x()}if(l<i.length&&(a=i.substr(l),!/^\s+/.test(a)))throw"Extra/unparsed characters found in date: "+a;if(-1===m?m=(new Date).getFullYear():m<100&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(m<=u?0:-100)),b>-1)for(g=1,v=b;!(v<=(s=this._getDaysInMonth(m,g-1)));)g++,v-=s;if((r=this._daylightSavingAdjust(new Date(m,g-1,v))).getFullYear()!==m||r.getMonth()+1!==g||r.getDate()!==v)throw"Invalid date";return r},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return"";var n,o=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,s=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNames,l=function(e){var i=n+1<t.length&&t.charAt(n+1)===e;return i&&n++,i},c=function(t,e,i){var n=""+e;if(l(t))for(;n.length<i;)n="0"+n;return n},u=function(t,e,i,n){return l(t)?n[e]:i[e]},h="",d=!1;if(e)for(n=0;n<t.length;n++)if(d)"'"!==t.charAt(n)||l("'")?h+=t.charAt(n):d=!1;else switch(t.charAt(n)){case"d":h+=c("d",e.getDate(),2);break;case"D":h+=u("D",e.getDay(),o,s);break;case"o":h+=c("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":h+=c("m",e.getMonth()+1,2);break;case"M":h+=u("M",e.getMonth(),a,r);break;case"y":h+=l("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":h+=e.getTime();break;case"!":h+=1e4*e.getTime()+this._ticksTo1970;break;case"'":l("'")?h+="'":d=!0;break;default:h+=t.charAt(n)}return h},_possibleChars:function(t){var e,i="",n=!1,o=function(i){var n=e+1<t.length&&t.charAt(e+1)===i;return n&&e++,n};for(e=0;e<t.length;e++)if(n)"'"!==t.charAt(e)||o("'")?i+=t.charAt(e):n=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":o("'")?i+="'":n=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,e){return void 0!==t.settings[e]?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),n=t.lastVal=t.input?t.input.val():null,o=this._getDefaultDate(t),s=o,a=this._getFormatConfig(t);try{s=this.parseDate(i,n,a)||o}catch(t){n=e?"":n}t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),t.currentDay=n?s.getDate():0,t.currentMonth=n?s.getMonth():0,t.currentYear=n?s.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,n){var o=null==i||""===i?n:"string"==typeof i?function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(t){}for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,o=n.getFullYear(),s=n.getMonth(),a=n.getDate(),r=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=r.exec(i);l;){switch(l[2]||"d"){case"d":case"D":a+=parseInt(l[1],10);break;case"w":case"W":a+=7*parseInt(l[1],10);break;case"m":case"M":s+=parseInt(l[1],10),a=Math.min(a,t.datepicker._getDaysInMonth(o,s));break;case"y":case"Y":o+=parseInt(l[1],10),a=Math.min(a,t.datepicker._getDaysInMonth(o,s))}l=r.exec(i)}return new Date(o,s,a)}(i):"number"==typeof i?isNaN(i)?n:function(t){var e=new Date;return e.setDate(e.getDate()+t),e}(i):new Date(i.getTime());return(o=o&&"Invalid Date"===o.toString()?n:o)&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,o=t.selectedMonth,s=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),o===t.selectedMonth&&s===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){t.datepicker._adjustDate(n,-i,"M")},next:function(){t.datepicker._adjustDate(n,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(n)},selectDay:function(){return t.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(n,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var i,n,o,s,a,r,l,c,u,h,d,p,f,m,g,v,b,_,y,w,C,x,k,$,S,P,T,D,I,M,E,A,L,O,H,B,N,z,F,R=new Date,W=this._daylightSavingAdjust(new Date(R.getFullYear(),R.getMonth(),R.getDate())),j=this._get(e,"isRTL"),q=this._get(e,"showButtonPanel"),U=this._get(e,"hideIfNoPrevNext"),V=this._get(e,"navigationAsDateFormat"),Y=this._getNumberOfMonths(e),K=this._get(e,"showCurrentAtPos"),X=this._get(e,"stepMonths"),Q=1!==Y[0]||1!==Y[1],G=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),Z=this._getMinMaxDate(e,"min"),J=this._getMinMaxDate(e,"max"),tt=e.drawMonth-K,et=e.drawYear;if(tt<0&&(tt+=12,et--),J)for(i=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-Y[0]*Y[1]+1,J.getDate())),i=Z&&i<Z?Z:i;this._daylightSavingAdjust(new Date(et,tt,1))>i;)--tt<0&&(tt=11,et--);for(e.drawMonth=tt,e.drawYear=et,n=this._get(e,"prevText"),n=V?this.formatDate(n,this._daylightSavingAdjust(new Date(et,tt-X,1)),this._getFormatConfig(e)):n,o=this._canAdjustMonth(e,-1,et,tt)?t("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:n}).append(t("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(j?"e":"w")).text(n))[0].outerHTML:U?"":t("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:n}).append(t("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(j?"e":"w")).text(n))[0].outerHTML,s=this._get(e,"nextText"),s=V?this.formatDate(s,this._daylightSavingAdjust(new Date(et,tt+X,1)),this._getFormatConfig(e)):s,a=this._canAdjustMonth(e,1,et,tt)?t("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:s}).append(t("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(j?"w":"e")).text(s))[0].outerHTML:U?"":t("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:s}).append(t("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(j?"w":"e")).text(s))[0].outerHTML,r=this._get(e,"currentText"),l=this._get(e,"gotoCurrent")&&e.currentDay?G:W,r=V?this.formatDate(r,l,this._getFormatConfig(e)):r,c="",e.inline||(c=t("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(e,"closeText"))[0].outerHTML),u="",q&&(u=t("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(j?c:"").append(this._isInRange(e,l)?t("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(r):"").append(j?"":c)[0].outerHTML),h=parseInt(this._get(e,"firstDay"),10),h=isNaN(h)?0:h,d=this._get(e,"showWeek"),p=this._get(e,"dayNames"),f=this._get(e,"dayNamesMin"),m=this._get(e,"monthNames"),g=this._get(e,"monthNamesShort"),v=this._get(e,"beforeShowDay"),b=this._get(e,"showOtherMonths"),_=this._get(e,"selectOtherMonths"),y=this._getDefaultDate(e),w="",x=0;x<Y[0];x++){for(k="",this.maxRows=4,$=0;$<Y[1];$++){if(S=this._daylightSavingAdjust(new Date(et,tt,e.selectedDay)),P=" ui-corner-all",T="",Q){if(T+="<div class='ui-datepicker-group",Y[1]>1)switch($){case 0:T+=" ui-datepicker-group-first",P=" ui-corner-"+(j?"right":"left");break;case Y[1]-1:T+=" ui-datepicker-group-last",P=" ui-corner-"+(j?"left":"right");break;default:T+=" ui-datepicker-group-middle",P=""}T+="'>"}for(T+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+P+"'>"+(/all|left/.test(P)&&0===x?j?a:o:"")+(/all|right/.test(P)&&0===x?j?o:a:"")+this._generateMonthYearHeader(e,tt,et,Z,J,x>0||$>0,m,g)+"</div><table class='ui-datepicker-calendar'><thead><tr>",D=d?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",C=0;C<7;C++)D+="<th scope='col'"+((C+h+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+p[I=(C+h)%7]+"'>"+f[I]+"</span></th>";for(T+=D+"</tr></thead><tbody>",M=this._getDaysInMonth(et,tt),et===e.selectedYear&&tt===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,M)),E=(this._getFirstDayOfMonth(et,tt)-h+7)%7,A=Math.ceil((E+M)/7),L=Q&&this.maxRows>A?this.maxRows:A,this.maxRows=L,O=this._daylightSavingAdjust(new Date(et,tt,1-E)),H=0;H<L;H++){for(T+="<tr>",B=d?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(O)+"</td>":"",C=0;C<7;C++)N=v?v.apply(e.input?e.input[0]:null,[O]):[!0,""],F=(z=O.getMonth()!==tt)&&!_||!N[0]||Z&&O<Z||J&&O>J,B+="<td class='"+((C+h+6)%7>=5?" ui-datepicker-week-end":"")+(z?" ui-datepicker-other-month":"")+(O.getTime()===S.getTime()&&tt===e.selectedMonth&&e._keyEvent||y.getTime()===O.getTime()&&y.getTime()===S.getTime()?" "+this._dayOverClass:"")+(F?" "+this._unselectableClass+" ui-state-disabled":"")+(z&&!b?"":" "+N[1]+(O.getTime()===G.getTime()?" "+this._currentClass:"")+(O.getTime()===W.getTime()?" ui-datepicker-today":""))+"'"+(z&&!b||!N[2]?"":" title='"+N[2].replace(/'/g,"'")+"'")+(F?"":" data-handler='selectDay' data-event='click' data-month='"+O.getMonth()+"' data-year='"+O.getFullYear()+"'")+">"+(z&&!b?" ":F?"<span class='ui-state-default'>"+O.getDate()+"</span>":"<a class='ui-state-default"+(O.getTime()===W.getTime()?" ui-state-highlight":"")+(O.getTime()===G.getTime()?" ui-state-active":"")+(z?" ui-priority-secondary":"")+"' href='#' aria-current='"+(O.getTime()===G.getTime()?"true":"false")+"' data-date='"+O.getDate()+"'>"+O.getDate()+"</a>")+"</td>",O.setDate(O.getDate()+1),O=this._daylightSavingAdjust(O);T+=B+"</tr>"}++tt>11&&(tt=0,et++),k+=T+="</tbody></table>"+(Q?"</div>"+(Y[0]>0&&$===Y[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}w+=k}return w+=u,e._keyEvent=!1,w},_generateMonthYearHeader:function(t,e,i,n,o,s,a,r){var l,c,u,h,d,p,f,m,g=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),b=this._get(t,"showMonthAfterYear"),_=this._get(t,"selectMonthLabel"),y=this._get(t,"selectYearLabel"),w="<div class='ui-datepicker-title'>",C="";if(s||!g)C+="<span class='ui-datepicker-month'>"+a[e]+"</span>";else{for(l=n&&n.getFullYear()===i,c=o&&o.getFullYear()===i,C+="<select class='ui-datepicker-month' aria-label='"+_+"' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!l||u>=n.getMonth())&&(!c||u<=o.getMonth())&&(C+="<option value='"+u+"'"+(u===e?" selected='selected'":"")+">"+r[u]+"</option>");C+="</select>"}if(b||(w+=C+(!s&&g&&v?"":" ")),!t.yearshtml)if(t.yearshtml="",s||!v)w+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(h=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e},f=p(h[0]),m=Math.max(f,p(h[1]||"")),f=n?Math.max(f,n.getFullYear()):f,m=o?Math.min(m,o.getFullYear()):m,t.yearshtml+="<select class='ui-datepicker-year' aria-label='"+y+"' data-handler='selectYear' data-event='change'>";f<=m;f++)t.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";t.yearshtml+="</select>",w+=t.yearshtml,t.yearshtml=null}return w+=this._get(t,"yearSuffix"),b&&(w+=(!s&&g&&v?"":" ")+C),w+"</div>"},_adjustInstDate:function(t,e,i){var n=t.selectedYear+("Y"===i?e:0),o=t.selectedMonth+("M"===i?e:0),s=Math.min(t.selectedDay,this._getDaysInMonth(n,o))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,o,s)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),o=i&&e<i?i:e;return n&&o>n?n:o},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var o=this._getNumberOfMonths(t),s=this._daylightSavingAdjust(new Date(i,n+(e<0?e:o[0]*o[1]),1));return e<0&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(t,s)},_isInRange:function(t,e){var i,n,o=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),a=null,r=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),a=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=n),i[1].match(/[+\-].*/)&&(r+=n)),(!o||e.getTime()>=o.getTime())&&(!s||e.getTime()<=s.getTime())&&(!a||e.getFullYear()>=a)&&(!r||e.getFullYear()<=r)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var o=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),o,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new M,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.13.2",t.datepicker,t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var O,H=!1;function B(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t(document).on("mouseup",function(){H=!1}),t.widget("ui.mouse",{version:"1.13.2",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){if(!0===t.data(i.target,e.widgetName+".preventClickEvent"))return t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!H){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,n=1===e.which,o=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&t(e.target).closest(this.options.cancel).length;return!(n&&!o&&this._mouseCapture(e)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),H=!0,0)))}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,H=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,n){var o,s=t.ui[e].prototype;for(o in n)s.plugins[o]=s.plugins[o]||[],s.plugins[o].push([i,n[o]])},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)}},t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")},t.widget("ui.draggable",t.ui.mouse,{version:"1.13.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var i=this.options;return!(this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0||(this.handle=this._getHandle(e),!this.handle||(this._blurActiveElement(e),this._blockFrames(!0===i.iframeFix?"iframe":i.iframeFix),0)))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]);t(e.target).closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var n=this._uiHash();if(!1===this._trigger("drag",e,n))return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,n=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(n=t.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,n)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==i._trigger("stop",e)&&i._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,n="function"==typeof i.helper,o=n?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return o.parents("body").length||o.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),n&&o[0]===this.element[0]&&this._setPositionRelative(),o[0]===this.element[0]||/(fixed|absolute)/.test(o.css("position"))||o.css("position","absolute"),o},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),Array.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,o=this.options,s=this.document[0];this.relativeContainer=null,o.containment?"window"!==o.containment?"document"!==o.containment?o.containment.constructor!==Array?("parent"===o.containment&&(o.containment=this.helper[0].parentNode),(n=(i=t(o.containment))[0])&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i)):this.containment=o.containment:this.containment=[0,0,t(s).width()-this.helperProportions.width-this.margins.left,(t(s).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,n,o,s,a=this.options,r=this._isRootNode(this.scrollParent[0]),l=t.pageX,c=t.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(n=this.relativeContainer.offset(),i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):i=this.containment,t.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(c=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(c=i[3]+this.offset.click.top)),a.grid&&(o=a.grid[1]?this.originalPageY+Math.round((c-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,c=i?o-this.offset.click.top>=i[1]||o-this.offset.click.top>i[3]?o:o-this.offset.click.top>=i[1]?o-a.grid[1]:o+a.grid[1]:o,s=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)
vendor: 4,883 bytes, line 144
144/a.grid[0])*a.grid[0]:this.originalPageX,l=i?s-this.offset.click.left>=i[0]||s-this.offset.click.left>i[2]?s:s-this.offset.click.left>=i[0]?s-a.grid[0]:s+a.grid[0]:s),"y"===a.axis&&(l=this.originalPageX),"x"===a.axis&&(c=this.originalPageY)),{top:c-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,n){return n=n||this._uiHash(),t.ui.plugin.call(this,e,[i,n,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,n){var o=t.extend({},i,{item:n.element});n.sortables=[],t(n.options.connectToSortable).each(function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(n.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,o))})},stop:function(e,i,n){var o=t.extend({},i,{item:n.element});n.cancelHelperRemoval=!1,t.each(n.sortables,function(){var t=this;t.isOver?(t.isOver=0,n.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,o))})},drag:function(e,i,n){t.each(n.sortables,function(){var o=!1,s=this;s.positionAbs=n.positionAbs,s.helperProportions=n.helperProportions,s.offset.click=n.offset.click,s._intersectsWith(s.containerCache)&&(o=!0,t.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==s&&this._intersectsWith(this.containerCache)&&t.contains(s.element[0],this.element[0])&&(o=!1),o})),o?(s.isOver||(s.isOver=1,n._parent=i.helper.parent(),s.currentItem=i.helper.appendTo(s.element).data("ui-sortable-item",!0),s.options._helper=s.options.helper,s.options.helper=function(){return i.helper[0]},e.target=s.currentItem[0],s._mouseCapture(e,!0),s._mouseStart(e,!0,!0),s.offset.click.top=n.offset.click.top,s.offset.click.left=n.offset.click.left,s.offset.parent.left-=n.offset.parent.left-s.offset.parent.left,s.offset.parent.top-=n.offset.parent.top-s.offset.parent.top,n._trigger("toSortable",e),n.dropped=s.element,t.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,s.fromOutside=n),s.currentItem&&(s._mouseDrag(e),i.position=s.position)):s.isOver&&(s.isOver=0,s.cancelHelperRemoval=!0,s.options._revert=s.options.revert,s.options.revert=!1,s._trigger("out",e,s._uiHash(s)),s._mouseStop(e,!0),s.options.revert=s.options._revert,s.options.helper=s.options._helper,s.placeholder&&s.placeholder.remove(),i.helper.appendTo(n._parent),n._refreshOffsets(e),i.position=n._generatePosition(e,!0),n._trigger("fromSortable",e),n.dropped=!1,t.each(n.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,n){var o=t("body"),s=n.options;o.css("cursor")&&(s._cursor=o.css("cursor")),o.css("cursor",s.cursor)},stop:function(e,i,n){var o=n.options;o._cursor&&t("body").css("cursor",o._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,n){var o=t(i.helper),s=n.options;o.css("opacity")&&(s._opacity=o.css("opacity")),o.css("opacity",s.opacity)},stop:function(e,i,n){var o=n.options;o._opacity&&t(i.helper).css("opacity",o._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,n){var o=n.options,s=!1,a=n.scrollParentNotHidden[0],r=n.document[0];a!==r&&"HTML"!==a.tagName?(o.axis&&"x"===o.axis||(n.overflowOffset.top+a.offsetHeight-e.pageY<o.scrollSensitivity?a.scrollTop=s=a.scrollTop+o.scrollSpeed:e.pageY-n.overflowOffset.top<o.scrollSensitivity&&(a.scrollTop=s=a.scrollTop-o.scrollSpeed)),o.axis&&"y"===o.axis||(n.overflowOffset.left+a.offsetWidth-e.pageX<o.scrollSensitivity?a.scrollLeft=s=a.scrollLeft+o.scrollSpeed:e.pageX-n.overflowOffset.left<o.scrollSensitivity&&(a.scrollLeft=s=a.scrollLeft-o.scrollSpeed))):(o.axis&&"x"===o.axis||(e.pageY-t
vendor: 11,762 bytes, line 144
144(r).scrollTop()<o.scrollSensitivity?s=t(r).scrollTop(t(r).scrollTop()-o.scrollSpeed):t(window).height()-(e.pageY-t(r).scrollTop())<o.scrollSensitivity&&(s=t(r).scrollTop(t(r).scrollTop()+o.scrollSpeed))),o.axis&&"y"===o.axis||(e.pageX-t(r).scrollLeft()<o.scrollSensitivity?s=t(r).scrollLeft(t(r).scrollLeft()-o.scrollSpeed):t(window).width()-(e.pageX-t(r).scrollLeft())<o.scrollSensitivity&&(s=t(r).scrollLeft(t(r).scrollLeft()+o.scrollSpeed)))),!1!==s&&t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(n,e)}}),t.ui.plugin.add("draggable","snap",{start:function(e,i,n){var o=n.options;n.snapElements=[],t(o.snap.constructor!==String?o.snap.items||":data(ui-draggable)":o.snap).each(function(){var e=t(this),i=e.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:i.top,left:i.left})})},drag:function(e,i,n){var o,s,a,r,l,c,u,h,d,p,f=n.options,m=f.snapTolerance,g=i.offset.left,v=g+n.helperProportions.width,b=i.offset.top,_=b+n.helperProportions.height;for(d=n.snapElements.length-1;d>=0;d--)c=(l=n.snapElements[d].left-n.margins.left)+n.snapElements[d].width,h=(u=n.snapElements[d].top-n.margins.top)+n.snapElements[d].height,v<l-m||g>c+m||_<u-m||b>h+m||!t.contains(n.snapElements[d].item.ownerDocument,n.snapElements[d].item)?(n.snapElements[d].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=!1):("inner"!==f.snapMode&&(o=Math.abs(u-_)<=m,s=Math.abs(h-b)<=m,a=Math.abs(l-v)<=m,r=Math.abs(c-g)<=m,o&&(i.position.top=n._convertPositionTo("relative",{top:u-n.helperProportions.height,left:0}).top),s&&(i.position.top=n._convertPositionTo("relative",{top:h,left:0}).top),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left),r&&(i.position.left=n._convertPositionTo("relative",{top:0,left:c}).left)),p=o||s||a||r,"outer"!==f.snapMode&&(o=Math.abs(u-b)<=m,s=Math.abs(h-_)<=m,a=Math.abs(l-g)<=m,r=Math.abs(c-v)<=m,o&&(i.position.top=n._convertPositionTo("relative",{top:u,left:0}).top),s&&(i.position.top=n._convertPositionTo("relative",{top:h-n.helperProportions.height,left:0}).top),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l}).left),r&&(i.position.left=n._convertPositionTo("relative",{top:0,left:c-n.helperProportions.width}).left)),!n.snapElements[d].snapping&&(o||s||a||r||p)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=o||s||a||r||p)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,n){var o,s=n.options,a=t.makeArray(t(s.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});a.length&&(o=parseInt(t(a[0]).css("zIndex"),10)||0,t(a).each(function(e){t(this).css("zIndex",o+e)}),this.css("zIndex",o+a.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,n){var o=t(i.helper),s=n.options;o.css("zIndex")&&(s._zIndex=o.css("zIndex")),o.css("zIndex",s.zIndex)},stop:function(e,i,n){var o=n.options;o._zIndex&&t(i.helper).css("zIndex",o._zIndex)}}),t.ui.draggable,t.widget("ui.resizable",t.ui.mouse,{version:"1.13.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var n=i&&"left"===i?"scrollLeft":"scrollTop",o=!1;if(e[n]>0)return!0;try{e[n]=1,o=e[n]>0,e[n]=0}catch(t){}return o},_create:function(){var e,i=this.options,n=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(n._removeClass("ui-resizable-autohide"),n._handles.show())}).on("mouseleave",function(){i.disabled||n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable")};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var e,i,n,o,s,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this._addedHandles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},i=0;i<n.length;i++)o="ui-resizable-"+(e=String.prototype.trim.call(n[i])),s=t("<div>"),this._addClass(s,"ui-resizable-handle "+o),s.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.children(this.handles[e]).length||(this.element.append(s),this._addedHandles=this._addedHandles.add(s));this._renderAxis=function(e){var i,n,o,s;for(i in e=e||this.element,this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=t(this.handles[i],this.element),s=/sw|ne|nw|se|n|s/.test(i)?n.outerHeight():n.outerWidth(),o=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(o,s),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(s=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=s&&s[1]?s[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(e){var i,n,o=!1;for(i in this.handles)((n=t(this.handles[i])[0])===e.target||t.contains(n,e.target))&&(o=!0);return!this.options.disabled&&o},_mouseStart:function(e){var i,n,o,s=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),n=this._num(this.helper.css("top")),s.containment&&(i+=t(s.containment).scrollLeft()||0,n+=t(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:n},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:n},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===o?this.axis+"-resize":o),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,n,o=this.originalMousePosition,s=this.axis,a=e.pageX-o.left||0,r=e.pageY-o.top||0,l=this._change[s];return this._updatePrevProperties(),!!l&&(i=l.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1)},_mouseStop:function(e){this.resizing=!1;var i,n,o,s,a,r,l,c=this.options,u=this;return this._helper&&(o=(n=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:u.sizeDiff.height,s=n?0:u.sizeDiff.width,a={width:u.helper.width()-s,height:u.helper.height()-o},r=parseFloat(u.element.css("left"))+(u.position.left-u.originalPosition.left)||null,l=parseFloat(u.element.css("top"))+(u.position.top-u.originalPosition.top)||null,c.animate||this.element.css(t.extend(a,{top:l,left:r})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!c.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,n,o,s,a=this.options;s={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=s.minHeight*this.aspectRatio,n=s.minWidth/this.aspectRatio,i=s.maxHeight*this.aspectRatio,o=s.maxWidth/this.aspectRatio,e>s.minWidth&&(s.minWidth=e),n>s.minHeight&&(s.minHeight=n),i<s.maxWidth&&(s.maxWidth=i),o<s.maxHeight&&(s.maxHeight=o)),this._vBoundaries=s},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left
vendor: 4,927 bytes, line 144
144=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,n=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,n=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,o=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,s=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,c=/sw|nw|w/.test(i),u=/nw|ne|n/.test(i);return s&&(t.width=e.minWidth),a&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),o&&(t.height=e.maxHeight),s&&c&&(t.left=r-e.minWidth),n&&c&&(t.left=r-e.maxWidth),a&&u&&(t.top=l-e.minHeight),o&&u&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],n=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],o=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(n[e])||0,i[e]+=parseFloat(o[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e<this._proportionallyResizeElements.length;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},sw:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,n]))},ne:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},nw:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,n]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),n=i.options,o=i._proportionallyResizeElements,s=o.length&&/textarea/i.test(o[0].nodeName),a=s&&i._hasScroll(o[0],"left")?0:i.sizeDiff.height,r=s?0:i.sizeDiff.width,l={width:i.size.width-r,height:i.size.height-a},c=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,u=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,u&&c?{top:u,left:c}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var n={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};o&&o.length&&t(o[0]).css({width:n.width,height:n.height}),i._updateCache(n),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,n,o,s,a,r,l=t(this).resizable("instance"),c=l.options,u=l.element,h=c.containment,d=h instanceof t?h.get(0):/parent/.test(h)?u.parent().get(0):h;d&&(l.containerElement=t(d),/document/.test(h)||h===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}
vendor: 2,891 bytes, line 144
144):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,n){i[t]=l._num(e.css("padding"+n))}),l.containerOffset=e.offset(),l.containerPosition=e.position(),l.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},n=l.containerOffset,o=l.containerSize.height,s=l.containerSize.width,a=l._hasScroll(d,"left")?d.scrollWidth:s,r=l._hasScroll(d)?d.scrollHeight:o,l.parentData={element:d,left:n.left,top:n.top,width:a,height:r}))},resize:function(e){var i,n,o,s,a=t(this).resizable("instance"),r=a.options,l=a.containerOffset,c=a.position,u=a._aspectRatio||e.shiftKey,h={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(h=l),c.left<(a._helper?l.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-l.left:a.position.left-h.left),u&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?l.left:0),c.top<(a._helper?l.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-l.top:a.position.top),u&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?l.top:0),o=a.containerElement.get(0)===a.element.parent().get(0),s=/relative|absolute/.test(a.containerElement.css("position")),o&&s?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-h.left:a.offset.left-l.left)),n=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-h.top:a.offset.top-l.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,u&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),n+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-n,u&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,n=e.containerOffset,o=e.containerPosition,s=e.containerElement,a=t(e.helper),r=a.offset(),l=a.outerWidth()-e.sizeDiff.width,c=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(s.css("position"))&&t(this).css({left:r.left-o.left-n.left,width:l,height:c}),e._helper&&!i.animate&&/static/.test(s.css("position"))&&t(this).css({left:r.left-o.left-n.left,width:l,height:c})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance").options;t(e.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var n=t(this).resizable("instance"),o=n.options,s=n.originalSize,a=n.originalPosition,r={height:n.size.height-s.height||0,width:n.size.width-s.width||0,top:n.position.top-a.top||0,left
vendor: 20,492 bytes, line 144
144:n.position.left-a.left||0};t(o.alsoResize).each(function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),o={},s=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(s,function(t,e){var i=(n[e]||0)+(r[e]||0);i&&i>=0&&(o[e]=i||null)}),e.css(o)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==t.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),n=i.options,o=i.size,s=i.originalSize,a=i.originalPosition,r=i.axis,l="number"==typeof n.grid?[n.grid,n.grid]:n.grid,c=l[0]||1,u=l[1]||1,h=Math.round((o.width-s.width)/c)*c,d=Math.round((o.height-s.height)/u)*u,p=s.width+h,f=s.height+d,m=n.maxWidth&&n.maxWidth<p,g=n.maxHeight&&n.maxHeight<f,v=n.minWidth&&n.minWidth>p,b=n.minHeight&&n.minHeight>f;n.grid=l,v&&(p+=c),b&&(f+=u),m&&(p-=c),g&&(f-=u),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-h):((f-u<=0||p-c<=0)&&(e=i._getPaddingPlusBorderDimensions(this)),f-u>0?(i.size.height=f,i.position.top=a.top-d):(f=u-e.height,i.size.height=f,i.position.top=a.top+s.height-f),p-c>0?(i.size.width=p,i.position.left=a.left-h):(p=c-e.width,i.size.width=p,i.position.left=a.left+s.width-p))}}),t.ui.resizable,t.widget("ui.dialog",{version:"1.13.2",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;i<0&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||t.ui.safeBlur(t.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,i){var n=!1,o=this.uiDialog.siblings(".ui-front:visible").map(function(){return+t(this).css("z-index")}).get(),s=Math.max.apply(null,o);return s>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",s+1),n=!0),n&&!i&&this._trigger("focus",e),n},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=t(t.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var t=this._focusedElement;t||(t=this.element.find("[autofocus]")),t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).trigger("focus")},_restoreTabbableFocus:function(){var e=t.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||t.contains(this.uiDialog[0],e)||this._focusTabbable()},_keepFocus:function(t){t.preventDefault(),this._restoreTabbableFocus(),this._delay(this._restoreTabbableFocus)},_createWrapper:function(){this.uiDialog=t("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===t.ui.keyCode.TAB&&!e.isDefaultPrevented()){var i=this.uiDialog.find(":tabbable"),n=i.first(),o=i.last();e.target!==o[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==n[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){o.trigger("focus")}),e.preventDefault()):(this._delay(function(){n.trigger("focus")}),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=t("<button type='button'></button>").button({label:t("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html(" ")},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||Array.isArray(i)&&!i.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(t.each(i,function(i,n){var o,s;n="function"==typeof n?{click:n,text:i}:n,n=t.extend({type:"button"},n),o=n.click,s={icon:n.icon,iconPosition:n.iconPosition,showLabel:n.showLabel,icons:n.icons,text:n.text},delete n.click,delete n.icon,delete n.iconPosition,delete n.showLabel,delete n.icons,"boolean"==typeof n.text&&delete n.text,t("<button></button>",n).button(s).appendTo(e.uiButtonSet).on("click",function(){o.apply(e.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var e=this,i=this.options;function n(t){return{position:t.position,offset:t.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,o){e._addClass(t(this),"ui-dialog-dragging"),e._blockFrames(),e._trigger("dragStart",i,n(o))},drag:function(t,i){e._trigger("drag",t,n(i))},stop:function(o,s){var a=s.offset.left-e.document.scrollLeft(),r=s.offset.top-e.document.scrollTop();i.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" top"+(r>=0?"+":"")+r,of:e.window},e._removeClass(t(this),"ui-dialog-dragging"),e._unblockFrames(),e._trigger("dragStop",o,n(s))}})},_makeResizable:function(){var e=this,i=this.options,n=i.resizable,o=this.uiDialog.css("position"),s="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";function a(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:s,start:function(i,n){e._addClass(t(this),"ui-dialog-resizing"),e._blockFrames(),e._trigger("resizeStart",i,a(n))},resize:function(t,i){e._trigger("resize",t,a(i))},stop:function(n,o){var s=e.uiDialog.offset(),r=s.left-e.document.scrollLeft(),l=s.top-e.document.scrollTop();i.height=e.uiDialog.height(),i.width=e.uiDialog.width(),i.position={my:"left top",at:"left"+(r>=0?"+":"")+r+" top"+(l>=0?"+":"")+l,of:e.window},e._removeClass(t(this),"ui-dialog-resizing"),e._unblockFrames(),e._trigger("resizeStop",n,a(o))}}).css("position",o)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=t(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),i=t.inArray(this,e);-1!==i&&e.splice(i,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(e){var i=this,n=!1,o={};t.each(e,function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(n=!0),t in i.resizableRelatedOptions&&(o[t]=e)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",o)},_setOption:function(e,i){var n,o,s=this.uiDialog;"disabled"!==e&&(this._super(e,i),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:t("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((n=s.is(":data(ui-draggable)"))&&!i&&s.draggable("destroy"),!n&&i&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((o=s.is(":data(ui-resizable)"))&&!i&&s.resizable("destroy"),o&&"string"==typeof i&&s.resizable("option","handles",i),o||!1===i||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),t=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),e=Math.max(0,n.minHeight-t),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-t):"none","auto"===n.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!t(e.target).closest(".ui-dialog").length||!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=t.fn.jquery.substring(0,4),i=!0;this._delay(function(){i=!1}),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",function(t){if(!i){var n=this._trackingInstances()[0];n._allowInteraction(t)||(t.preventDefault(),n._focusTabbable(),"3.4."!==e&&"3.5."!==e||n._delay(n._restoreTabbableFocus))}}.bind(this)),this.overlay=t("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==t.uiBackCompat&&t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}}),t.ui.dialog,t.widget("ui.droppable",{version:"1.13.2",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept="function"==typeof i?i:function(t){return t.is(i)},this.proportions=function(){if(!arguments.length)return t||(t={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});t=arguments[0]},this._addToManager(e.scope),e.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){t.ui.ddmanager.droppables[e]=t.ui.ddmanager.droppables[e]||[],t.ui.ddmanager.droppables[e].push(this)},_splice:function(t){for(var e=0;e<t.length;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var e=t.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,i){if("accept"===e)this.accept="function"==typeof i?i:function(t){return t.is(i)};else if("scope"===e){var n=t.ui.ddmanager.droppables[this.options.scope];this._splice(n),this._addToManager(i)}this._super(e,i)},_activate:function(e){var i=t.ui.ddmanager.current;this._addActiveClass(),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this._removeActiveClass(),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var n=i||t.ui.ddmanager.current,o=!1;return!(!n||(n.currentItem||n.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var i=t(this).droppable("instance");if(i.options.greedy&&!i.options.disabled&&i.options.scope===n.options.scope&&i.accept.call(i.element[0],n.currentItem||n.element)&&t.ui.intersect(n,t.extend(i,{offset:i.element.offset()}),i.options.tolerance,e))return o=!0,!1}),!o&&!!this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",e,this.ui(n)),this.element))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}),t.ui.intersect=function(){function t(t,e,i){return t>=e&&t<e+i}return function(e,i,n,o){if(!i.offset)return!1;var s=(e.positionAbs||e.position.absolute).left+e.margins.left,a=(e.positionAbs||e.position.absolute).top+e.margins.top,r=s+e.helperProportions.width,l=a+e.helperProportions.height,c=i.offset.left,u=i.offset.top,h=c+i.proportions().width,d=u+i.proportions().height;switch(n){case"fit":return c<=s&&r<=h&&u<=a&&l<=d;case"intersect":return c<s+e.helperProportions.width/2&&r-e.helperProportions.width/2<h&&u<a+e.helperProportions.height/2&&l-e.helperProportions.height/2<d;case"pointer":return t(o.pageY,u,i.proportions().height)&&t(o.pageX,c,i.proportions().width);case"touch":return(a>=u&&a<=d||l>=u&&l<=d||a<u&&l>d)&&(s>=c&&s<=h||r>=c&&r<=h||s<c&&r>h);default:return!1}}}(),t.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,i){var n,o,s=t.ui.ddmanager.droppables[e.options.scope]||[],a=i?i.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(n=0;n<s.length;n++)if(!(s[n].options.disabled||e&&!s[n].accept.call(s[n].element[0],e.currentItem||e.element))){for(o=0;o<r.length;o++)if(r[o]===s[n].element[0]){s[n].proportions().height=0;continue t}s[n].visible="none"!==s[n].element.css("display"),s[n].visible&&("mousedown"===a&&s[n]._activate.call(s[n],i),s[n].offset=s[n].element.offset(),s[n].proportions({width:s[n].element[0].offsetWidth,height:s[n].element[0].offsetHeight}))}},drop:function(e,i){var n=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(e,this,this.options.tolerance,i)&&(n=this._drop.call(this,i)||n),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),n},dragStart:function(e,i){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var n,o,s,a=t.ui.intersect(e,this,this.options.tolerance,i),r=!a&&this.isover?"isout":a&&!this.isover?"isover":null;r&&(this.options.greedy&&(o=this.options.scope,(s=this.element.parents(":data(ui-droppable)").filter(function(){return t(this).droppable("instance").options.scope===o})).length&&((n=t(s[0]).droppable("instance")).greedyChild="isover"===r)),n&&"isover"===r&&(n.isover=!1,n.isout=!0,n._out.call(n,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),n&&"isout"===r&&(n.isout=!1,n.isover=!0,n._over.call(n,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}},!1!==t.uiBackCompat&&t.widget("ui.droppable",t.ui.droppable,{options:{hoverClass:!1,activeClass:!1}
vendor: 5,376 bytes, line 144
144,_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),t.ui.droppable,t.widget("ui.progressbar",{version:"1.13.2",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=t("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(t){if(void 0===t)return this.options.value;this.options.value=this._constrainedValue(t),this._refreshValue()},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(i.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),t.widget("ui.selectable",t.ui.mouse,{version:"1.13.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e.elementPos=t(e.element[0]).offset(),e.selectees=t(e.options.filter,e.element[0]),e._addClass(e.selectees,"ui-selectee"),e.selectees.each(function(){var i=t(this),n=i.offset(),o={left:n.left-e.elementPos.left,top:n.top-e.elementPos.top};t.data(this,"selectable-item",{element:this,$element:i,left:o.left,top:o.top,right:o.left+i.outerWidth(),bottom:o.top+i.outerHeight(),startselected:!1,selected:i.hasClass("ui-selected"),selecting:i.hasClass("ui-selecting"),unselecting:i.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=t("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(e){var i=this,n=this.options;this.opos=[e.pageX,e.pageY],this.elementPos=t(this.element[0]).offset(),this.options.disabled||(this.selectees=t(n.filter,this.element[0]),this._trigger("start",e),t(n.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),n.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var n=t.data(this,"selectable-item");n.startselected=!0,e.metaKey||e.ctrlKey||(i._removeClass(n.$element,"ui-selected"),n.selected=!1,i._addClass(n.$element,"ui-unselecting"),n.unselecting=!0,i._trigger("unselecting",e,{unselecting:n.element}))}),t(e.target).parents().addBack().each(function(){var n,o=t.data(this,"selectable-item");if(o)return n=!e.metaKey&&!e.ctrlKey||!o.$element.hasClass("ui-selected"),i._removeClass(o.$element,n?"ui-unselecting":"ui-selected")._addClass(o.$element,n?"ui-selecting":"ui-unselecting"),o.unselecting=!n,o.selecting=n,o.selected=n,n?i._trigger("selecting",e,{selecting:o.element}):i._trigger("unselecting",e,{unselecting:o.element}),!1}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,n=this,o=this.options,s=this.opos[0],a=this.opos[1],r=e.pageX,l=e.pageY;return s>r&&(i=r,r=s,s=i),a>l&&(i=l,l=a,a=i),this.helper.css({left:s,top:a,width:r-s,height:l-a}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),c=!1,u={};i&&i.element!==n.element[0]&&(u.left=i.left+n.elementPos.left,u.right=i.right+n.elementPos.left,u.top=i.top+n.elementPos.top,u.bottom=i.bottom+n.elementPos.top,"touch"===o.tolerance?c=!(u.left>r||u.right<s||u.top>l||u.bottom<a):"fit"===o.tolerance&&(c=u.left>
vendor: 6,521 bytes, line 144
144s&&u.right<r&&u.top>a&&u.bottom<l),c?(i.selected&&(n._removeClass(i.$element,"ui-selected"),i.selected=!1),i.unselecting&&(n._removeClass(i.$element,"ui-unselecting"),i.unselecting=!1),i.selecting||(n._addClass(i.$element,"ui-selecting"),i.selecting=!0,n._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(n._removeClass(i.$element,"ui-selecting"),i.selecting=!1,n._addClass(i.$element,"ui-selected"),i.selected=!0):(n._removeClass(i.$element,"ui-selecting"),i.selecting=!1,i.startselected&&(n._addClass(i.$element,"ui-unselecting"),i.unselecting=!0),n._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(n._removeClass(i.$element,"ui-selected"),i.selected=!1,n._addClass(i.$element,"ui-unselecting"),i.unselecting=!0,n._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var n=t.data(this,"selectable-item");i._removeClass(n.$element,"ui-unselecting"),n.unselecting=!1,n.startselected=!1,i._trigger("unselected",e,{unselected:n.element})}),t(".ui-selecting",this.element[0]).each(function(){var n=t.data(this,"selectable-item");i._removeClass(n.$element,"ui-selecting")._addClass(n.$element,"ui-selected"),n.selecting=!1,n.selected=!0,n.startselected=!0,i._trigger("selected",e,{selected:n.element})}),this._trigger("stop",e),this.helper.remove(),!1}}),t.widget("ui.selectmenu",[t.ui.formResetMixin,{version:"1.13.2",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=t()},_drawButton:function(){var e,i=this,n=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(t){this.button.trigger("focus"),t.preventDefault()}}),this.element.hide(),this.button=t("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=t("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(n).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){i._rendered||i._refreshMenu()})},_drawMenu:function(){var e=this;this.menu=t("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=t("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(t,i){t.preventDefault(),e._setSelection(),e._select(i.item.data("ui-selectmenu-item"),t)},focus:function(t,i){var n=i.item.data("ui-selectmenu-item");null!=e.focusIndex&&n.index!==e.focusIndex&&(e._trigger("focus",t,{item:n}),e.isOpen||e._select(n,t)),e.focusIndex=n.index,e.button.attr("aria-activedescendant",e.menuItems.eq(n.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var t,e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(t=this._getSelectedItem(),this.menuInstance.focus(null,t),this._setAria(t.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(t){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",t)))},_position:function(){this.menuWrap.position(t.extend({of:this.button},this.options.position))},close:function(t){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",t))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var i=t("<span>");return this._setText(i,e.label),this._addClass(i,"ui-selectmenu-text"),i},_renderMenu:function(e,i){var n=this,o="";t.each(i,function(i,s){var a;s.optgroup!==o&&(a=t("<li>",{text:s.optgroup}),n._addClass(a,"ui-selectmenu-optgroup","ui-menu-divider"+(s.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),a.appendTo(e),o=s.optgroup),n._renderItemData(e,s)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(e,i){var n=t("<li>"),o=t("<div>",{title:i.element.attr("title")});return i.disabled&&this._addClass(n,null,"ui-state-disabled"),this._setText(o,i.label),n.append(o).appendTo(e)},_setText:function(t,e){e?t.text(e):t.html(" ")},_move:function(t,e){var i,n,o=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),o+=":not(.ui-state-disabled)"),(n="first"===t||"last"===t?i["first"===t?"prevAll":"nextAll"](o).eq(-1):i[t+"All"](o).eq(0)).length&&this.menuInstance.focus(e,n)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")}
vendor: 34,240 bytes, line 144
144,_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&(window.getSelection?((t=window.getSelection()).removeAllRanges(),t.addRange(this.range)):this.range.select(),this.button.trigger("focus"))},_documentClick:{mousedown:function(e){this.isOpen&&(t(e.target).closest(".ui-selectmenu-menu, #"+t.escapeSelector(this.ids.button)).length||this.close(e))}},_buttonEvents:{mousedown:function(){var t;window.getSelection?(t=window.getSelection()).rangeCount&&(this.range=t.getRangeAt(0)):this.range=document.selection.createRange()},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(e){var i=!0;switch(e.keyCode){case t.ui.keyCode.TAB:case t.ui.keyCode.ESCAPE:this.close(e),i=!1;break;case t.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case t.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case t.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case t.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case t.ui.keyCode.LEFT:this._move("prev",e);break;case t.ui.keyCode.RIGHT:this._move("next",e);break;case t.ui.keyCode.HOME:case t.ui.keyCode.PAGE_UP:this._move("first",e);break;case t.ui.keyCode.END:case t.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),i=!1}i&&e.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==i&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){var e=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(t,e){if("icons"===t){var i=this.button.find("span.ui-icon");this._removeClass(i,null,this.options.icons.button)._addClass(i,null,e.button)}this._super(t,e),"appendTo"===t&&this.menuWrap.appendTo(this._appendTo()),"width"===t&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;!1!==t?(null===t&&(t=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(t)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(e){var i=this,n=[];e.each(function(e,o){o.hidden||n.push(i._parseOption(t(o),e))}),this.items=n},_parseOption:function(t,e){var i=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),t.widget("ui.slider",t.ui.mouse,{version:"1.13.2",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,n=this.options,o=this.element.find(".ui-slider-handle"),s=[];for(i=n.values&&n.values.length||1,o.length>i&&(o.slice(i).remove(),o=o.slice(0,i)),e=o.length;e<i;e++)s.push("<span tabindex='0'></span>");this.handles=o.add(t(s.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:Array.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var i,n,o,s,a,r,l,c=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(i),o=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(n-c.values(e));(o>i||o===i&&(e===c._lastChangedValue||c.values(e)===u.min))&&(o=i,s=t(this),a=e)}),!1!==this._start(e,a)&&(this._mouseSliding=!0,this._handleIndex=a,this._addClass(s,null,"ui-state-active"),s.trigger("focus"),r=s.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-r.left-s.width()/2,top:e.pageY-r.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,n),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,n,o,s;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(n=i/e)>1&&(n=1),n<0&&(n=0),"vertical"===this.orientation&&(n=1-n),o=this._valueMax()-this._valueMin(),s=this._valueMin()+n*o,this._trimAlignValue(s)},_uiHash:function(t,e,i){var n={handle:this.handles[t],handleIndex:t,value:void 0!==e?e:this.value()};return this._hasMultipleValues()&&(n.value=void 0!==e?e:this.values(t),n.values=i||this.values()),n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var n,o=this.value(),s=this.values();this._hasMultipleValues()&&(n=this.values(e?0:1),o=this.values(e),2===this.options.values.length&&!0===this.options.range&&(i=0===e?Math.min(n,i):Math.max(n,i)),s[e]=i),i!==o&&!1!==this._trigger("slide",t,this._uiHash(e,i,s))&&(this._hasMultipleValues()?this.values(e,i):this.value(i))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value()},values:function(t,e){var i,n,o;if(arguments.length>1)return this.options.values[t]=this._trimAlignValue(e),this._refreshValue(),void this._change(null,t);if(!arguments.length)return this._values();if(!Array.isArray(arguments[0]))return this._hasMultipleValues()?this._values(t):this.value();for(i=this.options.values,n=arguments[0],o=0;o<i.length;o+=1)i[o]=this._trimAlignValue(n[o]),this._change(null,o);this._refreshValue()},_setOption:function(t,e){var i,n=0;switch("range"===t&&!0===this.options.range&&("min"===e?(this.options.value=this._values(0),this.options.values=null):"max"===e&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(n=this.options.values.length),this._super(t,e),t){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(e),this.handles.css("horizontal"===e?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=n-1;i>=0;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return this._trimAlignValue(t)},_values:function(t){var e,i,n;if(arguments.length)return e=this.options.values[t],this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,n=t-i;return 2*Math.abs(i)>=e&&(n+=i>0?e:-e),parseFloat(n.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),i=this.options.step;(t=Math.round((t-e)/i)*i+e)>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return-1===i?0:e.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,i,n,o,s,a=this.options.range,r=this.options,l=this,c=!this._animateOff&&r.animate,u={};this._hasMultipleValues()?this.handles.each(function(n){i=(l.values(n)-l._valueMin())/(l._valueMax()-l._valueMin())*100,u["horizontal"===l.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[c?"animate":"css"](u,r.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===n&&l.range.stop(1,1)[c?"animate":"css"]({left:i+"%"},r.animate),1===n&&l.range[c?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===n&&l.range.stop(1,1)[c?"animate":"css"]({bottom:i+"%"},r.animate),1===n&&l.range[c?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(n=this.value(),o=this._valueMin(),s=this._valueMax(),i=s!==o?(n-o)/(s-o)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[c?"animate":"css"](u,r.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:i+"%"},r.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:100-i+"%"},r.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:i+"%"},r.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:100-i+"%"},r.animate))},_handleEvents:{keydown:function(e){var i,n,o,s=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(e.target),null,"ui-state-active"),!1===this._start(e,s)))return}switch(o=this.options.step,i=n=this._hasMultipleValues()?this.values(s):this.value(),e.keyCode){case t.ui.keyCode.HOME:n=this._valueMin();break;case t.ui.keyCode.END:n=this._valueMax();break;case t.ui.keyCode.PAGE_UP:n=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(i===this._valueMax())return;n=this._trimAlignValue(i+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i===this._valueMin())return;n=this._trimAlignValue(i-o)}this._slide(e,s,n)},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),this._removeClass(t(e.target),null,"ui-state-active"))}}}),t.widget("ui.sortable",t.ui.mouse,{version:"1.13.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return t>=e&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,i){var n=null,o=!1,s=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(e),t(e.target).parents().each(function(){if(t.data(this,s.widgetName+"-item")===s)return n=t(this),!1}),t.data(e.target,s.widgetName+"-item")===s&&(n=t(e.target)),!n||this.options.handle&&!i&&(t(this.options.handle,n).find("*").addBack().each(function(){this===e.target&&(o=!0)}),!o)||(this.currentItem=n,this._removeCurrentsFromItems(),0)))},_mouseStart:function(e,i,n){var o,s,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.appendTo=t("parent"!==a.appendTo?a.appendTo:this.currentItem.parent()),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),t.extend(this.offset,{parent:this._getParentOffset()}),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",a.cursor),this.storedStylesheet=t("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(s)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(o=this.containers.length-1;o>=0;o--)this.containers[o]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(e),!0},_scroll:function(t){var e=this.options,i=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-this.document.scrollTop()<e.scrollSensitivity?i=this.document.scrollTop(this.document.scrollTop()-e.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<e.scrollSensitivity&&(i=this.document.scrollTop(this.document.scrollTop()+e.scrollSpeed)),t.pageX-this.document.scrollLeft()<e.scrollSensitivity?i=this.document.scrollLeft(this.document.scrollLeft()-e.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<e.scrollSensitivity&&(i=this.document.scrollLeft(this.document.scrollLeft()+e.scrollSpeed))),i},_mouseDrag:function(e){var i,n,o,s,a=this.options;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),a.scroll&&!1!==this._scroll(e)&&(this._refreshItemPositions(!0),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},i=this.items.length-1;i>=0;i--)if(o=(n=this.items[i]).item[0],(s=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(o===this.currentItem[0]||this.placeholder[1===s?"next":"prev"]()[0]===o||t.contains(this.placeholder[0],o)||"semi-dynamic"===this.options.type&&t.contains(this.element[0],o))){if(this.direction=1===s?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var n=this,o=this.placeholder.offset(),s=this.options.axis,a={};s&&"x"!==s||(a.left=o.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(a.top=o.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){n._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&n.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!n.length&&e.key&&n.push(e.key+"="),n.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},i.each(function(){n.push(t(e.item||this).attr(e.attribute||"id")||"")}),n},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,o=n+this.helperProportions.height,s=t.left,a=s+t.width,r=t.top,l=r+t.height,c=this.offset.click.top,u=this.offset.click.left,h="x"===this.options.axis||n+c>r&&n+c<l,d="y"===this.options.axis||e+u>s&&e+u<a,p=h&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?p:s<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<a&&r<n+this.helperProportions.height/2&&o-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e,i,n="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),o="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!n||!o)&&(e=this.dragDirection.vertical,i=this.dragDirection.horizontal,this.floating?"right"===i||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this.dragDirection.vertical,o=this.dragDirection.horizontal;return this.floating&&o?"right"===o&&i||"left"===o&&!i:n&&("down"===n&&e||"up"===n&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,n,o,s,a=[],r=[],l=this._connectWith();if(l&&e)for(i=l.length-1;i>=0;i--)for(n=(o=t(l[i],this.document[0])).length-1;n>=0;n--)(s=t.data(o[n],this.widgetFullName))&&s!==this&&!s.options.disabled&&r.push(["function"==typeof s.options.items?s.options.items.call(s.element):t(s.options.items,s.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),s]);function c(){a.push(this)}for(r.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=r.length-1;i>=0;i--)r[i][0].each(c);return t(a)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;i<e.length;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,n,o,s,a,r,l,c,u=this.items,h=[["function"==typeof this.options.items?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=(o=t(d[i],this.document[0])).length-1;n>=0;n--)(s=t.data(o[n],this.widgetFullName))&&s!==this&&!s.options.disabled&&(h.push(["function"==typeof s.options.items?s.options.items.call(s.element[0],e,{item:this.currentItem}):t(s.options.items,s.element),s]),this.containers.push(s));for(i=h.length-1;i>=0;i--)for(a=h[i][1],n=0,c=(r=h[i][0]).length;n<c;n++)(l=t(r[n])).data(this.widgetName+"-item",a),u.push({item:l,instance:a,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(e){var i,n,o,s;for(i=this.items.length-1;i>=0;i--)n=this.items[i],this.currentContainer&&n.instance!==this.currentContainer&&n.item[0]!==this.currentItem[0]||(o=this.options.toleranceElement?t(this.options.toleranceElement,n.item):n.item,e||(n.width=o.outerWidth(),n.height=o.outerHeight()),s=o.offset(),n.left=s.left,n.top=s.top)},refreshPositions:function(t){var e,i;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(t),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;e>=0;e--)i=this.containers[e].element.offset(),this.containers[e].containerCache.left=i.left,this.containers[e].containerCache.top=i.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(e){var i,n,o=(e=e||this).options;o.placeholder&&o.placeholder.constructor!==String||(i=o.placeholder,n=e.currentItem[0].nodeName.toLowerCase(),o.placeholder={element:function(){var o=t("<"+n+">",e.document[0]);return e._addClass(o,"ui-sortable-placeholder",i||e.currentItem[0].className)._removeClass(o,"ui-sortable-helper"),"tbody"===n?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(o)):"tr"===n?e._createTrPlaceholder(e.currentItem,o):"img"===n&&o.attr("src",e.currentItem.attr("src")),i||o.css("visibility","hidden"),o},update:function(t,s){i&&!o.forcePlaceholderSize||(s.height()&&(!o.forcePlaceholderSize||"tbody"!==n&&"tr"!==n)||s.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),s.width()||s.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(o.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),o.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,i){var n=this;e.children().each(function(){t("<td> </td>",n.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(i)})},_contactContainers:function(e){var i,n,o,s,a,r,l,c,u,h,d=null,p=null;for(i=this.containers.length-1;i>=0;i--)if(!t.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(d&&t.contains(this.containers[i].element[0],d.element[0]))continue;d=this.containers[i],p=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",e,this._uiHash(this)),this.containers[i].containerCache.over=0);if(d)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(o=1e4,s=null,a=(u=d.floating||this._isFloating(this.currentItem))?"left":"top",r=u?"width":"height",h=u?"pageX":"pageY",n=this.items.length-1;n>=0;n--)t.contains(this.containers[p].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(l=this.items[n].item.offset()[a],c=!1,e[h]-l>this.items[n][r]/2&&(c=!0),Math.abs(e[h]-l)<o&&(o=Math.abs(e[h]-l),s=this.items[n],this.direction=c?"up":"down"));if(!s&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[p])return void(this.currentContainer.containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));s?this._rearrange(e,s,null,!0):this._rearrange(e,null,this.containers[p].element,!0),this._trigger("change",e,this._uiHash()),this.containers[p]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[p],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1}},_createHelper:function(e){var i=this.options,n="function"==typeof i.helper?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return n.parents("body").length||this.appendTo[0].appendChild(n[0]),n[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),n[0].style.width&&!i.forceHelperSize||n.width(this.currentItem.width()),n[0].style.height&&!i.forceHelperSize||n.height(this.currentItem.height()),n},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),Array.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,o=this.options;"parent"===o.containment&&(o.containment=this.helper[0].parentNode),"document"!==o.containment&&"window"!==o.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===o.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===o.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(o.containment)||(e=t(o.containment)[0],i=t(o.containment).offset(),n="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),
vendor: 4,288 bytes, line 144
14410)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var n="absolute"===e?1:-1,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(o[0].tagName);return{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:o.scrollTop())*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:o.scrollLeft())*n}},_generatePosition:function(e){var i,n,o=this.options,s=e.pageX,a=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(s=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(s=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),o.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/o.grid[1])*o.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-o.grid[1]:i+o.grid[1]:i,n=this.originalPageX+Math.round((s-this.originalPageX)/o.grid[0])*o.grid[0],s=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-o.grid[0]:n+o.grid[0]:n)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:r.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:r.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay(function(){o===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function o(t,e,i){return function(n){i._trigger(t,n,e._uiHash(e))}}for(this.fromOutside&&!e&&n.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(n.push(function(t){this._trigger("remove",t,this._uiHash())}),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;
vendor: 2,018 bytes, line 144
144i--)e||n.push(o("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(o("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<n.length;i++)n[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}}),t.widget("ui.spinner",{version:"1.13.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e=this._super(),i=this.element;return t.each(["min","max","step"],function(t,n){var o=i.attr(n);null!=o&&o.length&&(e[n]=o)}),e}
vendor: 5,985 bytes, line 144
144,_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(e,i){var n=t.ui.safeActiveElement(this.document[0]);if(this.element[0]===n&&i){if(!this.spinning&&!this._start(e))return!1;this._spin((i>0?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},"mousedown .ui-spinner-button":function(e){var i;function n(){this.element[0]===t.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=i,this._delay(function(){this.previous=i}))}i=this.element[0]===t.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),n.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,n.call(this)}),!1!==this._start(e)&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(t(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var i=this.options,n=t.ui.keyCode;switch(e.keyCode){case n.UP:return this._repeat(null,1,e),!0;case n.DOWN:return this._repeat(null,-1,e),!0;case n.PAGE_UP:return this._repeat(null,i.page,e),!0;case n.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t)||(this.counter||(this.counter=1),this.spinning=!0,0))},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:i})||(this._value(i),this.counter++)},_increment:function(t){var e=this.options.incremental;return e?"function"==typeof e?e(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,n=this.options;return i=t-(e=null!==n.min?n.min:0),t=e+(i=Math.round(i/n.step)*n.step),t=parseFloat(t.toFixed(this._precision())),null!==n.max&&t>n.max?n.max:null!==n.min&&t<n.min?n.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var i,n,o;if("culture"===t||"numberFormat"===t)return i=this._parse(this.element.val()),this.options[t]=e,void this.element.val(this._format(i));"max"!==t&&"min"!==t&&"step"!==t||"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(n=this.buttons.first().find(".ui-icon"),this._removeClass(n,null,this.options.icons.up),this._addClass(n,null,e.up),o=this.buttons.last().find(".ui-icon"),this._removeClass(o,null,this.options.icons.down),this._addClass(o,null,e.down)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:B(function(t){this._super(t)}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null!==t&&t===this._adjustValue(t)},_value:function(t,e){var i;""!==t&&null!==(i=this._parse(t))&&(e||(i=this._adjustValue(i)),t=this._format(i)),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:B(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:B(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:B(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:B(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());B(this._value).call(this,t)},widget:function(){return this.uiSpinner}}
vendor: 15,620 bytes, line 144
144),!1!==t.uiBackCompat&&t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),t.ui.spinner,t.widget("ui.tabs",{version:"1.13.2",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(O=/#.*$/,function(t){var e,i;e=t.href.replace(O,""),i=location.href.replace(O,"");try{e=decodeURIComponent(e)}catch(t){}try{i=decodeURIComponent(i)}catch(t){}return t.hash.length>1&&e===i}),_create:function(){var e=this,i=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,i.collapsible),this._processTabs(),i.active=this._initialActive(),Array.isArray(i.disabled)&&(i.disabled=t.uniqueSort(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(i.active):this.active=t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var e=this.options.active,i=this.options.collapsible,n=location.hash.substring(1);return null===e&&(n&&this.tabs.each(function(i,o){if(t(o).attr("aria-controls")===n)return e=i,!1}),null===e&&(e=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==e&&-1!==e||(e=!!this.tabs.length&&0)),!1!==e&&-1===(e=this.tabs.index(this.tabs.eq(e)))&&(e=!i&&0),!i&&!1===e&&this.anchors.length&&(e=0),e},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var i=t(t.ui.safeActiveElement(this.document[0])).closest("li"),n=this.tabs.index(i),o=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:o=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n);case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}e.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,o),e.ctrlKey||e.metaKey||(i.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,i){var n=this.tabs.length-1;function o(){return e>n&&(e=0),e<0&&(e=n),e}for(;-1!==t.inArray(o(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){"active"!==t?(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e)):this._activate(e)},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this,i=this.tabs,n=this.anchors,o=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=t(),this.anchors.each(function(i,n){var o,s,a,r=t(n).uniqueId().attr("id"),l=t(n).closest("li"),c=l.attr("aria-controls");e._isLocal(n)?(a=(o=n.hash).substring(1),s=e.element.find(e._sanitizeSelector(o))):(o="#"+(a=l.attr("aria-controls")||t({}).uniqueId()[0].id),(s=e.element.find(o)).length||(s=e._createPanel(a)).insertAfter(e.panels[i-1]||e.tablist),s.attr("aria-live","polite")),s.length&&(e.panels=e.panels.add(s)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":a,"aria-labelledby":r}),s.attr("aria-labelledby",r)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),i&&(this._off(i.not(this.tabs)),this._off(n.not(this.anchors)),this._off(o.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var i,n,o;for(Array.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),o=0;n=this.tabs[o];o++)i=t(n),!0===e||-1!==t.inArray(o,e)?(i.attr("aria-disabled","true"),this._addClass(i,null,"ui-state-disabled")):(i.removeAttr("aria-disabled"),this._removeClass(i,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var i={};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,n=this.element.parent();"fill"===e?(i=n.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),n=e.css("position");"absolute"!==n&&"fixed"!==n&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,n=this.active,o=t(e.currentTarget).closest("li"),s=o[0]===n[0],a=s&&i.collapsible,r=a?t():this._getPanelForTab(o),l=n.length?this._getPanelForTab(n):t(),c={oldTab:n,oldPanel:l,newTab:a?t():o,newPanel:r};e.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||s&&!i.collapsible||!1===this._trigger("beforeActivate",e,c)||(i.active=!a&&this.tabs.index(o),this.active=s?t():o,this.xhr&&this.xhr.abort(),l.length||r.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),r.length&&this.load(this.tabs.index(o),e),this._toggle(e,c))},_toggle:function(e,i){var n=this,o=i.newPanel,s=i.oldPanel;function a(){n.running=!1,n._trigger("activate",e,i)}function r(){n._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active"),o.length&&n.options.show?n._show(o,n.options.show,a):(o.show(),a())}this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,function(){n._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),r()}):(this._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),s.hide(),r()),s.attr("aria-hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),o.length&&s.length?i.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),o.attr("aria-hidden","false"),i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var i,n=this._findActive(e);n[0]!==this.active[0]&&(n.length||(n=this.active),i=n.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return!1===e?t():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+t.escapeSelector(e)+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(e){var i=this.options.disabled;!1!==i&&(void 0===e?i=!1:(e=this._getIndex(e),i=Array.isArray(i)?t.map(i,function(t){return t!==e?t:null}):t.map(this.tabs,function(t,i){return i!==e?i:null})),this._setOptionDisabled(i))},disable:function(e){var i=this.options.disabled;if(!0!==i){if(void 0===e)i=!0;else{if(e=this._getIndex(e),-1!==t.inArray(e,i))return;i=Array.isArray(i)?t.merge([e],i).sort():[e]}this._setOptionDisabled(i)}},load:function(e,i){e=this._getIndex(e);var n=this,o=this.tabs.eq(e),s=o.find(".ui-tabs-anchor"),a=this._getPanelForTab(o),r={tab:o,panel:a},l=function(t,e){"abort"===e&&n.panels.stop(!1,!0),n._removeClass(o,"ui-tabs-loading"),a.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr};this._isLocal(s[0])||(this.xhr=t.ajax(this._ajaxSettings(s,i,r)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(o,"ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.done(function(t,e,o){setTimeout(function(){a.html(t),n._trigger("load",i,r),l(o,e)},1)}).fail(function(t,e){setTimeout(function(){l(t,e)},1)})))},_ajaxSettings:function(e,i,n){var o=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,s){return o._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:s},n))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),!1!==t.uiBackCompat&&t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),t.ui.tabs,t.widget("ui.tooltip",{version:"1.13.2",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=t(this).attr("title");return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(t,e){var i=(t.attr("aria-describedby")||"").split(/\s+/);i.push(e),t.data("ui-tooltip-id",e).attr("aria-describedby",String.prototype.trim.call(i.join(" ")))},_removeDescribedBy:function(e){var i=e.data("ui-tooltip-id"),n=(e.attr("aria-describedby")||"").split(/\s+/),o=t.inArray(i,n);-1!==o&&n.splice(o,1),e.removeData("ui-tooltip-id"),(n=String.prototype.trim.call(n.join(" ")))?e.attr("aria-describedby",n):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(e,i){var n=this;this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){n._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var e=this;t.each(this.tooltips,function(i,n){var o=t.Event("blur");o.target=o.currentTarget=n.element[0],e.close(o,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=t(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function(e){var i=this,n=t(e?e.target:this.element).closest(this.options.items);n.length&&!n.data("ui-tooltip-id")&&(n.attr("title")&&n.data("ui-tooltip-title",n.attr("title")),n.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&n.parents().each(function(){var e,n=t(this);n.data("ui-tooltip-open")&&((e=t.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),n.attr("title")&&(n.uniqueId(),i.parents[this.id]={element:this,title:n.attr("title")},n.attr("title",""))}),this._registerCloseHandlers(e,n),this._updateContent(n,e))},_updateContent:function(t,e){var i,n=this.options.content,o=this,s=e?e.type:null;if("string"==typeof n||n.nodeType||n.jquery)return this._open(e,t,n);(i=n.call(t[0],function(i){o._delay(function(){t.data("ui-tooltip-open")&&(e&&(e.type=s),this._open(e,t,i))})}))&&this._open(e,t,i)},_open:function(e,i,n){var o,s,a,r,l=t.extend({},this.options.position);function c(t){l.of=t,s.is(":hidden")||s.position(l)}n&&((o=this._find(i))?o.tooltip.find(".ui-tooltip-content").html(n):(i.is("[title]")&&(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),o=this._tooltip(i),s=o.tooltip,this._addDescribedBy(i,s.attr("id")),s.find(".ui-tooltip-content").html(n),this.liveRegion.children().hide(),(r=t("<div>").html(s.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),r.removeAttr("id").find("[id]").removeAttr("id"),r.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:c}),c(e)):s.position(t.extend({of:i},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval(function(){s.is(":visible")&&(c(l.of),clearInterval(a))},13)),this._trigger("open",e,{tooltip:s}
144)))},_registerCloseHandlers:function(e,i){var n={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var n=t.Event(e);n.currentTarget=i[0],this.close(n,!0)}}};i[0]!==this.element[0]&&(n.remove=function(){var t=this._find(i);t&&this._removeTooltip(t.tooltip)}),e&&"mouseover"!==e.type||(n.mouseleave="close"),e&&"focusin"!==e.type||(n.focusout="close"),this._on(!0,i,n)},close:function(e){var i,n=this,o=t(e?e.currentTarget:this.element),s=this._find(o);s?(i=s.tooltip,s.closing||(clearInterval(this.delayedShow),o.data("ui-tooltip-title")&&!o.attr("title")&&o.attr("title",o.data("ui-tooltip-title")),this._removeDescribedBy(o),s.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,function(){n._removeTooltip(t(this))}),o.removeData("ui-tooltip-open"),this._off(o,"mouseleave focusout keyup"),o[0]!==this.element[0]&&this._off(o,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete n.parents[e]}),s.closing=!0,this._trigger("close",e,{tooltip:i}),s.hiding||(s.closing=!1))):o.removeData("ui-tooltip-open")},_tooltip:function(e){var i=t("<div>").attr("role","tooltip"),n=t("<div>").appendTo(i),o=i.uniqueId().attr("id");return this._addClass(n,"ui-tooltip-content"),this._addClass(i,"ui-tooltip","ui-widget ui-widget-content"),i.appendTo(this._appendTo(e)),this.tooltips[o]={element:e,tooltip:i}},_find:function(t){var e=t.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(t){clearInterval(this.delayedShow),t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){var e=t.closest(".ui-front, dialog");return e.length||(e=this.document[0].body),e},_destroy:function(){var e=this;t.each(this.tooltips,function(i,n){var o=t.Event("blur"),s=n.element;o.target=o.currentTarget=s[0],e.close(o,!0),t("#"+i).remove(),s.data("ui-tooltip-title")&&(s.attr("title")||s.attr("title",s.data("ui-tooltip-title")),s.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==t.uiBackCompat&&t.widget("ui.tooltip",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}}),t.ui.tooltip}),function(t){t.reject=function(n){var o=t.extend(!0,{reject:{all:!1,msie:8},display:[],browserShow:!0,browserInfo:{chrome:{text:"Google Chrome",url:"http://www.google.com/chrome/"},firefox:{text:"Mozilla Firefox",url:"http://www.mozilla.com/firefox/"},safari:{text:"Safari",url:"http://www.apple.com/safari/download/"},opera:{text:"Opera",url:"http://www.opera.com/download/"}},header:"Did you know that your Internet Browser is out of date?",paragraph1:"Your browser is out of date, and may not be compatible with our website. A list of the most popular web browsers can be found below.",paragraph2:"Just click on the icons to get to the download page",close:!0,closeMessage:"By closing this window you acknowledge that your experience on this website may be degraded",closeLink:"Close This Window",closeURL:"#",closeESC:!0,closeCookie:!1,cookieSettings:{path:"/",expires:0},imagePath:"./images/",overlayBgColor:"#000",overlayOpacity:.8,fadeInTime:"fast",fadeOutTime:"fast",analytics:!1},n);o.display.length<1&&(o.display=["chrome","firefox","safari","opera","msie"]),t.isFunction(o.beforeReject)&&o.beforeReject(),o.close||(o.closeESC=!1);var s=function(e){var i=e[t.layout.name],n=e[t.browser.name];return!!(e.all||n&&(!0===n||t.browser.versionNumber<=n)||e[t.browser.className]||i&&(!0===i||t.layout.versionNumber<=i)||e[t.os.name])};if(!s(o.reject))return t.isFunction(o.onFail)&&o.onFail(),!1;if(o.close&&o.closeCookie){var a="jreject-close",r=function(e,i){if(void 0!==i){var n="";if(0!==o.cookieSettings.expires){var s=new Date;s.setTime(s.getTime()+1e3*o.cookieSettings.expires),n="; expires="+s.toGMTString()}var a=o.cookieSettings.path||"/";return document.cookie=e+"="+encodeURIComponent(i||"")+n+"; path="+a,!0}var r,l=null;if(document.cookie&&""!==document.cookie)for(var c=document.cookie.split(";"),u=c.length,h=0;h<u;++h)if((r=t.trim(c[h])).substring(0,e.length+1)==e+"="){var d=e.length;l=decodeURIComponent(r.substring(d+1));break}return l};if(r(a))return!1}var l='<div id="jr_overlay"></div><div id="jr_wrap"><div id="jr_inner">
144<h1 id="jr_header">'+o.header+"</h1>"+(""===o.paragraph1?"":"<p>"+o.paragraph1+"</p>")+(""===o.paragraph2?"":"<p>"+o.paragraph2+"</p>"),c=0;if(o.browserShow){for(var u in l+='<ul id="js_browsers" class="cf">',o.display){var h=o.display[u],d=o.browserInfo[h]||!1;d&&(null==d.allow||s(d.allow))&&(l+='<li id="jr_'+h+'"><div class="jr_icon"></div><div><a href="'+(d.url||"#")+'">'+(d.text||"Unknown")+"</a></div></li>",++c)}l+="</ul>"}l+='<div id="jr_close">'+(o.close?'<a href="'+o.closeURL+'">'+o.closeLink+"</a><p>"+o.closeMessage+"</p>":"")+"</div></div></div>";var p=t("<div>"+l+"</div>"),f=e(),m=i();p.bind("closejr",function(){return!!o.close&&(t.isFunction(o.beforeClose)&&o.beforeClose(),t(this).unbind("closejr"),t("#jr_overlay,#jr_wrap").fadeOut(o.fadeOutTime,function(){t(this).remove(),t.isFunction(o.afterClose)&&o.afterClose()}),t("embed.jr_hidden, object.jr_hidden, select.jr_hidden, applet.jr_hidden").show().removeClass("jr_hidden"),o.closeCookie&&r(a,"true"),!0)});var g=function(t){return function(t){if(!o.analytics)return!1;var e=t.split(/\/+/g)[1];try{ga("send","event","External","Click",e,t)}catch(i){try{_gaq.push(["_trackEvent","External Links",e,t])}catch(t){}}}(t),window.open(t,"jr_"+Math.round(11*Math.random())),!1};return p.find("#jr_overlay").css({width:f[0],height:f[1],background:o.overlayBgColor,opacity:o.overlayOpacity}),p.find("#jr_wrap").css({top:m[1]+f[3]/4,left:m[0]}),p.find("#jr_inner").css({minWidth:100*c,maxWidth:140*c,width:"trident"==t.layout.name?155*c:"auto"}),p.find("#jr_inner li .jr_icon").each(function(){var e=t(this);e.css("background","transparent url("+o.imagePath+"browser_"+e.parent("li").attr("id").replace(/jr_/,"")+".png) no-repeat scroll left top"),e.click(function(){var e=t(this).next("div").children("a").attr("href");g(e)})}),p.find("#jr_inner li a").click(function(){return g(t(this).attr("href")),!1}),p.find("#jr_close a").click(function(){if(t(this).trigger("closejr"),"#"===o.closeURL)return!1}),t("#jr_overlay").focus(),t("embed, object, select, applet").each(function(){t(this).is(":visible")&&t(this).hide().addClass("jr_hidden")}),t("body").append(p.hide().fadeIn(o.fadeInTime)),t(window).bind("resize scroll",function(){var n=e();t("#jr_overlay").css({width:n[0],height:n[1]});var o=i();t("#jr_wrap").css({top:o[1]+n[3]/4,left:o[0]})}),o.closeESC&&t(document).bind("keydown",function(t){27==t.keyCode&&p.trigger("closejr")}),t.isFunction(o.afterReject)&&o.afterReject(),!0};var e=function(){var t=window.innerWidth&&window.scrollMaxX?window.innerWidth+window.scrollMaxX:document.body.scrollWidth>document.body.offsetWidth?document.body.scrollWidth:document.body.offsetWidth,e=window.innerHeight&&window.scrollMaxY?window.innerHeight+window.scrollMaxY:document.body.scrollHeight>document.body.offsetHeight?document.body.scrollHeight:document.body.offsetHeight,i=window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth,n=window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight;return[t<i?t:i,e<n?n:e,i,n]},i=function(){return[window.pageXOffset?window.pageXOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollLeft:document.body.scrollLeft,window.pageYOffset?window.pageYOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop]}}(jQuery),function(t){t.browserTest=function(e,i){var n="unknown",o="X",s=function(t,e){for(var i=0;i<e.length;i+=1)t=t.replace(e[i][0],e[i][1]);return t},a=function(e,i,a,r){var l={name:s((i.exec(e)||[n,n])[1],a)};if(l[l.name]=!0,l.opera?l.version=window.opera.version():l.version=(r.exec(e)||[o,o,o,o])[3],/safari/.test(l.name)){var c=/(safari)(\/|\s)([a-z0-9\.\+]*?)(\;|dev|rel|\s|$)/.exec(e);c&&c[3]&&c[3]<400&&(l.version="2.0")}else"presto"===l.name&&(l.version=t.browser.version>9.27?"futhark":"linear_b");if(/msie/.test(l.name)&&l.version===o){var u=/rv:(\d+\.\d+)/.exec(e);l.version=u[1]}l.versionNumber=parseFloat(l.version,10)||0;var h=1;return l.versionNumber<100&&l.versionNumber>9&&(h=2),l.versionX=l.version!==o?l.version.substr(0,h):o,l.className=l.name+l.versionX,l};e=(/Opera|Navigator|Minefield|KHTML|Chrome|CriOS/.test(e)?s(e,[[/(Firefox|MSIE|KHTML,\slike\sGecko|Konqueror)/,""],["Chrome Safari","Chrome"],["CriOS","Chrome"],["KHTML","Konqueror"],["Minefield","Firefox"],["Navigator","Netscape"]]):e).toLowerCase(),t.browser=t.extend(i?{}:t.browser,a(e,/(camino|chrome|crios|firefox|netscape|konqueror|lynx|msie|trident|opera|safari)/,[["trident","msie"]],/(camino|chrome|crios|firefox|netscape|netscape6|opera|ver
144sion|konqueror|lynx|msie|rv|safari)(:|\/|\s)([a-z0-9\.\+]*?)(\;|dev|rel|\s|$)/)),t.layout=a(e,/(gecko|konqueror|msie|trident|opera|webkit)/,[["konqueror","khtml"],["msie","trident"],["opera","presto"]],/(applewebkit|rv|konqueror|msie)(\:|\/|\s)([a-z0-9\.]*?)(\;|\)|\s)/),t.os={name:(/(win|mac|linux|sunos|solaris|iphone|ipad)/.exec(navigator.platform.toLowerCase())||[n])[0].replace("sunos","solaris")},i||t("html").addClass([t.os.name,t.browser.name,t.browser.className,t.layout.name,t.layout.className].join(" "))},t.browserTest(navigator.userAgent)}(jQuery),function(t){t.fn.customSelect=function(e){var i=t(this),n="closed",o={mainClass:"customSelect",optionClass:"customOption",activeClass:"active",mainInputClass:"mainInput",textHolderClass:"customSelectText",theX:!1,search:!0,activeKeyboard:!0,multi:!1,multiSeparator:",",searchMinLength:2,searchDebounce:300,searchEmptyText:"No results found",searchLoadingText:"Searching..."},s={},a=null,r=0;void 0===e&&(e={}),!0===e.multi&&(o.multi=!0,i.addClass("customSelectMulti")),void 0!==e.searchMinLength&&(o.searchMinLength=e.searchMinLength),void 0!==e.searchDebounce&&(o.searchDebounce=e.searchDebounce),void 0!==e.searchEmptyText&&(o.searchEmptyText=e.searchEmptyText),void 0!==e.searchLoadingText&&(o.searchLoadingText=e.searchLoadingText);var l="function"==typeof e.searchAction,c="function"==typeof e.resolveAction;function u(){if(i.addClass("open"),n="open",e.search&&i.find(".customSelectSearch").focus(),e.viewportParent){let n=t(e.viewportParent);if(n.length>0){let t=parseFloat(i.css("height"))-1,e=i.find(".optionsWrap").isInParentsViewport(n),o=i.find(".optionsWrap"),s=parseFloat(o.css("max-height")),a=parseFloat(e.top-t);e.inViewport||i.find(".optionsWrap").css({bottom:t,"max-height":Math.min(s,a)})}}}function h(){i.removeClass("open"),n="closed"}function d(t,n){i.find(".optionsWrap ."+o.activeClass).removeClass(o.activeClass),$activeOption=m(t),$activeOption.addClass(o.activeClass),value=$activeOption.length?$activeOption.data("value"):t,v(t,g(t)),i.find("."+o.mainInputClass).val(value),i.find("."+o.textHolderClass).html(g(t)),i.find("."+o.textHolderClass).trigger("change"),i.removeClass("error"),setTimeout(function(){h(),o.theX&&i.addClass("theX")},200),n||(i.find("."+o.mainInputClass).trigger("change"),"function"==typeof e.onChange&&e.onChange($activeOption))}function p(){i.find(".optionsWrap ."+o.activeClass).removeClass(o.activeClass),$defaultVal=i.find(".optionsWrap ."+o.optionClass+'[data-value=""]'),o.multi?(i.find("."+o.mainInputClass).val(""),1==$defaultVal.length?i.find("."+o.textHolderClass).html($defaultVal.html()):i.find("."+o.textHolderClass).empty()):1==$defaultVal.length&&(i.find("."+o.textHolderClass).html($defaultVal.html()),i.find("."+o.mainInputClass).val(""),$defaultVal.addClass(o.activeClass)),i.removeClass("theX"),i.find("."+o.textHolderClass).trigger("change"),o.multi&&i.find("."+o.mainInputClass).trigger("change")}function f(){var e=i.find("."+o.mainInputClass).val();if(""!==e&&void 0!==e||!i.find("."+o.mainInputClass).length||(e=i.find("."+o.mainInputClass).attr("value")),""===e||void 0===e)return[];var n=[];return t.each(String(e).split(o.multiSeparator),function(e,i){var o=t.trim(i);""!==o&&n.push(o)}),n}function m(t){return i.find(".optionsWrap ."+o.optionClass+'[data-value="'+t+'"]')}function g(t){var e=m(t);return 1===e.length?e.html():void 0!==s[t]?s[t]:t}function v(t,e){""!==t&&void 0!==t&&void 0!==e&&(s[String(t)]=e)}function b(e){var i=[];t.isArray(e)?i=e:e&&"object"==typeof e&&t.each(e,function(t,e){e&&"object"==typeof e&&i.push(e)});var n=[];return t.each(i,function(t,e){if(e&&"object"==typeof e){var i=e.value;void 0===i&&(i=e.ID),void 0===i&&(i=e.id);var o=e.text;void 0===o&&(o=e.name),void 0===o&&(o=e.label),""!==i&&void 0!==i&&void 0!==o&&(v(i=String(i),o),n.push({value:i,text:o}))}}),n}function _(){i.find(".optionsWrap .customOptionDynamic").remove(),i.find(".optionsWrap .customOptionMessage").remove()}function y(e,n){t("<div>").addClass(o.optionClass+" customOptionMessage disabled "+(n||"")).text(e).appendTo(i.find(".optionsWrap"))}function w(e){var n=i.find("."+o.textHolderClass);if(0===e.length)return $defaultVal=i.find(".optionsWrap ."+o.optionClass+'[data-value=""]'),void(1==$defaultVal.length?n.html($defaultVal.html()):n.empty());var s="";t.each(e,function(t,e){s+='<span class="customSelectChip" data-value="'+e+'"><span class="customSelectChipLabel">'+g(e)+'</span><button type="button" class="customSelectChipRemove" aria-label="Remove">×</button></span>'}),n.html(s)}function C(n,s){var a=[];t.each(n,function(t,e){""!==e&&void 0!==e&&(e=String(e),-1===a.indexOf(e)&&a.push(e))}),i.find(".optionsWrap ."+o.activeClass).removeClass(o.activeClass),t.each(a,function(t,e){m(e).addClass(o.activeClass)}),function(t){i.find("."+o.mainInputClass).val(t.join(o.multiSeparator))}(a),w(a),i.removeClass("error"),i.find("."+o.textHolderClass).trigger("change"),s||(i.find("."+o.mainInputClass).trigger("change"),"function"==typeof e.onChange&&e.onChange(m(a[a.length-1])))}function x(n){if(l)!function(n){n=t.trim(n||""),clearTimeout(a),n.length<o.searchMinLength?_():a=setTimeout(function(){var s=++r;_(),y(o.searchLoadingText,"customOptionLoading"),u(),e.searchAction(n,function(e){s===r&&function(e){_();var n=b(e),s=o.multi?f():[];if(0===n.length)return y(o.searchEmptyText),void u();t.each(n,function(e,n){var a=-1!==s.indexOf(n.value);t("<div>").addClass(o.optionClass+" customOptionDynamic"+(a?" "+o.activeClass:"")).attr("data-value",n.value).attr("tabindex",0).html(n.text).appendTo(i.find(".optionsWrap"))}),o.multi&&s.length>0&&w(s),u()}(e)})},o.searchDebounce)}(n);else{$options=i.find(".optionsWrap ."+o.optionClass);var s=null,c=!1;t.each($options,function(e,i){t(i).hasClass("customGroup")?(s&&(0==c?s.hide():s.show()),c=!1,s=t(i)):(content=i.outerHTML.toLowerCase(),-1==content.indexOf(n.toLowerCase())?t(i).hide():(t(i).show(),c=!0))}),null!=s&&(0==c?s.hide():s.show()),null!=e.pickupPointSelector&&1==e.pickupPointSelector&&t(".disabledSearch").hide()}}l&&i.addClass("customSelectAjaxSearch"),i.addClass(o.mainClass),function(){if(o.multi){i.find(".optionsWrap ."+o.optionClass).each(function(){var e=t(this).data("value");""!==e&&void 0!==e&&v(String(e),t(this).html())});var n=f();return 0===n.length&&($activeOptions=i.find(".optionsWrap ."+o.optionClass+"."+o.activeClass),$activeOptions.each(function(){var e=t(this).data("value");""!==e&&void 0!==e&&n.push(String(e))})),void(n.length>0?C(n,!!e.defaultValue):p())}$activeOption=i.find(".optionsWrap ."+o.optionClass+"."+o.activeClass),1==$activeOption.length?(value=$activeOption.data("value"),""!==value&&"undefined"!=typeof value?e.defaultValue?d(value,!0):d(value):p()):p()}(),function(){if(o.multi&&c){var i=f(),n=[];t.each(i,function(t,e){0===m(e).length&&void 0===s[e]&&n.push(e)}),0!==n.length&&e.resolveAction(n,function(t){0!==b(t).length&&w(f())})}}(),i.on("click",function(s){s.stopPropagation(),0==i.hasClass(o.activeClass)&&(n="closed"),t("."+o.mainClass).removeClass("open"),"closed"==n?i.hasClass("theX")?p():(e.pickupPointSelector||u(),"true"==e.locatorService&&u()):"open"==n&&h()}),e.doNotFireEvents||(l?i.on("keyup input",".customSelectSearch",function(e){if(27==e.ke
144yCode)return h(),!1;x(t(this).val())}):i.on("change keyup",function(e){if(27==e.keyCode)return h(),!1;var n=i.find(".customSelectSearch").val();"undefined"!=n&&void 0!==n?x(n):t(".cartLocationSelectPopup.version2 .bind-locationSelect .optionsWrap .customOption, .bnuCartLocationSelect .bind-locationSelect .optionsWrap .customOption").css({display:""})})),i.on("click","."+o.optionClass,function(e){if(t(this).hasClass("disabled"))return!1;o.multi&&e.stopPropagation();var i=t(this).data("value");o.multi?function(t){if(""===t||void 0===t)return!1;v(t=String(t),g(t));var e=f(),i=e.indexOf(t);-1===i?e.push(t):e.splice(i,1),C(e)}(i):d(i)}),i.on("click",".customSelectChipRemove",function(e){if(e.stopPropagation(),!o.multi)return!1;var i=t(this).closest(".customSelectChip").data("value");""!==i&&void 0!==i&&function(t){t=String(t);var e=f(),i=e.indexOf(t);if(-1===i)return!1;e.splice(i,1),C(e)}(i)}),i.on("click",".customSelectChip",function(t){t.stopPropagation()}),i.on("reset",function(){console.log("reset"),p()}),t("html").on("click",function(){h()}),e.activeKeyboard&&t(".customOption").on("keydown",function(e){e.preventDefault(),40==e.keyCode&&t(e.target).next().focus(),38==e.keyCode&&t(e.target).prev().focus(),13!=e.keyCode&&9!=e.keyCode||(t(e.target).click(),t(e.target).parent().parent().next().focus())})}}(jQuery),ClusterIcon.prototype.onAdd=function(){var t,e,i=this;this.div_=document.createElement("div"),this.div_.className=this.className_,this.visible_&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div_),this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",function(){e=t}),google.maps.event.addDomListener(this.div_,"mousedown",function(){t=!0,e=!1}),google.maps.event.addDomListener(this.div_,"click",function(n){if(t=!1,!e){var o,s,a=i.cluster_.getMarkerClusterer();google.maps.event.trigger(a,"click",i.cluster_),google.maps.event.trigger(a,"clusterclick",i.cluster_),a.getZoomOnClick()&&(s=a.getMaxZoom(),o=i.cluster_.getBounds(),a.getMap().fitBounds(o),setTimeout(function(){a.getMap().fitBounds(o),null!==s&&a.getMap().getZoom()>s&&a.getMap().setZoom(s+1)},100)),n.cancelBubble=!0,n.stopPropagation&&n.stopPropagation()}}),google.maps.event.addDomListener(this.div_,"mouseover",function(){var t=i.cluster_.getMarkerClusterer();google.maps.event.trigger(t,"mouseover",i.cluster_)}),google.maps.event.addDomListener(this.div_,"mouseout",function(){var t=i.cluster_.getMarkerClusterer();google.maps.event.trigger(t,"mouseout",i.cluster_)})},ClusterIcon.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},ClusterIcon.prototype.draw=function(){if(this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px"}},ClusterIcon.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},ClusterIcon.prototype.show=function(){if(this.div_){var t="",e=this.backgroundPosition_.split(" "),i=parseInt(e[0].trim(),10),n=parseInt(e[1].trim(),10),o=this.getPosFromLatLng_(this.center_);this.div_.style.cssText=this.createCss(o),t="<img src='"+this.url_+"' style='position: absolute; top: "+n+"px; left: "+i+"px; ",this.cluster_.getMarkerClusterer().enableRetinaIcons_?t+="width: "+this.width_+"px;height: "+this.height_+"px;":t+="clip: rect("+-1*n+"px, "+(-1*i+this.width_)+"px, "+(-1*n+this.height_)+"px, "+-1*i+"px);",t+="'>",this.div_.innerHTML=t+"<div style='position: absolute;top: "+this.anchorText_[0]+"px;left: "+this.anchorText_[1]+"px;color: "+this.textColor_+";font-size: "+this.textSize_+"px;font-family: "+this.fontFamily_+";font-weight: "+this.fontWeight_+";font-style: "+this.fontStyle_+";text-decoration: "+this.textDecoration_+";text-align: center;width: "+this.width_+"px;line-height:"+this.height_+"px;'>"+(this.cluster_.hideLabel_?" ":this.sums_.text)+"</div>",void 0===this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""}this.visible_=!0},ClusterIcon.prototype.useStyle=function(t){this.sums_=t;var e=Math.max(0,t.index-1);e=Math.min(this.styles_.length-1,e);var i=this.styles_[e];this.url_=i.url,this.height_=i.height,this.width_=i.width,this.anchorText_=i.anch
144orText||[0,0],this.anchorIcon_=i.anchorIcon||[parseInt(this.height_/2,10),parseInt(this.width_/2,10)],this.textColor_=i.textColor||"white",this.textSize_=i.textSize||11,this.textDecoration_=i.textDecoration||"none",this.fontWeight_=i.fontWeight||"bold",this.fontStyle_=i.fontStyle||"normal",this.fontFamily_=i.fontFamily||"Arial,sans-serif",this.backgroundPosition_=i.backgroundPosition||"0 0"},ClusterIcon.prototype.setCenter=function(t){this.center_=t},ClusterIcon.prototype.createCss=function(t){var e=[];return e.push("cursor: pointer;"),e.push("position: absolute; top: "+t.y+"px; left: "+t.x+"px;"),e.push("width: "+this.width_+"px; height: "+this.height_+"px;"),e.join("")},ClusterIcon.prototype.getPosFromLatLng_=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x-=this.anchorIcon_[1],e.y-=this.anchorIcon_[0],e.x=parseInt(e.x,10),e.y=parseInt(e.y,10),e},Cluster.prototype.getSize=function(){return this.markers_.length},Cluster.prototype.getMarkers=function(){return this.markers_},Cluster.prototype.getCenter=function(){return this.center_},Cluster.prototype.getMap=function(){return this.map_},Cluster.prototype.getMarkerClusterer=function(){return this.markerClusterer_},Cluster.prototype.getBounds=function(){var t,e=new google.maps.LatLngBounds(this.center_,this.center_),i=this.getMarkers();for(t=0;t<i.length;t++)e.extend(i[t].getPosition());return e},Cluster.prototype.remove=function(){this.clusterIcon_.setMap(null),this.markers_=[],delete this.markers_},Cluster.prototype.addMarker=function(t){var e,i,n;if(this.isMarkerAlreadyAdded_(t))return!1;if(this.center_){if(this.averageCenter_){var o=this.markers_.length+1,s=(this.center_.lat()*(o-1)+t.getPosition().lat())/o,a=(this.center_.lng()*(o-1)+t.getPosition().lng())/o;this.center_=new google.maps.LatLng(s,a),this.calculateBounds_()}}else this.center_=t.getPosition(),this.calculateBounds_();if(t.isAdded=!0,this.markers_.push(t),i=this.markers_.length,null!==(n=this.markerClusterer_.getMaxZoom())&&this.map_.getZoom()>n)t.getMap()!==this.map_&&t.setMap(this.map_);else if(i<this.minClusterSize_)t.getMap()!==this.map_&&t.setMap(this.map_);else if(i===this.minClusterSize_)for(e=0;e<i;e++)this.markers_[e].setMap(null);else t.setMap(null);return!0},Cluster.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},Cluster.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},Cluster.prototype.updateIcon_=function(){var t=this.markers_.length,e=this.markerClusterer_.getMaxZoom();if(null!==e&&this.map_.getZoom()>e)this.clusterIcon_.hide();else if(t<this.minClusterSize_)this.clusterIcon_.hide();else{var i=this.markerClusterer_.getStyles().length,n=this.markerClusterer_.getCalculator()(this.markers_,i);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(n),this.clusterIcon_.show()}},Cluster.prototype.isMarkerAlreadyAdded_=function(t){for(var e=0,i=this.markers_.length;e<i;e++)if(t===this.markers_[e])return!0;return!1},MarkerClusterer.prototype.onAdd=function(){var t=this;this.activeMap_=this.getMap(),this.ready_=!0,this.repaint(),this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",function(){t.resetViewport_(!1),this.getZoom()!==(this.get("minZoom")||0)&&this.getZoom()!==this.get("maxZoom")||google.maps.event.trigger(this,"idle")}),google.maps.event.addListener(this.getMap(),"idle",function(){t.redraw_()})]},MarkerClusterer.prototype.onRemove=function(){var t;for(t=0;t<this.markers_.length;t++)this.markers_[t].getMap()!==this.activeMap_&&this.markers_[t].setMap(this.activeMap_);for(t=0;
144t<this.clusters_.length;t++)this.clusters_[t].remove();for(this.clusters_=[],t=0;t<this.listeners_.length;t++)google.maps.event.removeListener(this.listeners_[t]);this.listeners_=[],this.activeMap_=null,this.ready_=!1},MarkerClusterer.prototype.draw=function(){},MarkerClusterer.prototype.setupStyles_=function(){var t,e;if(!(this.styles_.length>0))for(t=0;t<this.imageSizes_.length;t++)e=this.imageSizes_[t],this.styles_.push({url:this.imagePath_+(t+1)+"."+this.imageExtension_,height:e,width:e})},MarkerClusterer.prototype.fitMapToMarkers=function(){var t,e=this.getMarkers(),i=new google.maps.LatLngBounds;for(t=0;t<e.length;t++)i.extend(e[t].getPosition());this.getMap().fitBounds(i)},MarkerClusterer.prototype.getGridSize=function(){return this.gridSize_},MarkerClusterer.prototype.setGridSize=function(t){this.gridSize_=t},MarkerClusterer.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},MarkerClusterer.prototype.setMinimumClusterSize=function(t){this.minClusterSize_=t},MarkerClusterer.prototype.getMaxZoom=function(){return this.maxZoom_},MarkerClusterer.prototype.setMaxZoom=function(t){this.maxZoom_=t},MarkerClusterer.prototype.getStyles=function(){return this.styles_},MarkerClusterer.prototype.setStyles=function(t){this.styles_=t},MarkerClusterer.prototype.getTitle=function(){return this.title_},MarkerClusterer.prototype.setTitle=function(t){this.title_=t},MarkerClusterer.prototype.getZoomOnClick=function(){return this.zoomOnClick_},MarkerClusterer.prototype.setZoomOnClick=function(t){this.zoomOnClick_=t},MarkerClusterer.prototype.getAverageCenter=function(){return this.averageCenter_},MarkerClusterer.prototype.setAverageCenter=function(t){this.averageCenter_=t},MarkerClusterer.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},MarkerClusterer.prototype.setIgnoreHidden=function(t){this.ignoreHidden_=t},MarkerClusterer.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},MarkerClusterer.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons_=t},MarkerClusterer.prototype.getImageExtension=function(){return this.imageExtension_},MarkerClusterer.prototype.setImageExtension=function(t){this.imageExtension_=t},MarkerClusterer.prototype.getImagePath=function(){return this.imagePath_},MarkerClusterer.prototype.setImagePath=function(t){this.imagePath_=t},MarkerClusterer.prototype.getImageSizes=function(){return this.imageSizes_},MarkerClusterer.prototype.setImageSizes=function(t){this.imageSizes_=t},MarkerClusterer.prototype.getCalculator=function(){return this.calculator_},MarkerClusterer.prototype.setCalculator=function(t){this.calculator_=t},MarkerClusterer.prototype.setHideLabel=function(t){this.hideLabel_=t},MarkerClusterer.prototype.getHideLabel=function(){return this.hideLabel_},MarkerClusterer.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},MarkerClusterer.prototype.setBatchSizeIE=function(t){this.batchSizeIE_=t},MarkerClusterer.prototype.getClusterClass=function(){return this.clusterClass_},MarkerClusterer.prototype.setClusterClass=function(t){this.clusterClass_=t},MarkerClusterer.prototype.getMarkers=function(){return this.markers_},MarkerClusterer.prototype.getTotalMarkers=function(){return this.markers_.length},MarkerClusterer.prototype.getClusters=function(){return this.clusters_},MarkerClusterer.prototype.getTotalClusters=function(){return this.clusters_.length},MarkerClusterer.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw_()},MarkerClusterer.prototype.addMarkers=function(t,e){var i;for(i in t)t.hasOwnProperty(i)&&this.pushMarkerTo_(t[i]);e||this.redraw_()},MarkerClusterer.prototype.pushMarkerTo_=function(t){if(t.getDraggable()){var e=this;google.maps.event.addListener(t,"dragend",function(){e.ready_&&(this.isAdded=!1,e.repaint())})}t.isAdded=!1,this.markers_.push(t)},MarkerClusterer.prototype.removeMarker=function(t,e,i){var n=!i,o=this.removeMarker_(t,n);return!e&&o&&this.repaint(),o},MarkerClusterer.prototype.removeMarkers=function(t,e,i){var n,o,s=!1,a=!i;for(n=0;n<t.length;n++)o=this.removeMarker_(t[n],a),s=s||o;return!e&&s&&this.repaint(),s},MarkerClusterer.prototype.removeMarker_=function(t,e){var i,n=-1;if(this.markers_.indexOf)n=this.markers_.indexOf(t);else for(i=0;i<this.markers_.length;i++)if(t===this.markers_[i]){n=i;break}return-1!==n&&(e&&t.setMap(null),this.markers_.splice(n,1),!0)},MarkerClusterer.prototype.clearMarkers=function(){this.resetViewport_(!0),this.markers_=[]},MarkerClusterer.prototype.repaint=function(){var t=this.cluster
144s_.slice();this.clusters_=[],this.resetViewport_(!1),this.redraw_(),setTimeout(function(){var e;for(e=0;e<t.length;e++)t[e].remove()},0)},MarkerClusterer.prototype.getExtendedBounds=function(t){var e=this.getProjection(),i=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),n=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),o=e.fromLatLngToDivPixel(i);o.x+=this.gridSize_,o.y-=this.gridSize_;var s=e.fromLatLngToDivPixel(n);s.x-=this.gridSize_,s.y+=this.gridSize_;var a=e.fromDivPixelToLatLng(o),r=e.fromDivPixelToLatLng(s);return t.extend(a),t.extend(r),t},MarkerClusterer.prototype.redraw_=function(){this.createClusters_(0)},MarkerClusterer.prototype.resetViewport_=function(t){var e,i;for(e=0;e<this.clusters_.length;e++)this.clusters_[e].remove();for(this.clusters_=[],e=0;e<this.markers_.length;e++)(i=this.markers_[e]).isAdded=!1,t&&i.setMap(null)},MarkerClusterer.prototype.distanceBetweenPoints_=function(t,e){var i=(e.lat()-t.lat())*Math.PI/180,n=(e.lng()-t.lng())*Math.PI/180,o=Math.sin(i/2)*Math.sin(i/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(n/2)*Math.sin(n/2);return 2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))*6371},MarkerClusterer.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},MarkerClusterer.prototype.addToClosestCluster_=function(t){var e,i,n,o,s=4e4,a=null;for(e=0;
144e<this.clusters_.length;e++)(o=(n=this.clusters_[e]).getCenter())&&(i=this.distanceBetweenPoints_(o,t.getPosition()))<s&&(s=i,a=n);a&&a.isMarkerInClusterBounds(t)?a.addMarker(t):((n=new Cluster(this)).addMarker(t),this.clusters_.push(n))},MarkerClusterer.prototype.createClusters_=function(t){var e,i,n,o=this;if(this.ready_){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic)),n=this.getMap().getZoom()>3?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625));var s=this.getExtendedBounds(n),a=Math.min(t+this.batchSize_,this.markers_.length);for(e=t;e<a;e++)!(i=this.markers_[e]).isAdded&&this.isMarkerInBounds_(i,s)&&(!this.ignoreHidden_||this.ignoreHidden_&&i.getVisible())&&this.addToClosestCluster_(i);if(a<this.markers_.length)this.timerRefStatic=setTimeout(function(){o.createClusters_(a)},0);else for(delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this),e=0;
144e<this.clusters_.length;e++)this.clusters_[e].updateIcon_()}},MarkerClusterer.prototype.extend=function(t,e){return function(t){var e;for(e in t.prototype)this.prototype[e]=t.prototype[e];return this}.apply(t,[e])},MarkerClusterer.CALCULATOR=function(t,e){for(var i=0,n=t.length.toString(),o=n;0!==o;)o=parseInt(o/10,10),i++;return{text:n,index:i=Math.min(i,e),title:""}},MarkerClusterer.BATCH_SIZE=2e3,MarkerClusterer.BATCH_SIZE_IE=500,MarkerClusterer.IMAGE_PATH="../images/m",MarkerClusterer.IMAGE_EXTENSION="png",MarkerClusterer.IMAGE_SIZES=[53,56,66,78,90],"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),function(t,e){if("function"==typeof define&&define.amd)define(["module","exports"],e);else if("undefined"!=typeof exports)e(module,exports);else{var i={exports:{}};e(i,i.exports),t.autosize=i.exports}}(this,function(t,e){"use strict";var i,n,o="function"==typeof Map?new Map:(i=[],n=[],{has:function(t){return-1<i.indexOf(t)},get:function(t){return n[i.indexOf(t)]},set:function(t,e){-1===i.indexOf(t)&&(i.push(t),n.push(e))},delete:function(t){var e=i.indexOf(t);-1<e&&(i.splice(e,1),n.splice(e,1))}}),s=function(t){return new Event(t,{bubbles:!0})};try{new Event("test")}catch(t){s=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!1),e}}function a(t){var e=o.get(t);e&&e.destroy()}function r(t){var e=o.get(t);e&&e.update()}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((l=function(t){return t}).destroy=function(t){return t},l.update=function(t){return t}):((l=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!o.has(t)){var e,i=null,n=null,a=null,r=function(){t.clientWidth!==n&&h()},l=function(e){window.removeEventListener("resize",r,!1),t.removeEventListener("input",h,!1),t.removeEventListener("keyup",h,!1),t.removeEventListener("autosize:destroy",l,!1),t.removeEventListener("autosize:update",h,!1),Object.keys(e).forEach(function(i){t.style[i]=e[i]}),o.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",l,!1),"onpropertychange"in t&&"oninput"in t&&t.addEventListener("keyup",h,!1),window.addEventListener("resize",r,!1),t.addEventListener("input",h,!1),t.addEventListener("autosize:update",h,!1),t.style.overflowX="hidden",t.style.wordWrap="break-word",o.set(t,{destroy:l,update:h}),"vertical"===(e=window.getComputedStyle(t,null)).resize?t.style.resize="none":"both"===e.resize&&(t.style.resize="horizontal"),i="content-box"===e.boxSizing?-(parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)):parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),isNaN(i)&&(i=0),h()}function c(e){var i=t.style.width;t.style.width="0px",t.offsetWidth,t.style.width=i,t.style.overflowY=e}function u(){if(0!==t.scrollHeight){var e=function(t){for(var e=[];t&&t.parentNode&&t.parentNode instanceof Element;)t.parentNode.scrollTop&&e.push({node:t.parentNode,scrollTop:t.parentNode.scrollTop}),t=t.parentNode;return e}(t),o=document.documentElement&&document.documentElement.scrollTop;t.style.height="",t.style.height=t.scrollHeight+i+"px",n=t.clientWidth,e.forEach(function(t){t.node.scrollTop=t.scrollTop}),o&&(document.documentElement.scrollTop=o)}}function h(){u();var e=Math.round(parseFloat(t.style.height)),i=window.getComputedStyle(t,null),n="content-box"===i.boxSizing?Math.round(parseFloat(i.height)):t.offsetHeight;if(n<e?"hidden"===i.overflowY&&(c("scroll"),u(),n="content-box"===i.boxSizing?Math.round(parseFloat(window.getComputedStyle(t,null).height)):t.offsetHeight):"hidden"!==i.overflowY&&(c("hidden"),u(),n="content-box"===i.boxSizing?Math.round(parseFloat(window.getComputedStyle(t,null).height)):t.offsetHeight),a!==n){a=n;var o=s("autosize:resized");try{t.dispatchEvent(o)}catch(e){}}}}(t)}),t}).destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],a),t},l.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],r),t}),e.default=l,t.exports=e.default}
144),void 0===Object.size&&(Object.size=function(t){var e,i=0;for(e in t)t.hasOwnProperty(e)&&i++;return i});var loadersCount=0;function addLoader(t,e){if(!t.length)return!1;var i=loadersCount++,n="",o=2e3;void 0!==e&&(void 0!==e.class&&(n=e.class),void 0!==e["z-index"]&&(o=e["z-index"]));var s=t.outerWidth(),a=t.outerHeight(),r=t.offset().top,l=t.offset().left;a<=90&&(n+=" m-small");var c='<div class="b-appLoader m-loader'+i+" "+n+'"><div class="cssload-loader"></div></div>';return t.addClass("isLoading"),t.addClass("isLoading2"),t.closest("body").append(c),$(".m-loader"+i).css({left:l,top:r,width:s,height:a,"z-index":o}),i}function closeLoader(t){$(".isLoading").removeClass("isLoading"),$(".b-appLoader.m-loader"+t).remove()}function ajaxHelper(t,e,i){"undefined"!=typeof intuero&&(t._intuero=intuero);var n="GET";void 0!==i&&(n=i),$.ajax({url:"core/defaultActions/ajax/helper.ajax.php",type:n,dataType:"json",data:t}).always(function(t){"function"==typeof e&&e(t)})}var ajaxHelperStack={},ajaxHelperStackTasksNo=1,ajaxHelperStackRun=!1,ajaxHelperStackCompleted=!1;
144function ajaxHelperOnReady(t,e,i){if(ajaxHelperStackRun)return t._note="ajaxHelperOnReady fallback",ajaxHelper(t,e,"POST");ajaxHelperStack.leng,ajaxHelperStack[ajaxHelperStackTasksNo]={data:t,callback:function(t){e(t)}},ajaxHelperStackTasksNo++}function runAjaxHelperStack(t){var e={},i={};$.each(ajaxHelperStack,function(t,n){e[t]={data:n.data},i[t]=n.callback});var n={};n.stack=e,"undefined"!=typeof intuero&&(n._intuero=intuero),$.ajax({url:"core/defaultActions/ajax/helperStack.ajax.php",type:"post",dataType:"json",data:n}).always(function(n){$.each(e,function(t,e){"function"==typeof i[t]&&(callbackData=null,void 0!==n.tasks&&void 0!==n.tasks[t]&&(callbackData=n.tasks[t]),i[t](callbackData))}),"function"==typeof t&&t()})}function debugHTML(){$("html").toggleClass("debugHTML")}function feature(t){return void 0!==t&&!!featureFlags[t]}function cartAJAX(t,e,i){"changeQnt"==t&&0==e.newQnt&&$('.cart_additionItem[data-itemid="'+e.productID+'"]').removeClass("active"),ajaxHelper({className:"ProductCart",methodName:t,args:e},function(n){if(n.success){if(void 0!==n.return.HTML){if(void 0!==n.return.HTML.cartData&&$("#cartData").html(n.return.HTML.cartData),void 0!==n.return.HTML.cartSummary&&($(".bind-cartSummary").replaceWith(n.return.HTML.cartSummary),$(window).trigger("scroll")),void 0!==n.return.HTML.cartSummaryMobile&&$(".bind-cartSummaryMobile").replaceWith(n.return.HTML.cartSummaryMobile),void 0!==n.return.HTML.cartSaveForLater&&$(".saveForLaterWrap").html(n.return.HTML.cartSaveForLater),void 0!==n.return.HTML.cartRecommendations){var o=!1,s=$(".benuCartRecommendations"),a=n.return.HTML.cartRecommendations;if(s.html(a),s.attr("hidden",!/bnuPageSection|bnuProductCarousel|bind-loadProductCarousel/.test(a||"")),s.length>0&&!s.is("[hidden]")&&s.isInViewport()){var r=[];$.each(s.find(".productItem"),function(t,e){$(e).find(".product__title").length>0&&$(e).find(".product__title").isInViewport()&&$(e).data("impression")&&(eshopEvent_visibleProducts[$(e).data("impression").ID]||(eshopEvent_visibleProducts[$(e).data("impression").ID]={},eshopEvent_visibleProducts[$(e).data("impression").ID]=$(e).data("impression"),o=!0,r.push($(e).data("impression"))))}),"function"==typeof eshopEvent_productImpression&&o&&eshopEvent_productImpression(eshopEvent_visibleProducts,!0,"Cart recommendations")}}if(void 0!==n.return.HTML.deliveryStep&&$(".bind-deliveryStep").html(n.return.HTML.deliveryStep),void 0!==n.return.HTML.billingStep&&$(".bind-billingStep").html(n.return.HTML.billingStep),void 0!==n.return.HTML.paymentStep&&$(".bind-paymentStep").html(n.return.HTML.paymentStep),void 0!==n.return.HTML.deliveryStepOverview&&$(".bind-deliveryStepOverview").html(n.return.HTML.deliveryStepOverview),void 0!==n.return.HTML.billingStepOverview&&$(".bind-billingStepOverview").html(n.return.HTML.billingStepOverview),void 0!==n.return.HTML.paymentStepOverview&&$(".bind-paymentStepOverview").html(n.return.HTML.paymentStepOverview),void 0!==n.return.HTML.delivery&&($("#bnuDelivery").length?$("#bnuDelivery"):$("#delivery")).html(n.return.HTML.delivery),void 0!==n.return.HTML.payment&&(u=$("#bnuPayment").length?$("#bnuPayment"):$("#payment")).html(n.return.HTML.payment),void 0!==n.return.HTML.voucher&&$("#voucher").html(n.return.HTML.voucher),void 0!==n.return.HTML.buyerData&&($("#buyerData").html(n.return.HTML.buyerData),bindAutocomplete($("#buyer_address")),bindAutocomplete($('input[name="delivery_address"]')),"benu-eshop-lv"==intuero.appName&&(bindCityAutocomplete($("#buyer_city")),bindCityAutocomplete($('input[name="delivery_city"]'))),$("#datepicker").datepicker({changeMonth:!0,changeYear:!0,defaultDate:"1970-01-01",yearRange:"1930:2021",onSelect:function(){$(this).trigger("change"),$(this).attr("value",$(this).val())},onClose:function(t,e){$(this).removeAttr("inputmode")},beforeShow:function(){$(this).attr("inputmode","none")}}),$.datepicker.setDefaults($.datepicker.regional[intuero.lang]),"benu-eshop-lt"==intuero.appName?$("#datepicker").datepicker("option","defaultDate","1970-01-01"):$("#datepicker").datepicker("option","defaultDate","01.01.1970")),void 0!==n.return.HTML.additionProducts&&$(".cart_additionItemsWrap").replaceWith(n.return.HTML.additionProducts),void 0!==n.return.HTML.paymentOptions&&$("#paymentOptions").html(n.return.HTML.paymentOptions),void 0!==n.return.HTML.deliveryOptions&&$("#deliveryOptions").html(n.return.HTML.deliveryOptions),void 0!==n.return.HTML.cartMessages&&$("#cartMessages").html(n.return.HTML.cartMessages),void 0!==n.return.HTML.total&&$(".cart_totalReminder__value").html(n.return.HTML.total),void 0!==n.return.HTML.benuCartGifts&&($(".bind-benuCartGiftsWrap").html(n.return.HTML.benuCartGifts),"function"==typeof window.benuReinitSwipers&&window.benuReinitSwipers()),void 0!==n.return.HTML.benuMoney&&window.updateCartPaymentSection("benuMoney",n.return.HTML.benuMoney),void 0!==n.return.HTML.benuVoucher&&$(".bind-benuPromoCodeWrap").html(n.return.HTML.benuVoucher),void 0!==n.return.HTML.IDCS&&window.updateCartPaymentSection("idcs",n.return.HTML.IDCS),void 0!==n.return.HTML.EPS&&window.updateCartPaymentSection("giftCard",n.return.HTML.EPS),void 0!==n.return.HTML.GiftCard&&window.updateCartPaymentSection("giftCard",n.return.HTML.GiftCard),"changeQnt"==t&&e.newQnt>0&&void 0!==n.return.cartStatusBox&&void 0!==n.return.cartStatusBox.quickLine
144s&&void 0!==typeof n.return.cartStatusBox.quickLines[e.prKey]&&(n.return.cartStatusBox.quickLines[e.prKey].subtotal,$("#addProduct .currentProduct .productItem__priceRegular").length>0&&$("#addProduct .currentProduct .productItem__priceRegular").html(n.return.cartStatusBox.quickLines[e.prKey].subtotalFormated),void 0!==n.return.cartStatusBox.quickLines[e.prKey].oldSubtotal?$("#addProduct .currentProduct .productItem__priceOld").length>0&&(n.return.cartStatusBox.quickLines[e.prKey].oldSubtotal>0?($("#addProduct .currentProduct .productItem__priceOld").html(n.return.cartStatusBox.quickLines[e.prKey].oldSubtotalFormated),$("#addProduct .currentProduct .productItem__priceOld").show()):$("#addProduct .currentProduct .productItem__priceOld").hide()):$("#addProduct .currentProduct .productItem__priceOld").length>0&&$("#addProduct .currentProduct .productItem__priceOld").hide(),void 0!==n.return.cartStatusBox.quickLines[e.prKey]["price-pc"]&&$("#addProduct .currentProduct .productItem__priceWrap .header__cartProductPricePcs").length>0))if(1==e.newQnt)$("#addProduct .currentProduct .bnProduct__price").attr("data-pcs","");else{var l=n.return.cartStatusBox.quickLines[e.prKey]["price-pc"].replace(/(<([^>]+)>)/gi,"").replace("€","â¬");$("#addProduct .currentProduct .bnProduct__price").attr("data-pcs",l)}if(void 0!==n.return.HTML["delivery-suboptions"]){var c=$("#bnuDelivery").length?$("#bnuDelivery"):$("#delivery");0==n.return.HTML["delivery-suboptions"]?c.find(".bind-suboptionsHolder").html("").attr("hidden",!0):(c.find(".bind-suboptionsHolder").html("").attr("hidden",!0),d=c.find("input:checked").val(),c.find(".bnuCartOption--"+d).find(".bind-suboptionsHolder").html(n.return.HTML["delivery-suboptions"]).removeAttr("hidden"))}if(void 0!==n.return.HTML["payment-suboptions"]){var u,h=(u=($("#bnuPayment").length?$("#bnuPayment"):$("#payment")).find('.bnuCartOptions[data-cart-options="payment"]')).find(".bind-suboptionsHolder").not(".bnuCartOption__suboptions--alwaysVisible");if(0==n.return.HTML["payment-suboptions"])h.html("").attr("hidden",!0);else{h.html("").attr("hidden",!0);var d=u.find('input.bind-carOption[name="payment"]:checked').val();d&&u.find(".bnuCartOption--"+d).find(".bind-suboptionsHolder").html(n.return.HTML["payment-suboptions"]).removeAttr("hidden").addClass("bnuCartOption__suboptions--active")}}void 0!==n.return.HTML.toaster&&showToasterFromHTML(n.return.HTML.toaster),void 0!==n.return.HTML.dialog&&void 0!==window.benuDialog&&"function"==typeof window.benuDialog.open?window.benuDialog.open({id:"productCartDialog",content:n.return.HTML.dialog,className:"bnuDialog--small",lockScroll:!0}):void 0!==n.return.HTML.fancybox&&bnFancybox(n.return.HTML.fancybox),void 0!==n.return.HTML.popup&&showCartPopup(n.return.HTML.popup)}if(void 0!==n.return.cartStatusBox&&showCartStatusBox(n.return.cartStatusBox),"function"==typeof i&&i(n.return),void 0!==n.return.productData&&"addProductToCart"==t&&"function"==typeof eshopEvent_addProductToCart&&eshopEvent_addProductToCart(n.return.productData),void 0!==n.return.productData&&"addProductToCartMass"==t&&$.each(n.return.productData,function(t,e){"function"==typeof eshopEvent_addProductToCart&&eshopEvent_addProductToCart(e)}),void 0!==n.return.goBackToStep&&goBackToStep(n.return.goBackToStep),"changeQnt"==t&&("function"==typeof clearCartDataErrors&&clearCartDataErrors(),void 0!==n.return.errors&&void 0!==n.return.errors.cartData&&"function"==typeof showCartErrors&&showCartErrors({cartData:n.return.errors.cartData})),n.return.callback){var p=window[n.return.callback];"function"==typeof p&&("eshopEvent_checkout"==n.return.callback?p(n.return):p(n.return.productData))}}else console.error(n)},"POST")}function refreshPage(){$("html").hasClass("productCart")&&location.reload()}function updateCartStatusBox(){ajaxHelper({className:"ProductCart",methodName:"getCartStatus",args:!1},function(t){t.success&&t.return&&showCartStatusBox(t.return)})}function chooseUserCart(){ajaxHelper({className:"ProductCart",methodName:"chooseUserCart",args:!1},function(t){void 0!==t.return.success&&void 0!==t.return.HTML&&(void 0===window.benuDialog||"function"!=typeof window.benuDialog.open?bnFancybox(t.return.HTML,!1,{initiator:t.return.toaster}):window.benuDialog.open({id:"chooseUserCartDialog",content:t.return.HTML,className:"bnuDialog--small",lockScroll:!0}))})}function closeChooseUserCartPopup(){var t=document.querySelector("dialog#chooseUserCartDialog.bnuDialog[open]")||document.querySelector("dialog.bnuDialog[open]");return t?(t.close(),!0):(void 0!==$.fancybox&&$.fancybox.close(),!1)}function getChooseUserCartProductIDs(){var t=$("dialog#chooseUserCartDialog.bnuDialog[open], dialog.bnuDialog[open]"),e=t.length?t:$("#chooseUserCart"),i=[];return e.find('input[name="productData_productID"]').each(function(){i.push($(this).val())}),i}function showCartStatusBox(t){$box=$(".bind-cartStatusBox"),"benu-eshop-lt"!=intuero.appName&&"benu-eshop-lv"!=intuero.appName&&"benu-eshop-ee"!=intuero.appName||"function"==typeof feedCartDataToChat&&feedCartDataToChat(t),$.each(t,function(t,e){"cartQuickOverview"==t?$(".bind-cartQuickOverviewContent").html(e):($target=$box.find(".bind-cartStatusBox-"+t),$target.length&&("qnt"==t?e>0?($target.addClass("dataBox--active"),$target.html(e)):($target.removeClass("dataBox--active"),$(".header__cartWrap").html("")):$target.html(e)),"totalOnlyProductsFormated"==t&&$(".bind-cartTotal").length&&$(".bind-cartTotal").html(e))})}function cart_addProductToCart(t,e){t.sourceURL=window.location.href,cartAJAX("addProductToCart",{productData:t},e)}function cart_addProductToCartMass(t,e,i){cartAJAX("addProductToCartMass",{productData:t,options:i},e)}function showComparedProducts(){var t=$("#maxCompareItems");t.length&&(ajaxHelper({className:"ProductCompare",methodName:"drawProducts",args:{}}
144,function(e){e.return.success&&e.return.html&&t.find(".modal-body .prList").html(e.return.html)}),t.find(".productItem--list.popup .productItem__wrapList .productItem__buttonsWrap").show(),t.find(".productItem--list.popup .productItem__wrapList").css("pointer-events","auto"),t.modal("show"))}function handleAddedToCartUi(t,e){return!(!window.benuAddedToCartDialog||"function"!=typeof window.benuAddedToCartDialog.handleResponse)&&window.benuAddedToCartDialog.handleResponse(t||{},e||{})}function showPopupProducts(t,e,i,n){var o,s=!1;"addProduct"==i&&(s=!0),$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),Math.floor(100*Math.random()),o=t,$toaster=$(".int_toaster"),0==$toaster.length&&($("body").append('<div class="int_toaster"></div>'),$toaster=$(".int_toaster"));var a=$(o);$toaster.html(a),$("#"+i).modal("show");var r=3;$("#"+i+" .bnPriceBox__promo").length&&(r=2),$(window).height()<640?r=1:$(window).height()<845&&(r=2,$("#"+i+" .bnPriceBox__promo").length&&(r=1)),e?ajaxHelper({className:"Products",methodName:"drawPopupProducts",args:{prID:e,type:i,limit:r}},function(t){var e=!1;$("#"+i+" .modal-body .prList").html(t.return.html),0==s?$.each($("#"+i+" .modal-body .prList a.promoProduct"),function(t,i){if($(i).isInViewport()){if($(i).data("recommendation-id"))(n={}).ID=$(i).data("recommendation-id"),n.name="Pop-up: Cross-sell (NBO)",n.impression=$(i).data("impression"),eshopEvent_visiblePromotions[n.ID]||(eshopEvent_visiblePromotions[n.ID]={},eshopEvent_visiblePromotions[n.ID]=n),eshopEvent_visiblePromotions[n.ID].products||(eshopEvent_visiblePromotions[n.ID].products={}),eshopEvent_visiblePromotions[n.ID].products[$(i).data("impression").ID]={},eshopEvent_visiblePromotions[n.ID].products[$(i).data("impression").ID]=$(i).data("impression"),eshopEvent_duplicatePromotions[n.ID]=!1;else if($(i).data("campaigndata"))eshopEvent_visiblePromotions[$(i).data("campaigndata").ID]||(eshopEvent_visiblePromotions[$(i).data("campaigndata").ID]={},eshopEvent_visiblePromotions[$(i).data("campaigndata").ID]=$(i).data("campaigndata"));else if("crossSell"==$(i).data("promo")){var n;(n={}).ID=$(i).data("promo"),n.name="Pop-up: Cross-sell",n.impression=$(i).data("impression"),eshopEvent_visiblePromotions[n.ID]||(eshopEvent_visiblePromotions[n.ID]={},eshopEvent_visiblePromotions[n.ID]=n),eshopEvent_visiblePromotions[n.ID].products||(eshopEvent_visiblePromotions[n.ID].products={}),eshopEvent_visiblePromotions[n.ID].products[$(i).data("impression").ID]={},eshopEvent_visiblePromotions[n.ID].products[$(i).data("impression").ID]=$(i).data("impression"),eshopEvent_duplicatePromotions[n.ID]=!1}$(i).find(".product__title").isInViewport()&&(eshopEvent_visibleProducts[$(i).data("impression").ID]||(eshopEvent_visibleProducts[$(i).data("impression").ID]={},eshopEvent_visibleProducts[$(i).data("impression").ID]=$(i).data("impression"),e=!0))}}):$.each($("#"+i+" .modal-body .prList .bnProduct__title a"),function(t,i){$(i).isInViewport()&&(eshopEvent_visibleProducts[$(i).data("impression").ID]||(eshopEvent_visibleProducts[$(i).data("impression").ID]={},eshopEvent_visibleProducts[$(i).data("impression").ID]=$(i).data("impression"),eshopEvent_visibleProducts[$(i).data("impression").ID].recommendationId=$(i).data("recommendation-id"),e=!0))}),"function"==typeof eshopEvent_productImpression&&e&&eshopEvent_productImpression(eshopEvent_visibleProducts,!0,"Pop-up: Cross-sell")},"POST"):$("#"+i+" .modal-body .prList").html(""),n>1&&$("#"+i+" .modal-body").css({"max-height":"inherit"}),$("#"+i).on("hidden.bs.modal",function(){$("#"+i+" .prList").html('<div id="loader" style="width:100%"><img src="core/images/preloader90.svg"></div>')})}function showCartPopup(t){void 0===window.benuDialog||"function"!=typeof window.benuDialog.open?$.fancybox.open(t,{touch:!1,keyboard:!1,smallBtn:!1,buttons:[],clickSlide:!1}):window.benuDialog.open({id:"productCartPopupDialog",content:t,className:"bnuDialog--small",lockScroll:!0})}function showToasterFromHTML(t){$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),$toaster=$(".int_toaster"),0==$toaster.length&&($("body").append('<div class="int_toaster"></div>'),$toaster=$(".int_toaster"));
144var e=$(t);$toaster.html(e),$(e).modal("show")}function showCartLoaderOverlay(t,e){if("string"==typeof t)var i=$(t);else i=t;if(i.length<1)return!1;var n=5;void 0!==e&&void 0!==e.padding&&(n=e.padding);var o=i.width(),s=i.height(),a=i.offset().left,r=i.offset().top,l=window.innerHeight/2-r+$(document).scrollTop()-45;l>s-90&&(l=s-90-n);var c=(new Date).getTime(),u='<div class="cart_loaderOverlay cart_loaderOverlay--'+c+'"></div>';return $("body").append(u),$(".cart_loaderOverlay").css({width:o+2*n,height:s+2*n,left:a-n,top:r-n,"z-index":1105,"background-position":"center "+l+"px"}),void 0!==e&&void 0!==e.ignoreHover&&$(".cart_loaderOverlay").css({"pointer-events":"none"}),c}function closeCartLoaderOverlay(t){$(".cart_loaderOverlay--"+t).remove()}function showSavedProducts(t){try{if(sessionStorage&&sessionStorage.getItem("showSavedProductsShown"))return!1}catch(t){}if(void 0===intuero.showSaveForLater&&!t)return!1;if("function"==typeof showCartLoaderOverlay)var e=showCartLoaderOverlay("body");$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),$.ajax({url:"core/defaultActions/ajax/helper.ajax.php",type:"GET",data:{className:"ProductCart",methodName:"showSavedProducts",args:{suggested:!0},_intuero:intuero}}).done(function(t){if((t=JSON.parse(t)).return){void 0!==e&&closeCartLoaderOverlay(e);try{sessionStorage&&sessionStorage.setItem("showSavedProductsShown","1")}catch(t){}if(t.return.HTML&&void 0!==window.benuDialog&&"function"==typeof window.benuDialog.open)return void window.benuDialog.open({id:"showSavedProductsDialog",content:t.return.HTML,className:"bnuDialog--small",lockScroll:!0});showPopupProducts(t.return.html,!1,t.return.toaster)}})}function showPopupProductsNew(t,e){var i=3;$("#"+e+" .bnPriceBox__promo").length&&(i=2),$(window).height()<640?i=1:$(window).height()<845&&(i=2,$("#"+e+" .bnPriceBox__promo").length&&(i=1)),t?ajaxHelper({className:"Products",methodName:"drawPopupProducts",args:{prID:t,type:e,limit:i}},function(t){$(".bnModal__nboSuggestions").html(t.return.html)}):$(".bnModal__nboSuggestions").html("")}$(document).on("click",".bind-enableChainEdit",function(t){t.preventDefault(),enableChainEdit()}),$(document).on("click",".bind-enableChainEditByKey",function(t){t.preventDefault();var e="enableChainEdit_"+$(this).data("chainkey");void 0!==e&&(0,window[e])()}),"function"!=typeof window.updateCartPaymentSection&&(window.updateCartPaymentSection=function(t,e){var i={giftCard:[".bind-giftCardSection","label.BENUGiftCardSection","label.BENUEPSSection"],idcs:[".bind-idcsSection","label.IDCSSection"],benuMoney:[".bind-benuMoneyWrap"]}[t];if(!i||void 0===e)return!1;for(var n=0;n<i.length;n++){var o=$(i[n]).first();if(o.length)return o.html(e),!0}return!1}),$(document).ready(function(){var t="";"undefined"!=typeof intuero&&(void 0!==intuero.chooseUserCart?($(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),chooseUserCart()):showSavedProducts()),ajaxHelperOnReady({className:"ProductCart",methodName:"getCartStatus",args:!1},function(t){t.success&&t.return&&showCartStatusBox(t.return)}),$(document).on("click",".bind-addToCart",function(t){t.preventDefault(),$(this).trigger("trigger:addToCart")}),$(document).on("trigger:addToCart",".bind-addToCart, .manually-addToCart",function(t){$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),t.preventDefault();var e=$(this);dataWrapClass=$(this).data("productdatawrap"),$dataWrap=$("."+dataWrapClass),$productDataFields=$dataWrap.find('[name^="productData_"]');var i={};$.each($productDataFields,function(t,e){var n=$(e).attr("name").replace("productData_",""),o=$(e).val();i[n]=o});var n="function"==typeof window.bnuSetAriaBusy,o=null;function s(){n?window.bnuSetAriaBusy(e,!1):null!=o&&closeLoader(o)}n?window.bnuSetAriaBusy(e,!0):o=addLoader(e);var a=null;if($(this).data("addtocartcallback")&&"function"==typeof window[$(this).data("addtocartcallback")]&&(a=window[$(this).data("addtocartcallback")]),$(this).hasClass("inCart")){if($(this).hasClass("removeFromSaved")&&(i.removeFromSaved=1,$(".modal-dialog .cancel").click(),s()),i.refreshCart=1,$(this).data("campaigndata")&&"function"==typeof eshopEvent_promotionClick){var r=$(this).data("campaigndata");void 0!==r&&(eshopEvent_promotionClick(r),i.campaignData=r)}if("function"==typeof showCartLoaderOverlay)var l=showCartLoaderOverlay("body");cart_addProductToCart(i,function(t){s(),"function"==typeof closeCartLoaderOverlay&&closeCartLoaderOverlay(l),handleAddedToCartUi(t,{productId:i.productID})||("addProductNew"==t.toaster?drawAddedToCartPopup(t.html):"addProductToast"==t.toaster?drawToasterN
144otification(t.html,5e3):"addProduct"!=t.toaster&&(t.hidePopupProducts?t.html&&(void 0!==window.benuDialog&&"function"==typeof window.benuDialog.open?window.benuDialog.open({id:"productCartDialog",content:t.html,className:"bnuDialog--small",lockScroll:!0}):bnFancybox(t.html)):showPopupProducts(t.html,i.productID,t.toaster)))})}else cart_addProductToCart(i,function(t){if(s(),"function"==typeof a)a();else{if(handleAddedToCartUi(t,{productId:i.productID}))return;"addProductNew"!=t.toaster&&"addProductToast"!=t.toaster?t.hidePopupProducts?t.html&&(void 0!==window.benuDialog&&"function"==typeof window.benuDialog.open?window.benuDialog.open({id:"productCartDialog",content:t.html,className:"bnuDialog--small",lockScroll:!0}):bnFancybox(t.html)):showPopupProducts(t.html,i.productID,t.toaster):"addProductNew"==t.toaster?drawAddedToCartPopup(t.html):drawToasterNotification(t.html,5e3)}})}),$(document).on("click",".bnuAddedToCartDialog .bind-addToCartPopup, #addedToCartPopup .bind-addToCartPopup",function(t){t.preventDefault();var e=$(this);dataWrapClass=$(this).data("productdatawrap"),$dataWrap=$("."+dataWrapClass),$productDataFields=$dataWrap.find('[name^="productData_"]');var i={};$.each($productDataFields,function(t,e){var n=$(e).attr("name").replace("productData_",""),o=$(e).val();i[n]=o});var n=e.closest("#addedToCartDialog").length>0,o=null,s=null;n?((s=e.closest(".bnuAddedToCartDialogSideProduct")).length||(s=$("#bnuAddedToCartDialogSide")),"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(s,!0)):o=addLoader(e),cart_addProductToCart(i,function(t){null!=o&&closeLoader(o),handleAddedToCartUi(t,{fromDialog:n})||("function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(s,!1),drawAddedToCartPopup(t.html,!0))})}),$(document).on("click",".bind-benuAddCartGiftPopup",function(t){if(t.preventDefault(),!window.benuAddedToCartDialog||"function"!=typeof window.benuAddedToCartDialog.addGiftFromButton||!window.benuAddedToCartDialog.addGiftFromButton(this)){var e=$(this),i={};e.data("notreal")&&(i.notRealGift=1);var n=addLoader(e);ajaxHelper({methodName:"toggleBenuCartGift",args:{prID:e.data("prid"),voucherID:e.data("voucherid"),options:i}},function(t){closeLoader(n),t.success&&t.return&&t.return.html&&drawAddedToCartPopup(t.return.html,!0)})}}),$(document).on("click",".bind-addAll",function(t){$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),t.preventDefault();var e=$(this).data("id"),i=$("#"+e).find(".productData_wrap"),n=[];if($.each($(i),function(t,e){var i=$(e).find('[name^="productDataMass_"]'),o={};$.each(i,function(t,e){var i=$(e).attr("name").replace("productDataMass_",""),n=$(e).val();o[i]=n}),n.push(o)}),n.length>=1){loaderNo=addLoader($("body"),{class:"top fixed"})}cart_addProductToCartMass(n,function(t){"undefined"!=typeof loaderNo&&closeLoader(loaderNo),handleAddedToCartUi(t)||("addProductNew"==t.toaster?drawAddedToCartPopup(t.html):"addProductToast"==t.toaster?drawToasterNotification(t.html,5e3):showPopupProducts(t.html,!1,t.toaster,n.length))})});var e=null;function i(t,e){var i=t.data("prid");(i?$('.bind-favorite[data-prid="'+i+'"]'):t).each(function(){var t=$(this),i=t.find("i").first(),n=i.hasClass("fa-light")||i.hasClass("fa-solid");if(e)return t.addClass("active").attr("aria-pressed","true"),void(n?i.removeClass("fa-light").addClass("fa-solid"):i.removeClass("fal").addClass("fas"));t.removeClass("active").attr("aria-pressed","false"),n?i.removeClass("fa-solid").addClass("fa-light"):i.removeClass("fas").addClass("fal")})}$(document).on("change",".bind-cartQntChangeInput",function(t){var i=$(this).closest(".bnuSideCart").length>0,n=!i&&($(this).hasClass("bnProduct__qntChangePopup")||$(this).closest(".bnuAddedToCartDialog").length>0);t.preventDefault(),clearTimeout(e);var o=$(this),s=$(this).closest(".bnProduct").data("impression")||$(this).closest(".bnuAddedToCartDialogCartItem").data("impression")||$(this).closest(".bnuCartTable__row, .cartTable__productRow").data("impression");e=setTimeout(function(){var t=parseInt(o.val(),10);if(!t)return!1;var e=s&&s.qntInCart?parseInt(s.qntInCart,10):null;if(s&&null!==e&&t>e){var a=t-e;s.qntInCart=a,"function"==typeof eshopEvent_addProductToCart&&eshopEvent_addProductToCart(s)}else s&&null!==e&&e>t&&(a=e-t,s.qntInCart=a,"function"==typeof eshopEvent_removeProductFromCart&&eshopEvent_removeProductFromCart(s));var r=o.closest("#addedToCartDialog").length>0,l=null,c=null,u=null;r?((c=o.closest(".bnuAddedToCartDialogCartItem")).length||(c=$("#addedToCartDialog")),"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(c,!0)):i&&"function"==typeof window.bnuSetAriaBusy?((u=o.closest(".bnuAddedToCartDialogCartItem")).length||(u=o.closest(".bnuSideCart")),window.bnuSetAriaBusy(u,!0)):"function"!=typeof showCartLoaderOverlay||n?n&&(l=addLoader(o.closest(".bnProduct, #addedToCartPopup"))):l=showCartLoaderOverlay("body"),t<0&&(t=1),cartAJAX("changeQnt",{prKey:o.data("prkey"),newQnt:t,options:{fromPopup:n||r}},function(e){u&&"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(u,!1),r||(null===l||"function"!=typeof closeCartLoaderOverlay||n?n&&closeLoader(l):closeCartLoaderOverlay(l)),e.success&&o.val(t),"function"==typeof calculateMatomoCart&&calculateMatomoCart(),(n||r)&&e.HTML&&e.HTML.addedToCartPopup?handleAddedToCartUi(e,{fromDialog:r})||("function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(c,!1),drawAddedToCartPopup(e.HTML.addedToCartPopup,!0)):r&&"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(c,!1)})},200)}),$(document).on("click",".bind-cartQntChange",function(t){t.preventDefault(),console.log("click2");var e="";if("function"==typeof showCartLoaderOverlay)if("popup"==$(this).data("src")){var i=showCartLoaderOverlay("#addProduct .modal
144-dialog");e="popup"}else"quickOverview"==$(this).data("src")?(i=showCartLoaderOverlay(".bnSideCart",{padding:0}),e="quickOverview"):(e="cart",i=showCartLoaderOverlay("html.productCart body"));var n=$(this).parent().find("input"),o=n.val(),s=0;(s=$(this).hasClass("plus")?++o:--o)<0&&(s=1),cartAJAX("changeQnt",{prKey:n.data("prkey"),newQnt:s},function(t){"popup"==e&&void 0!==t.cartStatusBox&&t.cartStatusBox.qnt<=0&&($(".modal:visible").modal("hide"),$(".modal-backdrop").remove()),"function"==typeof closeCartLoaderOverlay&&closeCartLoaderOverlay(i),t.success&&n.val(s),"function"==typeof calculateMatomoCart&&calculateMatomoCart()})}),$(document).on("click",".bind-cartRemoveProduct",function(t){t.preventDefault();var e=$(this),i=e.closest(".bnuAddedToCartDialogCartItem"),n=e.closest(".bnuSideCart").length>0,o=e.closest("#addedToCartDialog").length>0,s=!n&&($(this).hasClass("bnProduct__removeItemPopup")||i.length>0||o),a=null,r=null,l=null;o?(r=i.length?i:$("#addedToCartDialog"),"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(r,!0)):n&&"function"==typeof window.bnuSetAriaBusy?(l=i.length?i:e.closest(".bnuSideCart"),window.bnuSetAriaBusy(l,!0)):"function"!=typeof showCartLoaderOverlay||s?s&&(a=addLoader(e.closest(".bnProduct, #addedToCartPopup"))):a=$(this).hasClass("bnProduct__removeItemQuickOverview")?showCartLoaderOverlay(".bnSideCart",{padding:0}):showCartLoaderOverlay("body");var c=$(this).data("prkey"),u=$(this).closest(".bnProduct").data("impression");void 0===u&&i.length&&(u=i.data("impression")),void 0===u&&(u=$(this).closest(".bnuCartTable__row, .cartTable__productRow").data("impression")),cartAJAX("changeQnt",{prKey:c,newQnt:0,options:{fromPopup:s||o}},function(t){l&&"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(l,!1),"function"==typeof eshopEvent_removeProductFromCart&&(void 0!==u?eshopEvent_removeProductFromCart(u):eshopEvent_removeProductFromCart({ID:c})),o||(null===a||"function"!=typeof closeCartLoaderOverlay||s?s&&closeLoader(a):closeCartLoaderOverlay(a)),(s||o)&&(t.HTML&&t.HTML.addedToCartPopup?handleAddedToCartUi(t,{fromDialog:o})||("function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(r,!1),drawAddedToCartPopup(t.HTML.addedToCartPopup,!0)):o&&"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(r,!1),t.cartStatusBox&&0==t.cartStatusBox.qnt&&(window.benuAddedToCartDialog&&window.benuAddedToCartDialog.close()||("function"==typeof bnFancyboxClose?bnFancyboxClose():void 0!==$.fancybox&&$.fancybox.close())))})}),$(document).on("click",".bind-cancelRxPurchaseCart",function(t){t.preventDefault(),addLoader($(this)),ajaxHelper({className:"LTRXHelper",methodName:"cancelRXOrder",args:{}},function(t){void 0!==t.return&&location.reload()})}),$(document).on("click",".bind-showAlternatives",function(t){bnFancyboxClose(),t.preventDefault();var e=$(this),i=e.data("prid");"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(e,!0),ajaxHelper({className:"Products",methodName:"productOutOfStock",args:{prID:i}},function(t){"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(e,!1),t.return&&t.return.html&&(void 0===window.benuDialog||"function"!=typeof window.benuDialog.open?bnFancybox(t.return.html,!1,{prID:i,initiator:"outOfStock"}):window.benuDialog.open({id:"productOutOfStockDialog",content:t.return.html,className:"bnuDialog--small",lockScroll:!0}))})}),$(document).on("click",".bind-reminder",function(t){$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),t.preventDefault(),$(this);var e=$(this).data("prid");ajaxHelper({className:"ProductReminder",methodName:"productReminderPopup",args:{prID:e}},function(t){showPopupProducts(t.return.html,e,t.return.toaster)})}),$(document).on("click",".bind-compare",function(e){$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),e.preventDefault(),$(this),$(this).hasClass("active")||$(this).addClass("active");var i=$(this).data("prid");ajaxHelper({className:"ProductCompare",methodName:"addProductCompare",args:{prID:i}},function(e){e.return.success?e.return.html&&(showPopupProducts(e.return.html,i,e.return.toaster),updateCompareStatusBox()):e.return.html?showPopupProducts(e.return.html,i,e.return.toaster):(t=i,showComparedProducts())})}),$(document).on("click",".bind-qntChange",function(){var t=$(this).parent().parent().find('[name="productData_qnt"]'),e=parseInt(t.val());$(this).hasClass("plus")?e+=1:e-=1,e<1&&(e=1),t.val(e)}
144),$(document).on("click",".bind-favorite",function(t){var e=$(this),n=void 0!==window.benuDialog&&"function"==typeof window.benuDialog.open;if(n||($(".modal:visible").modal("hide"),$(".modal-backdrop").remove()),e.data("prid")){t.preventDefault(),"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(e,!0);var o="",s=e.hasClass("active");s?(o="removeFavorite",i(e,!1)):(o="addFavorite",i(e,!0));var a=e.data("prid"),r=e.closest(".productItem, .bnuProduct, article.bnuProduct").data("impression");ajaxHelper({className:"Favorites",methodName:o,args:{prID:a}},function(t){if("function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(e,!1),t&&t.success&&t.return){var n=t.return.html||t.return;void 0!==window.benuDialog&&"function"==typeof window.benuDialog.open?n&&(window.benuDialog.open({id:"favoriteActionDialog",content:n,className:"bnuDialog--small",lockScroll:!0}),"function"==typeof updateFavoritesStatusBox&&updateFavoritesStatusBox()):(bnFancyboxClose(),bnFancybox(n),"function"==typeof updateFavoritesStatusBox&&updateFavoritesStatusBox()),"addFavorite"===o&&null!=r&&eshopEvent_addProductToWishlist(r)}else i(e,s)})}else{if(t.preventDefault(),t.stopPropagation(),n){var l=e.data("href")||e.attr("href");return void(l&&"#"!==l&&"#"!==l.charAt(0)&&(window.location.href=l))}$("#addToFavorite").modal("show")}}),$(document).on("click",".bind-saveForLater",function(t){var e=!1;if($(this).hasClass("bind-toggleSaveForLater")&&(e=!0),$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),"function"==typeof showCartLoaderOverlay)var i=showCartLoaderOverlay("body");if($(this).data("prid")){t.preventDefault();var n=$(this),o=$(this).data("prid");$.ajax({url:"core/defaultActions/ajax/helper.ajax.php",type:"GET",data:{className:"ProductCart",methodName:"saveProduct",args:{prID:o},_intuero:intuero}}).done(function(t){if((t=JSON.parse(t)).return){var s={prKey:o,newQnt:0};void 0!==t.return.saveForLaterCount&&"function"==typeof updateSaveForLaterCount&&updateSaveForLaterCount(t.return.saveForLaterCount),cartAJAX("changeQnt",s,function(o){"function"==typeof closeCartLoaderOverlay&&closeCartLoaderOverlay(i),void 0!==t.return.cartSaveForLater&&$(".saveForLaterWrap").html(t.return.cartSaveForLater),showPopupProducts(t.return.html,!1,t.return.toaster),e?($(n).addClass("active"),$(n).removeClass("bind-saveForLater").addClass("bind-removeSaveForLater")):$(n).remove()})}})}else $("#saveForLater").modal("show")}),$(document).on("click",".bind-removeSaveForLater",function(t){var e=!1;if($(this).hasClass("bind-toggleSaveForLater")&&(e=!0),$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),"function"==typeof showCartLoaderOverlay)var i=showCartLoaderOverlay("body");t.preventDefault();var n=$(this);ajaxHelper({className:"ProductCart",methodName:"removeSavedProduct",args:{prID:$(this).data("prid")}},function(t){t.return&&("function"==typeof closeCartLoaderOverlay&&closeCartLoaderOverlay(i),e?($(n).removeClass("active"),$(n).removeClass("bind-removeSaveForLater").addClass("bind-saveForLater")):$(n).remove(),void 0!==t.return.saveForLaterCount&&"function"==typeof updateSaveForLaterCount&&updateSaveForLaterCount(t.return.saveForLaterCount))})}),$(document).on("click",".bind-addFromSaved",function(t){t.preventDefault(),showSavedProducts(!0)}),$(document).on("click",".bind-addAllFromPopup",function(t){t.preventDefault();var e,i=$(this),n=[],o=$("dialog#favoritesListDialog.bnuDialog[open], dialog#showSavedProductsDialog.bnuDialog[open]"),s=o.length?o.find(".bnuFavoritesListDialog .bnuProduct, .bnuProductsDialog .bnuProduct"):$("#favoritesListModal .productItem--list.popup, #showSavedProducts .productItem--list.popup");$.each(s,function(t,e){var i=$(e).find('[name^="productData_"]'),o={};$.each(i,function(t,e){var i=$(e).attr("name").replace("productData_",""),n=$(e).val();o[i]=n}),o.qnt||(o.qnt=1),n.push(o)}),"function"==typeof window.bnuSetAriaBusy?window.bnuSetAriaBusy(i,!0):"function"==typeof showCartLoaderOverlay&&$("html").hasClass("productCart")&&(e=showCartLoaderOverlay("body"));cart_addProductToCartMass(n,function(t){"function"==typeof window.bnuSetAriaBusy&&window.bnuSetAriaBusy(i,!1),"function"==typeof closeCartLoaderOverlay&&e&&closeCartLoaderOverlay(e);var n=document.querySelector("dialog#favoritesListDialog.bnuDialog[open], dialog#showSavedProductsDialog.bnuDialog[open]");n?n.close():"function"==typeof bnFancyboxClose&&e&&bnFancyboxClose()},{removeFromSaved:!0}
144)}),$(document).on("click","#maxCompareItems .productItem--list.popup .productItem__wrapList",function(e){e.preventDefault(),ajaxHelper({className:"ProductCompare",methodName:"replaceProduct",args:{from:$(this).find('input[name="productData_productID"]').val(),to:t}},function(t){t.return.success&&($("#maxCompareItems .modal-body .prList").replaceWith(t.return.html),$("#maxCompareItems .productItem--list.popup .productItem__wrapList").css("pointer-events","none"),$("#maxCompareItems .productItem--list.popup .productItem__wrapList .productItem__buttonsWrap").hide(),updateCompareStatusBox())})}),$(document).on("click",".bind-clearCart",function(t){t.preventDefault(),ajaxHelper({className:"ProductCart",methodName:"clearUserCart"},function(t){closeChooseUserCartPopup()})}),$(document).on("click",".bind-moveSaveForLater",function(t){t.preventDefault(),cartAJAX("saveProductMass",{products:getChooseUserCartProductIDs()},function(){closeChooseUserCartPopup(),showSavedProducts()})}),$(document).on("click",".bind-mergeCart",function(){ajaxHelper({className:"ProductCart",methodName:"mergeCart"},function(t){updateCartStatusBox(),closeChooseUserCartPopup(),showSavedProducts()})}),$(document).on("click",".bind-addProductReminder",function(t){t.preventDefault(),t.stopImmediatePropagation();var e=$(this).data("productid"),i=$(this).data("isrx"),n=$(this).data("prescription"),o=$(this).attr("id");ajaxHelper({className:"CustomerReminder",methodName:"drawReminderForm",args:{reminderID:"",productID:e,isRX:i,createdFromCart:!0,prescriptionNo:n}},function(t){if(void 0===t.return)return alert("Server error"),!1;void 0===window.benuDialog||"function"!=typeof window.benuDialog.open?$.fancybox.open(t.return,{toolbar:!1,smallBtn:!1,autoFocus:!1,touch:!1,animationDuration:250,animationEffect:"slide-in-out",afterClose:function(t,e){$(e.$content).children("div.bnModal__content").hasClass("created")&&$("#"+o).append('<i style="color: #58A618" class="far fa-check-circle"></i>')}}):window.benuDialog.open({id:"customerReminderDialog",content:t.return,className:"bnuDialog--small",lockScroll:!0})})})}),function(t){t.fn.intuero_registrationForm=function(e){var i=this;return function e(){i.find(".changeUserType").on("change",function(){var n;n=t(this).val(),i.html("Luktelkite..."),ajaxHelper({className:"User",methodName:"getMemberForm",args:{options:{isAjax:!0,activeUserType:n}}},function(t){t.success?t.return&&(i.html(t.return),e()):console.log(t)})})}(),i.on("submit",function(n){n.preventDefault(),console.log("submit registration"),async function(){var n=!1;console.log("options"),console.log(e),t("#coreRegistrationForm .error").removeClass("error"),t("#coreRegistrationForm .errorsBox").html(""),t("#coreRegistrationForm").find(".error-msg").html("");let o="";try{o=await generateCaptchaToken(e.action)}catch(n){return}if($mandatoryLines=i.find(".row.mandatory").not(".disabled"),t(".row.disabled").remove(),$mandatoryLines.each(function(e,o){$input=i.find('[name="'+t
144(o).data("fieldname")+'"]'),$input.val()||(t(o).addClass("error"),n=!0)}),n)return!1;var s={},a=e.action,r=addLoader(t("#coreRegistrationForm"));s.args={},s.args.userData={},s.args.captchaToken=o;var l=i.serializeArray();if("updateMyAccount"==a){var c=0;t('input[name="profileData[agreement_marketing_communication]"]').is(":checked")&&(c=1),l.push({name:"profileData[agreement_marketing_communication]",value:c});var u=0;t('input[name="profileData[custom_agreements_email]"]').is(":checked")&&(u=1),l.push({name:"profileData[custom_agreements_email]",value:u});var h=0;t('input[name="profileData[custom_agreements_sms]"]').is(":checked")&&(h=1),l.push({name:"profileData[custom_agreements_sms]",value:h})}t.each(l,function(t,e){fieldName=e.name,"profileData[subscribeNewsLetter]"==fieldName&&"on"==e.value&&(e.value=1),fieldName.indexOf("[")>-1?(temp=fieldName.split("["),temp[1]=temp[1].slice(0,-1),void 0===s.args.userData[temp[0]]&&(s.args.userData[temp[0]]={}),s.args.userData[temp[0]][temp[1]]=e.value):s.args.userData[fieldName]=e.value}),ajaxHelper({className:"BenuMemberHelper",methodName:a,args:s.args}
144,function(e){if(closeLoader(r),console.log(e),e.return.success){if(void 0!==e.return.html&&t("#coreRegistrationForm").html(e.return.html),void 0!==e.return.HTML&&t("#coreRegistrationForm").html(e.return.HTML),TrackerPlugin.gtm({event:"sign_up",customer:{email:s.args.userData.email}}),void 0!==e.return.message){var n="";"string"==typeof e.return.message?n=e.return.message:t.each(e.return.message,function(t,e){"success"==e.type?n+='<div class="bnAttentionBox bnAttentionBox--green bnAttentionBox--mb20"><p>'+e.text+"</p></div>":n+=e.text+"<br>"}),""!=n&&(t("#coreRegistrationForm").html(n),"memberUpdate"==a&&(t("html, body").animate({scrollTop:0},"fast"),setTimeout(function(){location.reload()},1e3)))}if(void 0!==e.return.callback)switch(e.return.callback.action){case"drawPhoneVerificationPopup":ajaxHelper({className:"BenuMemberHelper",methodName:"drawPhoneVerificationPopup"},function(e){if(e.success){t.fancybox.open(e.return,{touch:!1,keyboard:!1,smallBtn:!1,clickSlide:!1,buttons:[]})}else console.log(e)});break;case"reload":location.reload();break;case"redirect":window.location=e.return.redirectURL}}else void 0!==e.return.html&&t("#coreRegistrationForm").html(e.return.html),void 0!==e.return.errors&&t.each(e.return.errors,function(e,i){"name"==e&&(e="firstName"),errorsMessages=[],i&&(Array.isArray(i)||"object"==typeof i)&&t.each(i,function(t,e){""!=e&&errorsMessages.push(e)}),"_global"==e?t("#coreRegistrationForm").find(".errorsBox").html(errorsMessages.join("<br>")):(t("#coreRegistrationForm").find('[name="'+e+'"]').addClass("error"),t("#coreRegistrationForm").find('.formItem[data-fieldname="'+e+'"]').addClass("error"),t("#coreRegistrationForm").find('.formItem[data-fieldname="'+e+'"]').find(".error-msg").html(errorsMessages.join("<br>")))}),e.return.error&&i.find(".errorsBox").append(e.return.error)},"POST")}()}),this}}(jQuery);var browsersREGEX=/Edge?\/(1[89]|[2-9]\d|\d{3,})\.\d+(\.\d+|)|Firefox\/(1[1-9]|[2-9]\d|\d{3,})\.\d+(\.\d+|)|Chrom(ium|e)\/(3[89]|[4-9]\d|\d{3,})\.\d+(\.\d+|)([\d.]+$|.*Safari\/(?![\d.]+ Edge\/[\d.]+$))|(Maci|X1{2}).+ Version\/(9\.([1-9]|\d{2,})|([1-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(4[6-9]|[5-9]\d|\d{3,})\.\d+\.\d+|[^e] (CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(7[._]\d+|([89]|\d{2,})[._]\d+)([._]\d+|)|Opera Mini|Android:?[ /-](12\d|1[3-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|(Black[Bb]er{2}y|B{2}10).+Version\/([7-9]|\d{2,})\.\d+\.\d+|Mobile Safari.+OPR\/(7[3-9]|[89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(1{2}9|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(12\d|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(5\.\d+|([6-9]|\d{2,})\.\d+)|Android.+MQ{2}Browser\/(13(\.([1-9]|\d{2,})|)|(1[4-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|baidubrowser[\s/](13(\.(1[89]|[2-9]\d|\d{3,})|)|(1[4-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(2\.([5-9]|\d{2,})|([3-9]|\d{2,})\.\d+)(\.\d+|)/;function showUserAddressModal(t){0==$("#addressFormModal").length&&$("body").append('<div class="modal fade" id="addressFormModal" tabindex="-1" role="dialog" aria-labelledby="billingAddressLabel" aria-hidden="true"><div class="modal-dialog modal-dialog-centered" role="document"><div class="modal-content"><button class="close" type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fas fa-times"></i></button><div class="modal-innerContent">\x3c!-- loaded with js --\x3e</div></div></div></div>'),$("#addressFormModal").modal("show"),$("#addressFormModal .modal-innerContent").html(t)}!function(t){if(t.support.touch="ontouchend"in document,t.support.touch){var e,i=t.ui.mouse.prototype,n=i._mouseInit,o=i._mouseDestroy;i._touchStart=function(t){!e&&this._mouseCapture(t.originalEvent.changedTouches[0])&&(e=!0,this._touchMoved=!1,s(t,"mouseover"),s(t,"mousemove"),s(t,"mousedown"))},i._touchMove=function(t){e&&(this._touchMoved=!0,s(t,"mousemove"))},i._touchEnd=function(t){e&&(s(t,"mouseup"),s(t,"mouseout"),this._touchMoved||s(t,"click"),e=!1)},i._mouseInit=function(){this.element.bind({touchstart:t.proxy(this,"_touchStart"),touchmove:t.proxy(this,"_touchMove"),touchend:t.proxy(this,"_touchEnd")}),n.call(this)},i._mouseDestroy=function(){this.element.unbind({touchstart:t.proxy(this,"_touchStart"),touchmove:t.proxy(this,"_touchMove"),touchend:t.proxy(this,"_touchEnd")}),o.call(this)}}function s(t,e){if(!(t.originalEvent.touches.length>1)){t.cancelable&&t.preventDefault();var i=t.originalEvent.changedTouches[0],n=document.createEvent("MouseEvents");n.initMouseEvent(e,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n)}}}(jQuery),function(t,e){"use strict";function i(i,n,s,r,l){function c(){x=t.devicePixelRatio>1,s=u(s),n.delay>=0&&setTimeout(function(){h(!0)},n.delay),(n.delay<0||n.combined)&&(r.e=function(t,e){var o,s=0;return function(a,r){function l(){s=+new Date,e.call(i,a)}var c=+new Date-s;o&&clearTimeout(o),c>t||!n.enableThrottle||r?l():o=setTimeout(l,t-c)}}(n.throttle,function(t){"resize"===t.type&&(w=C=-1),h(t.all)}),r.a=function(t){t=u(t),s.push.apply(s,t)},r.g=function(){return s=o(s).filter(function(){return!o(this).data(n.loadedName)})},r.f=function(t){for(var e=0;e<t.length;e++){var i=s.filter(function(){return this===t[e]});i.length&&h(!1,i)}},h(),o(n.appendScroll).on("scroll."+l+" resize."+l,r.e))}function u(t){var s=n.defaultImage,a=n.placeholder,r=n.imageBase,l=n.srcsetAttribute,c=n.loaderAttribute,u=n._f||{};t=o(t).filter(function(){var t=o(this),i=g(this);return!t.data(n.handledName)&&(t.attr(n.attribute)||t.attr(l)||t.attr(c)||u[i]!==e)}).data("plugin_"+n.name,i);for(var h=0,d=t.length;h<d;h++){var p=o(t[h]),f=g(t[h]),m=p.attr(n.imageBaseAttribute)||r;f===P&&m&&p.attr(l)&&p.attr(l,v(p.attr(l),m)),u[f]===e||p.attr(c)||p.attr(c,u[f]),f===P&&s&&!p.attr(T)?p.attr(T,s):f===P||!a||p.css(M)&&"none"!==p.css(M)||p.css(M,"url('"+a+"')")}return t}function h(t,e){if(s.length){for(var a=e||s,r=!1,l=n.imageBase||"",c=n.srcsetAttribute,u=n.handledName,h=0;h<a.length;h++)if(t||e||p(a[h])){var f=o(a[h]),m=g(a[h]),v=f.attr(n.attribute),b=f.attr(n.imageBaseAttribute)||l,_=f.attr(n.loaderAttribute);f.data(u)||n.visibleOnly&&!f.is(":visible")||!((v||f.attr(c))&&(m===P&&(b+v!==f.attr(T)||f.attr(c)!==f.attr(D))||m!==P&&b+v!==f.css(M))||_)||(r=!0,f.data(u,!0),d(f,m,b,_))}r&&(s=o(s).filter(function(){return!o(this).data(u)}))}else n.autoDestroy&&i.destroy()}function d(t,e,i,s){++y;var a=function(){_("onError",t),b(),a=o.noop};_("beforeLoad",t);var r=n.attribute,l=n.srcsetAttribute,c=n.sizesAttribute,u=n.retinaAttribute,h=n.removeAttribute,d=n.loadedName,p=t.attr(u);if(s){var f=function(){h&&t.removeAttr(n.loaderAttribute),t.data(d,!0),_(k,t),setTimeout(b,1),f=o.noop};t.off(S).one(S,a).one($,f),_(s,t,function(e){e?(t.off($),f()):(t.off(S),a())})||t.trigger(S)}else{var m=o(new Image);m.one(S,a).one($,function(){t.hide(),e===P?t.attr(I,m.attr(I)).attr(D,m.attr(D)).attr(T,m.attr(T)):t.css(M,"url('"+m.attr(T)+"')"),t[n.effect](n.effectTime),h&&(t.removeAttr(r+" "+l+" "+u+" "+n.imageBaseAttribute),c!==I&&t.removeAttr(c)),t.data(d,!0),_(k,t),m.remove(),b()});var g=(x&&p?p:t.attr(r))||"";m.attr(I,t.attr(c)).attr(D,t.attr(l)).attr(T,g?i+g:null),m.complete&&m.trigger($)}}function p(t){var e=t.getBoundingClientRect(),i=n.scrollDirection,o=n.threshold,s=m()+o>e.top&&-o<e.bottom,a=f()+o>e.left&&-o<e.right;return"vertical"===i?s:("horizontal"===i||s)&&a}function f(){return w>=0?w:w=o(t).width()}function m(){return C>=0?C:C=o(t).height()}function g(t){return t.tagName.toLowerCase()}function v(t,e){if(e){var i=t.split(",");t="";for(var n=0,o=i.length;n<o;n++)t+=e+i[n].trim()+(n!==o-1?",":"")}return t}function b(){--y,s.length||y||_("onFinishedAll")}function _(t,e,o){return!!(t=n[t])&&(t.apply(i,[].slice.call(arguments,1
144)),!0)}var y=0,w=-1,C=-1,x=!1,k="afterLoad",$="load",S="error",P="img",T="src",D="srcset",I="sizes",M="background-image";"event"===n.bind||a?c():o(t).on($+"."+l,c)}function n(n,a){var r=this,l=o.extend({},r.config,a),c={},u=l.name+"-"+ ++s;return r.config=function(t,i){return i===e?l[t]:(l[t]=i,r)},r.addItems=function(t){return c.a&&c.a("string"===o.type(t)?o(t):t),r},r.getItems=function(){return c.g?c.g():{}},r.update=function(t){return c.e&&c.e({},!t),r},r.force=function(t){return c.f&&c.f("string"===o.type(t)?o(t):t),r},r.loadAll=function(){return c.e&&c.e({all:!0},!0),r},r.destroy=function(){return o(l.appendScroll).off("."+u,c.e),o(t).off("."+u),c={},e},i(r,l,n,c,u),l.chainable?n:r}var o=t.jQuery||t.Zepto,s=0,a=!1;o.fn.Lazy=o.fn.lazy=function(t){return new n(this,t)},o.Lazy=o.lazy=function(t,i,s){if(o.isFunction(i)&&(s=i,i=[]),o.isFunction(s)){t=o.isArray(t)?t:[t],i=o.isArray(i)?i:[i];for(var a=n.prototype.config,r=a._f||(a._f={}),l=0,c=t.length;l<c;l++)(a[t[l]]===e||o.isFunction(a[t[l]]))&&(a[t[l]]=s);for(var u=0,h=i.length;u<h;u++)r[i[u]]=t[0]}},n.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:e,afterLoad:e,onError:e,onFinishedAll:e},o(t).on("load",function(){a=!0})}(window),$(document).on("click",".bind-addNewBillingAddress",function(t){t.preventDefault(),$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),ajaxHelper({className:"UserAddresses",methodName:"renderForm",args:{options:{type:"billing"}}},function(t){t.success&&(showUserAddressModal(t.return),bindAutocomplete($('#addressFormModal .modal-innerContent [name="address"]')),"benu-eshop-lv"==intuero.appName&&bindCityAutocomplete($('#addressFormModal .modal-innerContent [name="city"]')))})}),$(document).on("click",".bind-addNewDeliveryAddress",function(t){t.preventDefault(),$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),ajaxHelper({className:"UserAddresses",methodName:"renderForm",args:{options:{type:"delivery"}}},function(t){t.success&&(showUserAddressModal(t.return),bindAutocomplete($('#addressFormModal .modal-innerContent [name="address"]')),"benu-eshop-lv"==intuero.appName&&bindCityAutocomplete($('#addressFormModal .modal-innerContent [name="city"]')))})}),$(document).on("click",".bind-userTypeChange",function(t){t.preventDefault();var e=addLoader($("#addressFormModal .modal-innerContent"));ajaxHelper({className:"UserAddresses",methodName:"renderForm",args:{options:{type:"billing",userType:$(this).attr("value")}}},function(t){t.success&&(closeLoader(e),showUserAddressModal(t.return))})}),$(document).on("click",".bind-modifyAddress",function(t){t.preventDefault(),$(".modal:visible").modal("hide"),$(".modal-backdrop").remove(),ajaxHelper({className:"UserAddresses",methodName:"renderForm",args:{options:{type:$(this).data("type"),addressID:$(this).data("id")}}},function(t){t.success&&(showUserAddressModal(t.return),bindAutocomplete($('#addressFormModal .modal-innerContent [name="address"]')),"benu-eshop-lv"==intuero.appName&&bindCityAutocomplete($('#addressFormModal .modal-innerContent [name="city"]')))})}),$(document).on("click",".bind-saveAddress",function(e){e.preventDefault(),t=$(this).data("type"),$parent=$(".addressForm"),$parent.find(".error-msg").html("");var i=$parent.find('[name="fieldsList"]').val().split(","),n={};$.each(i,function(t,e){fType=$parent.find('[name="'+e+'"]').attr("type"),"radio"==fType?fieldValue=$parent.find('[name="'+e+'"]:checked').val():fieldValue=$parent.find('[name="'+e+'"]').val(),fieldValue&&(n[e]=fieldValue)});var o=addLoader($("#addressFormModal .modal-innerContent"));ajaxHelper({className:"UserAddresses",methodName:"saveAddress",args:{addressData:n,addressType:t}}
vendor: 10,339 bytes, line 144
144,function(t){t.success&&(0==t.return.success?(closeLoader(o),t.return.errors,$.each(t.return.errors,function(t,e){var i=$.map(e,function(t){return t}).join("<br>");$parent.find(".error-msg.field-"+t).html(i)})):window.location.reload())})}),$(document).on("click",".bind-deleteAddress",function(t){t.preventDefault(),ajaxHelper({className:"UserAddresses",methodName:"removeAddress",args:{ID:$(this).data("addressid")}},function(t){t.success&&window.location.reload()})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.SignaturePad=e()}(this,function(){"use strict";function t(t,e,i){this.x=t,this.y=e,this.time=i||(new Date).getTime()}function e(t,e,i,n){this.startPoint=t,this.control1=e,this.control2=i,this.endPoint=n}function i(t,e){var n=this,o=e||{};this.velocityFilterWeight=o.velocityFilterWeight||.7,this.minWidth=o.minWidth||.5,this.maxWidth=o.maxWidth||2.5,this.throttle="throttle"in o?o.throttle:16,this.minDistance="minDistance"in o?o.minDistance:5,this.throttle?this._strokeMoveUpdate=function(t,e,i){var n,o,s,a=null,r=0;i||(i={});var l=function(){r=!1===i.leading?0:Date.now(),a=null,s=t.apply(n,o),a||(n=o=null)};return function(){var c=Date.now();r||!1!==i.leading||(r=c);var u=e-(c-r);return n=this,o=arguments,u<=0||u>e?(a&&(clearTimeout(a),a=null),r=c,s=t.apply(n,o),a||(n=o=null)):a||!1===i.trailing||(a=setTimeout(l,u)),s}}(i.prototype._strokeUpdate,this.throttle):this._strokeMoveUpdate=i.prototype._strokeUpdate,this.dotSize=o.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=o.penColor||"black",this.backgroundColor=o.backgroundColor||"rgba(0,0,0,0)",this.onBegin=o.onBegin,this.onEnd=o.onEnd,this._canvas=t,this._ctx=t.getContext("2d"),this.clear(),this._handleMouseDown=function(t){1===t.which&&(n._mouseButtonDown=!0,n._strokeBegin(t))},this._handleMouseMove=function(t){n._mouseButtonDown&&n._strokeMoveUpdate(t)},this._handleMouseUp=function(t){1===t.which&&n._mouseButtonDown&&(n._mouseButtonDown=!1,n._strokeEnd(t))},this._handleTouchStart=function(t){if(1===t.targetTouches.length){var e=t.changedTouches[0];n._strokeBegin(e)}},this._handleTouchMove=function(t){t.preventDefault();var e=t.targetTouches[0];n._strokeMoveUpdate(e)},this._handleTouchEnd=function(t){t.target===n._canvas&&(t.preventDefault(),n._strokeEnd(t))},this.on()}return t.prototype.velocityFrom=function(t){return this.time!==t.time?this.distanceTo(t)/(this.time-t.time):1},t.prototype.distanceTo=function(t){return Math.sqrt(Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2))},t.prototype.equals=function(t){return this.x===t.x&&this.y===t.y&&this.time===t.time},e.prototype.length=function(){for(var t=0,e=void 0,i=void 0,n=0;n<=10;n+=1){var o=n/10,s=this._point(o,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),a=this._point(o,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(n>0){var r=s-e,l=a-i;t+=Math.sqrt(r*r+l*l)}e=s,i=a}return t},e.prototype._point=function(t,e,i,n,o){return e*(1-t)*(1-t)*(1-t)+3*i*(1-t)*(1-t)*t+3*n*(1-t)*t*t+o*t*t*t},i.prototype.clear=function(){var t=this._ctx,e=this._canvas;t.fillStyle=this.backgroundColor,t.clearRect(0,0,e.width,e.height),t.fillRect(0,0,e.width,e.height),this._data=[],this._reset(),this._isEmpty=!0},i.prototype.fromDataURL=function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new Image,o=i.ratio||window.devicePixelRatio||1,s=i.width||this._canvas.width/o,a=i.height||this._canvas.height/o;this._reset(),n.src=t,n.onload=function(){e._ctx.drawImage(n,0,0,s,a)},this._isEmpty=!1},i.prototype.toDataURL=function(t){var e;if("image/svg+xml"===t)return this._toSVG();for(var i=arguments.length,n=Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];return(e=this._canvas).toDataURL.apply(e,[t].concat(n))},i.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},i.prototype.off=function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),this._canvas.removeEventListener("touchend",this._handleTouchEnd)},i.prototype.isEmpty=function(){return this._isEmpty},i.prototype._strokeBegin=function(t){this._data.push([]),this._reset(),this._strokeUpdate(t),"function"==typeof this.onBegin&&this.onBegin(t)},i.prototype._strokeUpdate=function(t){var e=t.clientX,i=t.clientY,n=this._createPoint(e,i),o=this._data[this._data.length-1],s=o&&o[o.length-1],a=s&&n.distanceTo(s)<this.minDistance;if(!s||!a){var r=this._addPoint(n),l=r.curve,c=r.widths;l&&c&&this._drawCurve(l,c.start,c.end),this._data[this._data.length-1].push({x:n.x,y:n.y,time:n.time,color:this.penColor})}},i.prototype._strokeEnd=function(t){var e=this.points.length>2,i=this.points[0];if(!e&&i&&this._drawDot(i),i){var n=this._data[this._data.length-1],o=n[n.length-1];i.equals(o)||n.push({x:i.x,y:i.y,time:i.time,color:this.penColor})}"function"==typeof this.onEnd&&this.onEnd(t)},i.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},i.prototype._handleTouchEvents=function(){this._canvas.style.msTouchAction="none",this._canvas.style.touchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart),this._canvas.addEventListener("touchmove",this._handleTouchMove),this._canvas.addEventListener("touchend",this._handleTouchEnd)},i.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},i.prototype._createPoint=function(e,i,n){var o=this._canvas.getBoundingClientRect();return new t(e-o.left,i-o.top,n||(new Date).getTime())},i.prototype._addPoint=function(t){var i=this.points;if(i.push(t),i.length>2){3===i.length&&i.unshift(i[0]);var n=this._calculateCurveControlPoints(i[0],i[1],i[2]).c2,o=this._calculateCurveControlPoints(i[1],i[2],i[3]).c1,s=new e(i[1],n,o,i[2]),a=this._calculateCurveWidths(s);return i.shift(),{curve:s,widths:a}}return{}},i.prototype._calculateCurveControlPoints=function(e,i,n){var o=e.x-i.x,s=e.y-i.y,a=i.x-n.x,r=i.y-n.y,l=(e.x+i.x)/2,c=(e.y+i.y)/2,u=(i.x+n.x)/2,h=(i.y+n.y)/2,d=Math.sqrt(o*o+s*s),p=Math.sqrt(a*a+r*r),f=p/(d+p),m=u+(l-u)*f,g=h+(c-h)*f,v=i.x-m,b=i.y-g;return{c1:new t(l+v,c+b),c2:new t(u+v,h+b)}},i.prototype._calculateCurveWidths=function(t){var e=t.startPoint,i=t.endPoint,n={start:null,end:null},o=this.velocityFilterWeight*i.velocityFrom(e)+(1-this.velocityFilterWeight)*this._lastVelocity,s=this._strokeWidth(o);return n.start=this._lastWidth,n.end=s,this._lastVelocity=o,this._lastWidth=s,n},i.prototype._strokeWidth=function(t){return Math.max(this.maxWidth/(t+1),this.minWidth)},i.prototype._drawPoint=function(t,e,i){var n=this._ctx;n.moveTo(t,e),n.arc(t,e,i,0,2*Math.PI,!1),this._isEmpty=!1},i.prototype._drawCurve=function(t,e,i){var n=this._ctx,o=i-e,s=Math.floor(t.length());n.beginPath();for(var a=0;a<s;a+=1){var r=a/s,l=r*r,c=l*r,u=1-r,h=u*u,d=h*u,p=d*t.startPoint.x;p+=3*h*r*t.control1.x,p+=3*u*l*t.control2.x,p+=c*t.endPoint.x;var f=d*t.startPoint.y;f+=3*h*r*t.control1.y,f+=3*u*l*t.control2.y,f+=c*t.endPoint.y;var m=e+c*o;this._drawPoint(p,f,m)}n.closePath(),n.fill()},i.prototype._drawDot=function(t){var e=this._ctx,i="function"==typeof this.dotSize?this.dotSize():this.dotSize;e.beginPath(),this._drawPoint(t.x,t.y,i),e.closePath(),e.fill()},i.prototype._fromData=function(e,i,n){for(var o=0;o<e.length;o+=1){var s=e[o];if(s.length>1)for(var a=0;a<s.length;a+=1){var r=s[a],l=new t(r.x,r.y,r.time),c=r.color;if(0===a)this.penColor=c,this._reset(),this._addPoint(l);else if(a!==s.length-1){var u=this._addPoint(l),h=u.curve,d=u.widths;h&&d&&i(h,d,c)}}else this._reset(),n(s[0])}},i.prototype._toSVG=function(){var t=this,e=this._data,i=this._canvas,n=Math.max(window.devicePixelRatio||1,1),o=i.width/n,s=i.height/n,a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttributeNS(null,"width",i.width),a.setAttributeNS(null,"height",i.height),this._fromData(e,function(t,e,i){var n=document.createElement("path");if(!(isNaN(t.control1.x)||isNaN(t.control1.y)||isNaN(t.control2.x)||isNaN(t.control2.y))){var o="M "+t.startPoint.x.toFixed(3)+","+t.startPoint.y.toFixed(3)+" C "+t.control1.x.toFixed(3)+","+t.control1.y.toFixed(3)+" "+t.control2.x.toFixed(3)+","+t.control2.y.toFixed(3)+" "+t.endPoint.x.toFixed(3)+","+t.endPoint.y.toFixed(3);n.setAttribute("d",o),n.setAttribute("stroke-width",(2.25*e.end).toFixed(3)),n.setAttribute("stroke",i),n.setAttribute("fill","none"),n.setAttribute("stroke-linecap","round"),a.appendChild(n)}},function(e){var i=document.createElement("circle"),n="function"==typeof t.dotSize?t.dotSize():t.dotSize;i.setAttribute("r",n),i.setAttribute("cx",e.x),i.setAttribute("cy",e.y),i.setAttribute("fill",e.color),a.appendChild(i)});var r='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 '+o+" "+s+'" width="'+o+'" height="'+s+'">',l=a.innerHTML;if(void 0===l){var c=document.createElement("dummy"),u=a.childNodes;c.innerHTML="";for(var h=0;h<u.length;h+=1)c.appendChild(u[h].cloneNode(!0));l=c.innerHTML}return"data:image/svg+xml;base64,"+btoa(r+l+"</svg>")},i.prototype.fromData=function(t){var e=this;this.clear(),this._fromData(t,function(t,i){return e._drawCurve(t,i.start,i.end)},function(t){return e._drawDot(t)}),this._data=t},i.prototype.toData=function(){return this._data},i}),$(function(){let t=[],e=[];t.push(".times-item label"),t.push(".button.button--arrowDown.bind-datePicker"),t.push(".customSelectVisible"),t.push(".bind-selectPharmacy"),t.push(".bind-agreeToRules"),t.push(".customSelectSearch"),t.push(".confirmDate"),t.push(".cancel"),t.push(".bind-submitReservation"),t.push(".pr_filterGroup__more"),t.push(".starsWrap .pr_star"),t.push(".tabs__links a"),t.push(".bnCarousel__arrow"),t.push(".privacyPolicy"),t.push(".bind-completeStep"),t.push(".bind-clooseChooseOld"),t.push(".bind-agreeForConsultation"),t.push(".cartTable_productTitle"),t.pu
144sh(".bind-cartQntChangeInput"),t.push(".bind-cartRemoveProduct"),t.push(".bind-applyBenuPromoCode"),t.push(".bind-openLocationSelect"),t.push(".IDCSSection"),t.push(".BENUEPSSection"),t.push(".BENUMoneySection"),t.push("#bnPayment .bnFieldset *"),t.push("#coreRegistrationForm .formItem label"),t.push(".bind-addReminder"),t.push(".productCart .bind-addToCart"),t.push(".bind-readMore"),t.push(".showFolded"),t.push(".bind-redrawOrder"),t.push(".bnCloseButton"),t.push(".bind-pickupProvider"),t.push(".bind-goBackToStep"),t.push(".bind-createNewReminder"),t.push("label[for=prReminder_policy]"),t.push("label[for=prReminder_marketing]"),t.push(".bind-toggleStatus"),t.push(".bind-toggleEdit"),t.push(".bind-cannotLogin"),t.push(".BENUMultiStageToggle__choice"),t.push(".bind-showLoginForm"),t.push(".bind-toggleGroup"),t.push(".customOption"),t.push(".bind-prevLevel"),t.push(".bind-nextLevel"),t.push("#bnDelivery div.bnRadio label"),t.push(".footerWidget--menu > h3"),t.push(".expandBox .titleWrap"),t.push(".carouselArrow"),t.push(".contactForm .formItem label"),t.push(".bind-tabActions"),t.push(".bnProductCard__title"),t.push(".bnAttentionBox__content a"),t.push(".bind-showFavoritesModal"),t.push(".bind-completeStep1"),t.push(".bind-completeStep2"),t.push(".bind-cancelRxPurchase"),t.push(".bind-skipConsultation"),t.push(".bind-completeStep4AndPay"),t.push(".bind-completeStep4AndBrowse"),t.push("#bind-onDutyPharmacies"),t.push(".bind-applyFilter"),t.push(".bind-showMoreFilters"),t.push(".bind-suboptionimage"),t.push(".bnuOrderCard__productActions .bind-addToCart"),$(document).on("keyup",t.join(","),function(t){13==t.keyCode&&(t.stopImmediatePropagation(),t.preventDefault(),$(this).trigger("click"),$(t.target).hasClass("customSelectVisible")&&$(this).parent().find(".optionsWrap .customOption[tabindex=0]").first().focus())}),e.push(".formItem--registerForAnotherPerson label.checkbox"),e.push(".pr_filterGroup__content label.checkbox"),e.push(".rememberMe label.checkbox"),e.push(".bnuCartLocationSelect__radioMarker"),$(document).on("keydown",e.join(","),function(t){13!=t.keyCode&&32!=t.keyCode||(t.stopImmediatePropagation(),t.preventDefault(),$(this).trigger("click"))}),$(document).on("keyup",".menu_hasChilds .bind-invisibleTabButton",function(t){if(t.stopImmediatePropagation(),t.preventDefault(),13==t.keyCode){var e=$(this).closest(".menu_hasChilds").hasClass("isActive");$.each($(".menu_hasChilds.isActive"),function(t,e){$(e).removeClass("isActive")}),e||($(this).parent().addClass("isActive"),$(this).closest(".bnMainMenu__categories").addClass("isActive"))}}),$(document).on("keyup",".bnMainMenu__categoriesTitle .bind-invisibleTabButton",function(t){t.stopImmediatePropagation(),t.preventDefault(),13==t.keyCode&&$(this).closest(".bnMainMenu__categories--more").toggleClass("visible isActive")}),$(document).on("keydown",".customOption",function(t){40==t.keyCode&&(t.preventDefault(),$(t.target).next().focus()),38==t.keyCode&&(t.preventDefault(),$(t.target).prev().focus())}),$(document).on("click",".bind-toggleContent",function(t){t.preventDefault();var e=$(this),i=$(this).attr("aria-expanded")??"false";$.each($(".bnSingleProduct__contentTabs .bind-toggleContent"),function(t,i){(i=$(i)).is(e)||$(i).attr("aria-expanded","false")}),"true"==i?$(this).attr("aria-expanded","false"):$(this).attr("aria-expanded","true")}),$(".contentTab .contentTab__content a").attr("tabindex","-1")});</script>
144 145
145<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" src="https://kit.fontawesome.com/bf11807ccc.js" data-cookieconsent="ignore"></script>
145 146
146<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" src="https://cdn.jsdelivr.net/npm/swiper@12/swiper-bundle.min.js" data-cookieconsent="ignore"></script>
146 147
147<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" data-cookieconsent="ignore">var require = function(m) { if (m === "jquery") return window.jQuery; throw new Error("Cannot require " + m); }; 148(() => { 149 // www/application/resources/js/promo-slider.js 150 function updatePromoContainerHeight() { 151 const container = document.querySelector(".bnuPromoBarContainer"); 152 let containerHeight = 0; 153 if (container) { 154 const hasVisibleChild = Array.from(container.children).some((child) => { 155 return !child.hidden && child.offsetHeight > 0; 156 }); 157 containerHeight = hasVisibleChild ? container.offsetHeight : 0; 158 } 159 document.body.style.setProperty("--promo-height", containerHeight + "px"); 160 } 161 function getPromoSliderWrapTop() { 162 if (typeof jQuery === "undefined") { 163 return null; 164 } 165 const $2 = jQuery; 166 const $wrap = $2(".bind-promoBarSliderWrap--top"); 167 return $wrap.length ? $wrap : $2(".sliderBannerWrap--top"); 168 } 169 function initPromoSliderTrack(selector, options) { 170 if (typeof jQuery === "undefined" || !jQuery.fn.infiniteslide) { 171 return; 172 } 173 const $2 = jQuery; 174 const $track = $2(selector); 175 if (!$track.length || $track.data("infiniteslide-init") || $track.closest(".infiniteslide_wrap").length) { 176 return; 177 } 178 $track.infiniteslide(options); 179 $track.data("infiniteslide-init", true); 180 } 181 function initPromoSliders() { 182 if (typeof jQuery === "undefined") { 183 updatePromoContainerHeight(); 184 return; 185 } 186 const $2 = jQuery; 187 if ($2(".bind-sliderBanner--top").length) { 188 const $wrap = getPromoSliderWrapTop(); 189 if ($wrap && $wrap.length) { 190 $wrap.show(); 191 } 192 initPromoSliderTrack(".bind-sliderBanner--top", { 193 clone: 2, 194 speed: 100, 195 pauseonhover: false 196 }); 197 document.documentElement.classList.add("sliderBannerTopVisible"); 198 } 199 initPromoSliderTrack(".bind-sliderBanner--bottom", { 200 clone: 2, 201 speed: 100, 202 pauseonhover: false 203 }); 204 $2(document).on("click", ".bind-sliderBanner-close", function(event) { 205 event.preventDefault(); 206 const wrapClass = $2(this).data("wrap"); 207 if (!wrapClass) { 208 return; 209 } 210 $2("." + wrapClass).remove(); 211 if (wrapClass === "sliderBannerWrap--top" || wrapClass === "bind-promoBarSliderWrap--top") { 212 document.documentElement.classList.remove("sliderBannerTopVisible"); 213 } 214 window.setTimeout(updatePromoContainerHeight, 50); 215 }); 216 updatePromoContainerHeight(); 217 } 218 219 // www/application/resources/js/promo-bar.js 220 var PromoBar = class { 221 constructor(options = {}) { 222 const safeOptions = options || {}; 223 const promoId = safeOptions.promoId !== void 0 ? safeOptions.promoId : "bnuPromoBar"; 224 const closeId = safeOptions.closeId !== void 0 ? safeOptions.closeId : "bnuPromoBarClose"; 225 const onClosed = safeOptions.onClosed; 226 this.promoId = promoId; 227 this.closeId = closeId; 228 this.onClosed = onClosed; 229 this._isInit = false; 230 this._onDocumentClick = this._onDocumentClick.bind(this); 231 } 232 init() { 233 if (this._isInit) { 234 return; 235 } 236 this._isInit = true; 237 document.addEventListener("click", this._onDocumentClick); 238 } 239 destroy() { 240 if (!this._isInit) { 241 return; 242 } 243 this._isInit = false; 244 document.removeEventListener("click", this._onDocumentClick); 245 } 246 _onDocumentClick(event) { 247 var _a; 248 const target = event.target; 249 const closestTarget = target && typeof target.closest === "function" ? target : target == null ? void 0 : target.parentElement; 250 const closeBtn = (_a = closestTarget == null ? void 0 : closestTarget.closest) == null ? void 0 : _a.call(closestTarget, "." + this.closeId); 251 if (!closeBtn) { 252 return; 253 } 254 const promo = closeBtn.closest("." + this.promoId); 255 if (!promo) { 256 return; 257 } 258 const notificationId = closeBtn.dataset.id; 259 if (notificationId) { 260 this._setCookie("notificationBarHide-" + notificationId); 261 } 262 promo.hidden = true;
263 const container = document.querySelector(".bnuPromoBarContainer"); 264 const containerHeight = container ? container.offsetHeight : 0; 265 document.body.style.setProperty("--promo-height", containerHeight + "px"); 266 if (typeof this.onClosed === "function") { 267 this.onClosed(); 268 } 269 } 270 _getCookie(name) { 271 const matches = document.cookie.match( 272 new RegExp("(?:^|; )" + name.replace(/([.$?*|{}()[\]\\/+^])/g, "\\$1") + "=([^;]*)") 273 ); 274 return matches ? decodeURIComponent(matches[1]) : ""; 275 } 276 _setCookie(cookieName) { 277 if (this._getCookie(cookieName) !== "" || !navigator.cookieEnabled) { 278 return; 279 } 280 const cookieExpirationDate = /* @__PURE__ */ new Date(); 281 cookieExpirationDate.setMonth(cookieExpirationDate.getMonth() + 1); 282 document.cookie = cookieName + "=true; expires=" + cookieExpirationDate.toUTCString() + "; path=/"; 283 } 284 }; 285 286 // www/application/resources/js/product-nav.js 287 var DEFAULT_SCROLL_HIDE_THRESHOLD_PX = 100; 288 var ProductNav = class _ProductNav { 289 static _isAriaTrue(value) { 290 return String(value).toLowerCase() === "true"; 291 } 292 static _setAriaDisabled(element, disabled) { 293 if (!element) { 294 return; 295 } 296 element.setAttribute("aria-disabled", disabled ? "true" : "false"); 297 } 298 constructor(options) { 299 const resolvedOptions = options ?? {}; 300 const menuId = resolvedOptions.menuId === void 0 ? "product-nav-menu" : resolvedOptions.menuId; 301 const toggleSelector = resolvedOptions.toggleSelector === void 0 ? "#bnuProductNavToggle, #product-nav-toggle" : resolvedOptions.toggleSelector; 302 const scrollHideThresholdPx = resolvedOptions.scrollHideThresholdPx === void 0 ? DEFAULT_SCROLL_HIDE_THRESHOLD_PX : resolvedOptions.scrollHideThresholdPx; 303 this.menuId = menuId; 304 this.toggleSelector = toggleSelector; 305 this.scrollHideThresholdPx = scrollHideThresholdPx; 306 this._menuInitiallyVisible = false; 307 this._menuOpenedAtScrollY = 0; 308 this._isInit = false; 309 this._onScroll = this._onScroll.bind(this); 310 this._onToggleClick = this._onToggleClick.bind(this); 311 } 312 init() { 313 if (this._isInit) { 314 return; 315 } 316 const toggleButton = this._getToggle(); 317 let menu = this._getMenu(); 318 if (!menu && toggleButton) { 319 const inferredMenuId = toggleButton.getAttribute("aria-controls"); 320 if (inferredMenuId) { 321 this.menuId = inferredMenuId; 322 menu = this._getMenu(); 323 } 324 } 325 if (!menu) { 326 return; 327 } 328 this._isInit = true; 329 if (toggleButton) { 330 if (toggleButton.getAttribute("aria-controls") !== this.menuId) { 331 toggleButton.setAttribute("aria-controls", this.menuId); 332 } 333 toggleButton.addEventListener("click", this._onToggleClick); 334 } 335 this._menuInitiallyVisible = menu.getAttribute("aria-hidden") === "false"; 336 menu.inert = !this._menuInitiallyVisible; 337 if (this._menuInitiallyVisible) { 338 this._menuOpenedAtScrollY = 0; 339 } 340 if (this._menuInitiallyVisible && window.scrollY <= 0) { 341 _ProductNav._setAriaDisabled(toggleButton, true); 342 } 343 window.addEventListener("scroll", this._onScroll, { passive: true }); 344 this._onScroll(); 345 const postRestoreSync = () => { 346 this._syncMenuStateAfterScrollRestoration(menu, toggleButton); 347 this._onScroll(); 348 }; 349 requestAnimationFrame(() => { 350 requestAnimationFrame(postRestoreSync); 351 }); 352 window.addEventListener("pageshow", postRestoreSync, { once: true }); 353 window.addEventListener("load", postRestoreSync, { once: true }); 354 } 355 destroy() { 356 if (!this._isInit) { 357 return; 358 } 359 this._isInit = false; 360 window.removeEventListener("scroll", this._onScroll); 361 const toggleButton = this._getToggle(); 362 if (toggleButton) { 363 toggleButton.removeEventListener("click", this._onToggleClick); 364 } 365 } 366 _getMenu() { 367 return document.getElementById(this.menuId); 368 } 369 _getToggle() { 370 return document.querySelector(this.toggleSelector); 371 } 372 _setMenuVisible(menu, toggleButton, visible) { 373 if (!menu) { 374 return; 375 } 376 menu.setAttribute("aria-hidden", visible ? "false" : "true"); 377 menu.inert = !visible; 378 if (toggleButton) { 379 toggleButton.setAttribute("aria-expanded", visible ? "true" : "false"); 380 if (!visible) { 381 _ProductNav._setAriaDisabled(toggleButton, false); 382 } 383 } 384 if (visible) { 385 this._menuOpenedAtScrollY = window.scrollY; 386 } 387 } 388 _syncMainToggleState(menu, toggleButton) { 389 if (!menu || !toggleButton) { 390 return; 391 } 392 const isHidden = menu.getAttribute("aria-hidden") === "true";
393 if (isHidden) { 394 toggleButton.setAttribute("aria-expanded", "false"); 395 _ProductNav._setAriaDisabled(toggleButton, false); 396 } 397 } 398 _syncMenuStateAfterScrollRestoration(menu, toggleButton) { 399 if (!menu) { 400 return; 401 } 402 if (this._menuInitiallyVisible) { 403 return; 404 } 405 if (toggleButton) { 406 _ProductNav._setAriaDisabled(toggleButton, false); 407 } 408 const isVisible = menu.getAttribute("aria-hidden") === "false"; 409 if (isVisible) { 410 this._menuOpenedAtScrollY = window.scrollY; 411 } 412 } 413 _onScroll() { 414 const menu = this._getMenu(); 415 if (!menu) { 416 return; 417 } 418 const toggleButton = this._getToggle(); 419 const isVisible = menu.getAttribute("aria-hidden") === "false"; 420 if (isVisible && Math.abs(window.scrollY - this._menuOpenedAtScrollY) > this.scrollHideThresholdPx) { 421 this._setMenuVisible(menu, toggleButton, false); 422 } 423 if (this._menuInitiallyVisible && window.scrollY <= 0) { 424 this._setMenuVisible(menu, toggleButton, true); 425 _ProductNav._setAriaDisabled(toggleButton, true); 426 } 427 if (this._menuInitiallyVisible && window.scrollY > 0) { 428 _ProductNav._setAriaDisabled(toggleButton, false); 429 } 430 this._syncMainToggleState(menu, toggleButton); 431 } 432 _onToggleClick() { 433 const menu = this._getMenu(); 434 if (!menu) { 435 return; 436 } 437 const toggleButton = this._getToggle(); 438 if (!toggleButton) { 439 return; 440 } 441 if (_ProductNav._isAriaTrue(toggleButton.getAttribute("aria-disabled"))) { 442 return; 443 } 444 const isHidden = menu.getAttribute("aria-hidden") === "true"; 445 this._setMenuVisible(menu, toggleButton, isHidden); 446 } 447 }; 448 449 // www/application/resources/js/product-nav-accessibility.js 450 var ProductNavAccessibility = class { 451 constructor(options) { 452 const resolvedOptions = options ?? {}; 453 const toggleSelector = resolvedOptions.toggleSelector === void 0 ? ".bind-subMenuToggle" : resolvedOptions.toggleSelector; 454 this.toggleSelector = toggleSelector; 455 this._isInit = false; 456 this._initializedButtons = /* @__PURE__ */ new WeakSet(); 457 } 458 init() { 459 if (this._isInit) { 460 return; 461 } 462 this._isInit = true; 463 document.querySelectorAll(this.toggleSelector).forEach((button) => { 464 this._initButton(button); 465 }); 466 } 467 _initButton(button) { 468 if (!button || this._initializedButtons.has(button)) { 469 return; 470 } 471 const submenuId = button.getAttribute("aria-controls"); 472 if (!submenuId) { 473 return; 474 } 475 const submenu = document.getElementById(submenuId); 476 if (!submenu) { 477 return; 478 } 479 this._initializedButtons.add(button); 480 const focusableSelectors = "a, button, input, select, textarea, [tabindex]"; 481 const setSubmenuFocusable = (isFocusable) => { 482 submenu.querySelectorAll(focusableSelectors).forEach((element) => { 483 if (isFocusable) { 484 if (element.dataset.originalTabindex !== void 0) { 485 if (element.dataset.originalTabindex === "") { 486 element.removeAttribute("tabindex"); 487 } else { 488 element.setAttribute("tabindex", element.dataset.originalTabindex); 489 } 490 delete element.dataset.originalTabindex; 491 } else if (element.getAttribute("tabindex") === "-1") { 492 element.removeAttribute("tabindex"); 493 } 494 } else { 495 if (element.dataset.originalTabindex === void 0) { 496 element.dataset.originalTabindex = element.getAttribute("tabindex") ?? ""; 497 } 498 element.setAttribute("tabindex", "-1"); 499 } 500 }); 501 }; 502 const openSubmenu = () => { 503 submenu.setAttribute("aria-hidden", "false"); 504 button.setAttribute("aria-expanded", "true"); 505 setSubmenuFocusable(true); 506 const firstLink = submenu.querySelector(":scope a, :scope button"); 507 if (firstLink) { 508 requestAnimationFrame(() => { 509 firstLink.focus(); 510 }); 511 } 512 }; 513 const closeSubmenu = () => { 514 button.setAttribute("aria-expanded", "false"); 515 submenu.setAttribute("aria-hidden", "true"); 516 setSubmenuFocusable(false); 517 }; 518 if (button.getAttribute("aria-expanded") === "true") { 519 submenu.setAttribute("aria-hidden", "false"); 520 setSubmenuFocusable(true); 521 } else { 522 submenu.setAttribute("aria-hidden", "true"); 523 setSubmenuFocusable(false); 524 } 525 button.addEventListener("click", (event) => { 526 event.preventDefault(); 527 if (button.getAttribute("aria-expanded") === "true") { 528 closeSubmenu(); 529 } else { 530 openSubmenu(); 531 } 532 }); 533 button.addEventListener("keydown", (event) => { 534 if (event.key === " " || event.key === "Enter") { 535 event.preventDefault(); 536 if (button.getAttribute("aria-expanded") === "true") { 537 closeSubmenu(); 538 } else { 539 openSubmenu(); 540 } 541 } 542 }); 543 submenu.addEventListener("keydown", (event) => { 544 if (event.key === "Escape") { 545 event.preventDefault(); 546 closeSubmenu(); 547 button.focus(); 548 } 549 }); 550 const handleFocusOut = (event) => { 551 const nextFocused = event.relatedTarget; 552 if (!nextFocused) { 553 return; 554 } 555 if (!button.contains(nextFocused) && !submenu.contains(nextFocused)) { 556 closeSubmenu(); 557 } 558 }; 559 button.addEventListener("focusout", handleFocusOut); 560 submenu.addEventListener("focusout", handleFocusOut); 561 } 562 }; 563 564 // www/application/resources/js/swiper-init.js 565 var SWIPER_FOCUSABLE_SELECTOR = 'a, button, input, select, textarea, [tabindex]:not
565([tabindex="-1"])'; 566 function setSwiperSlideFocusable(slide, focusable) { 567 slide.querySelectorAll(SWIPER_FOCUSABLE_SELECTOR).forEach((element) => { 568 if (focusable) { 569 if (element.dataset.swiperOriginalTabindex !== void 0) { 570 if (element.dataset.swiperOriginalTabindex === "") { 571 element.removeAttribute("tabindex"); 572 } else { 573 element.setAttribute("tabindex", element.dataset.swiperOriginalTabindex); 574 } 575 delete element.dataset.swiperOriginalTabindex; 576 } else if (element.getAttribute("tabindex") === "-1") { 577 element.removeAttribute("tabindex"); 578 } 579 return; 580 } 581 if (element.dataset.swiperOriginalTabindex !== void 0) { 582 return; 583 } 584 element.dataset.swiperOriginalTabindex = element.getAttribute("tabindex") ?? ""; 585 element.setAttribute("tabindex", "-1"); 586 }); 587 } 588 function updateSwiperSlideFocusability(swiper) { 589 swiper.slides.forEach((slide) => { 590 const isDuplicate = slide.classList.contains("swiper-slide-duplicate"); 591 const isVisible = slide.classList.contains("swiper-slide-visible"); 592 setSwiperSlideFocusable(slide, !isDuplicate && isVisible); 593 }); 594 } 595 function setSwiperPaginationItemsTabindex(swiper) { 596 var _a; 597 const paginationEl = (_a = swiper.pagination) == null ? void 0 : _a.el; 598 if (!paginationEl) { 599 return; 600 } 601 const elements = Array.isArray(paginationEl) ? paginationEl : [paginationEl]; 602 elements.forEach((element) => { 603 element.querySelectorAll(".swiper-pagination-bullet").forEach((bullet) => { 604 bullet.setAttribute("tabindex", "-1"); 605 }); 606 }); 607 } 608 function attachSwiperAccessibility(swiper) { 609 const update = () => { 610 updateSwiperSlideFocusability(swiper); 611 setSwiperPaginationItemsTabindex(swiper); 612 }; 613 swiper.on("init", update); 614 swiper.on("slideChange", update); 615 swiper.on("progress", update); 616 swiper.on("resize", update); 617 swiper.on("paginationRender", update); 618 swiper.on("paginationUpdate", update); 619 update(); 620 } 621 function normalizeSwiperA11yOptions(options) { 622 if (options.a11y === false) { 623 return; 624 } 625 const defaults = { 626 enabled: true, 627 scrollOnFocus: true, 628 // Slides keep their own semantics (product cards are <article>), so skip Swiper's role="group". 629 slideRole: null 630 }; 631 options.a11y = typeof options.a11y === "object" && options.a11y !== null ? { ...defaults, ...options.a11y } : defaults; 632 } 633 var SwiperInit = class _SwiperInit { 634 static _tryParseSwiperOptions(raw) { 635 if (raw == null) { 636 return {}; 637 } 638 const trimmed = String(raw).trim(); 639 if (!trimmed) { 640 return {}; 641 } 642 try { 643 return JSON.parse(trimmed); 644 } catch { 645 } 646 try { 647 let value = trimmed; 648 value = value.replace(/,\s*([}\]])/g, "$1"); 649 value = value.replace(/([{,]\s*)([A-Za-z_$][\w$-]*)(\s*:)/g, '$1"$2"$3'); 650 value = value.replace(/'/g, '"'); 651 return JSON.parse(value); 652 } catch { 653 return null; 654 } 655 } 656 constructor(options) { 657 const resolvedOptions = options ?? {}; 658 const selector = resolvedOptions.selector === void 0 ? "[data-swiper]" : resolvedOptions.selector; 659 this.selector = selector; 660 this._isInit = false; 661 } 662 init() { 663 if (this._isInit) { 664 return; 665 } 666 this._isInit = true; 667 this.initSwipersFromDataAttributes(); 668 } 669 initSwipersFromDataAttributes() { 670 const SwiperCtor = window.Swiper; 671 if (typeof SwiperCtor !== "function") { 672 return; 673 } 674 document.querySelectorAll(this.selector).forEach((element) => { 675 if (element._dataSwiperInstance || element.swiper) { 676 return; 677 } 678 if (!element.querySelector(".swiper-wrapper")) { 679 return; 680 } 681 const options = _SwiperInit._tryParseSwiperOptions(element.getAttribute("data-swiper")); 682 if (options == null) { 683 console.error("Check swiper options (data-swiper)", element); 684 return; 685 } 686 const controlsRoot = element.closest("[data-swiper-scope]") || element; 687 const applyCarouselAnchorName = () => { 688 const anchorName = element.getAttribute("data-carousel-anchor") || (element.i
688d ? `--${element.id}` : ""); 689 if (anchorName) { 690 element.style.anchorName = anchorName; 691 } 692 }; 693 const findControl = (selector) => { 694 const scopedControl = controlsRoot.querySelector(selector); 695 if (scopedControl) { 696 return scopedControl; 697 } 698 if (selector.includes("[data-target-carousel-id=")) { 699 return document.querySelector(selector); 700 } 701 return null; 702 }; 703 const findControls = (selector) => { 704 if (!selector || typeof selector !== "string") { 705 return []; 706 } 707 const scopedControls = Array.from(controlsRoot.querySelectorAll(selector)); 708 if (scopedControls.length) { 709 return scopedControls; 710 } 711 if (selector.includes("[data-target-carousel-id=")) { 712 return Array.from(document.querySelectorAll(selector)); 713 } 714 return []; 715 }; 716 const ensureChild = (className) => { 717 let child = controlsRoot.querySelector(`.${className}`); 718 if (!child) { 719 child = document.createElement("div"); 720 child.className = className; 721 controlsRoot.appendChild(child); 722 } 723 return child; 724 }; 725 const resolveNavigationEls = (selector, fallbackClassName) => {
726 const controls = findControls(selector); 727 if (controls.length > 1) { 728 return controls; 729 } 730 if (controls.length === 1) { 731 return controls[0]; 732 } 733 if (selector.includes("[data-target-carousel-id=")) { 734 return null; 735 } 736 return ensureChild(fallbackClassName); 737 }; 738 if (options.pagination === true) { 739 options.pagination = { 740 el: ensureChild("swiper-pagination"), 741 clickable: true 742 }; 743 } else if (options.pagination && typeof options.pagination === "object") { 744 if (typeof options.pagination.el === "string") { 745 const paginationElement = findControl(options.pagination.el); 746 if (paginationElement) { 747 options.pagination.el = paginationElement; 748 } else if (options.pagination.el.includes("[data-target-carousel-id=")) { 749 delete options.pagination; 750 } else { 751 options.pagination.el = ensureChild("swiper-pagination"); 752 } 753 } else if (!options.pagination.el) { 754 options.pagination.el = ensureChild("swiper-pagination"); 755 } 756 } 757 if (options.navigation === true) { 758 options.navigation = { 759 nextEl: ensureChild("bnuButton--next"), 760 prevEl: ensureChild("bnuButton--prev") 761 }; 762 } else if (options.navigation && typeof options.navigation === "object") { 763 if (typeof options.navigation.nextEl === "string") { 764 const nextElement = resolveNavigationEls(options.navigation.nextEl, "bnuButton--next"); 765 if (nextElement) { 766 options.navigation.nextEl = nextElement; 767 } else { 768 delete options.navigation.nextEl; 769 } 770 } else if (!options.navigation.nextEl) { 771 options.navigation.nextEl = ensureChild("bnuButton--next"); 772 } 773 if (typeof options.navigation.prevEl === "string") { 774 const prevElement = resolveNavigationEls(options.navigation.prevEl, "bnuButton--prev"); 775 if (prevElement) { 776 options.navigation.prevEl = prevElement; 777 } else { 778 delete options.navigation.prevEl; 779 } 780 } else if (!options.navigation.prevEl) { 781 options.navigation.prevEl = ensureChild("bnuButton--prev"); 782 } 783 if (!options.navigation.nextEl || !options.navigation.prevEl) { 784 delete options.navigation; 785 } 786 } 787 options.watchSlidesProgress = options.watchSlidesProgress ?? true; 788 normalizeSwiperA11yOptions(options); 789 try { 790 applyCarouselAnchorName(); 791 element._dataSwiperInstance = new SwiperCtor(element, options); 792 applyCarouselAnchorName(); 793 attachSwiperAccessibility(element._dataSwiperInstance); 794 if (element.closest(".bnuProductCarousel, .block-productsCarousel2, .bnuProductTabs, [data-swiper-scope]")) { 795 const trackCarouselImpressions = () => { 796 if (typeof window.bnuCollectProductImpressions !== "function") { 797 return; 798 } 799 window.bnuCollectProductImpressions( 800 element.closest("[data-swiper-scope]") || element.closest(".block-productsCarousel2") || element.closest(".bnuProductTabs") || element.closest(".bnuProductCarousel") || element, 801 { fireEvent: true, fromSwiper: true } 802 ); 803 }; 804 element._dataSwiperInstance.on("init", () => { 805 setTimeout(trackCarouselImpressions, 150); 806 }); 807 element._dataSwiperInstance.on("slideChangeTransitionEnd", trackCarouselImpressions); 808 } 809 } catch (error) { 810 console.error("Check swiper options", error); 811 } 812 }); 813 } 814 }; 815 816 // www/application/resources/js/scroll.js 817 var BodyScrollDirection = class { 818 constructor(options = {}) { 819 const safeOptions = options || {}; 820 const thresholdRatio = safeOptions.thresholdRatio !== void 0 ? safeOptions.thresholdRatio : 0.75; 821 const toggleDistance = safeOptions.toggleDistance !== void 0 ? safeOptions.toggleDistance : 100; 822 this.thresholdRatio = thresholdRatio; 823 this.toggleDistance = toggleDistance; 824 this._thresholdPx = window.innerHeight * this.thresholdRatio; 825 this._lastY = window.scrollY; 826 this._directionStartY = window.scrollY; 827 this._isDown = window.scrollY > this._thresholdPx; 828 this._isInit = false;
829 this._onScroll = this._onScroll.bind(this); 830 } 831 init() { 832 if (this._isInit) { 833 return; 834 } 835 this._isInit = true; 836 if (this._isDown) { 837 document.body.classList.add("isScrolledDown"); 838 } 839 window.addEventListener("scroll", this._onScroll, { passive: true }); 840 this.update(); 841 } 842 destroy() { 843 if (!this._isInit) { 844 return; 845 } 846 this._isInit = false; 847 window.removeEventListener("scroll", this._onScroll); 848 } 849 update() { 850 const y = window.scrollY; 851 const d = y - this._lastY; 852 const body = document.body; 853 if (Math.abs(d) < 2) { 854 this._lastY = y; 855 return; 856 } 857 const goingDown = d > 0; 858 const shouldReset = goingDown && this._directionStartY > y || !goingDown && this._directionStartY < y; 859 if (shouldReset) { 860 this._directionStartY = y; 861 } 862 if (!this._isDown) { 863 if (y > this._thresholdPx) { 864 if (goingDown) { 865 if (this._directionStartY <= this._thresholdPx || y - this._directionStartY >= this.toggleDistance) { 866 this._isDown = true; 867 body.classList.add("isScrolledDown"); 868 this._directionStartY = y; 869 } 870 } else { 871 this._directionStartY = y; 872 } 873 } 874 } else { 875 if (!goingDown) { 876 if (this._directionStartY - y >= this.toggleDistance) { 877 this._isDown = false; 878 body.classList.remove("isScrolledDown"); 879 this._directionStartY = y; 880 } 881 } else { 882 this._directionStartY = y; 883 } 884 } 885 if (y <= this._thresholdPx && !this._isDown) { 886 this._directionStartY = y; 887 } 888 this._lastY = y; 889 } 890 _onScroll() { 891 this.update(); 892 } 893 }; 894 895 // www/application/resources/js/tabs.js 896 var Tabs = class { 897 constructor(options) { 898 const resolvedOptions = options ?? {}; 899 this.selector = resolvedOptions.selector === void 0 ? "[data-tabs]" : resolvedOptions.selector; 900 this._isInit = false; 901 this._initializedRoots = /* @__PURE__ */ new WeakSet(); 902 } 903 init() { 904 if (this._isInit) { 905 return; 906 } 907 this._isInit = true; 908 this.refresh(); 909 } 910 // Re-scan the DOM for tab roots and initialize any that are new. 911 // Safe to call after dynamically injecting tabs markup (e.g. via AJAX); 912 // already-initialized roots are skipped via the WeakSet guard in _initRoot. 913 refresh() { 914 document.querySelectorAll(this.selector).forEach((root) => { 915 this._initRoot(root); 916 }); 917 } 918 _initRoot(root) { 919 if (!(root instanceof HTMLElement) || this._initializedRoots.has(root)) { 920 return; 921 } 922 const tablist = root.querySelector('[role="tablist"]') || root; 923 if (!(tablist instanceof HTMLElement)) { 924 return; 925 } 926 const tabs = Array.from(tablist.querySelectorAll('[role="tab"][aria-controls]')).filter( 927 (tab) => tab instanceof HTMLElement 928 ); 929 if (tabs.length === 0) { 930 return; 931 } 932 this._initializedRoots.add(root); 933 const activateTab = (activeTab, shouldFocus = false) => {
934 tabs.forEach((tab) => { 935 const isActive = tab === activeTab; 936 const panelId = tab.getAttribute("aria-controls"); 937 const panel = panelId ? document.getElementById(panelId) : null; 938 tab.setAttribute("aria-selected", isActive ? "true" : "false"); 939 tab.setAttribute("tabindex", 0); 940 if (panel instanceof HTMLElement) { 941 panel.hidden = !isActive; 942 } 943 }); 944 if (shouldFocus) { 945 activeTab.focus(); 946 } 947 }; 948 const initiallySelected = tabs.find((tab) => tab.getAttribute("aria-selected") === "true") || tabs[0]; 949 activateTab(initiallySelected); 950 tablist.addEventListener("click", (event) => { 951 const target = event.target; 952 if (!(target instanceof Element)) { 953 return; 954 } 955 const tab = target.closest('[role="tab"]'); 956 if (!(tab instanceof HTMLElement) || !tablist.contains(tab)) { 957 return; 958 } 959 activateTab(tab); 960 }); 961 tablist.addEventListener("keydown", (event) => { 962 const currentTab = document.activeElement; 963 if (!(currentTab instanceof HTMLElement) || !tabs.includes(currentTab)) { 964 return; 965 } 966 const currentIndex = tabs.indexOf(currentTab); 967 let nextIndex = currentIndex; 968 if (event.key === "ArrowRight") { 969 nextIndex = currentIndex + 1 >= tabs.length ? 0 : currentIndex + 1; 970 } else if (event.key === "ArrowLeft") { 971 nextIndex = currentIndex - 1 < 0 ? tabs.length - 1 : currentIndex - 1; 972 } else if (event.key === "Home") { 973 nextIndex = 0; 974 } else if (event.key === "End") { 975 nextIndex = tabs.length - 1; 976 } else { 977 return; 978 } 979 event.preventDefault(); 980 activateTab(tabs[nextIndex], true); 981 }); 982 } 983 }; 984 985 // www/application/resources/js/header-menu.js 986 var HeaderMenu = class { 987 constructor(options = {}) { 988 const safeOptions = options || {}; 989 this.navSelector = safeOptions.navSelector || ".bnuMainNav"; 990 this.ulSelector = safeOptions.ulSelector || 'ul[data-lvl="1"]'; 991 this.benuPlusSelector = safeOptions.benuPlusSelector || ".benuPlus"; 992 this.moreMenuSelector = safeOptions.moreMenuSelector || 'li:has(> a[href="#"])'; 993 this.alwaysVisibleSelector = safeOptions.alwaysVisibleSelector || ".module-9999"; 994 this._isInit = false; 995 this._resizeTimeout = null; 996 this._onResize = this._onResize.bind(this); 997 } 998 init() { 999 if (this._isInit) { 1000 return; 1001 } 1002 this._isInit = true; 1003 window.addEventListener("resize", this._onResize); 1004 if (document.fonts && document.fonts.ready) { 1005 document.fonts.ready.then(() => { 1006 requestAnimationFrame(() => { 1007 requestAnimationFrame(() => { 1008 this._updateMenuVisibility(); 1009 }); 1010 }); 1011 }); 1012 } else { 1013 requestAnimationFrame(() => { 1014 requestAnimationFrame(() => { 1015 this._updateMenuVisibility(); 1016 }); 1017 }); 1018 } 1019 } 1020 destroy() { 1021 if (!this._isInit) { 1022 return; 1023 } 1024 this._isInit = false; 1025 window.removeEventListener("resize", this._onResize); 1026 if (this._resizeTimeout) { 1027 clearTimeout(this._resizeTimeout); 1028 this._resizeTimeout = null; 1029 } 1030 } 1031 _onResize() { 1032 if (this._resizeTimeout) { 1033 clearTimeout(this._resizeTimeout); 1034 } 1035 this._resizeTimeout = setTimeout(() => { 1036 this._updateMenuVisibility(); 1037 }, 100); 1038 } 1039 _updateMenuVisibility() { 1040 const nav = document.querySelector(this.navSelector); 1041 const ul = nav == null ? void 0 : nav.querySelector(this.ulSelector); 1042 const benuPlus = ul == null ? void 0 : ul.querySelector(this.benuPlusSelector); 1043 const moreMenu = ul == null ? void 0 : ul.querySelector(this.moreMenuSelector); 1044 const alwaysVisibleItem = ul == null ? void 0 : ul.querySelector(this.alwaysVisibleSelector); 1045 if (!nav || !ul) { 1046 return; 1047 } 1048 const allMenuItems = Array.from(ul.querySelectorAll(":scope > li.lvl-1"));
1049 allMenuItems.forEach((item) => { 1050 item.style.removeProperty("display"); 1051 }); 1052 nav.offsetHeight; 1053 const navWidth = nav.getBoundingClientRect().width; 1054 const benuPlusWidth = benuPlus ? benuPlus.getBoundingClientRect().width : 0; 1055 const moreMenuWidth = moreMenu ? moreMenu.getBoundingClientRect().width : 0; 1056 const alwaysVisibleWidth = alwaysVisibleItem ? alwaysVisibleItem.getBoundingClientRect().width : 0; 1057 const availableWidth = navWidth - benuPlusWidth - moreMenuWidth - alwaysVisibleWidth; 1058 const menuItems = allMenuItems.filter( 1059 (item) => !item.classList.contains("module-9999") 1060 ); 1061 const moreSubMenu = moreMenu == null ? void 0 : moreMenu.querySelector(".bnuSubMenu"); 1062 if (alwaysVisibleItem) { 1063 alwaysVisibleItem.style.removeProperty("display"); 1064 } 1065 if (moreSubMenu) { 1066 const moreItems = moreSubMenu.querySelectorAll("li"); 1067 moreItems.forEach((item) => { 1068 item.style.display = "none"; 1069 }); 1070 } 1071 let currentWidth = 0; 1072 const hiddenItems = []; 1073 menuItems.forEach((item) => { 1074 const itemWidth = item.getBoundingClientRect().width; 1075 currentWidth += itemWidth; 1076 if (currentWidth > availableWidth) { 1077 item.style.display = "none"; 1078 hiddenItems.push(item); 1079 } 1080 }); 1081 if (moreSubMenu && hiddenItems.length > 0) { 1082 moreMenu.style.removeProperty("display"); 1083 hiddenItems.forEach((hiddenItem) => { 1084 const hiddenLink = hiddenItem.querySelector("a"); 1085 if (hiddenLink) { 1086 const href = hiddenLink.getAttribute("href"); 1087 const moreLink = moreSubMenu.querySelector(`a[href="${href}"]`); 1088 if (moreLink) { 1089 moreLink.closest("li").style.removeProperty("display"); 1090 } 1091 } 1092 }); 1093 } else if (moreMenu && hiddenItems.length === 0) { 1094 moreMenu.style.display = "none"; 1095 } 1096 } 1097 update() { 1098 this._updateMenuVisibility(); 1099 } 1100 }; 1101 1102 // www/application/resources/js/footer.js 1103 function initFooterMenuAccordions() { 1104 const items = () => document.querySelectorAll(".bnuFooterWidget--menu details.bnuAccordion__item"); 1105 const mq = window.matchMedia("(max-width: 768px)"); 1106 const sync = () => {
1107 items().forEach((el) => { 1108 el.open = !mq.matches; 1109 }); 1110 }; 1111 sync(); 1112 mq.addEventListener("change", sync); 1113 } 1114 1115 // www/application/resources/js/inputs.js 1116 var Inputs = class { 1117 constructor() { 1118 this._isInit = false; 1119 this._onInput = this._onInput.bind(this); 1120 this._onClick = this._onClick.bind(this); 1121 this._onFocusIn = this._onFocusIn.bind(this); 1122 this._onFocusOut = this._onFocusOut.bind(this); 1123 } 1124 init() { 1125 if (this._isInit) { 1126 return; 1127 } 1128 this._isInit = true; 1129 document.addEventListener("input", this._onInput); 1130 document.addEventListener("click", this._onClick); 1131 document.addEventListener("focusin", this._onFocusIn); 1132 document.addEventListener("focusout", this._onFocusOut); 1133 } 1134 destroy() { 1135 if (!this._isInit) { 1136 return; 1137 } 1138 this._isInit = false; 1139 document.removeEventListener("input", this._onInput); 1140 document.removeEventListener("click", this._onClick); 1141 document.removeEventListener("focusin", this._onFocusIn); 1142 document.removeEventListener("focusout", this._onFocusOut); 1143 } 1144 _onClick(event) { 1145 const toggle = event.target.closest("[data-password-toggle]"); 1146 if (!(toggle instanceof HTMLButtonElement)) { 1147 return; 1148 } 1149 const input = this._getPasswordInput(toggle); 1150 if (!input || input.disabled) { 1151 return; 1152 } 1153 const isVisible = input.type === "text"; 1154 const nextIsVisible = !isVisible; 1155 input.type = nextIsVisible ? "text" : "password"; 1156 toggle.setAttribute("aria-pressed", nextIsVisible ? "true" : "false"); 1157 toggle.setAttribute( 1158 "aria-label", 1159 nextIsVisible ? toggle.dataset.hideLabel : toggle.dataset.showLabel 1160 ); 1161 const icon = toggle.querySelector("i"); 1162 if (icon) { 1163 icon.classList.toggle("fa-eye", !nextIsVisible); 1164 icon.classList.toggle("fa-eye-slash", nextIsVisible); 1165 } 1166 } 1167 _getPasswordInput(toggle) { 1168 var _a; 1169 const inputId = toggle.getAttribute("aria-controls"); 1170 if (inputId) { 1171 const controlledInput = document.getElementById(inputId); 1172 if (controlledInput instanceof HTMLInputElement) { 1173 return controlledInput; 1174 } 1175 } 1176 return (_a = toggle.closest(".bnuInputWrap")) == null ? void 0 : _a.querySelector("input.bnuInput"); 1177 } 1178 _onInput(event) { 1179 const input = event.target; 1180 if (!(input instanceof HTMLInputElement)) { 1181 return; 1182 } 1183 if (input.matches("[data-only-numbers]")) { 1184 input.value = input.value.replace(/\D/g, ""); 1185 return; 1186 } 1187 if (input.matches("[data-phone]")) { 1188 let value = input.value.replace(/[^\d+]/g, ""); 1189 value = value.replace(/\+/g, function(match, offset) { 1190 return offset === 0 ? "+" : ""; 1191 }); 1192 input.value = value; 1193 } 1194 if (input.matches("[data-password-strength]")) { 1195 this._updatePasswordStrength(input); 1196 } 1197 } 1198 _onFocusIn(event) { 1199 const input = event.target; 1200 if (input instanceof HTMLInputElement && input.matches("[data-password-strength]")) { 1201 this._togglePasswordRequirements(input, true); 1202 } 1203 } 1204 _onFocusOut(event) { 1205 const input = event.target; 1206 if (input instanceof HTMLInputElement && input.matches("[data-password-strength]")) { 1207 this._togglePasswordRequirements(input, false); 1208 } 1209 } 1210 _togglePasswordRequirements(input, show) { 1211 const wrap = input.closest(".bnuInputWrap"); 1212 const requirements = wrap ? wrap.querySelector("[data-password-requirements]") : null; 1213 if (requirements) { 1214 requirements.hidden = !show; 1215 } 1216 } 1217 _updatePasswordStrength(input) { 1218 const wrap = input.closest(".bnuInputWrap"); 1219 const requirements = wrap ? wrap.querySelector("[data-password-requirements]") : null; 1220 const meter = wrap ? wrap.querySelector("[data-password-strength-meter]") : null; 1221 const value = input.value; 1222 const criteria = { 1223 length: value.length >= 8 && value.length <= 20, 1224 capital: /[A-Z]/.test(value), 1225 lowercase: /[a-z]/.test(value), 1226 number: /[0-9]/.test(value) 1227 }; 1228 if (requirements) {
1229 Object.keys(criteria).forEach((key) => { 1230 const item = requirements.querySelector('[data-criterion="' + key + '"]'); 1231 if (item) { 1232 item.classList.toggle("is-valid", criteria[key]); 1233 item.classList.toggle("is-invalid", !criteria[key]); 1234 } 1235 }); 1236 } 1237 if (meter) { 1238 this._updatePasswordMeter(meter, value); 1239 if (!meter.hidden && wrap) { 1240 this._clearInputErrors(wrap, input, meter); 1241 } 1242 } 1243 } 1244 _clearInputErrors(wrap, input, except) { 1245 wrap.querySelectorAll(".bnuInputInfoBox").forEach((box) => { 1246 if (box !== except) { 1247 box.remove(); 1248 } 1249 }); 1250 wrap.classList.remove("error"); 1251 input.removeAttribute("aria-invalid"); 1252 } 1253 _updatePasswordMeter(meter, value) { 1254 if (value.length === 0) { 1255 meter.hidden = true; 1256 return; 1257 } 1258 const score = (value.length >= 8 ? 1 : 0) + (/[A-Z]/.test(value) ? 1 : 0) + (/[a-z]/.test(value) ? 1 : 0) + (/[0-9]/.test(value) ? 1 : 0); 1259 const levels = ["veryweak", "veryweak", "weak", "medium", "strong"]; 1260 const level = levels[score]; 1261 const variants = { 1262 veryweak: "bnuInputInfoBox--error", 1263 weak: "bnuInputInfoBox--error", 1264 medium: "bnuInputInfoBox--warning", 1265 strong: "bnuInputInfoBox--success" 1266 }; 1267 const valueEl = meter.querySelector("[data-password-strength-value]"); 1268 if (valueEl) { 1269 valueEl.textContent = meter.dataset["label" + level.charAt(0).toUpperCase() + level.slice(1)] || ""; 1270 } 1271 meter.classList.remove( 1272 "bnuInputInfoBox--error", 1273 "bnuInputInfoBox--warning", 1274 "bnuInputInfoBox--success" 1275 ); 1276 meter.classList.add(variants[level]); 1277 meter.dataset.strength = level; 1278 meter.hidden = false; 1279 } 1280 }; 1281 1282 // www/application/resources/js/product-search.js 1283 var CHAR_MAP = { 1284 a: /[ÃÃÃÃÃà à áâãäåÄÄÄÄÄÄ ÇÇǺǻ]/gi, 1285 ae: /[ÃæǼǽ]/gi, 1286 c: /[ÃçÄÄÄÄÄÄÄÄ]/gi, 1287 d: /[ÃÄÄÄÄ]/gi, 1288 e: /[ÃÃÃÃèéêëÄÄÄÄÄÄÄÄÄÄ]/gi, 1289 f: /[Æ]/gi, 1290 g: /[ÄÄÄÄÄ Ä¡Ä¢Ä£]/gi, 1291 h: /[ĤĥĦħ]/gi, 1292 i: /[ÃÃÃÃìÃîïĨĩĪīĬÄĮįİıÇÇ]/gi, 1293 ij: /[IJij]/gi, 1294 j: /[Ĵĵ]/gi, 1295 k: /[Ķķ]/gi, 1296 l: /[ĹĺĻļĽľĿÅÅÅ]/gi, 1297 n: /[ÃñÅÅÅ ÅÅÅÅ]/gi, 1298 o: /[ÃÃÃÃÃÃòóôõöøÅÅÅÅÅÅÆ Æ¡ÇÇǾǿ]/gi, 1299 oe: /[ÅÅ]/gi, 1300 r: /[ÅÅÅÅÅÅ]/gi, 1301 s: /[ÃÅÅÅÅÅÅŠšſ]/gi, 1302 t: /[ŢţŤťŦŧ]/gi, 1303 u: /[ÃÃÃÃùúûüŨũŪūŬÅŮůŰűŲųƯưÇÇÇÇÇÇÇÇÇÇ]/gi, 1304 w: /[Ŵŵ]/gi, 1305 y: /[ÃýÿŶŷŸ]/gi, 1306 z: /[ŹźŻżŽž]/gi, 1307 "-": /[â]/gi, 1308 " ": /[âââ¹âºâââ«»â]/gi 1309 }; 1310 var NORMALIZED_FIELDS = [ 1311 { source: "nameCache", normalized: "nameCacheNormalized" }, 1312 { source: "activeSubstance", normalized: "activeSubstanceNormalized" }, 1313 { source: "composition", normalized: "compositionNormalized" }, 1314 { source: "searchCache", normalized: "searchCacheNormalized" }, 1315 { source: "keywordsCache", normalized: "keywordsCacheNormalized" } 1316 ]; 1317 var TOKENIZED_FIELDS = NORMALIZED_FIELDS.reduce( 1318 (fields, field) => fields.concat(field.source, field.normalized), 1319 [] 1320 ); 1321 var DEFAULT_CONFIG = { 1322 source: "application/modules/products/ajax/getProducts.php?search=%QUERY&langID=%langID", 1323 minLength: 3, 1324 limit: 0, 1325 inputClass: "bnuProductSearch__input", 1326 multiple: false, 1327 separator: ",", 1328 ajax: null, 1329 labels: { 1330 notFound: "", 1331 rxProduct: "", 1332 remove: "" 1333 } 1334 }; 1335 var QUERY_PLACEHOLDER = /%QUERY/g; 1336 var AJAX_DEBOUNCE = 300; 1337 function normalize(value) { 1338 let result = String(value === void 0 || value === null ? "" : value); 1339 Object.keys(CHAR_MAP).forEach((replacement) => { 1340 result = result.replace(CHAR_MAP[replacement], replacement); 1341 }); 1342 return result; 1343 } 1344 function escapeHtml(value) { 1345 return String(value === void 0 || value === null ? "" : value).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"); 1346 } 1347 function stripHtml(value) { 1348 return String(value === void 0 || value === null ? "" : value).replace(/<[^>]*>/g, ""); 1349 } 1350 function currentLang() { 1351 return window.intuero && window.intuero.lang || ""; 1352 } 1353 function suggestionNameHtml(suggestion) { 1354 const localized = suggestion && suggestion.langData && suggestion.langData.name && suggestion.langData.name[currentLang()]; 1355 return localized || suggestion.name || ""; 1356 } 1357 function suggestionNamePlain(suggestion) { 1358 return stripHtml(suggestionNameHtml(suggestion)); 1359 } 1360 function withQuery(value, query) { 1361 if (Array.isArray(value)) { 1362 return value.map((item) => withQuery(item, query)); 1363 } 1364 if (value !== null && typeof value === "object") { 1365 return Object.keys(value).reduce((result, key) => {
1366 result[key] = withQuery(value[key], query); 1367 return result; 1368 }, {}); 1369 } 1370 if (typeof value === "string") { 1371 return value.replace(QUERY_PLACEHOLDER, query); 1372 } 1373 return value; 1374 } 1375 function normalizeSuggestions(payload) { 1376 if (!payload) { 1377 return []; 1378 } 1379 const items = Array.isArray(payload) ? payload : Object.keys(payload).map((key) => payload[key]); 1380 return items.filter((item) => item !== null && typeof item === "object"); 1381 } 1382 function chipHtml(item, config) { 1383 const removeLabel = [config.labels.remove, item.name].filter((part) => part !== "").join(" "); 1384 let html = '<span class="bnuProductSearch__chip" data-product-search-chip data-value="' + escapeHtml(item.id) + '">'; 1385 html += '<span class="bnuProductSearch__chipLabel">' + escapeHtml(item.name) + "</span>"; 1386 html += '<button type="button" class="bnuProductSearch__chipRemove" data-product-search-remove aria-label="' + escapeHtml(removeLabel) + '">×</button>'; 1387 html += "</span>"; 1388 return html; 1389 } 1390 var ProductSearch = class { 1391 constructor(options) { 1392 const resolvedOptions = options ?? {}; 1393 this.selector = resolvedOptions.selector === void 0 ? "[data-product-search]" : resolvedOptions.selector; 1394 this._isInit = false; 1395 this._initializedRoots = /* @__PURE__ */ new WeakSet(); 1396 } 1397 init() { 1398 if (this._isInit) { 1399 return; 1400 } 1401 this._isInit = true; 1402 this.refresh(); 1403 } 1404 // Re-scan the DOM for product search roots and initialize any that are new. 1405 // Safe to call after dynamically injecting the markup (e.g. via AJAX); 1406 // already-initialized roots are skipped via the WeakSet guard in _initRoot. 1407 refresh() { 1408 document.querySelectorAll(this.selector).forEach((root) => { 1409 this._initRoot(root); 1410 }); 1411 } 1412 _initRoot(root) { 1413 const $2 = window.jQuery; 1414 if (!(root instanceof HTMLElement) || this._initializedRoots.has(root)) { 1415 return; 1416 } 1417 if (!$2 || typeof window.Bloodhound !== "function" || typeof $2.fn.typeahead !== "function") { 1418 return; 1419 } 1420 const input = root.querySelector('input[type="search"], input.bnuInput'); 1421 if (!(input instanceof HTMLInputElement)) { 1422 return; 1423 } 1424 this._initializedRoots.add(root); 1425 const config = this._readConfig(root); 1426 const menu = root.querySelector("[data-product-search-menu]"); 1427 const selectedList = root.querySelector("[data-product-search-selected]"); 1428 const state = { 1429 root, 1430 input, 1431 menu, 1432 valueField: root.querySelector("[data-product-search-value]"), 1433 selectedList, 1434 config, 1435 selected: this._readSelected(selectedList) 1436 }; 1437 const $input = $2(input); 1438 $input.typeahead( 1439 { 1440 highlight: true, 1441 minLength: config.minLength, 1442 // Supplying the menu and opting out of the hint keeps typeahead from 1443 // wrapping the input in a span.twitter-typeahead of its own. 1444 menu, 1445 hint: false, 1446 classNames: { 1447 input: config.inputClass 1448 } 1449 }, 1450 { 1451 name: "products", 1452 source: this._createSource(state), 1453 display: (suggestion) => suggestionNamePlain(suggestion), 1454 limit: config.limit > 0 ? config.limit : Infinity, 1455 templates: { 1456 notFound: () => '<div class="noResults">' + escapeHtml(config.labels.notFound) + "</div>", 1457 pending: (data) => this._renderPending(data, config), 1458 suggestion: (data) => this._renderSuggestion(data, config) 1459 } 1460 } 1461 ).on("typeahead:beforeselect", (event, suggestion) => { 1462 if (!config.multiple) { 1463 return; 1464 } 1465 event.preventDefault(); 1466 this._addSelected(state, suggestion); 1467 }).on("typeahead:select", (event, suggestion) => { 1468 const name = suggestionNamePlain(suggestion); 1469 $2(event.currentTarget).typeahead("val", name); 1470 if (state.valueField) { 1471 state.valueField.value = suggestion.ID; 1472 $2(state.valueField).trigger("change"); 1473 } 1474 $2(state.root).trigger("productSearch:select", [suggestion]); 1475 }); 1476 if (!config.multiple) { 1477 return; 1478 }
1479 $input.on("keydown", (event) => { 1480 if (event.key === "Enter" && $input.typeahead("isOpen")) { 1481 event.preventDefault(); 1482 } 1483 }); 1484 if (selectedList) { 1485 $2(selectedList).on("click", "[data-product-search-remove]", (event) => { 1486 event.preventDefault(); 1487 const chip = event.currentTarget.closest("[data-product-search-chip]"); 1488 if (chip) { 1489 this._removeSelected(state, chip.getAttribute("data-value")); 1490 } 1491 }); 1492 } 1493 } 1494 _readConfig(root) { 1495 let config = {}; 1496 try { 1497 config = JSON.parse(root.getAttribute("data-product-search") || "{}"); 1498 } catch (error) { 1499 config = {}; 1500 } 1501 return { 1502 ...DEFAULT_CONFIG, 1503 ...config, 1504 labels: { ...DEFAULT_CONFIG.labels, ...config.labels || {} } 1505 }; 1506 } 1507 // Selected items are rendered server side so a prefilled field survives a 1508 // page reload; read them back instead of keeping a separate source of truth. 1509 _readSelected(selectedList) { 1510 if (!selectedList) { 1511 return []; 1512 } 1513 return [...selectedList.querySelectorAll("[data-product-search-chip]")].map((chip) => { 1514 const label = chip.querySelector(".bnuProductSearch__chipLabel"); 1515 return { 1516 id: String(chip.getAttribute("data-value") || ""), 1517 name: label ? label.textContent.trim() : "" 1518 }; 1519 }).filter((item) => item.id !== ""); 1520 } 1521 // The typed phrase is left in the input so the menu keeps showing the rest of 1522 // its results; only the picked product is taken out of them. 1523 _addSelected(state, suggestion) { 1524 const id = String(suggestion.ID); 1525 if (id !== "" && !state.selected.some((item) => item.id === id)) { 1526 state.selected.push({ id, name: suggestionNamePlain(suggestion) }); 1527 this._renderSelected(state); 1528 this._syncValue(state); 1529 } 1530 this._dropSuggestion(state, id); 1531 window.jQuery(state.root).trigger("productSearch:select", [suggestion]); 1532 } 1533 // Dropping the node beats refetching the suggestions, which would empty and 1534 // rebuild the menu. Once nothing is left to pick the menu is closed, since 1535 // typeahead only marks the menu empty while rendering a dataset. 1536 _dropSuggestion(state, id) { 1537 if (!state.menu) { 1538 return; 1539 } 1540 state.menu.querySelectorAll(".tt-suggestion").forEach((node) => { 1541 if (node.getAttribute("data-prid") === id) { 1542 node.remove(); 1543 } 1544 }); 1545 if (!state.menu.querySelector(".tt-suggestion")) { 1546 window.jQuery(state.input).typeahead("close"); 1547 } 1548 } 1549 _removeSelected(state, id) { 1550 const value = String(id || ""); 1551 const index = state.selected.findIndex((item) => item.id === value); 1552 if (index === -1) { 1553 return; 1554 } 1555 state.selected.splice(index, 1); 1556 this._renderSelected(state); 1557 this._syncValue(state); 1558 } 1559 _renderSelected(state) { 1560 if (!state.selectedList) { 1561 return; 1562 } 1563 state.selectedList.innerHTML = state.selected.map((item) => chipHtml(item, state.config)).join(""); 1564 } 1565 _syncValue(state) { 1566 const $2 = window.jQuery; 1567 if (state.valueField) { 1568 state.valueField.value = state.selected.map((item) => item.id).join(state.config.separator); 1569 $2(state.valueField).trigger("change"); 1570 } 1571 $2(state.root).trigger("productSearch:change", [state.selected.slice()]); 1572 } 1573 // Typeahead gets a three argument source so it treats the dataset as async. 1574 // Already selected products are filtered out of both result batches. 1575 _createSource(state) { 1576 const fetch = state.config.ajax && state.config.ajax.className ? this._createAjaxFetch(state.config) : this._createEngineFetch(state.config); 1577 return (query, sync, async) => { 1578 fetch( 1579 query, 1580 (results) => sync(this._filterSelected(results, state)), 1581 (results) => async(this._filterSelected(results, state)) 1582 ); 1583 }; 1584 } 1585 _filterSelected(results, state) { 1586 if (!state.config.multiple || !Array.isArray(results) || state.selected.length === 0) { 1587 return results; 1588 } 1589 const taken = state.selected.map((item) => item.id); 1590 return results.filter((item) => taken.indexOf(String(item.ID)) === -1); 1591 } 1592 _createEngineFetch(config) { 1593 const engine = this._createEngine(config); 1594 engine.initialize(); 1595 return (query, sync, async) => engine.search(query, sync, async); 1596 } 1597 // Suggestions coming from a class method go through ajaxHelper, which handles 1598 // the AK token and argument validation, so no dedicated endpoint is needed. 1599 _createAjaxFetch(config) { 1600 let timer = null; 1601 let requestId = 0; 1602 return (query, sync, async) => { 1603 sync([]); 1604 if (typeof window.ajaxHelper !== "function") { 1605 async([]); 1606 return; 1607 } 1608 clearTimeout(timer); 1609 const currentRequest = ++requestId; 1610 timer = setTimeout(() => { 1611 window.ajaxHelper( 1612 { 1613 className: config.ajax.className, 1614 methodName: config.ajax.methodName, 1615 args: withQuery(config.ajax.args || {}, query) 1616 }, 1617 (response) => { 1618 if (currentRequest !== requestId) { 1619 return; 1620 } 1621 async(normalizeSuggestions(response && response.success ? response.return : null)); 1622 } 1623 ); 1624 }, AJAX_DEBOUNCE); 1625 }; 1626 } 1627 _createEngine(config) { 1628 const $2 = window.jQuery; 1629 const Bloodhound = window.Bloodhound; 1630 return new Bloodhound({ 1631 datumTokenizer: (datum) => { 1632 const tokens = []; 1633 TOKENIZED_FIELDS.forEach((field) => { 1634 Bloodhound.tokenizers.whitespace(datum[field]).forEac
1634h((token) => { 1635 for (let i = 0; i < token.length; i++) { 1636 tokens.push(token.substr(i, token.length)); 1637 } 1638 }); 1639 }); 1640 return [...new Set(tokens)]; 1641 }, 1642 queryTokenizer: (query) => { 1643 if (!query) { 1644 return Bloodhound.tokenizers.whitespace(query); 1645 } 1646 return Bloodhound.tokenizers.whitespace(normalize(query.toLowerCase())); 1647 }, 1648 sorter: (itemA, itemB) => { 1649 if (itemA.order < itemB.order) { 1650 return -1; 1651 } 1652 if (itemA.order > itemB.order) { 1653 return 1; 1654 } 1655 return 0; 1656 }, 1657 remote: { 1658 url: config.source, 1659 rateLimitWait: 600, 1660 prepare: (query, settings) => { 1661 const term = query.length < config.minLength ? "" : query; 1662 settings.url = settings.url.replace("%QUERY", term).replace("%langID", currentLang()); 1663 return settings; 1664 }, 1665 transform: (response) => { 1666 if (!response || response.length === 0) { 1667 return response; 1668 } 1669 return $2.map(response, (product) => { 1670 NORMALIZED_FIELDS.forEach((field) => { 1671 if (product[field.source]) { 1672 product[field.normalized] = normalize(product[field.source].toLowerCase()); 1673 } 1674 }); 1675 return product; 1676 }); 1677 } 1678 } 1679 }); 1680 } 1681 _renderPending(data, config) { 1682 const query = data && data.query || ""; 1683 const campaignsCount = typeof window.campaignsCount === "number" ? window.campaignsCount : 0; 1684 if (query.length >= config.minLength || query.length === 0 && campaignsCount > 0) { 1685 return '<div class="loading"></div>'; 1686 } 1687 return ""; 1688 } 1689 // Name/price/badges arrive as trusted server HTML (showMoney spans, campaign 1690 // labels, badge markup). Escape only attribute values and plain labels. 1691 // Sources that only return an ID and a name (e.g. prescription item search) 1692 // render as a plain name row, so image and meta blocks are skipped when the 1693 // data behind them is missing. 1694 _renderSuggestion(data, config) { 1695 const nameHtml = suggestionNameHtml(data); 1696 const namePlain = suggestionNamePlain(data); 1697 const badgesHtml = data.badges || ""; 1698 const isRx = data.drugType === "RX"; 1699 const hasMeta = badgesHtml !== "" || isRx || Boolean(data.price); 1700 let html = '<a class="searchProduct" data-prid="' + escapeHtml(data.ID) + '" data-impression="' + escapeHtml(data.impressionData) + '">'; 1701 if (data.thumb) { 1702 html += '<div class="searchProduct__image">'; 1703 html += '<img src="' + escapeHtml(data.thumb) + '" alt="' + escapeHtml(namePlain) + '">'; 1704 html += "</div>"; 1705 } 1706 html += '<div class="searchProduct__body">'; 1707 html += '<p class="searchProduct__name">' + nameHtml + "</p>"; 1708 if (hasMeta) { 1709 html += '<div class="searchProduct__meta">'; 1710 if (badgesHtml) { 1711 html += '<div class="searchProduct__badges">' + badgesHtml + "</div>"; 1712 } 1713 if (isRx) { 1714 html += '<div class="searchProduct__drugProduct">' + escapeHtml(config.labels.rxProduct) + "</div>"; 1715 } else if (data.price) { 1716 html += '<div class="searchProduct__price">'; 1717 if (data.oldPrice) { 1718 html += '<span class="searchProduct__priceOld">' + data.oldPrice + "</span>"; 1719 } 1720 html += '<span class="searchProduct__priceRegular">' + data.price + "</span>"; 1721 html += "</div>"; 1722 } 1723 html += "</div>"; 1724 } 1725 html += "</div>"; 1726 html += "</a>"; 1727 return html; 1728 } 1729 }; 1730 1731 // www/application/resources/js/forms.js 1732 var Forms = class { 1733 constructor() { 1734 this._isInit = false; 1735 this.collectFormData = this.collectFormData.bind(this); 1736 this.clearFormErrors = this.clearFormErrors.bind(this); 1737 this.handleFormCallback = this.handleFormCallback.bind(this); 1738 } 1739 init() { 1740 if (this._isInit) { 1741 return; 1742 } 1743 this._isInit = true; 1744 window.collectFormData = this.collectFormData; 1745 window.clearFormErrors = this.clearFormErrors; 1746 window.handleFormCallback = this.handleFormCallback; 1747 } 1748 destroy() { 1749 if (!this._isInit) { 1750 return; 1751 } 1752 this._isInit = false;
1753 if (window.collectFormData === this.collectFormData) { 1754 delete window.collectFormData; 1755 } 1756 if (window.clearFormErrors === this.clearFormErrors) { 1757 delete window.clearFormErrors; 1758 } 1759 if (window.handleFormCallback === this.handleFormCallback) { 1760 delete window.handleFormCallback; 1761 } 1762 } 1763 collectFormData($form) { 1764 var result = {}; 1765 const formData = $($form).serializeArray(); 1766 $.each(formData, function(index, item) { 1767 result[item.name] = item.value; 1768 }); 1769 $($form).find("input[type=checkbox]").each(function() { 1770 if (!this.checked) { 1771 result[this.name] = 0; 1772 } 1773 }); 1774 var dateFields = $($form).find("[data-datefieldname]"); 1775 var pad = function(value) { 1776 return String(value).length === 1 ? "0" + value : String(value); 1777 }; 1778 $.each(dateFields, function(index, item) { 1779 var fldName = $(item).data("datefieldname"); 1780 var year = result[fldName + "[year]"]; 1781 var month = result[fldName + "[month]"]; 1782 var day = result[fldName + "[day]"]; 1783 var hasYear = typeof year != "undefined" && year !== ""; 1784 var hasMonth = typeof month != "undefined" && month !== ""; 1785 var hasDay = typeof day != "undefined" && day !== ""; 1786 if (!hasYear && !hasMonth && !hasDay) { 1787 result[fldName] = null; 1788 } else if (!hasYear || !hasMonth || !hasDay) {
1789 result[fldName] = "invalid"; 1790 } else { 1791 result[fldName] = year + "-" + pad(month) + "-" + pad(day); 1792 delete result[fldName + "[year]"]; 1793 delete result[fldName + "[month]"]; 1794 delete result[fldName + "[day]"]; 1795 } 1796 }); 1797 var data = {}; 1798 var temp = []; 1799 $.each(result, function(key, val) { 1800 if (key.indexOf("[") > -1) { 1801 temp = key.split("["); 1802 temp[1] = temp[1].slice(0, -1); 1803 if (typeof data[temp[0]] == "undefined") { 1804 data[temp[0]] = {}; 1805 } 1806 if (typeof temp[2] != "undefined") { 1807 temp[2] = temp[2].slice(0, -1); 1808 if (typeof data[temp[0]][temp[1]] == "undefined") { 1809 data[temp[0]][temp[1]] = {}; 1810 } 1811 data[temp[0]][temp[1]][temp[2]] = val; 1812 } else { 1813 data[temp[0]][temp[1]] = val; 1814 } 1815 } else { 1816 data[key] = val; 1817 } 1818 }); 1819 return data; 1820 } 1821 clearFormErrors($form) { 1822 $form.find(".bnuErrorBox").html(""); 1823 $form.find('[aria-invalid="true"]').removeAttr("aria-invalid"); 1824 $form.find(".bnuInputInfoBox--error").remove(); 1825 } 1826 handleFormCallback(callback, options) { 1827 if (typeof options != "object") { 1828 var options = {}; 1829 } 1830 if (typeof options.loader != "undefined") { 1831 setTimeout(function() { 1832 closeLoader(options.loader); 1833 }, 200); 1834 } 1835 var err = {}; 1836 var errString = { "_global": "" }; 1837 var $form = null; 1838 if (typeof options.form != "undefined") { 1839 $form = $(options.form); 1840 } 1841 if (typeof callback.return.htmlTarget != "undefined") { 1842 $form = $(callback.return.htmlTarget); 1843 } 1844 if (callback.success == false) { 1845 if (typeof callback.return == "undefined") { 1846 callback.return = {}; 1847 } 1848 callback.return.errors = { "_global": { "failed": "Unexpected error occurred. #E12" } }; 1849 } 1850 if (callback.return.callback) { 1851 if (typeof window[callback.return.callback.action] == "function") { 1852 var callbackData = {}; 1853 if (typeof callback.return.callback.data != "undefined") { 1854 callbackData = callback.return.callback.data; 1855 } 1856 window[callback.return.callback.action](callbackData); 1857 return; 1858 } 1859 } 1860 if (callback.return.url) { 1861 window.location.href = callback.return.url; 1862 return; 1863 } 1864 if (callback.return.URL) { 1865 window.location.href = callback.return.URL; 1866 return; 1867 } 1868 if ($form) { 1869 if (typeof callback.return.html != "undefined") { 1870 $form.html(callback.return.html); 1871 } 1872 if (typeof callback.return.HTML != "undefined") { 1873 $form.html(callback.return.HTML); 1874 } 1875 } 1876 if (callback.return.errors) { 1877 $.each(callback.return.errors, function(fName, errors) { 1878 if (typeof err[fName] == "undefined") { 1879 err[fName] = []; 1880 } 1881 if (typeof errors == "object") { 1882 $.each(errors, function(ek, error) { 1883 err[fName].push(error); 1884 }); 1885 } else { 1886 err[fName].push(errors); 1887 } 1888 }); 1889 } 1890 $.each(err, function(fName, errors) { 1891 errString[fName] = errors.join("<br>"); 1892 if (fName != "_global") { 1893 var $container = null; 1894 var $field = null; 1895 var showErrorText = true; 1896 if ($container = options.form) { 1897 $field = options.form.find('[name="' + fName + '"]'); 1898 $container = $field.closest(".bnuInputWrap"); 1899 if (!$container.length) { 1900 $container = $field.parent(); 1901 } 1902 if ($field.attr("type") == "checkbox" || $field.attr("type") == "radio") { 1903 showErrorText = false; 1904 $container = $field.closest(".bnuChoiceWrap"); 1905 if (!$container.length) { 1906 $container = $field.parent(); 1907 } 1908 } 1909 } 1910 if ($container) { 1911 $container.addClass("error"); 1912 if (showErrorText) { 1913 var errorHtml = '<p class="bnuInputInfoBox bnuInputInfoBox--error">' + errString[fName] + "</p>"; 1914 $container.append(errorHtml); 1915 } 1916 if ($field) { 1917 $field.attr("aria-invalid", "true"); 1918 } 1919 } else { 1920 errString["_global"] += "<br>" + errString[fName]; 1921 } 1922 } 1923 }); 1924 if (errString["_global"] != "") { 1925 var $globalErrContainer = null; 1926 if (typeof options.globalErrContainer != "undefined") { 1927 $globalErrContainer = options.globalErrContainer; 1928 } else { 1929 if (typeof options.form != "undefined") { 1930 $globalErrContainer = options.form.find(".globalErrors"); 1931 } 1932 } 1933 if ($globalErrContainer) { 1934 $globalErrContainer.html(errString["_global"]); 1935 } else { 1936 alert(errString["_global"]); 1937 } 1938 } 1939 } 1940 }; 1941 1942 // www/application/resources/js/dialog.js 1943 var DIALOG_CLOSE_FORM_SELECTOR = ":scope > [data-dialog-close]"; 1944 var DIALOG_CLOSE_ANIMATION_MS = 200; 1945 var Dialog = class _Dialog { 1946 static getCloseForm(dialog) { 1947 if (!(dialog instanceof HTMLDialogElement)) { 1948 return null; 1949 } 1950 return dialog.querySelector(DIALOG_CLOSE_FORM_SELECTOR); 1951 } 1952 constructor(options) { 1953 const resolvedOptions = options ?? {}; 1954 this.selector = resolvedOptions.selector === void 0 ? "[data-dialog-open]" : resolvedOptions.selector; 1955 this._isInit = false;
1956 this._handleClick = this._handleClick.bind(this); 1957 this.open = this.open.bind(this); 1958 } 1959 init() { 1960 if (this._isInit) { 1961 return; 1962 } 1963 this._isInit = true; 1964 document.addEventListener("click", this._handleClick); 1965 } 1966 destroy() { 1967 if (!this._isInit) { 1968 return; 1969 } 1970 this._isInit = false; 1971 document.removeEventListener("click", this._handleClick); 1972 } 1973 /** 1974 * Open a dialog. 1975 * 1976 * Inline: pass a button/element with data-dialog-open, a dialog id string, 1977 * or the dialog element itself. 1978 * 1979 * AJAX: pass an options object with id and content HTML. 1980 */ 1981 open(target, event) { 1982 const dialog = this._resolveDialog(target) || this._createDialog(target); 1983 if (!(dialog instanceof HTMLDialogElement)) { 1984 return null; 1985 } 1986 this._syncAriaFromContent(dialog); 1987 event == null ? void 0 : event.preventDefault(); 1988 if (typeof dialog.showModal === "function") { 1989 if (!dialog.open) { 1990 dialog.showModal(); 1991 } 1992 } else { 1993 dialog.setAttribute("open", ""); 1994 } 1995 this._setInitialFocus(dialog); 1996 this._syncScrollLock(dialog); 1997 this._bindDialogClose(dialog); 1998 if (Array.isArray(dialog._pendingScripts) && dialog._pendingScripts.length) { 1999 const scripts = dialog._pendingScripts; 2000 dialog._pendingScripts = null; 2001 this._executeScripts(scripts, dialog); 2002 } 2003 return dialog; 2004 } 2005 _handleClick(event) { 2006 const target = event.target; 2007 if (!(target instanceof Element)) { 2008 return; 2009 } 2010 const opener = target.closest(this.selector); 2011 if (opener instanceof HTMLElement) { 2012 this.open(opener, event); 2013 return; 2014 } 2015 if (target instanceof HTMLDialogElement && target.classList.contains("bnuDialog") && target.getAttribute("data-dialog-backdrop-close") !== "false") { 2016 target.close(); 2017 } 2018 } 2019 _createDialog(options) { 2020 if (!options || typeof options !== "object" || options instanceof HTMLElement) { 2021 return null; 2022 } 2023 const id = typeof options.id === "string" && options.id !== "" ? options.id.replace(/^#/, "") : "bnu-dynamic-dialog"; 2024 let dialog = document.getElementById(id); 2025 if (dialog instanceof HTMLDialogElement) { 2026 this._cancelDialogRemoval(dialog); 2027 } else { 2028 dialog = document.createElement("dialog"); 2029 dialog.id = id; 2030 dialog.setAttribute("data-dialog-dynamic", "true"); 2031 document.body.append(dialog); 2032 } 2033 dialog.setAttribute("data-dialog-dynamic", "true"); 2034 dialog.className = options.className === void 0 ? "bnuDialog" : `bnuDialog ${options.className}`.trim(); 2035 dialog.setAttribute( 2036 "data-dialog-backdrop-close", 2037 options.closeOnBackdrop === false ? "false" : "true" 2038 ); 2039 dialog.setAttribute( 2040 "data-dialog-lock-scroll", 2041 options.lockScroll === true ? "true" : "false" 2042 ); 2043 this._applyAttributes(dialog, options.attributes); 2044 dialog.innerHTML = ""; 2045 dialog.append(this._buildCloseButton()); 2046 const parsedContent = this._parseContent(options.content); 2047 if (parsedContent.node) { 2048 dialog.append(parsedContent.node); 2049 } 2050 if (parsedContent.scripts.length) { 2051 dialog._pendingScripts = parsedContent.scripts; 2052 } 2053 this._syncAriaFromContent(dialog); 2054 return dialog; 2055 } 2056 /** 2057 * Scripts from innerHTML are inert; re-insert them so AJAX dialog content runs. 2058 */ 2059 _executeScripts(root) { 2060 if (!(root instanceof Element)) { 2061 return; 2062 } 2063 root.querySelectorAll("script").forEach((oldScript) => { 2064 const newScript = document.createElement("script"); 2065 for (const attr of oldScript.attributes) { 2066 newScript.setAttribute(attr.name, attr.value); 2067 } 2068 newScript.textContent = oldScript.textContent; 2069 oldScript.replaceWith(newScript); 2070 }); 2071 } 2072 /** 2073 * Keep the close control in the tab order, but do not auto-select it on open. 2074 * Native showModal() otherwise focuses the first focusable node (the X). 2075 */ 2076 _setInitialFocus(dialog) { 2077 const closeForm = _Dialog.getCloseForm(dialog); 2078 const explicitAutofocus = Array.from(dialog.querySelectorAll("[autofocus]")).find((element) => { 2079 return element instanceof HTMLElement && !(closeForm instanceof HTMLElement && closeForm.contains(element)); 2080 }); 2081 if (!dialog.hasAttribute("tabindex")) { 2082 dialog.setAttribute("tabindex", "-1"); 2083 } 2084 const target = explicitAutofocus instanceof HTMLElement ? explicitAutofocus : dialog;
2085 if (typeof target.focus === "function") { 2086 target.focus({ preventScroll: true }); 2087 } 2088 } 2089 _syncAriaFromContent(dialog) { 2090 const titleId = dialog.id + "-title"; 2091 const bodyId = dialog.id + "-body"; 2092 const title = dialog.querySelector("header h2") || dialog.querySelector("h2"); 2093 if (title instanceof HTMLElement) { 2094 if (title.id === "") { 2095 title.id = titleId; 2096 } 2097 if (!dialog.hasAttribute("aria-labelledby")) { 2098 dialog.setAttribute("aria-labelledby", title.id); 2099 } 2100 } 2101 const body = dialog.querySelector("section"); 2102 if (body instanceof HTMLElement) { 2103 if (body.id === "") { 2104 body.id = bodyId; 2105 } 2106 if (!dialog.hasAttribute("aria-describedby")) { 2107 dialog.setAttribute("aria-describedby", body.id); 2108 } 2109 } 2110 } 2111 _applyAttributes(dialog, attributes) { 2112 if (!attributes || typeof attributes !== "object") { 2113 return; 2114 } 2115 Object.keys(attributes).forEach((name) => { 2116 const value = attributes[name]; 2117 if (value === null || value === void 0 || value === false) { 2118 dialog.removeAttribute(name); 2119 return; 2120 } 2121 dialog.setAttribute(name, value === true ? "" : String(value)); 2122 }); 2123 } 2124 _resolveDialog(target) { 2125 if (target instanceof HTMLDialogElement) { 2126 return target; 2127 } 2128 if (typeof target === "string") { 2129 return document.getElementById(target.replace(/^#/, "")); 2130 } 2131 if (!(target instanceof HTMLElement)) { 2132 return null; 2133 } 2134 const dialogId = target.getAttribute("data-dialog-open"); 2135 if (!dialogId) { 2136 return null; 2137 } 2138 return document.getElementById(dialogId.replace(/^#/, "")); 2139 } 2140 _buildCloseButton() { 2141 const closeForm = document.createElement("form"); 2142 closeForm.method = "dialog"; 2143 closeForm.setAttribute("data-dialog-close", ""); 2144 const closeButton = document.createElement("button"); 2145 closeButton.type = "submit"; 2146 closeButton.className = "bnuButton bnuButton--secondarySolid bnuButton--iconOnly"; 2147 closeButton.value = "close"; 2148 closeButton.setAttribute("aria-label", "Close dialog"); 2149 const closeIcon = document.createElement("i"); 2150 closeIcon.className = "fa-regular fa-xmark"; 2151 closeIcon.setAttribute("aria-hidden", "true"); 2152 closeButton.append(closeIcon); 2153 closeForm.append(closeButton); 2154 return closeForm; 2155 } 2156 _parseContent(content) { 2157 if (content === void 0 || content === null || content === "") { 2158 return { node: null, scripts: [] }; 2159 } 2160 if (content instanceof Node) { 2161 return { node: content, scripts: [] }; 2162 } 2163 const wrapper = document.createElement("div"); 2164 wrapper.innerHTML = String(content); 2165 const scripts = Array.from(wrapper.querySelectorAll("script")); 2166 scripts.forEach((script) => script.remove()); 2167 let node = null; 2168 if (wrapper.childNodes.length === 1) { 2169 node = wrapper.firstChild; 2170 } else if (wrapper.childNodes.length > 1) { 2171 const fragment = document.createDocumentFragment(); 2172 while (wrapper.firstChild) { 2173 fragment.appendChild(wrapper.firstChild); 2174 } 2175 node = fragment; 2176 } 2177 return { node, scripts }; 2178 } 2179 _executeScripts(scripts, container) { 2180 if (!scripts.length) { 2181 return; 2182 } 2183 const inlineScriptParent = container || document.body; 2184 const runScript = (index) => { 2185 if (index >= scripts.length) { 2186 return; 2187 } 2188 const original = scripts[index]; 2189 const src = original.getAttribute("src"); 2190 if (src) { 2191 const existing = document.querySelector(`script[src="${CSS.escape(src)}"]`); 2192 if (existing) { 2193 const continueNext = () => runScript(index + 1); 2194 if (existing.dataset.loaded === "true") { 2195 continueNext(); 2196 } else { 2197 existing.addEventListener("load", continueNext, { once: true }); 2198 existing.addEventListener("error", continueNext, { once: true }); 2199 } 2200 return; 2201 } 2202 const script2 = document.createElement("script");
2203 Array.from(original.attributes).forEach((attribute) => { 2204 script2.setAttribute(attribute.name, attribute.value); 2205 }); 2206 script2.addEventListener("load", () => { 2207 script2.dataset.loaded = "true"; 2208 runScript(index + 1); 2209 }, { once: true }); 2210 script2.addEventListener("error", () => runScript(index + 1), { once: true }); 2211 document.head.append(script2); 2212 return; 2213 } 2214 const script = document.createElement("script"); 2215 Array.from(original.attributes).forEach((attribute) => { 2216 script.setAttribute(attribute.name, attribute.value); 2217 }); 2218 script.textContent = original.textContent; 2219 inlineScriptParent.append(script); 2220 runScript(index + 1); 2221 }; 2222 runScript(0); 2223 } 2224 _syncScrollLock(dialog) { 2225 if (dialog.getAttribute("data-dialog-lock-scroll") !== "true") { 2226 return; 2227 } 2228 document.documentElement.classList.add("overflowHidden"); 2229 document.body.classList.add("overflowHidden"); 2230 dialog.addEventListener("close", () => { 2231 document.documentElement.classList.remove("overflowHidden"); 2232 document.body.classList.remove("overflowHidden"); 2233 }, { once: true }); 2234 } 2235 _cancelDialogRemoval(dialog) { 2236 if (dialog._removeTimer) { 2237 window.clearTimeout(dialog._removeTimer); 2238 dialog._removeTimer = null; 2239 } 2240 } 2241 _bindDialogClose(dialog) { 2242 if (dialog.getAttribute("data-dialog-dynamic") !== "true") { 2243 return; 2244 } 2245 dialog.addEventListener("close", () => { 2246 const reduceMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches; 2247 if (reduceMotion) { 2248 dialog.remove(); 2249 return; 2250 } 2251 this._cancelDialogRemoval(dialog); 2252 dialog._removeTimer = window.setTimeout(() => { 2253 dialog._removeTimer = null; 2254 if (dialog.isConnected) { 2255 dialog.remove(); 2256 } 2257 }, DIALOG_CLOSE_ANIMATION_MS); 2258 }, { once: true }); 2259 } 2260 }; 2261 2262 // www/application/resources/js/helper-functions.js 2263 function bnuSetAriaBusy(target, isBusy) { 2264 var $targets = target ? $(target) : $(); 2265 if (!$targets.length) { 2266 return $targets; 2267 } 2268 if (isBusy) { 2269 $targets.attr("aria-busy", "true"); 2270 } else { 2271 $targets.removeAttr("aria-busy"); 2272 } 2273 return $targets; 2274 } 2275 function bnuClearAriaBusy(scope) { 2276 var $targets = scope ? $(scope).filter('[aria-busy="true"]') : $('[aria-busy="true"]'); 2277 return $targets.removeAttr("aria-busy"); 2278 } 2279 window.bnuSetAriaBusy = bnuSetAriaBusy; 2280 window.bnuClearAriaBusy = bnuClearAriaBusy; 2281 function initHeroCarouselSkeletonHosts() { 2282 document.querySelectorAll('[data-hero-carousel-host][aria-busy="true"]').forEach((host) => { 2283 const image = host.querySelector(".bnuHero img"); 2284 const reveal = () => { 2285 bnuSetAriaBusy(host, false); 2286 }; 2287 if (!image) { 2288 reveal(); 2289 return; 2290 } 2291 if (image.complete && image.naturalWidth > 0) { 2292 reveal(); 2293 return; 2294 } 2295 image.addEventListener("load", reveal, { once: true }); 2296 image.addEventListener("error", reveal, { once: true }); 2297 }); 2298 } 2299 window.initHeroCarouselSkeletonHosts = initHeroCarouselSkeletonHosts; 2300 function updateCartPaymentSection(section, html) { 2301 var sectionSelectors = { 2302 giftCard: [ 2303 ".bind-giftCardSection", 2304 "label.BENUGiftCardSection", 2305 "label.BENUEPSSection" 2306 ], 2307 idcs: [ 2308 ".bind-idcsSection", 2309 "label.IDCSSection" 2310 ], 2311 benuMoney: [ 2312 ".bind-benuMoneyWrap" 2313 ] 2314 }; 2315 var selectors = sectionSelectors[section]; 2316 if (!selectors || typeof html === "undefined") { 2317 return false; 2318 } 2319 for (var i = 0; i < selectors.length; i++) { 2320 var $target = $(selectors[i]).first(); 2321 if ($target.length) { 2322 $target.html(html); 2323 return true; 2324 } 2325 } 2326 return false; 2327 } 2328 window.updateCartPaymentSection = updateCartPaymentSection; 2329 function bnuPreserveFocus(element) { 2330 var el = element || document.activeElement; 2331 if (!el || !el.id || el === document.body || el === document.documentElement) { 2332 return function() { 2333 return false;
2334 }; 2335 } 2336 var id = el.id; 2337 var top = el.getBoundingClientRect().top; 2338 return function restoreFocus() { 2339 var node = document.getElementById(id); 2340 if (!node) { 2341 return false; 2342 } 2343 node.focus({ preventScroll: true }); 2344 var delta = node.getBoundingClientRect().top - top; 2345 if (Math.abs(delta) > 0.5) { 2346 window.scrollBy(0, delta); 2347 } 2348 return true; 2349 }; 2350 } 2351 window.bnuPreserveFocus = bnuPreserveFocus; 2352 function bnuSkipToContent(event) { 2353 if (event && typeof event.preventDefault === "function") { 2354 event.preventDefault(); 2355 } 2356 var target = document.getElementById("content") || document.getElementById("primary") || document.querySelector("main"); 2357 if (!target) { 2358 return; 2359 } 2360 if (!target.hasAttribute("tabindex")) { 2361 target.setAttribute("tabindex", "-1"); 2362 } 2363 target.focus({ preventScroll: true }); 2364 target.scrollIntoView(); 2365 } 2366 window.bnuSkipToContent = bnuSkipToContent; 2367 document.addEventListener("click", function(event) { 2368 if (event.target.closest(".bind-skipToContent")) { 2369 bnuSkipToContent(event); 2370 } 2371 }); 2372 2373 // www/application/resources/js/added-to-cart-dialog.js 2374 var DIALOG_ID = "addedToCartDialog"; 2375 var SCROLL_ID = "bnuAddedToCartDialogScroll"; 2376 var SIDE_ID = "bnuAddedToCartDialogSide"; 2377 function getDialog() { 2378 const el = document.getElementById(DIALOG_ID); 2379 return el instanceof HTMLDialogElement ? el : null; 2380 } 2381 function runScripts(root) { 2382 if (!(root instanceof HTMLElement)) { 2383 return; 2384 } 2385 root.querySelectorAll("script").forEach((oldScript) => { 2386 const script = document.createElement("script"); 2387 for (const attr of oldScript.attributes) { 2388 script.setAttribute(attr.name, attr.value); 2389 } 2390 script.textContent = oldScript.textContent || ""; 2391 oldScript.replaceWith(script); 2392 }); 2393 } 2394 function parseImpression(el) { 2395 const raw = el.getAttribute("data-impression"); 2396 if (!raw) { 2397 return null; 2398 } 2399 try { 2400 return JSON.parse(raw); 2401 } catch (e) { 2402 return null; 2403 } 2404 } 2405 var AddedToCartDialog = class { 2406 constructor() { 2407 this._bound = false; 2408 } 2409 init() { 2410 if (this._bound) { 2411 return; 2412 } 2413 this._bound = true; 2414 document.addEventListener("scroll", (event) => { 2415 if (event.target && event.target.id === SCROLL_ID) { 2416 this.toggleFloat(); 2417 } 2418 }, true); 2419 document.addEventListener("click", (event) => { 2420 const btn = event.target.closest(".bind-addedToCartDialogScroll"); 2421 if (!btn) { 2422 return; 2423 } 2424 event.preventDefault(); 2425 this.scrollToSide(); 2426 }); 2427 window.toggleAddedToCartDialogFloat = () => this.toggleFloat(); 2428 window.sendAddedToCartPrImpressions = () => this.sendImpressions(); 2429 } 2430 isAvailable() { 2431 return typeof window.benuDialog !== "undefined" && typeof window.benuDialog.open === "function"; 2432 } 2433 isOpen() { 2434 const dialog = getDialog(); 2435 return !!(dialog && dialog.open); 2436 } 2437 close() { 2438 const dialog = getDialog(); 2439 if (dialog && dialog.open) { 2440 dialog.close(); 2441 return true; 2442 } 2443 return false; 2444 } 2445 openOrRefresh(html) { 2446 if (!this.isAvailable() || !html) { 2447 return false; 2448 } 2449 return this.isOpen() ? this._replace(html) : this._open(html); 2450 } 2451 handleResponse(response, options) { 2452 response = response || {}; 2453 options = options || {}; 2454 if (!this.isAvailable()) { 2455 return false; 2456 } 2457 const html = response.html || response.HTML && response.HTML.addedToCartPopup || null; 2458 if (response.toaster === "addProductToast") { 2459 if (html && typeof window.drawToasterNotification === "function") { 2460 window.drawToasterNotification(html, 5e3); 2461 } 2462 return true; 2463 } 2464 if (response.toaster === "addProductNew" || options.fromDialog) { 2465 if (!html) { 2466 bnuSetAriaBusy("#" + DIALOG_ID, false); 2467 return false; 2468 } 2469 return this.openOrRefresh(html); 2470 } 2471 return false;
2472 } 2473 addGiftFromButton(button) { 2474 if (!this.isAvailable() || !(button instanceof Element)) { 2475 return false; 2476 } 2477 const args = { 2478 prID: button.getAttribute("data-prid"), 2479 voucherID: button.getAttribute("data-voucherid"), 2480 options: {} 2481 }; 2482 if (button.hasAttribute("data-notreal")) { 2483 args.options.notRealGift = 1; 2484 } 2485 const busyTarget = button.closest(".bnuAddedToCartDialogSideProduct") || document.getElementById(SIDE_ID) || getDialog(); 2486 bnuSetAriaBusy(busyTarget, true); 2487 window.ajaxHelper({ 2488 methodName: "toggleBenuCartGift", 2489 args 2490 }, (callback) => { 2491 const html = callback && callback.return && callback.return.html; 2492 if (callback && callback.success && html && this.openOrRefresh(html)) { 2493 return; 2494 } 2495 bnuSetAriaBusy(busyTarget, false); 2496 if (html && typeof window.drawAddedToCartPopup === "function") { 2497 window.drawAddedToCartPopup(html, true); 2498 } 2499 }); 2500 return true; 2501 } 2502 toggleFloat() { 2503 const dialog = document.querySelector(".bnuAddedToCartDialog"); 2504 const floatEl = dialog && dialog.querySelector(".bnuAddedToCartDialog__float"); 2505 const hasSideProducts = dialog && dialog.querySelector( 2506 ".bnuAddedToCartDialog__side .bnuAddedToCartDialogSideProduct" 2507 ); 2508 if (!floatEl) { 2509 return false; 2510 } 2511 if (!hasSideProducts) { 2512 floatEl.classList.remove("bnuAddedToCartDialog__float--active"); 2513 return false; 2514 } 2515 floatEl.classList.toggle( 2516 "bnuAddedToCartDialog__float--active", 2517 !this._sideInView() 2518 ); 2519 return true; 2520 } 2521 sendImpressions() { 2522 if (typeof window.eshopEvent_visibleProducts === "undefined") { 2523 return; 2524 } 2525 document.querySelectorAll( 2526 ".bnuAddedToCartDialog__side .bnuAddedToCartDialogSideProduct" 2527 ).forEach((item) => { 2528 const link = item.querySelector(".bnuAddedToCartDialogSideProduct__title a"); 2529 const impression = parseImpression(item); 2530 if (!link || !impression || !impression.ID) { 2531 return; 2532 } 2533 if (window.eshopEvent_visibleProducts[impression.ID]) { 2534 return; 2535 } 2536 if (typeof window.jQuery === "function" && typeof window.jQuery(link).isInViewportNew === "function" && !window.jQuery(link).isInViewportNew()) { 2537 return; 2538 } 2539 window.eshopEvent_visibleProducts[impression.ID] = Object.assign({}, impression, { 2540 positionList: "addedToCartDialog", 2541 recommendationId: item.getAttribute("data-recommendation-id") || item.dataset.recommendationId 2542 }); 2543 }); 2544 if (typeof window.eshopEvent_productImpression === "function") { 2545 window.eshopEvent_productImpression( 2546 window.eshopEvent_visibleProducts, 2547 true, 2548 "addedToCartDialog" 2549 ); 2550 } 2551 } 2552 scrollToSide() { 2553 const container = document.getElementById(SCROLL_ID); 2554 const target = document.querySelector(".bnuAddedToCartDialog .bnuPromoBox") || document.getElementById(SIDE_ID); 2555 if (!container || !target) { 2556 return; 2557 } 2558 const top = target.getBoundingClientRect().top - container.getBoundingClientRect().top + container.scrollTop; 2559 container.scrollTo({ top, behavior: "smooth" }); 2560 } 2561 _open(html) { 2562 window.benuDialog.open({ 2563 id: DIALOG_ID, 2564 content: html, 2565 className: "bnuDialog--large", 2566 lockScroll: true 2567 }); 2568 runScripts(getDialog()); 2569 bnuSetAriaBusy("#" + DIALOG_ID, false); 2570 if (typeof window.checkPictureVisibility === "function") { 2571 window.checkPictureVisibility(); 2572 } 2573 window.setTimeout(() => this.toggleFloat(), 251); 2574 return true; 2575 } 2576 _replace(html) { 2577 const dialog = getDialog(); 2578 if (!dialog || !dialog.open || !html) { 2579 return false; 2580 } 2581 const scrollEl = document.getElementById(SCROLL_ID); 2582 const prevScroll = scrollEl ? scrollEl.scrollTop : 0; 2583 const prevCount = dialog.querySelectorAll(".bnuAddedToCartDialogCartItem").length; 2584 const closeForm = dialog.querySelector(":scope > [data-dialog-close]"); 2585 const wrap = document.createElement("div"); 2586 wrap.innerHTML = String(html);
2587 Array.from(dialog.children).forEach((child) => { 2588 if (child !== closeForm) { 2589 child.remove(); 2590 } 2591 }); 2592 if (closeForm && closeForm.parentNode !== dialog) { 2593 dialog.prepend(closeForm); 2594 } 2595 while (wrap.firstChild) { 2596 dialog.appendChild(wrap.firstChild); 2597 } 2598 runScripts(dialog); 2599 bnuSetAriaBusy(dialog, false); 2600 const nextScroll = document.getElementById(SCROLL_ID); 2601 const cartItems = dialog.querySelector(".bnuAddedToCartDialog__cartItems"); 2602 const nextCount = dialog.querySelectorAll(".bnuAddedToCartDialogCartItem").length; 2603 if (nextCount > prevCount && cartItems) { 2604 cartItems.scrollTop = cartItems.scrollHeight; 2605 if (nextScroll) { 2606 nextScroll.scrollTop = 0; 2607 } 2608 } else if (nextScroll) { 2609 nextScroll.scrollTop = prevScroll; 2610 } 2611 if (typeof window.checkPictureVisibility === "function") { 2612 window.checkPictureVisibility(); 2613 } 2614 this.toggleFloat(); 2615 return true; 2616 } 2617 _sideInView() { 2618 const side = document.getElementById(SIDE_ID); 2619 const scrollEl = document.getElementById(SCROLL_ID); 2620 if (!side || !scrollEl) { 2621 return false; 2622 } 2623 const scrollRect = scrollEl.getBoundingClientRect(); 2624 const sideRect = side.getBoundingClientRect(); 2625 return sideRect.top < scrollRect.bottom - 100; 2626 } 2627 }; 2628 2629 // www/application/resources/js/side-cart.js 2630 var SIDE_CART_SELECTOR = ".bnuSideCart"; 2631 var OPEN_CLASS = "bnuSideCart--open"; 2632 var LEGACY_OPEN_CLASS = "visible"; 2633 function getSideCart() { 2634 return document.querySelector(SIDE_CART_SELECTOR); 2635 } 2636 function getSideCartContent(sideCart) { 2637 return (sideCart == null ? void 0 : sideCart.querySelector(".bind-cartQuickOverviewContent")) || null; 2638 } 2639 function isOpen(sideCart) { 2640 return sideCart.classList.contains(OPEN_CLASS) || sideCart.classList.contains(LEGACY_OPEN_CLASS); 2641 } 2642 function setInteractiveTabindex(sideCart, tabindex) { 2643 const content = getSideCartContent(sideCart); 2644 if (!content) { 2645 return; 2646 } 2647 content.querySelectorAll( 2648 ".bind-cartRemoveProduct, .cartQntChangeInput, .bind-cartProductLink" 2649 ).forEach((el) => { 2650 el.setAttribute("tabindex", String(tabindex)); 2651 }); 2652 document.querySelectorAll(".bind-sideCartAction").forEach((el) => { 2653 el.setAttribute("tabindex", String(tabindex)); 2654 }); 2655 } 2656 function setContentState(sideCart, open) { 2657 const content = getSideCartContent(sideCart); 2658 if (!content) { 2659 return; 2660 } 2661 content.setAttribute("tabindex", open ? "0" : "-1"); 2662 content.setAttribute("aria-hidden", open ? "false" : "true"); 2663 content.style.overflow = open ? "auto" : ""; 2664 } 2665 function toggleOverlay(show) { 2666 if (typeof window.toggleOverlay === "function") { 2667 window.toggleOverlay(show ? "show" : "hide"); 2668 return; 2669 } 2670 document.body.classList.toggle("overlay", show); 2671 } 2672 function openSideCart(sideCart) { 2673 var _a, _b; 2674 sideCart.classList.add(OPEN_CLASS, LEGACY_OPEN_CLASS); 2675 sideCart.inert = false; 2676 (_a = document.querySelector(".chat")) == null ? void 0 : _a.classList.add("cartOpened"); 2677 toggleOverlay(true); 2678 setInteractiveTabindex(sideCart, 0); 2679 setContentState(sideCart, true); 2680 const title = sideCart.querySelector(".bnuSideCart__heading h2"); 2681 if (title && typeof window.jQuery === "function" && jQuery.fn.focusOnElement) { 2682 jQuery(title).focusOnElement(); 2683 } else { 2684 (_b = title == null ? void 0 : title.focus) == null ? void 0 : _b.call(title); 2685 } 2686 } 2687 function closeSideCart(sideCart) { 2688 var _a; 2689 sideCart.classList.remove(OPEN_CLASS, LEGACY_OPEN_CLASS); 2690 sideCart.inert = true; 2691 (_a = document.querySelector(".chat")) == null ? void 0 : _a.classList.remove("cartOpened"); 2692 toggleOverlay(false); 2693 setInteractiveTabindex(sideCart, -1); 2694 setContentState(sideCart, false); 2695 } 2696 function onDocumentClick(event) { 2697 const sideCart = getSideCart(); 2698 if (!sideCart) { 2699 return; 2700 } 2701 const toggleBtn = event.target.closest(".bind-toggleCart"); 2702 const closeBtn = event.target.closest(".bind-sideCartClose");
2703 const overlay = event.target.closest(".bnuOverlay"); 2704 if (!toggleBtn && !closeBtn && !overlay) { 2705 return; 2706 } 2707 event.preventDefault(); 2708 event.stopImmediatePropagation(); 2709 if (toggleBtn) { 2710 if (isOpen(sideCart)) { 2711 closeSideCart(sideCart); 2712 } else { 2713 openSideCart(sideCart); 2714 } 2715 return; 2716 } 2717 closeSideCart(sideCart); 2718 } 2719 function initSideCart() { 2720 if (!getSideCart()) { 2721 return; 2722 } 2723 document.addEventListener("click", onDocumentClick, true); 2724 } 2725 window.bnuSideCart = { 2726 open: () => { 2727 const sideCart = getSideCart(); 2728 if (sideCart) { 2729 openSideCart(sideCart); 2730 } 2731 }, 2732 close: () => { 2733 const sideCart = getSideCart(); 2734 if (sideCart) { 2735 closeSideCart(sideCart); 2736 } 2737 }, 2738 isOpen: () => { 2739 const sideCart = getSideCart(); 2740 return !!(sideCart && isOpen(sideCart)); 2741 } 2742 }; 2743 2744 // www/application/resources/js/cart-gifts.js 2745 function getTierCards(scroller) { 2746 return Array.from(scroller.querySelectorAll(".bnuGiftTier")); 2747 } 2748 function updateTierPagination(scroller) { 2749 var _a; 2750 const cards = getTierCards(scroller); 2751 const pagination = (_a = scroller.parentElement) == null ? void 0 : _a.querySelector( 2752 ".bnuCartGifts__tierPagination" 2753 ); 2754 if (!cards.length || !pagination) { 2755 return; 2756 } 2757 const activeIndex = cards.reduce( 2758 (closestIndex, card, index) => Math.abs(card.offsetLeft - scroller.scrollLeft) < Math.abs(cards[closestIndex].offsetLeft - scroller.scrollLeft) ? index : closestIndex, 2759 0 2760 ); 2761 pagination.querySelectorAll(".bind-cartGiftTierDot").forEach((dot, index) => { 2762 dot.setAttribute("aria-current", index === activeIndex ? "true" : "false"); 2763 }); 2764 } 2765 function toggleTierGifts(button) { 2766 const tier = button.closest(".bnuGiftTier"); 2767 const giftListId = button.getAttribute("aria-controls"); 2768 const giftList = giftListId ? document.getElementById(giftListId) : null; 2769 if (!tier || !giftList) { 2770 return; 2771 } 2772 const expanded = button.getAttribute("aria-expanded") === "true"; 2773 giftList.querySelectorAll("[hidden]").forEach((gift) => { 2774 gift.hidden = expanded; 2775 }); 2776 if (expanded) { 2777 giftList.querySelectorAll(".bnuGiftTier__gift").forEach((gift, index) => { 2778 gift.hidden = index >= 2; 2779 }); 2780 } 2781 button.setAttribute("aria-expanded", expanded ? "false" : "true"); 2782 const label = button.querySelector("span"); 2783 if (label) { 2784 label.textContent = expanded ? button.dataset.showMore : button.dataset.showLess; 2785 } 2786 } 2787 function scrollToTier(button) { 2788 const scrollerId = button.getAttribute("aria-controls"); 2789 const scroller = scrollerId ? document.getElementById(scrollerId) : null; 2790 const tierIndex = Number.parseInt(button.dataset.tierIndex, 10); 2791 const card = scroller ? getTierCards(scroller)[tierIndex] : null; 2792 if (!scroller || !card) { 2793 return; 2794 } 2795 scroller.scrollTo({ 2796 left: card.offsetLeft, 2797 behavior: "smooth" 2798 }); 2799 } 2800 function onDocumentClick2(event) { 2801 const tierToggle = event.target.closest(".bind-toggleGiftTier"); 2802 if (tierToggle) { 2803 toggleTierGifts(tierToggle); 2804 return; 2805 } 2806 const paginationButton = event.target.closest(".bind-cartGiftTierDot"); 2807 if (paginationButton) { 2808 scrollToTier(paginationButton); 2809 } 2810 } 2811 function onDocumentScroll(event) { 2812 var _a, _b; 2813 if ((_b = (_a = event.target).matches) == null ? void 0 : _b.call(_a, ".bind-cartGiftTiers")) { 2814 updateTierPagination(event.target); 2815 } 2816 } 2817 function reinitGiftCarousels() { 2818 if (typeof window.benuReinitSwipers === "function") { 2819 window.benuReinitSwipers(); 2820 } 2821 } 2822 function observeGiftCarouselHost() { 2823 const host = document.querySelector(".bind-benuCartGiftsWrap"); 2824 if (!host || typeof MutationObserver === "undefined") { 2825 return; 2826 } 2827 const observer = new MutationObserver(() => { 2828 reinitGiftCarousels(); 2829 }); 2830 observer.observe(host, { childList: true }); 2831 } 2832 function initCartGifts() { 2833 document.addEventListener("click", onDocumentClick2); 2834 document.addEventListener("scroll", onDocumentScroll, true); 2835 observeGiftCarouselHost(); 2836 reinitGiftCarousels(); 2837 } 2838 2839 // www/application/resources/js/tooltips.js 2840 function canHover() { 2841 return window.matchMedia("(hover: hover) and (pointer: fine)").matches; 2842 } 2843 function tooltipFromEvent(event) { 2844 const target = event.target; 2845 if (!(target instanceof Element)) { 2846 return null; 2847 } 2848 return target.closest(".bnuTooltip"); 2849 } 2850 function tooltipPopover(tooltip) { 2851 return tooltip.querySelector(":scope > .bnuTooltip__popover[popover]"); 2852 } 2853 function showTooltip(tooltip) { 2854 const popover = tooltipPopover(tooltip); 2855 if (!popover || popover.matches(":popover-open")) { 2856 return; 2857 } 2858 try { 2859 popover.showPopover(); 2860 } catch (error) { 2861 } 2862 } 2863 function hideTooltip(tooltip) { 2864 const popover = tooltipPopover(tooltip); 2865 if (!popover || !popover.matches(":popover-open")) { 2866 return; 2867 } 2868 try { 2869 popover.hidePopover(); 2870 } catch (error) { 2871 } 2872 } 2873 function initTooltips() { 2874 document.addEventListener("mouseover", (event) => { 2875 if (!canHover()) { 2876 return; 2877 } 2878 const tooltip = tooltipFromEvent(event); 2879 if (tooltip) { 2880 showTooltip(tooltip); 2881 } 2882 }); 2883 document.addEventListener("mouseout", (event) => { 2884 if (!canHover()) { 2885 return; 2886 } 2887 const tooltip = tooltipFromEvent(event); 2888 if (!tooltip) { 2889 return; 2890 } 2891 const related = event.relatedTarget; 2892 if (related instanceof Node && tooltip.contains(related)) { 2893 return; 2894 } 2895 hideTooltip(tooltip); 2896 }); 2897 document.addEventListener("focusin", (event) => { 2898 const tooltip = tooltipFromEvent(event); 2899 if (tooltip) { 2900 showTooltip(tooltip); 2901 } 2902 }); 2903 document.addEventListener("focusout", (event) => { 2904 const tooltip = tooltipFromEvent(event); 2905 if (!tooltip) { 2906 return; 2907 } 2908 const related = event.relatedTarget; 2909 if (related instanceof Node && tooltip.contains(related)) { 2910 return; 2911 } 2912 hideTooltip(tooltip); 2913 }); 2914 document.addEventListener("click", (event) => { 2915 if (!canHover()) { 2916 return; 2917 } 2918 const button = event.target instanceof Element ? event.target.closest(".bnuTooltip > button[popovertarget]") : null; 2919 if (button) { 2920 event.preventDefault(); 2921 } 2922 }); 2923 } 2924 2925 // www/application/resources/js/datepicker.js 2926 var DATEPICKER_OPEN_CLASS = "bnuDialog--datepickerOpen"; 2927 function getDatepicker() { 2928 const $2 = window.jQuery; 2929 if (!$2 || !$2.datepicker || !$2.datepicker.dpDiv) { 2930 return null; 2931 } 2932 return $2.datepicker; 2933 } 2934 function findHostDialog(input) { 2935 if (!(input instanceof Element)) { 2936 return null; 2937 } 2938 return input.closest("dialog[open]"); 2939 } 2940 function setDatepickerPaintReady(ready) { 2941 const datepicker = getDatepicker(); 2942 if (!(datepicker == null ? void 0 : datepicker.dpDiv)) { 2943 return; 2944 } 2945 datepicker.dpDiv.css("visibility", ready ? "" : "hidden"); 2946 } 2947 function moveDatepickerTo(container) { 2948 var _a; 2949 const datepicker = getDatepicker(); 2950 const dpDiv = (_a = datepicker == null ? void 0 : datepicker.dpDiv) == null ? void 0 : _a[0]; 2951 if (!dpDiv || !(container instanceof Element)) { 2952 return; 2953 } 2954 if (dpDiv.parentNode !== container) { 2955 container.appendChild(dpDiv); 2956 } 2957 } 2958 function restoreDatepickerToBody() { 2959 var _a; 2960 const datepicker = getDatepicker(); 2961 const dpDiv = (_a = datepicker == null ? void 0 : datepicker.dpDiv) == null ? void 0 : _a[0]; 2962 if (!dpDiv) { 2963 return; 2964 } 2965 if (dpDiv.parentNode !== document.body) { 2966 document.body.appendChild(dpDiv); 2967 } 2968 } 2969 function clearDatepickerOpenClass(dialog) { 2970 if (dialog instanceof HTMLDialogElement) { 2971 dialog.classList.remove(DATEPICKER_OPEN_CLASS); 2972 } 2973 } 2974 function positionDatepickerInDialog(input, dialog) { 2975 const datepicker = getDatepicker(); 2976 if (!datepicker || !(input instanceof Element) || !(dialog instanceof HTMLDialogElement)) { 2977 return; 2978 } 2979 const $dpDiv = datepicker.dpDiv; 2980 const inputRect = input.getBoundingClientRect(); 2981 const dialogRect = dialog.getBoundingClientRect(); 2982 const dpWidth = $dpDiv.outerWidth(); 2983 const dpHeight = $dpDiv.outerHeight(); 2984 let left = inputRect.left - dialogRect.left; 2985 let top = inputRect.bottom - dialogRect.top; 2986 if (left + dpWidth > dialog.clientWidth) { 2987 left = Math.max(0, dialog.clientWidth - dpWidth); 2988 } 2989 if (top + dpHeight > dialog.clientHeight) { 2990 const above = inputRect.top - dialogRect.top - dpHeight; 2991 if (above >= 0) { 2992 top = above; 2993 } 2994 } 2995 $dpDiv.css({ 2996 position: "absolute", 2997 left: `${left}px`, 2998 top: `${top}px`, 2999 zIndex: 10 3000 }); 3001 } 3002 function initDatepickerDialogSupport() { 3003 const datepicker = getDatepicker(); 3004 if (!datepicker || datepicker._benuDialogAppendPatched) { 3005 return; 3006 } 3007 datepicker._benuDialogAppendPatched = true; 3008 const originalShow = datepicker._showDatepicker; 3009 const originalHide = datepicker._hideDatepicker; 3010 datepicker._showDatepicker = function(input) { 3011 var _a; 3012 const inputEl = input && input.target ? input.target : input; 3013 const dialog = findHostDialog(inputEl); 3014 const previousParent = (_a = datepicker.dpDiv[0]) == null ? void 0 : _a.parentElement; 3015 if (dialog) { 3016 setDatepickerPaintReady(false); 3017 moveDatepickerTo(dialog); 3018 } else { 3019 if (previousParent instanceof HTMLDialogElement) { 3020 clearDatepickerOpenClass(previousParent); 3021 } 3022 setDatepickerPaintReady(true); 3023 restoreDatepickerToBody(); 3024 } 3025 const result = originalShow.apply(this, arguments); 3026 if (dialog) { 3027 if (datepicker._datepickerShowing) { 3028 moveDatepickerTo(dialog); 3029 dialog.classList.add(DATEPICKER_OPEN_CLASS); 3030 positionDatepickerInDialog(inputEl, dialog); 3031 setDatepickerPaintReady(true); 3032 } else { 3033 clearDatepickerOpenClass(dialog); 3034 setDatepickerPaintReady(true); 3035 restoreDatepickerToBody(); 3036 } 3037 } 3038 return result; 3039 }; 3040 datepicker._hideDatepicker = function(input) { 3041 var _a; 3042 const hostDialog = ((_a = datepicker.dpDiv[0]) == null ? void 0 : _a.closest("dialog")) || null; 3043 const result = originalHide.apply(this, arguments); 3044 clearDatepickerOpenClass(hostDialog); 3045 if (hostDialog) { 3046 datepicker.dpDiv.stop(true, true).hide(); 3047 setDatepickerPaintReady(false); 3048 } 3049 restoreDatepickerToBody(); 3050 return result; 3051 }; 3052 document.addEventListener( 3053 "close", 3054 (event) => { 3055 var _a; 3056 if (!(event.target instanceof HTMLDialogElement)) { 3057 return; 3058 } 3059 clearDatepickerOpenClass(event.target); 3060 if (datepicker._datepickerShowing && ((_a = datepicker.dpDiv[0]) == null ? void 0 : _a.parentElement) === event.target) { 3061 datepicker._hideDatepicker(); 3062 } 3063 }, 3064 true 3065 ); 3066 } 3067 3068 // www/application/resources/js/social-videos.js 3069 var PAGE_SIZE = 4; 3070 var PREVIEW_ROOT_MARGIN = "400px 0px"; 3071 var didInit = false;
3072 function mediaSelector(root) { 3073 return root.querySelector(".bnuSocialVideos__media, .socialVideos__media"); 3074 } 3075 function closestBlock(card) { 3076 return card.closest(".bnuSocialVideos, [data-dialog-id]"); 3077 } 3078 function resolveDialog(card) { 3079 const block = closestBlock(card); 3080 const dialogId = block == null ? void 0 : block.getAttribute("data-dialog-id"); 3081 if (!dialogId) { 3082 return null; 3083 } 3084 return document.getElementById(dialogId); 3085 } 3086 function createPreviewVideo(src, poster) { 3087 const video = document.createElement("video"); 3088 video.src = src; 3089 video.muted = true; 3090 video.defaultMuted = true; 3091 video.autoplay = true; 3092 video.loop = true; 3093 video.playsInline = true; 3094 video.preload = "metadata"; 3095 video.setAttribute("muted", ""); 3096 video.setAttribute("playsinline", ""); 3097 video.setAttribute("webkit-playsinline", ""); 3098 video.setAttribute("aria-hidden", "true"); 3099 video.className = "bind-socialVideoPreview"; 3100 if (poster) { 3101 video.poster = poster; 3102 } 3103 video.play().catch(function() { 3104 }); 3105 return video; 3106 } 3107 function mountCardPreview(card) { 3108 const media = mediaSelector(card); 3109 if (!media || media.querySelector("video.bind-socialVideoPreview")) { 3110 return; 3111 } 3112 const videoUrl = card.dataset.videoUrl; 3113 if (!videoUrl) { 3114 return; 3115 } 3116 const existing = media.querySelector("img"); 3117 const preview = createPreviewVideo(videoUrl, card.dataset.thumbnail); 3118 if (existing) { 3119 existing.replaceWith(preview); 3120 } else { 3121 media.insertBefore(preview, media.firstChild); 3122 } 3123 } 3124 function mountVisibleCardPreviews(block) { 3125 block.dataset.socialVideoPreviewsMounted = "true"; 3126 block.querySelectorAll(".bind-openSocialVideo:not(.hidden)").forEach(mountCardPreview); 3127 } 3128 function observePreviewBlocks() { 3129 const blocks = document.querySelectorAll(".bnuSocialVideos, .socialVideos"); 3130 if (!blocks.length) { 3131 return; 3132 } 3133 if (!("IntersectionObserver" in window)) { 3134 blocks.forEach(mountVisibleCardPreviews); 3135 return; 3136 } 3137 const observer = new IntersectionObserver( 3138 function(entries) { 3139 entries.forEach(function(entry) { 3140 if (!entry.isIntersecting) { 3141 return; 3142 } 3143 mountVisibleCardPreviews(entry.target); 3144 observer.unobserve(entry.target); 3145 }); 3146 }, 3147 { 3148 root: null, 3149 rootMargin: PREVIEW_ROOT_MARGIN, 3150 threshold: 0 3151 } 3152 ); 3153 blocks.forEach(function(block) { 3154 observer.observe(block); 3155 }); 3156 } 3157 function pauseCardPreviews() { 3158 document.querySelectorAll("video.bind-socialVideoPreview").forEach(function(video) { 3159 video.pause(); 3160 }); 3161 } 3162 function resumeCardPreviews() { 3163 document.querySelectorAll("video.bind-socialVideoPreview").forEach(function(video) { 3164 video.play().catch(function() { 3165 }); 3166 }); 3167 } 3168 function renderNativeVideo(container, src, poster) { 3169 const video = document.createElement("video"); 3170 video.src = src; 3171 video.controls = true; 3172 video.muted = true; 3173 video.defaultMuted = true; 3174 video.autoplay = true; 3175 video.loop = true; 3176 video.playsInline = true; 3177 video.setAttribute("muted", ""); 3178 video.setAttribute("playsinline", ""); 3179 if (poster) { 3180 video.poster = poster; 3181 } 3182 container.appendChild(video); 3183 video.play().catch(function() { 3184 }); 3185 } 3186 function platformIconClass(platform) { 3187 if (platform === "instagram") { 3188 return "fa-brands fa-instagram"; 3189 } 3190 if (platform === "tiktok") { 3191 return "fa-brands fa-tiktok"; 3192 } 3193 return ""; 3194 } 3195 function fillPlatform(platformEl, platform, authorLabel, profileUrl) { 3196 platformEl.replaceChildren(); 3197 const iconClass = platformIconClass(platform); 3198 if (iconClass) { 3199 const icon = document.createElement("i"); 3200 icon.className = iconClass; 3201 icon.setAttribute("aria-hidden", "true"); 3202 platformEl.appendChild(icon); 3203 } 3204 if (authorLabel && profileUrl) { 3205 const link = document.createElement("a"); 3206 link.className = "bnuSocialVideosDialog__profile bind-socialVideoProfile"; 3207 link.href = profileUrl; 3208 link.target = "_blank"; 3209 link.rel = "noopener noreferrer"; 3210 link.textContent = authorLabel; 3211 platformEl.appendChild(link); 3212 } else if (authorLabel) { 3213 const text = document.createElement("span"); 3214 text.textContent = authorLabel; 3215 platformEl.appendChild(text); 3216 } 3217 platformEl.hidden = iconClass === "" && authorLabel === ""; 3218 } 3219 function fillDialog(dialog, card) { 3220 const platform = card.dataset.platform || ""; 3221 const url = card.dataset.url || ""; 3222 const title = card.dataset.title || ""; 3223 const description = card.dataset.description || ""; 3224 const videoUrl = card.dataset.videoUrl || ""; 3225 const thumbnail = card.dataset.thumbnail || ""; 3226 const player = dialog.querySelector(".bind-socialVideoPlayer"); 3227 const platformEl = dialog.querySelector(".bind-socialVideoPlatform"); 3228 const titleEl = dialog.querySelector(".bind-socialVideoTitle"); 3229 const descriptionWrap = dialog.querySelector(".bind-socialVideoDescriptionWrap"); 3230 const descriptionEl = dialog.querySelector(".bind-socialVideoDescription"); 3231 const descriptionMore = dialog.querySelector(".bind-socialVideoDescriptionMore"); 3232 const productsEl = dialog.querySelector(".bind-socialVideoProducts"); 3233 const originalEl = dialog.querySelector(".bind-socialVideoOriginal"); 3234 if (player) { 3235 player.innerHTML = ""; 3236 player.dataset.platform = platform; 3237 if (videoUrl) { 3238 renderNativeVideo(player, videoUrl, thumbnail); 3239 } else if (thumbnail) { 3240 const img = document.createElement("img"); 3241 img.src = thumbnail; 3242 img.alt = ""; 3243 player.appendChild(img); 3244 } 3245 } 3246 if (platformEl) { 3247 fillPlatform( 3248 platformEl, 3249 platform, 3250 card.dataset.author || "", 3251 card.dataset.profileUrl || "" 3252 ); 3253 } 3254 if (titleEl) { 3255 titleEl.textContent = title; 3256 titleEl.hidden = title === ""; 3257 } 3258 if (descriptionEl) { 3259 descriptionEl.textContent = description; 3260 descriptionEl.classList.remove("bnuSocialVideosDialog__description--expanded"); 3261 } 3262 if (descriptionWrap) { 3263 descriptionWrap.hidden = description === ""; 3264 } 3265 if (descriptionMore) { 3266 descriptionMore.hidden = true; 3267 descriptionMore.setAttribute("aria-expanded", "false"); 3268 descriptionMore.textContent = descriptionMore.dataset.readMore || ""; 3269 if (description !== "" && descriptionEl) { 3270 requestAnimationFrame(function() { 3271 descriptionMore.hidden = descriptionEl.scrollHeight <= descriptionEl.clientHeight; 3272 }); 3273 } 3274 } 3275 if (productsEl) { 3276 productsEl.innerHTML = ""; 3277 productsEl.hidden = true; 3278 const template = document.getElementById(card.dataset.products || ""); 3279 if (template instanceof HTMLTemplateElement && template.content.childNodes.length) { 3280 productsEl.appendChild(template.content.cloneNode(true)); 3281 productsEl.hidden = false;
3282 } 3283 } 3284 if (originalEl) { 3285 if (url) { 3286 originalEl.href = url; 3287 originalEl.hidden = false; 3288 } else { 3289 originalEl.removeAttribute("href"); 3290 originalEl.hidden = true; 3291 } 3292 } 3293 } 3294 function clearDialog(dialog) { 3295 const player = dialog.querySelector(".bind-socialVideoPlayer"); 3296 if (player) { 3297 player.innerHTML = ""; 3298 player.removeAttribute("data-platform"); 3299 } 3300 const productsEl = dialog.querySelector(".bind-socialVideoProducts"); 3301 if (productsEl) { 3302 productsEl.innerHTML = ""; 3303 } 3304 resumeCardPreviews(); 3305 } 3306 function revealMoreCards(button) { 3307 const block = button.closest(".bnuSocialVideos, .socialVideos, [data-dialog-id]"); 3308 if (!block) { 3309 return; 3310 } 3311 const hiddenCards = Array.from(block.querySelectorAll(".bind-openSocialVideo.hidden")); 3312 const nextCards = hiddenCards.slice(0, PAGE_SIZE); 3313 nextCards.forEach(function(card) { 3314 card.classList.remove("hidden"); 3315 if (block.dataset.socialVideoPreviewsMounted === "true") { 3316 mountCardPreview(card); 3317 } 3318 }); 3319 if (hiddenCards.length <= PAGE_SIZE) { 3320 button.classList.add("hidden"); 3321 } 3322 } 3323 function openDialog(card) { 3324 const dialog = resolveDialog(card); 3325 if (!(dialog instanceof HTMLElement)) { 3326 return; 3327 } 3328 pauseCardPreviews(); 3329 fillDialog(dialog, card); 3330 if (typeof window.benuDialog !== "undefined" && typeof window.benuDialog.open === "function") { 3331 window.benuDialog.open(dialog); 3332 } else if (dialog instanceof HTMLDialogElement && typeof dialog.showModal === "function") { 3333 if (!dialog.open) { 3334 dialog.showModal(); 3335 } 3336 } 3337 if (dialog instanceof HTMLDialogElement && !dialog.dataset.socialVideoBound) { 3338 dialog.dataset.socialVideoBound = "true"; 3339 dialog.addEventListener("close", function() { 3340 clearDialog(dialog); 3341 }); 3342 } 3343 } 3344 function initSocialVideos() { 3345 if (didInit) { 3346 return; 3347 } 3348 const cards = document.querySelectorAll(".bind-openSocialVideo"); 3349 if (!cards.length) { 3350 return; 3351 } 3352 didInit = true; 3353 observePreviewBlocks(); 3354 cards.forEach(function(card) { 3355 card.addEventListener("click", function() { 3356 openDialog(card); 3357 }); 3358 card.addEventListener("keydown", function(event) { 3359 if (event.key === "Enter" || event.key === " ") { 3360 event.preventDefault(); 3361 openDialog(card); 3362 } 3363 }); 3364 }); 3365 document.querySelectorAll(".bind-showMoreSocialVideos").forEach(function(button) { 3366 button.addEventListener("click", function() { 3367 revealMoreCards(button); 3368 }); 3369 }); 3370 document.querySelectorAll(".bind-socialVideoDescriptionMore").forEach(function(button) { 3371 button.addEventListener("click", function() { 3372 var _a; 3373 const description = (_a = button.closest(".bind-socialVideoDescriptionWrap")) == null ? void 0 : _a.querySelector(".bind-socialVideoDescription"); 3374 if (!description) { 3375 return; 3376 } 3377 const expanded = description.classList.toggle( 3378 "bnuSocialVideosDialog__description--expanded" 3379 ); 3380 button.setAttribute("aria-expanded", String(expanded)); 3381 button.textContent = expanded ? button.dataset.readLess || "" : button.dataset.readMore || ""; 3382 }); 3383 }); 3384 document.querySelectorAll(".bnuDialog--socialVideo, .socialVideosDialog").forEach(function(dialog) { 3385 if (dialog.dataset.socialVideoBound === "true") { 3386 return; 3387 } 3388 dialog.dataset.socialVideoBound = "true"; 3389 dialog.addEventListener("close", function() { 3390 clearDialog(dialog); 3391 }); 3392 }); 3393 document.querySelectorAll(".bind-closeSocialVideo").forEach(function(button) { 3394 button.addEventListener("click", function() { 3395 const dialog = button.closest("dialog"); 3396 if (dialog instanceof HTMLDialogElement) { 3397 dialog.close(); 3398 } 3399 }); 3400 }); 3401 } 3402 window.initSocialVideos = initSocialVideos; 3403 3404 // www/application/resources/js/luigis-search-bar.js 3405 function cfg() { 3406 return window.benuLuigisSearch || {}; 3407 } 3408 function t(key) { 3409 return cfg().i18n && cfg().i18n[key] || ""; 3410 } 3411 function appName() { 3412 return cfg().appName || window.intuero && window.intuero.appName || ""; 3413 } 3414 function cardImg() { 3415 return cfg().benuCardImg || ""; 3416 } 3417 function cardAlt() { 3418 return cfg().benuCardAlt || ""; 3419 } 3420 function eur(value) { 3421 return String(value || "").replace(/EUR/g, "\u20AC"); 3422 } 3423 function isLv() { 3424 return appName() === "benu-eshop-lv"; 3425 } 3426 function isEe() { 3427 return appName() === "benu-eshop-ee"; 3428 } 3429 function firstAttr(attrs, key) { 3430 if (!attrs || attrs[key] == null || attrs[key] === "") { 3431 return ""; 3432 } 3433 const val = attrs[key]; 3434 if (Array.isArray(val)) { 3435 return val[0] != null && val[0] !== "" ? val[0] : ""; 3436 } 3437 return val; 3438 } 3439 function escapeAttr(value) { 3440 return String(value).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">"); 3441 } 3442 function formatAddToCartHtml(product, context) { 3443 if (!cfg().showAddToCart) { 3444 return ""; 3445 } 3446 if (!product || !product.attributes) { 3447 return ""; 3448 } 3449 const attrs = product.attributes; 3450 const productId = String(firstAttr(attrs, "to_cart_id")).replace(/[^\d]/g, ""); 3451 const availability = String(firstAttr(attrs, "availability")); 3452 if (!productId) { 3453 return ""; 3454 } 3455 if (availability !== "" && availability !== "1") { 3456 return ""; 3457 } 3458 const drugType = String(firstAttr(attrs, "drugType")); 3459 const isList = context === "list"; 3460 if (isEe() && (drugType === "OTC" || drugType === "RX")) { 3461 if (isList) { 3462 return '<div class="bnuProduct__buttons bnuLuigisSearch__addToCart"><a class="bnuButton bnuButton--secondary bnuButton--iconOnly" href="' + escapeAttr(product.url || "#") + '" aria-label="' + escapeAttr(t("viewMore")) + '"><i class="fa-regular fa-circle-info" aria-hidden="true"></i><span>' + escapeAttr(t("viewMore")) + "</span></a></div>"; 3463 } 3464 return '<div class="bnuProduct__buttons"><a class="bnuButton bnuButton--full" href="' + escapeAttr(product.url || "#") + '"><span>' + escapeAttr(t("viewMore")) + "</span></a></div>"; 3465 } 3466 const wrapId = "productItemData_wrap-" + productId; 3467 const wrapClass = isList ? "bnuProduct__buttons bnuLuigisSearch__addToCart" : "bnuProduct__buttons"; 3468 const buttonHtml = isList ? '<button type="button" class="bnuButton bnuButton--secondary bnuButton--iconOnly bind-addToCart" data-productdatawrap="' + wrapId + '" aria-label="' + escapeAttr(t("addToCart")) + '"><i class="fa-regular fa-cart-plus" aria-hidden="true"></i><span>' + escapeAttr(t("addToCart")) + "</span></button>" : '<button type="button" class="bnuButton bnuButton--secondary bnuButton--full bind-addToCart" data-productdatawrap="' + wrapId + '"><span>' + escapeAttr(t("addToCart")) + "</span></button>"; 3469 let html = '<div class="' + wrapClass + '">' + buttonHtml + '<div class="hidden ' + wrapId + '"><input type="hidden" name="productData_productID" value="' + productId + '"><input type="hidden" name="productData_qnt" value="1">'; 3470 if (String(firstAttr(attrs, "isProductsBundle")) === "1") { 3471 html += '<input type="hidden" name="productData_isProductsBundle" value="true">'; 3472 } 3473 html += "</div></div>"; 3474 return html; 3475 } 3476 function isLtOrLv() { 3477 return appName() === "benu-eshop-lt" || appName() === "benu-eshop-lv"; 3478 } 3479 function isMobile() { 3480 return window.jQuery ? window.jQuery(window).width() < 1020 : window.innerWidth < 1020; 3481 } 3482 function productBadgeVariantFromColor(color) { 3483 const map = { 3484 blue: "neutral", 3485 top: "neutral", 3486 green: "green", 3487 orangered: "orange", 3488 orange: "orange", 3489 darkpink: "", 3490 pink: "", 3491 red: "", 3492 card: "card", 3493 neutral: "neutral", 3494 eprice: "green", 3495 lightgreen: "green", 3496 new: "green", 3497 black: "neutral", 3498 express: "orange", 3499 stockout: "neutral" 3500 };
3501 const key = String(color || "").replace(/[^a-zA-Z0-9_-]/g, "").toLowerCase(); 3502 if (!key) { 3503 return "neutral"; 3504 } 3505 return Object.prototype.hasOwnProperty.call(map, key) ? map[key] : "neutral"; 3506 } 3507 function productBadgeVariantClass(color) { 3508 const variant = productBadgeVariantFromColor(color); 3509 return variant ? " bnuProductBadge--" + variant : ""; 3510 } 3511 function discountBadge(html, modifiers) { 3512 const mods = ["bnuProductBadge", "bnuProductBadge--pill"].concat(modifiers || []).filter(Boolean).join(" "); 3513 return '<div class="' + mods + '">' + html + "</div>"; 3514 } 3515 function textBadge(text, color) { 3516 return '<span class="bnuProductBadge' + productBadgeVariantClass(color) + '">' + text + "</span>"; 3517 } 3518 function isOtcOrRx(attrs) { 3519 const drugType = firstAttr(attrs, "drugType"); 3520 return drugType === "OTC" || drugType === "RX"; 3521 } 3522 function shouldShowDiscounts(product) { 3523 let show = true; 3524 const attrs = product.attributes || {}; 3525 if (isLtOrLv() && isOtcOrRx(attrs)) { 3526 show = false; 3527 } 3528 if (attrs.hideDiscountBadge) { 3529 show = false; 3530 } 3531 if (attrs.showFinalPrice && attrs.discount_price_percentage) { 3532 show = true; 3533 } 3534 return show; 3535 } 3536 function applyLvEmptyBubbleRules(product) { 3537 const attrs = product.attributes; 3538 if (isLv() && (!attrs.drugType || attrs.drugType[0] === "basic") && attrs.price_old) { 3539 attrs.hideDiscountBadge = true; 3540 attrs.showEmptyPromoBubble = true; 3541 return false; 3542 } 3543 return shouldShowDiscounts(product); 3544 } 3545 function hasMinCartPromo(product) { 3546 const attrs = product.attributes || {}; 3547 if (!attrs.discountMinCartValue) { 3548 return { hasPromo: false, isLC: false }; 3549 } 3550 const hasPromoPrice = attrs.price_old || attrs.loyal_customer_price; 3551 if (!hasPromoPrice) { 3552 return { hasPromo: false, isLC: false }; 3553 } 3554 return { 3555 hasPromo: true, 3556 isLC: !!attrs.loyal_customer_price 3557 }; 3558 } 3559 function minCartPromoText(product) { 3560 const sum = product.attributes.discountMinCartValue + " \u20AC"; 3561 return t("minCartPromoText").replace("{{sum}}", sum); 3562 } 3563 function formatMinCartPromo(product, options) { 3564 const mini = !!(options && options.mini); 3565 const info = hasMinCartPromo(product); 3566 const result = { html: "", hasPromo: info.hasPromo, isLC: info.isLC }; 3567 if (!info.hasPromo) { 3568 return result; 3569 } 3570 const promoText = minCartPromoText(product); 3571 const colorMod = info.isLC ? "bnuMinCartPromo--lc" : "bnuMinCartPromo--promo"; 3572 if (mini) { 3573 result.html = '<span class="bnuMinCartPromo__textOnly ' + colorMod + '">' + promoText + "</span>"; 3574 return result; 3575 } 3576 result.html = '<div class="bnuMinCartPromo ' + colorMod + ' bnuMinCartPromo--small"><div class="bnuMinCartPromo__content"><span class="bnuMinCartPromo__text">' + promoText + '</span></div><div class="bnuMinCartPromo__info"><i class="fa-solid fa-circle-info" aria-hidden="true"></i><div class="bnuMinCartPromo__tooltip">' + t("minCartPromoInfo") + "</div></div></div>"; 3577 return result; 3578 } 3579 function formatMinCartValuePrice(product, options) { 3580 const mini = !!(options && options.mini); 3581 const attrs = product.attributes; 3582 const hasLC = !!attrs.loyal_customer_price; 3583 const promoPrice = hasLC ? attrs.loyal_customer_price : attrs.price; 3584 const regularPrice = attrs.price_old || attrs.price; 3585 const promoText = minCartPromoText(product); 3586 let html = '<div class="bnuProduct__price bnuProduct__price--minCartValue">'; 3587 if (hasLC) { 3588 html += '<div class="bnuProduct__price price price--card"><ins class="card">' + eur(promoPrice) + '*</ins><img loading="lazy" src="' + cardImg() + '" alt="' + cardAlt() + '"></div>'; 3589 } else { 3590 html += '<span class="bnuProduct__price bnuProduct__price--promo bnuProduct__price--asterisk">' + eur(promoPrice) + "*</span>"; 3591 } 3592 html += '<span class="bnuProduct__price bnuProduct__price--regular">' + eur(regularPrice) + "</span>"; 3593 html += "</div>"; 3594 if (mini) { 3595 const textClass = hasLC ? "bnuLuigisSearch__priceNote bnuLuigisSearch__priceN
3595ote--lc" : "bnuLuigisSearch__priceNote bnuLuigisSearch__priceNote--promo"; 3596 html += '<div class="' + textClass + '">' + promoText + "</div>"; 3597 } 3598 return html; 3599 } 3600 function voucherPercentLabel(fp) { 3601 if (isLv()) { 3602 return "%"; 3603 } 3604 const raw = fp && fp.percentage; 3605 const value = String(Array.isArray(raw) ? raw[0] : raw == null ? "" : raw).trim(); 3606 if (!value || value === "false" || value.toLowerCase() === "undefined") { 3607 return ""; 3608 } 3609 return value.indexOf("%") === -1 ? value + "%" : value; 3610 } 3611 function formatVoucherPrice(product) { 3612 const fp = product.attributes.showFinalPrice[0]; 3613 const lcOnly = !!fp.lcOnly; 3614 const badgeClass = lcOnly ? "bnuProductBadge bnuProductBadge--green" : "bnuProductBadge"; 3615 const pct = voucherPercentLabel(fp); 3616 let html = '<div class="bnuProduct__price bnuLuigisSearch__voucherPrice'; 3617 if (lcOnly) { 3618 html += " bnuLuigisSearch__voucherPrice--lc"; 3619 } 3620 html += '">'; 3621 if (pct) { 3622 html += '<span class="' + badgeClass + '">' + pct + "</span>"; 3623 } 3624 html += "<ins>" + fp.price + " \u20AC</ins>"; 3625 if (lcOnly) { 3626 html += '<img loading="lazy" src="' + cardImg() + '" alt="' + cardAlt() + '">'; 3627 } 3628 html += "<p>" + t("withCode") + ": <strong>" + fp.code + "</strong></p>"; 3629 html += "</div>"; 3630 return html; 3631 } 3632 function formatPriceHtml(product, options) { 3633 const compact = !!(options && options.compact); 3634 const attrs = product.attributes; 3635 let showDiscounts = applyLvEmptyBubbleRules(product); 3636 let html = ""; 3637 let priceGroupClass = ""; 3638 let topWrapClass = ""; 3639 if (!compact) { 3640 let priceLength = 0; 3641 if (attrs.price_old) { 3642 priceLength += String(attrs.price_old).length + String(attrs.price).length; 3643 } 3644 if (attrs.loyal_customer_price) { 3645 priceLength += String(attrs.loyal_customer_price).length; 3646 } 3647 if (attrs.multiQntData) { 3648 priceLength += String(attrs.multiQntData[0].price).length; 3649 } 3650 if (attrs.showFinalPrice) { 3651 priceLength = 22; 3652 } 3653 if (priceLength >= 21) { 3654 priceGroupClass = "wrap"; 3655 } 3656 } 3657 if (attrs.loyal_customer_price && showDiscounts && !compact) { 3658 html += '<div class="bnuProduct__price"><ins class="card">' + eur(attrs.loyal_customer_price) + '</ins><img loading="lazy" src="' + cardImg() + '" alt="' + cardAlt() + '"></div>'; 3659 } 3660 let lcInline = ""; 3661 if (attrs.loyal_customer_price && showDiscounts && compact) { 3662 lcInline = '<ins class="card">' + eur(attrs.loyal_customer_price) + '</ins> <img loading="lazy" src="' + cardImg() + '" alt="' + cardAlt() + '"> '; 3663 } 3664 if (!attrs.multiQntData) { 3665 if (!compact) { 3666 html += '<div class="bnuProduct__price' + (priceGroupClass ? " " + priceGroupClass : "") + '">'; 3667 if (!attrs.isProductsBundle) { 3668 if (attrs.price_old && attrs.price_old != attrs.price && (!attrs.drugType || attrs.drugType[0] === "basic")) { 3669 if (!attrs.hideDiscountBadge) { 3670 html += "<ins>" + eur(attrs.price) + "</ins>"; 3671 html += "<del>" + eur(attrs.price_old) + "</del>"; 3672 html += "</div>"; 3673 } else if (attrs.loyal_customer_price) { 3674 html += '<span class="bnuProductBadge bnuProductBadge--green">%</span>'; 3675 html += '<ins class="card">' + eur(attrs.loyal_customer_price) + "</ins>"; 3676 html += "</div>"; 3677 } else { 3678 html += '<span class="bnuProductBadge">%</span>'; 3679 html += "<ins>" + eur(attrs.price) + "</ins>"; 3680 html += "</div>"; 3681 } 3682 } else { 3683 html += "<span>" + eur(attrs.price) + "</span></div>"; 3684 if (attrs.showFinalPrice) { 3685 html += formatVoucherPrice(product); 3686 } 3687 } 3688 } else if (!attrs.priceColor || attrs.priceColor.length === 0 || attrs.priceColor === "blue") { 3689 html += "<span>" + eur(attrs.price) + "</span></div>"; 3690 } else if (attrs.priceColor === "orange") { 3691 html += "<ins>" + eur(attrs.price) + "</ins></div>"; 3692 } else { 3693 html += '<ins class="card">' + eur(attrs.price) + '</ins><img loading="lazy" src="' + cardImg() + '" alt="' + cardAlt() + '"></div>'; 3694 } 3695 } else { 3696 if (attrs.price_old && attrs.price_old != attrs.price && (!attrs.drugType || attrs.drugType[0] === "basic")) { 3697 if (!attrs.hideDiscountBadge) { 3698 html += '<div class="bnuProduct__price">'; 3699 html += lcInline; 3700 html += "<ins>" + eur(attrs.price) + "</ins>"; 3701 html += "<del>" + eur(attrs.price_old) + "</del>"; 3702 html += "</div>"; 3703 } else if (attrs.loyal_customer_price) { 3704 html += '<div class="bnuProduct__price">'; 3705 html += '<span class="bnuProductBadge bnuProductBadge--green">%</span>'; 3706 html += '<ins class="card">' + eur(attrs.loyal_customer_price) + "</ins>"; 3707 html += "</div>"; 3708 } else { 3709 html += '<div class="bnuProduct__price">'; 3710 html += '<span class="bnuProductBadge">%</span>'; 3711 html += lcInline; 3712 html += "<ins>" + eur(attrs.price) + "</ins>"; 3713 html += "</div>"; 3714 } 3715 } else if (attrs.showEmptyPromoBubble && !attrs.showFinalPrice) { 3716 html += '<div class="bnuProduct__price">'; 3717 html += '<span class="bnuProductBadge">%</span>'; 3718 html += lcInline; 3719 html += "<ins>" + eur(attrs.price) + "</ins>"; 3720 html += "</div>"; 3721 } else { 3722 html += '<div class="bnuProduct__price">' + lcInline + "<span>" + eur(attrs.price) + "</span></div>"; 3723 } 3724 if (attrs.showFinalPrice) { 3725 html += formatVoucherPrice(product); 3726 } 3727 } 3728 } else { 3729 if (!compact) { 3730 priceGroupClass = "wrap"; 3731 html += '<div class="bnuProduct__price wrap">'; 3732 html += "<span>" + eur(attrs.price) + "</span>"; 3733 html += "<ins>" + attrs.multiQntData[0].price + " \u20AC</ins>"; 3734 html += "</div>";
3735 html += '<p class="bnuLuigisSearch__priceNote bnuLuigisSearch__priceNote--promo">' + t("buyingMoreThan") + attrs.multiQntData[0].qnt + "</p>"; 3736 } else { 3737 if (lcInline) { 3738 topWrapClass = "bnuLuigisSearch__productRow--multiQntLC"; 3739 } 3740 html += '<div class="bnuProduct__price">' + lcInline + "<span>" + eur(attrs.price) + "</span>"; 3741 html += '<ins class="bnuLuigisSearch__multiQnt">' + attrs.multiQntData[0].price + " \u20AC</ins></div>"; 3742 html += '<p class="bnuLuigisSearch__priceNote bnuLuigisSearch__priceNote--promo">' + t("buyingMoreThan") + attrs.multiQntData[0].qnt + "</p>"; 3743 } 3744 } 3745 return { html, priceGroupClass, topWrapClass }; 3746 } 3747 function formatCampaignBadges(product) { 3748 const attrs = product.attributes || {}; 3749 let badges = ""; 3750 let specialIcon = ""; 3751 let lcText = ""; 3752 let badgesCount = 0; 3753 if (!attrs.badges) { 3754 return { badges, specialIcon, lcText, badgesCount }; 3755 } 3756 window.jQuery.each(attrs.badges, function() { 3757 window.jQuery.each(this, function(idx, val) { 3758 if (idx === "lcText") { 3759 lcText = val; 3760 } else if (idx === "specialIcon") { 3761 specialIcon = val; 3762 } else if (idx === "campaignSticker") { 3763 badges += '<div class="bnuCampaignSticker"><img src="' + val + '" alt="' + (this.badgeText || "") + '"></div>'; 3764 badgesCount += 2; 3765 } else if (this.badgeText) { 3766 badges += textBadge(this.badgeText, this.badgeColor); 3767 badgesCount++; 3768 } 3769 }); 3770 }); 3771 return { badges, specialIcon, lcText, badgesCount }; 3772 } 3773 function formatDiscountBadges(product, options) { 3774 const compact = !!(options && options.compact); 3775 const attrs = product.attributes; 3776 let showDiscounts = shouldShowDiscounts(product); 3777 let discounts = ""; 3778 let discountsCount = 0; 3779 let redDiscountSmall = ""; 3780 if (isLv() && attrs.showFinalPrice) { 3781 showDiscounts = false; 3782 attrs.showEmptyPromoBubble = true; 3783 if (attrs.showFinalPrice[0].lcOnly) { 3784 attrs.loyal_customer_price_amount = true; 3785 } 3786 } 3787 if (isLv() && (!attrs.drugType || attrs.drugType[0] === "basic") && attrs.price_old) { 3788 showDiscounts = false; 3789 attrs.hideDiscountBadge = true; 3790 attrs.showEmptyPromoBubble = true; 3791 } 3792 const minCart = hasMinCartPromo(product); 3793 if (minCart.hasPromo) { 3794 let discountPercent = 0; 3795 if (minCart.isLC && attrs.loyal_customer_price_amount) { 3796 const basePrice = attrs.price_old ? parseFloat(attrs.price_old) : parseFloat(attrs.price_amount); 3797 discountPercent = Math.round( 3798 (basePrice - parseFloat(attrs.loyal_customer_price_amount)) * 100 / basePrice 3799 ); 3800 discounts += discountBadge( 3801 "-" + discountPercent + '<span>%*</span><img src="' + cardImg() + '" alt="' + cardAlt() + '" class="card">', 3802 ["bnuProductBadge--card"] 3803 ); 3804 } else if (attrs.price_old || attrs.discount_price_percentage) { 3805 discountPercent = attrs.discount_price_percentage ? attrs.discount_price_percentage : Math.round( 3806 (parseFloat(attrs.price_old) - parseFloat(attrs.price_amount)) * 100 / parseFloat(attrs.price_old) 3807 ); 3808 discounts += discountBadge("-" + discountPercent + "<span>%*</span>"); 3809 } 3810 discountsCount++; 3811 return { discounts, discountsCount }; 3812 } 3813 if (showDiscounts) { 3814 if (attrs.discount_price_lc_percentage) { 3815 let label = ""; 3816 if (!compact || !isLv()) { 3817 label = "-" + attrs.discount_price_lc_percentage; 3818 } 3819 discounts += discountBadge( 3820 label + '<span>%</span><img src="' + cardImg() + '" alt="' + cardAlt() + '" class="card">', 3821 ["bnuProductBadge--card"] 3822 ); 3823 redDiscountSmall = "bnuLuigisSearch__badge--small"; 3824 discountsCount++; 3825 } else if (attrs.loyal_customer_price_amount) { 3826 const lcDiscountPercentage = Math.round( 3827 100 - Number(attrs.loyal_customer_price_amount) / (attrs.price_amount / 100) 3828 ); 3829 let label = ""; 3830 if (!compact) {
3831 label = "-" + lcDiscountPercentage; 3832 } else if (!isLv()) { 3833 label = "-" + lcDiscountPercentage; 3834 } 3835 discounts += discountBadge( 3836 label + '<span>%</span><img src="' + cardImg() + '" alt="' + cardAlt() + '" class="card">', 3837 ["bnuProductBadge--card"] 3838 ); 3839 redDiscountSmall = "bnuLuigisSearch__badge--small"; 3840 discountsCount++; 3841 } 3842 if (!compact) { 3843 if (attrs.discount_price_percentage) { 3844 const bubble = attrs.bubbleSettings; 3845 if (!bubble || bubble.length === 0 || bubble[0] && bubble[0].voucherAsPromoBubble === "show") { 3846 const discountPercentage = attrs.discount_price_percentage; 3847 const discountText = discountPercentage == 100 ? "" : "-" + discountPercentage; 3848 discounts += discountBadge( 3849 discountText + "<span>%</span>", 3850 redDiscountSmall ? [redDiscountSmall] : [] 3851 ); 3852 discountsCount++; 3853 } else if (bubble && bubble[0] && bubble[0].voucherAsPromoBubble === "showDiscountAmount") { 3854 discounts += discountBadge( 3855 "-" + bubble[0].voucherAsPromoBubbleSaveAmount + "<span> \u20AC</span>", 3856 ["bnuLuigisSearch__badge--small"] 3857 ); 3858 discountsCount++; 3859 } 3860 } 3861 } else if (attrs.discount_price_lc_percentage || attrs.loyal_customer_price_amount) { 3862 } else if (attrs.discount_price_percentage) { 3863 const bubble = attrs.bubbleSettings; 3864 if (!bubble || bubble.length === 0 || bubble[0] && bubble[0].voucherAsPromoBubble === "show") { 3865 const discountPercentage = attrs.discount_price_percentage; 3866 const discountText = discountPercentage == 100 ? "" : "-" + discountPercentage; 3867 discounts += discountBadge(discountText + "<span>%</span>"); 3868 discountsCount++; 3869 } else if (bubble && bubble[0] && bubble[0].voucherAsPromoBubble === "showDiscountAmount") { 3870 discounts += discountBadge( 3871 "-" + bubble[0].voucherAsPromoBubbleSaveAmount + "<span> \u20AC</span>", 3872 ["bnuLuigisSearch__badge--small"] 3873 ); 3874 discountsCount++; 3875 } 3876 } else if (attrs.loyal_customer_price) { 3877 if (isLv() && attrs.lowestPriceDiscount) { 3878 discounts += discountBadge( 3879 attrs.lowestPriceDiscount + "<span>%</span>", 3880 ["bnuProductBadge--green"] 3881 ); 3882 } else { 3883 discounts += discountBadge("<span>%</span>", ["bnuProductBadge--green"]); 3884 } 3885 discountsCount++; 3886 } else if (isLv() && attrs.showFinalPrice && attrs.showFinalPrice[0].lcOnly) { 3887 discounts += discountBadge( 3888 (attrs.lowestPriceDiscount || "") + "<span>%</span>", 3889 ["bnuProductBadge--green"] 3890 ); 3891 discountsCount++; 3892 } else if (isLv() && attrs.lowestPriceDiscount) { 3893 discounts += discountBadge(attrs.lowestPriceDiscount + "<span>%</span>"); 3894 discountsCount++; 3895 } 3896 } else { 3897 if (!compact) { 3898 if (attrs.loyal_customer_price_amount) { 3899 if (isLv() && attrs.lowestPriceDiscount) { 3900 discounts += discountBadge( 3901 attrs.lowestPriceDiscount[0] + "<span>%</span>", 3902 ["bnuProductBadge--green"] 3903 ); 3904 } else { 3905 discounts += discountBadge("<span>%</span>", ["bnuProductBadge--green"]); 3906 } 3907 } else if (isLv() && attrs.showFinalPrice && attrs.showFinalPrice[0].lcOnly) { 3908 if (attrs.lowestPriceDiscount) { 3909 discounts += discountBadge( 3910 attrs.lowestPriceDiscount[0] + "<span>%</span>", 3911 ["bnuProductBadge--green"] 3912 ); 3913 } 3914 } else if (attrs.showOnlyPercentageIcon || attrs.showEmptyPromoBubble) { 3915 if (isLv() && attrs.lowestPriceDiscount) { 3916 discounts += discountBadge( 3917 attrs.lowestPriceDiscount[0] + "<span>%</span>" 3918 ); 3919 } else { 3920 discounts += discountBadge("<span>%</span>"); 3921 } 3922 } 3923 } else if (attrs.showOnlyPercentageIcon || attrs.showEmptyPromoBubble) { 3924 if (attrs.loyal_customer_price) { 3925 if (isLv() && attrs.lowestPriceDiscount) { 3926 discounts += discountBadge( 3927 attrs.lowestPriceDiscount + "<span>%</span>", 3928 ["bnuProductBadge--green"] 3929 ); 3930 } else { 3931 discounts += discountBadge("<span>%</span>", ["bnuProductBadge--green"]); 3932 } 3933 } else if (isLv() && attrs.showFinalPrice && attrs.showFinalPrice[0].lcOnly) { 3934 discounts += discountBadge( 3935 (attrs.lowestPriceDiscount || "") + "<span>%</span>", 3936 ["bnuProductBadge--green"] 3937 ); 3938 } else if (isLv() && attrs.lowestPriceDiscount) { 3939 discounts += discountBadge(attrs.lowestPriceDiscount + "<span>%</span>"); 3940 } else { 3941 discounts += discountBadge("<span>%</span>"); 3942 } 3943 discountsCount++; 3944 } 3945 } 3946 return { discounts, discountsCount, redDiscountSmall }; 3947 } 3948 function formatSpecialIcon(icon) { 3949 if (!icon) { 3950 return ""; 3951 } 3952 const iconClass = String(icon.icon || "").replace(/^fa[lr]\s+/, "fa-regular "); 3953 return '<span class="bnuLuigisSearch__specialIcon" style="background-color:' + icon.backgroundColor + '"><i class="' + (iconClass.indexOf("fa-") === 0 ? iconClass : "fa-regular " + iconClass) + '" style="color: ' + icon.color + '" aria-hidden="true"></i></span>'; 3954 } 3955 function formatTopProductData(product) { 3956 const data = { 3957 price: "", 3958 priceGroupClass: "", 3959 badges: "", 3960 specialIcon: "", 3961 lcText: "", 3962 discounts: "", 3963 minCartPromo: "" 3964 }; 3965 if (!product) { 3966 return data; 3967 } 3968 const price = formatPriceHtml(product, { compact: false }); 3969 data.price = price.html; 3970 data.priceGroupClass = price.priceGroupClass; 3971 const campaign = formatCampaignBadges(product); 3972 data.badges = campaign.badges; 3973 data.lcText = campaign.lcText; 3974 data.specialIcon = formatSpecialIcon(campaign.specialIcon); 3975 const discount = formatDiscountBadges(product, { compact: false }); 3976 data.discounts = discount.discounts; 3977 if (campaign.lcText) { 3978 data.discounts += discountBadge( 3979 campaign.lcText + '<img src="' + cardImg() + '" alt="' + cardAlt() + '" class="card">', 3980 ["bnuProductBadge--card"] 3981 ); 3982 } 3983 const minCart = formatMinCartPromo(product, { mini: false }); 3984 data.minCartPromo = minCart.html; 3985 if (minCart.hasPromo) { 3986 data.price = formatMinCartValuePrice(product, { mini: false }); 3987 } 3988 return data; 3989 } 3990 function formatProductData(product) { 3991 const data = { 3992 price: "", 3993 topWrapClass: "", 3994 badges: "", 3995 specialIcon: "", 3996 LCText: "", 3997 discounts: "", 3998 minCartPromo: "" 3999 }; 4000 if (!product) { 4001 return data; 4002 } 4003 const price = formatPriceHtml(product, { compact: true }); 4004 data.price = price.html; 4005 data.topWrapClass = price.topWrapClass; 4006 const campaign = formatCampaignBadges(product); 4007 data.badges = campaign.badges; 4008 data.LCText = campaign.lcText; 4009 data.specialIcon = campaign.specialIcon; 4010 const discount = formatDiscountBadges(product, { compact: true }); 4011 data.discounts = discount.discounts; 4012 let discountsCount = discount.discountsCount; 4013 const badgesCount = campaign.badgesCount; 4014 if (campaign.lcText) { 4015 let showLCText = true; 4016 if (isMobile()) { 4017 showLCText = badgesCount + discountsCount < 3; 4018 } 4019 if (showLCText) { 4020 data.discounts += discountBadge( 4021 campaign.lcText + '<img src="' + cardImg() + '" alt="' + cardAlt() + '" class="card">', 4022 ["bnuProductBadge--card"] 4023 ); 4024 discountsCount++; 4025 } 4026 } 4027 if (campaign.specialIcon) { 4028 let showSpecialIc = true; 4029 if (isMobile()) { 4030 showSpecialIc = false;
4031 if (badgesCount === 0 && discountsCount <= 2) { 4032 showSpecialIc = true; 4033 } 4034 if (badgesCount === 1 && discountsCount <= 1) { 4035 showSpecialIc = true; 4036 } 4037 if (discountsCount === 0) { 4038 showSpecialIc = true; 4039 } 4040 } 4041 if (showSpecialIc) { 4042 data.discounts += formatSpecialIcon(campaign.specialIcon); 4043 discountsCount++; 4044 } 4045 } 4046 const minCart = formatMinCartPromo(product, { mini: true }); 4047 data.minCartPromo = ""; 4048 if (minCart.hasPromo) { 4049 data.price = formatMinCartValuePrice(product, { mini: true }); 4050 } 4051 return data; 4052 } 4053 function applyTemplate(templateId, data) { 4054 const el = document.getElementById(templateId); 4055 if (!el) { 4056 return ""; 4057 } 4058 return el.innerHTML.replace(/{{(\w*)}}/g, function(v, key) { 4059 return Object.prototype.hasOwnProperty.call(data, key) ? data[key] : ""; 4060 }); 4061 } 4062 function processHtml(query, results) { 4063 const $2 = window.jQuery; 4064 const c = cfg(); 4065 const searchUrl = c.searchUrl || ""; 4066 let items = results.filter((v) => v.type === "item"); 4067 const queries = results.filter((v) => v.type === "query"); 4068 const brands = results.filter((v) => v.type === "brand"); 4069 const categories = results.filter((v) => v.type === "category"); 4070 const articles = results.filter((v) => v.type === "article"); 4071 const pharmacies = results.filter((v) => v.type === "pharmacy"); 4072 const pages = results.filter((v) => v.type === "page"); 4073 let textResultsCount = queries.length + brands.length + categories.length; 4074 let resultsHeight = 0; 4075 let activeTabSwitch = " active"; 4076 let tabsCount = 0; 4077 let itemsTab = ""; 4078 let categoriesTabBtn = ""; 4079 let brandsTabBtn = ""; 4080 let pharmaciesTabBtn = ""; 4081 let articlesTabBtn = ""; 4082 let pagesTabBtn = ""; 4083 if (items.length > 0) { 4084 itemsTab += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="products" type="button">' + t("products") + "</button>"; 4085 activeTabSwitch = ""; 4086 tabsCount++; 4087 } 4088 if (categories.length > 0) { 4089 categoriesTabBtn += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="categories" type="button">' + t("categories") + "</button>"; 4090 activeTabSwitch = ""; 4091 tabsCount++; 4092 resultsHeight += 20; 4093 } 4094 if (brands.length > 0) { 4095 brandsTabBtn += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="brands" type="button">' + t("brands") + "</button>"; 4096 activeTabSwitch = ""; 4097 tabsCount++; 4098 resultsHeight += 20; 4099 } 4100 if (pharmacies.length > 0) { 4101 pharmaciesTabBtn += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="pharmacies" type="button">' + t("pharmacies") + "</button>"; 4102 activeTabSwitch = ""; 4103 tabsCount++; 4104 resultsHeight += 20; 4105 } 4106 if (articles.length > 0) { 4107 articlesTabBtn += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="articles" type="button">' + t("articles") + "</button>"; 4108 activeTabSwitch = ""; 4109 tabsCount++; 4110 resultsHeight += 20; 4111 } 4112 if (pages.length > 0) { 4113 pagesTabBtn += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="pages" type="button">' + t("pages") + "</button>"; 4114 activeTabSwitch = ""; 4115 tabsCount++; 4116 resultsHeight += 20; 4117 } 4118 let tabsContainer = '<div class="bnuLuigisSearch__tabs' + (tabsCount > 3 ? " bnuLuigisSearch__tabs--extended" : "") + '">'; 4119 tabsContainer += itemsTab + categoriesTabBtn + brandsTabBtn + pharmaciesTabBtn + articlesTabBtn + pagesTabBtn + "</div>"; 4120 let queriesResults = ""; 4121 if (queries.length > 0) { 4122 queriesResults = '<div class="bnuLuigisSearch__results queriesResults">'; 4123 queriesResults += "<h4>" + t("results") + "</h4><ul>"; 4124 $2.each(queries, function() { 4125 const metaData = '<meta itemprop="position" content="' + this["data-autocomplete-id"] + '"><meta itemprop="url" content="' + this.attributes.title.toString() + '"><meta itemprop="type" content="query"><meta itemprop="target" content="' + this.attributes.title.toString() + '">'; 4126 const wrapMetaData = 'data-type="query" data-result-id="' + this["data-autocomplete-id"] + '" data-autocomplete-id="' + this["data-autocomplete-id"] + '" data-autocomplete-value="' + this.attributes.title.toString() + '" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem http://schema.org/SearchAction"'; 4127 queriesResults += '<li class="query"><a href="' + searchUrl + this.url + '" ' + wrapMetaData + ">" + this.attributes.title.toString() + metaData + "</a></li>"; 4128 resultsHeight += 28; 4129 }); 4130 queriesResults += "</ul></div>"; 4131 }
4132 let categoriesResults = ""; 4133 if (categories.length > 0) { 4134 categoriesResults = '<div class="bnuLuigisSearch__results categoriesResults">'; 4135 categoriesResults += "<h4>" + (query.length > 0 ? t("categories") : t("categoriesTop")) + "</h4><ul>"; 4136 $2.each(categories, function() { 4137 const metaData = '<meta itemprop="position" content="' + this["data-autocomplete-id"] + '"><meta itemprop="url" content="' + this.url + '"><meta itemprop="title" content="' + this.attributes.title.toString() + '"><meta itemprop="type" content="category">'; 4138 const wrapMetaData = 'data-type="category" data-result-id="' + this["data-autocomplete-id"] + '" data-autocomplete-id="' + this["data-autocomplete-id"] + '" data-autocomplete-value="' + this.attributes.title.toString() + '" itemprop="itemListElement" itemscope itemtype="http://schema.org/CollectionPage http://schema.org/ListItem"'; 4139 if (this.url != "paikesekaitse") { 4140 categoriesResults += '<li><a href="' + this.url + '" ' + wrapMetaData + ">" + metaData + "<span>" + this.attributes.title.toString() + "</span></a></li>"; 4141 resultsHeight += 28; 4142 } 4143 }); 4144 categoriesResults += "</ul></div>"; 4145 } 4146 let brandsResults = ""; 4147 if (brands.length > 0) { 4148 brandsResults = '<div class="bnuLuigisSearch__results brandsResults">'; 4149 brandsResults += "<h4>" + (query.length ? t("brands") : t("brandsTop")) + "</h4><ul>"; 4150 $2.each(brands, function() { 4151 const metaData = '<meta itemprop="position" content="' + this["data-autocomplete-id"] + '"><meta itemprop="url" content="' + this.url + '"><meta itemprop="title" content="' + this.attributes.title.toString() + '"><meta itemprop="type" content="brand">'; 4152 const wrapMetaData = 'data-type="brand" data-result-id="' + this["data-autocomplete-id"] + '" data-autocomplete-id="' + this["data-autocomplete-id"] + '" data-autocomplete-value="' + this.attributes.title.toString() + '" itemprop="itemListElement" itemscope itemtype="http://schema.org/Brand http://schema.org/ListItem"'; 4153 brandsResults += '<li><a href="' + this.url + '" ' + wrapMetaData + ">" + metaData + "<span>" + this.attributes.title.toString() + "</span></a></li>"; 4154 resultsHeight += 28; 4155 }); 4156 brandsResults += "</ul></div>"; 4157 } 4158 let pharmaciesResults = ""; 4159 if (pharmacies.length > 0) { 4160 pharmaciesResults = '<div class="bnuLuigisSearch__results pharmaciesResults">'; 4161 pharmaciesResults += "<h4>" + t("pharmacies") + "</h4><ul>"; 4162 $2.each(pharmacies, function() { 4163 const metaData = '<meta itemprop="position" content="' + this["data-autocomplete-id"] + '"><meta itemprop="url" content="' + this.url + '"><meta itemprop="title" content="' + this.attributes.address.toString() + '"><meta itemprop="type" content="pharmacy">'; 4164 pharmaciesResults += '<li><a href="' + this.url + '">' + metaData + "<span>" + this.attributes.address.toString() + "</span></a></li>"; 4165 resultsHeight += 28; 4166 }); 4167 pharmaciesResults += "</ul></div>"; 4168 } 4169 let articlesResults = ""; 4170 let articlesResultsDesktop = ""; 4171 if (articles.length > 0) { 4172 articlesResults = '<div class="bnuLuigisSearch__results articlesResults">'; 4173 articlesResults += "<h4>" + t("articles") + "</h4><ul>"; 4174 $2.each(articles, function() { 4175 const metaData = '<meta itemprop="position" content="' + this["data-autocomplete-id"] + '"><meta itemprop="url" content="' + this.url + '"><meta itemprop="title" content="' + this.attributes.title.toString() + '"><meta itemprop="type" content="article">'; 4176 articlesResults += '<li><a href="' + this.url + '">' + metaData + "<span>" + this.attributes.title.toString() + "</span></a></li>"; 4177 resultsHeight += 28; 4178 }); 4179 articlesResults += "</ul></div>"; 4180 if (query.length > 5 || resultsHeight < 348) { 4181 articlesResultsDesktop = articlesResults; 4182 textResultsCount++; 4183 } 4184 } 4185 let pagesResults = ""; 4186 let pagesResultsDesktop = ""; 4187 if (pages.length > 0) { 4188 pagesResults = '<div class="bnuLuigisSearch__results pagesResults">'; 4189 pagesResults += "<h4>" + t("pages") + "</h4><ul>"; 4190 $2.each(pages, function() { 4191 const metaData = '<meta itemprop="position" content="' + this["data-autocomplete-id"] + '"><meta itemprop="url" content="' + this.url + '"><meta itemprop="title" content="' + this.attributes.title.toString() + '"><meta itemprop="type" content="page">'; 4192 pagesResults += '<li><a href="' + this.url + '">' + metaData + "<span>" + this.attributes.title.toString() + "</span></a></li>"; 4193 resultsHeight += 28; 4194 }); 4195 pagesResults += "</ul></div>"; 4196 if (query.length > 5 || resultsHeight < 348) { 4197 pagesResultsDesktop = pagesResults; 4198 } 4199 } 4200 let activeTabContent = ""; 4201 let productTabActive = " active"; 4202 if (items.length < 1 && isMobile()) { 4203 activeTabContent = " active"; 4204 productTabActive = ""; 4205 }
4206 let categoriesTab = ""; 4207 if (categories.length > 0) { 4208 categoriesTab = '<div id="tab_categories" class="bnuLuigisSearch__tabPanel' + activeTabContent + '">' + categoriesResults + "</div>"; 4209 activeTabContent = ""; 4210 } 4211 let brandsTab = ""; 4212 if (brands.length > 0) { 4213 brandsTab = '<div id="tab_brands" class="bnuLuigisSearch__tabPanel' + activeTabContent + '">' + brandsResults + "</div>"; 4214 activeTabContent = ""; 4215 } 4216 let pharmaciesTab = ""; 4217 if (pharmacies.length > 0) { 4218 pharmaciesTab = '<div id="tab_pharmacies" class="bnuLuigisSearch__tabPanel' + activeTabContent + '">' + pharmaciesResults + "</div>"; 4219 activeTabContent = ""; 4220 } 4221 let articlesTab = ""; 4222 if (articles.length > 0) { 4223 articlesTab = '<div id="tab_articles" class="bnuLuigisSearch__tabPanel' + activeTabContent + '">' + articlesResults + "</div>"; 4224 activeTabContent = ""; 4225 } 4226 let pagesTab = ""; 4227 if (pages.length > 0) { 4228 pagesTab = '<div id="tab_pages" class="bnuLuigisSearch__tabPanel' + activeTabContent + '">' + pagesResults + "</div>"; 4229 } 4230 if (c.reorderRxItems) { 4231 const itemsRX = []; 4232 items = $2.map(items, function(item) { 4233 if (item.attributes.drugType == "RX") { 4234 itemsRX.push(item); 4235 return null; 4236 } 4237 return item; 4238 }); 4239 if (itemsRX.length) { 4240 items = $2.merge(items, itemsRX); 4241 } 4242 } 4243 let topProductTemplate = ""; 4244 if (items.length > 0) { 4245 const formatted = formatTopProductData(items[0]); 4246 const topProductTitle = items[0].attributes.titleRaw || items[0].attributes.title; 4247 const metaData = 'data-type="item" data-result-id="1" data-autocomplete-id="1" data-autocomplete-value="' + items[0].attributes.titleRaw + '" itemprop="itemListElement" itemscope itemtype="http://schema.org/Product http://schema.org/ListItem" data-title="' + items[0].attributes.titleRaw + '" data-price="' + items[0].attributes.price_amount + '"'; 4248 topProductTemplate = applyTemplate("template-topProduct", { 4249 topProduct_discounts: formatted.discounts, 4250 topProduct_badges: formatted.badges, 4251 topProduct_url: items[0].url, 4252 topProduct_title: topProductTitle, 4253 topProduct_image: items[0].attributes.image_link, 4254 topProduct_price: formatted.price, 4255 topProduct_minCartPromo: formatted.minCartPromo || "", 4256 topProduct_LCText: formatted.lcText, 4257 topProduct_specialIcon: formatted.specialIcon, 4258 topProduct_priceGroupClass: formatted.priceGroupClass, 4259 topProduct_position: 1, 4260 topProduct_rawTitle: items[0].attributes.titleRaw, 4261 topProduct_rawPrice: items[0].attributes.price_amount, 4262 topProduct_metaData: metaData, 4263 topProduct_addToCart: formatAddToCartHtml(items[0]) 4264 }); 4265 } else { 4266 topProductTemplate = '<p class="bnuLuigisSearch__empty">' + t("noProducts") + "</p>"; 4267 } 4268 let products = ""; 4269 if (items.length > 0) { 4270 $2.each(items, function(idx) { 4271 if (idx == 0 && !isMobile()) { 4272 return; 4273 } 4274 if (items[idx].type != "item") { 4275 return; 4276 } 4277 const formatted = formatProductData(items[idx]); 4278 const productTitle = items[idx].attributes.titleRaw || items[idx].attributes.title; 4279 const resIdx = idx + 1; 4280 const metaData = 'data-type="item" data-result-id="' + resIdx + '" data-autocomplete-id="' + resIdx + '" data-autocomplete-value="' + items[idx].attributes.titleRaw + '" itemprop="itemListElement" itemscope itemtype="http://schema.org/Product http://schema.org/ListItem" data-title="' + items[idx].attributes.titleRaw + '" data-price="' + items[idx].attributes.price_amount + '"'; 4281 products += applyTemplate("template-product", { 4282 product_discounts: formatted.discounts, 4283 product_badges: formatted.badges, 4284 product_url: items[idx].url, 4285 product_title: productTitle, 4286 product_image: items[idx].attributes.image_link, 4287 product_price: formatted.price, 4288 product_minCartPromo: formatted.minCartPromo || "", 4289 product_LCText: formatted.LCText, 4290 product_specialIcon: formatted.specialIcon, 4291 product_metaData: metaData, 4292 product_rawTitle: items[idx].attributes.titleRaw, 4293 product_rawPrice: items[idx].attributes.price_amount, 4294 product_position: items[idx]["data-autocomplete-id"], 4295 topWrap_class: formatted.topWrapClass, 4296 product_addToCart: formatAddToCartHtml(items[idx], "list") 4297 }); 4298 }); 4299 } else { 4300 products = '<p class="bnuLuigisSearch__empty">' + t("noProducts") + "</p>"; 4301 } 4302 if (items.length == 1 && !isMobile()) { 4303 products += '<p class="bnuLuigisSearch__empty">' + t("noMoreProducts") + "</p>"; 4304 } 4305 return applyTemplate("template-searchBar", { 4306 query, 4307 queriesResults, 4308 categoriesResults, 4309 brandsResults, 4310 pagesResults, 4311 pagesResultsDesktop, 4312 topProduct: topProductTemplate, 4313 products, 4314 articlesResults, 4315 articlesResultsDesktop, 4316 pharmaciesResults, 4317 tabsContainer, 4318 brandsTab, 4319 articlesTab, 4320 pharmaciesTab, 4321 categoriesTab, 4322 pagesTab, 4323 productTabActive 4324 }); 4325 } 4326 var LB_ITEM_FILTERS = { status: "active", isHidden: "no" }; 4327 function LBInitAutocomplete() { 4328 const c = cfg(); 4329 if (typeof window.AutoComplete !== "function") { 4330 return; 4331 } 4332 window.ac = window.AutoComplete( 4333 { 4334 Layout: "heromobile", 4335 TrackerId: c.publicKey, 4336 Locale: "en", 4337 ShowHeroProduct: true, 4338 Translations: { 4339 en: { 4340 showAllTitle: t("showAll"), 4341 placeholderText: t("placeholder") 4342 } 4343 }, 4344 MinChars: 0, 4345 Types: [ 4346 { 4347 type: "item", 4348 name: "Produktai", 4349 recommendHeroName: "Top produktai", 4350 heroName: "Top produktas", 4351 recommendName: "Top produktas", 4352 size: 7, 4353 recommend: { size: 7, filters: LB_ITEM_FILTERS }, 4354 defaultFilters: LB_ITEM_FILTERS 4355 }, 4356 { 4357 type: "category", 4358 name: t("categories"), 4359 size: 3, 4360 recommend: { size: 3 } 4361 }, 4362 { 4363 type: "brand", 4364 name: t("brands"), 4365 size: 3, 4366 recommend: { size: 3 } 4367 }, 4368 { 4369 type: "article", 4370 name: t("articles"), 4371 size: 1 4372 }, 4373 { 4374 type: "pharmacy", 4375 name: t("pharmacies"), 4376 size: 1, 4377 defaultFilters: { openStatus: "opened" } 4378 }, 4379 { 4380 type: "page", 4381 name: t("pages"), 4382 size: 1 4383 }, 4384 { 4385 type: "query", 4386 size: 6, 4387 name: "U\u017Eklausos", 4388 recommend: { size: 6 } 4389 } 4390 ], 4391 AfterRender: function(query, results) { 4392 const $2 = window.jQuery; 4393 if (results && results.length !== 0) { 4394 this.OpenEmpty(processHtml(query, results)); 4395 } 4396 if (results && results.length === 0) { 4397 this.OpenEmpty( 4398 applyTemplate("template-searchBar--noResults", { query }) 4399 ); 4400 } 4401 if ($2(".luigi-ac-heromobile-input-wrap .allResultsBtn").length == 0) { 4402 $2(".luigi-ac-heromobile-input-wrap").append( 4403 '<a class="allResultsBtn" href="' + c.searchUrl + $2("#headerSearch").val() + '">' + t("allResults") + ' <i class="fa-regular fa-chevron-right" aria-hidden="true"></i></a>' 4404 ); 4405 } 4406 }, 4407 BeforeOpen: function() { 4408 const $2 = window.jQuery; 4409 $2("#headerSearch_listbox").hide(); 4410 if (isMobile()) { 4411 $2("body").css("overflow-y", "clip"); 4412 } 4413 }, 4414 AfterClose: function() { 4415 const $2 = window.jQuery; 4416 if (isMobile()) { 4417 $2("body").css("overflow-y", "auto"); 4418 } 4419 } 4420 }, 4421 "#headerSearch" 4422 ); 4423 } 4424 function isLuigisCartActionTarget(target) { 4425 const btn = target && target.closest ? target.closest(".bind-addToCart") : null; 4426 return !!(btn && btn.closest && btn.closest(".bnuLuigisSearch")); 4427 } 4428 function bindLuigisSearchBarEvents() { 4429 document.addEventListener( 4430 "mousedown", 4431 function(e) { 4432 if (isLuigisCartActionTarget(e.target)) { 4433 e.preventDefault(); 4434 e.stopPropagation(); 4435 } 4436 }, 4437 true 4438 ); 4439 document.addEventListener( 4440 "click", 4441 function(e) { 4442 const btn = e.target && e.target.closest && e.target.closest(".bind-addToCart"); 4443 if (!btn || !btn.closest(".bnuLuigisSearch")) { 4444 return; 4445 } 4446 e.preventDefault(); 4447 e.stopPropagation(); 4448 if (window.jQuery) { 4449 window.jQuery(btn).trigger("trigger:addToCart"); 4450 } 4451 }, 4452 true 4453 ); 4454 const $2 = window.jQuery; 4455 if (!$2) { 4456 return; 4457 } 4458 $2(document).on("click", ".bnuLuigisSearch__tabs .bnuLuigisSearch__tab", function() { 4459 $2(this).siblings(".active").removeClass("active"); 4460 $2(this).addClass("active"); 4461 $2(".bnuLuigisSearch__tabPanel.active").removeClass("active"); 4462 $2("#tab_" + $2(this).data("type")).addClass("active"); 4463 }); 4464 $2(document).on("keyup", ".luigi-ac-heromobile-input", function() { 4465 const c = cfg(); 4466 $2(".allResultsBtn").attr("href", c.searchUrl + $2("#headerSearch").val()); 4467 }); 4468 } 4469 window.LBInitAutocomplete = LBInitAutocomplete; 4470 window.applyTemplate = applyTemplate; 4471 bindLuigisSearchBarEvents(); 4472 4473 // www/application/resources/js/main.js 4474 var tabsInstance = null; 4475 var swipersInstance = null; 4476 var addedToCartDialogInstance = null; 4477 var productSearchInstance = null;
4478 function init() { 4479 const scroll = new BodyScrollDirection(); 4480 scroll.init(); 4481 tabsInstance = new Tabs(); 4482 tabsInstance.init(); 4483 const inputs = new Inputs(); 4484 inputs.init(); 4485 productSearchInstance = new ProductSearch(); 4486 productSearchInstance.init(); 4487 const forms = new Forms(); 4488 forms.init(); 4489 const dialog = new Dialog(); 4490 dialog.init(); 4491 window.benuDialog = dialog; 4492 initDatepickerDialogSupport(); 4493 addedToCartDialogInstance = new AddedToCartDialog(); 4494 addedToCartDialogInstance.init(); 4495 window.benuAddedToCartDialog = addedToCartDialogInstance; 4496 const promoBar = new PromoBar({ 4497 onClosed: () => scroll.update() 4498 }); 4499 promoBar.init(); 4500 initPromoSliders(); 4501 const productNav = new ProductNav(); 4502 productNav.init(); 4503 const productNavA11y = new ProductNavAccessibility(); 4504 productNavA11y.init(); 4505 swipersInstance = new SwiperInit(); 4506 swipersInstance.init(); 4507 initHeroCarouselSkeletonHosts(); 4508 const headerMenu = new HeaderMenu(); 4509 headerMenu.init(); 4510 initFooterMenuAccordions(); 4511 initSideCart(); 4512 initCartGifts(); 4513 initTooltips(); 4514 initSocialVideos(); 4515 } 4516 window.benuReinitSwipers = function() { 4517 if (swipersInstance) { 4518 swipersInstance.initSwipersFromDataAttributes(); 4519 } else { 4520 swipersInstance = new SwiperInit(); 4521 swipersInstance.init(); 4522 } 4523 }; 4524 window.benuReinitTabs = function() { 4525 if (tabsInstance) { 4526 tabsInstance.refresh(); 4527 } else { 4528 tabsInstance = new Tabs(); 4529 tabsInstance.init(); 4530 } 4531 }; 4532 window.benuReinitProductSearch = function() { 4533 if (productSearchInstance) { 4534 productSearchInstance.refresh(); 4535 } else { 4536 productSearchInstance = new ProductSearch(); 4537 productSearchInstance.init(); 4538 } 4539 }; 4540 if (document.readyState === "loading") { 4541 document.addEventListener("DOMContentLoaded", init, { once: true }); 4542 } else { 4543 init(); 4544 } 4545})(); 4546</script>
4546<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet"> 4547 <link href="/application/styles/all.min.css?v=1257" rel="stylesheet" /> 4548 <link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css" rel="stylesheet"> 4549 <link href="https://cdn.jsdelivr.net/npm/swiper@12/swiper-bundle.min.css" rel="stylesheet"> 4550 <link href="/application/sources/css/main.css?v=1257" rel="stylesheet" /><link rel="preload" href="/application/styles/all.min.css?v=1257" as="style" /> 4551 <link rel="preload" href="/application/sources/css/main.css?v=1257" as="style" /> 4552 <link rel="preload" href="/core/assets/fontawesome5/webfonts/fa-regular-400.woff2?v=1257" as="font" /> 4553 <link rel="preload" href="/core/assets/fontawesome5/webfonts/fa-light-300.woff2?v=1257" as="font" /> 4554 <link rel="preload" href="/core/assets/fontawesome5/webfonts/fa-solid-900.woff2?v=1257" as="font" /> 4555 <link nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" rel="preload" href="https://kit.fontawesome.com/bf11807ccc.js" as="script" /><meta name="facebook-domain-verification" content="vs7hfqkrzrpdfaj2vr95hn59mk0dzo" />
4556<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
4556
4557<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 4558 window.OneSignal = window.OneSignal || []; 4559 OneSignal.push(function() { 4560 OneSignal.init({ 4561 appId: "922689d7-de94-4730-8651-7d2e9f956a87", 4562 }); 4563 }); 4564</script>
4564
4565<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" async src="https://scripts.luigisbox.tech/LBX-269228.js"></script>
4565
4566<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" type="text/javascript" async="" src="https://www.benu.lv/v/scripts/velw.min.js"></script>
4566 <!--
4566<script src="https://unpkg.com/@livechat/[email protected]"></script>
4566 --> 4567 <!--
4567<script src="https://unpkg.com/@livechat/[email protected]/dist/customer-sdk.js" data-cookieconsent="ignore"></script>
4567 --> 4568 <link nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" data-cookieconsent="ignore" rel="preload" href="chatWidget/customer-sdk.js" as="script"> 4569 <!-- Start of LiveChat (www.livechatinc.com) code --> 4570
4570<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" type="text/javascript" data-cookieconsent="ignore"> 4571 4572 function getPrefillClientInfo() { 4573 } 4574 4575 4576 // start(); 4577 localStorage.setItem('logedin', 'No'); 4578 4579 // window.__lc = window.__lc || {}; 4580 // window.__lc.license = 14269137; 4581 // window.__lc.group = 4; 4582 // // window.__lc.visitor = [[]]; 4583 // 4584 // var LC_API = LC_API || {}; 4585 // LC_API.on_after_load = function() { 4586 // updateChatInfo(); 4587 // } 4588 4589 // var lcParamsBase = [{"name":"Loged in","value":"No"},{"name":"App name","value":"benu-eshop-lv"},[]]; 4590 // window.__lc.params = [{"name":"Loged in","value":"No"},{"name":"App name","value":"benu-eshop-lv"},[]]; 4591 4592 // (function() { 4593 // var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true; 4594 // lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.livechatinc.com/tracking.js'; 4595 // var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s); 4596 // })(); 4597 4598 4599 </script>
4599 4600
4600<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 4601 setTimeout(() => { 4602 if (typeof LiveChatWidget === 'undefined') { 4603 initiateLivechatWidget(4); 4604 4605 LiveChatWidget.on('ready', function() { 4606 LiveChatWidget.on('visibility_changed', onVisibilityChanged); 4607 }); 4608 } 4609 }, 500) 4610 </script>
4610 4611 <noscript><a href="https://www.livechatinc.com/chat-with/14269137/" rel="nofollow">Chat with us</a>, powered by <a href="https://www.livechatinc.com/?welcome" rel="noopener nofollow" target="_blank">LiveChat</a></noscript> 4612 <!-- End of LiveChat code --> 4613 4614 4615<!-- <noscript> 4616 <a href="https://www.livechatinc.com/chat-with/14269137/" rel="nofollow">Chat with us</a>, 4617 powered by <a href="https://www.livechatinc.com/?welcome" rel="noopener nofollow" target="_blank">LiveChat</a> 4618 </noscript> --> 4619 <!-- End of LiveChat code --> 4620 4621
4621<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" data-cookieconsent="ignore"> 4622 function initiateLivechatWidget(lcGroup = null ) { 4623 window.__lc = window.__lc || {}; 4624 window.__lc.license = 14269137; 4625 window.__lc.group = 4; 4626 if (lcGroup) { 4627 window.__lc.group = lcGroup; 4628 } 4629 window.__lc.chat_between_groups = false; 4630 4631 window.__lc.visitor = [[]]; 4632 4633 var LC_API = LC_API || {}; 4634 LC_API.on_after_load = function() { 4635 updateChatInfo(); 4636 getPrefillClientInfo(); 4637 } 4638 4639 4640 var lcParamsBase = [{"name":"Loged in","value":"No"},{"name":"App name","value":"benu-eshop-lv"},[]]; 4641 window.__lc.params = [{"name":"Loged in","value":"No"},{"name":"App name","value":"benu-eshop-lv"},[]]; 4642 4643 ;(function(n,t,c){function i(n){return e._h?e._h.apply(null,n):e._q.push(n)}var e={_q:[],_h:null,_v:"2.0",on:function(){i(["on",c.call(arguments)])},once:function(){i(["once",c.call(arguments)])},off:function(){i(["off",c.call(arguments)])},get:function(){if(!e._h)throw new Error("[LiveChatWidget] You can't use getters before load.");return i(["get",c.call(arguments)])},call:function(){i(["call",c.call(arguments)])},init:function(){var n=t.createElement("script");n.async=!0,n.type="text/javascript",n.src="https://cdn.livechatinc.com/tracking.js",t.head.appendChild(n)}};!n.__lc.asyncInit&&e.init(),n.LiveChatWidget=n.LiveChatWidget||e}(window,document,[].slice)) 4644 } 4645 4646 function setChatActive() { 4647 ajaxHelper({ 4648 'className': 'LiveChat', 4649 'methodName': 'setUserChatActive', 4650 'args': {}, 4651 'callback': function(){ 4652 console.log('ACTIVE'); 4653 } 4654 }); 4655 } 4656 4657 function setChatInactive() { 4658 ajaxHelper({ 4659 'className': 'LiveChat', 4660 'methodName': 'setUserChatInactive', 4661 'args': {}, 4662 'callback': function(){ 4663 console.log('INACTIVE'); 4664 } 4665 }); 4666 } 4667 4668 setTimeout(()=> { 4669 LiveChatWidget.on('customer_status_changed', (data) => { 4670 switch(data.status) { 4671 case 'chatting': 4672 setChatActive(); 4673 break; 4674 case 'browsing': 4675 setChatInactive(); 4676 break; 4677 default: 4678 break; 4679 } 4680 }); 4681 4682 LiveChatWidget.on('ready', function(){ 4683 var cd = LiveChatWidget.get('customer_data'); 4684 console.log({'LC js status': cd.status}); 4685 4686 if ('inactive' == 'active') { 4687 if (cd.status != 'chatting') { 4688 setChatInactive(); 4689 } 4690 } 4691 4692 if ('inactive' == 'inactive') { 4693 if (cd.status == 'chatting') { 4694 setChatActive(); 4695 } 4696 } 4697 4698 updateChatInfo(); 4699 getPrefillClientInfo(); 4700 }); 4701 4702 4703 }, 1000) 4704 4705 function feedCartDataToChat(cartData){ 4706 if (typeof cartData == 'undefined') { 4707 return false; 4708 } 4709 if (typeof lcParamsBase != 'array') { 4710 var lcParamsBase = []; 4711 // return false; 4712 } 4713 var params = lcParamsBase.slice(); 4714 if (typeof cartData['cartType'] != 'undefined') { 4715 params.push({'name': 'Cart type', 'value': cartData['cartType']}); 4716 } else { 4717 params.push({'name': 'Cart type', 'value': ''}); 4718 } 4719 if (typeof cartData['sumRaw'] != 'undefined') { 4720 params.push({'name': 'Cart value', 'value': cartData['sumRaw']}); 4721 } else { 4722 params.push({'name': 'Cart value', 'value': 0}); 4723 } 4724 4725 if (typeof cartData['cartType'] != 'undefined') { 4726 if (cartData['cartType'] == 'RX') { 4727 tagCurrentChatRx(); 4728 } 4729 } 4730 4731 var cartItemNo = 1;
4732 if (typeof cartData['quickLines'] != 'undefined') { 4733 $.each(cartData['quickLines'], function(index, pr) { 4734 if (pr['drugType']) { 4735 pr['name'] = '['+pr['drugType']+']' + ((pr['prescriptionNo'] ? ' [' + pr['prescriptionNo'] +'] ' : '')) + pr['name']; 4736 } 4737 params.push({ 4738 'name': 'Cart item '+(cartItemNo++), 4739 'value': pr['name'] + ' x ' + pr['qnt'] 4740 }); 4741 }); 4742 } 4743 4744 if (typeof LC_API != 'undefined') { 4745 if (typeof LC_API.update_custom_variables == 'function') { 4746 LC_API.update_custom_variables(params); 4747 } else { 4748 console.log('failed to load function'); 4749 } 4750 } 4751 } 4752 4753 function updateChatInfo() 4754 { 4755 setTimeout(function(){ 4756 var cData = {}; 4757 // cData['chatID'] = LC_API.get_chat_id(); 4758 // console.log(cData['chatID']); 4759 4760 var chatData = LiveChatWidget.get('chat_data'); 4761 cData['chatID'] = chatData.chatId; 4762 cData['threadID'] = chatData.threadId; 4763 cData['agentsAvailable'] = LC_API.agents_are_available(); 4764 4765 var customer = LiveChatWidget.get('customer_data'); 4766 cData['customerID'] = customer.id; 4767 ajaxHelper({ 4768 'className': 'LiveChat', 4769 'methodName': 'updateChatInfo', 4770 'args': {'data': cData}, 4771 'callback': function(){ 4772 } 4773 }); 4774 4775 }, 2000); 4776 } 4777 4778 function tagCurrentChatRx() 4779 { 4780 ajaxHelper({ 4781 'className': 'LiveChat', 4782 'methodName': 'tagCurrentChatRx', 4783 'callback': function(response){ 4784 console.log(response); 4785 } 4786 }); 4787 } 4788 4789 function requestInitialChatCategories() 4790 { 4791 ajaxHelper({ 4792 'methodName': 'requestInitialChatCategories', 4793 'args': null 4794 }); 4795 } 4796 4797 function requestRxStepInChat() 4798 { 4799 ajaxHelper({ 4800 'methodName': 'requestRxStepInChat', 4801 'args': null 4802 }); 4803 } 4804 4805 function onVisibilityChanged(data) { 4806 if (data.visibility == 'maximized' || data == 'maximized') { 4807 $('.smallPopup > .bnPopup').removeClass('active'); 4808 } else { 4809 $('.smallPopup:visible').removeClass('liveChatOpen'); 4810 $('#chat-widget-container').removeClass('smallPopupOpen'); 4811 } 4812 4813 } 4814 4815 $(document).on('click', '.bind-openChat', function(e){ 4816 e.preventDefault(); 4817 LC_API.open_chat_window(); 4818 }); 4819 4820 $(document).on('click', '.bind-openChatWithGroups', function(e){ 4821 e.preventDefault(); 4822 LC_API.open_chat_window(); 4823 requestInitialChatCategories(); 4824 }); 4825 4826 $(document).on('click', '.bind-openChatRxStep', function(e){ 4827 e.preventDefault(); 4828 LC_API.open_chat_window(); 4829 requestRxStepInChat(); 4830 }); 4831 4832 </script>
4832 4833 4834
4834<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 4835 const _trackerSettings = {}; 4836 _trackerSettings.facebook = false; 4837 _trackerSettings.gtm = true; 4838 _trackerSettings.matomo = false; 4839 _trackerSettings.facebookAPI = false; 4840 _trackerSettings.debug = false; 4841</script>
4841 4842 4843
4843<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" type="text/plain" data-cookieconsent="statistics">
vendor: 414 bytes, lines 4843-4848
4843 4844 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 4845 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 4846 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 4847 })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); 4848 ga('create', '
4848UA-40271748-3
vendor: 24 bytes, lines 4848-4849
4848', 'auto'); 4849
4849</script>
4849 4850 4851 4852
4852<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" type="text/plain" data-cookieconsent="statistics"> 4853 window._mtm = window._mtm || []; 4854 window._mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'}); 4855 var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; 4856 g.type='text/javascript'; g.async=true; 4857 g.src='https://matomo.binfra.cloud/js/container_8otKUkDs.js'; 4858 s.parentNode.insertBefore(g,s); 4859 </script>
4859 4860 4861
4862<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 4863 var eshopEvent_visibleProducts = {}; 4864</script>
vendor: 1 bytes, line 4864
4864
4865<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 4866 var eshopEvent_duplicateProducts = []; 4867</script>
vendor: 1 bytes, line 4867
4867
4868<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 4869 var eshopEvent_visiblePromotions = {}; 4870 var seenCarouselProducts = []; 4871 var seenBanners = []; 4872</script>
vendor: 1 bytes, line 4872
4872
4873<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 4874 var eshopEvent_duplicatePromotions = []; 4875</script>
vendor: 1 bytes, line 4875
4875
4876<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 4877 var forcedBanner = 0; 4878 var orderSent = false; 4879</script>
4879
4879<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 4880 $(document).ready(function() { 4881 $.reject(); 4882 4883 function isOldBrowser() { 4884 var userAgent = navigator.userAgent; 4885 4886 // Define regex patterns for old browsers 4887 var ieOld = /MSIE\s([0-9]{1,}[\.0-9]{0,})|Trident\/7.0.*rv:([0-9]{2,})/i; 4888 var firefoxOld = /Firefox\/([0-9]{1,}[\.0-9]{0,})/i; 4889 var chromeOld = /Chrome\/([0-9]{1,}[\.0-9]{0,})/i; 4890 var safariOld = /Version\/([0-9]{1,}[\.0-9]{0,}) Safari\//i; 4891 4892 // Test user agent against each regex 4893 var ieMatch = userAgent.match(ieOld); 4894 if (ieMatch) { 4895 var ieVersion = parseFloat(ieMatch[1] || ieMatch[2]); 4896 if (ieVersion < 19) { 4897 return true; 4898 } 4899 } 4900 4901 var firefoxMatch = userAgent.match(firefoxOld); 4902 if (firefoxMatch) { 4903 var firefoxVersion = parseFloat(firefoxMatch[1]); 4904 if (firefoxVersion < 52) { 4905 return true; 4906 } 4907 } 4908 4909 var chromeMatch = userAgent.match(chromeOld); 4910 if (chromeMatch) { 4911 var chromeVersion = parseFloat(chromeMatch[1]); 4912 if (chromeVersion < 52) { 4913 return true; 4914 } 4915 } 4916 4917 var safariMatch = userAgent.match(safariOld); 4918 if (safariMatch) { 4919 var safariVersion = parseFloat(safariMatch[1]); 4920 if (safariVersion < 15.4) { 4921 return true; 4922 } 4923 } 4924 4925 // Add additional browser checks if needed 4926 4927 // If no old browsers are detected, return false 4928 return false; 4929 } 4930 4931 var goodBrowser = false; 4932 var customerBrowsersRegex = /Benu/; 4933 4934 if (customerBrowsersRegex.test(navigator.userAgent)) { 4935 goodBrowser = true; 4936 $('html').addClass('BENUAPP'); 4937 } else if (typeof browsersREGEX != 'undefined') { 4938 if (browsersREGEX.test(navigator.userAgent)) { 4939 goodBrowser = true; 4940 } 4941 } 4942 4943 if (isOldBrowser()) { 4944 goodBrowser = false; 4945 } 4946 4947 if (goodBrowser == false) { 4948 var shouldShowOldBrowser = !navigator.cookieEnabled 4949 || (typeof getCookie === 'function' && getCookie('oldBrowser') == ''); 4950 4951 if ( 4952 shouldShowOldBrowser 4953 && typeof window.benuDialog !== 'undefined' 4954 && typeof window.benuDialog.open === 'function' 4955 ) { 4956 var oldBrowserDialog = window.benuDialog.open('oldBrowser'); 4957 4958 if (navigator.cookieEnabled && oldBrowserDialog) { 4959 oldBrowserDialog.addEventListener('close', function() { 4960 var cookieExpirationDate = new Date(); 4961 cookieExpirationDate.setMonth(cookieExpirationDate.getMonth() + 1); 4962 document.cookie = 'oldBrowser=true; expires=' 4963 + cookieExpirationDate.toUTCString() 4964 + '; path=/'; 4965 }, { once: true }); 4966 } 4967 } 4968 } 4969 }); 4970 4971 featureFlags = {"test_s1":true,"SBNU-7970-V3":true,"BNU-SPRT-5543":true}; 4972 </script>
4972 4973 4974 <!-- Sitelink search box --> 4975 4976 <link rel="stylesheet" href="https://cdn.luigisbox.tech/autocomplete.css" /> 4977 <link rel="dns-prefetch" href="//live.luigisbox.tech"> 4978 4979 4980
4980<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" type="text/javascript">(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.eu01.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={agentID:"538529248",accountID:"3970332",trustKey:"3970332",xpid:"Vw8AUVVQChAEUVlRDgYAUVE=",licenseKey:"NRJS-6b855eae5d0ce7335f6",applicationID:"458397775",browserID:"538529248"};;/*! For license information please see nr-loader-spa-1.322.0.min.js.LICENSE.txt */ 4981(()=>{var e={8122(e,t,r){"use strict";r.d(t,{a:()=>i});var n=r(944);function i(e,t){try{if(!e||"object"!=typeof e)return(0,n.R)(3);if(!t||"object"!=typeof t)return(0,n.R)(4);const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),s=0===Object.keys(r).length?e:r;for(let a in s)if(void 0!==e[a])try{if(null===e[a]){r[a]=null;continue}Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=Array.from(new Set([...e[a],...t[a]])):e[a]instanceof Map||e[a]instanceof Set||e[a]instanceof Date||e[a]instanceof RegExp?r[a]=e[a]:"object"==typeof e[a]&&null!==t[a]&&"object"==typeof t[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){r[a]||(0,n.R)(1,e)}return r}catch(e){(0,n.R)(2,e)}}},2555(e,t,r){"use strict";r.d(t,{f:()=>a});var n=r(384),i=r(8122);const s={beacon:n.NT.beacon,errorBeacon:n.NT.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0};function a(e){try{return!!e.licenseKey&&!!e.errorBeacon&&!!e.applicationID}catch(e){return!1}}r.d(t,["D",0,e=>(0,i.a)(e,s)])},7699(e,t,r){"use strict";var n=r(860);const i={[n.K7.logging]:!0,[n.K7.genericEvents]:!0,[n.K7.jserrors]:!0,[n.K7.ajax]:!0};r.d(t,["It",0,1e6,"KC",0,i,"qh",0,"SESSION_ERROR"])},9324(e,t,r){"use strict";r.d(t,["A",0,"@newrelic/rrweb","x",0,"1.322.0"])},981(e,t,r){"use strict";r.d(t,["R",0,{AJAX:"AjaxRequest",PA:"PageAction",UA:"UserAction",BP:"BrowserPerformance",WS:"WebSocket",SPV:"SecurityPolicyViolation",JSE:"JavaScriptError",LOG:"Log",PVE:"PageView",PVT:"PageViewTiming",SR:"SessionReplay",ST:"SessionTrace",BI:"BrowserInteraction"}])},9752(e,t,r){"use strict";const n="newrelic-iframe-",i=n+"timing-update",s=n+"api",a=n+"api-response",o=n+"vitals-update",c=n+"ajax";r.d(t,["$8",0,o,"Gi",0,a,"KU",0,c,"Pl",0,n,"cS",0,s,"cr",0,i])},6154(e,t,r){"use strict";var n=r(1863);const i="undefined"!=typeof window&&!!window.document,s="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),a=i?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),o=Boolean("hidden"===a?.document?.visibilityState),c=""+a?.location,d=/iPad|iPhone|iPod/.test(a.navigator?.userAgent),u=d&&"undefined"==typeof SharedWorker,l=(()=>{const e=a.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),f=Date.now()-(0,n.t)();r.d(t,["OF",0,d,"RI",0,i,"WN",0,f,"bv",0,s,"gm",0,a,"lR",0,l,"m",0,c,"mw",0,o,"sb",0,u,"zk",0,()=>{const e=a?.performance?.getEntriesByType?.("navigation")?.[0];if(e&&e.responseStart>0&&e.responseStart<a.performance.now())return e}])},7295(e,t,r){"use strict";r.d(t,{Xv:()=>a,gX:()=>i,iW:()=>s});var n=[];function i(e){if(!e||s(e))return!1;if(0===n.length)return!0;if("*"===n[0].hostname)return!1;for(var t=0;t<n.length;t++){var r=n[t];if(r.hostname.test(e.hostname)&&r.pathname.test(e.pathname))return!1}return!0}function s(e){return void 0===e.hostname}function a(e){if(n=[],e&&e.length)for(var t=0;t<e.length;t++){let r=e[t];if(!r)continue;if("*"===r)return void(n=[{hostname:"*"}]);0===r.indexOf("http://")?r=r.substring(7):0===r.indexOf("https://")&&(r=r.substring(8));const i=r.indexOf("/");let s,a;i>0?(s=r.substring(0,i),a=r.substring(i)):(s=r,a="*");let[c]=s.split(":");n.push({hostname:o(c),pathname:o(a,!0)})}}function o(e,t=!1){const r=e.replace(/[.+?^${}()|[\]\\]/g,e=>"\\"+e).replace(/\*/g,".*?");return new RegExp((t?"^":"")+r+"$")}},3241(e,t,r){"use strict";r.d(t,{W:()=>i});var n=r(6154);function i(e={}){try{n.gm.dispatchEvent(new CustomEvent("newrelic",{detail:e}))}catch(e){}}},1687(e,t,r){"use strict";r.d(t,{Ak:()=>o,Ze:()=>d,x3:()=>c});var n=r(3241),i=r(3606),s=r(860),a=r(2646);function o(e,t){if(!e)return;const r={staged:!1,priority:s.P3[t]||0};
4981e.runtime.drainRegistry.get(t)||e.runtime.drainRegistry.set(t,r)}function c(e,t){if(!e)return;const r=e.runtime.drainRegistry;r&&(r.get(t)&&r.delete(t),l(e,t,!1),r.size&&u(e))}function d(e,t="feature",r=!1){if(e){if(!e.runtime.drainRegistry.get(t)||r)return l(e,t);e.runtime.drainRegistry.get(t).staged=!0,u(e)}}function u(e){if(!e)return;const t=Array.from(e.runtime.drainRegistry);t.every(([e,t])=>t.staged)&&(t.sort((e,t)=>e[1].priority-t[1].priority),t.forEach(([t])=>{e.runtime.drainRegistry.delete(t),l(e,t)}))}function l(e,t,r=!0){if(!e)return;const s=e.ee,o=i.i.handlers;if(s&&!s.aborted&&s.backlog&&o){if((0,n.W)({type:"lifecycle",name:"drain",feature:t}),r){const e=s.backlog[t],r=o[t];if(r){for(let t=0;e&&t<e.length;++t)f(e[t],r);Object.entries(r).forEach(([e,t])=>{Object.values(t||{}).forEach(t=>{t[0]?.on&&t[0].context()instanceof a.y&&!t[0].listeners(e).includes(t[1])&&t[0].on(e,t[1])})})}}s.isolatedBacklog||delete o[t],s.backlog[t]=null,s.emit("drain-"+t,[])}}function f(e,t){var r=e[1];Object.values(t[r]||{}).forEach(t=>{var r=e[0];if(t[0]===r){var n=t[1],i=e[3],s=e[2];n.apply(i,s)}})}},7836(e,t,r){"use strict";var n=r(384),i=r(8990),s=r(2646),a=r(5607);const o="nr@context:".concat(a.W),c=function e(t,r){var n={},a={},u={},l=!1;try{l=16===r.length&&d.initializedAgents?.[r]?.runtime.isolatedBacklog}catch(e){}var f={on:p,addEventListener:p,removeEventListener:function(e,t){var r=n[e];if(!r)return;for(var i=0;i<r.length;i++)r[i]===t&&r.splice(i,1)},emit:function(e,r,n,i,s){!1!==s&&(s=!0);if(c.aborted&&!i)return;t&&s&&t.emit(e,r,n);var o=h(n);g(e).forEach(e=>{e.apply(o,r)});var d=v()[a[e]];d&&d.push([f,e,r,o]);return o},get:m,listeners:g,context:h,buffer:function(e,t){const r=v();if(t=t||"feature",f.aborted)return;Object.entries(e||{}).forEach(([e,n])=>{a[n]=t,t in r||(r[t]=[])})},abort:function(){f._aborted=!0,Object.keys(f.backlog).forEach(e=>{delete f.backlog[e]})},isBuffering:function(e){return!!v()[a[e]]},debugId:r,backlog:l?{}:t&&"object"==typeof t.backlog?t.backlog:{},isolatedBacklog:l};return Object.defineProperty(f,"aborted",{get:()=>{let e=f._aborted||!1;return e||(t&&(e=t.aborted),e)}}),f;function h(e){return e&&e instanceof s.y?e:e?(0,i.I)(e,o,()=>new s.y(o)):new s.y(o)}function p(e,t){n[e]=g(e).concat(t)}function g(e){return n[e]||[]}function m(t){return u[t]=u[t]||e(f,t)}function v(){return f.backlog}}(void 0,"globalEE"),d=(0,n.Zm)();d.ee||(d.ee=c),r.d(t,["P",0,o,"ee",0,c])},2646(e,t,r){"use strict";r.d(t,{y:()=>n});class n{constructor(e){this.contextId=e}}},9908(e,t,r){"use strict";r.d(t,{d:()=>n,p:()=>i});var n=r(7836).ee.get("handle");function i(e,t,r,i,s){s?(s.buffer([e],i),s.emit(e,t,r)):(n.buffer([e],i),n.emit(e,t,r))}},3606(e,t,r){"use strict";r.d(t,{i:()=>s});var n=r(9908);s.on=a;var i=s.handlers={};function s(e,t,r,s){a(s||n.d,i,e,t,r)}function a(e,t,r,i,s){s||(s="feature"),e||(e=n.d);var a=t[s]=t[s]||{};(a[r]=a[r]||[]).push([e,i])}},3878(e,t,r){"use strict";function n(e,t){return{capture:e,passive:!1,signal:t}}function i(e,t,r=!1,i){window.addEventListener(e,t,n(r,i))}function s(e,t,r=!1,i){document.addEventListener(e,t,n(r,i))}r.d(t,{DD:()=>s,jT:()=>n,sp:()=>i})},5607(e,t,r){"use strict";const n=(0,r(9566).bz)();r.d(t,["W",0,n])},9566(e,t,r){"use strict";r.d(t,{LA:()=>a,ZF:()=>o,bz:()=>s,el:()=>c});var n=r(6154);function i(e,t){return e?15&e[t]:16*Math.random()|0}function s(){const e=n.gm?.crypto||n.gm?.msCrypto;let t,r=0;return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint8Array(30))),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("").map(e=>"x"===e?i(t,r++).toString(16):"y"===e?(3&i()|8).toString(16):e).join("")}function a(e){const t=n.gm?.crypto||n.gm?.msCrypto;let r,s=0;t&&t.getRandomValues&&(r=t.getRandomValues(new Uint8Array(e)));const a=[];for(var o=0;o<e;o++)a.push(i(r,s++).toString(16));return a.join("")}function o(){return a(16)}function c(){return a(32)}},2614(e,t,r){"use strict";r.d(t,["BB",0,18e5,"Wt",0,"NRBA_SESSION::","g",0,{OFF:0,FULL:1,ERROR:2},"iL",0,{SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},"tS",0,{STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},"wk",0,144e5])},733(e,t,r){"use strict";function n(e,t){return function(e){let t=2166136261;for(let r=0;r<e.length;r++)t^=e.charCodeAt(r),t=Math.imul(t,16777619);return(t>>>0).toString(16).padStart(8,"0")}("".concat(String(e),":").concat(String(t)))}r.d(t,{Y:()=>n})},1863(e,t,r){"use strict";function n(){return Math.floor(performance.now())}r.d(t,{t:()=>n})},9119(e,t,r){"use strict";r.d(t,{L:()=>s});var n=/([^?#]*)[^#]*(#[^?]*|$).*/,i=/([^?#]*)().*/;function s(e,t){return e?e.replace(t?n:i,"$1$2"):e}},7485(e,t,r){"use strict";r.d(t,{D:()=>i});var n=r(6154);function i(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{const t=new URL(e,location.href),r={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(":")),sameOrigin:t.protocol===n.gm?.location?.protocol&&t.host===n.gm?.location?.host};return r.port&&""!==r.port||("http:"===t.protocol&&(r.port="80"),"https:"===t.protocol&&(r.port="443")),r.pathname&&""!==r.pathname?r.pathname.startsWith("/")||(r.pathname="/".concat(r.pathname)):r.pathname="/",r}catch(e){return{}}}},7866(e,t,r){"use strict";r.d(t,["Nc",0,/^\s*at Function code \(Function code:\d+:\d+\)\s*/i,"cn",0,/^\s*(?:([^@]*)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i,"fL",0,/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,"h3",0,/function (.+?)\s*\(/,"hB",0,/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i])},944(e,t,r){"use strict";r.d(t,{R:()=>i});var n=r(3241);function i(e,t){"function"==typeof console.debug&&(console.debug("New Relic Warning: https://github.com/newrelic/newrelic-browser-agent/blob/main/docs/warning-codes.md#".concat(e),t),(0,n.W)({drained:null,type:"data",name:"warn",feature:"warn",data:{code:e,secondary:t}}))}},8990(e,t,r){"use strict";r.d(t,{I:()=>i});var n=Object.prototype.hasOwnProperty;function i(e,t,r){if(n.call(e,t))return e[t];var i=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}return e[t]=i,i}},6389(e,t,r){"use strict";function n(e,t=500,r={}){const n=r?.leading||!1;let i;return(...r)=>{n&&void 0===i&&(e.apply(this,r),i=setTimeout(()=>{i=clearTimeout(i)},t)),n||(clearTimeout(i),i=setTimeout(()=>{e.apply(this,r)},t))}}function i(e){let t=!1;return(...r)=>{t||(t=!0,e.apply(this,r))}}r.d(t,{J:()=>i,s:()=>n})},1910(e,t,r){"use strict";r.d(t,{i:()=>s});var n=r(944);const i=new Map;function s(...e){return e.every(e=>{if(i.has(e))return i.get(e);const t="function"==typeof e?e.toString():"",r=t.includes("[native code]"),s=t.includes("nrWrapper");return r||s||(0,n.R)(64,e?.name||t),i.set(e,r),r})}},3304(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(7836);function i(e){try{return JSON.stringify(e,(()=>{const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r}})())??""}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}return""}}},9232(e,t,r){"use strict";r.d(t,["f",0,{MFE:"MFE",BA:"BA"}])},7560(e,t,r){"use strict";r.d(t,{N:()=>a,j:()=>c});var n=r(9119),i=r(944);const s=(0,r(6389).J)(e=>(0,i.R)(80,e));function a(e){if(!Array.isArray(e?.assets)||!e.assets.length)return;
4981const t=e.assets.map(o).filter(Boolean);return t.length?{assets:t,scripts:t.filter(e=>e.isScript)}:void 0}function o(e){if(!e||"object"!=typeof e)return;const{matcher:t,type:r}=e;let i="string"==typeof t&&t.endsWith(".js");return void 0!==r&&(!function(e){return"script"===e||"asset"===e}(r)?s(r):i=function(e){return"script"===e}(r)),a=t,"[object RegExp]"===Object.prototype.toString.call(a)?{pattern:t,test:e=>(t.lastIndex=0,t.test((0,n.L)(e))),isScript:i}:"string"==typeof t&&t.length>0?{pattern:t,test:e=>(0,n.L)(e).includes(t),isScript:i}:void s(t);var a}function c(e,t,{scriptsOnly:r=!1}={}){if(!e||!t)return!1;return(r?e.scripts:e.assets).some(e=>e.test(t))}},5718(e,t,r){"use strict";r.d(t,{xo:()=>T,AZ:()=>v,cI:()=>g,Qr:()=>A,QL:()=>y});var n=r(6154),i=r(1863),s=r(9119),a=r(7866);class o{dom=new c;performance=new c;constructor(e){this.url=e,this.claimedBy=new Set}get script(){const e=Math.max(this.dom.start,this.performance.end);return{start:e,end:Math.max(this.dom.end,this.performance.end,e)}}}class c{start=0;end=0;value=void 0}function d(e=()=>{},t){return{get:()=>void 0!==t?t:e(),set:e=>{t=e}}}let u;try{u=v(y())[0]}catch(e){u=v(e)[0]}const l=new Map;let f=[];const h=new WeakMap;function p(e){let t=h.get(e);return t||(t={weighedAssetUrls:new Set,recordManifestScriptWindow:(t,r)=>{t&&(e.scriptStart=e.scriptStart>0?Math.min(e.scriptStart,t):t),r&&(e.scriptEnd=e.scriptEnd>0?Math.max(e.scriptEnd,r):r)}},h.set(e,t)),t}function g(e){return l.get(e)}function m(e){const t=g(e);
4981if(t)return t;const r=new o(e);if(l.set(e,r),l.size>1e3){const e=l.keys().next().value;l.delete(e)}return r}if(n.gm.MutationObserver&&n.gm.document){new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{if("SCRIPT"===e.nodeName&&e.src){const t=m((0,s.L)(e.src));t.dom.start=(0,i.t)(),t.dom.value=e;const r=()=>{t.dom.end=(0,i.t)()};["load","error"].forEach(t=>e.addEventListener(t,r,{once:!0}))}})})}).observe(n.gm.document,{childList:!0,subtree:!0})}if(n.gm.PerformanceObserver?.supportedEntryTypes.includes("resource")){new PerformanceObserver(e=>{e.getEntries().forEach(e=>{if((e=>"script"===e.initiatorType||["link","fetch"].includes(e.initiatorType)&&(0,s.L)(e.name).endsWith(".js"))(e)){const t=m((0,s.L)(e.name));t.performance.start=Math.floor(e.startTime),t.performance.end=Math.floor(e.responseEnd),t.performance.value=e}if(!f.length)return;const t=[];f.forEach(({test:r,addedAt:n},s)=>{(r(e)||(0,i.t)()-n>1e4)&&t.push(s)}),f=f.filter((e,r)=>!t.includes(r))})}).observe({type:"resource",buffered:!0})}function v(e){if(!e||"string"!=typeof e)return[];const t=new Set,r=e.split("\n");for(const e of r){const r=e.match(a.cn)||e.match(a.hB)||e.match(a.fL);if(r&&r[2])t.add((0,s.L)(r[2]));else{const r=e.match(/\(([^)]+\.js):\d+:\d+\)/)||e.match(/^\s+at\s+([^\s(]+\.js):\d+:\d+/);r&&r[1]&&t.add((0,s.L)(r[1]))}}return[...t]}function y(){let e;try{const t=Error.stackTraceLimit;Error.stackTraceLimit=50,e=(new Error).stack,Error.stackTraceLimit=t}catch(t){e=(new Error).stack}return e}function b(e,t){return(0,s.L)(e.name)===t}function E(e,t){e.fetchStart=Math.floor(t.startTime),e.fetchEnd=Math.floor(t.responseEnd),e.asset=t.name,e.type=t.initiatorType,w(e,t)}function w(e,t){const r=(0,s.L)(t.name),{weighedAssetUrls:n}=p(e);n.has(r)||(n.add(r),e.totalWeight=(e.totalWeight||0)+(t.transferSize||0),"blocking"===t.renderBlockingStatus?e.renderBlocking=!0:"non-blocking"===t.renderBlockingStatus&&!0!==e.renderBlocking&&(e.renderBlocking=!1))}function R(e,t,r,n,i){if(w(e,t),"scripts"!==i&&"all"!==i)return;if("all"===i||r.isScript){const r=Math.floor(t.startTime),n=Math.floor(t.responseEnd);e.fetchStart=e.fetchStart>0?Math.min(e.fetchStart,r):r,e.fetchEnd=e.fetchEnd>0?Math.max(e.fetchEnd,n):n}if(r.isScript){const r=g((0,s.L)(t.name));if(r){const t=()=>{const{start:t,end:n}=r.script;p(e).recordManifestScriptWindow(t,n)};t(),!r.dom.end&&r.dom.value&&["load","error"].forEach(e=>r.dom.value.addEventListener(e,t,{once:!0}))}n.resolved||(e.asset=t.name,e.type=t.initiatorType,n.resolved=!0)}}function T(e,t){const r=t?.manifest;if(!r||!r.assets.length)return;const s={resolved:!1},a=new Set(r.assets);(n.gm.performance?.getEntriesByType("resource")||[]).forEach(r=>{const n=[...a].find(e=>e.test(r.name));n&&(R(e,r,n,s,t.timingMethod),a.delete(n))}),a.size&&function(e,t,r,s){n.gm.PerformanceObserver?.supportedEntryTypes?.includes("resource")&&f.push({addedAt:(0,i.t)(),test:n=>{const i=[...t].find(e=>e.test(n.name));return i&&(R(e,n,i,r,s),t.delete(i)),0===t.size}})}(e,a,s,t.timingMethod)}function A(e){const t=e?.id,r={registeredAt:(0,i.t)(),reportedAt:void 0,fetchStart:0,fetchEnd:0,scriptStart:0,scriptEnd:0,asset:void 0,type:"unknown",totalWeight:0,renderBlocking:void 0},a=y();if(!a)return r;const o=n.gm.performance?.getEntriesByType("navigation")?.[0]?.name||"";try{const e=v(a),c=(e.length>1?e.filter(e=>u!==e):e)[0];if(!c)return r;if(o.includes(c))return r.asset=(0,s.L)(o),r.type="inline",r;r.correlation=g(c);const l=r.correlation?.performance.value||n.gm.performance?.getEntriesByType("resource")?.find(e=>b(e,c));if(l)E(r,l);else{(function(e){if(!e||!n.gm.document)return!1;try{const t=n.gm.document.querySelectorAll('link[rel="preload"][as="script"]');for(const r of t)if((0,s.L)(r.href)===e)return!0}catch(e){}return!1})(c)&&(r.asset=c,r.type="preload"),function(e,t){n.gm.PerformanceObserver?.supportedEntryTypes?.includes("resource")&&f.push({addedAt:(0,i.t)(),test:r=>!!b(r,t)&&(E(e,r),!0)})}(r,c)}const h=r.correlation,m=!!t&&!!h?.claimedBy.has(t);h&&t&&h.claimedBy.add(t);const y=()=>{const e=h?.script.start;if(!m||!e)return!1;return r.registeredAt-e>1e4};let w=0,R=0;p(r).recordManifestScriptWindow=(e,t)=>{e&&(w=w>0?Math.min(w,e):e),t&&(R=R>0?Math.max(R,t):t)},Object.defineProperty(r,"scriptStart",d(()=>{const e=y()?r.registeredAt:h?.script.start??r.fetchEnd;return w>0?Math.min(e,w):e})),Object.defineProperty(r,"scriptEnd",d(()=>{const e=y()?r.registeredAt:h?.script.end??r.registeredAt;return R>0?Math.max(e,R):e}))}catch(e){}return r}},5732(e,t,r){"use strict";r.d(t,{$5:()=>m,B5:()=>g,K6:()=>u,M$:()=>
4981o,Ms:()=>d,NG:()=>c,Ux:()=>h,YA:()=>p,yx:()=>l});var n=r(5718),i=r(7560),s=r(9119),a=r(9232);function o(e){return e?.type===a.f.MFE}function c(e,t){if(!y(e,t))return;const r=t.runtime.registeredEntities;return r?.find(t=>t.metadata.target.iframeInterfaceId===e)}function d(e,t){if(!y(e,t))return[];const r=t.runtime.registeredEntities;return r?.filter(t=>String(t.metadata.target.id)===String(e)).map(e=>e.metadata.target)||[]}function u(e,t){if(!y(e,t))return[];const r=t.runtime.registeredEntities,n=(0,s.L)(e),a=r?.filter(t=>{const r=t.metadata.target?.manifest;return r?(0,i.j)(r,e,{scriptsOnly:!1}):!!t.metadata.timings?.asset&&(0,s.L)(t.metadata.timings.asset)===n});return f(a).map(e=>e.metadata.target)}function l(e,t){if(!y(e,t))return[];const r=t.runtime.registeredEntities,n=r?.filter(t=>{const r=t.metadata.target?.manifest;return r?(0,i.j)(r,e,{scriptsOnly:!0}):!!t.metadata.timings?.asset?.endsWith(e)});return f(n).map(e=>e.metadata.target)}function f(e){if(!e?.length)return e||[];const t=new Map,r=[];for(const n of e){const e=n.metadata?.timings?.asset;if(!e){r.push(n);continue}const i="".concat(e,"::").concat(n.metadata?.target?.id),s=t.get(i);if(s){if(s.metadata.target?.blocked&&!n.metadata.target?.blocked){const e=r.indexOf(s);-1!==e&&(r[e]=n),t.set(i,n)}}else t.set(i,n),r.push(n)}return r}function h(e,t){return v(t)?o(e)?e.attributes:t.agentRef.runtime.v2Target.attributes:{}}function p(e,t){return g(e,t)?{"child.id":e.id,"child.type":e.type,...h(void 0,t)}:{}}function g(e,t){return o(e)&&!!v(t)&&t.agentRef.init.api.register.duplicate_data_to_container}function m(e){if(!e?.runtime)return[];if(!y(!0,e)||!e.runtime.registeredEntities?.length)return[e.runtime.v2Target];const t=[];try{var r=(0,n.AZ)((0,n.QL)());let i=r.length-1;for(;r[i];)t.push(...l(r[i--],e))}catch(e){}const i=function(e){const t=new Set,r=[];for(const n of e){const e=n?.instance;t.has(e)||(t.add(e),r.push(n))}return r}(t);return i.length||i.push(e.runtime.v2Target),i}function v(e){return 2===e?.harvestEndpointVersion}function y(e,t){return!!e&&!!t?.init.api.register.enabled}},5289(e,t,r){"use strict";r.d(t,{GG:()=>a,Qr:()=>c,sB:()=>o});var n=r(3878),i=r(6389);function s(){return"undefined"==typeof document||"complete"===document.readyState}function a(e,t){if(s())return e();const r=(0,i.J)(e),a=setInterval(()=>{s()&&(clearInterval(a),r())},500);(0,n.sp)("load",r,t)}function o(e){if(s())return e();(0,n.DD)("DOMContentLoaded",e)}function c(e){if(s())return e();(0,n.sp)("popstate",e)}},384(e,t,r){"use strict";r.d(t,{Zm:()=>c,bQ:()=>u,dV:()=>d,pV:()=>l});var n=r(6154),i=r(1863),s=r(944),a=r(1910);const o={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function c(){return n.gm.NREUM||(n.gm.NREUM={}),void 0===n.gm.newrelic&&(n.gm.newrelic=n.gm.NREUM),n.gm.NREUM}function d(){let e=c();return e.o||(e.o={ST:n.gm.setTimeout,SI:n.gm.setImmediate||n.gm.setInterval,CT:n.gm.clearTimeout,XHR:n.gm.XMLHttpRequest,REQ:n.gm.Request,EV:n.gm.Event,PR:n.gm.Promise,MO:n.gm.MutationObserver,FETCH:n.gm.fetch,WS:n.gm.WebSocket},(0,a.i)(...Object.values(e.o))),e}function u(e,t){let r=c();r.initializedAgents??={},t.initializedAt={ms:(0,i.t)(),date:new Date},r.initializedAgents[e]=t,2===Object.keys(r.initializedAgents).length&&(0,s.R)(69)}function l(){return function(){let e=c();const t=e.info||{};e.info={beacon:o.beacon,errorBeacon:o.errorBeacon,...t}}(),function(){let e=c();const t=e.init||{};e.init={...t}}(),d(),function(){let e=c();const t=e.loader_config||{};e.loader_config={...t}}(),c()}r.d(t,["NT",0,o])},2843(e,t,r){"use strict";r.d(t,{G:()=>s,u:()=>i});var n=r(3878);function i(e,t=!1,r,i){(0,n.DD)("visibilitychange",function(){if(t)return void("hidden"===document.visibilityState&&e());e(document.visibilityState)},r,i)}function s(e,t,r){(0,n.sp)("pagehide",e,t,r)}},8139(e,t,r){"use strict";r.d(t,{u:()=>f});var n=r(7836),i=r(3434),s=r(8990),a=r(6154);const o={},c=a.gm.XMLHttpRequest,d="addEventListener",u="removeEventListener",l="nr@wrapped:".concat(n.P);function f(e,t){var r=function(e){return(e||n.ee).get("events")}(e);if(o[r.debugId]++)return r;o[r.debugId]=1;var f=(0,i.YM)(r,!0,t);function p(e){f.inPlace(e,[d,u],"-",g)}function g(e,t){return e[1]}return"getPrototypeOf"in Object&&(a.RI&&h(document,p),c&&h(c.prototype,p),h(a.gm,p)),r.on(d+"-start",function(e,t){var r=e[1];if(null!==r&&("function"==typeof r||"object"==typeof r)&&"newrelic"!==e[0]){var n=(0,s.I)(r,l,function(){var e={object:function(){if("function"!=typeof r.handleEvent)return;return r.handleEvent.apply(r,arguments)},function:r}[typeof r];return e?f(e,"fn-",null,e.name||"anonymous"):r});this.wrapped=e[1]=n}}),r.on(u+"-start",function(e){e[1]=this.wrapped||e[1]}),r}function h(e,t,...r){let n=e;for(;"object"==typeof n&&!Object.prototype.hasOwnProperty.call(n,d);)n=Object.getPrototypeOf(n);n&&t(n,...r)}},3434(e,t,r){"use strict";r.d(t,{YM:()=>d});var n=r(7836),i=r(5607),s=r(5732);const a="nr@original:".concat(i.W);var o=Object.prototype.hasOwnProperty,c=!1;function d(e,t,r){return e||(e=n.ee),i.inPlace=function(e,t,r,n,s,a){r||(r="");const o="-"===r.charAt(0);for(let c=0;c<t.length;c++){const d=t[c],u=e[d];l(u)||(e[d]=i(u,o?d+r:r,n,d,s,a))}},i.flag=a,i;function i(t,n,i,c,f,h){return l(t)?t:(n||(n=""),nrWrapper[a]=t,function(e,t,r){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach(function(r){Object.defineProperty(t,r,{get:function(){return e[r]},set:function(t){return e[r]=t,t}})}),t}catch(e){u([e],r)}for(var n in e)o.call(e,n)&&(t[n]=e[n])}
4981(t,nrWrapper,e),nrWrapper);function nrWrapper(){var a,o,l,p;let g,m;try{o=this,a=[...arguments],m=h?(0,s.$5)(r):[r?.runtime?.v2Target],l="function"==typeof i?i(a,o):i||{}}catch(t){u([t,"",[a,o,c],l],e)}d(n+"start",[a,o,c,m],l,f);const v=performance.now();let y;try{return p=t.apply(o,a),y=performance.now(),p}catch(e){throw y=performance.now(),d(n+"err",[a,o,e,m],l,f),g=e,g}finally{const e=y-v,t={start:v,end:y,duration:e,isLongTask:e>=50,methodName:c,thrownError:g};t.isLongTask&&d("long-task",[t,o,m],l,f),d(n+"end",[a,o,p,m],l,f)}}}function d(r,n,i,s){if(!c||t){var a=c;c=!0;try{e.emit(r,n,i,t,s)}catch(t){u([t,r,n,i],e)}c=a}}}function u(e,t){t||(t=n.ee);try{t.emit("internal-error",e)}catch(e){}}function l(e){return!(e&&"function"==typeof e&&e.apply&&!e[a])}r.d(t,["Jt",0,a])},9300(e,t,r){"use strict";const n=r(860).K7.ajax;r.d(t,["TZ",0,n,"f5",0,"ajaxRequest.id","mo",0,{NONE:"none",FAILURES:"failures",ALL:"all"}])},3333(e,t,r){"use strict";var n=r(981);const i=r(860).K7.genericEvents,s=[n.R.PA,n.R.UA,n.R.BP];r.d(t,["$v",0,{RESOURCES:"experimental.resources",REGISTER:"register"},"TZ",0,i,"Zp",0,["auxclick","click","copy","keydown","paste","scrollend"],"kd",0,s,"qN",0,["focus","blur"]])},6774(e,t,r){"use strict";const n=r(860).K7.jserrors;r.d(t,["T",0,n])},993(e,t,r){"use strict";const n=r(860).K7.logging;r.d(t,["A$",0,{OFF:0,ERROR:1,WARN:2,INFO:3,DEBUG:4,TRACE:5},"TZ",0,n,"p_",0,{ERROR:"ERROR",WARN:"WARN",INFO:"INFO",DEBUG:"DEBUG",TRACE:"TRACE"}])},3785(e,t,r){"use strict";r.d(t,{R:()=>c,b:()=>d});var n=r(9908),i=r(1863),s=r(860),a=r(3969),o=r(993);function c(e,t,r={},c=o.p_.INFO,d=!0,u,l=(0,i.t)()){(0,n.p)(a.xV,["API/logging/".concat(c.toLowerCase(),"/called")],void 0,s.K7.metrics,e),(0,n.p)("log",[l,t,r,c,d,u],void 0,s.K7.logging,e)}function d(e){return"string"==typeof e&&Object.values(o.p_).some(t=>t===e.toUpperCase().trim())}},3969(e,t,r){"use strict";const n=r(860).K7.metrics;r.d(t,["TZ",0,n,"XG",0,"storeEventMetrics","xV",0,"storeSupportabilityMetrics"])},6630(e,t,r){"use strict";const n=r(860).K7.pageViewEvent;r.d(t,["T",0,n])},782(e,t,r){"use strict";const n=r(860).K7.pageViewTiming;r.d(t,["T",0,n])},6344(e,t,r){"use strict";var n=r(2614);const i=r(860).K7.sessionReplay,s={[n.g.ERROR]:15e3,[n.g.FULL]:3e5,[n.g.OFF]:0}
4981;r.d(t,["Qb",0,{API:"api",RESUME:"resume",SWITCH_TO_FULL:"switchToFull",INITIALIZE:"initialize",PRELOAD:"preload"},"TZ",0,i,"Vh",0,"errorDuringReplay","_s",0,{DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},"bc",0,{RESET:{message:"Session was reset",sm:"Reset"},IMPORT:{message:"Recorder failed to import",sm:"Import"},TOO_MANY:{message:"429: Too Many Requests",sm:"Too-Many"},TOO_BIG:{message:"Payload was too large",sm:"Too-Big"},CROSS_TAB:{message:"Session Entity was set to OFF on another tab",sm:"Cross-Tab"},ENTITLEMENTS:{message:"Session Replay is not allowed and will not be started",sm:"Entitlement"}},"yP",0,s])},5270(e,t,r){"use strict";r.d(t,{Aw:()=>a,SR:()=>s,rF:()=>o});var n=r(384),i=r(7767);function s(e){return!!(0,n.dV)().o.MO&&(0,i.V)(e)&&!0===e?.session_trace.enabled}function a(e){return!0===e?.session_replay.preload&&s(e)}function o(e,t){try{if("string"==typeof t?.type&&"password"===t.type.toLowerCase())return"*".repeat(e?.length||0);if(void 0!==t?.dataset?.nrUnmask||t?.classList?.contains("nr-unmask"))return e}catch(e){}return"string"==typeof e?e.replace(/[\S]/g,"*"):"*".repeat(e?.length||0)}},3738(e,t,r){"use strict";const n=r(860).K7.sessionTrace,i="-start",s="-end",a="fn"+i,o="fn"+s;r.d(t,["He",0,"bstResource","Kp",0,s,"Lc",0,o,"Rz",0,"pushState","TZ",0,n,"bD",0,"resource","bc",0,{CROSS_TAB:{message:"Session Entity was set to OFF on another tab"},ENTITLEMENTS:{message:"Session Trace is not allowed and will not be started"},RESET:{message:"Session was reset"},SESSION_CHANGED:{message:"Session identifier changed unexpectedly"}},"d3",0,i,"uP",0,a])},3962(e,t,r){"use strict";const n=r(860).K7.softNav;r.d(t,["O2",0,{INITIAL_PAGE_LOAD:"",ROUTE_CHANGE:1,UNSPECIFIED:2},"OV",0,"popstate","Qu",0,{INTERACTION:1,AJAX:2,CUSTOM_END:3,CUSTOM_TRACER:4},"TZ",0,n,"ih",0,{IP:"in progress",PF:"pending finish",FIN:"finished",CAN:"cancelled"},"pP",0,"initialPageLoad","tC",0,["click","keydown","submit"]])},4234(e,t,r){"use strict";r.d(t,{W:()=>i});var n=r(1687);class i{constructor(e,t){this.agentRef=e,this.ee=e?.ee,this.featureName=t,this.blocked=!1}deregisterDrain(){(0,n.x3)(this.agentRef,this.featureName)}}},7767(e,t,r){"use strict";var n=r(6154);r.d(t,["V",0,e=>n.RI&&!0===e?.privacy.cookies_enabled])},8362(e,t,r){"use strict";r.d(t,{d:()=>s});var n=r(9566),i=r(1741);class s extends i.W{agentIdentifier=(0,n.LA)(16)}},1741(e,t,r){"use strict";r.d(t,{W:()=>s});var n=r(944),i=r(4261);class s{#e(e,...t){if(this[e]!==s.prototype[e])return this[e](...t);(0,n.R)(35,e)}addPageAction(e,t){return this.#e(i.hG,e,t)}register(e){return this.#e(i.eY,e)}recordCustomEvent(e,t){return this.#e(i.fF,e,t)}setPageViewName(e,t){return this.#e(i.Fw,e,t)}setCustomAttribute(e,t,r){return this.#e(i.cD,e,t,r)}noticeError(e,t){return this.#e(i.o5,e,t)}setUserId(e,t=!1){return this.#e(i.Dl,e,t)}setApplicationVersion(e){return this.#e(i.nb,e)}setErrorHandler(e){return this.#e(i.bt,e)}addRelease(e,t){return this.#e(i.k6,e,t)}log(e,t){return this.#e("log",e,t)}start(){return this.#e("start")}finished(e){return this.#e(i.BL,e)}recordReplay(){return this.#e(i.CH)}pauseReplay(){return this.#e(i.Tb)}addToTrace(e){return this.#e(i.U2,e)}setCurrentRouteName(e){return this.#e(i.PA,e)}interaction(e){return this.#e(i.dT,e)}wrapLogger(e,t,r){return this.#e(i.Wb,e,t,r)}measure(e,t){return this.#e(i.V1,e,t)}consent(e){return this.#e(i.Pv,e)}}},4261(e,t,r){"use strict";r.d(t,["BL",0,"finished","CH",0,"recordReplay","Dl",0,"setUserId","Fw",0,"setPageViewName","PA",0,"setCurrentRouteName","Pv",0,"consent","Tb",0,"pauseReplay","U2",0,"addToTrace","V1",0,"measure","Wb",0,"wrapLogger","bt",0,"setErrorHandler","cD",0,"setCustomAttribute","dT",0,"interaction","eY",0,"register","fF",0,"recordCustomEvent","hG",0,"addPageAction","hw",0,"api-ixn-","k6",0,"addRelease","nb",0,"setApplicationVersion","o5",0,"noticeError"])},1738(e,t,r){"use strict";r.d(t,{U:()=>l,Y:()=>u});var n=r(3241),i=r(9908),s=r(1863),a=r(944),o=r(3969),c=r(8362),d=r(860);function u(e,t,r,s){const u=s||r;!u||u[e]&&u[e]!==c.d.prototype[e]||(u[e]=function(){(0,i.p)(o.xV,["API/"+e+"/called"],void 0,d.K7.metrics,r.ee),(0,n.W)({drained:!!r.runtime?.activatedFeatures,type:"data",name:"api",feature:"api-"+e,data:{}});try{return t.apply(this,arguments)}catch(e){(0,a.R)(23,e)}})}function l(e,t,r,n,a){const o=e.info;null===r?delete o.jsAttributes[t]:o.jsAttributes[t]=r,(a||null===r)&&(0,i.p)("api-"+n,[(0,s.t)(),t,r],void 0,"session",e.ee)}},8374(e,t,r){r.nc=(()=>{try{return document?.currentScript?.nonce}catch(e){}return""})()},860(e,t,r){"use strict";const n="events",i="jserrors",s="browser/blobs",a="browser/logs",o={ajax:"ajax",genericEvents:"generic_events",jserrors:i,logging:"logging",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softNav:"soft_navigations"},c={[o.pageViewEvent]:1,[o.pageViewTiming]:2,[o.metrics]:3,[o.jserrors]:4,[o.softNav]:5,[o.ajax]:6,[o.sessionTrace]:7,[o.sessionReplay]:8,[o.logging]:9,[o.genericEvents]:10},d={[o.pageViewEvent]:"rum",[o.pageViewTiming]:n,[o.ajax]:n,[o.softNav]:n,[o.metrics]:i,[o.jserrors]:i,[o.sessionTrace]:s,[o.sessionReplay]:s,[o.logging]:a,[o.genericEvents]:"ins"};r.d(t,["$J",0,d,"K7",0,o,"P3",0,c,"XX",0,i,"Yy",0,a,"df",0,s,"hg",0,"connect"])}};const t={};function r(n){const i=t[n];if(void 0!==i)return i.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.m=e,r.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var i=t[n++],s=t[n++];r.o(e,i)?0===s&&n++:0===s?Object.defineProperty(e,i,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,i,{enumerable:!0,get:s})}else for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>({212:"nr-spa-compressor",238:"nr-spa-iframe-message-handler",249:"nr-spa-recorder",478:"nr-spa"}[e]+"-1.322.0.min.js"),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="NRBA-1.322.0.PROD:";r.l=(n,i,s,a)=>
4981{if(e[n])return void e[n].push(i);let o,c;if(void 0!==s){const e=document.getElementsByTagName("script");for(var d=0;d<e.length;d++){const r=e[d];if(r.getAttribute("src")==n||r.getAttribute("data-webpack")==t+s){o=r;break}}}if(!o){c=!0;var u={478:"sha512-SARROoir04gFygxlr/+mTI+PyMeFL+epi1vnUA2G5mTQ7s3G44ItQBJKbOaIMdIE5OBzuaKhb4k5JYta0NICxg==",249:"sha512-6DKQo5WP7YlpzX6l9UfYkgGLGK2oITdoaYTcZtgl5Foa22NY63lED/0z1hBBLeD7qZCz/YdlY19/r8drlol1tg==",212:"sha512-CYxuvSpDx6ErqWJwAvpoHn54eY37YdMcFao/axOumlw3BsSL7yioOeB2LWViY/Njs818sQG10dSglUhYCMfLPw==",238:"sha512-mvbMILWa3ohYst+u6TLfNrmtY2swUIB3rbJFN/uzt3W62KhgvUVwB81UEZ1R0/it5bfrQ5EVz864pi/CAmucNQ=="};o=document.createElement("script"),o.charset="utf-8",r.nc&&o.setAttribute("nonce",r.nc),o.setAttribute("data-webpack",t+s),o.src=n,0!==o.src.indexOf(window.location.origin+"/")&&(o.crossOrigin="anonymous"),u[a]&&(o.integrity=u[a])}e[n]=[i];const l=(t,r)=>{o.onerror=o.onload=null,clearTimeout(f);const i=e[n];if(delete e[n],o.parentNode?.removeChild(o),i?.forEach(e=>e(r)),t)return t(r)},f=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),c&&document.head.appendChild(o)}})(),r.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="https://js-agent.newrelic.com/",(()=>{const e={38:0,788:0};r.f.j=(t,n)=>{let i=r.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{const s=new Promise((r,n)=>i=e[t]=[r,n]);n.push(i[2]=s);const a=r.p+r.u(t),o=new Error,c=n=>{if(r.o(e,t)&&(i=e[t],0!==i&&(e[t]=void 0),i)){const e=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed: ("+e+": "+r+")",o.name="ChunkLoadError",o.type=e,o.request=r,i[1](o)}};r.l(a,c,"chunk-"+t,t)}};const t=(t,n)=>{let[i,s,a]=n;var o,c,d=0;if(i.some(t=>0!==e[t])){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(a)a(r)}for(t&&t(n);d<i.length;d++)c=i[d],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0},n=self["webpackChunk:NRBA-1.322.0.PROD"]=self["webpackChunk:NRBA-1.322.0.PROD"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";r(8374);var e=r(8362),t=r(860);const n=Object.values(t.K7);var i=r(384),s=r(1741);var a=r(2555),o=r(3333),c=r(9300);const d=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var u=r(2614),l=r(944),f=r(8122);const h="[data-nr-mask]",p=e=>(0,f.a)(e,(()=>{const e={feature_flags:[],experimental:{register:!1,resources:!1,iframe_bridge:!1,iframe_domains:[]},mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,autoStart:!0,capture_payloads:c.mo.NONE},api:{register:{get enabled(){return e.feature_flags.includes(o.$v.REGISTER)||e.experimental.register},set enabled(t){e.experimental.register=t},duplicate_data_to_container:!1,get allow_iframe_bridge(){return e.feature_flags.includes(o.$v.IFRAME_BRIDGE)||e.experimental.iframe_bridge},set allow_iframe_bridge(t){e.experimental.iframe_bridge=t},get iframe_domains(){return e.experimental.iframe_domains},set iframe_domains(t){Array.isArray(t)?e.experimental.iframe_domains=t:(0,l.R)(1,t)}}},browser_consent_mode:{enabled:!1},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},get feature_flags(){return e.feature_flags},set feature_flags(t){e.feature_flags=t},generic_events:{enabled:!0,autoStart:!0},harvest:{interval:30},jserrors:{enabled:!0,autoStart:!0},logging:{enabled:!0,autoStart:!0},metrics:{enabled:!0,autoStart:!0},obfuscate:void 0,page_action:{enabled:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,autoStart:!0},performance:{capture_marks:!1,capture_measures:!1,capture_detail:!0,resources:{get enabled(){return e.feature_flags.includes(o.$v.RESOURCES)||e.experimental.resources},set enabled(t){e.experimental.resources=t},asset_types:[],first_party_domains:[],ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:u.wk,inactiveMs:u.BB},session_replay:{autoStart:!0,enabled:!1,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inl
4981ine_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){d(t)?e.mask_selector="".concat(t,",").concat(h):""===t||null===t?e.mask_selector=h:(0,l.R)(5,t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){d(t)?e.block_selector+=",".concat(t):""!==t&&(0,l.R)(6,t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,l.R)(7,t)}},session_trace:{enabled:!0,autoStart:!0},soft_navigations:{enabled:!0,autoStart:!0},ssl:void 0,user_actions:{enabled:!0,elementAttributes:["id","className","tagName","type"]},web_sockets:{enabled:!1}}})());var g=r(6154),m=r(9324);let v=0;const y={buildEnv:"PROD",distMethod:"CDN",version:m.x,originTime:g.WN},b={consented:!1},E={activatedFeatures:void 0,appMetadata:{},configured:!1,get consented(){return this.session?.state?.consent||b.consented},set consented(e){b.consented=e},customTransaction:void 0,denyList:[],disabled:!1,drainRegistry:new Map,connector:void 0,harvester:void 0,v2Target:void 0,isolatedBacklog:!1,isRecording:!1,loaderType:void 0,maxBytes:3e4,obfuscator:void 0,onerror:void 0,ptid:void 0,releaseIds:{},session:void 0,timeKeeper:void 0,registeredEntities:[],jsAttributesMetadata:{bytes:0},get harvestCount(){return++v},listeningForIframeMessages:!1};var w=r(9232);var R=r(7836),T=r(3241);const A={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0};var S=r(9908),x=r(9752);function O(e,t={},n,o){let{init:c,info:d,loader_config:u,runtime:l={},exposed:h=!0}=t;if(!d){const e=(0,i.pV)();c=e.init,d=e.info,u=e.loader_config}var m;e.init=p(c||{}),e.loader_config=(m=u||{},(0,f.a)(m,A)),d.jsAttributes??={},g.bv&&(d.jsAttributes.isWorker=!0),e.info=(0,a.D)(d);const v=e.init;e.runtime??=(e=>{const t=(0,f.a)(e,E),r=Object.keys(y).reduce((e,t)=>(e[t]={value:y[t],writable:!1,configurable:!0,enumerable:!0},e),{});return Object.defineProperties(t,r)})(l),e.runtime.v2Target??={type:w.f.BA,instance:e.agentIdentifier,get id(){return e.runtime.appMetadata?.agents?.[0]?.entityGuid},get attributes(){return{"entity.guid":this.id,appId:e.info.applicationID}}},v.proxy.assets&&(e=>{const t=e.startsWith("http");e+="/",r.p=t?e:"https://"+e})(v.proxy.assets),e.runtime.configured||(Object.defineProperty(e,"beacons",{get:()=>[e.info.beacon,e.info.errorBeacon,e.init.proxy.assets,e.init.proxy.beacon].filter(Boolean)}),Object.defineProperty(e.runtime,"denyList",{get:()=>[...e.init.ajax.deny_list||[],...e.init.ajax.block_internal?e.beacons:[]]}),e.runtime.ptid=e.agentIdentifier,function(e){const t=(0,i.pV)();Object.getOwnPropertyNames(s.W.prototype).forEach(r=>{const n=s.W.prototype[r];if("function"!=typeof n||"constructor"===n)return;let i=t[r];e[r]&&!1!==e.exposed&&"micro-agent"!==e.runtime?.loaderType&&(t[r]=(...t)=>{const n=e[r](...t);return i?i(...t):n})})}(e),e.runtime.loaderType=n,e.ee=R.ee.get(e.agentIdentifier),e.exposed=h,(0,T.W)({drained:!!e.runtime.activatedFeatures,type:"lifecycle",name:"initialize",feature:void 0,data:e.config}),e.init.api.register.allow_iframe_bridge&&g.gm.addEventListener("message",t=>{"string"==typeof t.data?.type&&t.data.type.startsWith(x.Pl)&&(0,S.p)("iframe-message",[t],void 0,"IFRAME",e.ee)}),e.runtime.configured=!0)}var _=r(1863),k=r(4261),N=r(1738);var L=r(1687),M=r(4234),P=r(5289),I=r(5270),j=r(7767),C=r(6389),D=r(7699);const B=new WeakSet,H=new WeakMap;class W extends M.W{constructor(e,t){super(e,t),this.abortHandler=void 0,this.featAggregate=void 0,this.loadedSuccessfully=void 0,this.onAggregateImported=new Promise(e=>{this.loadedSuccessfully=e}),this.deferred=Promise.resolve(),!1===e.init[this.featureName].autoStart?this.deferred=new Promise((t,r)=>{this.ee.on("manual-start-all",(0,C.J)(()=>{(0,L.Ak)(e,this.featureName),t()}))}):(0,L.Ak)(e,t)}importAggregator(e,t,n={}){if(this.featAggregate)return;const i=async()=>{if(await this.deferred,this.#t(e),!(0,a.f)(e.info))return(0,l.R)(43),e.ee.abort(),void this.loadedSuccessfully(!1);try{await async function(e,t,n){if(H.has(e))return H.get(e);const i=(async()=>
4981{if((0,j.V)(e.init))try{const{setupAgentSession:t}=await r.e(478).then(r.bind(r,8766));t(e)}catch(e){(0,l.R)(20,e),t.emit("internal-error",[e]),(0,S.p)(D.qh,[e],void 0,n,t)}if(e.init.api.register.allow_iframe_bridge)try{const{setupIframeMFEMessageListener:t}=await r.e(238).then(r.bind(r,6417));t(e)}catch(e){(0,l.R)(23,e)}const[{Connector:i},{Harvester:s}]=await Promise.all([r.e(478).then(r.bind(r,6589)),r.e(478).then(r.bind(r,5237))]);e.runtime.connector=new i(e),e.runtime.harvester=new s(e);const a=Object.values(e.features).filter(t=>e.runtime.drainRegistry.has(t.featureName));Promise.all(a.map(e=>e.onAggregateImported)).then(()=>e.runtime.harvester.startTimer())})();H.set(e,i),await i}(e,this.ee,this.featureName)}catch(e){return(0,l.R)(79,e),this.ee.abort(),void this.loadedSuccessfully(!1)}try{if(!this.#r(this.featureName,e.runtime.session,e.init))return this.abortHandler?.(),(0,L.Ze)(this.agentRef,this.featureName),void this.loadedSuccessfully(!1);const{Aggregate:r}=await t();this.featAggregate=new r(e,n),e.runtime.harvester.initializedAggregates.push(this.featAggregate),this.loadedSuccessfully(!0)}catch(e){(0,l.R)(34,e),this.abortHandler?.(),(0,L.Ze)(this.agentRef,this.featureName,!0),this.loadedSuccessfully(!1)}};g.RI?(0,P.GG)(()=>i(),!0):i()}#r(e,r,n){if(this.blocked)return!1;switch(e){case t.K7.sessionReplay:return(0,I.SR)(n)&&!!r;case t.K7.sessionTrace:return!!r;default:return!0}}#t(e){if(!B.has(e)&&(B.add(e),!(0,a.f)(e.info))){const t=(0,i.pV)();let r={...t.info?.jsAttributes};try{r={...r,...e.info?.jsAttributes}}catch(e){}O(e,{...t,info:{...t.info,jsAttributes:r},runtime:e.runtime},e.runtime.loaderType)}}}var U=r(6630);class K extends W{static featureName=U.T;constructor(e){var t;super(e,U.T),this.setupInspectionEvents(),t=e,(0,N.Y)(k.Fw,function(e,r){"string"==typeof e&&("/"!==e.charAt(0)&&(e="/"+e),t.runtime.customTransaction=(r||"http://custom.transaction")+e,(0,S.p)("api-"+k.Fw,[(0,_.t)()],void 0,void 0,t.ee))},t),this.importAggregator(e,()=>e.init.feature_flags.includes("rum_v2")?r.e(478).then(r.bind(r,908)):r.e(478).then(r.bind(r,7927)))}setupInspectionEvents(){const e=(e,t)=>{e&&(0,T.W)({timeStamp:e.timeStamp,loaded:"complete"===e.target.readyState,type:"window",name:t,data:e.target.location+""})};(0,P.sB)(t=>{e(t,"DOMContentLoaded")}),(0,P.GG)(t=>{e(t,"load")}),(0,P.Qr)(t=>{e(t,"navigate")}),this.ee.on(u.tS.UPDATE,(e,t)=>{(0,T.W)({type:"lifecycle",name:"session",data:t})})}}class F extends e.d{constructor(e){var t;(super(),g.gm)?(this.features={},(0,i.bQ)(this.agentIdentifier,this),this.desiredFeatures=new Set(e.features||[]),this.desiredFeatures.add(K),O(this,e,e.loaderType||"agent"),t=this,(0,N.Y)(k.cD,function(e,r,n=!1){if("string"==typeof e){if(["string","number","boolean"].includes(typeof r)||null===r)return(0,N.U)(t,e,r,k.cD,n);(0,l.R)(40,typeof r)}else(0,l.R)(39,typeof e)},t),function(e){(0,N.Y)(k.Dl,function(t,r=!1){if("string"!=typeof t&&null!==t)return void(0,l.R)(41,typeof t);const n=e.info.jsAttributes["enduser.id"];r&&null!=n&&n!==t?(0,S.p)("api-setUserIdAndResetSession",[t],void 0,"session",e.ee):(0,N.U)(e,"enduser.id",t,k.Dl,!0)},e)}(this),function(e){(0,N.Y)(k.nb,function(t){if("string"==typeof t||null===t)return(0,N.U)(e,"application.version",t,k.nb,!1);(0,l.R)(42,typeof t)},e)}(this),function(e){(0,N.Y)("start",function(){e.ee.emit("manual-start-all")},e)}(this),function(e){(0,N.Y)(k.Pv,function(t=!0){if("boolean"==typeof t){if((0,S.p)("api-"+k.Pv,[t],void 0,"session",e.ee),e.runtime.consented=t,t){const t=e.features.page_view_event;t.onAggregateImported.then(e=>{const r=t.featAggregate;e&&!r.sentRum&&r.sendRum?.()})}}else(0,l.R)(65,typeof t)},e)}(this),this.run()):(0,l.R)(21)}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}get api(){return this}run(){try{const e=function(e){const t={};return n.forEach(r=>{t[r]=!!e[r]?.enabled}),t}(this.init),r=[...this.desiredFeatures],i=this.init.feature_flags.includes("rum_v2");r.sort((e,r)=>t.P3[e.featureName]-t.P3[r.featureName]),r.forEach(r=>{if(!e[r.featureName]&&(i||r.featureName!==t.K7.pageViewEvent))return;const n=function(e){switch(e){case t.K7.ajax:return[t.K7.jserrors];case t.K7.sessionTrace:return[t.K7.ajax,t.K7.pageViewEvent];case t.K7.sessionReplay:return[t.K7.sessionTrace];case t.K7.pageViewTiming:return[t.K7.pageViewEvent];default:return[]}}(r.featureName).filter(e=>!(e in this.features));n.length>0&&(0,l.R)(36,{targetFeature:r.featureName,missingDependencies:n}),this.features[r.featureName]=new r(this)})}catch(e){(0,l.R)(22,e);for(const e in this.features)this.features[e].abortHandler?.();const t=(0,i.Zm)();delete t.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator;return t.ee.get(this.agentIdentifier).abort(),!1}}}var V=r(2843),z=r(782);class G extends W{static featureName=z.T;constructor(e){super(e,z.T),g.RI&&((0,V.u)(()=>(0,S.p)("docHidden",[(0,_.t)()],void 0,z.T,this.ee),!0),(0,V.G)(()=>(0,S.p)("winPagehide",[(0,_.t)()],void 0,z.T,this.ee)),this.importAggregator(e,()=>r.e(478).then(r.bind(r,9917))))}}var q=r(3969);class Y extends W{static featureName=q.TZ;constructor(e){super(e,q.TZ),this.importAggregator(e,()=>r.e(478).then(r.bind(r,6555)))}}var Z=r(6774),J=r(3878),X=r(3304);class Q{constructor(e,t,r,n,i){this.name="UncaughtError",this.message="string"==typeof e?e:(0,X.A)(e),this.sourceURL=t,this.line=r,this.column=n,this.__newrelic=i}}function ee(e){return ne(e)?e:new Q(void 0!==e?.message?e.message:e,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic,e?.cause)}function te(e){const t="Unhandled Promise Rejection: ";if(!e?.reason)return;if(ne(e.reason)){try{e.reason.message.startsWith(t)||(e.reason.message=t+e.reason.message)}catch(e){}return ee(e.reason)}const r=ee(e.reason);return(r.message||"").startsWith(t)||(r.message=t+r.message),r}function re(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){const t=new Q(e.message,e.filename,e.lineno,e.colno,e.error.__newrelic,e.cause);return t.name=SyntaxError.name,t}return ne(e.error)?e.error:ee(e)}function ne(e){return e instanceof Error&&!!e.stack}function ie(e,r,n,i,s=(0,_.t)()){"string"==typeof e&&(e=new Error(e)),(0,S.p)("err",[e,s,!1,r,n.runtime.isRecording,void 0,i],void 0,t.K7.jserrors,n.ee),(0,S.p)("uaErr",[],void 0,t.K7.genericEvents,n.ee)}var se=r(993),ae=r(3785);function oe(e,{customAttributes:t={},level:r=se.p_.INFO}={},n,i,s=(0,_.t)()){(0,ae.R)(n.ee,e,t,r,!1,i,s)}function ce(e,r,n,i,s=(0,_.t)()){(0,S.p)("api-"+k.hG,[s,e,r,i],void 0,t.K7.genericEvents,n.ee)}function de(e,r,n,i,s=(0,_.t)()){const{start:a,end:o,customAttributes:c}=r||{},d={customAttributes:c||{}};if("object"!=typeof d.customAttributes||"string"!=typeof e||0===e.length)return void(0,l.R)(57);const u=(e,t)=>
4981null==e?t:"number"==typeof e?e:e instanceof PerformanceMark?e.startTime:Number.NaN;if(d.start=u(a,0),d.end=u(o,s),Number.isNaN(d.start)||Number.isNaN(d.end))(0,l.R)(57);else{if(d.duration=d.end-d.start,!(d.duration<0))return(0,S.p)("api-"+k.V1,[d,e,i],void 0,t.K7.genericEvents,n.ee),d;(0,l.R)(58)}}function ue(e,r={},n,i,s=(0,_.t)()){(0,S.p)("api-"+k.fF,[s,e,r,i],void 0,t.K7.genericEvents,n.ee)}var le=r(5718);const fe=(e,t)=>e?.nrMfeId===t.id&&(!e?.nrMfeObserved||e?.nrMfeObserved===t.instance),he=e=>{try{return g.gm.CSS.escape(e)}catch(t){return e}},pe=(e,t={})=>{const r=t.id,n=t.instance;if(!e||!r||!n)return!1;try{let r=1===e.nodeType?e:e.parentElement;for(;r?.tagName;){if(fe(r.dataset,t))return r.dataset.nrMfeObserved=n,!0;r=r.parentNode}}catch(e){}return!1},ge=(e,t)=>{const r=g.gm.document?.querySelectorAll('[data-nr-mfe-id="'.concat(he(e.id),'"]')),n=(Array.from(r)||[]).find(t=>fe(t.dataset,e));let i=!!n;i&&(n.dataset.nrMfeObserved??=e.instance);const s=new g.gm.MutationObserver(r=>{r.forEach(r=>{r.addedNodes.forEach(r=>{const n=1===r.nodeType?r:null;!i&&fe(n?.dataset,e)&&(s.disconnect(),s.observe(n,{childList:!0,subtree:!0}),i=!0,n.dataset.nrMfeObserved=e.instance),(e=>{try{return e?.textContent?.trim()||["img","video","canvas","svg"].includes(e?.nodeName?.toLowerCase())}catch(e){return!1}})(r)&&(i||pe(r,e))&&t(r,s)})})});return s.observe(n||g.gm.document,{childList:!0,subtree:!0}),s},me=(e,t,r)=>{try{const n=new g.gm.PerformanceObserver(e=>{e.getEntries().forEach(r)});return n.observe(t),e.push(n),n}catch(e){return null}};function ve(e,t){let r,n,i=!1;const s=e=>null==e?e:e-(t?.scriptStart||t?.registeredAt||0),a={fcp:{get value(){const e=s(r);return e>1e4?void 0:e},set value(e){i||(r=e)}},lcp:{get value(){if(void 0!==a.fcp.value)return s(n)},set value(e){i||(n=e)}},cls:{value:void 0},inp:{value:void 0},disconnect:()=>{}};if(!(e&&g.RI&&g.gm.MutationObserver&&g.gm.PerformanceObserver))return a;const o=[];setTimeout(()=>{r||a.disconnect()},1e4);const c=()=>{if(!i){if(null==r){const e=(0,_.t)();if(s(e)>1e4)return void a.disconnect();r=e}n??=(0,_.t)(),a.cls.value??=0}},d=ge(e,(e,t)=>{c(),t.disconnect()});o.push(d);let u=0,l=null;const f=new Set;try{l=new g.gm.ResizeObserver(e=>{i||e.forEach(e=>{try{const t=e.contentRect.width*e.contentRect.height;t>u&&(u=t,a.lcp.value=(0,_.t)()),l.unobserve(e.target)}catch(e){}})})}catch(e){}const h=ge(e,e=>{if(c(),l)try{const t=1===e.nodeType?e:e.parentElement;t&&!f.has(t)&&(f.add(t),"IMG"===t.tagName?t.complete?l.observe(t):t.addEventListener("load",()=>{l.observe(t)},{once:!0}):"VIDEO"===t.tagName?t.readyState>=2?l.observe(t):t.addEventListener("loadeddata",()=>{l.observe(t)},{once:!0}):l.observe(t))}catch(e){}});l&&o.push(l),o.push(h),me(o,{type:"layout-shift",buffered:!0},t=>{i||t.hadRecentInput||(t.sources||[]).some(r=>!!pe(r.node,e)&&(c(),a.cls.value+=t.value,!0))}),me(o,{type:"event",buffered:!0,durationThreshold:40},t=>{!i&&t.interactionId&&pe(t.target,e)&&(void 0===a.inp.value||t.duration>a.inp.value)&&(c(),a.inp.value=t.duration)});const p=["pointerdown","keydown"],m=()=>{p.forEach(e=>{g.gm.removeEventListener(e,v,{passive:!0})})};a.disconnect=()=>{i=!0,o.forEach(e=>{try{e?.disconnect()}catch(e){}}),m(),["visibilitychange","pagehide"].forEach(e=>{g.gm.removeEventListener(e,a.disconnect,{once:!0,passive:!0})})};const v=t=>{pe(t?.target,e)&&((()=>{try{h?.disconnect(),l?.disconnect()}catch(e){}})(),m())};p.forEach(e=>{g.gm.addEventListener(e,v,{passive:!0})}),["visibilitychange","pagehide"].forEach(e=>{g.gm.addEventListener(e,a.disconnect,{once:!0,passive:!0})});const y=g.gm.document?.querySelectorAll('[data-nr-mfe-id="'.concat(he(e.id),'"]'));return Array.from(y||[]).some(t=>fe(t.dataset,e))&&c(),a}var ye=r(9566),be=r(7560),Ee=r(9119);const we=["entry","scripts","all"],Re=["name","id","type"],Te=new Map([[ce,"addPageAction"],[oe,"log"],[de,"measure"],[ie,"noticeError"],[ue,"recordCustomEvent"]]),Ae={experimental:(0,C.J)(()=>(0,l.R)(54,"newrelic.register")),disabled:(0,C.J)(()=>(0,l.R)(55)),invalidTarget:(0,C.J)(e=>(0,l.R)(48,e)),deregistered:(0,C.J)(()=>(0,l.R)(68)),invalidTimingMethod:(0,C.J)(e=>(0,l.R)(80,e)),duplicateName:(0,C.J)(e=>(0,l.R)(81,e)),duplicateId:(0,C.J)(e=>(0,l.R)(82,e))};function Se(e){(0,N.Y)(k.eY,function(t){return xe(e,t)},e)}function xe(e,r){Ae.experimental(),r||={},r.instance=(0,ye.LA)(8),r.type=w.f.MFE,r.licenseKey||=e.info.licenseKey,r.blocked=!1,("object"!=typeof r.tags||null===r.tags||Array.isArray(r.tags))&&(r.tags={}),r.parent??={get id(){return e.runtime.appMetadata.agents?.[0].entityGuid},type:w.f.BA},r.manifest=(0,be.N)(r.manifest),void 0===r.timingMethod||we.includes(r.timingMethod)||(Ae.invali
4981dTimingMethod(r.timingMethod),r.timingMethod=void 0);const n=(0,le.Qr)(r);r.manifest&&(0,le.xo)(n,r);const i=ve(r,n),s=(0,Ee.L)(""+location),a={};Object.prototype.hasOwnProperty.call(r,"attributes")||Object.defineProperty(r,"attributes",{get:()=>({...a,"source.id":r.id,"source.name":r.name,"source.type":r.type,"parent.type":r.parent?.type||w.f.BA,"parent.id":r.parent?.id})}),Object.entries(r.tags).forEach(([e,t])=>{Re.includes(e)||(a["source.".concat(e)]=t)});let o=()=>{};const c=e.runtime.registeredEntities,d=e=>{r.blocked=!0,o=e};function u(e){return"string"==typeof e&&!!e.trim()&&e.trim().length<501}e.init.api.register.enabled||d(Ae.disabled),u(r.id)&&u(r.name)||d(()=>Ae.invalidTarget(r)),c.forEach(e=>{try{const{name:t,id:n}=e.metadata.target;t===r.name&&n!==r.id&&Ae.duplicateName(r),n===r.id&&t!==r.name&&Ae.duplicateId(r)}catch(e){}});const f={addPageAction:(t,n={})=>m(ce,[t,{...a,...n},e],r),deregister:()=>{p(),d(Ae.deregistered)},log:(t,n={})=>m(oe,[t,{...n,customAttributes:{...a,...n.customAttributes||{}}},e],r),measure:(t,n={})=>m(de,[t,{...n,customAttributes:{...a,...n.customAttributes||{}}},e],r),noticeError:(t,n={})=>m(ie,[t,{...a,...n},e],r),recordCustomEvent:(t,n={})=>m(ue,[t,{...a,...n},e],r),setApplicationVersion:e=>g("application.version",e),setCustomAttribute:(e,t)=>g(e,t),setUserId:e=>g("enduser.id",e),metadata:{get customAttributes(){return a},target:r,timings:n,vitals:i,events:{latestTimestamp:void 0}}},h=()=>(r.blocked&&o(),r.blocked);function p(){if(n.reportedAt)return;n.reportedAt=(0,_.t)(),i.disconnect(),n.fcp=i.fcp,n.lcp=i.lcp,n.cls=i.cls,n.inp=i.inp;const e=n.fetchEnd-n.fetchStart,t=n.scriptEnd-n.scriptStart,r={assetUrl:n.asset,assetType:n.type,registerUrl:s,deregisterUrl:(0,Ee.L)(""+location),pageUrl:void 0,currentUrl:void 0,timeAlive:n.reportedAt-n.registeredAt,timeToBeRequested:n.fetchStart,timeToExecute:t,timeToFetch:e,timeToLoad:e+t,t
4981imeToRegister:n.registeredAt,totalWeight:n.totalWeight,...void 0!==n.renderBlocking&&{renderBlocking:n.renderBlocking},...i.fcp.value>=0&&{"vitals.fcp.value":i.fcp.value},...i.lcp.value>=0&&{"vitals.lcp.value":i.lcp.value},...i.cls.value>=0&&{"vitals.cls.value":i.cls.value},...i.inp.value>=0&&{"vitals.inp.value":i.inp.value}};f.recordCustomEvent("MicroFrontEndTiming",r)}h()||(c.push(f),(0,V.G)(p));const g=(e,t)=>{h()||(a[e]=t)},m=(r,n,i)=>{if(h()&&r!==xe)return;const s=f.metadata.events.latestTimestamp??(0,_.t)();f.metadata.events.latestTimestamp=void 0;const a=Te.get(r)||"unknown";(0,S.p)(q.xV,["API/register/".concat(a,"/called")],void 0,t.K7.metrics,e.ee);try{return r(...n,i,s)}catch(e){(0,l.R)(50,e)}};return f}class Oe extends W{static featureName=Z.T;constructor(e){var t;super(e,Z.T),t=e,(0,N.Y)(k.o5,(e,r)=>ie(e,r,t),t),function(e){(0,N.Y)(k.bt,function(t){e.runtime.onerror=t},e)}(e),function(e){let t=0;(0,N.Y)(k.k6,function(e,r){++t>10||(this.runtime.releaseIds[e.slice(-200)]=(""+r).slice(-200))},e)}(e),Se(e);try{this.removeOnAbort=new AbortController}catch(e){}this.ee.on("internal-error",(t,r)=>{this.abortHandler&&(0,S.p)("ierr",[ee(t),(0,_.t)(),!0,{},e.runtime.isRecording,r],void 0,this.featureName,this.ee)}),g.gm.addEventListener("unhandledrejection",t=>{this.abortHandler&&(0,S.p)("err",[te(t),(0,_.t)(),!1,{unhandledPromiseRejection:1},e.runtime.isRecording],void 0,this.featureName,this.ee)},(0,J.jT)(!1,this.removeOnAbort?.signal)),g.gm.addEventListener("error",t=>{this.abortHandler&&(0,S.p)("err",[re(t),(0,_.t)(),!1,{},e.runtime.isRecording],void 0,this.featureName,this.ee)},(0,J.jT)(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#n,this.importAggregator(e,()=>r.e(478).then(r.bind(r,9377)))}#n(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}var _e=r(8990);let ke=1;function Ne(e){const t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===g.gm?0:(0,_e.I)(e,"nr@id",function(){return ke++})}function Le(e){if("string"==typeof e)return e.length;if("object"==typeof e){if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!("undefined"!=typeof FormData&&e instanceof FormData))try{return(0,X.A)(e).length}catch(e){return}}}var Me=r(8139),Pe=r(3434),Ie=r(5732);const je={},Ce=["open","send","setRequestHeader"];function De(e,t){var r=e||R.ee;const n=function(e){return(e||R.ee).get("xhr")}(r);if(void 0===g.gm.XMLHttpRequest)return n;if(je[n.debugId]++)return n;je[n.debugId]=1,(0,Me.u)(r,t);var i=(0,Pe.YM)(n,void 0,t),s=g.gm.XMLHttpRequest,a=g.gm.MutationObserver,o=g.gm.Promise,c=g.gm.setInterval,d="readystatechange",u=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],f=[],h=g.gm.XMLHttpRequest=function(e){const r=new s(e),a=n.context(r);a.targets=(0,Ie.$5)(t);try{n.emit("new-xhr",[r],a),r.addEventListener(d,(o=a,function(){var e=this;e.readyState>3&&!o.resolved&&(o.resolved=!0,n.emit("xhr-resolved",[],e)),i.inPlace(e,u,"fn-",E)}),(0,J.jT)(!1))}catch(e){(0,l.R)(15,e);try{n.emit("internal-error",[e])}catch(e){}}var o;return r};function p(e,t){i.inPlace(t,["onreadystatechange"],"fn-",E)}if(function(e,t){for(var r in e)t[r]=e[r]}(s,h),h.prototype=s.prototype,i.inPlace(h.prototype,Ce,"-xhr-",E),n.on("send-xhr-start",function(e,t){p(e,t),function(e){f.push(e),a&&(m?m.then(b):c?c(b):(v=-v,y.data=v))}(t)}),n.on("open-xhr-start",p),a){var m=o&&o.resolve();if(!c&&!o){var v=1,y=document.createTextNode(v);new a(b).observe(y,{characterData:!0})}}else r.on("fn-end",function(e){e[0]&&e[0].type===d||b()});function b(){for(var e=0;e<f.length;e++)p(0,f[e]);f.length&&(f=[])}function E(e,t){return t}return n}var Be="fetch-",He=Be+"body-",We=["arrayBuffer","blob","json","text","formData"],Ue=g.gm.Request,Ke=g.gm.Response,Fe="prototype";const Ve={};function ze(e,t){const r=function(e){return(e||R.ee).get("fetch")}(e);if(!(Ue&&Ke&&g.gm.fetch))return r;if(Ve[r.debugId]++)return r;function n(e,n,i){var s=e[n];"function"==typeof s&&(e[n]=function(){var e=[...arguments];const n={},a=(0,Ie.$5)(t);var o;r.emit(i+"before-start",[e],n),n[R.P]&&n[R.P].dt&&(o=n[R.P].dt);var c=s.apply(this,e);return r.emit(i+"start",[e,o],c),c.then(function(e){return r.emit(i+"end",[null,e,a],c),e},function(e){throw r.emit(i+"end",[e,void 0,a],c),e})})}
4981return Ve[r.debugId]=1,We.forEach(e=>{n(Ue[Fe],e,He),n(Ke[Fe],e,He)}),n(g.gm,"fetch",Be),r.on(Be+"end",function(e,n,i){var s=this;if(s.targets=i||[t.runtime.v2Target],n){var a=n.headers.get("content-length");null!==a&&(s.rxSize=a),r.emit(Be+"done",[null,n],s)}else r.emit(Be+"done",[e],s)}),r}var Ge=r(7485);class qe{constructor(e){this.agentRef=e}generateTracePayload(e){const t=this.agentRef.loader_config;if(!this.shouldGenerateTrace(e)||!t)return null;var r=(t.accountID||"").toString()||null,n=(t.agentID||"").toString()||null,i=(t.trustKey||"").toString()||null;if(!r||!n)return null;var s=(0,ye.ZF)(),a=(0,ye.el)(),o=Date.now(),c={spanId:s,traceId:a,timestamp:o};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(c.traceContextParentHeader=this.generateTraceContextParentHeader(s,a),c.traceContextStateHeader=this.generateTraceContextStateHeader(s,o,r,n,i)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(c.newrelicHeader=this.generateTraceHeader(s,a,o,r,n,i)),c}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,i){return i+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,i,s){if(!("function"==typeof g.gm?.btoa))return null;var a={v:[0,1],d:{ty:"Browser",ac:n,ap:i,id:e,tr:t,ti:r}};return s&&n!==s&&(a.d.tk=s),btoa((0,X.A)(a))}shouldGenerateTrace(e){return this.agentRef.init?.distributed_tracing?.enabled&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t=!1;const r=this.agentRef.init?.distributed_tracing;if(e.sameOrigin)t=!0;else if(r?.allowed_origins instanceof Array)for(var n=0;n<r.allowed_origins.length;n++){var i=(0,Ge.D)(r.allowed_origins[n]);if(e.hostname===i.hostname&&e.protocol===i.protocol&&e.port===i.port){t=!0;break}}return t}excludeNewrelicHeader(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.exclude_newrelic_header}useNewrelicHeaderForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!1!==e.cors_use_newrelic_header}useTraceContextHeadersForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.cors_use_tracecontext_headers}}var Ye=r(7295);function Ze(e){return"string"==typeof e?e:e instanceof(0,i.dV)().o.REQ?e.url:g.gm?.URL&&e instanceof URL?e.href:void 0}function $e(e,t){var r=(0,Ge.D)(t),n=e.params||e;n.hostname=r.hostname,n.port=r.port,n.protocol=r.protocol,n.host=r.hostname+":"+r.port,n.pathname=r.pathname,e.parsedOrigin=r,e.sameOrigin=r.sameOrigin}var Je=["load","error","abort","timeout"],Xe=Je.length,Qe=(0,i.dV)().o.REQ,et=(0,i.dV)().o.XHR;const tt="X-NewRelic-App-Data",rt="internal-error";class nt extends W{static featureName=c.TZ;constructor(e){super(e,c.TZ),this.dt=new qe(e),this.handler=(e,t,r,n)=>(0,S.p)(e,t,r,n,this.ee);try{const e={xmlhttprequest:"xhr",fetch:"fetch",beacon:"beacon"};g.gm?.performance?.getEntriesByType("resource").forEach(r=>{if(r.initiatorType in e&&0!==r.responseStatus){const n={status:r.responseStatus},i={rxSize:r.transferSize,duration:Math.floor(r.duration),cbTime:0};$e(n,r.name),this.handler("xhr",[n,i,r.startTime,r.responseEnd,e[r.initiatorType]],void 0,t.K7.ajax)}})}catch(e){}ze(this.ee,e),De(this.ee,e),function(e,r,n,i){const s=[c.mo.ALL,c.mo.FAILURES].includes(e.init.ajax?.capture_payloads);function a(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=A,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},t.latestLongtaskEnd=0,e.addEventListener("load",function(r){O(t,e)},(0,J.jT)(!1)),g.lR||e.addEventListener("progress",function(e){t.lastSize=e.loaded},(0,J.jT)(!1))}function o(e){this.params={method:e[0]},$e(this,e[1]),this.metrics={}}function d(t,r){e.loader_config.xpid&&this.sameOrigin&&r.setRequestHeader("X-NewRelic-ID",e.loader_config.xpid);var n=i.generateTracePayload(this.parsedOrigin);if(n){var s=!1;n.newrelicHeader&&(r.setRequestHeader("newrelic",n.newrelicHeader),s=!0),n.traceContextParentHeader&&(r.setRequestHeader("traceparent",n.traceContextParentHeader),n.traceContextStateHeader&&r.setRequestHeader("tracestate",n.traceContextStateHeader),s=!0),s&&(this.dt=n)}}function u(e,t){s&&e.length>=2&&(this.requestHeaders??={},this.requestHeaders[e[0].toLowerCase()]=e[1])}function l(e,t){var n=this.metrics,i=e[0],s=this;if(n&&i){var a=Le(i);a&&(n.txSize=a)}this.startTime=(0,_.t)(),this.requestBody=i,this.listener=function(e){try{"abort"!==e.type||s.loadCaptureCalled||(s.params.aborted=!0),("load"
4981!==e.type||s.called===s.totalCbs&&(s.onloadCalled||"function"!=typeof t.onload)&&"function"==typeof s.end)&&s.end(t)}catch(e){try{r.emit(rt,[e])}catch(e){}}};for(var o=0;o<Xe;o++)t.addEventListener(Je[o],this.listener,(0,J.jT)(!1))}function f(e,t,r){this.cbTime+=e,t?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof r.onload||"function"!=typeof this.end||this.end(r)}function h(e,t){var r=""+Ne(e)+!!t;this.xhrGuids&&!this.xhrGuids[r]&&(this.xhrGuids[r]=!0,this.totalCbs+=1)}function p(e,t){var r=""+Ne(e)+!!t;this.xhrGuids&&this.xhrGuids[r]&&(delete this.xhrGuids[r],this.totalCbs-=1)}function m(){this.endTime=(0,_.t)()}function v(e,t){t instanceof et&&"load"===e[0]&&r.emit("xhr-load-added",[e[1],e[2]],t)}function y(e,t){t instanceof et&&"load"===e[0]&&r.emit("xhr-load-removed",[e[1],e[2]],t)}function b(e,t,r){t instanceof et&&("onload"===r&&(this.onload=!0),("load"===(e[0]&&e[0].type)||this.onload)&&(this.xhrCbStart=(0,_.t)()))}function E(e,t){this.xhrCbStart&&r.emit("xhr-cb-time",[(0,_.t)()-this.xhrCbStart,this.onload,t],t)}function w(e){var t,r=e[1]||{};if("string"==typeof e[0]?0===(t=e[0]).length&&g.RI&&(t=""+g.gm.location.href):e[0]&&e[0].url?t=e[0].url:g.gm?.URL&&e[0]&&e[0]instanceof URL?t=e[0].href:"function"==typeof e[0].toString&&(t=e[0].toString()),"string"==typeof t&&0!==t.length){t&&(this.parsedOrigin=(0,Ge.D)(t),this.sameOrigin=this.parsedOrigin.sameOrigin);var n=i.generateTracePayload(this.parsedOrigin);if(n&&(n.newrelicHeader||n.traceContextParentHeader))if(e[0]&&e[0].headers)o(e[0].headers,n)&&(this.dt=n);else{var s={};for(var a in r)s[a]=r[a];s.headers=new Headers(r.headers||{}),o(s.headers,n)&&(this.dt=n),e.length>1?e[1]=s:e.push(s)}}function o(e,t){var r=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}}function R(e,t){this.params={},this.metrics={},this.startTime=(0,_.t)(),this.dt=t;let[r,n={}]=e;$e(this,Ze(r));const i=(""+(r&&r instanceof Qe&&r.method||n.method||"GET")).toUpperCase();this.params.method=i,this.txSize=Le(n.body||r?.body)||0;try{var a=n.headers||r?.headers;if(s&&a)if(this.requestHeaders??={},a instanceof Headers)a.forEach(function(e,t){this.requestHeaders[t.toLowerCase()]=e}.bind(this));else if("object"==typeof a)for(var o in a)this.requestHeaders[o.toLowerCase()]=a[o]}catch(e){}this.requestBody=n.body||r?.body}function T(e,t){if(this.endTime=(0,_.t)(),this.params||(this.params={}),(0,Ye.iW)(this.params))return;this.params.status=t?t.status:0;const n=()=>{const e=+this.rxSize,t=null==this.rxSize||isNaN(e)?void 0:e,r={txSize:this.txSize,rxSize:t,duration:this.endTime-this.startTime},n=[this.params,r,this.startTime,this.endTime,"fetch"];this.targets.forEach(e=>x(n,this,e))};t&&s?t.clone().text().then(e=>{this.responseBody=e,this.rxSize&&"0"!==this.rxSize&&0!==this.rxSize||void 0===e||0===this.params.status||(this.rxSize=Le(e)),t?.headers&&(this.responseHeaders={},t.headers.forEach(function(e,t){this.responseHeaders[t.toLowerCase()]=e}.bind(this)))}).catch(e=>{r.emit(rt,[e])}).finally(()=>{n()}):n()}function A(e){const t=this.params,n=this.metrics;if(this.ended)return;this.ended=!0;for(let t=0;t<Xe;t++)e.removeEventListener(Je[t],this.listener,!1);if(t.aborted)return;if((0,Ye.iW)(t))return;if(n.duration=this.endTime-this.startTime,this.loadCaptureCalled||4!==e.readyState?null==t.status&&(t.status=0):O(this,e),n.cbTime=this.cbTime,s){try{this.responseBody=e.responseText}catch(t){this.responseBody=e.response}if((!n.rxSize||0===n.rxSize)&&void 0!==this.responseBody&&0!==t.status){const e=Le(this.responseBody);void 0!==e&&(n.rxSize=e)}try{this.responseHeaders=function(e){const t={};return e?(e.split("\r\n").forEach(function(e){const r=e.indexOf(": ");if(r>0){const n=e.substring(0,r),i=e.substring(r+2);t[n.toLowerCase()]=i}}),t):t}(e.getAllResponseHeaders())}catch(e){r.emit(rt,[e])}}const i=[t,n,this.startTime,this.endTime,"xhr"];this.targets.forEach(e=>x(i,this,e))}function x(e,r,i){n("xhr",[...e,i],r,t.K7.ajax)}function O(e,n){e.params.status=n.status;var i=function(e,t){var r=e.responseType;return"json"===r&&null!==t?t:"arraybuffer"===r||"blob"===r||"json"===r?Le(e.response):"text"===r||""===r||void 0===r?Le(e.responseText):void 0}(n,e.lastSize);if(void 0!==i&&0!==n.status&&(e.metrics.rxSize=i),e.sameOrigin&&n.getAllResponseHeaders().indexOf(tt)>=0){var s=n.getResponseHeader(tt);s&&((0,S.p)("sm",["Ajax/CrossApplicationTracing/Header/Seen"],void 0,t.K7.metrics,r),e.params.cat=s.split(", ").pop())}e.loadCaptureCalled=!0}r.on("new-xhr",a),r.on("open-xhr-start",o),r.on("open-xhr-end",d),r.on("send-xhr-start",l),r.on("setRequestHeader-xhr-start",u),r.on("xhr-cb-time",f),r.on("xhr-load-added",h),r.on("xhr-load-removed",p),r.on("xhr-resolved",m),r.on("addEventListener-end",v),r.on("removeEventListener-end",y),r.on("fn-end",E),r.on("fetch-before-start",w),r.on("fetch-start",R),r.on("fn-start",b),r.on("fetch-done",T)}(e,this.ee,this.handler,this.dt),this.importAggregator(e,()=>r.e(478).then(r.bind(r,3845)))}}const it={},st=["pushState","replaceState"];function at(e,t){const r=function(e){return(e||R.ee).get("history")}(e);return!g.RI||it[r.debugId]++||(it[r.debugId]=1,(0,Pe.YM)(r,void 0,t).inPlace(window.history,st,"-")),r}var ot=r(3738);function ct(e){(0,N.Y)(k.BL,function(r=Date.now()){const n=r-g.WN;n<0&&(0,l.R)(62,r),(0,S.p)(q.XG,[k.BL,{time:n}],void 0,t.K7.metrics,e.ee),e.addToTrace({name:k.BL,start:r,origin:"nr"}),(0,S.p)("api-"+k.hG,[n,k.BL],void 0,t.K7.genericEvents,e.ee)},e)}const{He:dt,bD:ut,d3:lt,Kp:ft,TZ:ht,Lc:pt,uP:gt,Rz:mt}=ot;class vt extends W{static featureName=ht;constructor(e){var n;super(e,ht),n=e,(0,N.Y)(k.U2,function(e){if(!(e&&"object"==typeof e&&e.name&&e.start))return;const r={n:e.name,s:e.start-g.WN,e:(e.end||e.start)-g.WN,o:e.origin||"",t:"api"};r.s<0||r.e<0||r.e<r.s?(0,l.R)(61,{start:r.s,end:r.e}):(0,S.p)("bstApi",[r],void 0,t.K7.sessionTrace,n.ee)},n),ct(e);
4981if(!(0,j.V)(e.init))return void this.deregisterDrain();const i=this.ee;let s;at(i,e),this.eventsEE=(0,Me.u)(i,e),this.eventsEE.on(gt,function(e,t){this.bstStart=(0,_.t)()}),this.eventsEE.on(pt,function(e,r){(0,S.p)("bst",[e[0],r,this.bstStart,(0,_.t)()],void 0,t.K7.sessionTrace,i)}),i.on(mt+lt,function(e){this.time=(0,_.t)(),this.startPath=location.pathname+location.hash}),i.on(mt+ft,function(e){(0,S.p)("bstHist",[location.pathname+location.hash,this.startPath,this.time],void 0,t.K7.sessionTrace,i)});try{s=new PerformanceObserver(e=>{const r=e.getEntries();(0,S.p)(dt,[r],void 0,t.K7.sessionTrace,i)}),s.observe({type:ut,buffered:!0})}catch(e){}this.importAggregator(e,()=>r.e(478).then(r.bind(r,6974)),{resourceObserver:s})}}var yt=r(733),bt=r(6344);class Et extends W{static featureName=bt.TZ;#i;recorder;constructor(e){var n;let i;super(e,bt.TZ),n=e,(0,N.Y)(k.CH,function(){(0,S.p)(k.CH,[],void 0,t.K7.sessionReplay,n.ee)},n),function(e){(0,N.Y)(k.Tb,function(){(0,S.p)(k.Tb,[],void 0,t.K7.sessionReplay,e.ee)},e)}(e);const s="".concat(u.Wt).concat((0,yt.Y)(e.info.licenseKey,e.info.applicationID));try{i=JSON.parse(localStorage.getItem(s))}catch(e){}(0,I.SR)(e.init)&&this.ee.on(k.CH,()=>this.#s()),this.#a(i)&&this.importRecorder().then(e=>{e.startRecording(bt.Qb.PRELOAD,i?.sessionReplayMode)}),this.abortHandler=this.#n,this.importAggregator(this.agentRef,()=>r.e(478).then(r.bind(r,6167)),this),this.ee.on("err",e=>{this.blocked||this.agentRef.runtime.isRecording&&(this.errorNoticed=!0,(0,S.p)(bt.Vh,[e],void 0,this.featureName,this.ee))})}#a(e){return e&&(e.sessionReplayMode===u.g.FULL||e.sessionReplayMode===u.g.ERROR)||(0,I.Aw)(this.agentRef.init)}importRecorder(){return this.recorder?Promise.resolve(this.recorder):(this.#i??=Promise.all([r.e(478),r.e(249)]).then(r.bind(r,4866)).then(({Recorder:e})=>(this.recorder=new e(this),this.recorder)).catch(e=>{throw this.ee.emit("internal-error",[e]),this.blocked=!0,e}),this.#i)}#s(){this.blocked||(this.featAggregate?this.featAggregate.mode!==u.g.FULL&&this.featAggregate.initializeRecording(u.g.FULL,!0,bt.Qb.API):this.importRecorder().then(()=>{this.recorder.startRecording(bt.Qb.API,u.g.FULL)}))}#n(){this.recorder?.stopRecording()}}var wt=r(3962);class Rt extends W{static featureName=wt.TZ;constructor(e){if(super(e,wt.TZ),function(e){const r=e.ee.get("tracer");function n(){}(0,N.Y)(k.dT,function(e){return(new n).get("object"==typeof e?e:{})},e);const i=n.prototype={createTracer:function(n,i){var s={},a=this,o="function"==typeof i;return(0,S.p)(q.xV,["API/createTracer/called"],void 0,t.K7.metrics,e.ee),function(){if(r.emit((o?"":"no-")+"fn-start",[(0,_.t)(),a,o],s),o)try{return i.apply(this,arguments)}catch(e){const t="string"==typeof e?new Error(e):e;throw r.emit("fn-err",[arguments,this,t],s),t}finally{r.emit("fn-end",[(0,_.t)()],s)}}}};["actionText","setName","setAttribute","save","ignore","onEnd","getContext","end","get"].forEach(r=>{N.Y.apply(this,[r,function(){return(0,S.p)(k.hw+r,[performance.now(),...arguments],this,t.K7.softNav,e.ee),this},e,i])}),(0,N.Y)(k.PA,function(){(0,S.p)(k.hw+"routeName",[performance.now(),...arguments],void 0,t.K7.softNav,e.ee)},e)}(e),!g.RI||!(0,i.dV)().o.MO)return;const n=at(this.ee,e);try{this.removeOnAbort=new AbortController}catch(e){}wt.tC.forEach(e=>{(0,J.sp)(e,e=>{c(e)},!0,this.removeOnAbort?.signal)}
4981);const s=()=>(0,S.p)("newURL",[(0,_.t)(),""+window.location],void 0,this.featureName,this.ee);n.on("pushState-end",s),n.on("replaceState-end",s),(0,J.sp)(wt.OV,e=>{c(e),(0,S.p)("newURL",[e.timeStamp,""+window.location],void 0,this.featureName,this.ee)},!0,this.removeOnAbort?.signal);let a=!1;const o=new((0,i.dV)().o.MO)((e,t)=>{a||(a=!0,requestAnimationFrame(()=>{(0,S.p)("newDom",[(0,_.t)()],void 0,this.featureName,this.ee),a=!1}))}),c=(0,C.s)(e=>{"loading"!==document.readyState&&((0,S.p)("newUIEvent",[e],void 0,this.featureName,this.ee),o.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}))},100,{leading:!0});this.abortHandler=function(){this.removeOnAbort?.abort(),o.disconnect(),this.abortHandler=void 0},this.importAggregator(e,()=>r.e(478).then(r.bind(r,4393)),{domObserver:o})}}var Tt=r(981);const At={},St=new Set;function xt(e){return"string"==typeof e?{type:"string",size:(new TextEncoder).encode(e).length}:e instanceof ArrayBuffer?{type:"ArrayBuffer",size:e.byteLength}:e instanceof Blob?{type:"Blob",size:e.size}:e instanceof DataView?{type:"DataView",size:e.byteLength}:ArrayBuffer.isView(e)?{type:"TypedArray",size:e.byteLength}:{type:"unknown",size:0}}class Ot{constructor(e,t){this.timestamp=(0,_.t)(),this.currentUrl=(0,Ee.L)(window.location.href),this.socketId=(0,ye.LA)(8),this.requestedUrl=(0,Ee.L)(e),this.requestedProtocols=Array.isArray(t)?t.join(","):t||"",this.openedAt=void 0,this.protocol=void 0,this.extensions=void 0,this.binaryType=void 0,this.messageOrigin=void 0,this.messageCount=0,this.messageBytes=0,this.messageBytesMin=0,this.messageBytesMax=0,this.messageTypes=void 0,this.sendCount=0,this.sendBytes=0,this.sendBytesMin=0,this.sendBytesMax=0,this.sendTypes=void 0,this.closedAt=void 0,this.closeCode=void 0,this.closeReason="unknown",this.closeWasClean=void 0,this.connectedDuration=0,this.hasErrors=void 0}}class _t extends W{static featureName=o.TZ;constructor(e){super(e,o.TZ);const n=e.init.feature_flags.includes("websockets")||e.init.web_sockets?.enabled,s=!e.init.feature_flags.includes("no_spv"),a=[e.init.page_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.performance.resources.enabled,e.init.user_actions.enabled,n,s];var c;let d;if(c=e,(0,N.Y)(k.hG,(e,t)=>ce(e,t,c),c),function(e){(0,N.Y)(k.fF,(t,r)=>ue(t,r,e),e)}(e),ct(e),Se(e),function(e){(0,N.Y)(k.V1,(t,r)=>de(t,r,e),e)}(e),this.removeOnAbort=new AbortController,this.abortHandler=()=>{this.removeOnAbort.abort(),this.abortHandler=void 0},n){const u=function(e,t){if(!(0,i.dV)().o.WS)return e;const r=e.get("websockets");if(At[r.debugId]++)return r;At[r.debugId]=1,(0,V.G)(()=>{const e=(0,_.t)();St.forEach(t=>{t.nrData.closedAt=e,t.nrData.closeCode=1001,t.nrData.closeReason="Page navigating away",t.nrData.closeWasClean=!1,t.nrData.openedAt&&(t.nrData.connectedDuration=e-t.nrData.openedAt),r.emit("ws",[t.nrData,t.targets],t)})});
4981class n extends WebSocket{static name=Tt.R.WS;static toString(){return"function WebSocket() { [native code] }"}toString(){return"[object WebSocket]"}get[Symbol.toStringTag](){return n.name}#o(e){(e.__newrelic??={}).socketId=this.nrData.socketId,this.nrData.hasErrors??=!0}constructor(...e){super(...e),this.nrData=new Ot(e[0],e[1]),this.targets=(0,Ie.$5)(t),this.addEventListener("open",()=>{this.nrData.openedAt=(0,_.t)(),["protocol","extensions","binaryType"].forEach(e=>{this.nrData[e]=this[e]}),St.add(this)}),this.addEventListener("message",e=>{const{type:t,size:r}=xt(e.data);this.nrData.messageOrigin??=(0,Ee.L)(e.origin),this.nrData.messageCount++,this.nrData.messageBytes+=r,this.nrData.messageBytesMin=Math.min(this.nrData.messageBytesMin||1/0,r),this.nrData.messageBytesMax=Math.max(this.nrData.messageBytesMax,r),(this.nrData.messageTypes??"").includes(t)||(this.nrData.messageTypes=this.nrData.messageTypes?"".concat(this.nrData.messageTypes,",").concat(t):t)}),this.addEventListener("close",e=>{this.nrData.closedAt=(0,_.t)(),this.nrData.closeCode=e.code,e.reason&&(this.nrData.closeReason=e.reason),this.nrData.closeWasClean=e.wasClean,this.nrData.connectedDuration=this.nrData.closedAt-this.nrData.openedAt,St.delete(this),r.emit("ws",[this.nrData,this.targets],this)})}addEventListener(e,t,...r){const n=this,i="function"==typeof t?function(...e){try{return t.apply(this,e)}catch(e){throw n.#o(e),e}}:t?.handleEvent?{handleEvent:function(...e){try{return t.handleEvent.apply(t,e)}catch(e){throw n.#o(e),e}}}:t;return super.addEventListener(e,i,...r)}send(e){if(this.readyState===WebSocket.OPEN){const{type:t,size:r}=xt(e);this.nrData.sendCount++,this.nrData.sendBytes+=r,this.nrData.sendBytesMin=Math.min(this.nrData.sendBytesMin||1/0,r),this.nrData.sendBytesMax=Math.max(this.nrData.sendBytesMax,r),(this.nrData.sendTypes??"").includes(t)||(this.nrData.sendTypes=this.nrData.sendTypes?"".concat(this.nrData.sendTypes,",").concat(t):t)}try{return super.send(e)}catch(e){throw this.#o(e),e}}close(...e){try{super.close(...e)}catch(e){throw this.#o(e),e}}}return g.gm.WebSocket=n,r}(this.ee,e);u.on("ws",(e,t)=>{(0,S.p)("ws-complete",[e,t],void 0,this.featureName,this.ee)})}if(s){if("function"==typeof g.gm.ReportingObserver){const l=new g.gm.ReportingObserver(e=>{e.forEach(e=>{(0,S.p)("spv",[kt(e),(0,_.t)()],void 0,t.K7.genericEvents,this.ee)}),l.disconnect()},{types:["csp-violation"],buffered:!0});l.observe()}g.gm.addEventListener("securitypolicyviolation",e=>{(0,S.p)("spv",[kt(e),e.timeStamp],void 0,t.K7.genericEvents,this.ee)},(0,J.jT)(!1,this.removeOnAbort.signal))}if(g.RI){if(ze(this.ee,e),De(this.ee,e),d=at(this.ee,e),e.init.user_actions.enabled){function f(t){const r=(0,Ge.D)(t);return e.beacons.includes(r.hostname+":"+r.port)}function h(){d.emit("navChange")}o.Zp.forEach(e=>(0,J.sp)(e,e=>(0,S.p)("ua",[e],void 0,this.featureName,this.ee),!0)),o.qN.forEac
4981h(e=>{const t=(0,C.s)(e=>{(0,S.p)("ua",[e],void 0,this.featureName,this.ee)},500,{leading:!0});(0,J.sp)(e,t)}),g.gm.addEventListener("error",()=>{(0,S.p)("uaErr",[],void 0,t.K7.genericEvents,this.ee)},(0,J.jT)(!1,this.removeOnAbort.signal)),this.ee.on("open-xhr-start",(e,r)=>{f(e[1])||r.addEventListener("readystatechange",()=>{2===r.readyState&&(0,S.p)("uaXhr",[],void 0,t.K7.genericEvents,this.ee)},(0,J.jT)(void 0,this.removeOnAbort.signal))}),this.ee.on("fetch-start",e=>{e.length>=1&&!f(Ze(e[0]))&&(0,S.p)("uaXhr",[],void 0,t.K7.genericEvents,this.ee)}),d.on("pushState-end",h),d.on("replaceState-end",h),window.addEventListener("hashchange",h,(0,J.jT)(!0,this.removeOnAbort.signal)),window.addEventListener("popstate",h,(0,J.jT)(!0,this.removeOnAbort.signal))}if(e.init.performance.resources.enabled&&g.gm.PerformanceObserver?.supportedEntryTypes.includes("resource")){new PerformanceObserver(e=>{e.getEntries().forEach(e=>{(0,S.p)("browserPerformance.resource",[e],void 0,this.featureName,this.ee)})}).observe({type:"resource",buffered:!0})}}a.some(e=>e)?this.importAggregator(e,()=>r.e(478).then(r.bind(r,8019))):this.deregisterDrain()}}function kt(e){const t=e.body??e;return{blockedUrl:t.blockedURL??e.blockedURI,documentUrl:t.documentURL??e.documentURI,effectiveDirective:t.effectiveDirective,originalPolicy:t.originalPolicy,sourceFile:t.sourceFile,statusCode:t.statusCode,lineNumber:t.lineNumber,columnNumber:t.columnNumber,disposition:"reporting"===t.disposition?"report":t.disposition,sample:t.sample,referrer:t.referrer}}var Nt=r(2646);const Lt=new Map;function Mt(e,t,r,n,i=!0,s){if("object"!=typeof t||!t||"string"!=typeof r||!r||"function"!=typeof t[r])return(0,l.R)(29);const a=function(e){return(e||R.ee).get("logger")}(e),o=(0,Pe.YM)(a,void 0,s),c=new Nt.y(R.P);c.level=n.level,c.customAttributes=n.customAttributes,c.autoCaptured=i;const d=t[r]?.[Pe.Jt]||t[r];return Lt.set(d,c),o.inPlace(t,[r],"wrap-logger-",()=>Lt.get(d),void 0,!0),a}var Pt=r(1910);class It extends W{static featureName=se.TZ;constructor(e){var t;super(e,se.TZ),t=e,(0,N.Y)("log",(e,r)=>oe(e,r,t),t),function(e){(0,N.Y)(k.Wb,(t,r,{customAttributes:n={},level:i=se.p_.INFO}={})=>{Mt(e.ee,t,r,{customAttributes:n,level:i},!1,e)},e)}(e),Se(e);const n=this.ee;["log","error","warn","info","debug","trace"].forEach(t=>{(0,Pt.i)(g.gm.console[t]),Mt(n,g.gm.console,t,{level:"log"===t?"info":t},void 0,e)}),this.ee.on("wrap-logger-end",function([t],r,i,s=[e.runtime.v2Target]){const{level:a,customAttributes:o,autoCaptured:c}=this;s.forEach(e=>{(0,ae.R)(n,t,o,a,c,e)})}),this.importAggregator(e,()=>r.e(478).then(r.bind(r,5288)))}}new F({features:[nt,K,G,vt,Et,Y,Oe,_t,It,Rt],loaderType:"spa"})})()})();</script>
4981 4982 </head> 4983 4984<body id="intuero" style="--promo-height: calc(calc(var(--layout-spacing) * 3) + 100px);"> 4985 <div id="CookieBotBluerredBackground"></div> 4986 4987 <!--[if lte IE 7]>
4987<script src="core/js/ie6/warning.js"></script>
4987<script>window.onload=function(){ie6("core/js/ie6/")}</script>
4987<![endif]--> 4988 <div id="fb-root"></div> 4989 4990 <div id="page" class="site"> 4991 <a class="screenReaderText bind-skipToContent" href="#content">Skip to content</a> 4992 4993 4994 <!-- Google Tag Manager (noscript) -->
vendor: 80 bytes, lines 4994-4995
4994 4995 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
4995GTM-NQWG96J
vendor: 95 bytes, lines 4995-4996
4995" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 4996
4996<!-- End Google Tag Manager (noscript) --> 4997 4998 4999<div class="bnuPromoBarContainer"><div class="bnuPromoBar notification" role="region" aria-label="Promotion" style="height: calc(var(--layout-spacing) * 3)"><p class="bnuPromoBar__message bnuPromoBar__message--responsive" data-id="15476"><span class="bnuPromoBar__messageDesktop">Bezmaksas piegÄde uz <strong>Omniva </strong>paku terminÄļiem 1.-30.09.</span><span class="bnuPromoBar__messageMobile">Bezmaksas piegÄde uz <strong>Omniva </strong>paku terminÄļiem 1.-30.09.</span></p><button 5000 class="bnuPromoBarClose bnuPromoBar__close notificationClose promo-bar-close" 5001 type="button" 5002 data-id="15476" 5003 aria-label="Close promotion"> 5004 <i class="fa-regular fa-xmark" aria-hidden="true"></i> 5005 </button></div><div class="bnuPromoBarSliderWrap bind-promoBarSliderWrap--top" role="region" aria-label="Promotion"><button type="button" class="bnuPromoBarClose bnuPromoBar__close bind-sliderBanner-close promo-bar-close" data-wrap="bind-promoBarSliderWrap--top" data-position="top" aria-label="AizvÄrt"><i class="fa-regular fa-xmark" aria-hidden="true"></i></button><div class="bnuPromoBarSlider bnuPromoBarSlider--top "><ul class="bnuPromoBarSlider__track bind-sliderBanner--top"><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15477" data-promodata="{"ID":15477,"name":"202609 Omniva pieg\u0101de","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/0109-30092026.png" alt="202609 Omniva piegÄde"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15477" data-promodata="{"ID":15477,"name":"202609 Omniva pieg\u0101de","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/0109-30092026.png" alt="202609 Omniva piegÄde"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15477" data-promodata="{"ID":15477,"name":"202609 Omniva pieg\u0101de","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/0109-30092026.png" alt="202609 Omniva piegÄde"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15477" data-promodata="{"ID":15477,"name":"202609 Omniva pieg\u0101de","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/0109-30092026.png" alt="202609 Omniva piegÄde"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15477" data-promodata="{"ID":15477,"name":"202609 Omniva pieg\u0101de","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/0109-30092026.png" alt="202609 Omniva piegÄde"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15477" data-promodata="{"ID":15477,"name":"202609 Omniva pieg\u0101de","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/0109-30092026.png" alt="202609 Omniva piegÄde"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15477" data-promodata="{"ID":15477,"name":"202609 Omniva pieg\u0101de","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/0109-30092026.png" alt="202609 Omniva piegÄde"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15477" data-promodata="{"ID":15477,"name":"202609 Omniva pieg\u0101de","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/0109-30092026.png" alt="202609 Omniva piegÄde"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15477" data-promodata="{"ID":15477,"name":"202609 Omniva pieg\u0101de","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/0109-30092026.png" alt="202609 Omniva piegÄde"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15477" data-promodata="{"ID":15477,"name":"202609 Omniva pieg\u0101de","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/0109-30092026.png" alt="202609 Omniva piegÄde"/></a></li></ul></div></div></div> 5006 5007<header class="bnuHeader" id="top"> 5008 <nav class="bnuTopNav cache-on" aria-label="Utility navigation"> 5009 5010<ul class="bnuBasicMenu basicMenu--RQEx" data-lvl="1"> 5011 <li class="module-14569 lvl-1 menu_noChilds" data-lvl="1"> 5012 <a href="https://www.benu.lv/e-davanu-karte" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">DÄvanu karte</span></a> 5013 </li> 5014 <li class="module-15087 lvl-1 menu_noChilds" data-lvl="1"> 5015 <a href="https://www.benu.lv/ikmenesa-avize" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">
5015BENU akcijas avÄ«ze</span></a> 5016 </li> 5017 <li class="module-10021 lvl-1 menu_noChilds" data-lvl="1"> 5018 <a href="https://www.benu.lv/pakalpojumi-filiales" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">Pakalpojumi aptiekÄs</span></a> 5019 </li> 5020 <li class="module-14989 lvl-1 menu_noChilds" data-lvl="1"> 5021 <a href="https://www.benu.lv/ziedo-bernu-veselibai" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">Ziedo </span></a> 5022 </li> 5023 <li class="module-10867 lvl-1 menu_noChilds" data-lvl="1"> 5024 <a href="https://www.benu.lv/jaunumi" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">Jaunumi</span></a> 5025 </li> 5026 <li class="module-13057 lvl-1 menu_noChilds" data-lvl="1"> 5027 <a href="https://www.benu.lv/piegade" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">PiegÄde</span></a> 5028 </li> 5029 <li class="module-13059 lvl-1 menu_noChilds" data-lvl="1"> 5030 <a href="https://www.benu.lv/klientu-serviss" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">Klientu zvanu centrs</span></a> 5031 </li> 5032 </ul> </nav> 5033 5034 <div class="bnuHeader__main"> 5035
5035<script type="application/ld+json" nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=">{ 5036 "@context": "https://schema.org", 5037 "@type": "Organization", 5038 "name": "BENU aptieka", 5039 "image": "/application/images/benu-logo.svg", 5040 "url": "https://www.benu.lv/", 5041 "logo": "/application/images/benu-logo.svg", 5042 "telephone": "+37125621621", 5043 "email": "[email protected]" 5044}</script>
5044 <!-- <a href="#" class="bnuButton bnuButton--iconOnly bnuMobileMenuToggle bind-toggleMobileMenu" aria-label="Toggle menu"> 5045 <i class="fa-regular fa-bars" aria-hidden="true"></i> 5046 </a> --> 5047 5048 <button class="bnuButton bnuButton--iconOnly bnuMobileMenuToggle bind-toggleMobileMenu" aria-label="IzvÄrst izvÄlni" type="button" aria-expanded="false"> 5049 <i class="fa-regular fa-bars" aria-hidden="true"></i> 5050 </button> 5051 5052 <a href="https://www.benu.lv/" class="bnuLogo" aria-current="page"> 5053 <img src="/application/images/benu-logo.svg" alt="BENU BENU homepage" width="135" height="36"> 5054 </a> 5055 5056 5057<div class="bnuHeader__search"> 5058 <div class="bnuHeaderSearch__mobileBar"> 5059 <span class="bnuHeaderSearch__mobileTitle">MeklÄt</span> 5060 <button type="button" class="bnuHeaderSearch__close bind-searchClose" aria-label="AizvÄrt meklÄÅ¡anu"></button> 5061 </div> 5062 <form role="search" method="get" action="https://www.benu.lv/meklet?vars/confuseSUM/1"> 5063 <label class="screenReaderText" for="headerSearch"> 5064 MeklÄt </label> 5065 5066 <div class="bnuInputWrap bnuInputWrap--showPlaceholder"><input class="bnuInput bnuInput bnuHeader__searchInput" type="search" id="headerSearch" name="search" value="" placeholder="MeklÄt produktus, simptomus, aptiekas..." tabindex="0" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" accesskey="f" aria-label="Iesniegt meklÄÅ¡anu"></div> 5067 <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly" tabindex="-1" aria-label="Iesniegt meklÄÅ¡anu" type="submit"><i class="fa-regular fa-magnifying-glass" aria-hidden="true"></i></button> </form> 5068</div> 5069
5070<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 5071 var charMap = { 5072 'a': /[ÃÃÃÃÃà à áâãäåÄÄÄÄÄÄ ÇÇǺǻ]/gi, 5073 'ae': /[ÃæǼǽ]/gi, 5074 'c': /[ÃçÄÄÄÄÄÄÄÄ]/gi, 5075 'd': /[ÃÄÄÄÄ]/gi, 5076 'e': /[ÃÃÃÃèéêëÄÄÄÄÄÄÄÄÄÄ]/gi, 5077 'f': /[Æ]/gi, 5078 'g': /[ÄÄÄÄÄ Ä¡Ä¢Ä£]/gi, 5079 'h': /[ĤĥĦħ]/gi, 5080 'i': /[ÃÃÃÃìÃîïĨĩĪīĬÄĮįİıÇÇ]/gi, 5081 'ij': /[IJij]/gi, 5082 'j': /[Ĵĵ]/gi, 5083 'k': /[Ķķ]/gi, 5084 'l': /[ĹĺĻļĽľĿÅÅÅ]/gi, 5085 'n': /[ÃñÅÅÅ ÅÅÅÅ]/gi, 5086 'o': /[ÃÃÃÃÃÃòóôõöøÅÅÅÅÅÅÆ Æ¡ÇÇǾǿ]/gi, 5087 'oe': /[ÅÅ]/gi, 5088 'r': /[ÅÅÅÅÅÅ]/gi, 5089 's': /[ÃÅÅÅÅÅÅŠšſ]/gi, 5090 't': /[ŢţŤťŦŧ]/gi, 5091 'u': /[ÃÃÃÃùúûüŨũŪūŬÅŮůŰűŲųƯưÇÇÇÇÇÇÇÇÇÇ]/gi, 5092 'w': /[Ŵŵ]/gi, 5093 'y': /[ÃýÿŶŷŸ]/gi, 5094 'z': /[ŹźŻżŽž]/gi, 5095 '-': /[â]/gi, 5096 ' ': /[âââ¹âºâ]/gi, 5097 ' ': /[ââ«»â]/gi 5098 }; 5099 var normalize = function(str) { 5100 $.each(charMap, function(normalized, regex) { 5101 str = str.replace(regex, normalized); 5102 }); 5103 return str; 5104 }; 5105 5106 var queryTokenizer = function(q) { 5107 if (q) { 5108 q = q.toLowerCase(); 5109 var normalized = normalize(q); 5110 return Bloodhound.tokenizers.whitespace(normalized); 5111 } else { 5112 return Bloodhound.tokenizers.whitespace(q); 5113 } 5114 }; 5115 </script>
5115 <div class="bnuHeader__actions"> 5116 <span class="bnuHeader__wishlist"> 5117 <a href="https://www.benu.lv/mans-profils?vars/extension/favoriteProducts" class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bind-favoritesStatusBox" aria-label="MīļÄkie produkti"><i class="fa-light fa-heart" aria-hidden="true"></i></a> </span> 5118
5118<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 5119 function updateFavoritesStatusBox() { 5120 ajaxHelperOnReady( 5121 { 5122 className: 'Favorites', 5123 methodName: 'getFavoritesStatus', 5124 args: {}, 5125 }, 5126 function(callback) { 5127 var count = parseInt(callback.return, 10) || 0; 5128 $('.bind-favoritesStatusBox-qnt').html(count); 5129 }, 5130 'POST' 5131 ); 5132 } 5133 </script>
5133 5134 <a href="https://www.benu.lv/aptiekas" class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly" aria-label="Aptieku meklÄtÄjs"><i class="fa-light fa-location-dot" aria-hidden="true"></i></a> <nav class="bnuHeader__account" aria-label="LietotÄja konta pÄrvaldÄ«ba"> 5135 <ul> 5136 <li class="non-logged"> 5137 <a href="https://www.benu.lv/ienakt" class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuHeader__accountButton" aria-label="LietotÄja konta pÄrvaldÄ«ba"><i class="fa-light fa-user" aria-hidden="true"></i></a> 5138 </li> 5139 </ul> 5140 </nav> 5141 </div> 5142 5143 <div class="bnuHeader__cart"> 5144 <a href="https://www.benu.lv/iepirkumu-grozs" class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--cart bind-cartStatusBox bind-toggleCart" aria-label="Grozs"><i class="fa-light fa-shopping-bag" aria-hidden="true"></i><span class="bnuCartCount bind-cartStatusBox-qnt" aria-hidden="true">0</span></a> </div> 5145 </div> 5146 5147
5147<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 5148 $(document).ready(function() { 5149 var mobileMenuOpenLabel = "Izv\u0113rst izv\u0113lni"; 5150 var mobileMenuCloseLabel = "Sak\u013caut izv\u0113lni"; 5151 5152 function setMobileMenuToggleState(isOpen) { 5153 var $toggles = $('.bind-toggleMobileMenu'); 5154 5155 $toggles 5156 .attr('aria-expanded', isOpen ? 'true' : 'false') 5157 .attr('aria-label', isOpen ? mobileMenuCloseLabel : mobileMenuOpenLabel); 5158 $toggles.find('i') 5159 .toggleClass('fa-bars', !isOpen) 5160 .toggleClass('fa-xmark', isOpen); 5161 } 5162 5163 setMobileMenuToggleState($('body').hasClass('mobileMenuOpened')); 5164 5165 $('.bind-toggleMobileMenu').on('click', function(e) { 5166 e.preventDefault(); 5167 5168 if ($('body').hasClass('mobileMenuOpened')) { 5169 $('body').removeClass('mobileMenuOpened');
5170 $('.bnuMobileMenu .bnuMobileMenu__content').delay(700).hide(0); 5171 setMobileMenuToggleState(false); 5172 } else { 5173 $('body').addClass('mobileMenuOpened'); 5174 $('.bnuMobileMenu .bnuMobileMenu__content').show(0); 5175 setMobileMenuToggleState(true); 5176 } 5177 }); 5178 $('.bind-mobileMenuTabs a:not(:first)').addClass('inactive'); 5179 $('.bind-mobileMenuContent').hide().attr('aria-hidden', 'true'); 5180 $('.bind-mobileMenuContent:first').show().attr('aria-hidden', 'false'); 5181 5182 $('.bind-mobileMenuTabs a').click(function(e) { 5183 e.preventDefault(); 5184 var tab = $(this).attr('data-target'); 5185 if ($(this).hasClass('inactive')) { 5186 $('.bind-mobileMenuTabs a').addClass('inactive'); 5187 $(this).removeClass('inactive'); 5188 5189 var $target = $('#' + tab); 5190 $target.show().attr('aria-hidden', 'false'); 5191 $('.bind-mobileMenuContent').not($target).hide().attr('aria-hidden', 'true'); 5192 } 5193 }); 5194 }); 5195 </script>
5195 5196 5197 <div role="navigation" class="bnuMobileMenu cache-on"> 5198 <div class="bnuMobileMenu__header"> 5199 <button class="bnuButton bnuButton--iconOnly bnuMobileMenuToggle bind-toggleMobileMenu" aria-label="IzvÄrst izvÄlni" type="button" aria-expanded="false"> 5200 <i class="fa-regular fa-bars" aria-hidden="true"></i> 5201 </button> 5202 5203 <ul class="bnuMobileMenu__tabs bind-mobileMenuTabs"> 5204 <li> 5205 <a data-target="mobileMenuCats" href="#categories"> 5206 Kategorijas </a> 5207 </li> 5208 <li> 5209 <a data-target="mobileMenu" href="#menu"> 5210 Par BENU </a> 5211 </li> 5212 </ul> 5213 </div> 5214 <div class="bnuMobileMenu__content" style="display: none"> 5215 <div id="mobileMenuCats" class="bnuMobileMenu__panel bind-mobileMenuContent"> 5216 <nav> 5217 5218 <div class="bnuMobileNav bnuMobileNav--categories"> 5219 <p class="bnuMobileNav__title"> 5220 Kategorijas </p> 5221 5222 <div class="bnuMobileNav__scroll"> 5223 <ul class="bnuMobileNav__list"> 5224 <li class="module-16042 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" data-id="16042"> 5225 <a class="bnuMobileNav__link bnuMenuButton--green" href="https://www.benu.lv/partneru-piedavajums"> 5226 <i class="fal fa-clinic-medical" aria-hidden="true"></i> 5227 <span>Ärstu konsultÄcijas</span> 5228 </a> 5229 5230 </li> 5231 <li class="module-14824 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" data-id="14824"> 5232 <a class="bnuMobileNav__link bnuMenuButton--green" href="https://www.benu.lv/e-aptieka/noliktavas-atlaides"> 5233 <i class="fal fa-box-full" aria-hidden="true"></i> 5234 <span>Noliktavas atlaides</span> 5235 </a> 5236 5237 </li> 5238 <li class="module-10857 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" data-id="10857"> 5239 <a class="bnuMobileNav__link bnuMenuButton--pink" href="https://www.benu.lv/akcijas"> 5240 <i class="fal fa-percent" aria-hidden="true"></i> 5241 <span>Akcijas</span> 5242 </a> 5243 5244 </li> 5245 <li class="module-11910 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" data-id="11910"> 5246 <a class="bnuMobileNav__link bnuMenuButton--pink" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
5246as-kopsana/saulosanas-kosmetika"> 5247 <i class="fal fa-sun" aria-hidden="true"></i> 5248 <span>SauļoÅ¡anÄs kosmÄtika</span> 5249 </a> 5250 5251 </li> 5252 <li class="module-2098 lvl-2 menu_hasChilds bnuMobileNav__item" data-lvl="2" data-id="2098"> 5253 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti" aria-expanded="false"> 5254 <i class="fal fa-tablets" aria-hidden="true"></i> 5255 <span>BezrecepÅ¡u medikamenti</span> 5256 </a> 5257 5258 <div class="bnuMobileNav__panel" data-lvl="2"> 5259 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5260 BezrecepÅ¡u medikamenti </button> 5261 5262 <div class="bnuMobileNav__scroll"> 5263 <ul class="bnuMobileNav__list"> 5264 <li class="bnuMobileNav__item"> 5265 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti"> 5266 <span>SkatÄ«t visus produktus</span> 5267 </a> 5268 5269 </li> 5270 <li class="module-2100 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2100"> 5271 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas" aria-expanded="false"> 5272 <span>SaaukstÄÅ¡anÄs</span> 5273 </a> 5274 5275 <div class="bnuMobileNav__panel" data-lvl="3"> 5276 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5277 SaaukstÄÅ¡anÄs </button> 5278 5279 <div class="bnuMobileNav__scroll"> 5280 <ul class="bnuMobileNav__list"> 5281 <li class="bnuMobileNav__item"> 5282 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas"> 5283 <span>SkatÄ«t visus produktus</span> 5284 </a> 5285 </li> 5286 <li class="module-2101 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2101"> 5287 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/saaukstesanas-un-gripa"> 5288 <sp
5288an>SaaukstÄÅ¡anÄs un gripa</span> 5289 </a> 5290 </li> 5291 <li class="module-2102 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2102"> 5292 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/kakla-sapes"> 5293 <span>Kakla sÄpes</span> 5294 </a> 5295 </li> 5296 <li class="module-2725 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2725"> 5297 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/klepus"> 5298 <span>Klepus</span> 5299 </a> 5300 </li> 5301 <li class="module-2103 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2103"> 5302 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/iesnas"> 5303 <span>Iesnas</span> 5304 </a> 5305 </li> 5306 </ul> 5307 </div> 5308 </div> 5309 </li> 5310 <li class="module-2131 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2131"> 5311 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite" aria-expanded="false"> 5312 <span>Sirds un asinsrite</span> 5313 </a> 5314 5315 <div class="bnuMobileNav__panel" data-lvl="3"> 5316 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5317 Sirds un asinsrite </button> 5318 5319 <div class="bnuMobileNav__scroll"> 5320 <ul class="bnuMobileNav__list"> 5321 <li class="bnuMobileNav__item"> 5322 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite"> 5323 <sp
5323an>SkatÄ«t visus produktus</span> 5324 </a> 5325 </li> 5326 <li class="module-2134 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2134"> 5327 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/sirds-veseliba"> 5328 <span>Sirds veselÄ«ba</span> 5329 </a> 5330 </li> 5331 <li class="module-2133 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2133"> 5332 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/trombi"> 5333 <span>Trombi</span> 5334 </a> 5335 </li> 5336 <li class="module-2136 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2136"> 5337 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/venas-un-asinsvadi"> 5338 <span>VÄnas un asinsvadi</span> 5339 </a> 5340 </li> 5341 <li class="module-10806 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="10806"> 5342 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/dzelzs-un-folijskabes-preperati"> 5343 <span>Dzelzs un folijskÄbe </span> 5344 </a> 5345 </li> 5346 </ul> 5347 </div> 5348 </div> 5349 </li> 5350 <li class="module-11917 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="11917"> 5351 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes" aria-expanded="false"> 5352 <span>SÄpes</span> 5353 </a> 5354 5355 <div class="bnuMobileNav__panel" data-lvl="3"> 5356 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5357 SÄpes </button> 5358 5359 <div class="bnuMobileNav__scroll"> 5360 <ul class="bnuMobileNav__list"> 5361 <li class="bnuMobileNav__item"> 5362 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes"> 5363 <sp
5363an>SkatÄ«t visus produktus</span> 5364 </a> 5365 </li> 5366 <li class="module-11920 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11920"> 5367 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/sapes-un-iekaisums"> 5368 <span>SÄpes un iekaisums</span> 5369 </a> 5370 </li> 5371 <li class="module-11921 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11921"> 5372 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/pretsapju-ziedes-geli"> 5373 <span>PretsÄpju ziedes, geli</span> 5374 </a> 5375 </li> 5376 <li class="module-11918 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11918"> 5377 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/pretsapju-plaksteri"> 5378 <span>PretsÄpju plÄksteri</span> 5379 </a> 5380 </li> 5381 </ul> 5382 </div> 5383 </div> 5384 </li> 5385 <li class="module-2189 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2189"> 5386 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/locitavam-un-kauliem"> 5387 <span>LocÄ«tavÄm, kauliem un muskuļiem</span> 5388 </a> 5389 5390 </li> 5391 <li class="module-2147 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2147"> 5392 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe" aria-expanded="false"> 5393 <span>Ädas aprÅ«pe</span> 5394 </a> 5395 5396 <div class="bnuMobileNav__panel" data-lvl="3"> 5397 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5398 Ädas aprÅ«pe </button> 5399 5400 <div class="bnuMobileNav__scroll"> 5401 <ul class="bnuMobileNav__list"> 5402 <li class="bnuMobileNav__item"> 5403 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe"> 5404 <sp
5404an>SkatÄ«t visus produktus</span> 5405 </a> 5406 </li> 5407 <li class="module-2151 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2151"> 5408 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/pretvirusu-lidzekli"> 5409 <span>PretvÄ«rusu lÄ«dzekļi</span> 5410 </a> 5411 </li> 5412 <li class="module-13094 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="13094"> 5413 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/mutes-dobuma-glotadai"> 5414 <span>Mutes dobuma gļotÄdai</span> 5415 </a> 5416 </li> 5417 <li class="module-2156 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2156"> 5418 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/culu-un-brucu-kopsana"> 5419 <span>ÄÅ«lu un brÅ«Äu kopÅ¡ana</span> 5420 </a> 5421 </li> 5422 <li class="module-2154 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2154"> 5423 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/adas-iekaisums-un-ekzema"> 5424 <span>Sausa Äda un ekzÄma</span> 5425 </a> 5426 </li> 5427 <li class="module-2720 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2720"> 5428 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/senisu-infekcija"> 5429 <span>SÄnīšu infekcija</span> 5430 </a> 5431 </li> 5432 <li class="module-2721 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2721"> 5433 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/galvas-adas-aprupe"> 5434 <sp
5434an>Galvas Ädas aprÅ«pe</span> 5435 </a> 5436 </li> 5437 </ul> 5438 </div> 5439 </div> 5440 </li> 5441 <li class="module-2138 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2138"> 5442 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema" aria-expanded="false"> 5443 <span>Stress un nervu sistÄma</span> 5444 </a> 5445 5446 <div class="bnuMobileNav__panel" data-lvl="3"> 5447 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5448 Stress un nervu sistÄma </button> 5449 5450 <div class="bnuMobileNav__scroll"> 5451 <ul class="bnuMobileNav__list"> 5452 <li class="bnuMobileNav__item"> 5453 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema"> 5454 <span>SkatÄ«t visus produktus</span> 5455 </a> 5456 </li> 5457 <li class="module-2717 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2717"> 5458 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/nervi-un-stress"> 5459 <span>Nervi un stress</span> 5460 </a> 5461 </li> 5462 <li class="module-2718 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2718"> 5463 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/miegam"> 5464 <span>Miegam</span> 5465 </a> 5466 </li> 5467 <li class="module-10807 lvl-4 menu_noChilds b
5467nuMobileNav__item" data-lvl="4" data-id="10807"> 5468 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/hemoroidiem"> 5469 <span>B grupas vitamÄ«ni</span> 5470 </a> 5471 </li> 5472 </ul> 5473 </div> 5474 </div> 5475 </li> 5476 <li class="module-2099 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2099"> 5477 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/alergija"> 5478 <span>AlerÄ£ija</span> 5479 </a> 5480 5481 </li> 5482 <li class="module-2145 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2145"> 5483 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi" aria-expanded="false"> 5484 <span>GremoÅ¡anas traucÄjumi</span> 5485 </a> 5486 5487 <div class="bnuMobileNav__panel" data-lvl="3"> 5488 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5489 GremoÅ¡anas traucÄjumi </button> 5490 5491 <div class="bnuMobileNav__scroll"> 5492 <ul class="bnuMobileNav__list"> 5493 <li class="bnuMobileNav__item"> 5494 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi"> 5495 <span>SkatÄ«t visus produktus</span> 5496 </a> 5497 </li> 5498 <li class="module-2107 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2107"> 5499 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/caureja"> 5500 <span>Caureja</span> 5501 </a> 5502 </li> 5503 <li class="module-2114 lvl-4 menu_noChilds b
5503nuMobileNav__item" data-lvl="4" data-id="2114"> 5504 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/aizcietejumi"> 5505 <span>AizcietÄjumi</span> 5506 </a> 5507 </li> 5508 <li class="module-2115 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2115"> 5509 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/zarnu-mikroflora"> 5510 <span>Zarnu mikroflora</span> 5511 </a> 5512 </li> 5513 <li class="module-2108 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2108"> 5514 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/vedera-uzpusanas-un-zarnu-trakts"> 5515 <span>VÄdera uzpūšanÄs un zarnu trakts</span> 5516 </a> 5517 </li> 5518 <li class="module-2111 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2111"> 5519 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/kunga-darbiba"> 5520 <span>KunÄ£a darbÄ«ba</span> 5521 </a> 5522 </li> 5523 <li class="module-2109 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2109"> 5524 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/slikta-dusa"> 5525 <span>Slikta dūša</span> 5526 </a> 5527 </li> 5528 <li class="module-2110 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2110"> 5529 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/pretparazitu-lidzekli"> 5530 <span>PretparazÄ«tu lÄ«dzekļi</span> 5531 </a> 5532 </li> 5533 <li class="module-2112 lvl-4 menu_noChilds b
5533nuMobileNav__item" data-lvl="4" data-id="2112"> 5534 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/hemoroidi"> 5535 <span>HemoroÄ«di</span> 5536 </a> 5537 </li> 5538 <li class="module-2113 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2113"> 5539 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/aknu-veseliba"> 5540 <span>Aknu veselÄ«ba</span> 5541 </a> 5542 </li> 5543 </ul> 5544 </div> 5545 </div> 5546 </li> 5547 <li class="module-2123 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2123"> 5548 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba" aria-expanded="false"> 5549 <span>Sievietes veselÄ«ba</span> 5550 </a> 5551 5552 <div class="bnuMobileNav__panel" data-lvl="3"> 5553 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5554 Sievietes veselÄ«ba </button> 5555 5556 <div class="bnuMobileNav__scroll"> 5557 <ul class="bnuMobileNav__list"> 5558 <li class="bnuMobileNav__item"> 5559 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba"> 5560 <span>SkatÄ«t visus produktus</span> 5561 </a> 5562 </li> 5563 <li class="module-10802 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="10802"> 5564 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba/pretapauglosanas-lidzeklis"> 5565 <span>PretapaugļoÅ¡anÄs lÄ«dzekļi</span> 5566 </a> 5567 </li> 5568 <li class="module-2126 lvl-4 menu_noChilds b
5568nuMobileNav__item" data-lvl="4" data-id="2126"> 5569 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba/citi"> 5570 <span>Citi produkti</span> 5571 </a> 5572 </li> 5573 </ul> 5574 </div> 5575 </div> 5576 </li> 5577 <li class="module-2129 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2129"> 5578 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/prostata"> 5579 <span>VÄ«rieÅ¡u veselÄ«ba</span> 5580 </a> 5581 5582 </li> 5583 <li class="module-2135 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2135"> 5584 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/smadzenu-darbiba-un-atmina"> 5585 <span>SmadzeÅu darbÄ«ba un atmiÅa</span> 5586 </a> 5587 5588 </li> 5589 <li class="module-11828 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="11828"> 5590 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/homeopatija"> 5591 <span>HomeopÄtija un cits</span> 5592 </a> 5593 5594 </li> 5595 <li class="module-2737 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2737"> 5596 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/urinceliem"> 5597 <span>UrÄ«nceļu veselÄ«bai</span> 5598 </a> 5599 5600 </li> 5601 <li class="module-2120 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2120"> 5602 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/acu-veseliba"> 5603 <span>Acu veselÄ«ba</span> 5604 </a> 5605 5606 </li> 5607 <li class="module-2137 lvl-3 menu_noChilds b
5607nuMobileNav__item" data-lvl="3" data-id="2137"> 5608 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/ausu-veseliba"> 5609 <span>Ausu veselÄ«ba</span> 5610 </a> 5611 5612 </li> 5613 <li class="module-2157 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2157"> 5614 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/smekesanas-atmesanai"> 5615 <span>SmÄÄ·ÄÅ¡anas atmeÅ¡anai</span> 5616 </a> 5617 5618 </li> 5619 <li class="module-13060 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="13060"> 5620 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/kalija-jodids"> 5621 <span>KÄlija jodÄ«ds</span> 5622 </a> 5623 5624 </li> 5625 </ul> 5626 5627 <div class="bnuMobileNav__logos"> 5628 <p class="bnuMobileNav__logosTitle"> 5629 TOP zÄ«moli </p> 5630 <ul class="bnuMobileNav__logosItems"> 5631 <li> 5632 <a tabindex="-1" href="zimoli/ibumetin" aria-label="Ibu logo%20copy"> 5633 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-ibu-logo_copy-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-ibu-logo_copy-1676867515.png" alt="Ibu logo%20copy" ></picture> </a> 5634 </li> 5635 <li> 5636 <a tabindex="-1" href="zimoli/detralex" aria-label="Detralex"> 5637 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Detralex-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Detralex-1676867515.png" alt="Detralex" ></picture> </a> 5638 </li> 5639 <li> 5640 <a tabindex="-1" href="zimoli/olfen" aria-label="Olfen"> 5641 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Olfen-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Olfen-1676867515.png" alt="Olfen" ></picture> </a> 5642 </li> 5643 <li> 5644 <a tabindex="-1" href="zimoli/coldrex" aria-label="Coldrex logo"> 5645 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-coldrex_logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-coldrex_logo-1676867515.png" alt="Coldrex logo" ></picture> </a> 5646 </li> 5647 <li> 5648 <a tabindex="-1" href="zimoli/nurofen" aria-label="Nuroffen"> 5649 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Nuroffen-1676867515.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Nuroffen-1676867515.jpg" alt="Nuroffen" ></picture> </a> 5650 </li> 5651 <li> 5652 <a tabindex="-1" href="zimoli/espumisan" aria-label="Espumisan logo png pagespeed ce 30qokU
56527IOz"> 5653 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-espumisan_logo-png-pagespeed-ce-30qokU7IOz-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-espumisan_logo-png-pagespeed-ce-30qokU7IOz-1676867515.png" alt="Espumisan logo png pagespeed ce 30qokU7IOz" ></picture> </a> 5654 </li> 5655 </ul> 5656 5657 </div> 5658 </div> 5659 </div> 5660 </li> 5661 <li class="module-2187 lvl-2 menu_hasChilds bnuMobileNav__item" data-lvl="2" data-id="2187"> 5662 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji" aria-expanded="false"> 5663 <i class="fal fa-seedling" aria-hidden="true"></i> 5664 <span>Uztura bagÄtinÄtÄji</span> 5665 </a> 5666 5667 <div class="bnuMobileNav__panel" data-lvl="2"> 5668 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5669 Uztura bagÄtinÄtÄji </button> 5670 5671 <div class="bnuMobileNav__scroll"> 5672 <ul class="bnuMobileNav__list"> 5673 <li class="bnuMobileNav__item"> 5674 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji"> 5675 <span>SkatÄ«t visus produktus</span> 5676 </a> 5677 5678 </li> 5679 <li class="module-2190 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2190"> 5680 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas" aria-expanded="false"> 5681 <span>VitamÄ«ni un minerÄlvielas</span> 5682 </a> 5683 5684 <div class="bnuMobileNav__panel" data-lvl="3"> 5685 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5686 VitamÄ«ni un minerÄlvielas </button> 5687 5688 <div class="bnuMobileNav__scroll"> 5689 <ul class="bnuMobileNav__list"> 5690 <li class="bnuMobileNav__item"> 5691 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas"> 5692 <sp
5692an>Skatīt visus produktus</span> 5693 </a> 5694 </li> 5695 <li class="module-2208 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2208"> 5696 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamini-a-e-antioksidanti"> 5697 <span>Vitamīni A, E, antioksidanti</span> 5698 </a> 5699 </li> 5700 <li class="module-2209 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2209"> 5701 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-b"> 5702 <span>B vitamīns </span> 5703 </a> 5704 </li> 5705 <li class="module-2210 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2210"> 5706 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-c"> 5707 <span>C vitamīns</span> 5708 </a> 5709 </li> 5710 <li class="module-2211 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2211"> 5711 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-d"> 5712 <span>D vitamīns</span> 5713 </a> 5714 </li> 5715 <li class="module-2193 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2193"> 5716 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/magnijs"> 5717 <span>Magnijs</span> 5718 </a> 5719 </li> 5720 <li class="module-2197 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2197"> 5721 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/dzelzs-un-folijskabe"> 5722 <sp
5722an>Dzelzs un folijskÄbe</span> 5723 </a> 5724 </li> 5725 <li class="module-2191 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2191"> 5726 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/kalcijs"> 5727 <span>Kalcijs</span> 5728 </a> 5729 </li> 5730 <li class="module-13125 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="13125"> 5731 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/cinks"> 5732 <span>Cinks</span> 5733 </a> 5734 </li> 5735 <li class="module-2194 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2194"> 5736 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/kompleksie-vitamini"> 5737 <span>Kompleksie vitamÄ«ni</span> 5738 </a> 5739 </li> 5740 <li class="module-2205 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2205"> 5741 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamini-diabetikiem"> 5742 <span>VitamÄ«ni diabÄtiÄ·iem</span> 5743 </a> 5744 </li> 5745 </ul> 5746 </div> 5747 </div> 5748 </li> 5749 <li class="module-2139 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2139"> 5750 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei" aria-expanded="false"> 5751 <span>SaaukstÄÅ¡anÄs un imunitÄtei</span> 5752 </a> 5753 5754 <div class="bnuMobileNav__panel" data-lvl="3"> 5755 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5756 SaaukstÄÅ¡anÄs un imunitÄtei </button> 5757 5758 <div class="bnuMobileNav__scroll"> 5759 <ul class="bnuMobileNav__list"> 5760 <li class="bnuMobileNav__item"> 5761 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei"> 5762 <sp
5762an>SkatÄ«t visus produktus</span> 5763 </a> 5764 </li> 5765 <li class="module-11840 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11840"> 5766 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/imunitatei"> 5767 <span>ImunitÄtei</span> 5768 </a> 5769 </li> 5770 <li class="module-11844 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11844"> 5771 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/iesnas"> 5772 <span>Iesnas</span> 5773 </a> 5774 </li> 5775 <li class="module-11841 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11841"> 5776 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/saaukstesanas"> 5777 <span>DzÄrieni pret saaukstÄÅ¡anos</span> 5778 </a> 5779 </li> 5780 <li class="module-11842 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11842"> 5781 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/kakla-sapes"> 5782 <span>Kakla sÄpes</span> 5783 </a> 5784 </li> 5785 <li class="module-11843 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11843"> 5786 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/klepus"> 5787 <span>Klepus</span> 5788 </a> 5789 </li> 5790 </ul> 5791 </div> 5792 </div> 5793 </li> 5794 <li class="module-13198 lvl-3 menu_noChilds b
5794nuMobileNav__item" data-lvl="3" data-id="13198"> 5795 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/kolagens"> 5796 <span>KolagÄns</span> 5797 </a> 5798 5799 </li> 5800 <li class="module-2734 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2734"> 5801 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/zivju-ella"> 5802 <span>Zivju un krila eļļas</span> 5803 </a> 5804 5805 </li> 5806 <li class="module-11826 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="11826"> 5807 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai" aria-expanded="false"> 5808 <span>Ä¢imenes veselÄ«bai</span> 5809 </a> 5810 5811 <div class="bnuMobileNav__panel" data-lvl="3"> 5812 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5813 Ä¢imenes veselÄ«bai </button> 5814 5815 <div class="bnuMobileNav__scroll"> 5816 <ul class="bnuMobileNav__list"> 5817 <li class="bnuMobileNav__item"> 5818 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai"> 5819 <span>SkatÄ«t visus produktus</span> 5820 </a> 5821 </li> 5822 <li class="module-2730 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2730"> 5823 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/skaistumam"> 5824 <span>Skaistumam</span> 5825 </a> 5826 </li> 5827 <li class="module-2731 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2731"> 5828 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/grutniecem-un-mam
5828inam"> 5829 <span>GrÅ«tniecÄm un mÄmiÅÄm</span> 5830 </a> 5831 </li> 5832 <li class="module-2732 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2732"> 5833 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/sievietes-veselibai"> 5834 <span>Sievietes veselÄ«bai</span> 5835 </a> 5836 </li> 5837 <li class="module-2202 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2202"> 5838 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/vitamini-viriesiem"> 5839 <span>VitamÄ«ni vÄ«rieÅ¡iem</span> 5840 </a> 5841 </li> 5842 <li class="module-2200 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2200"> 5843 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/vitamini-berniem"> 5844 <span>VitamÄ«ni bÄrniem</span> 5845 </a> 5846 </li> 5847 <li class="module-2258 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2258"> 5848 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/kompleksie-vitamini-2"> 5849 <span>Kompleksie vitamÄ«ni senioriem</span> 5850 </a> 5851 </li> 5852 </ul> 5853 </div> 5854 </div> 5855 </li> 5856 <li class="module-11829 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="11829"> 5857 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema" aria-expanded="false"> 5858 <span>Sirds un asinsvadu sistÄma</span> 5859 </a> 5860 5861 <div class="bnuMobileNav__panel" data-lvl="3"> 5862 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5863 Sirds un asinsvadu sistÄma </button> 5864 5865 <div class="bnuMobileNav__scroll"> 5866 <ul class="bnuMobileNav__list"> 5867 <li class="bnuMobileNav__item"> 5868 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema"> 5869 <sp
5869an>SkatÄ«t visus produktus</span> 5870 </a> 5871 </li> 5872 <li class="module-11845 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11845"> 5873 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/holesterinam"> 5874 <span>HolesterÄ«na lÄ«menis</span> 5875 </a> 5876 </li> 5877 <li class="module-11846 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11846"> 5878 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/venas-un-asinsvadi"> 5879 <span>VÄnas un asinsvadi</span> 5880 </a> 5881 </li> 5882 <li class="module-11847 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11847"> 5883 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/sirds-veselibai"> 5884 <span>Sirds veselÄ«bai</span> 5885 </a> 5886 </li> 5887 </ul> 5888 </div> 5889 </div> 5890 </li> 5891 <li class="module-11824 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="11824"> 5892 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/locitavam-un-kauliem"> 5893 <span>LocÄ«tavÄm un kauliem</span> 5894 </a> 5895 5896 </li> 5897 <li class="module-2158 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2158"> 5898 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/urinceliem"> 5899 <span>UrÄ«nceļiem</span> 5900 </a> 5901 5902 </li> 5903 <li class="module-11830 lvl-3 menu_hasChilds b
5903nuMobileNav__item" data-lvl="3" data-id="11830"> 5904 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema" aria-expanded="false"> 5905 <span>GremoÅ¡anas sistÄma</span> 5906 </a> 5907 5908 <div class="bnuMobileNav__panel" data-lvl="3"> 5909 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5910 GremoÅ¡anas sistÄma </button> 5911 5912 <div class="bnuMobileNav__scroll"> 5913 <ul class="bnuMobileNav__list"> 5914 <li class="bnuMobileNav__item"> 5915 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema"> 5916 <span>SkatÄ«t visus produktus</span> 5917 </a> 5918 </li> 5919 <li class="module-11832 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11832"> 5920 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/probiotiki"> 5921 <span>ProbiotiÄ·i</span> 5922 </a> 5923 </li> 5924 <li class="module-11831 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11831"> 5925 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/caureja"> 5926 <span>Caureja</span> 5927 </a> 5928 </li> 5929 <li class="module-11837 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11837"> 5930 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/vedera-uzpusanas"> 5931 <span>VÄdera uzpūšanÄs</span> 5932 </a> 5933 </li> 5934 <li class="module-11833 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11833"> 5935 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/vedera-kunga-darbibai"> 5936 <sp
5936an>KunÄ£a skÄbe un zarnu trakts</span> 5937 </a> 5938 </li> 5939 <li class="module-11835 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11835"> 5940 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/aknu-veseliba"> 5941 <span>Aknu veselÄ«ba</span> 5942 </a> 5943 </li> 5944 <li class="module-11834 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11834"> 5945 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/slikta-dusa"> 5946 <span>Slikta dūša</span> 5947 </a> 5948 </li> 5949 <li class="module-11836 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11836"> 5950 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/aizcietejumi"> 5951 <span>AizcietÄjumi</span> 5952 </a> 5953 </li> 5954 </ul> 5955 </div> 5956 </div> 5957 </li> 5958 <li class="module-11825 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="11825"> 5959 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai" aria-expanded="false"> 5960 <span>SmadzeÅu darbÄ«bai un nervu sistÄmai</span> 5961 </a> 5962 5963 <div class="bnuMobileNav__panel" data-lvl="3"> 5964 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5965 SmadzeÅu darbÄ«bai un nervu sistÄmai </button> 5966 5967 <div class="bnuMobileNav__scroll"> 5968 <ul class="bnuMobileNav__list"> 5969 <li class="bnuMobileNav__item"> 5970 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai"> 5971 <sp
5971an>SkatÄ«t visus produktus</span> 5972 </a> 5973 </li> 5974 <li class="module-11823 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11823"> 5975 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai/atminai"> 5976 <span>AtmiÅai</span> 5977 </a> 5978 </li> 5979 <li class="module-11822 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11822"> 5980 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai/miegam-un-nervu-sistemai"> 5981 <span>Miegam un nervu sistÄmai</span> 5982 </a> 5983 </li> 5984 </ul> 5985 </div> 5986 </div> 5987 </li> 5988 <li class="module-11827 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="11827"> 5989 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa" aria-expanded="false"> 5990 <span>Sports un aktÄ«va atpÅ«ta</span> 5991 </a> 5992 5993 <div class="bnuMobileNav__panel" data-lvl="3"> 5994 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5995 Sports un aktÄ«va atpÅ«ta </button> 5996 5997 <div class="bnuMobileNav__scroll"> 5998 <ul class="bnuMobileNav__list"> 5999 <li class="bnuMobileNav__item"> 6000 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa"> 6001 <span>SkatÄ«t visus produktus</span> 6002 </a> 6003 </li> 6004 <li class="module-2213 lvl-4 menu_noChilds b
6004nuMobileNav__item" data-lvl="4" data-id="2213"> 6005 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/svara-kontrole"> 6006 <span>Svara kontrole</span> 6007 </a> 6008 </li> 6009 <li class="module-2206 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2206"> 6010 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/sports"> 6011 <span>Sports</span> 6012 </a> 6013 </li> 6014 <li class="module-2196 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2196"> 6015 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/energijai"> 6016 <span>Enerģijai</span> 6017 </a> 6018 </li> 6019 </ul> 6020 </div> 6021 </div> 6022 </li> 6023 <li class="module-2122 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2122"> 6024 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba" aria-expanded="false"> 6025 <span>Ausu un acu veselība</span> 6026 </a> 6027 6028 <div class="bnuMobileNav__panel" data-lvl="3"> 6029 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6030 Ausu un acu veselība </button> 6031 6032 <div class="bnuMobileNav__scroll"> 6033 <ul class="bnuMobileNav__list"> 6034 <li class="bnuMobileNav__item"> 6035 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba"> 6036 <span>Skatīt visus produktus</span> 6037 </a> 6038 </li> 6039 <li class="module-11838 lvl-4 menu_noChilds b
6039nuMobileNav__item" data-lvl="4" data-id="11838"> 6040 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/vitamini-acim"> 6041 <span>Vitamīni acīm</span> 6042 </a> 6043 </li> 6044 <li class="module-12990 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="12990"> 6045 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/acu-ziedes-un-pilieni"> 6046 <span>Acu pilieni un ziedes</span> 6047 </a> 6048 </li> 6049 <li class="module-11839 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11839"> 6050 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/ausu-veseliba"> 6051 <span>Ausu veselība</span> 6052 </a> 6053 </li> 6054 </ul> 6055 </div> 6056 </div> 6057 </li> 6058 <li class="module-15950 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="15950"> 6059 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/alergija"> 6060 <span>Alerģija</span> 6061 </a> 6062 6063 </li> 6064 </ul> 6065 6066 <div class="bnuMobileNav__logos"> 6067 <p class="bnuMobileNav__logosTitle"> 6068 TOP zīmoli </p> 6069 <ul class="bnuMobileNav__logosItems"> 6070 <li> 6071 <a tabindex="-1" href="e-aptieka/livsane" aria-label="LIVSANE"> 6072 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-LIVSANE-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="392" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-LIVSANE-1676867515.png" alt="LIVSANE" ></picture> </a> 6073 </li> 6074 <li> 6075 <a tabindex="-1" href="zimoli/lyl" aria-label="LYL love your life logo"> 6076 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-LYL-love-your-life-logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-LYL-love-your-life-logo-1676867515.png" alt="LYL love your life logo" ></picture> </a> 6077 </li> 6078 <li> 6079 <a tabindex="-1" href="zimoli/mollers" aria-label="Logo test"> 6080 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-logo_test-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-logo_test-1676867515.png" alt="Logo test" ></picture> </a> 6081 </li> 6082 <li> 6083 <a tabindex="-1" href="zimoli/walmark" aria-label="Walmark logo gatavs"> 6084 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-walmark-logo-gatavs-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-walmark-logo-gatavs-1676867515.png" alt="Walmark logo gatavs" ></picture> </a> 6085 </li> 6086 <li> 6087 <a tabindex="-1" href="zimoli/nateo-d" aria-label="Eb13ddc1de1129d39978463971a95847"> 6088 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-eb13ddc1de1129d39978463971a95847-1676867515.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-eb13ddc1de1129d39978463971a95847-1676867515.jpg" alt="Eb
608813ddc1de1129d39978463971a95847" ></picture> </a> 6089 </li> 6090 <li> 6091 <a tabindex="-1" href="zimoli/livol" aria-label="Livol"> 6092 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Livol-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Livol-1676867515.png" alt="Livol" ></picture> </a> 6093 </li> 6094 </ul> 6095 6096 </div> 6097 </div> 6098 </div> 6099 </li> 6100 <li class="module-14763 lvl-2 menu_hasChilds bnuMobileNav__item" data-lvl="2" data-id="14763"> 6101 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/sportam" aria-expanded="false"> 6102 <i class="fal fa-dumbbell" aria-hidden="true"></i> 6103 <span>Sportam</span> 6104 </a> 6105 6106 <div class="bnuMobileNav__panel" data-lvl="2"> 6107 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6108 Sportam </button> 6109 6110 <div class="bnuMobileNav__scroll"> 6111 <ul class="bnuMobileNav__list"> 6112 <li class="bnuMobileNav__item"> 6113 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam"> 6114 <span>Skatīt visus produktus</span> 6115 </a> 6116 6117 </li> 6118 <li class="module-14765 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="14765"> 6119 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam/proteini"> 6120 <span>Proteīni </span> 6121 </a> 6122 6123 </li> 6124 <li class="module-14764 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="14764"> 6125 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam/proteina-batonini">
6126 <span>BatoniÅi un uzkodas</span> 6127 </a> 6128 6129 </li> 6130 <li class="module-14766 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="14766"> 6131 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam/dzerieni"> 6132 <span>DzÄrieni</span> 6133 </a> 6134 6135 </li> 6136 <li class="module-14784 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="14784"> 6137 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam/svara-un-apetites-kontrole"> 6138 <span>Svara un apetÄ«tes kontrole</span> 6139 </a> 6140 6141 </li> 6142 <li class="module-15539 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="15539"> 6143 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam/seikeri-un-pudeles"> 6144 <span>Å eikeri un pudeles</span> 6145 </a> 6146 6147 </li> 6148 </ul> 6149 6150 <div class="bnuMobileNav__logos"> 6151 <p class="bnuMobileNav__logosTitle"> 6152 TOP zÄ«moli </p> 6153 <ul class="bnuMobileNav__logosItems"> 6154 <li> 6155 <a tabindex="-1" href="zimoli/vplab" aria-label="Vplabpng"> 6156 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO-vplabpng-1695715134.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="392" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO-vplabpng-1695715134.png" alt="Vplabpng" ></picture> </a> 6157 </li> 6158 <li> 6159 <a tabindex="-1" href="zimoli/iconfit" aria-label="Iconfit logo fullcolor transp background rgb"> 6160 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-2024-04-iconfit-logo-fullcolor-transp-background-rgb-1
6160714275560.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-2024-04-iconfit-logo-fullcolor-transp-background-rgb-1714275560.png" alt="Iconfit logo fullcolor transp background rgb" ></picture> </a> 6161 </li> 6162 <li> 6163 <a tabindex="-1" href="zimoli/isostar" aria-label="Isostar"> 6164 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Isostar-1719308145.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Isostar-1719308145.png" alt="Isostar" ></picture> </a> 6165 </li> 6166 <li> 6167 <a tabindex="-1" href="zimoli/dion-sportlab" aria-label="Images 2"> 6168 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-2024-07-images_2-1723178329.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-2024-07-images_2-1723178329.jpg" alt="Images 2" ></picture> </a> 6169 </li> 6170 </ul> 6171 6172 </div> 6173 </div> 6174 </div> 6175 </li> 6176 <li class="module-2254 lvl-2 menu_hasChilds bnuMobileNav__item" data-lvl="2" data-id="2254"> 6177 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/partika-un-tejas" aria-expanded="false"> 6178 <i class="fal fa-apple-alt" aria-hidden="true"></i> 6179 <span>PÄrtika un tÄjas</span> 6180 </a> 6181 6182 <div class="bnuMobileNav__panel" data-lvl="2"> 6183 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6184 PÄrtika un tÄjas </button> 6185 6186 <div class="bnuMobileNav__scroll"> 6187 <ul class="bnuMobileNav__list"> 6188 <li class="bnuMobileNav__item"> 6189 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/partika-un-tejas">
6190 <span>SkatÄ«t visus produktus</span> 6191 </a> 6192 6193 </li> 6194 <li class="module-15241 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="15241"> 6195 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/partika-un-tejas/veseliga-partika"> 6196 <span>VeselÄ«ga pÄrtika</span> 6197 </a> 6198 6199 </li> 6200 <li class="module-2257 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2257"> 6201 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/partika-un-tejas/partika"> 6202 <span>SpeciÄlÄ pÄrtika</span> 6203 </a> 6204 6205 </li> 6206 <li class="module-2260 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2260"> 6207 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/partika-un-tejas/tejas"> 6208 <span>TÄjas</span> 6209 </a> 6210 6211 </li> 6212 </ul> 6213 6214 <div class="bnuMobileNav__logos"> 6215 <p class="bnuMobileNav__logosTitle"> 6216 TOP zÄ«moli </p> 6217 <ul class="bnuMobileNav__logosItems"> 6218 <li> 6219 <a tabindex="-1" href="zimoli/teresko" aria-label="Download"> 6220 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO-download-1695715026.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="392" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO-download-1695715026.png" alt="Download" ></picture> </a> 6221 </li> 6222 <li> 6223 <a tabindex="-1" href="zimoli/vplab" aria-label="Vplabpng"> 6224 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO-vplabpng-1695715134.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="392" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO-vplabpng-1695715134.png" alt="Vplabpng" ></picture> </a> 6225 </li> 6226 <li> 6227 <a tabindex="-1" href="rukisu-teja" aria-label="Rukisuteja logo"> 6228 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO-rukisuteja-logo-1695716954.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="392" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO-rukisuteja-logo-1695716954.png" alt="Rukisuteja logo" ></picture> </a> 6229 </li> 6230 <li> 6231 <a tabindex="-1" href="nateja" aria-label="Nateja logo 01"> 6232 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-2024-02-nateja_logo-01-1707363148.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="600" src="https://img.benu.lv/media/.thumb/.256x256-create-2024-02-nateja_logo-01-1707363148.png" alt="Nateja logo 01" ></picture> </a> 6233 </li> 6234 <li> 6235 <a tabindex="-1" href="meklet?search=yogi" aria-label="Yogitea red"> 6236 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-2024-02-yogitea_red-1707363147.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="600" src="https://img.benu.lv/media/.thumb/.256x256-create-2024-02-yogitea_red-1707363147.png" alt="Yogitea red" ></picture> </a> 6237 </li> 6238 </ul> 6239 6240 </div> 6241 </div> 6242 </div> 6243 </li> 6244 <li class="module-2159 lvl-2 menu_hasChilds b
6244nuMobileNav__item" data-lvl="2" data-id="2159"> 6245 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana" aria-expanded="false"> 6246 <i class="fal fa-tint" aria-hidden="true"></i> 6247 <span>Skaistums un Ädas kopÅ¡ana</span> 6248 </a> 6249 6250 <div class="bnuMobileNav__panel" data-lvl="2"> 6251 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6252 Skaistums un Ädas kopÅ¡ana </button> 6253 6254 <div class="bnuMobileNav__scroll"> 6255 <ul class="bnuMobileNav__list"> 6256 <li class="bnuMobileNav__item"> 6257 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6257as-kopsana"> 6258 <span>SkatÄ«t visus produktus</span> 6259 </a> 6260 6261 </li> 6262 <li class="module-2171 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2171"> 6263 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana" aria-expanded="false"> 6264 <span>Sejas Ädas kopÅ¡ana</span> 6265 </a> 6266 6267 <div class="bnuMobileNav__panel" data-lvl="3"> 6268 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6269 Sejas Ädas kopÅ¡ana </button> 6270 6271 <div class="bnuMobileNav__scroll"> 6272 <ul class="bnuMobileNav__list"> 6273 <li class="bnuMobileNav__item"> 6274 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6274as-kopsana/sejas-kopsana"> 6275 <span>Skatīt visus produktus</span> 6276 </a> 6277 </li> 6278 <li class="module-2172 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2172"> 6279 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/acu-kopsana"> 6280 <span>Acu kopšana</span> 6281 </a> 6282 </li> 6283 <li class="module-2174 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2174"> 6284 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6284as-kopsana/sejas-kopsana/kremi"> 6285 <span>KrÄmi un serumi</span> 6286 </a> 6287 </li> 6288 <li class="module-2173 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2173"> 6289 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/mazgasana-un-attirisana"> 6290 <span>KosmÄtikas noÅemÅ¡ana un attÄ«rīšana</span> 6291 </a> 6292 </li> 6293 <li class="module-2175 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2175"> 6294 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6294as-kopsana/sejas-kopsana/maskas"> 6295 <span>Sejas kopÅ¡anas maskas</span> 6296 </a> 6297 </li> 6298 <li class="module-2793 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2793"> 6299 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/spreji-un-adas-mitrinataji"> 6300 <span>Spreji un Ädas mitrinÄtÄji</span> 6301 </a> 6302 </li> 6303 <li class="module-2176 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2176"> 6304 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6304as-kopsana/sejas-kopsana/lupu-kopsana"> 6305 <span>Lūpu kopšana</span> 6306 </a> 6307 </li> 6308 </ul> 6309 </div> 6310 </div> 6311 </li> 6312 <li class="module-2178 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2178"> 6313 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6313as-kopsana/matu-kopsana" aria-expanded="false"> 6314 <span>Matu kopšana</span> 6315 </a> 6316 6317 <div class="bnuMobileNav__panel" data-lvl="3"> 6318 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6319 Matu kopšana </button> 6320 6321 <div class="bnuMobileNav__scroll"> 6322 <ul class="bnuMobileNav__list"> 6323 <li class="bnuMobileNav__item"> 6324 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6324as-kopsana/matu-kopsana"> 6325 <span>Skatīt visus produktus</span> 6326 </a> 6327 </li> 6328 <li class="module-2182 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2182"> 6329 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/sampuni"> 6330 <span>Šampūni</span> 6331 </a> 6332 </li> 6333 <li class="module-2180 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2180"> 6334 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6334as-kopsana/matu-kopsana/balzami"> 6335 <span>Balzami</span> 6336 </a> 6337 </li> 6338 <li class="module-2184 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2184"> 6339 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/intensivie-kopsanas-produkti-un-maskas"> 6340 <span>Intensīvie kopšanas produkti un maskas</span> 6341 </a> 6342 </li> 6343 <li class="module-2183 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2183"> 6344 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6344as-kopsana/matu-kopsana/veidosanai"> 6345 <span>VeidoÅ¡anai</span> 6346 </a> 6347 </li> 6348 <li class="module-14564 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="14564"> 6349 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/matu-veidotaji"> 6350 <span>Matu veidotÄji</span> 6351 </a> 6352 </li> 6353 <li class="module-14563 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="14563"> 6354 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6354as-kopsana/matu-kopsana/aksesuari"> 6355 <span>AksesuÄri</span> 6356 </a> 6357 </li> 6358 </ul> 6359 </div> 6360 </div> 6361 </li> 6362 <li class="module-16122 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="16122"> 6363 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/korejas-kosmetika"> 6364 <span>Korejas kosmÄtika</span> 6365 </a> 6366 6367 </li> 6368 <li class="module-2170 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2170"> 6369 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6369as-kopsana/dekorativa-kosmetika"> 6370 <span>DekoratÄ«vÄ kosmÄtika</span> 6371 </a> 6372 6373 </li> 6374 <li class="module-2160 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2160"> 6375 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana" aria-expanded="false"> 6376 <span>ĶermeÅa kopÅ¡ana</span> 6377 </a> 6378 6379 <div class="bnuMobileNav__panel" data-lvl="3"> 6380 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6381 ĶermeÅa kopÅ¡ana </button> 6382 6383 <div class="bnuMobileNav__scroll"> 6384 <ul class="bnuMobileNav__list"> 6385 <li class="bnuMobileNav__item"> 6386 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6386as-kopsana/kermena-kopsana"> 6387 <span>SkatÄ«t visus produktus</span> 6388 </a> 6389 </li> 6390 <li class="module-2161 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2161"> 6391 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/mazgasana-un-attitisana"> 6392 <span>MazgÄÅ¡ana un attÄ«rīšana</span> 6393 </a> 6394 </li> 6395 <li class="module-2162 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2162"> 6396 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6396as-kopsana/kermena-kopsana/kremi-un-losjoni"> 6397 <span>KrÄmi un losjoni</span> 6398 </a> 6399 </li> 6400 <li class="module-2168 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2168"> 6401 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/kermena-ellas"> 6402 <span>ĶermeÅa eļļas</span> 6403 </a> 6404 </li> 6405 <li class="module-2163 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2163"> 6406 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6406as-kopsana/kermena-kopsana/dezodoranti"> 6407 <span>Dezodoranti</span> 6408 </a> 6409 </li> 6410 <li class="module-2165 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2165"> 6411 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/eteriskas-ellas"> 6412 <span>ÄteriskÄs eļļas</span> 6413 </a> 6414 </li> 6415 <li class="module-2167 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2167"> 6416 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6416as-kopsana/kermena-kopsana/roku-un-nagu-kopsana"> 6417 <span>Roku un nagu kopÅ¡ana</span> 6418 </a> 6419 </li> 6420 <li class="module-2166 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2166"> 6421 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/kaju-kopsana"> 6422 <span>KÄju un pÄdu kopÅ¡ana</span> 6423 </a> 6424 </li> 6425 <li class="module-2169 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2169"> 6426 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6426as-kopsana/kermena-kopsana/pretcelulita"> 6427 <span>Pretcelulīta</span> 6428 </a> 6429 </li> 6430 </ul> 6431 </div> 6432 </div> 6433 </li> 6434 <li class="module-2186 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2186"> 6435 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6435as-kopsana/saulosanas-kosmetika"> 6436 <span>SauļoÅ¡anÄs kosmÄtika</span> 6437 </a> 6438 6439 </li> 6440 <li class="module-13145 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="13145"> 6441 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/psoriaze-ekzema-atopiskais-dermatits"> 6442 <span>PsoriÄze, ekzÄma, atopiskais dermatÄ«ts</span> 6443 </a> 6444 6445 </li> 6446 </ul> 6447 6448 <div class="bnuMobileNav__logos"> 6449 <p class="bnuMobileNav__logosTitle"> 6450 TOP zÄ«moli </p> 6451 <ul class="bnuMobileNav__logosItems"> 6452 <li> 6453 <a tabindex="-1" href="zimoli/eucerin" aria-label="Eucerin logo svg"> 6454 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Eucerin_logo-svg-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Eucerin_logo-svg-1676867515.png" alt="Eucerin logo svg" ></picture> </a> 6455 </li> 6456 <li> 6457 <a tabindex="-1" href="zimoli/vichy" aria-label="Vichy"> 6458 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Vichy-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Vichy-1676867515.png" alt="Vichy" ></picture> </a> 6459 </li> 6460 <li> 6461 <a tabindex="-1" href="zimoli/la-roche-posay-1" aria-label="2560px La Roche Posay (brand) svg"> 6462 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-2560px-La_Roche-Posay_(brand)-svg-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-2560px-La_Roche-Posay_(brand)-svg-1676867515.png" alt="2560px La Roche Posay (brand) svg" ></picture> </a> 6463 </li> 6464 <li> 6465 <a tabindex="-1" href="zimoli/avene" aria-label="Avene"> 6466 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Avene-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Avene-1676867515.png" alt="Avene" ></picture> </a> 6467 </li> 6468 <li> 6469 <a tabindex="-1" href="zimoli/uriage" aria-label="Uriage"> 6470 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Uriage-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Uriage-1676867515.png" alt="Uriage" ></picture> </a> 6471 </li> 6472 <li> 6473 <a tabindex="-1" href="zimoli/babe" aria-label="Babe"> 6474 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-babe-1676867515.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-babe-1676867515.jpg" alt="Babe" ></picture> </a> 6475 </li> 6476 </ul> 6477 6478 </div> 6479 </div> 6480 </div> 6481 </li> 6482 <li class="module-2228 lvl-2 menu_hasChilds b
6482nuMobileNav__item" data-lvl="2" data-id="2228"> 6483 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/higiena" aria-expanded="false"> 6484 <i class="fal fa-pump-soap" aria-hidden="true"></i> 6485 <span>HigiÄna</span> 6486 </a> 6487 6488 <div class="bnuMobileNav__panel" data-lvl="2"> 6489 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6490 HigiÄna </button> 6491 6492 <div class="bnuMobileNav__scroll"> 6493 <ul class="bnuMobileNav__list"> 6494 <li class="bnuMobileNav__item"> 6495 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena"> 6496 <span>SkatÄ«t visus produktus</span> 6497 </a> 6498 6499 </li> 6500 <li class="module-2235 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2235"> 6501 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena" aria-expanded="false"> 6502 <span>Mutes higiÄna</span> 6503 </a> 6504 6505 <div class="bnuMobileNav__panel" data-lvl="3"> 6506 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6507 Mutes higiÄna </button> 6508 6509 <div class="bnuMobileNav__scroll"> 6510 <ul class="bnuMobileNav__list"> 6511 <li class="bnuMobileNav__item"> 6512 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena"> 6513 <span>SkatÄ«t visus produktus</span> 6514 </a> 6515 </li> 6516 <li class="module-2240 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2240"> 6517 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-pastas"> 6518 <span>Zobu pastas</span> 6519 </a> 6520 </li> 6521 <li class="module-2239 lvl-4 menu_noChilds b
6521nuMobileNav__item" data-lvl="4" data-id="2239"> 6522 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-birstes"> 6523 <span>Zobu birstes</span> 6524 </a> 6525 </li> 6526 <li class="module-2238 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2238"> 6527 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/skalosanas-lidzekli"> 6528 <span>Mutes skaloÅ¡anas lÄ«dzekļi</span> 6529 </a> 6530 </li> 6531 <li class="module-2237 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2237"> 6532 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/protezu-kopsana"> 6533 <span>ProtÄžu kopÅ¡ana</span> 6534 </a> 6535 </li> 6536 <li class="module-2236 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2236"> 6537 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-diegi-starpzobu-birstites"> 6538 <span>Zobu diegi, starpzobu birstÄ«tes</span> 6539 </a> 6540 </li> 6541 <li class="module-2752 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2752"> 6542 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/berniem"> 6543 <span>Mutes higiÄna bÄrniem</span> 6544 </a> 6545 </li> 6546 </ul> 6547 </div> 6548 </div> 6549 </li> 6550 <li class="module-2694 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2694"> 6551 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe" aria-expanded="false">
6552 <span>Inkontinences aprÅ«pe</span> 6553 </a> 6554 6555 <div class="bnuMobileNav__panel" data-lvl="3"> 6556 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6557 Inkontinences aprÅ«pe </button> 6558 6559 <div class="bnuMobileNav__scroll"> 6560 <ul class="bnuMobileNav__list"> 6561 <li class="bnuMobileNav__item"> 6562 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe"> 6563 <span>SkatÄ«t visus produktus</span> 6564 </a> 6565 </li> 6566 <li class="module-2696 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2696"> 6567 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/biksites-autinbiksites"> 6568 <span>BiksÄ«tes, autiÅbiksÄ«tes</span> 6569 </a> 6570 </li> 6571 <li class="module-2697 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2697"> 6572 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/higieniskie-ieliktnisi"> 6573 <span>HigiÄniskie ieliktnīši</span> 6574 </a> 6575 </li> 6576 <li class="module-2794 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2794"> 6577 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/paladzini"> 6578 <span>PaladziÅi</span> 6579 </a> 6580 </li> 6581 <li class="module-2698 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2698"> 6582 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/mazgasana-un-attirisana"> 6583 <span>MazgÄÅ¡ana un attÄ«rīšana</span> 6584 </a> 6585 </li> 6586 </ul> 6587 </div> 6588 </div> 6589 </li> 6590 <li class="module-2229 lvl-3 menu_hasChilds b
6590nuMobileNav__item" data-lvl="3" data-id="2229"> 6591 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi" aria-expanded="false"> 6592 <span>ĶermeÅa kopÅ¡anas piederumi</span> 6593 </a> 6594 6595 <div class="bnuMobileNav__panel" data-lvl="3"> 6596 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6597 ĶermeÅa kopÅ¡anas piederumi </button> 6598 6599 <div class="bnuMobileNav__scroll"> 6600 <ul class="bnuMobileNav__list"> 6601 <li class="bnuMobileNav__item"> 6602 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi"> 6603 <span>SkatÄ«t visus produktus</span> 6604 </a> 6605 </li> 6606 <li class="module-2230 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2230"> 6607 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/vates-spilventini"> 6608 <span>Vates spilventiÅi</span> 6609 </a> 6610 </li> 6611 <li class="module-2231 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2231"> 6612 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/vates-kocini"> 6613 <span>Vates kociÅi</span> 6614 </a> 6615 </li> 6616 <li class="module-2232 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2232"> 6617 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/manikirs-un-pedikirs"> 6618 <span>ManikÄ«rs un pedikÄ«rs</span> 6619 </a> 6620 </li> 6621 </ul> 6622 </div> 6623 </div> 6624 </li> 6625 <li class="module-2241 lvl-3 menu_hasChilds b
6625nuMobileNav__item" data-lvl="3" data-id="2241"> 6626 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena" aria-expanded="false"> 6627 <span>IntÄ«mÄ higiÄna</span> 6628 </a> 6629 6630 <div class="bnuMobileNav__panel" data-lvl="3"> 6631 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6632 IntÄ«mÄ higiÄna </button> 6633 6634 <div class="bnuMobileNav__scroll"> 6635 <ul class="bnuMobileNav__list"> 6636 <li class="bnuMobileNav__item"> 6637 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena"> 6638 <span>SkatÄ«t visus produktus</span> 6639 </a> 6640 </li> 6641 <li class="module-2242 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2242"> 6642 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/intimai-veselibai"> 6643 <span>IntÄ«mai veselÄ«bai</span> 6644 </a> 6645 </li> 6646 <li class="module-2246 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2246"> 6647 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/intimas-higienas-lidzekli"> 6648 <span>IntÄ«mÄs higiÄnas lÄ«dzekļi</span> 6649 </a> 6650 </li> 6651 <li class="module-2244 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2244"> 6652 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/paketes"> 6653 <span>Paketes</span> 6654 </a> 6655 </li> 6656 <li class="module-2243 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2243"> 6657 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/ikdienas-ieliknisi"> 6658 <sp
6658an>Ikdienas ieliknīši</span> 6659 </a> 6660 </li> 6661 <li class="module-2245 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2245"> 6662 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/tamponi"> 6663 <span>Tamponi</span> 6664 </a> 6665 </li> 6666 </ul> 6667 </div> 6668 </div> 6669 </li> 6670 </ul> 6671 6672 <div class="bnuMobileNav__logos"> 6673 <p class="bnuMobileNav__logosTitle"> 6674 TOP zīmoli </p> 6675 <ul class="bnuMobileNav__logosItems"> 6676 <li> 6677 <a tabindex="-1" href="zimoli/elmex" aria-label="Logo ELMEX"> 6678 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Logo_ELMEX-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Logo_ELMEX-1676867515.png" alt="Logo ELMEX" ></picture> </a> 6679 </li> 6680 <li> 6681 <a tabindex="-1" href="zimoli/gum" aria-label="Cq5dam thumbnail 670 530"> 6682 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-cq5dam-thumbnail-670-530-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-cq5dam-thumbnail-670-530-1676867515.png" alt="Cq5dam thumbnail 670 530" ></picture> </a> 6683 </li> 6684 <li> 6685 <a tabindex="-1" href="zimoli/oral-b" aria-label="1200px Oral B logo svg"> 6686 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-1200px-Oral-B_logo-svg-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-1200px-Oral-B_logo-svg-1676867515.png" alt="1200px Oral B logo svg" ></picture> </a> 6687 </li> 6688 <li> 6689 <a tabindex="-1" href="zimoli/bella" aria-label="Bella logo png transparent"> 6690 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-bella-logo-png-transparent-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-bella-logo-png-transparent-1676867515.png" alt="Bella logo png transparent" ></picture> </a> 6691 </li> 6692 <li> 6693 <a tabindex="-1" href="zimoli/tena" aria-label="Tena vector logo"> 6694 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-tena-vector-logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-tena-vector-logo-1676867515.png" alt="Tena vector logo" ></picture> </a> 6695 </li> 6696 <li> 6697 <a tabindex="-1" href="zimoli/lactacyd" aria-label="07b7bec009c2754e4a5ee3f1bcd653be"> 6698 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-07b7bec009c2754e4a5ee3f1bcd653be-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-07b7bec009c2754e4a5ee3f1bcd653be-1676867515.png" alt="07b7bec009c2754e4a5ee3f1bcd653be" ></picture> </a> 6699 </li> 6700 </ul> 6701 6702 </div> 6703 </div> 6704 </div> 6705 </li> 6706 <li class="module-2214 lvl-2 menu_hasChilds b
6706nuMobileNav__item" data-lvl="2" data-id="2214"> 6707 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/maminam-un-berniem" aria-expanded="false"> 6708 <i class="fal fa-baby-carriage" aria-hidden="true"></i> 6709 <span>MÄmiÅÄm un bÄrniem</span> 6710 </a> 6711 6712 <div class="bnuMobileNav__panel" data-lvl="2"> 6713 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6714 MÄmiÅÄm un bÄrniem </button> 6715 6716 <div class="bnuMobileNav__scroll"> 6717 <ul class="bnuMobileNav__list"> 6718 <li class="bnuMobileNav__item"> 6719 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem"> 6720 <span>SkatÄ«t visus produktus</span> 6721 </a> 6722 6723 </li> 6724 <li class="module-2224 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2224"> 6725 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam" aria-expanded="false"> 6726 <span>GrÅ«tniecÄm un mÄmiÅÄm</span> 6727 </a> 6728 6729 <div class="bnuMobileNav__panel" data-lvl="3"> 6730 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6731 GrÅ«tniecÄm un mÄmiÅÄm </button> 6732 6733 <div class="bnuMobileNav__scroll"> 6734 <ul class="bnuMobileNav__list"> 6735 <li class="bnuMobileNav__item"> 6736 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam"> 6737 <span>SkatÄ«t visus produktus</span> 6738 </a> 6739 </li> 6740 <li class="module-2225 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2225"> 6741 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/kermena-kopsana"> 6742 <span>Pretstriju lÄ«dzekļi</span> 6743 </a> 6744 </li> 6745 <li class="module-2226 lvl-4 menu_noChilds b
6745nuMobileNav__item" data-lvl="4" data-id="2226"> 6746 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/barosana-ar-kruti"> 6747 <span>BaroÅ¡ana ar krÅ«ti</span> 6748 </a> 6749 </li> 6750 <li class="module-2704 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2704"> 6751 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/dzemdibu-komplekti"> 6752 <span>DzemdÄ«bu komplekti</span> 6753 </a> 6754 </li> 6755 </ul> 6756 </div> 6757 </div> 6758 </li> 6759 <li class="module-2743 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2743"> 6760 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji" aria-expanded="false"> 6761 <span>VitamÄ«ni un uztura bagÄtinÄtÄji bÄrniem, grÅ«tniecÄm</span> 6762 </a> 6763 6764 <div class="bnuMobileNav__panel" data-lvl="3"> 6765 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6766 VitamÄ«ni un uztura bagÄtinÄtÄji bÄrniem, grÅ«tniecÄm </button> 6767 6768 <div class="bnuMobileNav__scroll"> 6769 <ul class="bnuMobileNav__list"> 6770 <li class="bnuMobileNav__item"> 6771 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji"> 6772 <span>SkatÄ«t visus produktus</span> 6773 </a> 6774 </li> 6775 <li class="module-2746 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2746"> 6776 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji/vitamini-berniem"> 6777 <sp
6777an>VitamÄ«ni bÄrniem</span> 6778 </a> 6779 </li> 6780 <li class="module-11979 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" target="_self" data-id="11979"> 6781 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/grutniecem-un-maminam"> 6782 <span>GrÅ«tniecÄm un mÄmiÅÄm</span> 6783 </a> 6784 </li> 6785 <li class="module-13245 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="13245"> 6786 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji/zivju-ella-berniem"> 6787 <span>Zivju eļļa bÄrniem</span> 6788 </a> 6789 </li> 6790 </ul> 6791 </div> 6792 </div> 6793 </li> 6794 <li class="module-2215 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2215"> 6795 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem" aria-expanded="false"> 6796 <span>BÄrniem un zÄ«daiÅiem</span> 6797 </a> 6798 6799 <div class="bnuMobileNav__panel" data-lvl="3"> 6800 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6801 BÄrniem un zÄ«daiÅiem </button> 6802 6803 <div class="bnuMobileNav__scroll"> 6804 <ul class="bnuMobileNav__list"> 6805 <li class="bnuMobileNav__item"> 6806 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem"> 6807 <span>SkatÄ«t visus produktus</span> 6808 </a> 6809 </li> 6810 <li class="module-2216 lvl-4 menu_noChilds b
6810nuMobileNav__item" data-lvl="4" data-id="2216"> 6811 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/pudelites-un-knupisi"> 6812 <span>PudelÄ«tes un knupīši</span> 6813 </a> 6814 </li> 6815 <li class="module-2217 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2217"> 6816 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/maneklisi"> 6817 <span>MÄneklīši</span> 6818 </a> 6819 </li> 6820 <li class="module-2221 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2221"> 6821 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/autinbiksites-mitras-salvetes"> 6822 <span>AutiÅbiksÄ«tes, mitrÄs salvetes</span> 6823 </a> 6824 </li> 6825 <li class="module-2220 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2220"> 6826 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/bernu-kosmetika"> 6827 <span>BÄrnu kosmÄtika un higiÄnas lÄ«dzekļi</span> 6828 </a> 6829 </li> 6830 <li class="module-2218 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2218"> 6831 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/deguna-aspiratori-kermena-kopsanas-piederumi"> 6832 <span>Deguna aspiratori, Ä·ermeÅa kopÅ¡anas piederumi</span> 6833 </a> 6834 </li> 6835 <li class="module-2219 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2219"> 6836 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/bernu-partika"> 6837 <span>BÄrnu pÄrtika</span> 6838 </a> 6839 </li> 6840 </ul> 6841 </div> 6842 </div> 6843 </li> 6844 </ul> 6845 6846 <div class="bnuMobileNav__logos"> 6847 <p class="bnuMobileNav__logosTitle"> 6848 TOP zÄ«moli </p> 6849 <ul class="bnuMobileNav__logosItems"> 6850 <li> 6851 <a tabindex="-1" href="zimoli/bio-oil" aria-label="8a56d175c30f558b8be378043b227f14"> 6852 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-8a56d175c30f558b8be378043b227f14-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-8a56d175c30f558b8be378043b227f14-1676867515.png" alt="8a56d175c30f558b8be378043b227f14" ></picture> </a> 6853 </li> 6854 <li> 6855 <a tabindex="-1" href="e-aptieka/maminam-un-berniem?vars/brand/babe" aria-label="Babe 1"> 6856 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-babe_1-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="200" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-babe_1-1676867515.png" alt="Babe 1" ></picture> </a> 6857 </li> 6858 <li> 6859 <a tabindex="-1" href="zimoli/pampers" aria-label="Pampers logo svg"> 6860 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Pampers_logo-svg-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Pampers_logo-svg-1676867515.png" alt="Pampers logo svg" ></picture> </a> 6861 </li> 6862 <li> 6863 <a tabindex="-1" href="zimoli/marsiesi" aria-label="Martians LOT blue"> 6864 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Martians_LOT_blue-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Martians_LOT_blue-1676867515.png" alt="Martians LOT blue" ></picture> </a> 6865 </li> 6866 <li> 6867 <a tabindex="-1" href="zimoli/chicco" aria-label="Chicco logo svg"> 6868 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Chicco_logo-svg-1676867842.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Chicco_logo-svg-1676867842.png" alt="Chicco logo svg" ></picture> </a> 6869 </li> 6870 <li> 6871 <a tabindex="-1" href="zimoli/mustela" aria-label="Mustela Logo"> 6872 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Mustela-Logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Mustela-Logo-1676867515.png" alt="Mustela Logo" ></picture> </a> 6873 </li> 6874 </ul> 6875 6876 </div> 6877 </div> 6878 </div> 6879 </li> 6880 <li class="module-2247 lvl-2 menu_hasChilds b
6880nuMobileNav__item" data-lvl="2" data-id="2247"> 6881 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/medicinas-preces" aria-expanded="false"> 6882 <i class="far fa-stethoscope" aria-hidden="true"></i> 6883 <span>MedicÄ«nas preces </span> 6884 </a> 6885 6886 <div class="bnuMobileNav__panel" data-lvl="2"> 6887 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6888 MedicÄ«nas preces </button> 6889 6890 <div class="bnuMobileNav__scroll"> 6891 <ul class="bnuMobileNav__list"> 6892 <li class="bnuMobileNav__item"> 6893 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces"> 6894 <span>SkatÄ«t visus produktus</span> 6895 </a> 6896 6897 </li> 6898 <li class="module-2271 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2271"> 6899 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika" aria-expanded="false"> 6900 <span>Diagnostika</span> 6901 </a> 6902 6903 <div class="bnuMobileNav__panel" data-lvl="3"> 6904 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6905 Diagnostika </button> 6906 6907 <div class="bnuMobileNav__scroll"> 6908 <ul class="bnuMobileNav__list"> 6909 <li class="bnuMobileNav__item"> 6910 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika"> 6911 <span>SkatÄ«t visus produktus</span> 6912 </a> 6913 </li> 6914 <li class="module-2702 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2702"> 6915 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/glikometri-lancetes-un-teststremeles"> 6916 <span>Glikometri, lancetes un teststrÄmeles</span> 6917 </a> 6918 </li> 6919 <li class="module-2701 lvl-4 menu_noChilds b
6919nuMobileNav__item" data-lvl="4" data-id="2701"> 6920 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/temperaturas-merisana"> 6921 <span>TemperatÅ«ras mÄrīšana</span> 6922 </a> 6923 </li> 6924 <li class="module-2699 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2699"> 6925 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/inhalatori"> 6926 <span>Inhalatori</span> 6927 </a> 6928 </li> 6929 <li class="module-2738 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2738"> 6930 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/analizu-konteineri"> 6931 <span>Analīžu konteineri</span> 6932 </a> 6933 </li> 6934 <li class="module-2700 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2700"> 6935 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/asinspiediena-meritaji"> 6936 <span>Asinsspiediena mÄrÄ«tÄji</span> 6937 </a> 6938 </li> 6939 <li class="module-13104 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="13104"> 6940 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/pulsa-oksimetri"> 6941 <span>Pulsa oksimetri</span> 6942 </a> 6943 </li> 6944 <li class="module-10864 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="10864"> 6945 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/cits"> 6946 <span>Testi</span> 6947 </a> 6948 </li> 6949 </ul> 6950 </div> 6951 </div> 6952 </li> 6953 <li class="module-2248 lvl-3 menu_hasChilds b
6953nuMobileNav__item" data-lvl="3" data-id="2248"> 6954 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana" aria-expanded="false"> 6955 <span>Ä¢imenes plÄnoÅ¡ana</span> 6956 </a> 6957 6958 <div class="bnuMobileNav__panel" data-lvl="3"> 6959 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6960 Ä¢imenes plÄnoÅ¡ana </button> 6961 6962 <div class="bnuMobileNav__scroll"> 6963 <ul class="bnuMobileNav__list"> 6964 <li class="bnuMobileNav__item"> 6965 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana"> 6966 <span>SkatÄ«t visus produktus</span> 6967 </a> 6968 </li> 6969 <li class="module-2749 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2749"> 6970 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/grutniecibas-un-ovulacijas-testi"> 6971 <span>GrÅ«tniecÄ«bas un ovulÄcijas testi</span> 6972 </a> 6973 </li> 6974 <li class="module-2750 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2750"> 6975 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/prezervativi"> 6976 <span>PrezervatÄ«vi</span> 6977 </a> 6978 </li> 6979 <li class="module-2262 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2262"> 6980 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/lubrikanti"> 6981 <span>Lubrikanti</span> 6982 </a> 6983 </li> 6984 </ul> 6985 </div> 6986 </div> 6987 </li> 6988 <li class="module-2249 lvl-3 menu_hasChilds b
6988nuMobileNav__item" data-lvl="3" data-id="2249"> 6989 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija" aria-expanded="false"> 6990 <span>OrtopÄdija</span> 6991 </a> 6992 6993 <div class="bnuMobileNav__panel" data-lvl="3"> 6994 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6995 OrtopÄdija </button> 6996 6997 <div class="bnuMobileNav__scroll"> 6998 <ul class="bnuMobileNav__list"> 6999 <li class="bnuMobileNav__item"> 7000 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija"> 7001 <span>SkatÄ«t visus produktus</span> 7002 </a> 7003 </li> 7004 <li class="module-2755 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2755"> 7005 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija/elastigie-parseji"> 7006 <span>ElastÄ«gie pÄrsÄji un jostas</span> 7007 </a> 7008 </li> 7009 <li class="module-2754 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2754"> 7010 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija/pedu-aprupei"> 7011 <span>PÄdu aprÅ«pei</span> 7012 </a> 7013 </li> 7014 </ul> 7015 </div> 7016 </div> 7017 </li> 7018 <li class="module-2264 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2264"> 7019 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces" aria-expanded="false"> 7020 <span>Optikas preces</span> 7021 </a> 7022 7023 <div class="bnuMobileNav__panel" data-lvl="3"> 7024 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 7025 Optikas preces </button> 7026 7027 <div class="bnuMobileNav__scroll"> 7028 <ul class="bnuMobileNav__list"> 7029 <li class="bnuMobileNav__item"> 7030 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces"> 7031 <sp
7031an>SkatÄ«t visus produktus</span> 7032 </a> 7033 </li> 7034 <li class="module-2267 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2267"> 7035 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces/acu-pilieni"> 7036 <span>Acu pilieni</span> 7037 </a> 7038 </li> 7039 <li class="module-2270 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2270"> 7040 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces/kontaktlecu-kopsana"> 7041 <span>KontaktlÄcas un šķīdumi</span> 7042 </a> 7043 </li> 7044 </ul> 7045 </div> 7046 </div> 7047 </li> 7048 <li class="module-14159 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" target="_self" data-id="14159"> 7049 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/ausu-veseliba"> 7050 <span>Ausu pilieni</span> 7051 </a> 7052 7053 </li> 7054 <li class="module-14757 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="14757"> 7055 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/stomas-aprupes-produkti"> 7056 <span>Stomas aprÅ«pes produkti</span> 7057 </a> 7058 7059 </li> 7060 </ul> 7061 7062 <div class="bnuMobileNav__logos"> 7063 <p class="bnuMobileNav__logosTitle"> 7064 TOP zÄ«moli </p> 7065 <ul class="bnuMobileNav__logosItems"> 7066 <li> 7067 <a tabindex="-1" href="zimoli/livsane" aria-label="LIVSANE"> 7068 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-LIVSANE-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="392" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-LIVSANE-1676867515.png" alt="LIVSANE" ></picture> </a> 7069 </li> 7070 <li> 7071 <a tabindex="-1" href="zimoli/microlife" aria-label="Microlife"> 7072 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Microlife-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="392" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Microlife-1676867515.png" alt="Microlife" ></picture> </a> 7073 </li> 7074 <li> 7075 <a tabindex="-1" href="zimoli/omron" aria-label="Omron"> 7076 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Omron-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="392" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Omron-1676867515.png" alt="Omron" ></picture> </a> 7077 </li> 7078 <li> 7079 <a tabindex="-1" href="zimoli/durex" aria-label="Durex"> 7080 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Durex-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="392" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Durex-1676867515.png" alt="Durex" ></picture> </a> 7081 </li> 7082 <li> 7083 <a tabindex="-1" href="zimoli/lauma" aria-label="Lauma"> 7084 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Lauma-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="392" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Lauma-1676867515.png" alt="Lauma" ></picture> </a> 7085 </li> 7086 <li> 7087 <a tabindex="-1" href="zimoli/evolu" aria-label="Evolu"> 7088 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Evolu-1676867515.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Evolu-1676867515.jpg" alt="Evolu" ></picture> </a> 7089 </li> 7090 </ul> 7091 7092 </div> 7093 </div> 7094 </div> 7095 </li> 7096 <li class="module-2118 lvl-2 menu_hasChilds b
7096nuMobileNav__item" data-lvl="2" data-id="2118"> 7097 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/pirma-palidziba" aria-expanded="false"> 7098 <i class="fal fa-band-aid" aria-hidden="true"></i> 7099 <span>PirmÄ palÄ«dzÄ«ba</span> 7100 </a> 7101 7102 <div class="bnuMobileNav__panel" data-lvl="2"> 7103 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 7104 PirmÄ palÄ«dzÄ«ba </button> 7105 7106 <div class="bnuMobileNav__scroll"> 7107 <ul class="bnuMobileNav__list"> 7108 <li class="bnuMobileNav__item"> 7109 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba"> 7110 <span>SkatÄ«t visus produktus</span> 7111 </a> 7112 7113 </li> 7114 <li class="module-2116 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2116"> 7115 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/plaksteri"> 7116 <span>PlÄksteri</span> 7117 </a> 7118 7119 </li> 7120 <li class="module-2105 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2105"> 7121 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/brucu-aprupe-un-dezinfekcijas-lidzekli"> 7122 <span>BrÅ«Äu aprÅ«pe un dezinfekcijas lÄ«dzekļi</span> 7123 </a> 7124 7125 </li> 7126 <li class="module-2724 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2724"> 7127 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/karpas-un-varzacis"> 7128 <span>KÄrpas un varžacis</span> 7129 </a> 7130 7131 </li> 7132 <li class="module-11890 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="11890"> 7133 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/pretinsektu-lidzekli"> 7134 <span>Pretinsektu lÄ«dzekļi</span> 7135 </a> 7136 7137 </li> 7138 <li class="module-2723 lvl-3 menu_noChilds b
7138nuMobileNav__item" data-lvl="3" data-id="2723"> 7139 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/antiparazitarie-lidzekli"> 7140 <span>Utis, gnÄ«das</span> 7141 </a> 7142 7143 </li> 7144 <li class="module-11848 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="11848"> 7145 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/senisu-infekcija"> 7146 <span>SÄnīšu infekcija</span> 7147 </a> 7148 7149 </li> 7150 <li class="module-2124 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2124"> 7151 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/maskas"> 7152 <span>Maskas</span> 7153 </a> 7154 7155 </li> 7156 <li class="module-2119 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2119"> 7157 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/vate-marles-un-parseji"> 7158 <span>Vate, marles un pÄrsÄji</span> 7159 </a> 7160 7161 </li> 7162 <li class="module-13550 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="13550"> 7163 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/virsmu-dezinfekcija"> 7164 <span>Dezinfekcijas lÄ«dzekļi</span> 7165 </a> 7166 7167 </li> 7168 <li class="module-2141 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2141"> 7169 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/zalu-kastites-un-tablesu-dalitaji"> 7170 <span>ZÄļu kastÄ«tes un tableÅ¡u dalÄ«tÄji</span> 7171 </a> 7172 7173 </li> 7174 <li class="module-2104 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2104"> 7175 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/cimdi">
7176 <span>Cimdi</span> 7177 </a> 7178 7179 </li> 7180 <li class="module-2142 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2142"> 7181 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/sildosie-atvesinosie-geli-un-kompreses"> 7182 <span>PirmÄs palÄ«dzÄ«bas ziedes, geli, spreji</span> 7183 </a> 7184 7185 </li> 7186 <li class="module-2204 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2204"> 7187 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/koka-spateles-joda-kocini"> 7188 <span>Koka Å¡pÄteles, joda kociÅi</span> 7189 </a> 7190 7191 </li> 7192 <li class="module-12864 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="12864"> 7193 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/klizmas-znaugi"> 7194 <span>Klizmas, žÅaugi, vaskadrÄnas, ausu aizbÄžÅi </span> 7195 </a> 7196 7197 </li> 7198 </ul> 7199 7200 <div class="bnuMobileNav__logos"> 7201 <p class="bnuMobileNav__logosTitle"> 7202 TOP zÄ«moli </p> 7203 <ul class="bnuMobileNav__logosItems"> 7204 <li> 7205 <a tabindex="-1" href="zimoli/medrull" aria-label="Medrull"> 7206 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-medrull-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-medrull-1676867515.png" alt="Medrull" ></picture> </a> 7207 </li> 7208 <li> 7209 <a tabindex="-1" href="zimoli/compeed" aria-label="Compeed logo"> 7210 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-compeed-logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-compeed-logo-1676867515.png" alt="Compeed logo" ></picture> </a> 7211 </li> 7212 <li> 7213 <a tabindex="-1" href="zimoli/urgo" aria-label="URGO"> 7214 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-URGO-1676867842.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-URGO-1676867842.jpg" alt="URGO" ></picture> </a> 7215 </li> 7216 <li> 7217 <a tabindex="-1" href="zimoli/perskindol" aria-label="Perskindol logo"> 7218 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-perskindol-logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-perskindol-logo-1676867515.png" alt="Perskindol logo" ></picture> </a> 7219 </li> 7220 <li> 7221 <a tabindex="-1" href="zimoli/tickless" aria-label="Tickless logo 2"> 7222 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Tickless_logo-2-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-Tickless_logo-2-1676867515.png" alt="Tickless logo 2" ></picture> </a> 7223 </li> 7224 <li> 7225 <a tabindex="-1" href="zimoli/larifan" aria-label="Larifan"> 7226 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-larifan-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="128" height="300" src="https://img.benu.lv/media/.thumb/.256x256-create-LOGO_brands-larifan-1676867515.png" alt="Larifan" ></picture> </a> 7227 </li> 7228 </ul> 7229 7230 </div> 7231 </div> 7232 </div> 7233 </li> 7234 <li class="module-13087 lvl-2 menu_noChilds b
7234nuMobileNav__item" data-lvl="2" target="_self" data-id="13087"> 7235 <a class="bnuMobileNav__link" href="https://www.benu.lv/zimoli"> 7236 <i class="fal fa-font-case" aria-hidden="true"></i> 7237 <span>Visi zÄ«moli</span> 7238 </a> 7239 7240 </li> 7241 </ul> 7242 7243 <div class="bnuMobileNav__footer"> 7244 <ul class="bnuMobileNav__footerMenu"> 7245 <li class="icon"><a tabindex="-1" href="https://www.benu.lv/zalu-pieejamiba"><i class="fal fa-prescription"></i>ZÄļu pieejamÄ«ba<span class="bnuMobileMenu__badge">JAUNUMS</span></a></li> 7246 7247 <li> 7248 <a tabindex="-1" href="https://www.benu.lv/aptiekas"> 7249 <i class="fa-regular fa-location-dot" aria-hidden="true"></i> 7250 Aptiekas </a> 7251 </li> 7252 7253 <li> 7254 <a tabindex="-1" href="https://www.benu.lv/ienakt"> 7255 <i class="fa-regular fa-heart" aria-hidden="true"></i> 7256 VÄlmju saraksts </a> 7257 </li> 7258 7259 <li> 7260 <a tabindex="-1" href="https://www.benu.lv/ienakt"> 7261 <i class="fa-regular fa-user" aria-hidden="true"></i> 7262 IenÄkt / ReÄ£istrÄties </a> 7263 </li> 7264 </ul> 7265 7266 <ul class="bnuMobileNav__social"> 7267 <li> 7268 <a tabindex="-1" target="_blank" href="https://www.facebook.com/BENUAptieka/" aria-label="BENU Facebook"> 7269 <i class="fa-brands fa-facebook-f" aria-hidden="true"></i> 7270 </a> 7271 </li> 7272 <li> 7273 <a tabindex="-1" target="_blank" href="https://www.youtube.com/channel/UClC7biL_2Qy-59XdHMO7WCA" aria-label="BENU Youtube"> 7274 <i class="fa-brands fa-youtube" aria-hidden="true"></i> 7275 </a> 7276 </li> 7277 <li> 7278 <a tabindex="-1" target="_blank" href="https://www.instagram.com/benu_aptieka/" aria-label="BENU Instagram"> 7279 <i class="fa-brands fa-instagram" aria-hidden="true"></i> 7280 </a> 7281 </li> 7282 <li> 7283 <a tabindex="-1" target="_blank" href="https://www.linkedin.com/company/benu-pharmacy-baltics" aria-label="BENU LinkedIn"> 7284 <i class="fa-brands fa-linkedin" aria-hidden="true"></i> 7285 </a> 7286 </li> 7287 </ul> 7288 </div> 7289 </div> 7290 </div> 7291 7292
7292<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 7293 (function () { 7294 var root = document.querySelector('.bnuMobileNav--categories'); 7295 7296 if (!root) { 7297 return; 7298 } 7299 7300 root.addEventListener('click', function (event) { 7301 var opener = event.target.closest('.bind-nextLevel'); 7302 7303 if (opener && root.contains(opener)) { 7304 event.preventDefault(); 7305 7306 var panel = opener.nextElementSibling; 7307 7308 if (panel) { 7309 panel.classList.add('bnuMobileNav__panel--active'); 7310 opener.setAttribute('aria-expanded', 'true'); 7311 } 7312 7313 return; 7314 } 7315 7316 var closer = event.target.closest('.bind-prevLevel'); 7317 7318 if (closer && root.contains(closer)) { 7319 event.preventDefault(); 7320 7321 var openPanel = closer.closest('.bnuMobileNav__panel'); 7322 7323 if (openPanel) { 7324 openPanel.classList.remove('bnuMobileNav__panel--active'); 7325 7326 var trigger = openPanel.previousElementSibling; 7327 7328 if (trigger) { 7329 trigger.setAttribute('aria-expanded', 'false'); 7330 } 7331 } 7332 } 7333 }); 7334 })(); 7335 </script>
7335 7336 </nav> 7337 </div> 7338 <div id="mobileMenu" class="bnuMobileMenu__panel bind-mobileMenuContent"> 7339 <nav> 7340 7341 <div class="bnuMobileNav bnuMobileNav--simple"> 7342 <p class="bnuMobileNav__title"> 7343 Par BENU </p> 7344 7345 <div class="bnuMobileNav__scroll"> 7346 <ul class="bnuMobileNav__list"> 7347 <li class="module-15605 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/e-davanu-karte"> 7348 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-davanu-karte"> 7349 <span>DÄvanu karte</span> 7350 </a> 7351 </li> 7352 <li class="module-14064 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_blank" href="https://www.benu.lv/senioru-prieksrocibas"> 7353 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/senioru-prieksrocibas"> 7354 <span>Senioru priekÅ¡rocÄ«bas</span> 7355 </a> 7356 </li> 7357 <li class="module-13717 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/musu-aptiekas"> 7358 <a class="bnuMobileNav__link bnuMenuButton--green" tabindex="-1" href="https://www.benu.lv/musu-aptiekas"> 7359 <i class="fal fa-clinic-medical" aria-hidden="true"></i> 7360 <span>MÅ«su Aptiekas</span> 7361 </a> 7362 </li> 7363 <li class="module-13828 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/jaunumi"> 7364 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/jaunumi"> 7365 <span>Jaunumi</span> 7366 </a> 7367 </li> 7368 <li class="module-12923 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/pakalpojumi-filiales/merijumi-un-parbaudes"> 7369 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/pakalpojumi-filiales/merijumi-un-parbaudes"> 7370 <span>MÄrÄ«jumi un pÄrbaudes</span> 7371 </a> 7372 </li> 7373 <li class="module-2986 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/benu-akademija"> 7374 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/benu-akademija"> 7375 <span>BENU Blogs</span> 7376 </a> 7377 </li> 7378 <li class="module-12006 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" href="https://www.benu.lv/zalu-piegade-uz-majam"> 7379 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/zalu-piegade-uz-majam"> 7380 <span>ZÄļu piegÄde mÄjÄs</span> 7381 </a> 7382 </li> 7383 <li class="module-10747 lvl-1 menu_hasChilds b
7383nuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/palidziba/biezak-uzdotie-jautajumi"> 7384 <button type="button" class="bnuMobileNav__link bnuMobileNav__link--toggle bind-toggleMobileSubMenu" aria-expanded="false"> 7385 <span>PalÄ«dzÄ«ba</span> 7386 </button> 7387 7388 <ul class="bnuMobileNav__subList"> 7389 <li class="module-13056 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" href="https://www.benu.lv/piegade"> 7390 <a class="bnuMobileNav__link bnuMobileNav__link--child" tabindex="-1" href="https://www.benu.lv/piegade"> 7391 <span>PiegÄde</span> 7392 </a> 7393 </li> 7394 <li class="module-2992 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" href="https://www.benu.lv/benu-interneta-aptieka"> 7395 <a class="bnuMobileNav__link bnuMobileNav__link--child" tabindex="-1" href="https://www.benu.lv/benu-interneta-aptieka"> 7396 <span>Kontakti</span> 7397 </a> 7398 </li> 7399 </ul> 7400 </li> 7401 <li class="module-2985 lvl-1 menu_hasChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/benu-karte"> 7402 <button type="button" class="bnuMobileNav__link bnuMobileNav__link--toggle bind-toggleMobileSubMenu" aria-expanded="false"> 7403 <span>Par BENU Aptieku</span> 7404 </button> 7405 7406 <ul class="bnuMobileNav__subList"> 7407 <li class="module-2987 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" href="https://www.benu.lv/pakalpojumi-filiales"> 7408 <a class="bnuMobileNav__link bnuMobileNav__link--child" tabindex="-1" href="https://www.benu.lv/pakalpojumi-filiales"> 7409 <span>Pakalpojumi aptiekÄs</span> 7410 </a> 7411 </li> 7412 <li class="module-10745 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" href="https://www.benu.lv/medikamentu-atgadinajuma-programma"> 7413 <a class="bnuMobileNav__link bnuMobileNav__link--child" tabindex="-1" href="https://www.benu.lv/medikamentu-atgadinajuma-programma"> 7414 <span>Medikamentu atgÄdinÄjuma programma</span> 7415 </a> 7416 </li> 7417 </ul> 7418 </li> 7419 </ul> 7420 7421 <div class="bnuMobileNav__footer"> 7422 <ul class="bnuMobileNav__footerMenu"> 7423 <li class="icon"><a tabindex="-1" href="https://www.benu.lv/zalu-pieejamiba"><i class="fal fa-prescription"></i>ZÄļu pieejamÄ«ba<span class="bnuMobileMenu__badge">JAUNUMS</span></a></li> 7424 7425 <li> 7426 <a tabindex="-1" href="https://www.benu.lv/aptiekas"> 7427 <i class="fa-regular fa-location-dot" aria-hidden="true"></i> 7428 Aptiekas </a> 7429 </li> 7430 7431 <li> 7432 <a tabindex="-1" href="https://www.benu.lv/ienakt"> 7433 <i class="fa-regular fa-heart" aria-hidden="true"></i> 7434 VÄlmju saraksts </a> 7435 </li> 7436 7437 <li> 7438 <a tabindex="-1" href="https://www.benu.lv/ienakt"> 7439 <i class="fa-regular fa-user" aria-hidden="true"></i> 7440 IenÄkt / ReÄ£istrÄties </a> 7441 </li> 7442 </ul> 7443 7444 <ul class="bnuMobileNav__social"> 7445 <li> 7446 <a tabindex="-1" target="_blank" href="https://www.facebook.com/BENUAptieka/" aria-label="BENU Facebook"> 7447 <i class="fa-brands fa-facebook-f" aria-hidden="true"></i> 7448 </a> 7449 </li> 7450 <li> 7451 <a tabindex="-1" target="_blank" href="https://www.youtube.com/channel/UClC7biL_2Qy-59XdHMO7WCA" aria-label="BENU Youtube"> 7452 <i class="fa-brands fa-youtube" aria-hidden="true"></i> 7453 </a> 7454 </li> 7455 <li> 7456 <a tabindex="-1" target="_blank" href="https://www.instagram.com/benu_aptieka/" aria-label="BENU Instagram"> 7457 <i class="fa-brands fa-instagram" aria-hidden="true"></i> 7458 </a> 7459 </li> 7460 <li> 7461 <a tabindex="-1" target="_blank" href="https://www.linkedin.com/company/benu-pharmacy-baltics" aria-label="BENU LinkedIn"> 7462 <i class="fa-brands fa-linkedin" aria-hidden="true"></i> 7463 </a> 7464 </li> 7465 </ul> 7466 </div> 7467 </div> 7468 </div> 7469 7470
7470<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 7471 (function () { 7472 var root = document.querySelector('.bnuMobileNav--simple'); 7473 7474 if (!root) { 7475 return; 7476 } 7477 7478 root.addEventListener('click', function (event) { 7479 var toggle = event.target.closest('.bind-toggleMobileSubMenu'); 7480 7481 if (!toggle || !root.contains(toggle)) { 7482 return; 7483 } 7484 7485 event.preventDefault(); 7486 7487 var item = toggle.closest('.bnuMobileNav__item'); 7488 var expanded = toggle.getAttribute('aria-expanded') === 'true'; 7489 7490 toggle.setAttribute('aria-expanded', expanded ? 'false' : 'true'); 7491 7492 if (item) { 7493 item.classList.toggle('bnuMobileNav__item--open', !expanded); 7494 } 7495 }); 7496 })(); 7497 </script>
7497 7498 </nav> 7499 </div> 7500 </div> 7501 </div> 7502 7503 <div class="bnuHeader__nav cache-on"> 7504 <nav id="bnuProductNav" class="bnuProductNav" aria-label="Product categories"> 7505 7506<button id="bnuProductNavToggle" class="bnuProductNav__toggle" type="button" aria-expanded="false" aria-disabled="false" aria-controls="bnuProductNavMenu"> 7507 Produktu katalogs <i class="fa-regular fa-angle-down" aria-hidden="true"></i> 7508</button> 7509 7510<ul id="bnuProductNavMenu" class="bnuProductNav__menu bnuProductNav__menu--many" aria-hidden="true" inert> 7511 <li class="bnuProductNav__menuSpacer" tabindex="-1"></li> 7512 7513 <li class="module-16042 lvl-2 menu_noChilds" data-lvl="2" target="_self" href="https://www.benu.lv/partneru-piedavajums"> 7514 <a href="https://www.benu.lv/partneru-piedavajums" class="bnuMenuButton bnuMenuButton--child bnuMenuButton--green" style="anchor-name: --menu-item-1"><i class="fal fa-clinic-medical" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">Ärstu konsultÄcijas</span></a> 7515 7516 7517 </li> 7518 <li class="module-14824 lvl-2 menu_noChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/noliktavas-atlaides"> 7519 <a href="https://www.benu.lv/e-aptieka/noliktavas-atlaides" class="bnuMenuButton bnuMenuButton--child bnuMenuButton--green" style="anchor-name: --menu-item-2"><i class="fal fa-box-full" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">Noliktavas atlaides</span></a> 7520 7521 7522 </li> 7523 <li class="module-10857 lvl-2 menu_noChilds" data-lvl="2" target="_self" href="https://www.benu.lv/akcijas"> 7524 <a href="https://www.benu.lv/akcijas" class="bnuMenuButton bnuMenuButton--child bnuMenuButton--pink" style="anchor-name: --menu-item-3"><i class="fal fa-percent" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">Akcijas</span></a> 7525 7526 7527 </li> 7528 <li class="module-11910 lvl-2 menu_noChilds" data-lvl="2" target="_self" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
7528as-kopsana/saulosanas-kosmetika"> 7529 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/saulosanas-kosmetika" class="bnuMenuButton bnuMenuButton--child bnuMenuButton--pink" style="anchor-name: --menu-item-4"><i class="fal fa-sun" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">SauļoÅ¡anÄs kosmÄtika</span></a> 7530 7531 7532 </li> 7533 <li class="module-2098 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti"> 7534 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti" class="bnuMenuButton bnuMenuButton--child" style="anchor-name: --menu-item-5"><i class="fal fa-tablets" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">BezrecepÅ¡u medikamenti</span></a> 7535 <button type="button" class="bnuProductNav__subMenuToggle bind-subMenuToggle" aria-expanded="false" aria-controls="submenu-5" aria-haspopup="true" style="position-anchor: --menu-item-5;" aria-label="Open BezrecepÅ¡u medikamenti submenu"> 7536 <span class="screenReaderText"> 7537 Open BezrecepÅ¡u medikamenti submenu 7538 </span> 7539 </button> 7540 7541 7542 <ul data-lvl="1" id="submenu-5" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 7543 <li class="bnuSubMenu__columns"> 7544 <ul> 7545 <li> 7546 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas" data-original-tabindex="" tabindex="-1"> 7547 SaaukstÄÅ¡anÄs </a> 7548 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7549 <li class="module-2101"> 7550 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/saaukstesanas-un-gripa">SaaukstÄÅ¡anÄs un gripa</a> 7551 </li> 7552 <li class="module-2102"> 7553 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/kakla-sapes">Kakla sÄpes</a> 7554 </li> 7555 <li class="module-2725"> 7556 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/klepus">Klepus</a> 7557 </li> 7558 <li class="module-2103"> 7559 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/iesnas">Iesnas</a> 7560 </li> 7561 </ul> 7562 </li> 7563 <li> 7564 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite" data-original-tabindex="" tabindex="-1"> 7565 Sirds un asinsrite </a> 7566 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7567 <li class="module-2134"> 7568 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/sirds-veseliba">Sirds veselÄ«ba</a> 7569 </li> 7570 <li class="module-2133"> 7571 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/trombi">Trombi</a> 7572 </li> 7573 <li class="module-2136"> 7574 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/venas-un-asinsvadi">VÄnas un asinsvadi</a> 7575 </li> 7576 <li class="module-10806"> 7577 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/dzelzs-un-folijskabes-preperati">Dzelzs un folijskÄbe </a> 7578 </li> 7579 </ul> 7580 </li> 7581 <li> 7582 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes" data-original-tabindex="" tabindex="-1"> 7583 SÄpes </a> 7584 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7585 <li class="module-11920"> 7586 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/sapes-un-iekaisums">SÄpes un iekaisums</a> 7587 </li> 7588 <li class="module-11921"> 7589 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/pretsapju-ziedes-geli">PretsÄpju ziedes, geli</a> 7590 </li> 7591 <li class="module-11918"> 7592 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/pretsapju-plaksteri">PretsÄpju plÄksteri</a> 7593 </li> 7594 </ul> 7595 </li> 7596 <li> 7597 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/locitavam-un-kauliem" data-original-tabindex="" tabindex="-1"> 7598 LocÄ«tavÄm, kauliem un muskuļiem </a> 7599 </li> 7600 <li> 7601 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe" data-original-tabindex="" tabindex="-1"> 7602 Ädas aprÅ«pe </a> 7603 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7604 <li class="module-2151"> 7605 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/
7605pretvirusu-lidzekli">PretvÄ«rusu lÄ«dzekļi</a> 7606 </li> 7607 <li class="module-13094"> 7608 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/mutes-dobuma-glotadai">Mutes dobuma gļotÄdai</a> 7609 </li> 7610 <li class="module-2156"> 7611 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/culu-un-brucu-kopsana">ÄÅ«lu un brÅ«Äu kopÅ¡ana</a> 7612 </li> 7613 <li class="module-2154"> 7614 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/adas-iekaisums-un-ekzema">Sausa Äda un ekzÄma</a> 7615 </li> 7616 <li class="module-2720"> 7617 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/senisu-infekcija">SÄnīšu infekcija</a> 7618 </li> 7619 <li class="module-2721"> 7620 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/galvas-adas-aprupe">Galvas Ädas aprÅ«pe</a> 7621 </li> 7622 </ul> 7623 </li> 7624 <li> 7625 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema" data-original-tabindex="" tabindex="-1"> 7626 Stress un nervu sistÄma </a> 7627 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7628 <li class="module-2717"> 7629 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/nervi-un-stress">Nervi un stress</a> 7630 </li> 7631 <li class="module-2718"> 7632 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/miegam">Miegam</a> 7633 </li> 7634 <li class="module-10807"> 7635 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/hemoroidiem">B grupas vitamÄ«ni</a> 7636 </li> 7637 </ul> 7638 </li> 7639 <li> 7640 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/alergija" data-original-tabindex="" tabindex="-1"> 7641 AlerÄ£ija </a> 7642 </li> 7643 <li> 7644 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi" data-original-tabindex="" tabindex="-1"> 7645 GremoÅ¡anas traucÄjumi </a> 7646 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7647 <li class="module-2107"> 7648 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/caureja">Caureja</a> 7649 </li> 7650 <li class="module-2114"> 7651 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/aizcietejumi">AizcietÄjumi</a> 7652 </li> 7653 <li class="module-2115"> 7654 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/zarnu
7654-mikroflora">Zarnu mikroflora</a> 7655 </li> 7656 <li class="module-2108"> 7657 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/vedera-uzpusanas-un-zarnu-trakts">VÄdera uzpūšanÄs un zarnu trakts</a> 7658 </li> 7659 <li class="module-2111"> 7660 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/kunga-darbiba">KunÄ£a darbÄ«ba</a> 7661 </li> 7662 <li class="module-2109"> 7663 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/slikta-dusa">Slikta dūša</a> 7664 </li> 7665 <li class="module-2110"> 7666 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/pretparazitu-lidzekli">PretparazÄ«tu lÄ«dzekļi</a> 7667 </li> 7668 <li class="module-2112"> 7669 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/hemoroidi">HemoroÄ«di</a> 7670 </li> 7671 <li class="module-2113"> 7672 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/aknu-veseliba">Aknu veselÄ«ba</a> 7673 </li> 7674 </ul> 7675 </li> 7676 <li> 7677 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba" data-original-tabindex="" tabindex="-1"> 7678 Sievietes veselÄ«ba </a> 7679 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7680 <li class="module-10802"> 7681 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba/pretapauglosanas-lidzeklis">PretapaugļoÅ¡anÄs lÄ«dzekļi</a> 7682 </li> 7683 <li class="module-2126"> 7684 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba/citi">Citi produkti</a> 7685 </li> 7686 </ul> 7687 </li> 7688 <li> 7689 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/prostata" data-original-tabindex="" tabindex="-1"> 7690 VÄ«rieÅ¡u veselÄ«ba </a> 7691 </li> 7692 <li> 7693 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/smadzenu-darbiba-un-atmina" data-original-tabindex="" tabindex="-1"> 7694 SmadzeÅu darbÄ«ba un atmiÅa </a> 7695 </li> 7696 <li> 7697 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/homeopatija" data-original-tabindex="" tabindex="-1"> 7698 HomeopÄtija un cits </a> 7699 </li> 7700 <li> 7701 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/urinceliem" data-original-tabindex="" tabindex="-1"> 7702 UrÄ«nceļu veselÄ«bai </a> 7703 </li> 7704 <li> 7705 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/acu-veseliba" data-original-tabindex="" tabindex="-1"> 7706 Acu veselÄ«ba </a> 7707 </li> 7708 <li> 7709 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/ausu-veseliba" data-original-tabindex="" tabindex="-1"> 7710 Ausu veselÄ«ba </a> 7711 </li> 7712 <li> 7713 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/smekesanas-atmesanai" data-original-tabindex="" tabindex="-1"> 7714 SmÄÄ·ÄÅ¡anas atmeÅ¡anai </a> 7715 </li> 7716 <li> 7717 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/kalija-jodids" data-original-tabindex="" tabindex="-1"> 7718 KÄlija jodÄ«ds </a> 7719 </li> 7720 </ul> 7721 </li> 7722 <li class="bnuSubMenu__logos"> 7723 <div class="bnuSubMenu__logosItems"> 7724 <a class="bnuSubMenu__logo" href="zimoli/ibumetin" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7725 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-ibu-logo_copy-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-ibu-logo_copy-1676867515.png" ></picture> </a> 7726 <a class="bnuSubMenu__logo" href="zimoli/detralex" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7727 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Detralex-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Detralex-1676867515.png" ></picture> </a> 7728 <a class="bnuSubMenu__logo" href="zimoli/olfen" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7729 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Olfen-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Olfen-1676867515.png" ></picture> </a> 7730 <a class="bnuSubMenu__logo" href="zimoli/coldrex" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7731 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-coldrex_logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-coldrex_logo-1676867515.png" ></picture> </a> 7732 <a class="bnuSubMenu__logo" href="zimoli/nurofen" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7733 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Nuroffen-1676867515.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Nuroffen-1676867515.jpg" ></picture> </a> 7734 <a class="bnuSubMenu__logo" href="zimoli/espumisan" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7735 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-espumisan_logo-png-pagespeed-ce-30qokU7IOz-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-espumisan_logo-png-pagespeed-ce-30qokU7IOz-1676867515.png" ></picture> </a> 7736 </div> 7737 </li> 7738 </ul> 7739 7740 7741 </li> 7742 <li class="module-2187 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji"> 7743 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji" class="bnuMenuButton bnuMenuButton--child" style="anchor-name: --menu-item-6"><i class="fal fa-seedling" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">Uztura bagÄtinÄtÄji</span></a> 7744 <button type="button" class="bnuProductNav__subMenuToggle bind-subMenuToggle" aria-expanded="false" aria-controls="submenu-6" aria-haspopup="true" style="position-anchor: --menu-item-6;" aria-label="Open Uztura bagÄtinÄtÄji submenu">
7745 <span class="screenReaderText"> 7746 Open Uztura bagÄtinÄtÄji submenu 7747 </span> 7748 </button> 7749 7750 7751 <ul data-lvl="1" id="submenu-6" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 7752 <li class="bnuSubMenu__columns"> 7753 <ul> 7754 <li> 7755 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas" data-original-tabindex="" tabindex="-1"> 7756 VitamÄ«ni un minerÄlvielas </a> 7757 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7758 <li class="module-2208"> 7759 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamini-a-e-antioksidanti">VitamÄ«ni A, E, antioksidanti</a> 7760 </li> 7761 <li class="module-2209"> 7762 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-b">B vitamÄ«ns </a> 7763 </li> 7764 <li class="module-2210"> 7765 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-c">C vitamÄ«ns</a> 7766 </li> 7767 <li class="module-2211"> 7768 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-d">D vitamÄ«ns</a> 7769 </li> 7770 <li class="module-2193"> 7771 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/magnijs">Magnijs</a> 7772 </li> 7773 <li class="module-2197"> 7774 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/dzelzs-un-folijskabe">Dzelzs un folijskÄbe</a> 7775 </li> 7776 <li class="module-2191"> 7777 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/kalcijs">Kalcijs</a> 7778 </li> 7779 <li class="module-13125"> 7780 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/cinks">Cinks</a> 7781 </li> 7782 <li class="module-2194"> 7783 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/kompleksie-vitamini">Kompleksie vitamÄ«ni</a> 7784 </li> 7785 <li class="module-2205"> 7786 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamini-diabetikiem">VitamÄ«ni diabÄtiÄ·iem</a> 7787 </li> 7788 </ul> 7789 </li> 7790 <li> 7791 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei" data-original-tabindex="" tabindex="-1"> 7792 SaaukstÄÅ¡anÄs un imunitÄtei </a> 7793 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7794 <li class="module-11840"> 7795 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/imunitatei">ImunitÄtei</a> 7796 </li> 7797 <li class="module-11844"> 7798 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/iesnas">Iesnas</a> 7799 </li> 7800 <li class="module-11841"> 7801 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/saaukstesanas">DzÄrieni pret saaukstÄÅ¡anos</a> 7802 </li> 7803 <li class="module-11842"> 7804 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/kakla-sapes">Kakla sÄpes</a> 7805 </li> 7806 <li class="module-11843"> 7807 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/klepus">Klepus</a> 7808 </li> 7809 </ul> 7810 </li> 7811 <li> 7812 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/kolagens" data-original-tabindex="" tabindex="-1"> 7813 KolagÄns </a> 7814 </li> 7815 <li> 7816 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/zivju-ella" data-original-tabindex="" tabindex="-1"> 7817 Zivju un krila eļļas </a> 7818 </li> 7819 <li> 7820 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai" data-original-tabindex="" tabindex="-1"> 7821 Ä¢imenes veselÄ«bai </a> 7822 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7823 <li class="module-2730"> 7824 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/skaistumam">Skaistumam</a> 7825 </li> 7826 <li class="module-2731"> 7827 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/grutniecem-un-mam
7827inam">GrÅ«tniecÄm un mÄmiÅÄm</a> 7828 </li> 7829 <li class="module-2732"> 7830 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/sievietes-veselibai">Sievietes veselÄ«bai</a> 7831 </li> 7832 <li class="module-2202"> 7833 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/vitamini-viriesiem">VitamÄ«ni vÄ«rieÅ¡iem</a> 7834 </li> 7835 <li class="module-2200"> 7836 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/vitamini-berniem">VitamÄ«ni bÄrniem</a> 7837 </li> 7838 <li class="module-2258"> 7839 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/kompleksie-vitamini-2">Kompleksie vitamÄ«ni senioriem</a> 7840 </li> 7841 </ul> 7842 </li> 7843 <li> 7844 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema" data-original-tabindex="" tabindex="-1"> 7845 Sirds un asinsvadu sistÄma </a> 7846 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7847 <li class="module-11845"> 7848 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/holesterinam">HolesterÄ«na lÄ«menis</a> 7849 </li> 7850 <li class="module-11846"> 7851 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/venas-un-asinsvadi">VÄnas un asinsvadi</a> 7852 </li> 7853 <li class="module-11847"> 7854 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/sirds-veselibai">Sirds veselÄ«bai</a> 7855 </li> 7856 </ul> 7857 </li> 7858 <li> 7859 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/locitavam-un-kauliem" data-original-tabindex="" tabindex="-1"> 7860 LocÄ«tavÄm un kauliem </a> 7861 </li> 7862 <li> 7863 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/urinceliem" data-original-tabindex="" tabindex="-1"> 7864 UrÄ«nceļiem </a> 7865 </li> 7866 <li> 7867 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema" data-original-tabindex="" tabindex="-1"> 7868 GremoÅ¡anas sistÄma </a> 7869 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7870 <li class="module-11832"> 7871 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/probiotiki">ProbiotiÄ·i</a> 7872 </li> 7873 <li class="module-11831"> 7874 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/caureja">Caureja</a> 7875 </li> 7876 <li class="module-11837"> 7877 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/vedera-uzpusanas">VÄdera uzpūšanÄs</a> 7878 </li> 7879 <li class="module-11833"> 7880 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/vedera-kunga-darbibai">KunÄ£a skÄbe un zarnu trakts</a> 7881 </li> 7882 <li class="module-11835"> 7883 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/aknu-veseliba">Aknu veselÄ«ba</a> 7884 </li> 7885 <li class="module-11834"> 7886 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/slikta-dusa">Slikta dūša</a> 7887 </li> 7888 <li class="module-11836"> 7889 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/aizcietejumi">AizcietÄjumi</a> 7890 </li> 7891 </ul> 7892 </li> 7893 <li> 7894 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai" data-original-tabindex="" tabindex="-1"> 7895 SmadzeÅu darbÄ«bai un nervu sistÄmai </a> 7896 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7897 <li class="module-11823"> 7898 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai/atminai">AtmiÅai</a> 7899 </li> 7900 <li class="module-11822"> 7901 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai/miegam-un-nervu-sistemai">Miegam un nervu sistÄmai</a> 7902 </li> 7903 </ul> 7904 </li> 7905 <li> 7906 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa" data-original-tabindex="" tabindex="-1"> 7907 Sports un aktÄ«va atpÅ«ta </a> 7908 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7909 <li class="module-2213"> 7910 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/svara-kontrole">Svara kontrole</a> 7911 </li> 7912 <li class="module-2206"> 7913 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/sports">Sports</a> 7914 </li> 7915 <li class="module-2196"> 7916 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/energijai">EnerÄ£ijai</a> 7917 </li> 7918 </ul> 7919 </li> 7920 <li> 7921 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba" data-original-tabindex="" tabindex="-1"> 7922 Ausu un acu veselÄ«ba </a> 7923 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7924 <li class="module-11838"> 7925 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/vitamini-acim">VitamÄ«ni acÄ«m</a> 7926 </li> 7927 <li class="module-12990"> 7928 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/acu-ziedes-un-pilieni">Acu pilieni un ziedes</a> 7929 </li> 7930 <li class="module-11839"> 7931 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/ausu-veseliba">Ausu veselÄ«ba</a> 7932 </li> 7933 </ul> 7934 </li> 7935 <li> 7936 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/alergija" data-original-tabindex="" tabindex="-1"> 7937 AlerÄ£ija </a> 7938 </li> 7939 </ul> 7940 </li> 7941 <li class="bnuSubMenu__logos"> 7942 <div class="bnuSubMenu__logosItems"> 7943 <a class="bnuSubMenu__logo" href="e-aptieka/livsane" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7944 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-LIVSANE-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-LIVSANE-1676867515.png" ></picture> </a> 7945 <a class="bnuSubMenu__logo" href="zimoli/lyl" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7946 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-LYL-love-your-life-logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-LYL-love-your-life-logo-1676867515.png" ></picture> </a> 7947 <a class="bnuSubMenu__logo" href="zimoli/mollers" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7948 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-logo_test-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_br
7948ands-logo_test-1676867515.png" ></picture> </a> 7949 <a class="bnuSubMenu__logo" href="zimoli/walmark" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7950 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-walmark-logo-gatavs-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-walmark-logo-gatavs-1676867515.png" ></picture> </a> 7951 <a class="bnuSubMenu__logo" href="zimoli/nateo-d" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7952 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-eb13ddc1de1129d39978463971a95847-1676867515.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-eb13ddc1de1129d39978463971a95847-1676867515.jpg" ></picture> </a> 7953 <a class="bnuSubMenu__logo" href="zimoli/livol" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7954 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Livol-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Livol-1676867515.png" ></picture> </a> 7955 </div> 7956 </li> 7957 </ul> 7958 7959 7960 </li> 7961 <li class="module-14763 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/sportam"> 7962 <a href="https://www.benu.lv/e-aptieka/sportam" class="bnuMenuButton bnuMenuButton--child" style="anchor-name: --menu-item-7"><i class="fal fa-dumbbell" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">Sportam</span></a> 7963 <button type="button" class="bnuProductNav__subMenuToggle bind-subMenuToggle" aria-expanded="false" aria-controls="submenu-7" aria-haspopup="true" style="position-anchor: --menu-item-7;" aria-label="Open Sportam submenu"> 7964 <span class="screenReaderText"> 7965 Open Sportam submenu 7966 </span> 7967 </button> 7968 7969 7970 <ul data-lvl="1" id="submenu-7" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 7971 <li class="bnuSubMenu__columns"> 7972 <ul> 7973 <li> 7974 <a href="https://www.benu.lv/e-aptieka/sportam/proteini" data-original-tabindex="" tabindex="-1"> 7975 ProteÄ«ni </a> 7976 </li> 7977 <li> 7978 <a href="https://www.benu.lv/e-aptieka/sportam/proteina-batonini" data-original-tabindex="" tabindex="-1"> 7979 BatoniÅi un uzkodas </a> 7980 </li> 7981 <li> 7982 <a href="https://www.benu.lv/e-aptieka/sportam/dzerieni" data-original-tabindex="" tabindex="-1"> 7983 DzÄrieni </a> 7984 </li> 7985 <li> 7986 <a href="https://www.benu.lv/e-aptieka/sportam/svara-un-apetites-kontrole" data-original-tabindex="" tabindex="-1"> 7987 Svara un apetÄ«tes kontrole </a> 7988 </li> 7989 <li> 7990 <a href="https://www.benu.lv/e-aptieka/sportam/seikeri-un-pudeles" data-original-tabindex="" tabindex="-1"> 7991 Å eikeri un pudeles </a> 7992 </li> 7993 </ul> 7994 </li> 7995 <li class="bnuSubMenu__banners bnuSubMenu__banners--14763"></li> 7996 <li class="bnuSubMenu__logos"> 7997 <div class="bnuSubMenu__logosItems"> 7998 <a class="bnuSubMenu__logo" href="zimoli/vplab" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7999 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO-vplabpng-1695715134.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO-vplabpng-1695715134.png" ></picture> </a> 8000 <a class="bnuSubMenu__logo" href="zimoli/iconfit" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8001 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-2024-04-iconfit-logo-fullcolor-transp-background-rgb-1
8001714275560.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-2024-04-iconfit-logo-fullcolor-transp-background-rgb-1714275560.png" ></picture> </a> 8002 <a class="bnuSubMenu__logo" href="zimoli/isostar" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8003 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Isostar-1719308145.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Isostar-1719308145.png" ></picture> </a> 8004 <a class="bnuSubMenu__logo" href="zimoli/dion-sportlab" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8005 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-2024-07-images_2-1723178329.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-2024-07-images_2-1723178329.jpg" ></picture> </a> 8006 </div> 8007 </li> 8008 </ul> 8009 8010 8011 </li> 8012 <li class="module-2254 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/partika-un-tejas"> 8013 <a href="https://www.benu.lv/e-aptieka/partika-un-tejas" class="bnuMenuButton bnuMenuButton--child" style="anchor-name: --menu-item-8"><i class="fal fa-apple-alt" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">PÄrtika un tÄjas</span></a> 8014 <button type="button" class="bnuProductNav__subMenuToggle bind-subMenuToggle" aria-expanded="false" aria-controls="submenu-8" aria-haspopup="true" style="position-anchor: --menu-item-8;" aria-label="Open PÄrtika un tÄjas submenu"> 8015 <span class="screenReaderText"> 8016 Open PÄrtika un tÄjas submenu 8017 </span> 8018 </button> 8019 8020 8021 <ul data-lvl="1" id="submenu-8" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8022 <li class="bnuSubMenu__columns"> 8023 <ul> 8024 <li> 8025 <a href="https://www.benu.lv/e-aptieka/partika-un-tejas/veseliga-partika" data-original-tabindex="" tabindex="-1"> 8026 VeselÄ«ga pÄrtika </a> 8027 </li> 8028 <li> 8029 <a href="https://www.benu.lv/e-aptieka/partika-un-tejas/partika" data-original-tabindex="" tabindex="-1"> 8030 SpeciÄlÄ pÄrtika </a> 8031 </li> 8032 <li> 8033 <a href="https://www.benu.lv/e-aptieka/partika-un-tejas/tejas" data-original-tabindex="" tabindex="-1"> 8034 TÄjas </a> 8035 </li> 8036 </ul> 8037 </li> 8038 <li class="bnuSubMenu__banners bnuSubMenu__banners--2254"></li> 8039 <li class="bnuSubMenu__logos"> 8040 <div class="bnuSubMenu__logosItems"> 8041 <a class="bnuSubMenu__logo" href="zimoli/teresko" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8042 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO-download-1695715026.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO-download-1695715026.png" ></picture> </a> 8043 <a class="bnuSubMenu__logo" href="zimoli/vplab" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8044 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO-vplabpng-1695715134.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO-vplabpng-1695715134.png" ></picture> </a> 8045 <a class="bnuSubMenu__logo" href="rukisu-teja" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8046 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO-rukisuteja-logo-1695716954.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO-rukisuteja-logo-1695716954.png" ></picture> </a> 8047 <a class="bnuSubMenu__logo" href="nateja" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8048 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-2024-02-nateja_logo-01-1707363148.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-2024-02-nateja_logo-01-1707363148.png" ></picture> </a> 8049 <a class="bnuSubMenu__logo" href="meklet?search=yogi" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8050 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-2024-02-yogitea_red-1707363147.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-2024-02-yogitea_red-1707363147.png" ></picture> </a> 8051 </div> 8052 </li> 8053 </ul> 8054 8055 8056 </li> 8057 <li class="module-2159 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8057as-kopsana"> 8058 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana" class="bnuMenuButton bnuMenuButton--child" style="anchor-name: --menu-item-9"><i class="fal fa-tint" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">Skaistums un Ädas kopÅ¡ana</span></a> 8059 <button type="button" class="bnuProductNav__subMenuToggle bind-subMenuToggle" aria-expanded="false" aria-controls="submenu-9" aria-haspopup="true" style="position-anchor: --menu-item-9;" aria-label="Open Skaistums un Ädas kopÅ¡ana submenu"> 8060 <span class="screenReaderText"> 8061 Open Skaistums un Ädas kopÅ¡ana submenu 8062 </span> 8063 </button> 8064 8065 8066 <ul data-lvl="1" id="submenu-9" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8067 <li class="bnuSubMenu__columns"> 8068 <ul> 8069 <li> 8070 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8070as-kopsana/sejas-kopsana" data-original-tabindex="" tabindex="-1"> 8071 Sejas Ädas kopÅ¡ana </a> 8072 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8073 <li class="module-2172"> 8074 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/acu-kopsana">Acu kopÅ¡ana</a> 8075 </li> 8076 <li class="module-2174"> 8077 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/kremi">KrÄmi un serumi</a> 8078 </li> 8079 <li class="module-2173"> 8080 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8080as-kopsana/sejas-kopsana/mazgasana-un-attirisana">KosmÄtikas noÅemÅ¡ana un attÄ«rīšana</a> 8081 </li> 8082 <li class="module-2175"> 8083 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/maskas">Sejas kopÅ¡anas maskas</a> 8084 </li> 8085 <li class="module-2793"> 8086 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/spreji-un-adas-mitrinataji">Spreji un Ädas mitrinÄtÄji</a> 8087 </li> 8088 <li class="module-2176"> 8089 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8089as-kopsana/sejas-kopsana/lupu-kopsana">Lūpu kopšana</a> 8090 </li> 8091 </ul> 8092 </li> 8093 <li> 8094 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana" data-original-tabindex="" tabindex="-1"> 8095 Matu kopšana </a> 8096 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8097 <li class="module-2182"> 8098 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8098as-kopsana/matu-kopsana/sampuni">Šampūni</a> 8099 </li> 8100 <li class="module-2180"> 8101 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/balzami">Balzami</a> 8102 </li> 8103 <li class="module-2184"> 8104 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/intensivie-kopsanas-produkti-un-maskas">Intensīvie kopšanas produkti un maskas</a> 8105 </li> 8106 <li class="module-2183"> 8107 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8107as-kopsana/matu-kopsana/veidosanai">VeidoÅ¡anai</a> 8108 </li> 8109 <li class="module-14564"> 8110 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/matu-veidotaji">Matu veidotÄji</a> 8111 </li> 8112 <li class="module-14563"> 8113 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/aksesuari">AksesuÄri</a> 8114 </li> 8115 </ul> 8116 </li> 8117 <li> 8118 <a href="https://www.benu.lv/korejas-kosmetika" data-original-tabindex="" tabindex="-1"> 8119 Korejas kosmÄtika </a> 8120 </li> 8121 <li> 8122 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8122as-kopsana/dekorativa-kosmetika" data-original-tabindex="" tabindex="-1"> 8123 DekoratÄ«vÄ kosmÄtika </a> 8124 </li> 8125 <li> 8126 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana" data-original-tabindex="" tabindex="-1"> 8127 ĶermeÅa kopÅ¡ana </a> 8128 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8129 <li class="module-2161"> 8130 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8130as-kopsana/kermena-kopsana/mazgasana-un-attitisana">MazgÄÅ¡ana un attÄ«rīšana</a> 8131 </li> 8132 <li class="module-2162"> 8133 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/kremi-un-losjoni">KrÄmi un losjoni</a> 8134 </li> 8135 <li class="module-2168"> 8136 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/kermena-ellas">ĶermeÅa eļļas</a> 8137 </li> 8138 <li class="module-2163"> 8139 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8139as-kopsana/kermena-kopsana/dezodoranti">Dezodoranti</a> 8140 </li> 8141 <li class="module-2165"> 8142 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/eteriskas-ellas">ÄteriskÄs eļļas</a> 8143 </li> 8144 <li class="module-2167"> 8145 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/roku-un-nagu-kopsana">Roku un nagu kopÅ¡ana</a> 8146 </li> 8147 <li class="module-2166"> 8148 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8148as-kopsana/kermena-kopsana/kaju-kopsana">KÄju un pÄdu kopÅ¡ana</a> 8149 </li> 8150 <li class="module-2169"> 8151 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/pretcelulita">PretcelulÄ«ta</a> 8152 </li> 8153 </ul> 8154 </li> 8155 <li> 8156 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/saulosanas-kosmetika" data-original-tabindex="" tabindex="-1"> 8157 SauļoÅ¡anÄs kosmÄtika </a> 8158 </li> 8159 <li> 8160 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8160as-kopsana/psoriaze-ekzema-atopiskais-dermatits" data-original-tabindex="" tabindex="-1"> 8161 PsoriÄze, ekzÄma, atopiskais dermatÄ«ts </a> 8162 </li> 8163 </ul> 8164 </li> 8165 <li class="bnuSubMenu__banners bnuSubMenu__banners--2159"></li> 8166 <li class="bnuSubMenu__logos"> 8167 <div class="bnuSubMenu__logosItems"> 8168 <a class="bnuSubMenu__logo" href="zimoli/eucerin" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8169 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Eucerin_logo-svg-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Eucerin_logo-svg-1676867515.png" ></picture> </a> 8170 <a class="bnuSubMenu__logo" href="zimoli/vichy" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8171 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Vichy-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Vichy-1676867515.png" ></picture> </a> 8172 <a class="bnuSubMenu__logo" href="zimoli/la-roche-posay-1" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8173 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-2560px-La_Roche-Posay_(brand)-svg-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-2560px-La_Roche-Posay_(brand)-svg-1676867515.png" ></picture> </a> 8174 <a class="bnuSubMenu__logo" href="zimoli/avene" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8175 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Avene-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Avene-1676867515.png" ></picture> </a> 8176 <a class="bnuSubMenu__logo" href="zimoli/uriage" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8177 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Uriage-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Uriage-1676867515.png" ></picture> </a> 8178 <a class="bnuSubMenu__logo" href="zimoli/babe" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8179 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-babe-1676867515.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-babe-1676867515.jpg" ></picture> </a> 8180 </div> 8181 </li> 8182 </ul> 8183 8184 8185 </li> 8186 <li class="module-2228 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/higiena"> 8187 <a href="https://www.benu.lv/e-aptieka/higiena" class="bnuMenuButton bnuMenuButton--child" style="anchor-name: --menu-item-10"><i class="fal fa-pump-soap" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">HigiÄna</span></a> 8188 <button type="button" class="bnuProductNav__subMenuToggle bind-subMenuToggle" aria-expanded="false" aria-controls="submenu-10" aria-haspopup="true" style="position-anchor: --menu-item-10;" aria-label="Open HigiÄna submenu">
8189 <span class="screenReaderText"> 8190 Open HigiÄna submenu 8191 </span> 8192 </button> 8193 8194 8195 <ul data-lvl="1" id="submenu-10" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8196 <li class="bnuSubMenu__columns"> 8197 <ul> 8198 <li> 8199 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena" data-original-tabindex="" tabindex="-1"> 8200 Mutes higiÄna </a> 8201 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8202 <li class="module-2240"> 8203 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-pastas">Zobu pastas</a> 8204 </li> 8205 <li class="module-2239"> 8206 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-birstes">Zobu birstes</a> 8207 </li> 8208 <li class="module-2238"> 8209 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/skalosanas-lidzekli">Mutes skaloÅ¡anas lÄ«dzekļi</a> 8210 </li> 8211 <li class="module-2237"> 8212 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/protezu-kopsana">ProtÄžu kopÅ¡ana</a> 8213 </li> 8214 <li class="module-2236"> 8215 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-diegi-starpzobu-birstites">Zobu diegi, starpzobu birstÄ«tes</a> 8216 </li> 8217 <li class="module-2752"> 8218 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/berniem">Mutes higiÄna bÄrniem</a> 8219 </li> 8220 </ul> 8221 </li> 8222 <li> 8223 <a href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe" data-original-tabindex="" tabindex="-1"> 8224 Inkontinences aprÅ«pe </a> 8225 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8226 <li class="module-2696"> 8227 <a href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/biksites-autinbiksites">BiksÄ«tes, autiÅbiksÄ«tes</a> 8228 </li> 8229 <li class="module-2697"> 8230 <a href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/higieniskie-ieliktnisi">HigiÄniskie ieliktnīši</a> 8231 </li> 8232 <li class="module-2794"> 8233 <a href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/
8233paladzini">PaladziÅi</a> 8234 </li> 8235 <li class="module-2698"> 8236 <a href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/mazgasana-un-attirisana">MazgÄÅ¡ana un attÄ«rīšana</a> 8237 </li> 8238 </ul> 8239 </li> 8240 <li> 8241 <a href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi" data-original-tabindex="" tabindex="-1"> 8242 ĶermeÅa kopÅ¡anas piederumi </a> 8243 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8244 <li class="module-2230"> 8245 <a href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/vates-spilventini">Vates spilventiÅi</a> 8246 </li> 8247 <li class="module-2231"> 8248 <a href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/vates-kocini">Vates kociÅi</a> 8249 </li> 8250 <li class="module-2232"> 8251 <a href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/manikirs-un-pedikirs">ManikÄ«rs un pedikÄ«rs</a> 8252 </li> 8253 </ul> 8254 </li> 8255 <li> 8256 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena" data-original-tabindex="" tabindex="-1"> 8257 IntÄ«mÄ higiÄna </a> 8258 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8259 <li class="module-2242"> 8260 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/intimai-veselibai">IntÄ«mai veselÄ«bai</a> 8261 </li> 8262 <li class="module-2246"> 8263 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/intimas-higienas-lidzekli">IntÄ«mÄs higiÄnas lÄ«dzekļi</a> 8264 </li> 8265 <li class="module-2244"> 8266 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/paketes">Paketes</a> 8267 </li> 8268 <li class="module-2243"> 8269 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/ikdienas-ieliknisi">Ikdienas ieliknīši</a> 8270 </li> 8271 <li class="module-2245"> 8272 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/tamponi">Tamponi</a> 8273 </li> 8274 </ul> 8275 </li> 8276 </ul> 8277 </li> 8278 <li class="bnuSubMenu__banners bnuSubMenu__banners--2228"></li> 8279 <li class="bnuSubMenu__logos"> 8280 <div class="bnuSubMenu__logosItems"> 8281 <a class="bnuSubMenu__logo" href="zimoli/elmex" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8282 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Logo_ELMEX-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Logo_ELMEX-1676867515.png" ></picture> </a> 8283 <a class="bnuSubMenu__logo" href="zimoli/gum" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8284 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-cq5dam-thumbnail-670-530-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-cq5dam-thumbnail-670-530-1676867515.png" ></picture> </a> 8285 <a class="bnuSubMenu__logo" href="zimoli/oral-b" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8286 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-1200px-Oral-B_logo-svg-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-1200px-Oral-B_logo-svg-1676867515.png" ></picture> </a> 8287 <a class="bnuSubMenu__logo" href="zimoli/bella" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8288 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-bella-logo-png-transparent-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-bella-logo-png-transparent-1676867515.png" ></picture> </a> 8289 <a class="bnuSubMenu__logo" href="zimoli/tena" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8290 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-tena-vector-logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-tena-vector-logo-1676867515.png" ></picture> </a> 8291 <a class="bnuSubMenu__logo" href="zimoli/lactacyd" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8292 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-07b7bec009c2754e4a5ee3f1bcd653be-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-07b7bec009c2754e4a5ee3f1bcd653be-1676867515.png" ></picture> </a> 8293 </div> 8294 </li> 8295 </ul> 8296 8297 8298 </li> 8299 <li class="module-2214 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/maminam-un-berniem"> 8300 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem" class="bnuMenuButton bnuMenuButton--child" style="anchor-name: --menu-item-11"><i class="fal fa-baby-carriage" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">MÄmiÅÄm un bÄrniem</span></a> 8301 <button type="button" class="bnuProductNav__subMenuToggle bind-subMenuToggle" aria-expanded="false" aria-controls="submenu-11" aria-haspopup="true" style="position-anchor: --menu-item-11;" aria-label="Open MÄmiÅÄm un bÄrniem submenu">
8302 <span class="screenReaderText"> 8303 Open MÄmiÅÄm un bÄrniem submenu 8304 </span> 8305 </button> 8306 8307 8308 <ul data-lvl="1" id="submenu-11" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8309 <li class="bnuSubMenu__columns"> 8310 <ul> 8311 <li> 8312 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam" data-original-tabindex="" tabindex="-1"> 8313 GrÅ«tniecÄm un mÄmiÅÄm </a> 8314 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8315 <li class="module-2225"> 8316 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/kermena-kopsana">Pretstriju lÄ«dzekļi</a> 8317 </li> 8318 <li class="module-2226"> 8319 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/barosana-ar-kruti">BaroÅ¡ana ar krÅ«ti</a> 8320 </li> 8321 <li class="module-2704"> 8322 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/dzemdibu-komplekti">DzemdÄ«bu komplekti</a> 8323 </li> 8324 </ul> 8325 </li> 8326 <li> 8327 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji" data-original-tabindex="" tabindex="-1"> 8328 VitamÄ«ni un uztura bagÄtinÄtÄji bÄrniem, grÅ«tniecÄm </a> 8329 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8330 <li class="module-2746"> 8331 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji/vitamini-berniem">VitamÄ«ni bÄrniem</a> 8332 </li> 8333 <li class="module-11979"> 8334 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/grutniecem-un-maminam">GrÅ«tniecÄm un mÄmiÅÄm</a> 8335 </li> 8336 <li class="module-13245"> 8337 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji/zivju-ella-berniem">Zivju eļļa bÄrniem</a> 8338 </li> 8339 </ul> 8340 </li> 8341 <li> 8342 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem" data-original-tabindex="" tabindex="-1"> 8343 BÄrniem un zÄ«daiÅiem </a> 8344 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8345 <li class="module-2216"> 8346 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/pudelites-un-knupisi">PudelÄ«tes un knupīši</a> 8347 </li> 8348 <li class="module-2217"> 8349 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/maneklisi">MÄneklīši</a> 8350 </li> 8351 <li class="module-2221"> 8352 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/autinbiksites-mitras-salvetes">
8352AutiÅbiksÄ«tes, mitrÄs salvetes</a> 8353 </li> 8354 <li class="module-2220"> 8355 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/bernu-kosmetika">BÄrnu kosmÄtika un higiÄnas lÄ«dzekļi</a> 8356 </li> 8357 <li class="module-2218"> 8358 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/deguna-aspiratori-kermena-kopsanas-piederumi">Deguna aspiratori, Ä·ermeÅa kopÅ¡anas piederumi</a> 8359 </li> 8360 <li class="module-2219"> 8361 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/bernu-partika">BÄrnu pÄrtika</a> 8362 </li> 8363 </ul> 8364 </li> 8365 </ul> 8366 </li> 8367 <li class="bnuSubMenu__banners bnuSubMenu__banners--2214"></li> 8368 <li class="bnuSubMenu__logos"> 8369 <div class="bnuSubMenu__logosItems"> 8370 <a class="bnuSubMenu__logo" href="zimoli/bio-oil" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8371 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-8a56d175c30f558b8be378043b227f14-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-8a56d175c30f558b8be378043b227f14-1676867515.png" ></picture> </a> 8372 <a class="bnuSubMenu__logo" href="e-aptieka/maminam-un-berniem?vars/brand/babe" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8373 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-babe_1-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-babe_1-1676867515.png" ></picture> </a> 8374 <a class="bnuSubMenu__logo" href="zimoli/pampers" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8375 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Pampers_logo-svg-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Pampers_logo-svg-1676867515.png" ></picture> </a> 8376 <a class="bnuSubMenu__logo" href="zimoli/marsiesi" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8377 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Martians_LOT_blue-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Martians_LOT_blue-1676867515.png" ></picture> </a> 8378 <a class="bnuSubMenu__logo" href="zimoli/chicco" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8379 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Chicco_logo-svg-1676867842.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Chicco_logo-svg-1676867842.png" ></picture> </a> 8380 <a class="bnuSubMenu__logo" href="zimoli/mustela" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8381 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Mustela-Logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Mustela-Logo-1676867515.png" ></picture> </a> 8382 </div> 8383 </li> 8384 </ul> 8385 8386 8387 </li> 8388 <li class="module-2247 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/medicinas-preces"> 8389 <a href="https://www.benu.lv/e-aptieka/medicinas-preces" class="bnuMenuButton bnuMenuButton--child" style="anchor-name: --menu-item-12"><i class="far fa-stethoscope" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">MedicÄ«nas preces </span></a> 8390 <button type="button" class="bnuProductNav__subMenuToggle bind-subMenuToggle" aria-expanded="false" aria-controls="submenu-12" aria-haspopup="true" style="position-anchor: --menu-item-12;" aria-label="Open MedicÄ«nas preces submenu">
8391 <span class="screenReaderText"> 8392 Open MedicÄ«nas preces submenu 8393 </span> 8394 </button> 8395 8396 8397 <ul data-lvl="1" id="submenu-12" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8398 <li class="bnuSubMenu__columns"> 8399 <ul> 8400 <li> 8401 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika" data-original-tabindex="" tabindex="-1"> 8402 Diagnostika </a> 8403 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8404 <li class="module-2702"> 8405 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/glikometri-lancetes-un-teststremeles">Glikometri, lancetes un teststrÄmeles</a> 8406 </li> 8407 <li class="module-2701"> 8408 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/temperaturas-merisana">TemperatÅ«ras mÄrīšana</a> 8409 </li> 8410 <li class="module-2699"> 8411 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/inhalatori">Inhalatori</a> 8412 </li> 8413 <li class="module-2738"> 8414 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/analizu-konteineri">Analīžu konteineri</a> 8415 </li> 8416 <li class="module-2700"> 8417 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/asinspiediena-meritaji">Asinsspiediena mÄrÄ«tÄji</a> 8418 </li> 8419 <li class="module-13104"> 8420 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/pulsa-oksimetri">Pulsa oksimetri</a> 8421 </li> 8422 <li class="module-10864"> 8423 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/cits">Testi</a> 8424 </li> 8425 </ul> 8426 </li> 8427 <li> 8428 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana" data-original-tabindex="" tabindex="-1"> 8429 Ä¢imenes plÄnoÅ¡ana </a> 8430 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8431 <li class="module-2749"> 8432 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/grutniecibas-un-ovulacijas-testi">GrÅ«tniecÄ«bas un ovulÄcijas testi</a> 8433 </li> 8434 <li class="module-2750"> 8435 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/prezervativi">PrezervatÄ«vi</a> 8436 </li> 8437 <li class="module-2262"> 8438 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/lubrikanti">Lubrikanti</a> 8439 </li> 8440 </ul> 8441 </li> 8442 <li> 8443 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija" data-original-tabindex="" tabindex="-1"> 8444 OrtopÄdija </a> 8445 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8446 <li class="module-2755"> 8447 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija/elastigie-parseji">ElastÄ«gie pÄrsÄji un jostas</a> 8448 </li> 8449 <li class="module-2754"> 8450 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija/pedu-aprupei">PÄdu aprÅ«pei</a> 8451 </li> 8452 </ul> 8453 </li> 8454 <li> 8455 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces" data-original-tabindex="" tabindex="-1"> 8456 Optikas preces </a> 8457 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8458 <li class="module-2267"> 8459 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces/acu-pilieni">Acu pilieni</a> 8460 </li> 8461 <li class="module-2270"> 8462 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces/kontaktlecu-kopsana">KontaktlÄcas un šķīdumi</a> 8463 </li> 8464 </ul> 8465 </li> 8466 <li> 8467 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/ausu-veseliba" data-original-tabindex="" tabindex="-1"> 8468 Ausu pilieni </a> 8469 </li> 8470 <li> 8471 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/stomas-aprupes-produkti" data-original-tabindex="" tabindex="-1"> 8472 Stomas aprÅ«pes produkti </a> 8473 </li> 8474 </ul> 8475 </li> 8476 <li class="bnuSubMenu__banners bnuSubMenu__banners--2247"></li> 8477 <li class="bnuSubMenu__logos"> 8478 <div class="bnuSubMenu__logosItems"> 8479 <a class="bnuSubMenu__logo" href="zimoli/livsane" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8480 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-LIVSANE-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-LIVSANE-1676867515.png" ></picture> </a> 8481 <a class="bnuSubMenu__logo" href="zimoli/microlife" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8482 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Microlife-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Microlife-1676867515.png" ></picture> </a> 8483 <a class="bnuSubMenu__logo" href="zimoli/omron" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8484 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Omron-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Omron-1676867515.png" ></picture> </a> 8485 <a class="bnuSubMenu__logo" href="zimoli/durex" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8486 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Durex-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Durex-1676867515.png" ></picture> </a> 8487 <a class="bnuSubMenu__logo" href="zimoli/lauma" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8488 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Lauma-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Lauma-1676867515.png" ></picture> </a> 8489 <a class="bnuSubMenu__logo" href="zimoli/evolu" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8490 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Evolu-1676867515.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Evolu-1676867515.jpg" ></picture> </a> 8491 </div> 8492 </li> 8493 </ul> 8494 8495 8496 </li> 8497 <li class="module-2118 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/pirma-palidziba"> 8498 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba" class="bnuMenuButton bnuMenuButton--child" style="anchor-name: --menu-item-13"><i class="fal fa-band-aid" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">PirmÄ palÄ«dzÄ«ba</span></a> 8499 <button type="button" class="bnuProductNav__subMenuToggle bind-subMenuToggle" aria-expanded="false" aria-controls="submenu-13" aria-haspopup="true" style="position-anchor: --menu-item-13;" aria-label="Open PirmÄ palÄ«dzÄ«ba submenu">
8500 <span class="screenReaderText"> 8501 Open PirmÄ palÄ«dzÄ«ba submenu 8502 </span> 8503 </button> 8504 8505 8506 <ul data-lvl="1" id="submenu-13" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8507 <li class="bnuSubMenu__columns"> 8508 <ul> 8509 <li> 8510 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/plaksteri" data-original-tabindex="" tabindex="-1"> 8511 PlÄksteri </a> 8512 </li> 8513 <li> 8514 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/brucu-aprupe-un-dezinfekcijas-lidzekli" data-original-tabindex="" tabindex="-1"> 8515 BrÅ«Äu aprÅ«pe un dezinfekcijas lÄ«dzekļi </a> 8516 </li> 8517 <li> 8518 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/karpas-un-varzacis" data-original-tabindex="" tabindex="-1"> 8519 KÄrpas un varžacis </a> 8520 </li> 8521 <li> 8522 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/pretinsektu-lidzekli" data-original-tabindex="" tabindex="-1"> 8523 Pretinsektu lÄ«dzekļi </a> 8524 </li> 8525 <li> 8526 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/antiparazitarie-lidzekli" data-original-tabindex="" tabindex="-1"> 8527 Utis, gnÄ«das </a> 8528 </li> 8529 <li> 8530 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/senisu-infekcija" data-original-tabindex="" tabindex="-1"> 8531 SÄnīšu infekcija </a> 8532 </li> 8533 <li> 8534 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/maskas" data-original-tabindex="" tabindex="-1"> 8535 Maskas </a> 8536 </li> 8537 <li> 8538 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/vate-marles-un-parseji" data-original-tabindex="" tabindex="-1"> 8539 Vate, marles un pÄrsÄji </a> 8540 </li> 8541 <li> 8542 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/virsmu-dezinfekcija" data-original-tabindex="" tabindex="-1"> 8543 Dezinfekcijas lÄ«dzekļi </a> 8544 </li> 8545 <li> 8546 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/zalu-kastites-un-tablesu-dalitaji" data-original-tabindex="" tabindex="-1"> 8547 ZÄļu kastÄ«tes un tableÅ¡u dalÄ«tÄji </a> 8548 </li> 8549 <li> 8550 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/cimdi" data-original-tabindex="" tabindex="-1"> 8551 Cimdi </a> 8552 </li> 8553 <li> 8554 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/sildosie-atvesinosie-geli-un-kompreses" data-original-tabindex="" tabindex="-1"> 8555 PirmÄs palÄ«dzÄ«bas ziedes, geli, spreji </a> 8556 </li> 8557 <li> 8558 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/koka-spateles-joda-kocini" data-original-tabindex="" tabindex="-1"> 8559 Koka Å¡pÄteles, joda kociÅi </a> 8560 </li> 8561 <li> 8562 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/klizmas-znaugi" data-original-tabindex="" tabindex="-1"> 8563 Klizmas, žÅaugi, vaskadrÄnas, ausu aizbÄžÅi </a> 8564 </li> 8565 </ul> 8566 </li> 8567 <li class="bnuSubMenu__banners bnuSubMenu__banners--2118"></li> 8568 <li class="bnuSubMenu__logos"> 8569 <div class="bnuSubMenu__logosItems"> 8570 <a class="bnuSubMenu__logo" href="zimoli/medrull" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8571 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-medrull-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-medrull-1676867515.png" ></picture> </a> 8572 <a class="bnuSubMenu__logo" href="zimoli/compeed" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8573 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-compeed-logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-compeed-logo-1676867515.png" ></picture> </a> 8574 <a class="bnuSubMenu__logo" href="zimoli/urgo" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8575 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-URGO-1676867842.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-URGO-1676867842.jpg" ></picture> </a> 8576 <a class="bnuSubMenu__logo" href="zimoli/perskindol" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8577 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-perskindol-logo-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-perskindol-logo-1676867515.png" ></picture> </a> 8578 <a class="bnuSubMenu__logo" href="zimoli/tickless" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8579 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-Tickless_logo-2-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-Tickless_logo-2-1676867515.png" ></picture> </a> 8580 <a class="bnuSubMenu__logo" href="zimoli/larifan" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8581 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-LOGO_brands-larifan-1676867515.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="60" src="https://img.benu.lv/media/.thumb/.240x120-create-LOGO_brands-larifan-1676867515.png" ></picture> </a> 8582 </div> 8583 </li> 8584 </ul> 8585 8586 8587 </li> 8588 <li class="module-13087 lvl-2 menu_noChilds" data-lvl="2" target="_self" href="https://www.benu.lv/zimoli"> 8589 <a href="https://www.benu.lv/zimoli" class="bnuMenuButton bnuMenuButton--child" style="anchor-name: --menu-item-14"><i class="fal fa-font-case" aria-hidden="true"></i><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">
8589Visi zīmoli</span></a> 8590 8591 8592 </li> 8593 </ul> 8594
8595<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 8596 $(document).ready(function() { 8597 drawBanner('navbanners'); 8598 }); 8599</script>
8599 </nav> 8600 <nav class="bnuMainNav" aria-label="Main navigation"> 8601 <ul class="simpleMenu--jic5" data-lvl="1"> 8602 <li class="module-13488 lvl-1 menu_noChilds"> 8603 <a href="https://www.benu.lv/pakalpojumi-filiales/merijumi-un-parbaudes" class="bnuMenuButton"><span class="bnuMenuButton__text">MÄrÄ«jumi</span></a> 8604 </li> 8605 <li class="module-16067 lvl-1 menu_noChilds"> 8606 <a href="https://www.benu.lv/zalu-pieejamiba" class="bnuMenuButton bnuMenuButton--green"><i class="fal fa-prescription" aria-hidden="true"></i><span class="bnuMenuButton__text">ZÄļu pieejamÄ«ba</span></a> 8607 </li> 8608 <li class="module-12661 lvl-1 menu_noChilds"> 8609 <a href="https://www.benu.lv/pakalpojumi-filiales/zalu-piegade-majas" class="bnuMenuButton"><span class="bnuMenuButton__text">ZÄļu piegÄde</span></a> 8610 </li> 8611 <li class="module-11766 lvl-1 menu_noChilds"> 8612 <a href="https://www.benu.lv/benu-akademija" class="bnuMenuButton"><span class="bnuMenuButton__text">Blogs</span></a> 8613 </li> 8614 <li class="module-13352 lvl-1 menu_noChilds"> 8615 <a href="https://www.benu.lv/musu-aptiekas" class="bnuMenuButton bnuMenuButton--green"><i class="fal fa-clinic-medical" aria-hidden="true"></i><span class="bnuMenuButton__text">Aptiekas</span></a> 8616 </li> 8617 8618 <li> 8619 <a href="#" class="bnuMenuButton" style="anchor-name: --simpleMenu--jic5-item-1"><span class="bnuMenuButton__hoverHelper" aria-hidden="true" tabindex="-1"></span><span class="bnuMenuButton__text">VairÄk</span></a> <button class="bnuButton bnuButton--iconOnly bnuProductNav__subMenuToggle--child bind-subMenuToggle" aria-expanded="false" aria-controls="simpleMenu--jic5-submenu-1" aria-haspopup="true" style="position-anchor: --simpleMenu--jic5-item-1" aria-label="Open VairÄk submenu" type="button"></button> <ul id="simpleMenu--jic5-submenu-1" class="bnuSubMenu" aria-hidden="true"> 8620 <li style="display: none;"> 8621 <a href="https://www.benu.lv/pakalpojumi-filiales/merijumi-un-parbaudes" class="module- bnuMenuButton bnuMenuButton--child"> 8622 <span>MÄrÄ«jumi</span> 8623 </a> 8624 </li> 8625 <li style="display: none;"> 8626 <a href="https://www.benu.lv/zalu-pieejamiba" class="module- bnuMenuButton bnuMenuButton--child"> 8627 <span>ZÄļu pieejamÄ«ba</span> 8628 </a> 8629 </li> 8630 <li style="display: none;"> 8631 <a href="https://www.benu.lv/pakalpojumi-filiales/zalu-piegade-majas" class="module- bnuMenuButton bnuMenuButton--child"> 8632 <span>ZÄļu piegÄde</span> 8633 </a> 8634 </li> 8635 <li style="display: none;"> 8636 <a href="https://www.benu.lv/benu-akademija" class="module- bnuMenuButton bnuMenuButton--child"> 8637 <span>Blogs</span> 8638 </a> 8639 </li> 8640 <li style="display: none;"> 8641 <a href="https://www.benu.lv/musu-aptiekas" class="module- bnuMenuButton bnuMenuButton--child"> 8642 <span>Aptiekas</span> 8643 </a> 8644 </li> 8645 </ul> 8646 </li> 8647 8648 <li class="benuPlus"> 8649 <a href="https://www.benu.lv/benu-karte" class="bnuMenuButton bnuMenuButton--accent"> 8650 <img width="30" height="20" src="application/images/benu-card.svg" alt="Benu Plus">
8651 <span>BENU karte</span> 8652 </a> 8653 </li> </ul> 8654 </nav> 8655 </div> 8656 8657 </header> <!-- view template: full width --> 8658 <main id="content" role="main" class="bnuContainer bnuPageLayout"> 8659 8660 <header class="bnuPageHeader" style="margin-bottom: calc(var(--layout-spacing) * 2);"> 8661 <nav id="breadcrumbsWrap" class="bnuBreadcrumbs" aria-label="Breadcrumbs"><ul><li><a href="https://www.benu.lv/">SÄkums</a><i class="fa-regular fa-angle-right"></i></li><li>Pakalpojumi aptiekÄs</li></ul></nav>
8661<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=">var breadCrumbs = [{"title":"SÄkums","url":"https://www.benu.lv/"},{"title":"Pakalpojumi aptiekÄs","url":"https://www.benu.lv/pakalpojumi-filiales","active":true}];var countCrumbs = 2;var linkCurrent = 'false';var structuredData = {};structuredData['@context'] = 'https://schema.org/';structuredData['@type'] = 'BreadcrumbList';structuredData['itemListElement'] = [];$.each(breadCrumbs, function(index, b) {structuredData['itemListElement'][index] = {'@type': 'ListItem','position': (index + 1),'name': b['title'],};if ((index + 1) == countCrumbs) {if (linkCurrent) {structuredData['itemListElement'][index]['item'] = b['url'];}} else {structuredData['itemListElement'][index]['item'] = b['url'];}});structuredDataList.push(structuredData);var breadcrumbsWrap = document.getElementById('breadcrumbsWrap');setTimeout(function() {breadcrumbsWrap.scrollLeft = breadcrumbsWrap.scrollWidth;}, 0);</script>
8661 8662 </header> 8663 <div class="bnuChainWrap"> 8664 <div class="chainWrap fullWidth"> 8665 <div class="chainLink chainLink-10022 sOrder-1 block block-text cf cache-on" id="chainLink-10022"><div class="chainLink_inner"><div class="bnuTextBlock markedLinks"> 8666 <h2>Pakalpojumi BENU AptiekÄs</h2></div> 8667</div></div><div class="chainLink chainLink-15666 sOrder-2 block block-textColumns cf cache-on" id="chainLink-15666"><div class="chainLink_inner"><div 8668 class="bnuTextColumns " 8669 style="--bnuTextColumns-template: 1fr 1fr" 8670> 8671 <div class="bnuTextColumns__col"> 8672 <p><a href="https://www.benu.lv/pakalpojumi-filiales/zalu-izgatavosana"><picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.1140x1140-create-Pakalpojumu_lapa-Jauns_benu_pakalpojumi-LABOTS-01-1616938615.png"><img decoding="async" fetchpriority="high" width="570" height="274" src="https://img.benu.lv/media/.thumb/.1140x548-create-Pakalpojumu_lapa-Jauns_benu_pakalpojumi-LABOTS-01-1616938615.png" alt="ZÄļu izgatavoÅ¡ana" ></picture></a></p> </div> 8673 <div class="bnuTextColumns__col"> 8674 <p><a href="https://www.benu.lv/pakalpojumi-filiales/merijumi-un-parbaudes"><picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.1140x1140-create-Pakalpojumu_lapa-Jauns_benu_pakalpojumi-01-labots01-1616938615.png"><img loading="lazy" decoding="async" fetchpriority="low" width="570" height="273" src="https://img.benu.lv/media/.thumb/.1140x546-create-Pakalpojumu_lapa-Jauns_benu_pakalpojumi-01-labots01-1616938615.png" alt="MÄrÄ«jumi un pÄrbaudes" ></picture></a></p> </div> 8675 </div> 8676</div></div><div class="chainLink chainLink-15665 sOrder-3 block block-textColumns cf cache-on" id="chainLink-15665"><div class="chainLink_inner"><div 8677 class="bnuTextColumns " 8678 style="--bnuTextColumns-template: 1fr 1fr" 8679> 8680 <div class="bnuTextColumns__col"> 8681 <p><a href="https://www.benu.lv/medikamentu-atgadinajuma-programma"><picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.1140x1140-create-LV_Baneri-1000x480px__Offline_aptiekai_MED-1718606952.png"><img loading="lazy" decoding="async" fetchpriority="low" width="570" height="274" src="https://img.benu.lv/media/.thumb/.1140x548-create-LV_Baneri-1000x480px__Offline_aptiekai_MED-1718606952.png" alt="Medikamentu iegÄdes atgÄdinÄjumu programma" ></picture></a></p> </div> 8682 <div class="bnuTextColumns__col"> 8683 <p><a href="https://www.benu.lv/kliniska-farmaceita-konsultacijas-1"><picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.1140x1140-create-2025-570x360px__Offline_aptieku_komunikÄcija_benu-lv__1_-1763444632.png"><img loading="lazy" decoding="async" fetchpriority="low" width="570" height="274" src="https://img.benu.lv/media/.thumb/.1140x548-create-2025-570x360px__Offline_aptieku_komunikÄcija_benu-lv__1_-1763444632.png" alt="KlÄ«niskÄ farmaceita konsultÄcija" ></picture></a></p> </div> 8684 </div> 8685</div></div><div class="chainLink chainLink-15669 sOrder-5 block block-textColumns cf cache-on" id="chainLink-15669"><div class="chainLink_inner"><div 8686 class="bnuTextColumns " 8687 style="--bnuTextColumns-template: 1fr 1fr" 8688> 8689 <div class="bnuTextColumns__col"> 8690 <p><a href="https://www.benu.lv/pakalpojumi-filiales/nederigo-medikamentu-nodosana" title="Neder"><picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.1140x1140-create-PAKALPOJUMI-1000x480px__benu_pakalpojumi_1-1767084487.png"><img loading="lazy" decoding="async" fetchpriority="low" width="570" height="274" src="https://img.benu.lv/media/.thumb/.1140x548-create-PAKALPOJUMI-1000x480px__benu_pakalpojumi_1-1767084487.png" alt="NederÄ«go zÄļu utilizÄcija" ></picture></a></p> </div> 8691 <div class="bnuTextColumns__col"> 8692 <p><a href="https://www.benu.lv/pakalpojumi-filiales/benu-diennakts-aptieku-serviss"><picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.1140x1140-create-PAKALPOJUMI-1000x480px__benu_pakalpojumi_5-1767084495.png"><img loading="lazy" decoding="async" fetchpriority="low" width="570" height="274" src="https://img.benu.lv/media/.thumb/.1140x548-create-PAKALPOJUMI-1000x480px__benu_pakalpojumi_5-1767084495.png" alt="Diennakts aptieku serviss" ></picture></a></p> </div> 8693 </div> 8694</div></div><div class="chainLink chainLink-15667 sOrder-6 block block-textColumns cf cache-on" id="chainLink-15667"><div class="chainLink_inner"><div 8695 class="bnuTextColumns " 8696 style="--bnuTextColumns-template: 1fr 1fr" 8697> 8698 <div class="bnuTextColumns__col"> 8699 <p><a href="https://www.benu.lv/pakalpojumi-filiales/veterinarie-produkti"><picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.1140x1140-create-Pakalpojumu_lapa-Veterinarie_produkti-01-1616938615.png"><img loading="lazy" decoding="async" fetchpriority="low" width="570" height="275" src="https://img.benu.lv/media/.thumb/.1140x550-create-Pakalpojumu_lapa-Veterinarie_produkti-01-1616938615.png" alt="VeterinÄrie produkti" ></picture></a></p> </div> 8700 <div class="bnuTextColumns__col"> 8701 <p><a href="https://www.benu.lv/pakalpojumi-filiales/zalu-piegade-majas"><picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.1140x1140-create-LV_Baneri-1000x480px__benu_pakalpojumi_2-1681727035.png"><img loading="lazy" decoding="async" fetchpriority="low" width="570" height="274" src="https://img.benu.lv/media/.thumb/.1140x548-create-LV_Baneri-1000x480px__benu_pakalpojumi_2-1681727035.png" alt="ZÄļu piegÄde uz mÄjÄm" ></picture></a></p> </div> 8702 </div> 8703</div></div><div class="chainLink chainLink-15668 sOrder-7 block block-textColumns cf cache-on" id="chainLink-15668"><div class="chainLink_inner"><div 8704 class="bnuTextColumns " 8705 style="--bnuTextColumns-template: 1fr 1fr" 8706> 8707 <div class="bnuTextColumns__col"> 8708 <p><a href="https://www.benu.lv/insulina-injekciju-adatas"><picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.1140x1140-create-PAKALPOJUMI-1000x480px__Offline_aptiekai_7-1767084499.png"><img loading="lazy" decoding="async" fetchpriority="low" width="570" height="274" src="https://img.benu.lv/media/.thumb/.1140x548-create-PAKALPOJUMI-1000x480px__Offline_aptiekai_7-1767084499.png" alt="InsulÄ«na injekciju adatas" ></picture></a></p> </div> 8709 <div class="bnuTextColumns__col"> 8710 <p><a href="https://www.benu.lv/skaistuma-konsultacijas-aptiekas"><picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.1140x1140-create-LV_Baneri-1000x480px__skaistuma_konsultacijas_-1689146602.png"><img loading="lazy" decoding="async" fetchpriority="low" width="570" height="274" src="https://img.benu.lv/media/.thumb/.1140x548-create-LV_Baneri-1000x480px__skaistuma_konsultacijas_-1689146602.png" alt="Skaistuma konsultÄcijas aptiekÄs" ></picture></a></p> </div> 8711 </div> 8712</div></div> <div class="chain_newBlockPlaceholder"></div> 8713 </div> 8714</div> 8715 8716 8717 8718 8719 </main> 8720 8721 8722 <div class="bnuPromoBarSliderWrap bind-promoBarSliderWrap--bottom" role="region" aria-label="Promotion"> 8723 <button type="button" class="bnuPromoBarClose bnuPromoBar__close bind-sliderBanner-close promo-bar-close" data-wrap="bind-promoBarSliderWrap--bottom" data-position="bottom" aria-label="AizvÄrt"><i class="fa-regular fa-xmark" aria-hidden="true"></i></button><div class="bnuPromoBarSlider bnuPromoBarSlider--bottom "><ul class="bnuPromoBarSlider__track bind-sliderBanner--bottom"><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15576" href="https://www.benu.lv/zimolu-nedela-atlaides-lidz-50" data-promodata="{"ID":15576,"name":"202609 Z\u012bmolu ned\u0113\u013ca","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/15576/nedelas-ZiMOLSUB1224-x-196.jpg" alt="202609 ZÄ«molu nedÄļa"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15576" href="https://www.benu.lv/zimolu-nedela-atlaides-lidz-50" data-promodata="{"ID":15576,"name":"202609 Z\u012bmolu ned\u0113\u013ca","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/15576/nedelas-ZiMOLSUB1224-x-196.jpg" alt="202609 ZÄ«molu nedÄļa"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15576" href="https://www.benu.lv/zimolu-nedela-atlaides-lidz-50" data-promodata="{"ID":15576,"name":"202609 Z\u012bmolu ned\u0113\u013ca","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/15576/nedelas-ZiMOLSUB1224-x-196.jpg" alt="202609 ZÄ«molu nedÄļa"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15576" href="https://www.benu.lv/zimolu-nedela-atlaides-lidz-50" data-promodata="{"ID":15576,"name":"202609 Z\u012bmolu ned\u0113\u013ca","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/15576/nedelas-ZiMOLSUB1224-x-196.jpg" alt="202609 ZÄ«molu nedÄļa"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15576" href="https://www.benu.lv/zimolu-nedela-atlaides-lidz-50" data-promodata="{"ID":15576,"name":"202609 Z\u012bmolu ned\u0113\u013ca","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/15576/nedelas-ZiMOLSUB1224-x-196.jpg" alt="202609 ZÄ«molu nedÄļa"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15576" href="https://www.benu.lv/zimolu-nedela-atlaides-lidz-50" data-promodata="{"ID":15576,"name":"202609 Z\u012bmolu ned\u0113\u013ca","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/15576/nedelas-ZiMOLSUB1224-x-196.jpg" alt="202609 ZÄ«molu nedÄļa"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15576" href="https://www.benu.lv/zimolu-nedela-atlaides-lidz-50" data-promodata="{"ID":15576,"name":"202609 Z\u012bmolu ned\u0113\u013ca","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/15576/nedelas-ZiMOLSUB1224-x-196.jpg" alt="202609 ZÄ«molu nedÄļa"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15576" href="https://www.benu.lv/zimolu-nedela-atlaides-lidz-50" data-promodata="{"ID":15576,"name":"202609 Z\u012bmolu ned\u0113\u013ca","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/15576/nedelas-ZiMOLSUB1224-x-196.jpg" alt="202609 ZÄ«molu nedÄļa"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15576" href="https://www.benu.lv/zimolu-nedela-atlaides-lidz-50" data-promodata="{"ID":15576,"name":"202609 Z\u012bmolu ned\u0113\u013ca","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/15576/nedelas-ZiMOLSUB1224-x-196.jpg" alt="202609 ZÄ«molu nedÄļa"/></a></li><li class="bnuPromoBarSlider__slide"><a tabindex="-1" class="bannerLink" data-id="15576" href="https://www.benu.lv/zimolu-nedela-atlaides-lidz-50" data-promodata="{"ID":15576,"name":"202609 Z\u012bmolu ned\u0113\u013ca","type":"Slider banner"}"><img fetchpriority="high" src="media/BENUBannersLT/15576/nedelas-ZiMOLSUB1224-x-196.jpg" alt="202609 ZÄ«molu nedÄļa"/></a></li></ul></div> </div> 8724 8725 8726 <footer id="footer" class="bnuFooter cache-on"> 8727 <div class="bnuFooter__main"> 8728 <svg class="bnuFooter__lines" xmlns="http://www.w3.org/2000/svg" width="1600" height="35" fill="none" aria-hidden="true" focusable="false" viewBox="0 0 1600 35" preserveAspectRatio="xMinYMin meet">
8728<path d="M0 0h1557.5a2.5 2.5 0 1 1 0 5H0V0z" fill="#92d400"/><path d="M0 10h1567.5a2.5 2.5 0 1 1 0 5H0v-5z" fill="#002664"/><path d="M0 25h1587.5a2.5 2.5 0 1 1 0 5H0v-5z" fill="#58a618"/><path d="M0 18h1579a1 1 0 1 1 0 2H0v-2z" fill="#002664"/><path d="M0 33h1599a1 1 0 1 1 0 2H0v-2z" fill="#92d400"/></svg> 8729 <div class="bnuContainer"> 8730 <div class="bnuFooter__top"> 8731 <div class="bnuFooter__logoWrap"> 8732 <a href="https://www.benu.lv/" class="bnuLogo" aria-label="BENU.LV â e-Aptieka vienmÄr Tev blakus!"> 8733 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/application/images/benu-logo.svg"><img loading="lazy" decoding="async" fetchpriority="low" width="158" src="https://img.benu.lv/application/images/benu-logo.svg" alt="BENU.LV â e-Aptieka vienmÄr Tev blakus!" ></picture> </a> 8734 8735 <ul class="bnuFooter__contacts"> 8736 <li class="bnuFooter__contactsHelp"> 8737 VajadzÄ«ga palÄ«dzÄ«ba ? </li> 8738 <li> 8739 <a href="tel:+37125621621"> 8740 <i class="fa-light fa-phone" aria-hidden="true"></i> 8741 +37125621621 <span>I-V 9.00â17.00</span> 8742 </a> 8743 </li> 8744 <li> 8745 <a href="mailto:[email protected]"> 8746 <i class="fa-light fa-envelope-open" aria-hidden="true"></i> 8747 [email protected] </a> 8748 </li> 8749 </ul> 8750 8751 <div class="bnuFooter__loyaltyCards"> 8752 <a class="bnuFooter__loyaltyCard bnuFooter__loyaltyCard--benu" href="https://www.benu.lv/benu-karte"> 8753 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/application/images/benu-card.svg"><img loading="lazy" decoding="async" fetchpriority="low" src="https://img.benu.lv/application/images/benu-card.svg" alt="BENU karte" ></picture> BENU karte </a> 8754 </div> 8755 8756 <div class="bnuFooter__appIcons"> 8757 <a 8758 href="https://play.google.com/store/apps/details?id=lv.benu.app" 8759 title="LejupielÄdÄt no Google Play" 8760 target="_blank" 8761 rel="noopener noreferrer" 8762 class="hide-iosapp" 8763 > 8764 <img aria-hidden="true" src="application/images/google-play.png" alt="LejupielÄdÄt no Google Play"> 8765 </a> 8766 <a 8767 href="https://apps.apple.com/lv/app/benu-aptieka/id1363098220" 8768 title="LejupielÄdÄjiet no App Store" 8769 target="_blank" 8770 rel="noopener noreferrer" 8771 > 8772 <img src="application/images/app-store.png" alt="LejupielÄdÄjiet no App Store"> 8773 </a> 8774 </div> 8775 </div> 8776 8777 <div class="bnuFooter__menus"> 8778 <div class="block widget block-footerWidget widget-footerWidget1" id="widget-footerWidget1"> 8779 <div class="bnuFooterWidget bnuFooterWidget--menu"> 8780 <div class="bnuAccordion bnuAccordion--chevron bnuFooterWidget__accordion"><details class="bnuAccordion__item" aria-label="Par mums" open><summary class="bnuAccordion__summary"><h3 class="bnuAccordion__title">Par mums</h3><i class="bnuAccordion__chevron fa-regular fa-chevron-down" aria-hidden="true"></i></summary><div class="bnuAccordion__content"><ul data-lvl="1"> 8781 <li class="module-2301 lvl-1 menu_noChilds" data-lvl="1"> 8782 <a class="module-2301 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/par-benu">Par BENU</a> 8783 </li> 8784 <li class="module-2960 lvl-1 menu_noChilds" data-lvl="1"> 8785 <a class="module-2960 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/benu-akademija">Benu Blogs</a> 8786 </li> 8787 <li class="module-2963 lvl-1 menu_noChilds" data-lvl="1"> 8788 <a class="module-2963 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/aptiekas">Aptiekas</a> 8789 </li> 8790 </ul></div></details></div> </div> 8791 </div> <div class="block widget block-footerWidget widget-footerWidget2" id="widget-footerWidget2"> 8792 <div class="bnuFooterWidget bnuFooterWidget--menu"> 8793 <div class="bnuAccordion bnuAccordion--chevron bnuFooterWidget__accordion"><details class="bnuAccordion__item" aria-label="PalÄ«dzÄ«ba un informÄcija" open><summary class="bnuAccordion__summary"><h3 class="bnuAccordion__title">PalÄ«dzÄ«ba un informÄcija</h3><i class="bnuAccordion__chevron fa-regular fa-chevron-down" aria-hidden="true"></i></summary><div class="bnuAccordion__content"><ul data-lvl="1"> 8794 <li class="module-2305 lvl-1 menu_noChilds" data-lvl="1"> 8795 <a class="module-2305 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/kontakti">BENU Aptieka kontakti</a> 8796 </li> 8797 <li class="module-3015 lvl-1 menu_noChilds" data-lvl="1"> 8798 <a class="module-3015 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/piegade">PiegÄde</a> 8799 </li> 8800 <li class="module-2949 lvl-1 menu_noChilds" data-lvl="1"> 8801 <a class="module-2949 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/palidziba/biezak-uzdotie-jautajumi">BiežÄk uzdotie jautÄjumi</a> 8802 </li> 8803 <li class="module-2950 lvl-1 menu_noChilds" data-lvl="1"> 8804 <a class="module-2950 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/palidziba/ka-iepirkties">KÄ iepirkties</a> 8805 </li> 8806 </ul></div></details></div> </div> 8807 </div> <div class="block widget block-footerWidget widget-footerWidget3" id="widget-footerWidget3"> 8808 <div class="bnuFooterWidget bnuFooterWidget--menu"> 8809 <div class="bnuAccordion bnuAccordion--chevron bnuFooterWidget__accordion"><details class="bnuAccordion__item" aria-label="Noteikumi" open><summary class="bnuAccordion__summary"><h3 class="bnuAccordion__title">Noteikumi</h3><i class="bnuAccordion__chevron fa-regular fa-chevron-down" aria-hidden="true"></i></summary><div class="bnuAccordion__content"><ul data-lvl="1"> 8810 <li class="module-15382 lvl-1 menu_noChilds" data-lvl="1"> 8811 <a class="module-15382 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/lietosanas-noteikumi">LietoÅ¡anas noteikumi</a> 8812 </li> 8813 <li class="module-10728 lvl-1 menu_noChilds" data-lvl="1"> 8814 <a class="module-10728 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/iepirkumu-grozs?vars/action/productsReturn">Atteikuma tiesÄ«bu veidlapa</a> 8815 </li> 8816 <li class="module-2969 lvl-1 menu_noChilds" data-lvl="1"> 8817 <a class="module-2969 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/media/images/Atteikuma%20veidlapa/E_BENU%20priv%C4%81tuma%20politika_26-06-2026.pdf">PrivÄtuma politika</a> 8818 </li> 8819 <li class="module-3052 lvl-1 menu_noChilds" data-lvl="1"> 8820 <a class="module-3052 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/sikfailu-politika">SÄ«kfailu politika</a> 8821 </li> 8822 <li class="module-13987 lvl-1 menu_noChilds" data-lvl="1"> 8823 <a class="module-13987 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/videonoverosanas-politika">VideonovÄroÅ¡anas politika</a> 8824 </li> 8825 <li class="module-15415 lvl-1 menu_noChilds" data-lvl="1"> 8826 <a class="module-15415 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/pieklustamibas-pazinojums-android">PiekļūstamÄ«bas paziÅojums (Android)</a> 8827 </li> 8828 <li class="module-15417 lvl-1 menu_noChilds" data-lvl="1"> 8829 <a class="module-15417 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/pieklustamibas-pazinojums-ios">PiekļūstamÄ«bas paziÅojums (iOS)</a> 8830 </li> 8831 <li class="module-16065 lvl-1 menu_noChilds" data-lvl="1"> 8832 <a class="module-16065 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/recepsu-noteikumi">RecepÅ¡u zÄļu pieejamÄ«bas pÄrbaudes un rezervÄcijas noteikumi</a> 8833 </li> 8834 </ul></div></details></div> </div> 8835 </div> <div class="block widget block-footerWidget widget-footerWidget4" id="widget-footerWidget4"> 8836 <div class="bnuFooterWidget bnuFooterWidget--menu"> 8837 <div class="bnuAccordion bnuAccordion--chevron bnuFooterWidget__accordion"><details class="bnuAccordion__item" aria-label="LojalitÄtes programma" open><summary class="bnuAccordion__summary"><h3 class="bnuAccordion__title">LojalitÄtes programma</h3><i class="bnuAccordion__chevron fa-regular fa-chevron-down" aria-hidden="true"></i></summary><div class="bnuAccordion__content"><ul data-lvl="1"> 8838 <li class="module-14346 lvl-1 menu_noChilds" data-lvl="1"> 8839 <a class="module-14346 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/benu-karte">BENU karte</a> 8840 </li> 8841 <li class="module-14343 lvl-1 menu_noChilds" data-lvl="1"> 8842 <a class="module-14343 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/senioru-prieksrocibas">Senioru priekÅ¡rocÄ«bas</a> 8843 </li> 8844 <li class="module-14344 lvl-1 menu_noChilds" data-lvl="1"> 8845 <a class="module-14344 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/benu-karte/ipasas-prieksrocibas">ĪpaÅ¡Äs priekÅ¡rocÄ«bas</a> 8846 </li> 8847 <li class="module-14345 lvl-1 menu_noChilds" data-lvl="1"> 8848 <a class="module-14345 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/benu-aplikacija">BENU lietotne</a> 8849 </li> 8850 <li class="module-14342 lvl-1 menu_noChilds" data-lvl="1"> 8851 <a class="module-14342 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/media/images/LK/BENU%20Aptieka%20LK%20noteikumi%2015-05-2025.pdf">BENU lojalitÄtes programmas noteikumi</a> 8852 </li> 8853 </ul></div></details></div> </div> 8854 </div> </div> 8855 </div> 8856 </div> 8857 </div> 8858 8859 <hr> 8860 8861 <div class="bnuContainer"> 8862 <div class="bnuFooter__body"> 8863 <div class="bnuFooter__middlePrimary"> 8864 <div class="block widget block-footerWidget widget-footerWidget5" id="widget-footerWidget5"> 8865 <div class="bnuFooterWidget bnuFooterWidget--newsletter"> 8866 <h3>Piesakies un esi pirmais, kas uzzina BENU jaunumus!</h3> 8867 <form class="newsletter" novalidate> 8868 <div class="bnuFooterWidget__newsletterInputs"> 8869 <div class="bnuInputWrap bnuInputWrap--floatingLabel"><input class="bnuInput" type="email" id="input-id-6ab51613b95b3" name="newsletterEmail" value="" placeholder=" " required="required" aria-label="Pieteikties"><label class="bnuInputWrap__label" for="input-id-6ab51613b95b3"><span class="bnuInputWrap__labelText">Mans e-pasts</span><span class="bnuInputWrap__mandatory">*</span></label></div><button class="bnuButton bnuButton--iconOnly" tabindex="-1" title="Pieteikties" aria-label="Pieteikties" type="submit"><i class="fa-regular fa-arrow-right" aria-hidden="true"></i></button> </div> 8870 <div class="bnuChoiceWrap privacyPolicy"><label class="bnuChoiceWrap__label" for="privacyPolicy"><input type="checkbox" class="bnuChoice" value="1" id="privacyPolicy" name="privacyPolicy" required="required"><span class="bnuChoiceWrap__labelText">JÄ, es vÄlos saÅemt ziÅas par BENU Aptiekas jaunumiem un Ä«paÅ¡iem piedÄvÄjumiem, izmantojot e-pastu un SMS . Esmu informÄts (-a), ka jaunumu un Ä«paÅ¡u piedÄvÄjumu nosÅ«tīšanas nolÅ«kÄ tiek apstrÄdÄti mani personas dati (vÄrds, uzvÄrds, dzimÅ¡anas datums, vecums, kontaktinformÄcija, pirkuma vÄstures dati, kas var liecinÄt par veselÄ«bas datiem Sniegto piekriÅ¡anu var atsaukt jebkurÄ brÄ«dÄ«, nosÅ«tot attiecÄ«gu paziÅojumu uz BENU e-pasta adresi <a target="_blank" href="mailto:[email protected]"> [email protected] </a> vai arÄ« iesniedzot rakstisku iesniegumu tuvÄkajÄ BENU AptiekÄ. VairÄk par personu datu apstrÄdi varat uzzinÄt <a target="_blank" href="https://www.benu.lv/media/images/BENU%20priv%C4%81tuma%20politika_07-04-2025.pdf ">PrivÄtuma politikÄ. </a> </span><span class="bnuInputWrap__mandatory">*</span></label></div> </form> 8871 <div class="sendmsgsuccess"> 8872 <p>Esam nosÅ«tÄ«juÅ¡I saiti uz norÄdÄ«to e-pastu, lai apstiprinÄtu pierakstīšanos, noklikšķiniet uz tÄs. Paldies!</p> 8873 </div> 8874 </div> 8875
8875<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 8876 $(document).ready(function() { 8877 var mandatoryError = "\u0160is ir oblig\u0101ti aizpild\u0101mais lauks."; 8878 8879 $(document).on('focus', '.newsletter .bnuInput', function() { 8880 $(this).closest('.newsletter').find('.privacyPolicy').show(); 8881 }); 8882 8883 $(document).on('submit', '.newsletter', async function(e) { 8884 e.preventDefault(); 8885 var $form = $(this); 8886 clearFormErrors($form); 8887 8888 var formData = {}; 8889 formData['email'] = $form.find('input[type="email"]').val(); 8890 formData['policy'] = $form.find('input#privacyPolicy').prop('checked'); 8891 8892 var errors = {}; 8893 if (!formData['email']) { 8894 errors['newsletterEmail'] = mandatoryError; 8895 } 8896 if (!formData['policy']) { 8897 errors['privacyPolicy'] = mandatoryError; 8898 } 8899 if (!$.isEmptyObject(errors)) { 8900 handleFormCallback({ return: { errors: errors } }, { form: $form }); 8901 return false; 8902 } 8903 8904 let captchaToken = ''; 8905 try { 8906 captchaToken = await generateCaptchaToken('newsletterFooter'); 8907 } catch (error) { 8908 return; 8909 } 8910 8911 var data = {}; 8912 data['methodName'] = 'BENUsubscribeNewsletter'; 8913 data['args'] = { 8914 'formName': 'Newsletter', 8915 'data': formData, 8916 'captchaToken': captchaToken 8917 }; 8918 ajaxHelper( 8919 data, 8920 function(callback) { 8921 if (callback.return && !callback.return.error) { 8922 $('.footer__widget--newsletter').remove(); 8923 $('.block-footerWidget .sendmsgsuccess').html('<p>Esam nosÅ«tÄ«juÅ¡I saiti uz norÄdÄ«to e-pastu, lai apstiprinÄtu pierakstīšanos, noklikšķiniet uz tÄs. Paldies!</p>'); 8924 $('.block-footerWidget .sendmsgsuccess').addClass('active'); 8925 } else if (!callback.return.error) { 8926 $('.footer__widget--newsletter').remove(); 8927 $('.block-footerWidget .sendmsgsuccess').html('<p>JÅ«s jau esat pierakstÄ«jies jaunumiem.</p>'); 8928 $('.block-footerWidget .sendmsgsuccess').addClass('active'); 8929 } else if (callback.return.error) { 8930 $form.after(callback.return.error); 8931 } 8932 }, 8933 'POST' 8934 ); 8935 }); 8936 }); 8937 </script>
8937 8938</div> </div> 8939 8940 <div class="bnuFooter__disclaimer"> 8941 <div class="bnuFooter__captchaDisclaimer"> 8942 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/application/images/google_recaptcha-icon.svg"><img loading="lazy" decoding="async" fetchpriority="low" src="https://img.benu.lv/application/images/google_recaptcha-icon.svg" alt="Google reCAPTCHA" ></picture> <span> 8943 Å o vietni aizsargÄ âreCAPTCHAâ, un uz to attiecas âGoogleâ <a href="https://policies.google.com/privacy?hl=lv">privÄtuma politika</a> un <a href="https://policies.google.com/terms?hl=lv">pakalpojumu sniegÅ¡anas noteikumi</a>. </span> 8944 </div> 8945 </div> 8946 8947 <div class="bnuFooter__social"> 8948 <h3>Seko mums</h3> 8949 <ul><li><a href="https://www.facebook.com/BENUAptieka/" class="bnuButton bnuButton--secondary bnuButton--iconOnly bnuFooter__socialLink" target="_blank" rel="noopener noreferrer" aria-label="Facebook"><i class="fa-brands fa-facebook-f" aria-hidden="true"></i></a></li><li><a href="https://www.youtube.com/channel/UClC7biL_2Qy-59XdHMO7WCA" class="bnuButton bnuButton--secondary bnuButton--iconOnly bnuFooter__socialLink" target="_blank" rel="noopener noreferrer" aria-label="Youtube"><i class="fa-brands fa-youtube" aria-hidden="true"></i></a></li><li><a href="https://www.linkedin.com/company/benu-pharmacy-baltics" class="bnuButton bnuButton--secondary bnuButton--iconOnly bnuFooter__socialLink" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn"><i class="fa-brands fa-linkedin-in" aria-hidden="true"></i></a></li><li><a href="https://www.tiktok.com/@benu.aptieka" class="bnuButton bnuButton--secondary bnuButton--iconOnly bnuFooter__socialLink" target="_blank" rel="noopener noreferrer" aria-label="TikTok"><i class="fa-brands fa-tiktok" aria-hidden="true"></i></a></li></ul> 8950 </div> 8951 8952 <div class="bnuFooter__extras"> 8953 <div class="bnuFooter__extrasPrimary"> 8954 <div class="block widget block-footerWidget widget-footerWidget6" id="widget-footerWidget6"> 8955 <div class="bnuFooterWidget bnuFooterWidget--text"> 8956 <p></p> 8957<table border="1" style="border-collapse: collapse; width: 100%;"> 8958<tbody> 8959<tr class="splitMobileFooterWidgets"> 8960<td style="width: 50%;"> 8961<h3>BENU Aptieka Latvija, SIA</h3> 8962<p>JuridiskÄ adrese / FaktiskÄ adrese:<br />Noliktavu iela 5, DreiliÅi, StopiÅu novads, LV-2130</p> 8963<p>ReÄ£istrÄcijas Nr.: 40003252167</p> 8964<div id="gtx-trans" style="position: absolute; left: 138px; top: 35.4375px;"> 8965<div class="gtx-trans-icon"> </div> 8966</div> 8967</td> 8968<td style="width: 25%;"> 8969<h3>Licence</h3> 8970<p><strong>Licences numurs:</strong> <a href="https://www.benu.lv/media/images/Sertifik%C4%81ti/BENU-48_e_lic_A00010%202025.pdf" target="_blank" rel="noopener">A00010</a></p> 8971<p><a href="https://benu-lv.tamro.lt/benu-48"><strong>Aptiekas kontakti: </strong></a>67 597 438</p> 8972<p><strong>Aptiekas vadÄ«tÄja:</strong> </p> 8973<p>SertificÄta farmaceite: Jeļena GonÄarova</p> 8974<p>ReÄ£istrÄcijas Nr.: F-0834</p> 8975<p>SertifikÄta Nr.: 215.2025</p> 8976<div id="gtx-trans" style="position: absolute; left: 138px; top: 35.4375px;"> 8977<div class="gtx-trans-icon"></div> 8978</div> 8979</td> 8980<td style="width: 25%;"> 8981<h3>Kontakti</h3> 8982<p><b>BENU Aptieka 48</b></p> 8983<p>TÄlr.: 67597438</p> 8984<p>E-pasts: [email protected]</p> 8985<p>Adrese: <a href="https://www.google.com/maps/place/Stirnu+iela+39,+Vidzemes+priek%C5%A1pils%C4%93ta,+R%C4%ABga,+LV-1084,+Latvia/@56.9607203,24.1850277,17z/data=!3m1!4b1!4m6!3m5!1s0x46eece68d34cf9b9:0x9b524c42e8a4920a!8m2!3d56.9607174!4d24.1876026!16s%2Fg%2F11qm6gsz74?entry=ttu&g_ep=EgoyMDI2MDcyOC4wIKXMDSoASAFQAw%3D%3D">Stirnu iela 39. RÄ«ga </a></p> 8986<p>Darba laiks: P.-Pk. 9:00 - 17:00</p> 8987</td> 8988</tr> 8989</tbody> 8990</table> 8991<div class="bnFlagsHolder"></div> </div> 8992</div> <div class="block widget block-footerWidget widget-footerWidget9" id="widget-footerWidget9"> 8993 <div class="bnuFooterWidget bnuFooterWidget--eshops"> 8994 <a href="https://www.benu.lv/" target="_blank" rel="noopener noreferrer"> 8995 <img src="https://www.benu.lv/media/images/flagIcons/lv.png" alt="ApmeklÄjiet benu.lv"> 8996 </a> 8997 <a href="https://www.benu.lt/" target="_blank" rel="noopener noreferrer"> 8998 <img src="https://www.benu.lv/media/images/flagIcons/lt.png" alt="ApmeklÄjiet benu.lt"> 8999 </a> 9000 <a href="https://www.benu.ee/" target="_blank" rel="noopener noreferrer"> 9001 <img src="https://www.benu.lv/media/images/flagIcons/ee.png" alt="ApmeklÄjiet benu.ee"> 9002 </a> 9003 <a href="https://www.benu.cz/" target="_blank" rel="noopener noreferrer"> 9004 <img src="https://www.benu.lv/media/images/flagIcons/cz.png" alt="ApmeklÄjiet benu.cz"> 9005 </a> 9006 <a href="https://www.benu.ch/" target="_blank" rel="noopener noreferrer"> 9007 <img src="https://www.benu.lv/media/images/flagIcons/ch.png" alt="ApmeklÄjiet benu.ch"> 9008 </a> 9009 <a href="https://benu.bg/" target="_blank" rel="noopener noreferrer"> 9010 <img src="https://www.benu.lv/media/images/flagIcons/bg.png" alt="ApmeklÄjiet benu.bg"> 9011 </a> 9012 <a href="https://www.benulekaren.sk/" target="_blank" rel="noopener noreferrer"> 9013 <img src="https://www.benu.lv/media/images/flagIcons/sk.png" alt="ApmeklÄjiet benu.sk"> 9014 </a> 9015 <a href="https://www.benu.hu/" target="_blank" rel="noopener noreferrer"> 9016 <img src="https://www.benu.lv/media/images/flagIcons/hu.png" alt="ApmeklÄjiet benu.hu"> 9017 </a> 9018 <a href="https://www.benu.nl/" target="_blank" rel="noopener noreferrer"> 9019 <img src="https://www.benu.lv/media/images/flagIcons/nl.png" alt="ApmeklÄjiet benu.nl"> 9020 </a> 9021 <a href="https://www.benu.rs/" target="_blank" rel="noopener noreferrer"> 9022 <img src="https://www.benu.lv/media/images/flagIcons/rs.png" alt="ApmeklÄjiet benu.rs"> 9023 </a> 9024 </div> 9025 </div> </div> 9026 <div class="bnuFooter__extrasSecondary"> 9027 <div class="block widget block-footerWidget widget-footerWidget7" id="widget-footerWidget7"> 9028 <div class="bnuFooterWidget bnuFooterWidget--certificates"> 9029 <div class="bnuFooterWidget__certificatesLayout"> 9030 <div class="bnuFooterWidget__certificatesContent"> 9031 <table border="1" style="border-collapse: collapse; width: 100%;"> 9032<tbody> 9033<tr> 9034<td style="width: 50%;"> 9035<h3>ZÄļu valsts aÄ£entÅ«ra</h3> 9036<p class="mobile-hide"><a href="https://www.zva.gov.lv/">www.zva.gov.lv</a> </p> 9037<p class="mobile-hide">
9037Jersikas iela 15, RÄ«ga</p> 9038<p class="mobile-hide">TÄlr: 67 078 424</p> 9039<p class="mobile-hide">E-pasts: [email protected]</p> 9040</td> 9041<td style="width: 50%;"> 9042<h3><span>VeselÄ«bas inspekcija</span></h3> 9043<p class="mobile-hide"><a href="http://www.vi.gov.lv"><span>www.vi.gov.lv</span></a></p> 9044<p class="mobile-hide"><span>KlijÄnu iela 7, RÄ«ga</span></p> 9045<p class="mobile-hide"><span>TÄlr: 67081600</span></p> 9046<p class="mobile-hide"><span>E-pasts: [email protected]</span></p> 9047</td> 9048</tr> 9049</tbody> 9050</table> </div> 9051 9052 <div class="bnuFooterWidget__certificatesImages"> 9053 <a tabindex="-1" target="_blank" rel="noopener noreferrer" href="https://www.zva.gov.lv/lv/pacientiem-un-sabiedribai/zales/zalu-iegade/tiessaistes-aptiekas" aria-label=""> 9054 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-SertifikÄti-LogoSancoInternet_LV_B-336-1617270934.png"><img loading="lazy" decoding="async" fetchpriority="low" width="120" height="280" src="https://img.benu.lv/media/.thumb/.240x240-create-SertifikÄti-LogoSancoInternet_LV_B-336-1617270934.png" ></picture> </a> 9055 </div> 9056 </div> 9057 </div> 9058</div> </div> 9059 </div> 9060 9061 <div class="bnuFooter__bottom"> 9062 <div class="bnuFooter__info"> 9063 <span>© 2026 <a href="https://www.benu.lv/">BENU.LV</a>. Visas tiesÄ«bas aizsargÄtas.</span> 9064 <span>Lapa atjauninÄta: 24.09.2026.</span> 9065 </div> 9066 <div class="bnuFooter__bottomLogos"> 9067 <div class="block widget block-footerWidget widget-footerWidget8" id="widget-footerWidget8"> 9068 <div class="bnuFooterWidget bnuFooterWidget--logos"> 9069 <a target="_blank" rel="noopener noreferrer" href="https://www.salidzini.lv/" aria-label="Logo"> 9070 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.220x65-create-images-salidzini-1701384480.png"><img loading="lazy" decoding="async" fetchpriority="low" width="220" height="65" src="https://img.benu.lv/media/.thumb/.220x65-create-images-salidzini-1701384480.png" alt="Logo" ></picture> </a> 9071 <a target="_blank" rel="noopener noreferrer" href="https://www.kurpirkt.lv/" aria-label="Logo"> 9072 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.100x22-create-images-kurpirkt-1701384480.png"><img loading="lazy" decoding="async" fetchpriority="low" width="100" height="22" src="https://img.benu.lv/media/.thumb/.100x22-create-images-kurpirkt-1701384480.png" alt="Logo" ></picture> </a> 9073 </div> 9074</div> </div> 9075 </div> 9076 </div> 9077 </div> 9078 </footer> 9079 9080 9081<dialog id="oldBrowser" class="bnuDialog bnuOldBrowserDialog bnuDialog--small" data-dialog-backdrop-close="true" data-dialog-lock-scroll="true" aria-labelledby="oldBrowser-title" aria-describedby="oldBrowser-body"><form method="dialog" data-dialog-close><button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly" value="close" aria-label="Close dialog" type="submit"><i class="fa-regular fa-xmark" aria-hidden="true"></i></button></form><header> 9082 <h2 id="oldBrowser-title">PÄrlÅ«kprogramma ir jÄatjaunina</h2> 9083</header> 9084<section id="oldBrowser-body"> 9085 <p>IzskatÄs, ka JÅ«s, iespÄjams, izmantojiet tÄ«mekļa pÄrlÅ«ka versiju, kuru mÄs neatbalstÄm, vai arÄ« tÄ ir jÄatjaunina. PÄrliecinieties, vai izmantojiet jaunÄko pÄrlÅ«kprogrammas versiju, vai arÄ« izmÄÄ£iniet kÄdu no Å¡iem atbalstÄ«tajiem pÄrlÅ«kiem, lai iegÅ«tu pilnÄ«gu pieredzi.</p> 9086 <div class="bnuOldBrowserDialog__browsers"> 9087 <a 9088 href="https://www.mozilla.org/" 9089 target="_blank" 9090 rel="noopener noreferrer" 9091 title="Firefox" 9092 > 9093 <img 9094 loading="lazy" 9095 class="bnuOldBrowserDialog__logo" 9096 src="application/images/firefox_logo.svg" 9097 alt="Firefox" 9098 width="50" 9099 height="50" 9100 > 9101 </a> 9102 <a 9103 href="https://www.opera.com/" 9104 target="_blank" 9105 rel="noopener noreferrer" 9106 title="Opera" 9107 > 9108 <img 9109 loading="lazy" 9110 class="bnuOldBrowserDialog__logo bnuOldBrowserDialog__logo--opera" 9111 src="application/images/opera_logo.svg" 9112 alt="Opera" 9113 width="50" 9114 height="50" 9115 > 9116 </a> 9117 <a 9118 href="https://www.google.com/chrome/" 9119 target="_blank" 9120 rel="noopener noreferrer" 9121 title="Chrome" 9122 > 9123 <img 9124 loading="lazy" 9125 class="bnuOldBrowserDialog__logo" 9126 src="application/images/chrome_logo.svg" 9127 alt="Chrome" 9128 width="50" 9129 height="50" 9130 > 9131 </a> 9132 <a 9133 href="https://www.microsoft.com/edge/" 9134 target="_blank" 9135 rel="noopener noreferrer" 9136 title="Edge" 9137 > 9138 <img 9139 loading="lazy" 9140 class="bnuOldBrowserDialog__logo" 9141 src="application/images/edge_logo.svg" 9142 alt="Edge" 9143 width="50" 9144 height="50" 9145 > 9146 </a> 9147 <a 9148 href="https://www.apple.com/safari/" 9149 target="_blank" 9150 rel="noopener noreferrer" 9151 title="Safari" 9152 > 9153 <img 9154 loading="lazy" 9155 class="bnuOldBrowserDialog__logo" 9156 src="application/images/safari_logo.svg" 9157 alt="Safari" 9158 width="50" 9159 height="50" 9160 > 9161 </a> 9162 </div> 9163</section> 9164<footer> 9165 <form method="dialog"> 9166 <button class="bnuButton bnuButton--secondaryLight" value="continue" type="submit"><span>TurpinÄt tik un tÄ</span></button> </form> 9167</footer> 9168</dialog>
9168<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" type="text/plain" data-cookieconsent="statistics"> 9169 function formatNBORequest(items, interactionType, opts) { 9170 var position = ''; 9171 TrackerPlugin.log({ 9172 'action': 'formatNBORequest', 9173 'interactionType': interactionType, 9174 'items': items, 9175 'opts': opts 9176 }); 9177 9178 if (interactionType == 'bought') { 9179 items.push({ 9180 'documentNumberList': opts['documentNumberList'], 9181 'interactionTypeList': interactionType, 9182 }); 9183 } else if (interactionType == 'viewed' && opts != undefined) { 9184 items.push({ 9185 'interactionTypeList': interactionType, 9186 'data-recommendation-id': opts['data-recommendation-id'] 9187 }); 9188 9189 if (items['data-recommendation-id'] == '') { 9190 items.push({ 9191 'data-recommendation-id': function() { 9192 var targetData = $('.productData_wrap-' + items[0]['id'] + ' .promoProduct').data(); 9193 if (targetData != null) { 9194 var _tempData = targetData; 9195 return _tempData['recommendationId']; 9196 } 9197 if (typeof window.bnuReadProductRecommendation === 'function') { 9198 var stored = window.bnuReadProductRecommendation(); 9199 if (stored && stored.id) { 9200 return stored.id; 9201 } 9202 } 9203 let isPromoLinkExist = (location.search.split('recommendationID' + '=')[1] || '').split('&')[0]; 9204 if (isPromoLinkExist != null) { 9205 return isPromoLinkExist; 9206 } 9207 return false; 9208 }() 9209 }); 9210 } 9211 } else { 9212 items.push({ 9213 'interactionTypeList': interactionType, 9214 'data-recommendation-id': function() { 9215 var targetData = $('.productData_wrap-' + items[0]['id'] + ' .promoProduct').data(); 9216 if (targetData != null) { 9217 var _tempData = targetData; 9218 return _tempData['recommendationId']; 9219 } 9220 if (typeof window.bnuReadProductRecommendation === 'function') { 9221 var stored = window.bnuReadProductRecommendation(); 9222 if (stored && stored.id) { 9223 return stored.id; 9224 } 9225 } 9226 let isPromoLinkExist = (location.search.split('recommendationID' + '=')[1] || '').split('&')[0]; 9227 if (isPromoLinkExist != null) { 9228 return isPromoLinkExist; 9229 } 9230 return false; 9231 }() 9232 }); 9233 } 9234 9235 var data = {}; 9236 data['args'] = {}; 9237 data['args']['data'] = items; 9238 9239 if (opts && opts['positionList']) { 9240 data['args']['additionalData'] = { 9241 'positionList': opts['positionList'] 9242 }; 9243 } 9244 9245 data['className'] = 'NBOTracker'; 9246 data['methodName'] = 'formatNBORequest'; 9247 9248 ajaxHelper( 9249 data, 9250 function(callback) {}, 9251 'POST' 9252 ); 9253 } 9254 9255 function formatBuyerData(orderData) { 9256 var buyerData = { 9257 'email': orderData['email'], 9258 'phone_number': orderData['phone'], 9259 'first_name': orderData['firstName'], 9260 'last_name': orderData['lastName'], 9261 'street': orderData['address'], 9262 'city': orderData['city'], 9263 } 9264 const postCode = orderData?.postCode || ''; 9265 if (postCode.includes('-')) { 9266 buyerData['postal_code'] = postCode.split('-')[1] || postCode;
9267 } else { 9268 buyerData['postal_code'] = postCode; 9269 } 9270 switch (intuero.appName) { 9271 case 'benu-eshop-lt': 9272 buyerData['country'] = 'LT'; 9273 break; 9274 case 'benu-eshop-ee': 9275 buyerData['country'] = 'EE'; 9276 break; 9277 case 'benu-eshop-lv': 9278 buyerData['country'] = 'LV'; 9279 break; 9280 } 9281 return buyerData; 9282 } 9283 9284 // Tikrinam ar prekÄ atkeliavo iÅ¡ krepÅ¡elio promotion 9285 $(document).ready(function() { 9286 trackerOptions = { 9287 'promoSource': 'recommendationSource', 9288 } 9289 promotionData = []; 9290 var promoSource = ''; 9291 if (typeof window.bnuReadProductRecommendation === 'function') { 9292 var storedRecommendation = window.bnuReadProductRecommendation(); 9293 if (storedRecommendation && storedRecommendation.source) { 9294 promoSource = storedRecommendation.source; 9295 } 9296 } 9297 if (!promoSource) { 9298 var results = new RegExp('[\?&]' + trackerOptions['promoSource'] + '=([^&#]*)').exec(window.location.href); 9299 if (results != null) { 9300 promoSource = decodeURI(results[1]) || ''; 9301 } 9302 } 9303 if (promoSource == 'you_might_like') { 9304 promotionData.push({ 9305 'id': product['ID'] 9306 }); 9307 formatNBORequest(promotionData, 'clicked'); 9308 } 9309 }); 9310 9311 function formatGItemData(productData) { 9312 if (typeof productData == 'undefined') { 9313 return false; 9314 } 9315 var item = {}; 9316 if (typeof productData['ID'] != 'undefined') { 9317 item['item_id'] = String(productData['ID']); 9318 } 9319 if (typeof productData['name'] != 'undefined') { 9320 item['item_name'] = productData['name']; 9321 } 9322 if (typeof productData['category'] != 'undefined') { 9323 item['item_category'] = productData['category']; 9324 } 9325 if (typeof productData['bltCatThirdLvl'] != 'undefined') { 9326 item['item_list_name'] = productData['bltCatThirdLvl']; 9327 item['item_list_id'] = productData['bltCatThirdLvl']; 9328 } 9329 if (typeof productData['item_list_name'] != 'undefined') { 9330 item['item_list_name'] = productData['item_list_name']; 9331 item['item_list_id'] = productData['item_list_name']; 9332 } 9333 if (typeof productData['realPr'] != 'undefined') { 9334 if (typeof productData['realPr']['bltCatThirdLvl'] != 'undefined') { 9335 item['item_list_name'] = productData['realPr']['bltCatThirdLvl']; 9336 item['item_list_id'] = productData['realPr']['bltCatThirdLvl']; 9337 } 9338 9339 if (typeof productData['realPr']['lastLuigisUrl'] != 'undefined') { 9340 item['lbx_id'] = productData['realPr']['lastLuigisUrl']; 9341 } 9342 } 9343 if (typeof productData['brandText'] != 'undefined') { 9344 if (productData['brandText']) { 9345 item['item_brand'] = productData['brandText']; 9346 } 9347 } 9348 if (typeof productData['price'] != 'undefined') { 9349 item['price'] = Number(productData['price']); 9350 } 9351 if (typeof productData['qnt'] != 'undefined') { 9352 item['quantity'] = Number(productData['qnt']); 9353 } 9354 if (typeof productData['qntInCart'] != 'undefined') { 9355 item['quantity'] = Number(productData['qntInCart']); 9356 } 9357 if (typeof productData['discountReason'] != 'undefined') { 9358 item['coupon'] = productData['discountReason']; 9359 } 9360 if (typeof productData['discountAmount'] != 'undefined') { 9361 item['discountAmount'] = productData['discountAmount']; 9362 } 9363 if (typeof productData['discountPercent'] != 'undefined') { 9364 item['discountPercent'] = productData['discountPercent']; 9365 } 9366 if (typeof productData['prescriptionNo'] != 'undefined') { 9367 item['prescriptionNo'] = productData['prescriptionNo']; 9368 } 9369 if (typeof productData['drugType'] != 'undefined') { 9370 item['drugType'] = productData['drugType']; 9371 if (productData['drugType'] == 'RX' || productData['drugType'] == 'OTC') { 9372 item['item_list_name'] = productData['drugType']; 9373 item['item_brand'] = productData['drugType']; 9374 item['item_category'] = productData['drugType']; 9375 item['item_name'] = productData['drugType']; 9376 item['item_category'] = productData['drugType']; 9377 item['item_list_id'] = productData['drugType']; 9378 } 9379 } 9380 if (typeof productData['chatID'] != 'undefined') { 9381 item['chatID'] = productData['chatID']; 9382 } 9383 if (typeof productData['_trackerDimensions'] != 'undefined') { 9384 if (typeof productData['_trackerDimensions'] == 'object') { 9385 $.each(productData['_trackerDimensions'], function(index, value) { 9386 item['dimension' + index] = value; 9387 }); 9388 } 9389 } 9390 if (typeof productData['_trackerMetrics'] != 'undefined') { 9391 if (typeof productData['_trackerMetrics'] == 'object') { 9392 $.each(productData['_trackerMetrics'], function(index, value) { 9393 item['metric' + index] = value; 9394 }); 9395 } 9396 } 9397 9398 return item; 9399 } 9400 9401 function formatPromotionData(promotionData) { 9402 var item = {}; 9403 9404 if (typeof promotionData['ID'] != 'undefined') { 9405 item['id'] = promotionData['ID']; 9406 item['promotion_id'] = promotionData['ID']; 9407 } 9408 9409 if (typeof promotionData['name'] != 'undefined') { 9410 item['name'] = promotionData['name']; 9411 item['promotion_name'] = promotionData['name']; 9412 } 9413 9414 if (typeof promotionData['type'] != 'undefined') { 9415 item['creative_slot'] = promotionData['type']; 9416 } 9417 9418 if (typeof promotionData['creative_name'] != 'undefined') { 9419 item['creative_name'] = promotionData['creative_name']; 9420 } 9421 9422 return item; 9423 } 9424 9425 function eshopEvent_productImpression(productsList, sendToNbo = true, position = '') { 9426 TrackerPlugin.logHeader('eshopEvent_productImpression', position || undefined); 9427 var uniqueProducts = []; 9428 var eventID = TrackerPlugin.generateUniqueID('Impression'); 9429 $.each(productsList, function(index, entry) { 9430 if (!eshopEvent_duplicateProducts[entry.ID]) { 9431 eshopEvent_duplicateProducts[entry.ID] = true; 9432 uniqueProducts.push(entry); 9433 } 9434 }); 9435 if ($.isEmptyObject(uniqueProducts)) { 9436 return false 9437 } 9438 9439 gItems = []; 9440 var productIDs = []; 9441 var positionList = ''; 9442 $.each(uniqueProducts, function(index, productData) { 9443 gItems.push(formatGItemData(productData)); 9444 if (productData['ID']) { 9445 productIDs.push(productData['ID']); 9446 } 9447 if (!position) { 9448 position = productData['positionList']; 9449 } 9450 }); 9451 9452 TrackerPlugin.gtm({ 9453 event: 'view_item_list', 9454 event_id: eventID, 9455 ecommerce: { 9456 item_list_id: position, 9457 item_list_name: position, 9458 items: [gItems] 9459 } 9460 }); 9461 9462 if (sendToNbo == true) { 9463 var recommendationIdList = []; 9464 var options = []; 9465 9466 $.each(uniqueProducts, function(index, entry) { 9467 if (entry['recommendationId']) { 9468 recommendationIdList.push(entry['recommendationId']); 9469 } 9470 }); 9471 9472 options['data-recommendation-id'] = recommendationIdList; 9473 9474 if (position) { 9475 options['positionList'] = position; 9476 } 9477 formatNBORequest(gItems, 'viewed', options); 9478 } 9479 9480 9481 } 9482 9483 function eshopEvent_addProductToCart(productData) { 9484 TrackerPlugin.log('eshopEvent_addProductToCart'); 9485 9486 if (!productData['ID']) { 9487 return false;
9488 } 9489 9490 productData['qnt'] = productData['addedQnt']; 9491 var eventID = TrackerPlugin.generateUniqueID(productData['ID']); 9492 9493 9494 9495 gItemData = formatGItemData(productData); 9496 9497 TrackerPlugin.gtm({ 9498 event: 'add_to_cart', 9499 event_id: eventID, 9500 ecommerce: { 9501 currency: 'EUR', 9502 value: Number(gItemData?.price || 0) * Number(gItemData?.quantity || 0).toFixed(2), 9503 items: [gItemData] 9504 } 9505 }); 9506 9507 9508 formatNBORequest([gItemData], 'basketed'); 9509 } 9510 9511 function eshopEvent_removeProductFromCart(callbackData) { 9512 TrackerPlugin.log('eshopEvent_removeProductFromCart'); 9513 9514 gItemData = formatGItemData(callbackData); 9515 9516 TrackerPlugin.gtm({ 9517 event: 'remove_from_cart', 9518 ecommerce: { 9519 currency: 'EUR', 9520 value: Number(gItemData?.price || 0) * Number(gItemData?.quantity || 0).toFixed(2), 9521 items: [gItemData] 9522 } 9523 }); 9524 9525 9526 } 9527 9528 function eshopEvent_addProductToWishlist(callbackData) { 9529 TrackerPlugin.log('eshopEvent_addProductToWishlist'); 9530 9531 gItemData = formatGItemData(callbackData); 9532 9533 TrackerPlugin.gtm({ 9534 event: 'add_to_wishlist', 9535 ecommerce: { 9536 currency: 'EUR', 9537 items: [gItemData] 9538 } 9539 }); 9540 9541 9542 } 9543 9544 function eshopEvent_checkout(callbackData) { 9545 TrackerPlugin.log('eshopEvent_checkout'); 9546 9547 var orderData = { 9548 'items': [], 9549 'non_interaction': true, 9550 'currency': 'EUR', 9551 'value': callbackData['orderData']['total'], 9552 }; 9553 var eventID = TrackerPlugin.generateUniqueID(''); 9554 var gaItems = []; 9555 var manualCoupons = []; 9556 9557 $.each(callbackData['productData'], function(index, productData) { 9558 if (productData['manualVoucher']) { 9559 manualCoupons.push(productData['manualVoucher']); 9560 } 9561 var gItemData = formatGItemData(productData); 9562 orderData['items'].push(gItemData); 9563 }); 9564 if (manualCoupons.length > 0) { 9565 orderData['coupon'] = manualCoupons.join(', '); 9566 } 9567 if (typeof callbackData['orderData']['couponCodeUsed'] != 'undefined') { 9568 orderData['coupon'] = callbackData['orderData']['couponCodeUsed']; 9569 } 9570 orderData['event_id'] = eventID; 9571 9572 9573 9574 TrackerPlugin.gtm({ 9575 event: 'begin_checkout', 9576 event_id: eventID, 9577 ecommerce: { 9578 currency: 'EUR', 9579 value: orderData['value'], 9580 coupon: orderData['coupon'], 9581 items: orderData['items'] 9582 } 9583 }); 9584 9585 } 9586 9587 function eshopEvent_orderSuccess(orderData) { 9588 TrackerPlugin.log('eshopEvent_orderSuccess'); 9589 9590 if (typeof orderData['cartData'] != 'undefined') { 9591 if (typeof orderData['cartData'] != 'undefined') { 9592 var eventID = TrackerPlugin.generateUniqueID('', orderData['orderNo'] + '_'); 9593 TrackerPlugin.log("orderData['cartData'] â"); 9594 TrackerPlugin.log(orderData['cartData']); 9595 var productIDs = []; 9596 var productsSum = 0; 9597 $.each(orderData['cartData']['products'], function(prID, productData) { 9598 if (productData['ID']) { 9599 productIDs.push(productData['ID']); 9600 productsSum += productData['subtotal']; 9601 } 9602 }); 9603 9604 var gaItems = []; 9605 var manualCoupons = []; 9606 var buyerData = formatBuyerData(orderData); 9607 9608 $.each(orderData['cartData']['products'], function(prID, productData) { 9609 gaItems.push(formatGItemData(productData)); 9610 if (productData['manualVoucher']) { 9611 manualCoupons.push(productData['manualVoucher']); 9612 } 9613 }); 9614 9615 9616 9617 var gtagData = { 9618 'enhanced_conversion_data': buyerData, 9619 'transaction_id': orderData['orderNo'], 9620 'affiliation': "benu-eshop-lv", 9621 'value': Number(orderData['cartData']['total']), 9622 'currency': "EUR", 9623 'shipping': Number(orderData['cartData']['options']['delivery']['price']), 9624 'productIDs': productIDs,
9625 'items': gaItems, 9626 'non_interaction': true, 9627 'event_id': eventID 9628 } 9629 9630 var gItems = []; 9631 var manualCoupons = []; 9632 9633 $.each(orderData['cartData']['products'], function(prID, productData) { 9634 gItems.push(formatGItemData(productData)); 9635 if (productData['manualVoucher']) { 9636 manualCoupons.push(productData['manualVoucher']); 9637 } 9638 }); 9639 9640 TrackerPlugin.gtm({ 9641 event: 'purchase', 9642 event_id: eventID, 9643 customer: { 9644 email: orderData['email'], 9645 phone: orderData['phone'] 9646 }, 9647 ecommerce: { 9648 transaction_id: orderData['orderNo'], 9649 value: Number(orderData['cartData']['total']), 9650 currency: 'EUR', 9651 shipping: Number(orderData['cartData']['options']['delivery']['price']), 9652 items: gItems 9653 } 9654 }); 9655 9656 9657 if (typeof gaItems != 'undefined') { 9658 formatNBORequest( 9659 gaItems, 9660 'bought', { 9661 'documentNumberList': [orderData['orderNo']] 9662 } 9663 ); 9664 } 9665 9666 } else { 9667 TrackerPlugin.log('missing cartData.products'); 9668 } 9669 } else { 9670 TrackerPlugin.log('missing cartData'); 9671 } 9672 } 9673 9674 function eshopEvent_promotionImpression(promotionsList) { 9675 TrackerPlugin.log('eshopEvent_promotionImpression'); 9676 9677 if ($.isEmptyObject(promotionsList)) { 9678 return false; 9679 } 9680 var uniquePromotions = []; 9681 var updateBanners = []; 9682 var updateCampaigns = []; 9683 var gItems = []; 9684 $.each(promotionsList, function(index, entry) { 9685 if (!$.isEmptyObject(entry) && typeof entry.ID != 'undefined') { 9686 if (!eshopEvent_duplicatePromotions[entry.ID]) { 9687 eshopEvent_duplicatePromotions[entry.ID] = true; 9688 if (entry?.ID?.toString().indexOf('campaign-') !== -1) { 9689 uniquePromotions.push(entry); 9690 entry.ID = entry?.ID?.toString().replace('campaign-', '') || entry?.ID || ''; 9691 updateCampaigns.push(entry.ID); 9692 } else { 9693 uniquePromotions.push(entry); 9694 if ($.isNumeric(entry.ID)) { 9695 updateBanners.push(entry); 9696 } 9697 } 9698 } 9699 } 9700 }); 9701 9702 if (uniquePromotions.length <= 0) { 9703 return false; 9704 } 9705 9706 if (updateBanners.length > 0) { 9707 //update show count 9708 var data = {}; 9709 data['args'] = {}; 9710 data['args']["banners"] = updateBanners; 9711 data['className'] = 'Banners'; 9712 data['methodName'] = 'updateBanners'; 9713 ajaxHelper( 9714 data, 9715 function(callback) { 9716 // if (callback.return.success) { 9717 9718 // } 9719 }, 'POST' 9720 ); 9721 } 9722 if (updateCampaigns.length > 0) { 9723 //update show count 9724 var data = {}; 9725 data['args'] = {}; 9726 data['args']["campaigns"] = updateCampaigns; 9727 data['args']["type"] = 'shows'; 9728 data['className'] = 'BENUCampaigns'; 9729 data['methodName'] = 'updateCampaigns'; 9730 ajaxHelper( 9731 data, 9732 function(callback) { 9733 9734 }, 'POST' 9735 ); 9736 } 9737 9738 $.each(uniquePromotions, function(index, promotionData) { 9739 if (promotionData['sendItemsOneByOne']) { 9740 sendOneByOne = true; 9741 if (promotionData['products'] != 'undefined') { 9742 $.each(promotionData['products'], function(index, prData) { 9743 gItems.push(formatGItemData(prData)); 9744 }); 9745 } 9746 } 9747 }); 9748 9749 $.each(uniquePromotions, function(index, promotionData) { 9750 if (typeof promotionData['promotion_id'] == 'undefined') { 9751 promotionData['promotion_id'] = promotionData['ID']; 9752 promotionData['creative_name'] = promotionData['name']; 9753 } 9754 TrackerPlugin.gtm({ 9755 event: 'view_promotion', 9756 event_id: TrackerPlugin.generateUniqueID('', promotionData['promotion_id'] + '_'), 9757 ecommerce: { 9758 promotion_id: promotionData['promotion_id'], 9759 promotion_name: promotionData['creative_name'], 9760 } 9761 }); 9762 }); 9763 9764 9765 } 9766 9767 function eshopEvent_promotionClick(promotionData) { 9768 TrackerPlugin.log('eshopEvent_promotionClick'); 9769 9770 if (!promotionData) { 9771 return false;
9772 } 9773 if (!promotionData['ID']) { 9774 return false; 9775 } 9776 9777 gItemData = formatPromotionData(promotionData); 9778 9779 var sendOneByOne = false; 9780 9781 gItemData = formatPromotionData(promotionData); 9782 9783 if (typeof promotionData['promotion_id'] == 'undefined') { 9784 promotionData['promotion_id'] = promotionData['ID']; 9785 promotionData['creative_name'] = promotionData['name']; 9786 } 9787 9788 TrackerPlugin.gtm({ 9789 event: 'select_promotion', 9790 event_id: TrackerPlugin.generateUniqueID('', promotionData['promotion_id'] + '_'), 9791 ecommerce: { 9792 promotion_id: promotionData['promotion_id'], 9793 promotion_name: promotionData['creative_name'], 9794 } 9795 }); 9796 9797 9798 } 9799 9800 function eshopEvent_searchResults(searchTerm, gaItems) { 9801 TrackerPlugin.log('eshopEvent_searchResults'); 9802 9803 if (!searchTerm) { 9804 return false; 9805 } 9806 9807 // if (typeof gtag != 'undefined') { 9808 // gtag('event', 'view_search_results', { 9809 // 'search_term': searchTerm, 9810 // 'items': gaItems, 9811 // }); 9812 // TrackerPlugin.log('eshopEvent_searchResults'); 9813 // } 9814 } 9815 9816 function eshopEvent_benuShowCart() { 9817 TrackerPlugin.log('eshopEvent_benuShowCart'); 9818 9819 var $lines = $('.bnuCartTable__row, .cartTable__productRow') 9820 var gItems = []; 9821 var fbItems = []; 9822 var tempItem = []; 9823 $.each($lines, function(ind, line) { 9824 d = $(line).data('impression'); 9825 if (typeof d != 'undefined') { 9826 tempItem = formatGItemData(d); 9827 fbItems.push(tempItem['id']); 9828 gItems.push(tempItem); 9829 } 9830 }); 9831 9832 if (gItems.length > 0) { 9833 TrackerPlugin.gtm({ 9834 event: 'BASKET', 9835 event_id: TrackerPlugin.generateUniqueID('', 'BASKET_'), 9836 ecommerce: { 9837 currency: 'EUR', 9838 items: gItems 9839 } 9840 }); 9841 9842 9843 } else { 9844 TrackerPlugin.log('no items found'); 9845 } 9846 9847 } 9848 9849 function eshopEvent_viewCategory(categoryName, gaItems) { 9850 TrackerPlugin.log('eshopEvent_viewCategory'); 9851 9852 if (!categoryName) { 9853 return false; 9854 } 9855 TrackerPlugin.gtm({ 9856 event: 'view_category_page', 9857 content: { 9858 id: 10021, 9859 type: categoryName 9860 } 9861 }); 9862 9863 } 9864 9865 function eshopEvent_viewBoughtTogether(productData) { 9866 TrackerPlugin.log('eshopEvent_viewBoughtTogether'); 9867 9868 var nboData = { 9869 'data-recommendation-id': productData['recommendationId'], 9870 'positionList': 'boughtTogether', 9871 } 9872 var gItem = formatGItemData(productData); 9873 formatNBORequest([gItem], 'viewed', nboData); 9874 } 9875 9876 function eshopEvent_viewProductDetails(productData) { 9877 TrackerPlugin.logHeader('eshopEvent_viewProductDetails'); 9878 9879 if (!productData['ID']) { 9880 return false; 9881 } 9882 9883 var eventID = TrackerPlugin.generateUniqueID(productData['ID']); 9884 9885 9886 gItemData = formatGItemData(productData); 9887 9888 TrackerPlugin.gtm({ 9889 event: 'view_item', 9890 event_id: eventID, 9891 ecommerce: { 9892 currency: 'EUR', 9893 items: [gItemData] 9894 } 9895 }); 9896 9897 } 9898 9899 9900 $(document).ready(function() { 9901 if (typeof eshopEvent_productImpression == 'function' && !$.isEmptyObject(eshopEvent_visibleProducts)) { 9902 eshopEvent_productImpression(eshopEvent_visibleProducts); 9903 } 9904 9905 9906 }); 9907</script>
9907 9908 9909
9909<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 9910 window.addEventListener('load', function() { 9911 // setTimeout(function(){ 9912 runAjaxHelperStack(function() { 9913 ajaxHelperStackCompleted = true; 9914 if (typeof eshopEvent_promotionImpression == 'function' && !$.isEmptyObject(eshopEvent_visiblePromotions)) { 9915 eshopEvent_promotionImpression(eshopEvent_visiblePromotions); 9916 } else { 9917 CookieConsentCallback(); 9918 } 9919 }); 9920 ajaxHelperStackRun = true; 9921 // }, 1000); 9922 }); 9923 </script>
9923 9924
9924<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 9925 $(document).on('click', '.bind-scrollToVouchers', function(e) { 9926 e.preventDefault(); 9927 if ($('html').hasClass('userProfile')) { 9928 var target = $('div.personalVouchers'); 9929 $('html, body').animate({ 9930 scrollTop: $(target).offset().top - 100 9931 }, 500); 9932 } else { 9933 window.location = 'https://www.benu.lv/mans-profils?vars/extension/personalVouchers'; 9934 } 9935 }); 9936 </script>
9936 9937 9938
9938<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 9939 $(document).ready(function() { 9940 if (structuredDataList.length > 0) { 9941 var po = document.createElement('script'); 9942 po.type = 'application/ld+json'; 9943 if (structuredDataList.length > 1) { 9944 po.text = JSON.stringify(structuredDataList); 9945 } else { 9946 po.text = JSON.stringify(structuredDataList[0]); 9947 } 9948 var s = document.getElementsByTagName('script')[0]; 9949 s.parentNode.insertBefore(po, s); 9950 } 9951 }); 9952 </script>
9952 9953 9954
9954<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 9955 function isBenuAppOnIOS() { 9956 return navigator.userAgent.includes('Benu') && navigator.userAgent.includes('iOS'); 9957 } 9958 9959 function showMinudocPrescriptionRenewal() { 9960 ajaxHelperOnReady({ 9961 'methodName': 'showMinudocPrescriptionRenewal' 9962 }, 9963 function(callback) { 9964 if (callback['success']) { 9965 $('body').append(callback.return['modalHTML']); 9966 $('body').addClass('modal-open'); 9967 setTimeout(function() { 9968 $('#minudocModal .close').on('click', function() { 9969 $('#minudocModal').remove(); 9970 $('.modal-backdrop').remove(); 9971 $('body').removeClass('modal-open'); 9972 }); 9973 }, 200); 9974 $('body').addClass('modal-open'); 9975 } 9976 }, 'POST' 9977 ); 9978 } 9979 9980 $(document).ready(function() { 9981 window.handleATTConsent = function(isTrackingAllowed) { 9982 if (isBenuAppOnIOS()) { 9983 $('#CybotCookiebotDialog').remove(); 9984 if (isTrackingAllowed) { 9985 Cookiebot.submitCustomConsent(true, true, true, true); 9986 } else { 9987 Cookiebot.submitCustomConsent(true, false, false, false); 9988 } 9989 } else { 9990 console.log('userAgent has Benu:' + navigator.userAgent.includes('Benu')); 9991 console.log('userAgent has iOs:' + navigator.userAgent.includes('iOS')); 9992 } 9993 }; 9994 }); 9995 </script>
9995 9996 9997 9998 9999
9999<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 10000 function generateCaptchaToken(action) { 10001 $('.error--captcha').remove(); 10002 return new Promise((resolve, reject) => { 10003 grecaptcha.execute('6LcGQ_oqAAAAAKOD2PmL125-HMXeQoKBYmaa2geF', { 10004 action: action 10005 }) 10006 .then(function(token) { 10007 captchaToken = token; 10008 resolve(token); 10009 }) 10010 .catch(function(error) { 10011 reject(error); 10012 }); 10013 }); 10014 } 10015 </script>
10015 10016 10017
10017<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 10018 window.benuLuigisSearch = { 10019 publicKey: "232949-269228", 10020 searchUrl: "https:\/\/www.benu.lv\/meklet?search=", 10021 appName: "benu-eshop-lv", 10022 reorderRxItems: false, 10023 showAddToCart: true, 10024 benuCardImg: "application\/images\/benu-card.svg", 10025 benuCardAlt: "Cena re\u0123istr\u0113tiem lietot\u0101jiem", 10026 i18n: { 10027 showAll: "Skat\u012bt visus rezult\u0101tus", 10028 placeholder: "Mekl\u0113t produktus, aptiekas..", 10029 allResults: "Visi rezult\u0101ti", 10030 products: "Produkti", 10031 categories: "Kategorijas", 10032 categoriesTop: "Top kategorijas", 10033 brands: "Z\u012bmoli", 10034 brandsTop: "Z\u012bmoli", 10035 articles: "Rakstus", 10036 pharmacies: "Aptiekas", 10037 pages: "Lapas", 10038 results: "Mekl\u0113\u0161anas vaic\u0101jumi", 10039 topProduct: "Top produkts", 10040 noResults: "Nav rezult\u0101tu", 10041 noProducts: "J\u016bsu mekl\u0113\u0161anas vaic\u0101jumam neatbilst neviens produkts.", 10042 noMoreProducts: "J\u016bsu mekl\u0113\u0161anas vaic\u0101jumam neatbilst neviens produkts.", 10043 withCode: "cena groz\u0101 pirkumam virs 9.99 \u20ac kampa\u0146ai", 10044 buyingMoreThan: "p\u0113rkot vair\u0101k nek\u0101 ", 10045 minCartPromoText: "* Cena groz\u0101 pirkumiem virs {{sum}}", 10046 minCartPromoInfo: "Atlaide tiek piem\u0113rota tikai tad, ja groza summa (bez pieg\u0101des) sasniedz vai p\u0101rsniedz nor\u0101d\u012bto summu.", 10047 searchTitle: "Mekl\u0113t", 10048 addToCart: "Pirkt", 10049 viewMore: "Show more info" } 10050 }; 10051</script>
10051 10052
10053<script type="text/template" id="template-searchBar"> 10054 <div class="bnuLuigisSearch__container"> 10055 <div class="bnuLuigisSearch__mobileHeader">MeklÄt</div> 10056 <div class="bnuLuigisSearch"> 10057 <div class="bnuLuigisSearch__sidebar"> 10058 <div class="bnuLuigisSearch__sidebarQuery"> 10059 <span><i class="fa-regular fa-magnifying-glass" aria-hidden="true"></i>{{query}}</span> 10060 <a href="https://www.benu.lv/meklet?search={{query}}">Visi rezultÄti <i class="fa-regular fa-chevron-right" aria-hidden="true"></i></a> 10061 </div> 10062 <div class="bnuLuigisSearch__results"> 10063 {{queriesResults}} 10064 </div> 10065 {{tabsContainer}} 10066 <div class="bnuLuigisSearch__results"> 10067 {{categoriesResults}} 10068 </div> 10069 <div class="bnuLuigisSearch__results"> 10070 {{brandsResults}} 10071 </div> 10072 <div class="bnuLuigisSearch__results"> 10073 {{articlesResultsDesktop}} 10074 </div> 10075 <div class="bnuLuigisSearch__results"> 10076 {{pharmaciesResults}} 10077 </div> 10078 <div class="bnuLuigisSearch__results"> 10079 {{pagesResultsDesktop}} 10080 </div> 10081 </div> 10082 10083 <div class="bnuLuigisSearch__topProduct"> 10084 <h4>Top produkts</h4> 10085 {{topProduct}} 10086 </div> 10087 10088 <span class="bnuLuigisSearch__separator" aria-hidden="true"></span> 10089 10090 <div class="bnuLuigisSearch__products"> 10091 <h4>Produkti</h4> 10092 <div class="bnuLuigisSearch__itemsWrap bnuLuigisSearch__tabPanel {{productTabActive}}" id="tab_products"> 10093 {{products}} 10094 <div class="bnuLuigisSearch__showAll"> 10095 <a class="bnuButton" href="https://www.benu.lv/meklet?search={{query}}"> 10096 <span>Visi rezultÄti</span> 10097 </a> 10098 </div> 10099 </div> 10100 {{categoriesTab}} {{brandsTab}} {{pharmaciesTab}} {{articlesTab}} {{pagesTab}} 10101 </div> 10102 </div> 10103 <div class="bnuLuigisSearch__mobileResults"> 10104 <a class="bnuButton bnuButton--full" href="https://www.benu.lv/meklet?search={{query}}"> 10105 <span>Visi rezultÄti</span> 10106 </a> 10107 </div> 10108 </div> 10109</script>
10109 10110
10111<script type="text/template" id="template-searchBar--noResults"> 10112 <div class="bnuLuigisSearch__container"> 10113 <div class="bnuLuigisSearch__mobileHeader">MeklÄt</div> 10114 <div class="bnuLuigisSearch"> 10115 <div class="bnuLuigisSearch__noResults"> 10116 Nav rezultÄtu </div> 10117 </div> 10118 </div> 10119</script>
10119 10120
10121<script type="text/template" id="template-topProduct"> 10122 <article class="bnuProduct bnuProduct--luigisTop" {{topProduct_metaData}}> 10123 <meta itemprop="position" content="1"> 10124 <meta itemprop="url" content="{{topProduct_url}}"> 10125 <meta itemprop="type" content="item"> 10126 <meta itemprop="title" content="{{topProduct_rawTitle}}"> 10127 <div class="bnuProduct__main"> 10128 <div class="bnuProduct__top"> 10129 <figure> 10130 <a tabindex="-1" href="{{topProduct_url}}"> 10131 <img width="500" height="500" loading="lazy" class="product__image" src="{{topProduct_image}}" alt="{{topProduct_title}}" title="{{topProduct_title}}"> 10132 </a> 10133 <div class="bnuProduct__badges bnuProduct__badges--tl"> 10134 {{topProduct_discounts}} 10135 </div> 10136 <div class="bnuProduct__badges bnuProduct__badges--bl"> 10137 {{topProduct_badges}} 10138 </div> 10139 {{topProduct_specialIcon}} 10140 </figure> 10141 <h3> 10142 <a href="{{topProduct_url}}" itemprop="name">{{topProduct_title}}</a> 10143 </h3> 10144 </div> 10145 <div class="bnuProduct__bottom {{topProduct_priceGroupClass}}" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 10146 {{topProduct_price}} 10147 <div style="display:none !important;" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 10148 <meta itemprop="priceCurrency" content="EUR"> 10149 <meta itemprop="price" content="{{topProduct_rawPrice}}"> 10150 </div> 10151 {{topProduct_minCartPromo}} 10152 {{topProduct_addToCart}} 10153 </div> 10154 </div> 10155 </article> 10156</script>
10156 10157
10158<script type="text/template" id="template-product"> 10159 <article class="bnuProduct bnuProduct--luigis {{topWrap_class}}" {{product_metaData}}> 10160 <meta itemprop="position" content="{{product_position}}"> 10161 <meta itemprop="url" content="{{product_url}}"> 10162 <meta itemprop="type" content="item"> 10163 <meta itemprop="title" content="{{product_rawTitle}}"> 10164 <div class="bnuProduct__main"> 10165 <div class="bnuProduct__top"> 10166 <figure> 10167 <a tabindex="-1" href="{{product_url}}"> 10168 <img width="96" height="96" loading="lazy" class="product__image" src="{{product_image}}" alt="{{product_title}}" title="{{product_title}}"> 10169 </a> 10170 <div class="bnuProduct__badges bnuProduct__badges--tl"> 10171 {{product_discounts}} 10172 </div> 10173 <div class="bnuProduct__badges bnuProduct__badges--bl">{{product_badges}}</div> 10174 </figure> 10175 <div class="bnuLuigisSearch__productBody"> 10176 <h2> 10177 <a href="{{product_url}}" itemprop="name" title="{{product_title}}">{{product_title}}</a> 10178 </h2> 10179 <div class="bnuProduct__bottom" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 10180 <div style="display:none !important;" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 10181 <meta itemprop="priceCurrency" content="EUR"> 10182 <meta itemprop="price" content="{{product_rawPrice}}"> 10183 </div> 10184 {{product_price}} 10185 {{product_minCartPromo}} 10186 </div> 10187 </div> 10188 </div> 10189 {{product_addToCart}} 10190 </div> 10191 </article> 10192</script>
10192 10193
10194<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" src="https://cdn.luigisbox.tech/autocomplete.js" async></script>
vendor: 1 bytes, line 10194
10194
10195<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 10196 (function () { 10197 function tryInit() { 10198 if (typeof window.LBInitAutocomplete === 'function' && typeof window.AutoComplete === 'function') { 10199 window.LBInitAutocomplete(); 10200 return true; 10201 } 10202 return false; 10203 } 10204 10205 function onReady() { 10206 if (tryInit()) { 10207 return; 10208 } 10209 var attempts = 0; 10210 var timer = setInterval(function () { 10211 attempts += 1; 10212 if (tryInit() || attempts > 50) { 10213 clearInterval(timer); 10214 } 10215 }, 100); 10216 } 10217 10218 var script = document.querySelector('script[src="https://cdn.luigisbox.tech/autocomplete.js"]'); 10219 if (script) { 10220 script.addEventListener('load', onReady); 10221 } 10222 if (typeof window.AutoComplete === 'function') { 10223 onReady(); 10224 } 10225 })(); 10226</script>
10226 10227 10228 10229 10230
10230<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc=" type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.eu01.nr-data.net","licenseKey":"NRJS-6b855eae5d0ce7335f6","applicationID":"458397775","transactionName":"MhBSZQoZX0BYVkVcXwtaZUMRV1hdXVBJG0ANBQ==","queueTime":0,"applicationTime":112,"atts":"HldRE0IDTE4=","errorBeacon":"bam.eu01.nr-data.net","agent":""}</script>
10230 10231 <div id="snrgames-widget-holder"></div> 10232
10232<script nonce="16f6b5715b8bc09f0ebf1559d4dfa937396481fc302fee6b41a06b68c32dece9o2qOVkPmvPc="> 10233 window.onload = () => { 10234 ajaxHelper({ 10235 className: 'SNRGames', 10236 methodName: 'loadGameWidget', 10237 args: { 10238 'args': { 10239 previewGame: '', 10240 gameID: '' 10241 } 10242 } 10243 }, function(response) { 10244 if (response && response.return.html) { 10245 $('#snrgames-widget-holder').html(response.return.html); 10246 } 10247 }, 'POST'); 10248 }; 10249 </script>
10249 10250 10251 </div> 10252 10253 <div class="bnuOverlay"></div> 10254 <aside 10255 role="complementary" 10256 class="bnuSideCart" 10257 aria-labelledby="bnuSideCartTitle" 10258 inert 10259 > 10260 <header class="bnuSideCart__heading"> 10261 <h2 id="bnuSideCartTitle" tabindex="-1"> 10262 Pirkuma grozs </h2> 10263 <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuSideCart__close bind-sideCartClose" aria-label="Pirkuma grozs" type="button"><i class="fa-regular fa-xmark" aria-hidden="true"></i></button> </header> 10264 <div 10265 class="bnuSideCart__content bind-cartQuickOverviewContent" 10266 tabindex="-1" 10267 aria-hidden="true" 10268 ></div> 10269 <footer class="bnuSideCart__actions"> 10270 <div class="bnuSideCart__summary"> 10271 <span>Pasūtījuma summa:</span> 10272 <strong class="bind-cartTotal"></strong> 10273 </div> 10274 <a href="https://www.benu.lv/iepirkumu-grozs" class="bnuButton bnuButton--full bind-sideCartAction" tabindex="-1"><span>Uz grozu </span></a> </footer> 10275 </aside> 10276</body> 10277 10278</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.