1<!doctype html> 2<!--[if lt IE 9 ]> <html lang="lv" class="ie intuero benu-eshop-lv productsPage mID-15671 lang-lv cacheStatus-off "> <![endif]--> 3<!--[if (gte IE 9)|!(IE)]><!--> 4<html lang="lv" class="intuero benu-eshop-lv productsPage mID-15671 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="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" 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="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" 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="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" 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="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" data-cookieconsent="ignore"> 54 const design = true; 55 const addedToCartText = 'Pievienots grozam'; 56 </script>
56 57 58
58<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 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="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 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="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 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="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" 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="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" 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>ORGANIC SHOP | BENU.LV â e-Aptieka vienmÄr Tev blaku ...</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="description" content="ORGANIC SHOP - BENU e-aptiekÄ plaÅ¡s produktu klÄsts veselÄ«bai, skaistumam un Ädas kopÅ¡anai, mÄmiÅÄm un bÄrniem, higiÄnai, kÄ arÄ« uztura bagÄtinÄtÄji un medicÄ«nas preces!" /> 129 <meta property="og:locale" content="lt_LT" /> 130 <meta property="og:title" content="ORGANIC SHOP | BENU.LV â e-Aptieka vienmÄr Tev blaku ..." /> 131 <meta property="og:type" content="website" /> 132 <meta property="og:url" content="https://www.benu.lv:443/zimoli/organic-shop" /> 133 <meta property="og:image" content="https://www.benu.lv/media/images/NEDZEST!/Untitled-3%204.jpg" /> 134 <meta property="og:description" content="ORGANIC SHOP - BENU e-aptiekÄ plaÅ¡s produktu klÄsts veselÄ«bai, skaistumam un Ädas kopÅ¡anai, mÄmiÅÄm un bÄrniem, higiÄnai, kÄ arÄ« uztura bagÄtinÄtÄji un medicÄ«nas preces!" /> 135 <link rel="canonical" href="https://www.benu.lv/zimoli/organic-shop" />
135<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=">var makesortable = false; </script>
135 136
136<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=">var moduleID = "15671";</script>
136 137
137<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=">var langID = "lv"; </script>
137 138
138<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=">var intuero = {"appName":"benu-eshop-lv","env":"prod","mID":15671,"mType":"productsPage","lang":"lv","AK":"$2y$04$l0NqL8w.mgvXtqCF3.hcie7pVTJd2GYp8g0.nC.AWetOsPgtgFkVi","AKPS":"4860602551"}; </script>
138 139
139<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=">var lteIE8 = false;</script>
139 140 <!--[if lte IE 8]>
140<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> lteIE8 = true; </script>
140 <![endif]--> 141
141<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" data-cookieconsent="ignore">
vendor: 87,533 bytes, lines 141-142
141/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 142!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});
143const 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
143Float(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();
143var 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")?($
143('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")?($
143('[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}
143(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:[]})}})}
143function 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(
143Boolean),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"}
143].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="'+$
143("<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;
143if("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
143nMobileWidgetButtonsWrap").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
143nuPromoBarContainer"),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||{}
143,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
143down.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
143se"),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
143down.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 143
143: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 143
143ort.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}
143,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>
143',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
143=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 143
143,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))}
143),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","
143isOpen","_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;
143function 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]:{};
143n%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
143h(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];
143B(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()}
143function 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(
143),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"}}
143(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/>
143 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))}
143),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
143: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
143dth&&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
143: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()}
143,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)})}
143(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>
1430)){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;
143i.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
143: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(
143))},"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();
143t=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}}))})}
143(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 143
143,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 143
143,_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 143
143(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 143
1430?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 143
143null,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 143
143,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 143
143)[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 143
143,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 143
143)).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 143
143css("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 143
143)},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
143se")},_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 143
143)},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
143ay","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 143
143this.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>
143"),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 143
143pace||(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;'/>
143"),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 143
143p: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 143
143/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 143
143(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 143
143=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 143
143):(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 143
143: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 143
143,_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 143
143s&&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 143
143,_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 143
14310)||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 143
143i--)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 143
143,_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 143
143),!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}
143)))},_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">
143<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
143sion|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
143yCode)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
143orText||[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;
143t<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
143s_.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;
143e<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;
143e<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}
143),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;
143function 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
143s&&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:{}}
143,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"));
143var 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
143otification(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
143-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)}
143),$(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}
143)}),$(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
143(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}
143,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
143)),!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 143
143,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
143sh(".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>
143 144
144<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" src="https://kit.fontawesome.com/bf11807ccc.js" data-cookieconsent="ignore"></script>
144 145
145<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" src="https://cdn.jsdelivr.net/npm/swiper@12/swiper-bundle.min.js" data-cookieconsent="ignore"></script>
145 146
146<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" data-cookieconsent="ignore">var require = function(m) { if (m === "jquery") return window.jQuery; throw new Error("Cannot require " + m); }; 147(() => { 148 // www/application/resources/js/promo-slider.js 149 function updatePromoContainerHeight() { 150 const container = document.querySelector(".bnuPromoBarContainer"); 151 let containerHeight = 0; 152 if (container) { 153 const hasVisibleChild = Array.from(container.children).some((child) => { 154 return !child.hidden && child.offsetHeight > 0; 155 }); 156 containerHeight = hasVisibleChild ? container.offsetHeight : 0; 157 } 158 document.body.style.setProperty("--promo-height", containerHeight + "px"); 159 } 160 function getPromoSliderWrapTop() { 161 if (typeof jQuery === "undefined") { 162 return null; 163 } 164 const $2 = jQuery; 165 const $wrap = $2(".bind-promoBarSliderWrap--top"); 166 return $wrap.length ? $wrap : $2(".sliderBannerWrap--top"); 167 } 168 function initPromoSliderTrack(selector, options) { 169 if (typeof jQuery === "undefined" || !jQuery.fn.infiniteslide) { 170 return; 171 } 172 const $2 = jQuery; 173 const $track = $2(selector); 174 if (!$track.length || $track.data("infiniteslide-init") || $track.closest(".infiniteslide_wrap").length) { 175 return; 176 } 177 $track.infiniteslide(options); 178 $track.data("infiniteslide-init", true); 179 } 180 function initPromoSliders() { 181 if (typeof jQuery === "undefined") { 182 updatePromoContainerHeight(); 183 return; 184 } 185 const $2 = jQuery; 186 if ($2(".bind-sliderBanner--top").length) { 187 const $wrap = getPromoSliderWrapTop(); 188 if ($wrap && $wrap.length) { 189 $wrap.show(); 190 } 191 initPromoSliderTrack(".bind-sliderBanner--top", { 192 clone: 2, 193 speed: 100, 194 pauseonhover: false 195 }); 196 document.documentElement.classList.add("sliderBannerTopVisible"); 197 } 198 initPromoSliderTrack(".bind-sliderBanner--bottom", { 199 clone: 2, 200 speed: 100, 201 pauseonhover: false 202 }); 203 $2(document).on("click", ".bind-sliderBanner-close", function(event) { 204 event.preventDefault(); 205 const wrapClass = $2(this).data("wrap"); 206 if (!wrapClass) { 207 return; 208 } 209 $2("." + wrapClass).remove(); 210 if (wrapClass === "sliderBannerWrap--top" || wrapClass === "bind-promoBarSliderWrap--top") { 211 document.documentElement.classList.remove("sliderBannerTopVisible"); 212 } 213 window.setTimeout(updatePromoContainerHeight, 50); 214 }); 215 updatePromoContainerHeight(); 216 } 217 218 // www/application/resources/js/promo-bar.js 219 var PromoBar = class { 220 constructor(options = {}) { 221 const safeOptions = options || {}; 222 const promoId = safeOptions.promoId !== void 0 ? safeOptions.promoId : "bnuPromoBar"; 223 const closeId = safeOptions.closeId !== void 0 ? safeOptions.closeId : "bnuPromoBarClose"; 224 const onClosed = safeOptions.onClosed; 225 this.promoId = promoId; 226 this.closeId = closeId; 227 this.onClosed = onClosed; 228 this._isInit = false; 229 this._onDocumentClick = this._onDocumentClick.bind(this); 230 } 231 init() { 232 if (this._isInit) { 233 return; 234 } 235 this._isInit = true; 236 document.addEventListener("click", this._onDocumentClick); 237 } 238 destroy() { 239 if (!this._isInit) { 240 return; 241 } 242 this._isInit = false; 243 document.removeEventListener("click", this._onDocumentClick); 244 } 245 _onDocumentClick(event) { 246 var _a; 247 const target = event.target; 248 const closestTarget = target && typeof target.closest === "function" ? target : target == null ? void 0 : target.parentElement; 249 const closeBtn = (_a = closestTarget == null ? void 0 : closestTarget.closest) == null ? void 0 : _a.call(closestTarget, "." + this.closeId); 250 if (!closeBtn) { 251 return; 252 } 253 const promo = closeBtn.closest("." + this.promoId); 254 if (!promo) { 255 return; 256 } 257 const notificationId = closeBtn.dataset.id; 258 if (notificationId) { 259 this._setCookie("notificationBarHide-" + notificationId); 260 } 261 promo.hidden = true;
262 const container = document.querySelector(".bnuPromoBarContainer"); 263 const containerHeight = container ? container.offsetHeight : 0; 264 document.body.style.setProperty("--promo-height", containerHeight + "px"); 265 if (typeof this.onClosed === "function") { 266 this.onClosed(); 267 } 268 } 269 _getCookie(name) { 270 const matches = document.cookie.match( 271 new RegExp("(?:^|; )" + name.replace(/([.$?*|{}()[\]\\/+^])/g, "\\$1") + "=([^;]*)") 272 ); 273 return matches ? decodeURIComponent(matches[1]) : ""; 274 } 275 _setCookie(cookieName) { 276 if (this._getCookie(cookieName) !== "" || !navigator.cookieEnabled) { 277 return; 278 } 279 const cookieExpirationDate = /* @__PURE__ */ new Date(); 280 cookieExpirationDate.setMonth(cookieExpirationDate.getMonth() + 1); 281 document.cookie = cookieName + "=true; expires=" + cookieExpirationDate.toUTCString() + "; path=/"; 282 } 283 }; 284 285 // www/application/resources/js/product-nav.js 286 var DEFAULT_SCROLL_HIDE_THRESHOLD_PX = 100; 287 var ProductNav = class _ProductNav { 288 static _isAriaTrue(value) { 289 return String(value).toLowerCase() === "true"; 290 } 291 static _setAriaDisabled(element, disabled) { 292 if (!element) { 293 return; 294 } 295 element.setAttribute("aria-disabled", disabled ? "true" : "false"); 296 } 297 constructor(options) { 298 const resolvedOptions = options ?? {}; 299 const menuId = resolvedOptions.menuId === void 0 ? "product-nav-menu" : resolvedOptions.menuId; 300 const toggleSelector = resolvedOptions.toggleSelector === void 0 ? "#bnuProductNavToggle, #product-nav-toggle" : resolvedOptions.toggleSelector; 301 const scrollHideThresholdPx = resolvedOptions.scrollHideThresholdPx === void 0 ? DEFAULT_SCROLL_HIDE_THRESHOLD_PX : resolvedOptions.scrollHideThresholdPx; 302 this.menuId = menuId; 303 this.toggleSelector = toggleSelector; 304 this.scrollHideThresholdPx = scrollHideThresholdPx; 305 this._menuInitiallyVisible = false; 306 this._menuOpenedAtScrollY = 0; 307 this._isInit = false; 308 this._onScroll = this._onScroll.bind(this); 309 this._onToggleClick = this._onToggleClick.bind(this); 310 } 311 init() { 312 if (this._isInit) { 313 return; 314 } 315 const toggleButton = this._getToggle(); 316 let menu = this._getMenu(); 317 if (!menu && toggleButton) { 318 const inferredMenuId = toggleButton.getAttribute("aria-controls"); 319 if (inferredMenuId) { 320 this.menuId = inferredMenuId; 321 menu = this._getMenu(); 322 } 323 } 324 if (!menu) { 325 return; 326 } 327 this._isInit = true; 328 if (toggleButton) { 329 if (toggleButton.getAttribute("aria-controls") !== this.menuId) { 330 toggleButton.setAttribute("aria-controls", this.menuId); 331 } 332 toggleButton.addEventListener("click", this._onToggleClick); 333 } 334 this._menuInitiallyVisible = menu.getAttribute("aria-hidden") === "false"; 335 menu.inert = !this._menuInitiallyVisible; 336 if (this._menuInitiallyVisible) { 337 this._menuOpenedAtScrollY = 0; 338 } 339 if (this._menuInitiallyVisible && window.scrollY <= 0) { 340 _ProductNav._setAriaDisabled(toggleButton, true); 341 } 342 window.addEventListener("scroll", this._onScroll, { passive: true }); 343 this._onScroll(); 344 const postRestoreSync = () => { 345 this._syncMenuStateAfterScrollRestoration(menu, toggleButton); 346 this._onScroll(); 347 }; 348 requestAnimationFrame(() => { 349 requestAnimationFrame(postRestoreSync); 350 }); 351 window.addEventListener("pageshow", postRestoreSync, { once: true }); 352 window.addEventListener("load", postRestoreSync, { once: true }); 353 } 354 destroy() { 355 if (!this._isInit) { 356 return; 357 } 358 this._isInit = false; 359 window.removeEventListener("scroll", this._onScroll); 360 const toggleButton = this._getToggle(); 361 if (toggleButton) { 362 toggleButton.removeEventListener("click", this._onToggleClick); 363 } 364 } 365 _getMenu() { 366 return document.getElementById(this.menuId); 367 } 368 _getToggle() { 369 return document.querySelector(this.toggleSelector); 370 } 371 _setMenuVisible(menu, toggleButton, visible) { 372 if (!menu) { 373 return; 374 } 375 menu.setAttribute("aria-hidden", visible ? "false" : "true"); 376 menu.inert = !visible; 377 if (toggleButton) { 378 toggleButton.setAttribute("aria-expanded", visible ? "true" : "false"); 379 if (!visible) { 380 _ProductNav._setAriaDisabled(toggleButton, false); 381 } 382 } 383 if (visible) { 384 this._menuOpenedAtScrollY = window.scrollY; 385 } 386 } 387 _syncMainToggleState(menu, toggleButton) { 388 if (!menu || !toggleButton) { 389 return; 390 } 391 const isHidden = menu.getAttribute("aria-hidden") === "true";
392 if (isHidden) { 393 toggleButton.setAttribute("aria-expanded", "false"); 394 _ProductNav._setAriaDisabled(toggleButton, false); 395 } 396 } 397 _syncMenuStateAfterScrollRestoration(menu, toggleButton) { 398 if (!menu) { 399 return; 400 } 401 if (this._menuInitiallyVisible) { 402 return; 403 } 404 if (toggleButton) { 405 _ProductNav._setAriaDisabled(toggleButton, false); 406 } 407 const isVisible = menu.getAttribute("aria-hidden") === "false"; 408 if (isVisible) { 409 this._menuOpenedAtScrollY = window.scrollY; 410 } 411 } 412 _onScroll() { 413 const menu = this._getMenu(); 414 if (!menu) { 415 return; 416 } 417 const toggleButton = this._getToggle(); 418 const isVisible = menu.getAttribute("aria-hidden") === "false"; 419 if (isVisible && Math.abs(window.scrollY - this._menuOpenedAtScrollY) > this.scrollHideThresholdPx) { 420 this._setMenuVisible(menu, toggleButton, false); 421 } 422 if (this._menuInitiallyVisible && window.scrollY <= 0) { 423 this._setMenuVisible(menu, toggleButton, true); 424 _ProductNav._setAriaDisabled(toggleButton, true); 425 } 426 if (this._menuInitiallyVisible && window.scrollY > 0) { 427 _ProductNav._setAriaDisabled(toggleButton, false); 428 } 429 this._syncMainToggleState(menu, toggleButton); 430 } 431 _onToggleClick() { 432 const menu = this._getMenu(); 433 if (!menu) { 434 return; 435 } 436 const toggleButton = this._getToggle(); 437 if (!toggleButton) { 438 return; 439 } 440 if (_ProductNav._isAriaTrue(toggleButton.getAttribute("aria-disabled"))) { 441 return; 442 } 443 const isHidden = menu.getAttribute("aria-hidden") === "true"; 444 this._setMenuVisible(menu, toggleButton, isHidden); 445 } 446 }; 447 448 // www/application/resources/js/product-nav-accessibility.js 449 var ProductNavAccessibility = class { 450 constructor(options) { 451 const resolvedOptions = options ?? {}; 452 const toggleSelector = resolvedOptions.toggleSelector === void 0 ? ".bind-subMenuToggle" : resolvedOptions.toggleSelector; 453 this.toggleSelector = toggleSelector; 454 this._isInit = false; 455 this._initializedButtons = /* @__PURE__ */ new WeakSet(); 456 } 457 init() { 458 if (this._isInit) { 459 return; 460 } 461 this._isInit = true; 462 document.querySelectorAll(this.toggleSelector).forEach((button) => { 463 this._initButton(button); 464 }); 465 } 466 _initButton(button) { 467 if (!button || this._initializedButtons.has(button)) { 468 return; 469 } 470 const submenuId = button.getAttribute("aria-controls"); 471 if (!submenuId) { 472 return; 473 } 474 const submenu = document.getElementById(submenuId); 475 if (!submenu) { 476 return; 477 } 478 this._initializedButtons.add(button); 479 const focusableSelectors = "a, button, input, select, textarea, [tabindex]"; 480 const setSubmenuFocusable = (isFocusable) => { 481 submenu.querySelectorAll(focusableSelectors).forEach((element) => { 482 if (isFocusable) { 483 if (element.dataset.originalTabindex !== void 0) { 484 if (element.dataset.originalTabindex === "") { 485 element.removeAttribute("tabindex"); 486 } else { 487 element.setAttribute("tabindex", element.dataset.originalTabindex); 488 } 489 delete element.dataset.originalTabindex; 490 } else if (element.getAttribute("tabindex") === "-1") { 491 element.removeAttribute("tabindex"); 492 } 493 } else { 494 if (element.dataset.originalTabindex === void 0) { 495 element.dataset.originalTabindex = element.getAttribute("tabindex") ?? ""; 496 } 497 element.setAttribute("tabindex", "-1"); 498 } 499 }); 500 }; 501 const openSubmenu = () => { 502 submenu.setAttribute("aria-hidden", "false"); 503 button.setAttribute("aria-expanded", "true"); 504 setSubmenuFocusable(true); 505 const firstLink = submenu.querySelector(":scope a, :scope button"); 506 if (firstLink) { 507 requestAnimationFrame(() => { 508 firstLink.focus(); 509 }); 510 } 511 }; 512 const closeSubmenu = () => { 513 button.setAttribute("aria-expanded", "false"); 514 submenu.setAttribute("aria-hidden", "true"); 515 setSubmenuFocusable(false); 516 }; 517 if (button.getAttribute("aria-expanded") === "true") { 518 submenu.setAttribute("aria-hidden", "false"); 519 setSubmenuFocusable(true); 520 } else { 521 submenu.setAttribute("aria-hidden", "true"); 522 setSubmenuFocusable(false); 523 } 524 button.addEventListener("click", (event) => { 525 event.preventDefault(); 526 if (button.getAttribute("aria-expanded") === "true") { 527 closeSubmenu(); 528 } else { 529 openSubmenu(); 530 } 531 }); 532 button.addEventListener("keydown", (event) => { 533 if (event.key === " " || event.key === "Enter") { 534 event.preventDefault(); 535 if (button.getAttribute("aria-expanded") === "true") { 536 closeSubmenu(); 537 } else { 538 openSubmenu(); 539 } 540 } 541 }); 542 submenu.addEventListener("keydown", (event) => { 543 if (event.key === "Escape") { 544 event.preventDefault(); 545 closeSubmenu(); 546 button.focus(); 547 } 548 }); 549 const handleFocusOut = (event) => { 550 const nextFocused = event.relatedTarget; 551 if (!nextFocused) { 552 return; 553 } 554 if (!button.contains(nextFocused) && !submenu.contains(nextFocused)) { 555 closeSubmenu(); 556 } 557 }; 558 button.addEventListener("focusout", handleFocusOut); 559 submenu.addEventListener("focusout", handleFocusOut); 560 } 561 }; 562 563 // www/application/resources/js/swiper-init.js 564 var SWIPER_FOCUSABLE_SELECTOR = 'a, button, input, select, textarea, [tabindex]:not
564([tabindex="-1"])'; 565 function setSwiperSlideFocusable(slide, focusable) { 566 slide.querySelectorAll(SWIPER_FOCUSABLE_SELECTOR).forEach((element) => { 567 if (focusable) { 568 if (element.dataset.swiperOriginalTabindex !== void 0) { 569 if (element.dataset.swiperOriginalTabindex === "") { 570 element.removeAttribute("tabindex"); 571 } else { 572 element.setAttribute("tabindex", element.dataset.swiperOriginalTabindex); 573 } 574 delete element.dataset.swiperOriginalTabindex; 575 } else if (element.getAttribute("tabindex") === "-1") { 576 element.removeAttribute("tabindex"); 577 } 578 return; 579 } 580 if (element.dataset.swiperOriginalTabindex !== void 0) { 581 return; 582 } 583 element.dataset.swiperOriginalTabindex = element.getAttribute("tabindex") ?? ""; 584 element.setAttribute("tabindex", "-1"); 585 }); 586 } 587 function updateSwiperSlideFocusability(swiper) { 588 swiper.slides.forEach((slide) => { 589 const isDuplicate = slide.classList.contains("swiper-slide-duplicate"); 590 const isVisible = slide.classList.contains("swiper-slide-visible"); 591 setSwiperSlideFocusable(slide, !isDuplicate && isVisible); 592 }); 593 } 594 function setSwiperPaginationItemsTabindex(swiper) { 595 var _a; 596 const paginationEl = (_a = swiper.pagination) == null ? void 0 : _a.el; 597 if (!paginationEl) { 598 return; 599 } 600 const elements = Array.isArray(paginationEl) ? paginationEl : [paginationEl]; 601 elements.forEach((element) => { 602 element.querySelectorAll(".swiper-pagination-bullet").forEach((bullet) => { 603 bullet.setAttribute("tabindex", "-1"); 604 }); 605 }); 606 } 607 function attachSwiperAccessibility(swiper) { 608 const update = () => { 609 updateSwiperSlideFocusability(swiper); 610 setSwiperPaginationItemsTabindex(swiper); 611 }; 612 swiper.on("init", update); 613 swiper.on("slideChange", update); 614 swiper.on("progress", update); 615 swiper.on("resize", update); 616 swiper.on("paginationRender", update); 617 swiper.on("paginationUpdate", update); 618 update(); 619 } 620 function normalizeSwiperA11yOptions(options) { 621 if (options.a11y === false) { 622 return; 623 } 624 const defaults = { 625 enabled: true, 626 scrollOnFocus: true, 627 // Slides keep their own semantics (product cards are <article>), so skip Swiper's role="group". 628 slideRole: null 629 }; 630 options.a11y = typeof options.a11y === "object" && options.a11y !== null ? { ...defaults, ...options.a11y } : defaults; 631 } 632 var SwiperInit = class _SwiperInit { 633 static _tryParseSwiperOptions(raw) { 634 if (raw == null) { 635 return {}; 636 } 637 const trimmed = String(raw).trim(); 638 if (!trimmed) { 639 return {}; 640 } 641 try { 642 return JSON.parse(trimmed); 643 } catch { 644 } 645 try { 646 let value = trimmed; 647 value = value.replace(/,\s*([}\]])/g, "$1"); 648 value = value.replace(/([{,]\s*)([A-Za-z_$][\w$-]*)(\s*:)/g, '$1"$2"$3'); 649 value = value.replace(/'/g, '"'); 650 return JSON.parse(value); 651 } catch { 652 return null; 653 } 654 } 655 constructor(options) { 656 const resolvedOptions = options ?? {}; 657 const selector = resolvedOptions.selector === void 0 ? "[data-swiper]" : resolvedOptions.selector; 658 this.selector = selector; 659 this._isInit = false; 660 } 661 init() { 662 if (this._isInit) { 663 return; 664 } 665 this._isInit = true; 666 this.initSwipersFromDataAttributes(); 667 } 668 initSwipersFromDataAttributes() { 669 const SwiperCtor = window.Swiper; 670 if (typeof SwiperCtor !== "function") { 671 return; 672 } 673 document.querySelectorAll(this.selector).forEach((element) => { 674 if (element._dataSwiperInstance || element.swiper) { 675 return; 676 } 677 if (!element.querySelector(".swiper-wrapper")) { 678 return; 679 } 680 const options = _SwiperInit._tryParseSwiperOptions(element.getAttribute("data-swiper")); 681 if (options == null) { 682 console.error("Check swiper options (data-swiper)", element); 683 return; 684 } 685 const controlsRoot = element.closest("[data-swiper-scope]") || element; 686 const applyCarouselAnchorName = () => { 687 const anchorName = element.getAttribute("data-carousel-anchor") || (element.i
687d ? `--${element.id}` : ""); 688 if (anchorName) { 689 element.style.anchorName = anchorName; 690 } 691 }; 692 const findControl = (selector) => { 693 const scopedControl = controlsRoot.querySelector(selector); 694 if (scopedControl) { 695 return scopedControl; 696 } 697 if (selector.includes("[data-target-carousel-id=")) { 698 return document.querySelector(selector); 699 } 700 return null; 701 }; 702 const findControls = (selector) => { 703 if (!selector || typeof selector !== "string") { 704 return []; 705 } 706 const scopedControls = Array.from(controlsRoot.querySelectorAll(selector)); 707 if (scopedControls.length) { 708 return scopedControls; 709 } 710 if (selector.includes("[data-target-carousel-id=")) { 711 return Array.from(document.querySelectorAll(selector)); 712 } 713 return []; 714 }; 715 const ensureChild = (className) => { 716 let child = controlsRoot.querySelector(`.${className}`); 717 if (!child) { 718 child = document.createElement("div"); 719 child.className = className; 720 controlsRoot.appendChild(child); 721 } 722 return child; 723 }; 724 const resolveNavigationEls = (selector, fallbackClassName) => {
725 const controls = findControls(selector); 726 if (controls.length > 1) { 727 return controls; 728 } 729 if (controls.length === 1) { 730 return controls[0]; 731 } 732 if (selector.includes("[data-target-carousel-id=")) { 733 return null; 734 } 735 return ensureChild(fallbackClassName); 736 }; 737 if (options.pagination === true) { 738 options.pagination = { 739 el: ensureChild("swiper-pagination"), 740 clickable: true 741 }; 742 } else if (options.pagination && typeof options.pagination === "object") { 743 if (typeof options.pagination.el === "string") { 744 const paginationElement = findControl(options.pagination.el); 745 if (paginationElement) { 746 options.pagination.el = paginationElement; 747 } else if (options.pagination.el.includes("[data-target-carousel-id=")) { 748 delete options.pagination; 749 } else { 750 options.pagination.el = ensureChild("swiper-pagination"); 751 } 752 } else if (!options.pagination.el) { 753 options.pagination.el = ensureChild("swiper-pagination"); 754 } 755 } 756 if (options.navigation === true) { 757 options.navigation = { 758 nextEl: ensureChild("bnuButton--next"), 759 prevEl: ensureChild("bnuButton--prev") 760 }; 761 } else if (options.navigation && typeof options.navigation === "object") { 762 if (typeof options.navigation.nextEl === "string") { 763 const nextElement = resolveNavigationEls(options.navigation.nextEl, "bnuButton--next"); 764 if (nextElement) { 765 options.navigation.nextEl = nextElement; 766 } else { 767 delete options.navigation.nextEl; 768 } 769 } else if (!options.navigation.nextEl) { 770 options.navigation.nextEl = ensureChild("bnuButton--next"); 771 } 772 if (typeof options.navigation.prevEl === "string") { 773 const prevElement = resolveNavigationEls(options.navigation.prevEl, "bnuButton--prev"); 774 if (prevElement) { 775 options.navigation.prevEl = prevElement; 776 } else { 777 delete options.navigation.prevEl; 778 } 779 } else if (!options.navigation.prevEl) { 780 options.navigation.prevEl = ensureChild("bnuButton--prev"); 781 } 782 if (!options.navigation.nextEl || !options.navigation.prevEl) { 783 delete options.navigation; 784 } 785 } 786 options.watchSlidesProgress = options.watchSlidesProgress ?? true; 787 normalizeSwiperA11yOptions(options); 788 try { 789 applyCarouselAnchorName(); 790 element._dataSwiperInstance = new SwiperCtor(element, options); 791 applyCarouselAnchorName(); 792 attachSwiperAccessibility(element._dataSwiperInstance); 793 if (element.closest(".bnuProductCarousel, .block-productsCarousel2, .bnuProductTabs, [data-swiper-scope]")) { 794 const trackCarouselImpressions = () => { 795 if (typeof window.bnuCollectProductImpressions !== "function") { 796 return; 797 } 798 window.bnuCollectProductImpressions( 799 element.closest("[data-swiper-scope]") || element.closest(".block-productsCarousel2") || element.closest(".bnuProductTabs") || element.closest(".bnuProductCarousel") || element, 800 { fireEvent: true, fromSwiper: true } 801 ); 802 }; 803 element._dataSwiperInstance.on("init", () => { 804 setTimeout(trackCarouselImpressions, 150); 805 }); 806 element._dataSwiperInstance.on("slideChangeTransitionEnd", trackCarouselImpressions); 807 } 808 } catch (error) { 809 console.error("Check swiper options", error); 810 } 811 }); 812 } 813 }; 814 815 // www/application/resources/js/scroll.js 816 var BodyScrollDirection = class { 817 constructor(options = {}) { 818 const safeOptions = options || {}; 819 const thresholdRatio = safeOptions.thresholdRatio !== void 0 ? safeOptions.thresholdRatio : 0.75; 820 const toggleDistance = safeOptions.toggleDistance !== void 0 ? safeOptions.toggleDistance : 100; 821 this.thresholdRatio = thresholdRatio; 822 this.toggleDistance = toggleDistance; 823 this._thresholdPx = window.innerHeight * this.thresholdRatio; 824 this._lastY = window.scrollY; 825 this._directionStartY = window.scrollY; 826 this._isDown = window.scrollY > this._thresholdPx; 827 this._isInit = false;
828 this._onScroll = this._onScroll.bind(this); 829 } 830 init() { 831 if (this._isInit) { 832 return; 833 } 834 this._isInit = true; 835 if (this._isDown) { 836 document.body.classList.add("isScrolledDown"); 837 } 838 window.addEventListener("scroll", this._onScroll, { passive: true }); 839 this.update(); 840 } 841 destroy() { 842 if (!this._isInit) { 843 return; 844 } 845 this._isInit = false; 846 window.removeEventListener("scroll", this._onScroll); 847 } 848 update() { 849 const y = window.scrollY; 850 const d = y - this._lastY; 851 const body = document.body; 852 if (Math.abs(d) < 2) { 853 this._lastY = y; 854 return; 855 } 856 const goingDown = d > 0; 857 const shouldReset = goingDown && this._directionStartY > y || !goingDown && this._directionStartY < y; 858 if (shouldReset) { 859 this._directionStartY = y; 860 } 861 if (!this._isDown) { 862 if (y > this._thresholdPx) { 863 if (goingDown) { 864 if (this._directionStartY <= this._thresholdPx || y - this._directionStartY >= this.toggleDistance) { 865 this._isDown = true; 866 body.classList.add("isScrolledDown"); 867 this._directionStartY = y; 868 } 869 } else { 870 this._directionStartY = y; 871 } 872 } 873 } else { 874 if (!goingDown) { 875 if (this._directionStartY - y >= this.toggleDistance) { 876 this._isDown = false; 877 body.classList.remove("isScrolledDown"); 878 this._directionStartY = y; 879 } 880 } else { 881 this._directionStartY = y; 882 } 883 } 884 if (y <= this._thresholdPx && !this._isDown) { 885 this._directionStartY = y; 886 } 887 this._lastY = y; 888 } 889 _onScroll() { 890 this.update(); 891 } 892 }; 893 894 // www/application/resources/js/tabs.js 895 var Tabs = class { 896 constructor(options) { 897 const resolvedOptions = options ?? {}; 898 this.selector = resolvedOptions.selector === void 0 ? "[data-tabs]" : resolvedOptions.selector; 899 this._isInit = false; 900 this._initializedRoots = /* @__PURE__ */ new WeakSet(); 901 } 902 init() { 903 if (this._isInit) { 904 return; 905 } 906 this._isInit = true; 907 this.refresh(); 908 } 909 // Re-scan the DOM for tab roots and initialize any that are new. 910 // Safe to call after dynamically injecting tabs markup (e.g. via AJAX); 911 // already-initialized roots are skipped via the WeakSet guard in _initRoot. 912 refresh() { 913 document.querySelectorAll(this.selector).forEach((root) => { 914 this._initRoot(root); 915 }); 916 } 917 _initRoot(root) { 918 if (!(root instanceof HTMLElement) || this._initializedRoots.has(root)) { 919 return; 920 } 921 const tablist = root.querySelector('[role="tablist"]') || root; 922 if (!(tablist instanceof HTMLElement)) { 923 return; 924 } 925 const tabs = Array.from(tablist.querySelectorAll('[role="tab"][aria-controls]')).filter( 926 (tab) => tab instanceof HTMLElement 927 ); 928 if (tabs.length === 0) { 929 return; 930 } 931 this._initializedRoots.add(root); 932 const activateTab = (activeTab, shouldFocus = false) => {
933 tabs.forEach((tab) => { 934 const isActive = tab === activeTab; 935 const panelId = tab.getAttribute("aria-controls"); 936 const panel = panelId ? document.getElementById(panelId) : null; 937 tab.setAttribute("aria-selected", isActive ? "true" : "false"); 938 tab.setAttribute("tabindex", 0); 939 if (panel instanceof HTMLElement) { 940 panel.hidden = !isActive; 941 } 942 }); 943 if (shouldFocus) { 944 activeTab.focus(); 945 } 946 }; 947 const initiallySelected = tabs.find((tab) => tab.getAttribute("aria-selected") === "true") || tabs[0]; 948 activateTab(initiallySelected); 949 tablist.addEventListener("click", (event) => { 950 const target = event.target; 951 if (!(target instanceof Element)) { 952 return; 953 } 954 const tab = target.closest('[role="tab"]'); 955 if (!(tab instanceof HTMLElement) || !tablist.contains(tab)) { 956 return; 957 } 958 activateTab(tab); 959 }); 960 tablist.addEventListener("keydown", (event) => { 961 const currentTab = document.activeElement; 962 if (!(currentTab instanceof HTMLElement) || !tabs.includes(currentTab)) { 963 return; 964 } 965 const currentIndex = tabs.indexOf(currentTab); 966 let nextIndex = currentIndex; 967 if (event.key === "ArrowRight") { 968 nextIndex = currentIndex + 1 >= tabs.length ? 0 : currentIndex + 1; 969 } else if (event.key === "ArrowLeft") { 970 nextIndex = currentIndex - 1 < 0 ? tabs.length - 1 : currentIndex - 1; 971 } else if (event.key === "Home") { 972 nextIndex = 0; 973 } else if (event.key === "End") { 974 nextIndex = tabs.length - 1; 975 } else { 976 return; 977 } 978 event.preventDefault(); 979 activateTab(tabs[nextIndex], true); 980 }); 981 } 982 }; 983 984 // www/application/resources/js/header-menu.js 985 var HeaderMenu = class { 986 constructor(options = {}) { 987 const safeOptions = options || {}; 988 this.navSelector = safeOptions.navSelector || ".bnuMainNav"; 989 this.ulSelector = safeOptions.ulSelector || 'ul[data-lvl="1"]'; 990 this.benuPlusSelector = safeOptions.benuPlusSelector || ".benuPlus"; 991 this.moreMenuSelector = safeOptions.moreMenuSelector || 'li:has(> a[href="#"])'; 992 this.alwaysVisibleSelector = safeOptions.alwaysVisibleSelector || ".module-9999"; 993 this._isInit = false; 994 this._resizeTimeout = null; 995 this._onResize = this._onResize.bind(this); 996 } 997 init() { 998 if (this._isInit) { 999 return; 1000 } 1001 this._isInit = true; 1002 window.addEventListener("resize", this._onResize); 1003 if (document.fonts && document.fonts.ready) { 1004 document.fonts.ready.then(() => { 1005 requestAnimationFrame(() => { 1006 requestAnimationFrame(() => { 1007 this._updateMenuVisibility(); 1008 }); 1009 }); 1010 }); 1011 } else { 1012 requestAnimationFrame(() => { 1013 requestAnimationFrame(() => { 1014 this._updateMenuVisibility(); 1015 }); 1016 }); 1017 } 1018 } 1019 destroy() { 1020 if (!this._isInit) { 1021 return; 1022 } 1023 this._isInit = false; 1024 window.removeEventListener("resize", this._onResize); 1025 if (this._resizeTimeout) { 1026 clearTimeout(this._resizeTimeout); 1027 this._resizeTimeout = null; 1028 } 1029 } 1030 _onResize() { 1031 if (this._resizeTimeout) { 1032 clearTimeout(this._resizeTimeout); 1033 } 1034 this._resizeTimeout = setTimeout(() => { 1035 this._updateMenuVisibility(); 1036 }, 100); 1037 } 1038 _updateMenuVisibility() { 1039 const nav = document.querySelector(this.navSelector); 1040 const ul = nav == null ? void 0 : nav.querySelector(this.ulSelector); 1041 const benuPlus = ul == null ? void 0 : ul.querySelector(this.benuPlusSelector); 1042 const moreMenu = ul == null ? void 0 : ul.querySelector(this.moreMenuSelector); 1043 const alwaysVisibleItem = ul == null ? void 0 : ul.querySelector(this.alwaysVisibleSelector); 1044 if (!nav || !ul) { 1045 return; 1046 } 1047 const allMenuItems = Array.from(ul.querySelectorAll(":scope > li.lvl-1"));
1048 allMenuItems.forEach((item) => { 1049 item.style.removeProperty("display"); 1050 }); 1051 nav.offsetHeight; 1052 const navWidth = nav.getBoundingClientRect().width; 1053 const benuPlusWidth = benuPlus ? benuPlus.getBoundingClientRect().width : 0; 1054 const moreMenuWidth = moreMenu ? moreMenu.getBoundingClientRect().width : 0; 1055 const alwaysVisibleWidth = alwaysVisibleItem ? alwaysVisibleItem.getBoundingClientRect().width : 0; 1056 const availableWidth = navWidth - benuPlusWidth - moreMenuWidth - alwaysVisibleWidth; 1057 const menuItems = allMenuItems.filter( 1058 (item) => !item.classList.contains("module-9999") 1059 ); 1060 const moreSubMenu = moreMenu == null ? void 0 : moreMenu.querySelector(".bnuSubMenu"); 1061 if (alwaysVisibleItem) { 1062 alwaysVisibleItem.style.removeProperty("display"); 1063 } 1064 if (moreSubMenu) { 1065 const moreItems = moreSubMenu.querySelectorAll("li"); 1066 moreItems.forEach((item) => { 1067 item.style.display = "none"; 1068 }); 1069 } 1070 let currentWidth = 0; 1071 const hiddenItems = []; 1072 menuItems.forEach((item) => { 1073 const itemWidth = item.getBoundingClientRect().width; 1074 currentWidth += itemWidth; 1075 if (currentWidth > availableWidth) { 1076 item.style.display = "none"; 1077 hiddenItems.push(item); 1078 } 1079 }); 1080 if (moreSubMenu && hiddenItems.length > 0) { 1081 moreMenu.style.removeProperty("display"); 1082 hiddenItems.forEach((hiddenItem) => { 1083 const hiddenLink = hiddenItem.querySelector("a"); 1084 if (hiddenLink) { 1085 const href = hiddenLink.getAttribute("href"); 1086 const moreLink = moreSubMenu.querySelector(`a[href="${href}"]`); 1087 if (moreLink) { 1088 moreLink.closest("li").style.removeProperty("display"); 1089 } 1090 } 1091 }); 1092 } else if (moreMenu && hiddenItems.length === 0) { 1093 moreMenu.style.display = "none"; 1094 } 1095 } 1096 update() { 1097 this._updateMenuVisibility(); 1098 } 1099 }; 1100 1101 // www/application/resources/js/footer.js 1102 function initFooterMenuAccordions() { 1103 const items = () => document.querySelectorAll(".bnuFooterWidget--menu details.bnuAccordion__item"); 1104 const mq = window.matchMedia("(max-width: 768px)"); 1105 const sync = () => {
1106 items().forEach((el) => { 1107 el.open = !mq.matches; 1108 }); 1109 }; 1110 sync(); 1111 mq.addEventListener("change", sync); 1112 } 1113 1114 // www/application/resources/js/inputs.js 1115 var Inputs = class { 1116 constructor() { 1117 this._isInit = false; 1118 this._onInput = this._onInput.bind(this); 1119 this._onClick = this._onClick.bind(this); 1120 this._onFocusIn = this._onFocusIn.bind(this); 1121 this._onFocusOut = this._onFocusOut.bind(this); 1122 } 1123 init() { 1124 if (this._isInit) { 1125 return; 1126 } 1127 this._isInit = true; 1128 document.addEventListener("input", this._onInput); 1129 document.addEventListener("click", this._onClick); 1130 document.addEventListener("focusin", this._onFocusIn); 1131 document.addEventListener("focusout", this._onFocusOut); 1132 } 1133 destroy() { 1134 if (!this._isInit) { 1135 return; 1136 } 1137 this._isInit = false; 1138 document.removeEventListener("input", this._onInput); 1139 document.removeEventListener("click", this._onClick); 1140 document.removeEventListener("focusin", this._onFocusIn); 1141 document.removeEventListener("focusout", this._onFocusOut); 1142 } 1143 _onClick(event) { 1144 const toggle = event.target.closest("[data-password-toggle]"); 1145 if (!(toggle instanceof HTMLButtonElement)) { 1146 return; 1147 } 1148 const input = this._getPasswordInput(toggle); 1149 if (!input || input.disabled) { 1150 return; 1151 } 1152 const isVisible = input.type === "text"; 1153 const nextIsVisible = !isVisible; 1154 input.type = nextIsVisible ? "text" : "password"; 1155 toggle.setAttribute("aria-pressed", nextIsVisible ? "true" : "false"); 1156 toggle.setAttribute( 1157 "aria-label", 1158 nextIsVisible ? toggle.dataset.hideLabel : toggle.dataset.showLabel 1159 ); 1160 const icon = toggle.querySelector("i"); 1161 if (icon) { 1162 icon.classList.toggle("fa-eye", !nextIsVisible); 1163 icon.classList.toggle("fa-eye-slash", nextIsVisible); 1164 } 1165 } 1166 _getPasswordInput(toggle) { 1167 var _a; 1168 const inputId = toggle.getAttribute("aria-controls"); 1169 if (inputId) { 1170 const controlledInput = document.getElementById(inputId); 1171 if (controlledInput instanceof HTMLInputElement) { 1172 return controlledInput; 1173 } 1174 } 1175 return (_a = toggle.closest(".bnuInputWrap")) == null ? void 0 : _a.querySelector("input.bnuInput"); 1176 } 1177 _onInput(event) { 1178 const input = event.target; 1179 if (!(input instanceof HTMLInputElement)) { 1180 return; 1181 } 1182 if (input.matches("[data-only-numbers]")) { 1183 input.value = input.value.replace(/\D/g, ""); 1184 return; 1185 } 1186 if (input.matches("[data-phone]")) { 1187 let value = input.value.replace(/[^\d+]/g, ""); 1188 value = value.replace(/\+/g, function(match, offset) { 1189 return offset === 0 ? "+" : ""; 1190 }); 1191 input.value = value; 1192 } 1193 if (input.matches("[data-password-strength]")) { 1194 this._updatePasswordStrength(input); 1195 } 1196 } 1197 _onFocusIn(event) { 1198 const input = event.target; 1199 if (input instanceof HTMLInputElement && input.matches("[data-password-strength]")) { 1200 this._togglePasswordRequirements(input, true); 1201 } 1202 } 1203 _onFocusOut(event) { 1204 const input = event.target; 1205 if (input instanceof HTMLInputElement && input.matches("[data-password-strength]")) { 1206 this._togglePasswordRequirements(input, false); 1207 } 1208 } 1209 _togglePasswordRequirements(input, show) { 1210 const wrap = input.closest(".bnuInputWrap"); 1211 const requirements = wrap ? wrap.querySelector("[data-password-requirements]") : null; 1212 if (requirements) { 1213 requirements.hidden = !show; 1214 } 1215 } 1216 _updatePasswordStrength(input) { 1217 const wrap = input.closest(".bnuInputWrap"); 1218 const requirements = wrap ? wrap.querySelector("[data-password-requirements]") : null; 1219 const meter = wrap ? wrap.querySelector("[data-password-strength-meter]") : null; 1220 const value = input.value; 1221 const criteria = { 1222 length: value.length >= 8 && value.length <= 20, 1223 capital: /[A-Z]/.test(value), 1224 lowercase: /[a-z]/.test(value), 1225 number: /[0-9]/.test(value) 1226 }; 1227 if (requirements) {
1228 Object.keys(criteria).forEach((key) => { 1229 const item = requirements.querySelector('[data-criterion="' + key + '"]'); 1230 if (item) { 1231 item.classList.toggle("is-valid", criteria[key]); 1232 item.classList.toggle("is-invalid", !criteria[key]); 1233 } 1234 }); 1235 } 1236 if (meter) { 1237 this._updatePasswordMeter(meter, value); 1238 if (!meter.hidden && wrap) { 1239 this._clearInputErrors(wrap, input, meter); 1240 } 1241 } 1242 } 1243 _clearInputErrors(wrap, input, except) { 1244 wrap.querySelectorAll(".bnuInputInfoBox").forEach((box) => { 1245 if (box !== except) { 1246 box.remove(); 1247 } 1248 }); 1249 wrap.classList.remove("error"); 1250 input.removeAttribute("aria-invalid"); 1251 } 1252 _updatePasswordMeter(meter, value) { 1253 if (value.length === 0) { 1254 meter.hidden = true; 1255 return; 1256 } 1257 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); 1258 const levels = ["veryweak", "veryweak", "weak", "medium", "strong"]; 1259 const level = levels[score]; 1260 const variants = { 1261 veryweak: "bnuInputInfoBox--error", 1262 weak: "bnuInputInfoBox--error", 1263 medium: "bnuInputInfoBox--warning", 1264 strong: "bnuInputInfoBox--success" 1265 }; 1266 const valueEl = meter.querySelector("[data-password-strength-value]"); 1267 if (valueEl) { 1268 valueEl.textContent = meter.dataset["label" + level.charAt(0).toUpperCase() + level.slice(1)] || ""; 1269 } 1270 meter.classList.remove( 1271 "bnuInputInfoBox--error", 1272 "bnuInputInfoBox--warning", 1273 "bnuInputInfoBox--success" 1274 ); 1275 meter.classList.add(variants[level]); 1276 meter.dataset.strength = level; 1277 meter.hidden = false; 1278 } 1279 }; 1280 1281 // www/application/resources/js/product-search.js 1282 var CHAR_MAP = { 1283 a: /[ÃÃÃÃÃà à áâãäåÄÄÄÄÄÄ ÇÇǺǻ]/gi, 1284 ae: /[ÃæǼǽ]/gi, 1285 c: /[ÃçÄÄÄÄÄÄÄÄ]/gi, 1286 d: /[ÃÄÄÄÄ]/gi, 1287 e: /[ÃÃÃÃèéêëÄÄÄÄÄÄÄÄÄÄ]/gi, 1288 f: /[Æ]/gi, 1289 g: /[ÄÄÄÄÄ Ä¡Ä¢Ä£]/gi, 1290 h: /[ĤĥĦħ]/gi, 1291 i: /[ÃÃÃÃìÃîïĨĩĪīĬÄĮįİıÇÇ]/gi, 1292 ij: /[IJij]/gi, 1293 j: /[Ĵĵ]/gi, 1294 k: /[Ķķ]/gi, 1295 l: /[ĹĺĻļĽľĿÅÅÅ]/gi, 1296 n: /[ÃñÅÅÅ ÅÅÅÅ]/gi, 1297 o: /[ÃÃÃÃÃÃòóôõöøÅÅÅÅÅÅÆ Æ¡ÇÇǾǿ]/gi, 1298 oe: /[ÅÅ]/gi, 1299 r: /[ÅÅÅÅÅÅ]/gi, 1300 s: /[ÃÅÅÅÅÅÅŠšſ]/gi, 1301 t: /[ŢţŤťŦŧ]/gi, 1302 u: /[ÃÃÃÃùúûüŨũŪūŬÅŮůŰűŲųƯưÇÇÇÇÇÇÇÇÇÇ]/gi, 1303 w: /[Ŵŵ]/gi, 1304 y: /[ÃýÿŶŷŸ]/gi, 1305 z: /[ŹźŻżŽž]/gi, 1306 "-": /[â]/gi, 1307 " ": /[âââ¹âºâââ«»â]/gi 1308 }; 1309 var NORMALIZED_FIELDS = [ 1310 { source: "nameCache", normalized: "nameCacheNormalized" }, 1311 { source: "activeSubstance", normalized: "activeSubstanceNormalized" }, 1312 { source: "composition", normalized: "compositionNormalized" }, 1313 { source: "searchCache", normalized: "searchCacheNormalized" }, 1314 { source: "keywordsCache", normalized: "keywordsCacheNormalized" } 1315 ]; 1316 var TOKENIZED_FIELDS = NORMALIZED_FIELDS.reduce( 1317 (fields, field) => fields.concat(field.source, field.normalized), 1318 [] 1319 ); 1320 var DEFAULT_CONFIG = { 1321 source: "application/modules/products/ajax/getProducts.php?search=%QUERY&langID=%langID", 1322 minLength: 3, 1323 limit: 0, 1324 inputClass: "bnuProductSearch__input", 1325 multiple: false, 1326 separator: ",", 1327 ajax: null, 1328 labels: { 1329 notFound: "", 1330 rxProduct: "", 1331 remove: "" 1332 } 1333 }; 1334 var QUERY_PLACEHOLDER = /%QUERY/g; 1335 var AJAX_DEBOUNCE = 300; 1336 function normalize(value) { 1337 let result = String(value === void 0 || value === null ? "" : value); 1338 Object.keys(CHAR_MAP).forEach((replacement) => { 1339 result = result.replace(CHAR_MAP[replacement], replacement); 1340 }); 1341 return result; 1342 } 1343 function escapeHtml(value) { 1344 return String(value === void 0 || value === null ? "" : value).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"); 1345 } 1346 function stripHtml(value) { 1347 return String(value === void 0 || value === null ? "" : value).replace(/<[^>]*>/g, ""); 1348 } 1349 function currentLang() { 1350 return window.intuero && window.intuero.lang || ""; 1351 } 1352 function suggestionNameHtml(suggestion) { 1353 const localized = suggestion && suggestion.langData && suggestion.langData.name && suggestion.langData.name[currentLang()]; 1354 return localized || suggestion.name || ""; 1355 } 1356 function suggestionNamePlain(suggestion) { 1357 return stripHtml(suggestionNameHtml(suggestion)); 1358 } 1359 function withQuery(value, query) { 1360 if (Array.isArray(value)) { 1361 return value.map((item) => withQuery(item, query)); 1362 } 1363 if (value !== null && typeof value === "object") { 1364 return Object.keys(value).reduce((result, key) => {
1365 result[key] = withQuery(value[key], query); 1366 return result; 1367 }, {}); 1368 } 1369 if (typeof value === "string") { 1370 return value.replace(QUERY_PLACEHOLDER, query); 1371 } 1372 return value; 1373 } 1374 function normalizeSuggestions(payload) { 1375 if (!payload) { 1376 return []; 1377 } 1378 const items = Array.isArray(payload) ? payload : Object.keys(payload).map((key) => payload[key]); 1379 return items.filter((item) => item !== null && typeof item === "object"); 1380 } 1381 function chipHtml(item, config) { 1382 const removeLabel = [config.labels.remove, item.name].filter((part) => part !== "").join(" "); 1383 let html = '<span class="bnuProductSearch__chip" data-product-search-chip data-value="' + escapeHtml(item.id) + '">'; 1384 html += '<span class="bnuProductSearch__chipLabel">' + escapeHtml(item.name) + "</span>"; 1385 html += '<button type="button" class="bnuProductSearch__chipRemove" data-product-search-remove aria-label="' + escapeHtml(removeLabel) + '">×</button>'; 1386 html += "</span>"; 1387 return html; 1388 } 1389 var ProductSearch = class { 1390 constructor(options) { 1391 const resolvedOptions = options ?? {}; 1392 this.selector = resolvedOptions.selector === void 0 ? "[data-product-search]" : resolvedOptions.selector; 1393 this._isInit = false; 1394 this._initializedRoots = /* @__PURE__ */ new WeakSet(); 1395 } 1396 init() { 1397 if (this._isInit) { 1398 return; 1399 } 1400 this._isInit = true; 1401 this.refresh(); 1402 } 1403 // Re-scan the DOM for product search roots and initialize any that are new. 1404 // Safe to call after dynamically injecting the markup (e.g. via AJAX); 1405 // already-initialized roots are skipped via the WeakSet guard in _initRoot. 1406 refresh() { 1407 document.querySelectorAll(this.selector).forEach((root) => { 1408 this._initRoot(root); 1409 }); 1410 } 1411 _initRoot(root) { 1412 const $2 = window.jQuery; 1413 if (!(root instanceof HTMLElement) || this._initializedRoots.has(root)) { 1414 return; 1415 } 1416 if (!$2 || typeof window.Bloodhound !== "function" || typeof $2.fn.typeahead !== "function") { 1417 return; 1418 } 1419 const input = root.querySelector('input[type="search"], input.bnuInput'); 1420 if (!(input instanceof HTMLInputElement)) { 1421 return; 1422 } 1423 this._initializedRoots.add(root); 1424 const config = this._readConfig(root); 1425 const menu = root.querySelector("[data-product-search-menu]"); 1426 const selectedList = root.querySelector("[data-product-search-selected]"); 1427 const state = { 1428 root, 1429 input, 1430 menu, 1431 valueField: root.querySelector("[data-product-search-value]"), 1432 selectedList, 1433 config, 1434 selected: this._readSelected(selectedList) 1435 }; 1436 const $input = $2(input); 1437 $input.typeahead( 1438 { 1439 highlight: true, 1440 minLength: config.minLength, 1441 // Supplying the menu and opting out of the hint keeps typeahead from 1442 // wrapping the input in a span.twitter-typeahead of its own. 1443 menu, 1444 hint: false, 1445 classNames: { 1446 input: config.inputClass 1447 } 1448 }, 1449 { 1450 name: "products", 1451 source: this._createSource(state), 1452 display: (suggestion) => suggestionNamePlain(suggestion), 1453 limit: config.limit > 0 ? config.limit : Infinity, 1454 templates: { 1455 notFound: () => '<div class="noResults">' + escapeHtml(config.labels.notFound) + "</div>", 1456 pending: (data) => this._renderPending(data, config), 1457 suggestion: (data) => this._renderSuggestion(data, config) 1458 } 1459 } 1460 ).on("typeahead:beforeselect", (event, suggestion) => { 1461 if (!config.multiple) { 1462 return; 1463 } 1464 event.preventDefault(); 1465 this._addSelected(state, suggestion); 1466 }).on("typeahead:select", (event, suggestion) => { 1467 const name = suggestionNamePlain(suggestion); 1468 $2(event.currentTarget).typeahead("val", name); 1469 if (state.valueField) { 1470 state.valueField.value = suggestion.ID; 1471 $2(state.valueField).trigger("change"); 1472 } 1473 $2(state.root).trigger("productSearch:select", [suggestion]); 1474 }); 1475 if (!config.multiple) { 1476 return; 1477 }
1478 $input.on("keydown", (event) => { 1479 if (event.key === "Enter" && $input.typeahead("isOpen")) { 1480 event.preventDefault(); 1481 } 1482 }); 1483 if (selectedList) { 1484 $2(selectedList).on("click", "[data-product-search-remove]", (event) => { 1485 event.preventDefault(); 1486 const chip = event.currentTarget.closest("[data-product-search-chip]"); 1487 if (chip) { 1488 this._removeSelected(state, chip.getAttribute("data-value")); 1489 } 1490 }); 1491 } 1492 } 1493 _readConfig(root) { 1494 let config = {}; 1495 try { 1496 config = JSON.parse(root.getAttribute("data-product-search") || "{}"); 1497 } catch (error) { 1498 config = {}; 1499 } 1500 return { 1501 ...DEFAULT_CONFIG, 1502 ...config, 1503 labels: { ...DEFAULT_CONFIG.labels, ...config.labels || {} } 1504 }; 1505 } 1506 // Selected items are rendered server side so a prefilled field survives a 1507 // page reload; read them back instead of keeping a separate source of truth. 1508 _readSelected(selectedList) { 1509 if (!selectedList) { 1510 return []; 1511 } 1512 return [...selectedList.querySelectorAll("[data-product-search-chip]")].map((chip) => { 1513 const label = chip.querySelector(".bnuProductSearch__chipLabel"); 1514 return { 1515 id: String(chip.getAttribute("data-value") || ""), 1516 name: label ? label.textContent.trim() : "" 1517 }; 1518 }).filter((item) => item.id !== ""); 1519 } 1520 // The typed phrase is left in the input so the menu keeps showing the rest of 1521 // its results; only the picked product is taken out of them. 1522 _addSelected(state, suggestion) { 1523 const id = String(suggestion.ID); 1524 if (id !== "" && !state.selected.some((item) => item.id === id)) { 1525 state.selected.push({ id, name: suggestionNamePlain(suggestion) }); 1526 this._renderSelected(state); 1527 this._syncValue(state); 1528 } 1529 this._dropSuggestion(state, id); 1530 window.jQuery(state.root).trigger("productSearch:select", [suggestion]); 1531 } 1532 // Dropping the node beats refetching the suggestions, which would empty and 1533 // rebuild the menu. Once nothing is left to pick the menu is closed, since 1534 // typeahead only marks the menu empty while rendering a dataset. 1535 _dropSuggestion(state, id) { 1536 if (!state.menu) { 1537 return; 1538 } 1539 state.menu.querySelectorAll(".tt-suggestion").forEach((node) => { 1540 if (node.getAttribute("data-prid") === id) { 1541 node.remove(); 1542 } 1543 }); 1544 if (!state.menu.querySelector(".tt-suggestion")) { 1545 window.jQuery(state.input).typeahead("close"); 1546 } 1547 } 1548 _removeSelected(state, id) { 1549 const value = String(id || ""); 1550 const index = state.selected.findIndex((item) => item.id === value); 1551 if (index === -1) { 1552 return; 1553 } 1554 state.selected.splice(index, 1); 1555 this._renderSelected(state); 1556 this._syncValue(state); 1557 } 1558 _renderSelected(state) { 1559 if (!state.selectedList) { 1560 return; 1561 } 1562 state.selectedList.innerHTML = state.selected.map((item) => chipHtml(item, state.config)).join(""); 1563 } 1564 _syncValue(state) { 1565 const $2 = window.jQuery; 1566 if (state.valueField) { 1567 state.valueField.value = state.selected.map((item) => item.id).join(state.config.separator); 1568 $2(state.valueField).trigger("change"); 1569 } 1570 $2(state.root).trigger("productSearch:change", [state.selected.slice()]); 1571 } 1572 // Typeahead gets a three argument source so it treats the dataset as async. 1573 // Already selected products are filtered out of both result batches. 1574 _createSource(state) { 1575 const fetch = state.config.ajax && state.config.ajax.className ? this._createAjaxFetch(state.config) : this._createEngineFetch(state.config); 1576 return (query, sync, async) => { 1577 fetch( 1578 query, 1579 (results) => sync(this._filterSelected(results, state)), 1580 (results) => async(this._filterSelected(results, state)) 1581 ); 1582 }; 1583 } 1584 _filterSelected(results, state) { 1585 if (!state.config.multiple || !Array.isArray(results) || state.selected.length === 0) { 1586 return results; 1587 } 1588 const taken = state.selected.map((item) => item.id); 1589 return results.filter((item) => taken.indexOf(String(item.ID)) === -1); 1590 } 1591 _createEngineFetch(config) { 1592 const engine = this._createEngine(config); 1593 engine.initialize(); 1594 return (query, sync, async) => engine.search(query, sync, async); 1595 } 1596 // Suggestions coming from a class method go through ajaxHelper, which handles 1597 // the AK token and argument validation, so no dedicated endpoint is needed. 1598 _createAjaxFetch(config) { 1599 let timer = null; 1600 let requestId = 0; 1601 return (query, sync, async) => { 1602 sync([]); 1603 if (typeof window.ajaxHelper !== "function") { 1604 async([]); 1605 return; 1606 } 1607 clearTimeout(timer); 1608 const currentRequest = ++requestId; 1609 timer = setTimeout(() => { 1610 window.ajaxHelper( 1611 { 1612 className: config.ajax.className, 1613 methodName: config.ajax.methodName, 1614 args: withQuery(config.ajax.args || {}, query) 1615 }, 1616 (response) => { 1617 if (currentRequest !== requestId) { 1618 return; 1619 } 1620 async(normalizeSuggestions(response && response.success ? response.return : null)); 1621 } 1622 ); 1623 }, AJAX_DEBOUNCE); 1624 }; 1625 } 1626 _createEngine(config) { 1627 const $2 = window.jQuery; 1628 const Bloodhound = window.Bloodhound; 1629 return new Bloodhound({ 1630 datumTokenizer: (datum) => { 1631 const tokens = []; 1632 TOKENIZED_FIELDS.forEach((field) => { 1633 Bloodhound.tokenizers.whitespace(datum[field]).forEac
1633h((token) => { 1634 for (let i = 0; i < token.length; i++) { 1635 tokens.push(token.substr(i, token.length)); 1636 } 1637 }); 1638 }); 1639 return [...new Set(tokens)]; 1640 }, 1641 queryTokenizer: (query) => { 1642 if (!query) { 1643 return Bloodhound.tokenizers.whitespace(query); 1644 } 1645 return Bloodhound.tokenizers.whitespace(normalize(query.toLowerCase())); 1646 }, 1647 sorter: (itemA, itemB) => { 1648 if (itemA.order < itemB.order) { 1649 return -1; 1650 } 1651 if (itemA.order > itemB.order) { 1652 return 1; 1653 } 1654 return 0; 1655 }, 1656 remote: { 1657 url: config.source, 1658 rateLimitWait: 600, 1659 prepare: (query, settings) => { 1660 const term = query.length < config.minLength ? "" : query; 1661 settings.url = settings.url.replace("%QUERY", term).replace("%langID", currentLang()); 1662 return settings; 1663 }, 1664 transform: (response) => { 1665 if (!response || response.length === 0) { 1666 return response; 1667 } 1668 return $2.map(response, (product) => { 1669 NORMALIZED_FIELDS.forEach((field) => { 1670 if (product[field.source]) { 1671 product[field.normalized] = normalize(product[field.source].toLowerCase()); 1672 } 1673 }); 1674 return product; 1675 }); 1676 } 1677 } 1678 }); 1679 } 1680 _renderPending(data, config) { 1681 const query = data && data.query || ""; 1682 const campaignsCount = typeof window.campaignsCount === "number" ? window.campaignsCount : 0; 1683 if (query.length >= config.minLength || query.length === 0 && campaignsCount > 0) { 1684 return '<div class="loading"></div>'; 1685 } 1686 return ""; 1687 } 1688 // Name/price/badges arrive as trusted server HTML (showMoney spans, campaign 1689 // labels, badge markup). Escape only attribute values and plain labels. 1690 // Sources that only return an ID and a name (e.g. prescription item search) 1691 // render as a plain name row, so image and meta blocks are skipped when the 1692 // data behind them is missing. 1693 _renderSuggestion(data, config) { 1694 const nameHtml = suggestionNameHtml(data); 1695 const namePlain = suggestionNamePlain(data); 1696 const badgesHtml = data.badges || ""; 1697 const isRx = data.drugType === "RX"; 1698 const hasMeta = badgesHtml !== "" || isRx || Boolean(data.price); 1699 let html = '<a class="searchProduct" data-prid="' + escapeHtml(data.ID) + '" data-impression="' + escapeHtml(data.impressionData) + '">'; 1700 if (data.thumb) { 1701 html += '<div class="searchProduct__image">'; 1702 html += '<img src="' + escapeHtml(data.thumb) + '" alt="' + escapeHtml(namePlain) + '">'; 1703 html += "</div>"; 1704 } 1705 html += '<div class="searchProduct__body">'; 1706 html += '<p class="searchProduct__name">' + nameHtml + "</p>"; 1707 if (hasMeta) { 1708 html += '<div class="searchProduct__meta">'; 1709 if (badgesHtml) { 1710 html += '<div class="searchProduct__badges">' + badgesHtml + "</div>"; 1711 } 1712 if (isRx) { 1713 html += '<div class="searchProduct__drugProduct">' + escapeHtml(config.labels.rxProduct) + "</div>"; 1714 } else if (data.price) { 1715 html += '<div class="searchProduct__price">'; 1716 if (data.oldPrice) { 1717 html += '<span class="searchProduct__priceOld">' + data.oldPrice + "</span>"; 1718 } 1719 html += '<span class="searchProduct__priceRegular">' + data.price + "</span>"; 1720 html += "</div>"; 1721 } 1722 html += "</div>"; 1723 } 1724 html += "</div>"; 1725 html += "</a>"; 1726 return html; 1727 } 1728 }; 1729 1730 // www/application/resources/js/forms.js 1731 var Forms = class { 1732 constructor() { 1733 this._isInit = false; 1734 this.collectFormData = this.collectFormData.bind(this); 1735 this.clearFormErrors = this.clearFormErrors.bind(this); 1736 this.handleFormCallback = this.handleFormCallback.bind(this); 1737 } 1738 init() { 1739 if (this._isInit) { 1740 return; 1741 } 1742 this._isInit = true; 1743 window.collectFormData = this.collectFormData; 1744 window.clearFormErrors = this.clearFormErrors; 1745 window.handleFormCallback = this.handleFormCallback; 1746 } 1747 destroy() { 1748 if (!this._isInit) { 1749 return; 1750 } 1751 this._isInit = false;
1752 if (window.collectFormData === this.collectFormData) { 1753 delete window.collectFormData; 1754 } 1755 if (window.clearFormErrors === this.clearFormErrors) { 1756 delete window.clearFormErrors; 1757 } 1758 if (window.handleFormCallback === this.handleFormCallback) { 1759 delete window.handleFormCallback; 1760 } 1761 } 1762 collectFormData($form) { 1763 var result = {}; 1764 const formData = $($form).serializeArray(); 1765 $.each(formData, function(index, item) { 1766 result[item.name] = item.value; 1767 }); 1768 $($form).find("input[type=checkbox]").each(function() { 1769 if (!this.checked) { 1770 result[this.name] = 0; 1771 } 1772 }); 1773 var dateFields = $($form).find("[data-datefieldname]"); 1774 var pad = function(value) { 1775 return String(value).length === 1 ? "0" + value : String(value); 1776 }; 1777 $.each(dateFields, function(index, item) { 1778 var fldName = $(item).data("datefieldname"); 1779 var year = result[fldName + "[year]"]; 1780 var month = result[fldName + "[month]"]; 1781 var day = result[fldName + "[day]"]; 1782 var hasYear = typeof year != "undefined" && year !== ""; 1783 var hasMonth = typeof month != "undefined" && month !== ""; 1784 var hasDay = typeof day != "undefined" && day !== ""; 1785 if (!hasYear && !hasMonth && !hasDay) { 1786 result[fldName] = null; 1787 } else if (!hasYear || !hasMonth || !hasDay) {
1788 result[fldName] = "invalid"; 1789 } else { 1790 result[fldName] = year + "-" + pad(month) + "-" + pad(day); 1791 delete result[fldName + "[year]"]; 1792 delete result[fldName + "[month]"]; 1793 delete result[fldName + "[day]"]; 1794 } 1795 }); 1796 var data = {}; 1797 var temp = []; 1798 $.each(result, function(key, val) { 1799 if (key.indexOf("[") > -1) { 1800 temp = key.split("["); 1801 temp[1] = temp[1].slice(0, -1); 1802 if (typeof data[temp[0]] == "undefined") { 1803 data[temp[0]] = {}; 1804 } 1805 if (typeof temp[2] != "undefined") { 1806 temp[2] = temp[2].slice(0, -1); 1807 if (typeof data[temp[0]][temp[1]] == "undefined") { 1808 data[temp[0]][temp[1]] = {}; 1809 } 1810 data[temp[0]][temp[1]][temp[2]] = val; 1811 } else { 1812 data[temp[0]][temp[1]] = val; 1813 } 1814 } else { 1815 data[key] = val; 1816 } 1817 }); 1818 return data; 1819 } 1820 clearFormErrors($form) { 1821 $form.find(".bnuErrorBox").html(""); 1822 $form.find('[aria-invalid="true"]').removeAttr("aria-invalid"); 1823 $form.find(".bnuInputInfoBox--error").remove(); 1824 } 1825 handleFormCallback(callback, options) { 1826 if (typeof options != "object") { 1827 var options = {}; 1828 } 1829 if (typeof options.loader != "undefined") { 1830 setTimeout(function() { 1831 closeLoader(options.loader); 1832 }, 200); 1833 } 1834 var err = {}; 1835 var errString = { "_global": "" }; 1836 var $form = null; 1837 if (typeof options.form != "undefined") { 1838 $form = $(options.form); 1839 } 1840 if (typeof callback.return.htmlTarget != "undefined") { 1841 $form = $(callback.return.htmlTarget); 1842 } 1843 if (callback.success == false) { 1844 if (typeof callback.return == "undefined") { 1845 callback.return = {}; 1846 } 1847 callback.return.errors = { "_global": { "failed": "Unexpected error occurred. #E12" } }; 1848 } 1849 if (callback.return.callback) { 1850 if (typeof window[callback.return.callback.action] == "function") { 1851 var callbackData = {}; 1852 if (typeof callback.return.callback.data != "undefined") { 1853 callbackData = callback.return.callback.data; 1854 } 1855 window[callback.return.callback.action](callbackData); 1856 return; 1857 } 1858 } 1859 if (callback.return.url) { 1860 window.location.href = callback.return.url; 1861 return; 1862 } 1863 if (callback.return.URL) { 1864 window.location.href = callback.return.URL; 1865 return; 1866 } 1867 if ($form) { 1868 if (typeof callback.return.html != "undefined") { 1869 $form.html(callback.return.html); 1870 } 1871 if (typeof callback.return.HTML != "undefined") { 1872 $form.html(callback.return.HTML); 1873 } 1874 } 1875 if (callback.return.errors) { 1876 $.each(callback.return.errors, function(fName, errors) { 1877 if (typeof err[fName] == "undefined") { 1878 err[fName] = []; 1879 } 1880 if (typeof errors == "object") { 1881 $.each(errors, function(ek, error) { 1882 err[fName].push(error); 1883 }); 1884 } else { 1885 err[fName].push(errors); 1886 } 1887 }); 1888 } 1889 $.each(err, function(fName, errors) { 1890 errString[fName] = errors.join("<br>"); 1891 if (fName != "_global") { 1892 var $container = null; 1893 var $field = null; 1894 var showErrorText = true; 1895 if ($container = options.form) { 1896 $field = options.form.find('[name="' + fName + '"]'); 1897 $container = $field.closest(".bnuInputWrap"); 1898 if (!$container.length) { 1899 $container = $field.parent(); 1900 } 1901 if ($field.attr("type") == "checkbox" || $field.attr("type") == "radio") { 1902 showErrorText = false; 1903 $container = $field.closest(".bnuChoiceWrap"); 1904 if (!$container.length) { 1905 $container = $field.parent(); 1906 } 1907 } 1908 } 1909 if ($container) { 1910 $container.addClass("error"); 1911 if (showErrorText) { 1912 var errorHtml = '<p class="bnuInputInfoBox bnuInputInfoBox--error">' + errString[fName] + "</p>"; 1913 $container.append(errorHtml); 1914 } 1915 if ($field) { 1916 $field.attr("aria-invalid", "true"); 1917 } 1918 } else { 1919 errString["_global"] += "<br>" + errString[fName]; 1920 } 1921 } 1922 }); 1923 if (errString["_global"] != "") { 1924 var $globalErrContainer = null; 1925 if (typeof options.globalErrContainer != "undefined") { 1926 $globalErrContainer = options.globalErrContainer; 1927 } else { 1928 if (typeof options.form != "undefined") { 1929 $globalErrContainer = options.form.find(".globalErrors"); 1930 } 1931 } 1932 if ($globalErrContainer) { 1933 $globalErrContainer.html(errString["_global"]); 1934 } else { 1935 alert(errString["_global"]); 1936 } 1937 } 1938 } 1939 }; 1940 1941 // www/application/resources/js/dialog.js 1942 var DIALOG_CLOSE_FORM_SELECTOR = ":scope > [data-dialog-close]"; 1943 var DIALOG_CLOSE_ANIMATION_MS = 200; 1944 var Dialog = class _Dialog { 1945 static getCloseForm(dialog) { 1946 if (!(dialog instanceof HTMLDialogElement)) { 1947 return null; 1948 } 1949 return dialog.querySelector(DIALOG_CLOSE_FORM_SELECTOR); 1950 } 1951 constructor(options) { 1952 const resolvedOptions = options ?? {}; 1953 this.selector = resolvedOptions.selector === void 0 ? "[data-dialog-open]" : resolvedOptions.selector; 1954 this._isInit = false;
1955 this._handleClick = this._handleClick.bind(this); 1956 this.open = this.open.bind(this); 1957 } 1958 init() { 1959 if (this._isInit) { 1960 return; 1961 } 1962 this._isInit = true; 1963 document.addEventListener("click", this._handleClick); 1964 } 1965 destroy() { 1966 if (!this._isInit) { 1967 return; 1968 } 1969 this._isInit = false; 1970 document.removeEventListener("click", this._handleClick); 1971 } 1972 /** 1973 * Open a dialog. 1974 * 1975 * Inline: pass a button/element with data-dialog-open, a dialog id string, 1976 * or the dialog element itself. 1977 * 1978 * AJAX: pass an options object with id and content HTML. 1979 */ 1980 open(target, event) { 1981 const dialog = this._resolveDialog(target) || this._createDialog(target); 1982 if (!(dialog instanceof HTMLDialogElement)) { 1983 return null; 1984 } 1985 this._syncAriaFromContent(dialog); 1986 event == null ? void 0 : event.preventDefault(); 1987 if (typeof dialog.showModal === "function") { 1988 if (!dialog.open) { 1989 dialog.showModal(); 1990 } 1991 } else { 1992 dialog.setAttribute("open", ""); 1993 } 1994 this._setInitialFocus(dialog); 1995 this._syncScrollLock(dialog); 1996 this._bindDialogClose(dialog); 1997 if (Array.isArray(dialog._pendingScripts) && dialog._pendingScripts.length) { 1998 const scripts = dialog._pendingScripts; 1999 dialog._pendingScripts = null; 2000 this._executeScripts(scripts, dialog); 2001 } 2002 return dialog; 2003 } 2004 _handleClick(event) { 2005 const target = event.target; 2006 if (!(target instanceof Element)) { 2007 return; 2008 } 2009 const opener = target.closest(this.selector); 2010 if (opener instanceof HTMLElement) { 2011 this.open(opener, event); 2012 return; 2013 } 2014 if (target instanceof HTMLDialogElement && target.classList.contains("bnuDialog") && target.getAttribute("data-dialog-backdrop-close") !== "false") { 2015 target.close(); 2016 } 2017 } 2018 _createDialog(options) { 2019 if (!options || typeof options !== "object" || options instanceof HTMLElement) { 2020 return null; 2021 } 2022 const id = typeof options.id === "string" && options.id !== "" ? options.id.replace(/^#/, "") : "bnu-dynamic-dialog"; 2023 let dialog = document.getElementById(id); 2024 if (dialog instanceof HTMLDialogElement) { 2025 this._cancelDialogRemoval(dialog); 2026 } else { 2027 dialog = document.createElement("dialog"); 2028 dialog.id = id; 2029 dialog.setAttribute("data-dialog-dynamic", "true"); 2030 document.body.append(dialog); 2031 } 2032 dialog.setAttribute("data-dialog-dynamic", "true"); 2033 dialog.className = options.className === void 0 ? "bnuDialog" : `bnuDialog ${options.className}`.trim(); 2034 dialog.setAttribute( 2035 "data-dialog-backdrop-close", 2036 options.closeOnBackdrop === false ? "false" : "true" 2037 ); 2038 dialog.setAttribute( 2039 "data-dialog-lock-scroll", 2040 options.lockScroll === true ? "true" : "false" 2041 ); 2042 this._applyAttributes(dialog, options.attributes); 2043 dialog.innerHTML = ""; 2044 dialog.append(this._buildCloseButton()); 2045 const parsedContent = this._parseContent(options.content); 2046 if (parsedContent.node) { 2047 dialog.append(parsedContent.node); 2048 } 2049 if (parsedContent.scripts.length) { 2050 dialog._pendingScripts = parsedContent.scripts; 2051 } 2052 this._syncAriaFromContent(dialog); 2053 return dialog; 2054 } 2055 /** 2056 * Scripts from innerHTML are inert; re-insert them so AJAX dialog content runs. 2057 */ 2058 _executeScripts(root) { 2059 if (!(root instanceof Element)) { 2060 return; 2061 } 2062 root.querySelectorAll("script").forEach((oldScript) => { 2063 const newScript = document.createElement("script"); 2064 for (const attr of oldScript.attributes) { 2065 newScript.setAttribute(attr.name, attr.value); 2066 } 2067 newScript.textContent = oldScript.textContent; 2068 oldScript.replaceWith(newScript); 2069 }); 2070 } 2071 /** 2072 * Keep the close control in the tab order, but do not auto-select it on open. 2073 * Native showModal() otherwise focuses the first focusable node (the X). 2074 */ 2075 _setInitialFocus(dialog) { 2076 const closeForm = _Dialog.getCloseForm(dialog); 2077 const explicitAutofocus = Array.from(dialog.querySelectorAll("[autofocus]")).find((element) => { 2078 return element instanceof HTMLElement && !(closeForm instanceof HTMLElement && closeForm.contains(element)); 2079 }); 2080 if (!dialog.hasAttribute("tabindex")) { 2081 dialog.setAttribute("tabindex", "-1"); 2082 } 2083 const target = explicitAutofocus instanceof HTMLElement ? explicitAutofocus : dialog;
2084 if (typeof target.focus === "function") { 2085 target.focus({ preventScroll: true }); 2086 } 2087 } 2088 _syncAriaFromContent(dialog) { 2089 const titleId = dialog.id + "-title"; 2090 const bodyId = dialog.id + "-body"; 2091 const title = dialog.querySelector("header h2") || dialog.querySelector("h2"); 2092 if (title instanceof HTMLElement) { 2093 if (title.id === "") { 2094 title.id = titleId; 2095 } 2096 if (!dialog.hasAttribute("aria-labelledby")) { 2097 dialog.setAttribute("aria-labelledby", title.id); 2098 } 2099 } 2100 const body = dialog.querySelector("section"); 2101 if (body instanceof HTMLElement) { 2102 if (body.id === "") { 2103 body.id = bodyId; 2104 } 2105 if (!dialog.hasAttribute("aria-describedby")) { 2106 dialog.setAttribute("aria-describedby", body.id); 2107 } 2108 } 2109 } 2110 _applyAttributes(dialog, attributes) { 2111 if (!attributes || typeof attributes !== "object") { 2112 return; 2113 } 2114 Object.keys(attributes).forEach((name) => { 2115 const value = attributes[name]; 2116 if (value === null || value === void 0 || value === false) { 2117 dialog.removeAttribute(name); 2118 return; 2119 } 2120 dialog.setAttribute(name, value === true ? "" : String(value)); 2121 }); 2122 } 2123 _resolveDialog(target) { 2124 if (target instanceof HTMLDialogElement) { 2125 return target; 2126 } 2127 if (typeof target === "string") { 2128 return document.getElementById(target.replace(/^#/, "")); 2129 } 2130 if (!(target instanceof HTMLElement)) { 2131 return null; 2132 } 2133 const dialogId = target.getAttribute("data-dialog-open"); 2134 if (!dialogId) { 2135 return null; 2136 } 2137 return document.getElementById(dialogId.replace(/^#/, "")); 2138 } 2139 _buildCloseButton() { 2140 const closeForm = document.createElement("form"); 2141 closeForm.method = "dialog"; 2142 closeForm.setAttribute("data-dialog-close", ""); 2143 const closeButton = document.createElement("button"); 2144 closeButton.type = "submit"; 2145 closeButton.className = "bnuButton bnuButton--secondarySolid bnuButton--iconOnly"; 2146 closeButton.value = "close"; 2147 closeButton.setAttribute("aria-label", "Close dialog"); 2148 const closeIcon = document.createElement("i"); 2149 closeIcon.className = "fa-regular fa-xmark"; 2150 closeIcon.setAttribute("aria-hidden", "true"); 2151 closeButton.append(closeIcon); 2152 closeForm.append(closeButton); 2153 return closeForm; 2154 } 2155 _parseContent(content) { 2156 if (content === void 0 || content === null || content === "") { 2157 return { node: null, scripts: [] }; 2158 } 2159 if (content instanceof Node) { 2160 return { node: content, scripts: [] }; 2161 } 2162 const wrapper = document.createElement("div"); 2163 wrapper.innerHTML = String(content); 2164 const scripts = Array.from(wrapper.querySelectorAll("script")); 2165 scripts.forEach((script) => script.remove()); 2166 let node = null; 2167 if (wrapper.childNodes.length === 1) { 2168 node = wrapper.firstChild; 2169 } else if (wrapper.childNodes.length > 1) { 2170 const fragment = document.createDocumentFragment(); 2171 while (wrapper.firstChild) { 2172 fragment.appendChild(wrapper.firstChild); 2173 } 2174 node = fragment; 2175 } 2176 return { node, scripts }; 2177 } 2178 _executeScripts(scripts, container) { 2179 if (!scripts.length) { 2180 return; 2181 } 2182 const inlineScriptParent = container || document.body; 2183 const runScript = (index) => { 2184 if (index >= scripts.length) { 2185 return; 2186 } 2187 const original = scripts[index]; 2188 const src = original.getAttribute("src"); 2189 if (src) { 2190 const existing = document.querySelector(`script[src="${CSS.escape(src)}"]`); 2191 if (existing) { 2192 const continueNext = () => runScript(index + 1); 2193 if (existing.dataset.loaded === "true") { 2194 continueNext(); 2195 } else { 2196 existing.addEventListener("load", continueNext, { once: true }); 2197 existing.addEventListener("error", continueNext, { once: true }); 2198 } 2199 return; 2200 } 2201 const script2 = document.createElement("script");
2202 Array.from(original.attributes).forEach((attribute) => { 2203 script2.setAttribute(attribute.name, attribute.value); 2204 }); 2205 script2.addEventListener("load", () => { 2206 script2.dataset.loaded = "true"; 2207 runScript(index + 1); 2208 }, { once: true }); 2209 script2.addEventListener("error", () => runScript(index + 1), { once: true }); 2210 document.head.append(script2); 2211 return; 2212 } 2213 const script = document.createElement("script"); 2214 Array.from(original.attributes).forEach((attribute) => { 2215 script.setAttribute(attribute.name, attribute.value); 2216 }); 2217 script.textContent = original.textContent; 2218 inlineScriptParent.append(script); 2219 runScript(index + 1); 2220 }; 2221 runScript(0); 2222 } 2223 _syncScrollLock(dialog) { 2224 if (dialog.getAttribute("data-dialog-lock-scroll") !== "true") { 2225 return; 2226 } 2227 document.documentElement.classList.add("overflowHidden"); 2228 document.body.classList.add("overflowHidden"); 2229 dialog.addEventListener("close", () => { 2230 document.documentElement.classList.remove("overflowHidden"); 2231 document.body.classList.remove("overflowHidden"); 2232 }, { once: true }); 2233 } 2234 _cancelDialogRemoval(dialog) { 2235 if (dialog._removeTimer) { 2236 window.clearTimeout(dialog._removeTimer); 2237 dialog._removeTimer = null; 2238 } 2239 } 2240 _bindDialogClose(dialog) { 2241 if (dialog.getAttribute("data-dialog-dynamic") !== "true") { 2242 return; 2243 } 2244 dialog.addEventListener("close", () => { 2245 const reduceMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches; 2246 if (reduceMotion) { 2247 dialog.remove(); 2248 return; 2249 } 2250 this._cancelDialogRemoval(dialog); 2251 dialog._removeTimer = window.setTimeout(() => { 2252 dialog._removeTimer = null; 2253 if (dialog.isConnected) { 2254 dialog.remove(); 2255 } 2256 }, DIALOG_CLOSE_ANIMATION_MS); 2257 }, { once: true }); 2258 } 2259 }; 2260 2261 // www/application/resources/js/helper-functions.js 2262 function bnuSetAriaBusy(target, isBusy) { 2263 var $targets = target ? $(target) : $(); 2264 if (!$targets.length) { 2265 return $targets; 2266 } 2267 if (isBusy) { 2268 $targets.attr("aria-busy", "true"); 2269 } else { 2270 $targets.removeAttr("aria-busy"); 2271 } 2272 return $targets; 2273 } 2274 function bnuClearAriaBusy(scope) { 2275 var $targets = scope ? $(scope).filter('[aria-busy="true"]') : $('[aria-busy="true"]'); 2276 return $targets.removeAttr("aria-busy"); 2277 } 2278 window.bnuSetAriaBusy = bnuSetAriaBusy; 2279 window.bnuClearAriaBusy = bnuClearAriaBusy; 2280 function initHeroCarouselSkeletonHosts() { 2281 document.querySelectorAll('[data-hero-carousel-host][aria-busy="true"]').forEach((host) => { 2282 const image = host.querySelector(".bnuHero img"); 2283 const reveal = () => { 2284 bnuSetAriaBusy(host, false); 2285 }; 2286 if (!image) { 2287 reveal(); 2288 return; 2289 } 2290 if (image.complete && image.naturalWidth > 0) { 2291 reveal(); 2292 return; 2293 } 2294 image.addEventListener("load", reveal, { once: true }); 2295 image.addEventListener("error", reveal, { once: true }); 2296 }); 2297 } 2298 window.initHeroCarouselSkeletonHosts = initHeroCarouselSkeletonHosts; 2299 function updateCartPaymentSection(section, html) { 2300 var sectionSelectors = { 2301 giftCard: [ 2302 ".bind-giftCardSection", 2303 "label.BENUGiftCardSection", 2304 "label.BENUEPSSection" 2305 ], 2306 idcs: [ 2307 ".bind-idcsSection", 2308 "label.IDCSSection" 2309 ], 2310 benuMoney: [ 2311 ".bind-benuMoneyWrap" 2312 ] 2313 }; 2314 var selectors = sectionSelectors[section]; 2315 if (!selectors || typeof html === "undefined") { 2316 return false; 2317 } 2318 for (var i = 0; i < selectors.length; i++) { 2319 var $target = $(selectors[i]).first(); 2320 if ($target.length) { 2321 $target.html(html); 2322 return true; 2323 } 2324 } 2325 return false; 2326 } 2327 window.updateCartPaymentSection = updateCartPaymentSection; 2328 function bnuPreserveFocus(element) { 2329 var el = element || document.activeElement; 2330 if (!el || !el.id || el === document.body || el === document.documentElement) { 2331 return function() { 2332 return false;
2333 }; 2334 } 2335 var id = el.id; 2336 var top = el.getBoundingClientRect().top; 2337 return function restoreFocus() { 2338 var node = document.getElementById(id); 2339 if (!node) { 2340 return false; 2341 } 2342 node.focus({ preventScroll: true }); 2343 var delta = node.getBoundingClientRect().top - top; 2344 if (Math.abs(delta) > 0.5) { 2345 window.scrollBy(0, delta); 2346 } 2347 return true; 2348 }; 2349 } 2350 window.bnuPreserveFocus = bnuPreserveFocus; 2351 function bnuSkipToContent(event) { 2352 if (event && typeof event.preventDefault === "function") { 2353 event.preventDefault(); 2354 } 2355 var target = document.getElementById("content") || document.getElementById("primary") || document.querySelector("main"); 2356 if (!target) { 2357 return; 2358 } 2359 if (!target.hasAttribute("tabindex")) { 2360 target.setAttribute("tabindex", "-1"); 2361 } 2362 target.focus({ preventScroll: true }); 2363 target.scrollIntoView(); 2364 } 2365 window.bnuSkipToContent = bnuSkipToContent; 2366 document.addEventListener("click", function(event) { 2367 if (event.target.closest(".bind-skipToContent")) { 2368 bnuSkipToContent(event); 2369 } 2370 }); 2371 2372 // www/application/resources/js/added-to-cart-dialog.js 2373 var DIALOG_ID = "addedToCartDialog"; 2374 var SCROLL_ID = "bnuAddedToCartDialogScroll"; 2375 var SIDE_ID = "bnuAddedToCartDialogSide"; 2376 function getDialog() { 2377 const el = document.getElementById(DIALOG_ID); 2378 return el instanceof HTMLDialogElement ? el : null; 2379 } 2380 function runScripts(root) { 2381 if (!(root instanceof HTMLElement)) { 2382 return; 2383 } 2384 root.querySelectorAll("script").forEach((oldScript) => { 2385 const script = document.createElement("script"); 2386 for (const attr of oldScript.attributes) { 2387 script.setAttribute(attr.name, attr.value); 2388 } 2389 script.textContent = oldScript.textContent || ""; 2390 oldScript.replaceWith(script); 2391 }); 2392 } 2393 function parseImpression(el) { 2394 const raw = el.getAttribute("data-impression"); 2395 if (!raw) { 2396 return null; 2397 } 2398 try { 2399 return JSON.parse(raw); 2400 } catch (e) { 2401 return null; 2402 } 2403 } 2404 var AddedToCartDialog = class { 2405 constructor() { 2406 this._bound = false; 2407 } 2408 init() { 2409 if (this._bound) { 2410 return; 2411 } 2412 this._bound = true; 2413 document.addEventListener("scroll", (event) => { 2414 if (event.target && event.target.id === SCROLL_ID) { 2415 this.toggleFloat(); 2416 } 2417 }, true); 2418 document.addEventListener("click", (event) => { 2419 const btn = event.target.closest(".bind-addedToCartDialogScroll"); 2420 if (!btn) { 2421 return; 2422 } 2423 event.preventDefault(); 2424 this.scrollToSide(); 2425 }); 2426 window.toggleAddedToCartDialogFloat = () => this.toggleFloat(); 2427 window.sendAddedToCartPrImpressions = () => this.sendImpressions(); 2428 } 2429 isAvailable() { 2430 return typeof window.benuDialog !== "undefined" && typeof window.benuDialog.open === "function"; 2431 } 2432 isOpen() { 2433 const dialog = getDialog(); 2434 return !!(dialog && dialog.open); 2435 } 2436 close() { 2437 const dialog = getDialog(); 2438 if (dialog && dialog.open) { 2439 dialog.close(); 2440 return true; 2441 } 2442 return false; 2443 } 2444 openOrRefresh(html) { 2445 if (!this.isAvailable() || !html) { 2446 return false; 2447 } 2448 return this.isOpen() ? this._replace(html) : this._open(html); 2449 } 2450 handleResponse(response, options) { 2451 response = response || {}; 2452 options = options || {}; 2453 if (!this.isAvailable()) { 2454 return false; 2455 } 2456 const html = response.html || response.HTML && response.HTML.addedToCartPopup || null; 2457 if (response.toaster === "addProductToast") { 2458 if (html && typeof window.drawToasterNotification === "function") { 2459 window.drawToasterNotification(html, 5e3); 2460 } 2461 return true; 2462 } 2463 if (response.toaster === "addProductNew" || options.fromDialog) { 2464 if (!html) { 2465 bnuSetAriaBusy("#" + DIALOG_ID, false); 2466 return false; 2467 } 2468 return this.openOrRefresh(html); 2469 } 2470 return false;
2471 } 2472 addGiftFromButton(button) { 2473 if (!this.isAvailable() || !(button instanceof Element)) { 2474 return false; 2475 } 2476 const args = { 2477 prID: button.getAttribute("data-prid"), 2478 voucherID: button.getAttribute("data-voucherid"), 2479 options: {} 2480 }; 2481 if (button.hasAttribute("data-notreal")) { 2482 args.options.notRealGift = 1; 2483 } 2484 const busyTarget = button.closest(".bnuAddedToCartDialogSideProduct") || document.getElementById(SIDE_ID) || getDialog(); 2485 bnuSetAriaBusy(busyTarget, true); 2486 window.ajaxHelper({ 2487 methodName: "toggleBenuCartGift", 2488 args 2489 }, (callback) => { 2490 const html = callback && callback.return && callback.return.html; 2491 if (callback && callback.success && html && this.openOrRefresh(html)) { 2492 return; 2493 } 2494 bnuSetAriaBusy(busyTarget, false); 2495 if (html && typeof window.drawAddedToCartPopup === "function") { 2496 window.drawAddedToCartPopup(html, true); 2497 } 2498 }); 2499 return true; 2500 } 2501 toggleFloat() { 2502 const dialog = document.querySelector(".bnuAddedToCartDialog"); 2503 const floatEl = dialog && dialog.querySelector(".bnuAddedToCartDialog__float"); 2504 const hasSideProducts = dialog && dialog.querySelector( 2505 ".bnuAddedToCartDialog__side .bnuAddedToCartDialogSideProduct" 2506 ); 2507 if (!floatEl) { 2508 return false; 2509 } 2510 if (!hasSideProducts) { 2511 floatEl.classList.remove("bnuAddedToCartDialog__float--active"); 2512 return false; 2513 } 2514 floatEl.classList.toggle( 2515 "bnuAddedToCartDialog__float--active", 2516 !this._sideInView() 2517 ); 2518 return true; 2519 } 2520 sendImpressions() { 2521 if (typeof window.eshopEvent_visibleProducts === "undefined") { 2522 return; 2523 } 2524 document.querySelectorAll( 2525 ".bnuAddedToCartDialog__side .bnuAddedToCartDialogSideProduct" 2526 ).forEach((item) => { 2527 const link = item.querySelector(".bnuAddedToCartDialogSideProduct__title a"); 2528 const impression = parseImpression(item); 2529 if (!link || !impression || !impression.ID) { 2530 return; 2531 } 2532 if (window.eshopEvent_visibleProducts[impression.ID]) { 2533 return; 2534 } 2535 if (typeof window.jQuery === "function" && typeof window.jQuery(link).isInViewportNew === "function" && !window.jQuery(link).isInViewportNew()) { 2536 return; 2537 } 2538 window.eshopEvent_visibleProducts[impression.ID] = Object.assign({}, impression, { 2539 positionList: "addedToCartDialog", 2540 recommendationId: item.getAttribute("data-recommendation-id") || item.dataset.recommendationId 2541 }); 2542 }); 2543 if (typeof window.eshopEvent_productImpression === "function") { 2544 window.eshopEvent_productImpression( 2545 window.eshopEvent_visibleProducts, 2546 true, 2547 "addedToCartDialog" 2548 ); 2549 } 2550 } 2551 scrollToSide() { 2552 const container = document.getElementById(SCROLL_ID); 2553 const target = document.querySelector(".bnuAddedToCartDialog .bnuPromoBox") || document.getElementById(SIDE_ID); 2554 if (!container || !target) { 2555 return; 2556 } 2557 const top = target.getBoundingClientRect().top - container.getBoundingClientRect().top + container.scrollTop; 2558 container.scrollTo({ top, behavior: "smooth" }); 2559 } 2560 _open(html) { 2561 window.benuDialog.open({ 2562 id: DIALOG_ID, 2563 content: html, 2564 className: "bnuDialog--large", 2565 lockScroll: true 2566 }); 2567 runScripts(getDialog()); 2568 bnuSetAriaBusy("#" + DIALOG_ID, false); 2569 if (typeof window.checkPictureVisibility === "function") { 2570 window.checkPictureVisibility(); 2571 } 2572 window.setTimeout(() => this.toggleFloat(), 251); 2573 return true; 2574 } 2575 _replace(html) { 2576 const dialog = getDialog(); 2577 if (!dialog || !dialog.open || !html) { 2578 return false; 2579 } 2580 const scrollEl = document.getElementById(SCROLL_ID); 2581 const prevScroll = scrollEl ? scrollEl.scrollTop : 0; 2582 const prevCount = dialog.querySelectorAll(".bnuAddedToCartDialogCartItem").length; 2583 const closeForm = dialog.querySelector(":scope > [data-dialog-close]"); 2584 const wrap = document.createElement("div"); 2585 wrap.innerHTML = String(html);
2586 Array.from(dialog.children).forEach((child) => { 2587 if (child !== closeForm) { 2588 child.remove(); 2589 } 2590 }); 2591 if (closeForm && closeForm.parentNode !== dialog) { 2592 dialog.prepend(closeForm); 2593 } 2594 while (wrap.firstChild) { 2595 dialog.appendChild(wrap.firstChild); 2596 } 2597 runScripts(dialog); 2598 bnuSetAriaBusy(dialog, false); 2599 const nextScroll = document.getElementById(SCROLL_ID); 2600 const cartItems = dialog.querySelector(".bnuAddedToCartDialog__cartItems"); 2601 const nextCount = dialog.querySelectorAll(".bnuAddedToCartDialogCartItem").length; 2602 if (nextCount > prevCount && cartItems) { 2603 cartItems.scrollTop = cartItems.scrollHeight; 2604 if (nextScroll) { 2605 nextScroll.scrollTop = 0; 2606 } 2607 } else if (nextScroll) { 2608 nextScroll.scrollTop = prevScroll; 2609 } 2610 if (typeof window.checkPictureVisibility === "function") { 2611 window.checkPictureVisibility(); 2612 } 2613 this.toggleFloat(); 2614 return true; 2615 } 2616 _sideInView() { 2617 const side = document.getElementById(SIDE_ID); 2618 const scrollEl = document.getElementById(SCROLL_ID); 2619 if (!side || !scrollEl) { 2620 return false; 2621 } 2622 const scrollRect = scrollEl.getBoundingClientRect(); 2623 const sideRect = side.getBoundingClientRect(); 2624 return sideRect.top < scrollRect.bottom - 100; 2625 } 2626 }; 2627 2628 // www/application/resources/js/side-cart.js 2629 var SIDE_CART_SELECTOR = ".bnuSideCart"; 2630 var OPEN_CLASS = "bnuSideCart--open"; 2631 var LEGACY_OPEN_CLASS = "visible"; 2632 function getSideCart() { 2633 return document.querySelector(SIDE_CART_SELECTOR); 2634 } 2635 function getSideCartContent(sideCart) { 2636 return (sideCart == null ? void 0 : sideCart.querySelector(".bind-cartQuickOverviewContent")) || null; 2637 } 2638 function isOpen(sideCart) { 2639 return sideCart.classList.contains(OPEN_CLASS) || sideCart.classList.contains(LEGACY_OPEN_CLASS); 2640 } 2641 function setInteractiveTabindex(sideCart, tabindex) { 2642 const content = getSideCartContent(sideCart); 2643 if (!content) { 2644 return; 2645 } 2646 content.querySelectorAll( 2647 ".bind-cartRemoveProduct, .cartQntChangeInput, .bind-cartProductLink" 2648 ).forEach((el) => { 2649 el.setAttribute("tabindex", String(tabindex)); 2650 }); 2651 document.querySelectorAll(".bind-sideCartAction").forEach((el) => { 2652 el.setAttribute("tabindex", String(tabindex)); 2653 }); 2654 } 2655 function setContentState(sideCart, open) { 2656 const content = getSideCartContent(sideCart); 2657 if (!content) { 2658 return; 2659 } 2660 content.setAttribute("tabindex", open ? "0" : "-1"); 2661 content.setAttribute("aria-hidden", open ? "false" : "true"); 2662 content.style.overflow = open ? "auto" : ""; 2663 } 2664 function toggleOverlay(show) { 2665 if (typeof window.toggleOverlay === "function") { 2666 window.toggleOverlay(show ? "show" : "hide"); 2667 return; 2668 } 2669 document.body.classList.toggle("overlay", show); 2670 } 2671 function openSideCart(sideCart) { 2672 var _a, _b; 2673 sideCart.classList.add(OPEN_CLASS, LEGACY_OPEN_CLASS); 2674 sideCart.inert = false; 2675 (_a = document.querySelector(".chat")) == null ? void 0 : _a.classList.add("cartOpened"); 2676 toggleOverlay(true); 2677 setInteractiveTabindex(sideCart, 0); 2678 setContentState(sideCart, true); 2679 const title = sideCart.querySelector(".bnuSideCart__heading h2"); 2680 if (title && typeof window.jQuery === "function" && jQuery.fn.focusOnElement) { 2681 jQuery(title).focusOnElement(); 2682 } else { 2683 (_b = title == null ? void 0 : title.focus) == null ? void 0 : _b.call(title); 2684 } 2685 } 2686 function closeSideCart(sideCart) { 2687 var _a; 2688 sideCart.classList.remove(OPEN_CLASS, LEGACY_OPEN_CLASS); 2689 sideCart.inert = true; 2690 (_a = document.querySelector(".chat")) == null ? void 0 : _a.classList.remove("cartOpened"); 2691 toggleOverlay(false); 2692 setInteractiveTabindex(sideCart, -1); 2693 setContentState(sideCart, false); 2694 } 2695 function onDocumentClick(event) { 2696 const sideCart = getSideCart(); 2697 if (!sideCart) { 2698 return; 2699 } 2700 const toggleBtn = event.target.closest(".bind-toggleCart"); 2701 const closeBtn = event.target.closest(".bind-sideCartClose");
2702 const overlay = event.target.closest(".bnuOverlay"); 2703 if (!toggleBtn && !closeBtn && !overlay) { 2704 return; 2705 } 2706 event.preventDefault(); 2707 event.stopImmediatePropagation(); 2708 if (toggleBtn) { 2709 if (isOpen(sideCart)) { 2710 closeSideCart(sideCart); 2711 } else { 2712 openSideCart(sideCart); 2713 } 2714 return; 2715 } 2716 closeSideCart(sideCart); 2717 } 2718 function initSideCart() { 2719 if (!getSideCart()) { 2720 return; 2721 } 2722 document.addEventListener("click", onDocumentClick, true); 2723 } 2724 window.bnuSideCart = { 2725 open: () => { 2726 const sideCart = getSideCart(); 2727 if (sideCart) { 2728 openSideCart(sideCart); 2729 } 2730 }, 2731 close: () => { 2732 const sideCart = getSideCart(); 2733 if (sideCart) { 2734 closeSideCart(sideCart); 2735 } 2736 }, 2737 isOpen: () => { 2738 const sideCart = getSideCart(); 2739 return !!(sideCart && isOpen(sideCart)); 2740 } 2741 }; 2742 2743 // www/application/resources/js/cart-gifts.js 2744 function getTierCards(scroller) { 2745 return Array.from(scroller.querySelectorAll(".bnuGiftTier")); 2746 } 2747 function updateTierPagination(scroller) { 2748 var _a; 2749 const cards = getTierCards(scroller); 2750 const pagination = (_a = scroller.parentElement) == null ? void 0 : _a.querySelector( 2751 ".bnuCartGifts__tierPagination" 2752 ); 2753 if (!cards.length || !pagination) { 2754 return; 2755 } 2756 const activeIndex = cards.reduce( 2757 (closestIndex, card, index) => Math.abs(card.offsetLeft - scroller.scrollLeft) < Math.abs(cards[closestIndex].offsetLeft - scroller.scrollLeft) ? index : closestIndex, 2758 0 2759 ); 2760 pagination.querySelectorAll(".bind-cartGiftTierDot").forEach((dot, index) => { 2761 dot.setAttribute("aria-current", index === activeIndex ? "true" : "false"); 2762 }); 2763 } 2764 function toggleTierGifts(button) { 2765 const tier = button.closest(".bnuGiftTier"); 2766 const giftListId = button.getAttribute("aria-controls"); 2767 const giftList = giftListId ? document.getElementById(giftListId) : null; 2768 if (!tier || !giftList) { 2769 return; 2770 } 2771 const expanded = button.getAttribute("aria-expanded") === "true"; 2772 giftList.querySelectorAll("[hidden]").forEach((gift) => { 2773 gift.hidden = expanded; 2774 }); 2775 if (expanded) { 2776 giftList.querySelectorAll(".bnuGiftTier__gift").forEach((gift, index) => { 2777 gift.hidden = index >= 2; 2778 }); 2779 } 2780 button.setAttribute("aria-expanded", expanded ? "false" : "true"); 2781 const label = button.querySelector("span"); 2782 if (label) { 2783 label.textContent = expanded ? button.dataset.showMore : button.dataset.showLess; 2784 } 2785 } 2786 function scrollToTier(button) { 2787 const scrollerId = button.getAttribute("aria-controls"); 2788 const scroller = scrollerId ? document.getElementById(scrollerId) : null; 2789 const tierIndex = Number.parseInt(button.dataset.tierIndex, 10); 2790 const card = scroller ? getTierCards(scroller)[tierIndex] : null; 2791 if (!scroller || !card) { 2792 return; 2793 } 2794 scroller.scrollTo({ 2795 left: card.offsetLeft, 2796 behavior: "smooth" 2797 }); 2798 } 2799 function onDocumentClick2(event) { 2800 const tierToggle = event.target.closest(".bind-toggleGiftTier"); 2801 if (tierToggle) { 2802 toggleTierGifts(tierToggle); 2803 return; 2804 } 2805 const paginationButton = event.target.closest(".bind-cartGiftTierDot"); 2806 if (paginationButton) { 2807 scrollToTier(paginationButton); 2808 } 2809 } 2810 function onDocumentScroll(event) { 2811 var _a, _b; 2812 if ((_b = (_a = event.target).matches) == null ? void 0 : _b.call(_a, ".bind-cartGiftTiers")) { 2813 updateTierPagination(event.target); 2814 } 2815 } 2816 function reinitGiftCarousels() { 2817 if (typeof window.benuReinitSwipers === "function") { 2818 window.benuReinitSwipers(); 2819 } 2820 } 2821 function observeGiftCarouselHost() { 2822 const host = document.querySelector(".bind-benuCartGiftsWrap"); 2823 if (!host || typeof MutationObserver === "undefined") { 2824 return; 2825 } 2826 const observer = new MutationObserver(() => { 2827 reinitGiftCarousels(); 2828 }); 2829 observer.observe(host, { childList: true }); 2830 } 2831 function initCartGifts() { 2832 document.addEventListener("click", onDocumentClick2); 2833 document.addEventListener("scroll", onDocumentScroll, true); 2834 observeGiftCarouselHost(); 2835 reinitGiftCarousels(); 2836 } 2837 2838 // www/application/resources/js/tooltips.js 2839 function canHover() { 2840 return window.matchMedia("(hover: hover) and (pointer: fine)").matches; 2841 } 2842 function tooltipFromEvent(event) { 2843 const target = event.target; 2844 if (!(target instanceof Element)) { 2845 return null; 2846 } 2847 return target.closest(".bnuTooltip"); 2848 } 2849 function tooltipPopover(tooltip) { 2850 return tooltip.querySelector(":scope > .bnuTooltip__popover[popover]"); 2851 } 2852 function showTooltip(tooltip) { 2853 const popover = tooltipPopover(tooltip); 2854 if (!popover || popover.matches(":popover-open")) { 2855 return; 2856 } 2857 try { 2858 popover.showPopover(); 2859 } catch (error) { 2860 } 2861 } 2862 function hideTooltip(tooltip) { 2863 const popover = tooltipPopover(tooltip); 2864 if (!popover || !popover.matches(":popover-open")) { 2865 return; 2866 } 2867 try { 2868 popover.hidePopover(); 2869 } catch (error) { 2870 } 2871 } 2872 function initTooltips() { 2873 document.addEventListener("mouseover", (event) => { 2874 if (!canHover()) { 2875 return; 2876 } 2877 const tooltip = tooltipFromEvent(event); 2878 if (tooltip) { 2879 showTooltip(tooltip); 2880 } 2881 }); 2882 document.addEventListener("mouseout", (event) => { 2883 if (!canHover()) { 2884 return; 2885 } 2886 const tooltip = tooltipFromEvent(event); 2887 if (!tooltip) { 2888 return; 2889 } 2890 const related = event.relatedTarget; 2891 if (related instanceof Node && tooltip.contains(related)) { 2892 return; 2893 } 2894 hideTooltip(tooltip); 2895 }); 2896 document.addEventListener("focusin", (event) => { 2897 const tooltip = tooltipFromEvent(event); 2898 if (tooltip) { 2899 showTooltip(tooltip); 2900 } 2901 }); 2902 document.addEventListener("focusout", (event) => { 2903 const tooltip = tooltipFromEvent(event); 2904 if (!tooltip) { 2905 return; 2906 } 2907 const related = event.relatedTarget; 2908 if (related instanceof Node && tooltip.contains(related)) { 2909 return; 2910 } 2911 hideTooltip(tooltip); 2912 }); 2913 document.addEventListener("click", (event) => { 2914 if (!canHover()) { 2915 return; 2916 } 2917 const button = event.target instanceof Element ? event.target.closest(".bnuTooltip > button[popovertarget]") : null; 2918 if (button) { 2919 event.preventDefault(); 2920 } 2921 }); 2922 } 2923 2924 // www/application/resources/js/datepicker.js 2925 var DATEPICKER_OPEN_CLASS = "bnuDialog--datepickerOpen"; 2926 function getDatepicker() { 2927 const $2 = window.jQuery; 2928 if (!$2 || !$2.datepicker || !$2.datepicker.dpDiv) { 2929 return null; 2930 } 2931 return $2.datepicker; 2932 } 2933 function findHostDialog(input) { 2934 if (!(input instanceof Element)) { 2935 return null; 2936 } 2937 return input.closest("dialog[open]"); 2938 } 2939 function setDatepickerPaintReady(ready) { 2940 const datepicker = getDatepicker(); 2941 if (!(datepicker == null ? void 0 : datepicker.dpDiv)) { 2942 return; 2943 } 2944 datepicker.dpDiv.css("visibility", ready ? "" : "hidden"); 2945 } 2946 function moveDatepickerTo(container) { 2947 var _a; 2948 const datepicker = getDatepicker(); 2949 const dpDiv = (_a = datepicker == null ? void 0 : datepicker.dpDiv) == null ? void 0 : _a[0]; 2950 if (!dpDiv || !(container instanceof Element)) { 2951 return; 2952 } 2953 if (dpDiv.parentNode !== container) { 2954 container.appendChild(dpDiv); 2955 } 2956 } 2957 function restoreDatepickerToBody() { 2958 var _a; 2959 const datepicker = getDatepicker(); 2960 const dpDiv = (_a = datepicker == null ? void 0 : datepicker.dpDiv) == null ? void 0 : _a[0]; 2961 if (!dpDiv) { 2962 return; 2963 } 2964 if (dpDiv.parentNode !== document.body) { 2965 document.body.appendChild(dpDiv); 2966 } 2967 } 2968 function clearDatepickerOpenClass(dialog) { 2969 if (dialog instanceof HTMLDialogElement) { 2970 dialog.classList.remove(DATEPICKER_OPEN_CLASS); 2971 } 2972 } 2973 function positionDatepickerInDialog(input, dialog) { 2974 const datepicker = getDatepicker(); 2975 if (!datepicker || !(input instanceof Element) || !(dialog instanceof HTMLDialogElement)) { 2976 return; 2977 } 2978 const $dpDiv = datepicker.dpDiv; 2979 const inputRect = input.getBoundingClientRect(); 2980 const dialogRect = dialog.getBoundingClientRect(); 2981 const dpWidth = $dpDiv.outerWidth(); 2982 const dpHeight = $dpDiv.outerHeight(); 2983 let left = inputRect.left - dialogRect.left; 2984 let top = inputRect.bottom - dialogRect.top; 2985 if (left + dpWidth > dialog.clientWidth) { 2986 left = Math.max(0, dialog.clientWidth - dpWidth); 2987 } 2988 if (top + dpHeight > dialog.clientHeight) { 2989 const above = inputRect.top - dialogRect.top - dpHeight; 2990 if (above >= 0) { 2991 top = above; 2992 } 2993 } 2994 $dpDiv.css({ 2995 position: "absolute", 2996 left: `${left}px`, 2997 top: `${top}px`, 2998 zIndex: 10 2999 }); 3000 } 3001 function initDatepickerDialogSupport() { 3002 const datepicker = getDatepicker(); 3003 if (!datepicker || datepicker._benuDialogAppendPatched) { 3004 return; 3005 } 3006 datepicker._benuDialogAppendPatched = true; 3007 const originalShow = datepicker._showDatepicker; 3008 const originalHide = datepicker._hideDatepicker; 3009 datepicker._showDatepicker = function(input) { 3010 var _a; 3011 const inputEl = input && input.target ? input.target : input; 3012 const dialog = findHostDialog(inputEl); 3013 const previousParent = (_a = datepicker.dpDiv[0]) == null ? void 0 : _a.parentElement; 3014 if (dialog) { 3015 setDatepickerPaintReady(false); 3016 moveDatepickerTo(dialog); 3017 } else { 3018 if (previousParent instanceof HTMLDialogElement) { 3019 clearDatepickerOpenClass(previousParent); 3020 } 3021 setDatepickerPaintReady(true); 3022 restoreDatepickerToBody(); 3023 } 3024 const result = originalShow.apply(this, arguments); 3025 if (dialog) { 3026 if (datepicker._datepickerShowing) { 3027 moveDatepickerTo(dialog); 3028 dialog.classList.add(DATEPICKER_OPEN_CLASS); 3029 positionDatepickerInDialog(inputEl, dialog); 3030 setDatepickerPaintReady(true); 3031 } else { 3032 clearDatepickerOpenClass(dialog); 3033 setDatepickerPaintReady(true); 3034 restoreDatepickerToBody(); 3035 } 3036 } 3037 return result; 3038 }; 3039 datepicker._hideDatepicker = function(input) { 3040 var _a; 3041 const hostDialog = ((_a = datepicker.dpDiv[0]) == null ? void 0 : _a.closest("dialog")) || null; 3042 const result = originalHide.apply(this, arguments); 3043 clearDatepickerOpenClass(hostDialog); 3044 if (hostDialog) { 3045 datepicker.dpDiv.stop(true, true).hide(); 3046 setDatepickerPaintReady(false); 3047 } 3048 restoreDatepickerToBody(); 3049 return result; 3050 }; 3051 document.addEventListener( 3052 "close", 3053 (event) => { 3054 var _a; 3055 if (!(event.target instanceof HTMLDialogElement)) { 3056 return; 3057 } 3058 clearDatepickerOpenClass(event.target); 3059 if (datepicker._datepickerShowing && ((_a = datepicker.dpDiv[0]) == null ? void 0 : _a.parentElement) === event.target) { 3060 datepicker._hideDatepicker(); 3061 } 3062 }, 3063 true 3064 ); 3065 } 3066 3067 // www/application/resources/js/social-videos.js 3068 var PAGE_SIZE = 4; 3069 var PREVIEW_ROOT_MARGIN = "400px 0px"; 3070 var didInit = false;
3071 function mediaSelector(root) { 3072 return root.querySelector(".bnuSocialVideos__media, .socialVideos__media"); 3073 } 3074 function closestBlock(card) { 3075 return card.closest(".bnuSocialVideos, [data-dialog-id]"); 3076 } 3077 function resolveDialog(card) { 3078 const block = closestBlock(card); 3079 const dialogId = block == null ? void 0 : block.getAttribute("data-dialog-id"); 3080 if (!dialogId) { 3081 return null; 3082 } 3083 return document.getElementById(dialogId); 3084 } 3085 function createPreviewVideo(src, poster) { 3086 const video = document.createElement("video"); 3087 video.src = src; 3088 video.muted = true; 3089 video.defaultMuted = true; 3090 video.autoplay = true; 3091 video.loop = true; 3092 video.playsInline = true; 3093 video.preload = "metadata"; 3094 video.setAttribute("muted", ""); 3095 video.setAttribute("playsinline", ""); 3096 video.setAttribute("webkit-playsinline", ""); 3097 video.setAttribute("aria-hidden", "true"); 3098 video.className = "bind-socialVideoPreview"; 3099 if (poster) { 3100 video.poster = poster; 3101 } 3102 video.play().catch(function() { 3103 }); 3104 return video; 3105 } 3106 function mountCardPreview(card) { 3107 const media = mediaSelector(card); 3108 if (!media || media.querySelector("video.bind-socialVideoPreview")) { 3109 return; 3110 } 3111 const videoUrl = card.dataset.videoUrl; 3112 if (!videoUrl) { 3113 return; 3114 } 3115 const existing = media.querySelector("img"); 3116 const preview = createPreviewVideo(videoUrl, card.dataset.thumbnail); 3117 if (existing) { 3118 existing.replaceWith(preview); 3119 } else { 3120 media.insertBefore(preview, media.firstChild); 3121 } 3122 } 3123 function mountVisibleCardPreviews(block) { 3124 block.dataset.socialVideoPreviewsMounted = "true"; 3125 block.querySelectorAll(".bind-openSocialVideo:not(.hidden)").forEach(mountCardPreview); 3126 } 3127 function observePreviewBlocks() { 3128 const blocks = document.querySelectorAll(".bnuSocialVideos, .socialVideos"); 3129 if (!blocks.length) { 3130 return; 3131 } 3132 if (!("IntersectionObserver" in window)) { 3133 blocks.forEach(mountVisibleCardPreviews); 3134 return; 3135 } 3136 const observer = new IntersectionObserver( 3137 function(entries) { 3138 entries.forEach(function(entry) { 3139 if (!entry.isIntersecting) { 3140 return; 3141 } 3142 mountVisibleCardPreviews(entry.target); 3143 observer.unobserve(entry.target); 3144 }); 3145 }, 3146 { 3147 root: null, 3148 rootMargin: PREVIEW_ROOT_MARGIN, 3149 threshold: 0 3150 } 3151 ); 3152 blocks.forEach(function(block) { 3153 observer.observe(block); 3154 }); 3155 } 3156 function pauseCardPreviews() { 3157 document.querySelectorAll("video.bind-socialVideoPreview").forEach(function(video) { 3158 video.pause(); 3159 }); 3160 } 3161 function resumeCardPreviews() { 3162 document.querySelectorAll("video.bind-socialVideoPreview").forEach(function(video) { 3163 video.play().catch(function() { 3164 }); 3165 }); 3166 } 3167 function renderNativeVideo(container, src, poster) { 3168 const video = document.createElement("video"); 3169 video.src = src; 3170 video.controls = true; 3171 video.muted = true; 3172 video.defaultMuted = true; 3173 video.autoplay = true; 3174 video.loop = true; 3175 video.playsInline = true; 3176 video.setAttribute("muted", ""); 3177 video.setAttribute("playsinline", ""); 3178 if (poster) { 3179 video.poster = poster; 3180 } 3181 container.appendChild(video); 3182 video.play().catch(function() { 3183 }); 3184 } 3185 function platformIconClass(platform) { 3186 if (platform === "instagram") { 3187 return "fa-brands fa-instagram"; 3188 } 3189 if (platform === "tiktok") { 3190 return "fa-brands fa-tiktok"; 3191 } 3192 return ""; 3193 } 3194 function fillPlatform(platformEl, platform, authorLabel, profileUrl) { 3195 platformEl.replaceChildren(); 3196 const iconClass = platformIconClass(platform); 3197 if (iconClass) { 3198 const icon = document.createElement("i"); 3199 icon.className = iconClass; 3200 icon.setAttribute("aria-hidden", "true"); 3201 platformEl.appendChild(icon); 3202 } 3203 if (authorLabel && profileUrl) { 3204 const link = document.createElement("a"); 3205 link.className = "bnuSocialVideosDialog__profile bind-socialVideoProfile"; 3206 link.href = profileUrl; 3207 link.target = "_blank"; 3208 link.rel = "noopener noreferrer"; 3209 link.textContent = authorLabel; 3210 platformEl.appendChild(link); 3211 } else if (authorLabel) { 3212 const text = document.createElement("span"); 3213 text.textContent = authorLabel; 3214 platformEl.appendChild(text); 3215 } 3216 platformEl.hidden = iconClass === "" && authorLabel === ""; 3217 } 3218 function fillDialog(dialog, card) { 3219 const platform = card.dataset.platform || ""; 3220 const url = card.dataset.url || ""; 3221 const title = card.dataset.title || ""; 3222 const description = card.dataset.description || ""; 3223 const videoUrl = card.dataset.videoUrl || ""; 3224 const thumbnail = card.dataset.thumbnail || ""; 3225 const player = dialog.querySelector(".bind-socialVideoPlayer"); 3226 const platformEl = dialog.querySelector(".bind-socialVideoPlatform"); 3227 const titleEl = dialog.querySelector(".bind-socialVideoTitle"); 3228 const descriptionWrap = dialog.querySelector(".bind-socialVideoDescriptionWrap"); 3229 const descriptionEl = dialog.querySelector(".bind-socialVideoDescription"); 3230 const descriptionMore = dialog.querySelector(".bind-socialVideoDescriptionMore"); 3231 const productsEl = dialog.querySelector(".bind-socialVideoProducts"); 3232 const originalEl = dialog.querySelector(".bind-socialVideoOriginal"); 3233 if (player) { 3234 player.innerHTML = ""; 3235 player.dataset.platform = platform; 3236 if (videoUrl) { 3237 renderNativeVideo(player, videoUrl, thumbnail); 3238 } else if (thumbnail) { 3239 const img = document.createElement("img"); 3240 img.src = thumbnail; 3241 img.alt = ""; 3242 player.appendChild(img); 3243 } 3244 } 3245 if (platformEl) { 3246 fillPlatform( 3247 platformEl, 3248 platform, 3249 card.dataset.author || "", 3250 card.dataset.profileUrl || "" 3251 ); 3252 } 3253 if (titleEl) { 3254 titleEl.textContent = title; 3255 titleEl.hidden = title === ""; 3256 } 3257 if (descriptionEl) { 3258 descriptionEl.textContent = description; 3259 descriptionEl.classList.remove("bnuSocialVideosDialog__description--expanded"); 3260 } 3261 if (descriptionWrap) { 3262 descriptionWrap.hidden = description === ""; 3263 } 3264 if (descriptionMore) { 3265 descriptionMore.hidden = true; 3266 descriptionMore.setAttribute("aria-expanded", "false"); 3267 descriptionMore.textContent = descriptionMore.dataset.readMore || ""; 3268 if (description !== "" && descriptionEl) { 3269 requestAnimationFrame(function() { 3270 descriptionMore.hidden = descriptionEl.scrollHeight <= descriptionEl.clientHeight; 3271 }); 3272 } 3273 } 3274 if (productsEl) { 3275 productsEl.innerHTML = ""; 3276 productsEl.hidden = true; 3277 const template = document.getElementById(card.dataset.products || ""); 3278 if (template instanceof HTMLTemplateElement && template.content.childNodes.length) { 3279 productsEl.appendChild(template.content.cloneNode(true)); 3280 productsEl.hidden = false;
3281 } 3282 } 3283 if (originalEl) { 3284 if (url) { 3285 originalEl.href = url; 3286 originalEl.hidden = false; 3287 } else { 3288 originalEl.removeAttribute("href"); 3289 originalEl.hidden = true; 3290 } 3291 } 3292 } 3293 function clearDialog(dialog) { 3294 const player = dialog.querySelector(".bind-socialVideoPlayer"); 3295 if (player) { 3296 player.innerHTML = ""; 3297 player.removeAttribute("data-platform"); 3298 } 3299 const productsEl = dialog.querySelector(".bind-socialVideoProducts"); 3300 if (productsEl) { 3301 productsEl.innerHTML = ""; 3302 } 3303 resumeCardPreviews(); 3304 } 3305 function revealMoreCards(button) { 3306 const block = button.closest(".bnuSocialVideos, .socialVideos, [data-dialog-id]"); 3307 if (!block) { 3308 return; 3309 } 3310 const hiddenCards = Array.from(block.querySelectorAll(".bind-openSocialVideo.hidden")); 3311 const nextCards = hiddenCards.slice(0, PAGE_SIZE); 3312 nextCards.forEach(function(card) { 3313 card.classList.remove("hidden"); 3314 if (block.dataset.socialVideoPreviewsMounted === "true") { 3315 mountCardPreview(card); 3316 } 3317 }); 3318 if (hiddenCards.length <= PAGE_SIZE) { 3319 button.classList.add("hidden"); 3320 } 3321 } 3322 function openDialog(card) { 3323 const dialog = resolveDialog(card); 3324 if (!(dialog instanceof HTMLElement)) { 3325 return; 3326 } 3327 pauseCardPreviews(); 3328 fillDialog(dialog, card); 3329 if (typeof window.benuDialog !== "undefined" && typeof window.benuDialog.open === "function") { 3330 window.benuDialog.open(dialog); 3331 } else if (dialog instanceof HTMLDialogElement && typeof dialog.showModal === "function") { 3332 if (!dialog.open) { 3333 dialog.showModal(); 3334 } 3335 } 3336 if (dialog instanceof HTMLDialogElement && !dialog.dataset.socialVideoBound) { 3337 dialog.dataset.socialVideoBound = "true"; 3338 dialog.addEventListener("close", function() { 3339 clearDialog(dialog); 3340 }); 3341 } 3342 } 3343 function initSocialVideos() { 3344 if (didInit) { 3345 return; 3346 } 3347 const cards = document.querySelectorAll(".bind-openSocialVideo"); 3348 if (!cards.length) { 3349 return; 3350 } 3351 didInit = true; 3352 observePreviewBlocks(); 3353 cards.forEach(function(card) { 3354 card.addEventListener("click", function() { 3355 openDialog(card); 3356 }); 3357 card.addEventListener("keydown", function(event) { 3358 if (event.key === "Enter" || event.key === " ") { 3359 event.preventDefault(); 3360 openDialog(card); 3361 } 3362 }); 3363 }); 3364 document.querySelectorAll(".bind-showMoreSocialVideos").forEach(function(button) { 3365 button.addEventListener("click", function() { 3366 revealMoreCards(button); 3367 }); 3368 }); 3369 document.querySelectorAll(".bind-socialVideoDescriptionMore").forEach(function(button) { 3370 button.addEventListener("click", function() { 3371 var _a; 3372 const description = (_a = button.closest(".bind-socialVideoDescriptionWrap")) == null ? void 0 : _a.querySelector(".bind-socialVideoDescription"); 3373 if (!description) { 3374 return; 3375 } 3376 const expanded = description.classList.toggle( 3377 "bnuSocialVideosDialog__description--expanded" 3378 ); 3379 button.setAttribute("aria-expanded", String(expanded)); 3380 button.textContent = expanded ? button.dataset.readLess || "" : button.dataset.readMore || ""; 3381 }); 3382 }); 3383 document.querySelectorAll(".bnuDialog--socialVideo, .socialVideosDialog").forEach(function(dialog) { 3384 if (dialog.dataset.socialVideoBound === "true") { 3385 return; 3386 } 3387 dialog.dataset.socialVideoBound = "true"; 3388 dialog.addEventListener("close", function() { 3389 clearDialog(dialog); 3390 }); 3391 }); 3392 document.querySelectorAll(".bind-closeSocialVideo").forEach(function(button) { 3393 button.addEventListener("click", function() { 3394 const dialog = button.closest("dialog"); 3395 if (dialog instanceof HTMLDialogElement) { 3396 dialog.close(); 3397 } 3398 }); 3399 }); 3400 } 3401 window.initSocialVideos = initSocialVideos; 3402 3403 // www/application/resources/js/luigis-search-bar.js 3404 function cfg() { 3405 return window.benuLuigisSearch || {}; 3406 } 3407 function t(key) { 3408 return cfg().i18n && cfg().i18n[key] || ""; 3409 } 3410 function appName() { 3411 return cfg().appName || window.intuero && window.intuero.appName || ""; 3412 } 3413 function cardImg() { 3414 return cfg().benuCardImg || ""; 3415 } 3416 function cardAlt() { 3417 return cfg().benuCardAlt || ""; 3418 } 3419 function eur(value) { 3420 return String(value || "").replace(/EUR/g, "\u20AC"); 3421 } 3422 function isLv() { 3423 return appName() === "benu-eshop-lv"; 3424 } 3425 function isEe() { 3426 return appName() === "benu-eshop-ee"; 3427 } 3428 function firstAttr(attrs, key) { 3429 if (!attrs || attrs[key] == null || attrs[key] === "") { 3430 return ""; 3431 } 3432 const val = attrs[key]; 3433 if (Array.isArray(val)) { 3434 return val[0] != null && val[0] !== "" ? val[0] : ""; 3435 } 3436 return val; 3437 } 3438 function escapeAttr(value) { 3439 return String(value).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">"); 3440 } 3441 function formatAddToCartHtml(product, context) { 3442 if (!cfg().showAddToCart) { 3443 return ""; 3444 } 3445 if (!product || !product.attributes) { 3446 return ""; 3447 } 3448 const attrs = product.attributes; 3449 const productId = String(firstAttr(attrs, "to_cart_id")).replace(/[^\d]/g, ""); 3450 const availability = String(firstAttr(attrs, "availability")); 3451 if (!productId) { 3452 return ""; 3453 } 3454 if (availability !== "" && availability !== "1") { 3455 return ""; 3456 } 3457 const drugType = String(firstAttr(attrs, "drugType")); 3458 const isList = context === "list"; 3459 if (isEe() && (drugType === "OTC" || drugType === "RX")) { 3460 if (isList) { 3461 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>"; 3462 } 3463 return '<div class="bnuProduct__buttons"><a class="bnuButton bnuButton--full" href="' + escapeAttr(product.url || "#") + '"><span>' + escapeAttr(t("viewMore")) + "</span></a></div>"; 3464 } 3465 const wrapId = "productItemData_wrap-" + productId; 3466 const wrapClass = isList ? "bnuProduct__buttons bnuLuigisSearch__addToCart" : "bnuProduct__buttons"; 3467 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>"; 3468 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">'; 3469 if (String(firstAttr(attrs, "isProductsBundle")) === "1") { 3470 html += '<input type="hidden" name="productData_isProductsBundle" value="true">'; 3471 } 3472 html += "</div></div>"; 3473 return html; 3474 } 3475 function isLtOrLv() { 3476 return appName() === "benu-eshop-lt" || appName() === "benu-eshop-lv"; 3477 } 3478 function isMobile() { 3479 return window.jQuery ? window.jQuery(window).width() < 1020 : window.innerWidth < 1020; 3480 } 3481 function productBadgeVariantFromColor(color) { 3482 const map = { 3483 blue: "neutral", 3484 top: "neutral", 3485 green: "green", 3486 orangered: "orange", 3487 orange: "orange", 3488 darkpink: "", 3489 pink: "", 3490 red: "", 3491 card: "card", 3492 neutral: "neutral", 3493 eprice: "green", 3494 lightgreen: "green", 3495 new: "green", 3496 black: "neutral", 3497 express: "orange", 3498 stockout: "neutral" 3499 };
3500 const key = String(color || "").replace(/[^a-zA-Z0-9_-]/g, "").toLowerCase(); 3501 if (!key) { 3502 return "neutral"; 3503 } 3504 return Object.prototype.hasOwnProperty.call(map, key) ? map[key] : "neutral"; 3505 } 3506 function productBadgeVariantClass(color) { 3507 const variant = productBadgeVariantFromColor(color); 3508 return variant ? " bnuProductBadge--" + variant : ""; 3509 } 3510 function discountBadge(html, modifiers) { 3511 const mods = ["bnuProductBadge", "bnuProductBadge--pill"].concat(modifiers || []).filter(Boolean).join(" "); 3512 return '<div class="' + mods + '">' + html + "</div>"; 3513 } 3514 function textBadge(text, color) { 3515 return '<span class="bnuProductBadge' + productBadgeVariantClass(color) + '">' + text + "</span>"; 3516 } 3517 function isOtcOrRx(attrs) { 3518 const drugType = firstAttr(attrs, "drugType"); 3519 return drugType === "OTC" || drugType === "RX"; 3520 } 3521 function shouldShowDiscounts(product) { 3522 let show = true; 3523 const attrs = product.attributes || {}; 3524 if (isLtOrLv() && isOtcOrRx(attrs)) { 3525 show = false; 3526 } 3527 if (attrs.hideDiscountBadge) { 3528 show = false; 3529 } 3530 if (attrs.showFinalPrice && attrs.discount_price_percentage) { 3531 show = true; 3532 } 3533 return show; 3534 } 3535 function applyLvEmptyBubbleRules(product) { 3536 const attrs = product.attributes; 3537 if (isLv() && (!attrs.drugType || attrs.drugType[0] === "basic") && attrs.price_old) { 3538 attrs.hideDiscountBadge = true; 3539 attrs.showEmptyPromoBubble = true; 3540 return false; 3541 } 3542 return shouldShowDiscounts(product); 3543 } 3544 function hasMinCartPromo(product) { 3545 const attrs = product.attributes || {}; 3546 if (!attrs.discountMinCartValue) { 3547 return { hasPromo: false, isLC: false }; 3548 } 3549 const hasPromoPrice = attrs.price_old || attrs.loyal_customer_price; 3550 if (!hasPromoPrice) { 3551 return { hasPromo: false, isLC: false }; 3552 } 3553 return { 3554 hasPromo: true, 3555 isLC: !!attrs.loyal_customer_price 3556 }; 3557 } 3558 function minCartPromoText(product) { 3559 const sum = product.attributes.discountMinCartValue + " \u20AC"; 3560 return t("minCartPromoText").replace("{{sum}}", sum); 3561 } 3562 function formatMinCartPromo(product, options) { 3563 const mini = !!(options && options.mini); 3564 const info = hasMinCartPromo(product); 3565 const result = { html: "", hasPromo: info.hasPromo, isLC: info.isLC }; 3566 if (!info.hasPromo) { 3567 return result; 3568 } 3569 const promoText = minCartPromoText(product); 3570 const colorMod = info.isLC ? "bnuMinCartPromo--lc" : "bnuMinCartPromo--promo"; 3571 if (mini) { 3572 result.html = '<span class="bnuMinCartPromo__textOnly ' + colorMod + '">' + promoText + "</span>"; 3573 return result; 3574 } 3575 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>"; 3576 return result; 3577 } 3578 function formatMinCartValuePrice(product, options) { 3579 const mini = !!(options && options.mini); 3580 const attrs = product.attributes; 3581 const hasLC = !!attrs.loyal_customer_price; 3582 const promoPrice = hasLC ? attrs.loyal_customer_price : attrs.price; 3583 const regularPrice = attrs.price_old || attrs.price; 3584 const promoText = minCartPromoText(product); 3585 let html = '<div class="bnuProduct__price bnuProduct__price--minCartValue">'; 3586 if (hasLC) { 3587 html += '<div class="bnuProduct__price price price--card"><ins class="card">' + eur(promoPrice) + '*</ins><img loading="lazy" src="' + cardImg() + '" alt="' + cardAlt() + '"></div>'; 3588 } else { 3589 html += '<span class="bnuProduct__price bnuProduct__price--promo bnuProduct__price--asterisk">' + eur(promoPrice) + "*</span>"; 3590 } 3591 html += '<span class="bnuProduct__price bnuProduct__price--regular">' + eur(regularPrice) + "</span>"; 3592 html += "</div>"; 3593 if (mini) { 3594 const textClass = hasLC ? "bnuLuigisSearch__priceNote bnuLuigisSearch__priceN
3594ote--lc" : "bnuLuigisSearch__priceNote bnuLuigisSearch__priceNote--promo"; 3595 html += '<div class="' + textClass + '">' + promoText + "</div>"; 3596 } 3597 return html; 3598 } 3599 function voucherPercentLabel(fp) { 3600 if (isLv()) { 3601 return "%"; 3602 } 3603 const raw = fp && fp.percentage; 3604 const value = String(Array.isArray(raw) ? raw[0] : raw == null ? "" : raw).trim(); 3605 if (!value || value === "false" || value.toLowerCase() === "undefined") { 3606 return ""; 3607 } 3608 return value.indexOf("%") === -1 ? value + "%" : value; 3609 } 3610 function formatVoucherPrice(product) { 3611 const fp = product.attributes.showFinalPrice[0]; 3612 const lcOnly = !!fp.lcOnly; 3613 const badgeClass = lcOnly ? "bnuProductBadge bnuProductBadge--green" : "bnuProductBadge"; 3614 const pct = voucherPercentLabel(fp); 3615 let html = '<div class="bnuProduct__price bnuLuigisSearch__voucherPrice'; 3616 if (lcOnly) { 3617 html += " bnuLuigisSearch__voucherPrice--lc"; 3618 } 3619 html += '">'; 3620 if (pct) { 3621 html += '<span class="' + badgeClass + '">' + pct + "</span>"; 3622 } 3623 html += "<ins>" + fp.price + " \u20AC</ins>"; 3624 if (lcOnly) { 3625 html += '<img loading="lazy" src="' + cardImg() + '" alt="' + cardAlt() + '">'; 3626 } 3627 html += "<p>" + t("withCode") + ": <strong>" + fp.code + "</strong></p>"; 3628 html += "</div>"; 3629 return html; 3630 } 3631 function formatPriceHtml(product, options) { 3632 const compact = !!(options && options.compact); 3633 const attrs = product.attributes; 3634 let showDiscounts = applyLvEmptyBubbleRules(product); 3635 let html = ""; 3636 let priceGroupClass = ""; 3637 let topWrapClass = ""; 3638 if (!compact) { 3639 let priceLength = 0; 3640 if (attrs.price_old) { 3641 priceLength += String(attrs.price_old).length + String(attrs.price).length; 3642 } 3643 if (attrs.loyal_customer_price) { 3644 priceLength += String(attrs.loyal_customer_price).length; 3645 } 3646 if (attrs.multiQntData) { 3647 priceLength += String(attrs.multiQntData[0].price).length; 3648 } 3649 if (attrs.showFinalPrice) { 3650 priceLength = 22; 3651 } 3652 if (priceLength >= 21) { 3653 priceGroupClass = "wrap"; 3654 } 3655 } 3656 if (attrs.loyal_customer_price && showDiscounts && !compact) { 3657 html += '<div class="bnuProduct__price"><ins class="card">' + eur(attrs.loyal_customer_price) + '</ins><img loading="lazy" src="' + cardImg() + '" alt="' + cardAlt() + '"></div>'; 3658 } 3659 let lcInline = ""; 3660 if (attrs.loyal_customer_price && showDiscounts && compact) { 3661 lcInline = '<ins class="card">' + eur(attrs.loyal_customer_price) + '</ins> <img loading="lazy" src="' + cardImg() + '" alt="' + cardAlt() + '"> '; 3662 } 3663 if (!attrs.multiQntData) { 3664 if (!compact) { 3665 html += '<div class="bnuProduct__price' + (priceGroupClass ? " " + priceGroupClass : "") + '">'; 3666 if (!attrs.isProductsBundle) { 3667 if (attrs.price_old && attrs.price_old != attrs.price && (!attrs.drugType || attrs.drugType[0] === "basic")) { 3668 if (!attrs.hideDiscountBadge) { 3669 html += "<ins>" + eur(attrs.price) + "</ins>"; 3670 html += "<del>" + eur(attrs.price_old) + "</del>"; 3671 html += "</div>"; 3672 } else if (attrs.loyal_customer_price) { 3673 html += '<span class="bnuProductBadge bnuProductBadge--green">%</span>'; 3674 html += '<ins class="card">' + eur(attrs.loyal_customer_price) + "</ins>"; 3675 html += "</div>"; 3676 } else { 3677 html += '<span class="bnuProductBadge">%</span>'; 3678 html += "<ins>" + eur(attrs.price) + "</ins>"; 3679 html += "</div>"; 3680 } 3681 } else { 3682 html += "<span>" + eur(attrs.price) + "</span></div>"; 3683 if (attrs.showFinalPrice) { 3684 html += formatVoucherPrice(product); 3685 } 3686 } 3687 } else if (!attrs.priceColor || attrs.priceColor.length === 0 || attrs.priceColor === "blue") { 3688 html += "<span>" + eur(attrs.price) + "</span></div>"; 3689 } else if (attrs.priceColor === "orange") { 3690 html += "<ins>" + eur(attrs.price) + "</ins></div>"; 3691 } else { 3692 html += '<ins class="card">' + eur(attrs.price) + '</ins><img loading="lazy" src="' + cardImg() + '" alt="' + cardAlt() + '"></div>'; 3693 } 3694 } else { 3695 if (attrs.price_old && attrs.price_old != attrs.price && (!attrs.drugType || attrs.drugType[0] === "basic")) { 3696 if (!attrs.hideDiscountBadge) { 3697 html += '<div class="bnuProduct__price">'; 3698 html += lcInline; 3699 html += "<ins>" + eur(attrs.price) + "</ins>"; 3700 html += "<del>" + eur(attrs.price_old) + "</del>"; 3701 html += "</div>"; 3702 } else if (attrs.loyal_customer_price) { 3703 html += '<div class="bnuProduct__price">'; 3704 html += '<span class="bnuProductBadge bnuProductBadge--green">%</span>'; 3705 html += '<ins class="card">' + eur(attrs.loyal_customer_price) + "</ins>"; 3706 html += "</div>"; 3707 } else { 3708 html += '<div class="bnuProduct__price">'; 3709 html += '<span class="bnuProductBadge">%</span>'; 3710 html += lcInline; 3711 html += "<ins>" + eur(attrs.price) + "</ins>"; 3712 html += "</div>"; 3713 } 3714 } else if (attrs.showEmptyPromoBubble && !attrs.showFinalPrice) { 3715 html += '<div class="bnuProduct__price">'; 3716 html += '<span class="bnuProductBadge">%</span>'; 3717 html += lcInline; 3718 html += "<ins>" + eur(attrs.price) + "</ins>"; 3719 html += "</div>"; 3720 } else { 3721 html += '<div class="bnuProduct__price">' + lcInline + "<span>" + eur(attrs.price) + "</span></div>"; 3722 } 3723 if (attrs.showFinalPrice) { 3724 html += formatVoucherPrice(product); 3725 } 3726 } 3727 } else { 3728 if (!compact) { 3729 priceGroupClass = "wrap"; 3730 html += '<div class="bnuProduct__price wrap">'; 3731 html += "<span>" + eur(attrs.price) + "</span>"; 3732 html += "<ins>" + attrs.multiQntData[0].price + " \u20AC</ins>"; 3733 html += "</div>";
3734 html += '<p class="bnuLuigisSearch__priceNote bnuLuigisSearch__priceNote--promo">' + t("buyingMoreThan") + attrs.multiQntData[0].qnt + "</p>"; 3735 } else { 3736 if (lcInline) { 3737 topWrapClass = "bnuLuigisSearch__productRow--multiQntLC"; 3738 } 3739 html += '<div class="bnuProduct__price">' + lcInline + "<span>" + eur(attrs.price) + "</span>"; 3740 html += '<ins class="bnuLuigisSearch__multiQnt">' + attrs.multiQntData[0].price + " \u20AC</ins></div>"; 3741 html += '<p class="bnuLuigisSearch__priceNote bnuLuigisSearch__priceNote--promo">' + t("buyingMoreThan") + attrs.multiQntData[0].qnt + "</p>"; 3742 } 3743 } 3744 return { html, priceGroupClass, topWrapClass }; 3745 } 3746 function formatCampaignBadges(product) { 3747 const attrs = product.attributes || {}; 3748 let badges = ""; 3749 let specialIcon = ""; 3750 let lcText = ""; 3751 let badgesCount = 0; 3752 if (!attrs.badges) { 3753 return { badges, specialIcon, lcText, badgesCount }; 3754 } 3755 window.jQuery.each(attrs.badges, function() { 3756 window.jQuery.each(this, function(idx, val) { 3757 if (idx === "lcText") { 3758 lcText = val; 3759 } else if (idx === "specialIcon") { 3760 specialIcon = val; 3761 } else if (idx === "campaignSticker") { 3762 badges += '<div class="bnuCampaignSticker"><img src="' + val + '" alt="' + (this.badgeText || "") + '"></div>'; 3763 badgesCount += 2; 3764 } else if (this.badgeText) { 3765 badges += textBadge(this.badgeText, this.badgeColor); 3766 badgesCount++; 3767 } 3768 }); 3769 }); 3770 return { badges, specialIcon, lcText, badgesCount }; 3771 } 3772 function formatDiscountBadges(product, options) { 3773 const compact = !!(options && options.compact); 3774 const attrs = product.attributes; 3775 let showDiscounts = shouldShowDiscounts(product); 3776 let discounts = ""; 3777 let discountsCount = 0; 3778 let redDiscountSmall = ""; 3779 if (isLv() && attrs.showFinalPrice) { 3780 showDiscounts = false; 3781 attrs.showEmptyPromoBubble = true; 3782 if (attrs.showFinalPrice[0].lcOnly) { 3783 attrs.loyal_customer_price_amount = true; 3784 } 3785 } 3786 if (isLv() && (!attrs.drugType || attrs.drugType[0] === "basic") && attrs.price_old) { 3787 showDiscounts = false; 3788 attrs.hideDiscountBadge = true; 3789 attrs.showEmptyPromoBubble = true; 3790 } 3791 const minCart = hasMinCartPromo(product); 3792 if (minCart.hasPromo) { 3793 let discountPercent = 0; 3794 if (minCart.isLC && attrs.loyal_customer_price_amount) { 3795 const basePrice = attrs.price_old ? parseFloat(attrs.price_old) : parseFloat(attrs.price_amount); 3796 discountPercent = Math.round( 3797 (basePrice - parseFloat(attrs.loyal_customer_price_amount)) * 100 / basePrice 3798 ); 3799 discounts += discountBadge( 3800 "-" + discountPercent + '<span>%*</span><img src="' + cardImg() + '" alt="' + cardAlt() + '" class="card">', 3801 ["bnuProductBadge--card"] 3802 ); 3803 } else if (attrs.price_old || attrs.discount_price_percentage) { 3804 discountPercent = attrs.discount_price_percentage ? attrs.discount_price_percentage : Math.round( 3805 (parseFloat(attrs.price_old) - parseFloat(attrs.price_amount)) * 100 / parseFloat(attrs.price_old) 3806 ); 3807 discounts += discountBadge("-" + discountPercent + "<span>%*</span>"); 3808 } 3809 discountsCount++; 3810 return { discounts, discountsCount }; 3811 } 3812 if (showDiscounts) { 3813 if (attrs.discount_price_lc_percentage) { 3814 let label = ""; 3815 if (!compact || !isLv()) { 3816 label = "-" + attrs.discount_price_lc_percentage; 3817 } 3818 discounts += discountBadge( 3819 label + '<span>%</span><img src="' + cardImg() + '" alt="' + cardAlt() + '" class="card">', 3820 ["bnuProductBadge--card"] 3821 ); 3822 redDiscountSmall = "bnuLuigisSearch__badge--small"; 3823 discountsCount++; 3824 } else if (attrs.loyal_customer_price_amount) { 3825 const lcDiscountPercentage = Math.round( 3826 100 - Number(attrs.loyal_customer_price_amount) / (attrs.price_amount / 100) 3827 ); 3828 let label = ""; 3829 if (!compact) {
3830 label = "-" + lcDiscountPercentage; 3831 } else if (!isLv()) { 3832 label = "-" + lcDiscountPercentage; 3833 } 3834 discounts += discountBadge( 3835 label + '<span>%</span><img src="' + cardImg() + '" alt="' + cardAlt() + '" class="card">', 3836 ["bnuProductBadge--card"] 3837 ); 3838 redDiscountSmall = "bnuLuigisSearch__badge--small"; 3839 discountsCount++; 3840 } 3841 if (!compact) { 3842 if (attrs.discount_price_percentage) { 3843 const bubble = attrs.bubbleSettings; 3844 if (!bubble || bubble.length === 0 || bubble[0] && bubble[0].voucherAsPromoBubble === "show") { 3845 const discountPercentage = attrs.discount_price_percentage; 3846 const discountText = discountPercentage == 100 ? "" : "-" + discountPercentage; 3847 discounts += discountBadge( 3848 discountText + "<span>%</span>", 3849 redDiscountSmall ? [redDiscountSmall] : [] 3850 ); 3851 discountsCount++; 3852 } else if (bubble && bubble[0] && bubble[0].voucherAsPromoBubble === "showDiscountAmount") { 3853 discounts += discountBadge( 3854 "-" + bubble[0].voucherAsPromoBubbleSaveAmount + "<span> \u20AC</span>", 3855 ["bnuLuigisSearch__badge--small"] 3856 ); 3857 discountsCount++; 3858 } 3859 } 3860 } else if (attrs.discount_price_lc_percentage || attrs.loyal_customer_price_amount) { 3861 } else if (attrs.discount_price_percentage) { 3862 const bubble = attrs.bubbleSettings; 3863 if (!bubble || bubble.length === 0 || bubble[0] && bubble[0].voucherAsPromoBubble === "show") { 3864 const discountPercentage = attrs.discount_price_percentage; 3865 const discountText = discountPercentage == 100 ? "" : "-" + discountPercentage; 3866 discounts += discountBadge(discountText + "<span>%</span>"); 3867 discountsCount++; 3868 } else if (bubble && bubble[0] && bubble[0].voucherAsPromoBubble === "showDiscountAmount") { 3869 discounts += discountBadge( 3870 "-" + bubble[0].voucherAsPromoBubbleSaveAmount + "<span> \u20AC</span>", 3871 ["bnuLuigisSearch__badge--small"] 3872 ); 3873 discountsCount++; 3874 } 3875 } else if (attrs.loyal_customer_price) { 3876 if (isLv() && attrs.lowestPriceDiscount) { 3877 discounts += discountBadge( 3878 attrs.lowestPriceDiscount + "<span>%</span>", 3879 ["bnuProductBadge--green"] 3880 ); 3881 } else { 3882 discounts += discountBadge("<span>%</span>", ["bnuProductBadge--green"]); 3883 } 3884 discountsCount++; 3885 } else if (isLv() && attrs.showFinalPrice && attrs.showFinalPrice[0].lcOnly) { 3886 discounts += discountBadge( 3887 (attrs.lowestPriceDiscount || "") + "<span>%</span>", 3888 ["bnuProductBadge--green"] 3889 ); 3890 discountsCount++; 3891 } else if (isLv() && attrs.lowestPriceDiscount) { 3892 discounts += discountBadge(attrs.lowestPriceDiscount + "<span>%</span>"); 3893 discountsCount++; 3894 } 3895 } else { 3896 if (!compact) { 3897 if (attrs.loyal_customer_price_amount) { 3898 if (isLv() && attrs.lowestPriceDiscount) { 3899 discounts += discountBadge( 3900 attrs.lowestPriceDiscount[0] + "<span>%</span>", 3901 ["bnuProductBadge--green"] 3902 ); 3903 } else { 3904 discounts += discountBadge("<span>%</span>", ["bnuProductBadge--green"]); 3905 } 3906 } else if (isLv() && attrs.showFinalPrice && attrs.showFinalPrice[0].lcOnly) { 3907 if (attrs.lowestPriceDiscount) { 3908 discounts += discountBadge( 3909 attrs.lowestPriceDiscount[0] + "<span>%</span>", 3910 ["bnuProductBadge--green"] 3911 ); 3912 } 3913 } else if (attrs.showOnlyPercentageIcon || attrs.showEmptyPromoBubble) { 3914 if (isLv() && attrs.lowestPriceDiscount) { 3915 discounts += discountBadge( 3916 attrs.lowestPriceDiscount[0] + "<span>%</span>" 3917 ); 3918 } else { 3919 discounts += discountBadge("<span>%</span>"); 3920 } 3921 } 3922 } else if (attrs.showOnlyPercentageIcon || attrs.showEmptyPromoBubble) { 3923 if (attrs.loyal_customer_price) { 3924 if (isLv() && attrs.lowestPriceDiscount) { 3925 discounts += discountBadge( 3926 attrs.lowestPriceDiscount + "<span>%</span>", 3927 ["bnuProductBadge--green"] 3928 ); 3929 } else { 3930 discounts += discountBadge("<span>%</span>", ["bnuProductBadge--green"]); 3931 } 3932 } else if (isLv() && attrs.showFinalPrice && attrs.showFinalPrice[0].lcOnly) { 3933 discounts += discountBadge( 3934 (attrs.lowestPriceDiscount || "") + "<span>%</span>", 3935 ["bnuProductBadge--green"] 3936 ); 3937 } else if (isLv() && attrs.lowestPriceDiscount) { 3938 discounts += discountBadge(attrs.lowestPriceDiscount + "<span>%</span>"); 3939 } else { 3940 discounts += discountBadge("<span>%</span>"); 3941 } 3942 discountsCount++; 3943 } 3944 } 3945 return { discounts, discountsCount, redDiscountSmall }; 3946 } 3947 function formatSpecialIcon(icon) { 3948 if (!icon) { 3949 return ""; 3950 } 3951 const iconClass = String(icon.icon || "").replace(/^fa[lr]\s+/, "fa-regular "); 3952 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>'; 3953 } 3954 function formatTopProductData(product) { 3955 const data = { 3956 price: "", 3957 priceGroupClass: "", 3958 badges: "", 3959 specialIcon: "", 3960 lcText: "", 3961 discounts: "", 3962 minCartPromo: "" 3963 }; 3964 if (!product) { 3965 return data; 3966 } 3967 const price = formatPriceHtml(product, { compact: false }); 3968 data.price = price.html; 3969 data.priceGroupClass = price.priceGroupClass; 3970 const campaign = formatCampaignBadges(product); 3971 data.badges = campaign.badges; 3972 data.lcText = campaign.lcText; 3973 data.specialIcon = formatSpecialIcon(campaign.specialIcon); 3974 const discount = formatDiscountBadges(product, { compact: false }); 3975 data.discounts = discount.discounts; 3976 if (campaign.lcText) { 3977 data.discounts += discountBadge( 3978 campaign.lcText + '<img src="' + cardImg() + '" alt="' + cardAlt() + '" class="card">', 3979 ["bnuProductBadge--card"] 3980 ); 3981 } 3982 const minCart = formatMinCartPromo(product, { mini: false }); 3983 data.minCartPromo = minCart.html; 3984 if (minCart.hasPromo) { 3985 data.price = formatMinCartValuePrice(product, { mini: false }); 3986 } 3987 return data; 3988 } 3989 function formatProductData(product) { 3990 const data = { 3991 price: "", 3992 topWrapClass: "", 3993 badges: "", 3994 specialIcon: "", 3995 LCText: "", 3996 discounts: "", 3997 minCartPromo: "" 3998 }; 3999 if (!product) { 4000 return data; 4001 } 4002 const price = formatPriceHtml(product, { compact: true }); 4003 data.price = price.html; 4004 data.topWrapClass = price.topWrapClass; 4005 const campaign = formatCampaignBadges(product); 4006 data.badges = campaign.badges; 4007 data.LCText = campaign.lcText; 4008 data.specialIcon = campaign.specialIcon; 4009 const discount = formatDiscountBadges(product, { compact: true }); 4010 data.discounts = discount.discounts; 4011 let discountsCount = discount.discountsCount; 4012 const badgesCount = campaign.badgesCount; 4013 if (campaign.lcText) { 4014 let showLCText = true; 4015 if (isMobile()) { 4016 showLCText = badgesCount + discountsCount < 3; 4017 } 4018 if (showLCText) { 4019 data.discounts += discountBadge( 4020 campaign.lcText + '<img src="' + cardImg() + '" alt="' + cardAlt() + '" class="card">', 4021 ["bnuProductBadge--card"] 4022 ); 4023 discountsCount++; 4024 } 4025 } 4026 if (campaign.specialIcon) { 4027 let showSpecialIc = true; 4028 if (isMobile()) { 4029 showSpecialIc = false;
4030 if (badgesCount === 0 && discountsCount <= 2) { 4031 showSpecialIc = true; 4032 } 4033 if (badgesCount === 1 && discountsCount <= 1) { 4034 showSpecialIc = true; 4035 } 4036 if (discountsCount === 0) { 4037 showSpecialIc = true; 4038 } 4039 } 4040 if (showSpecialIc) { 4041 data.discounts += formatSpecialIcon(campaign.specialIcon); 4042 discountsCount++; 4043 } 4044 } 4045 const minCart = formatMinCartPromo(product, { mini: true }); 4046 data.minCartPromo = ""; 4047 if (minCart.hasPromo) { 4048 data.price = formatMinCartValuePrice(product, { mini: true }); 4049 } 4050 return data; 4051 } 4052 function applyTemplate(templateId, data) { 4053 const el = document.getElementById(templateId); 4054 if (!el) { 4055 return ""; 4056 } 4057 return el.innerHTML.replace(/{{(\w*)}}/g, function(v, key) { 4058 return Object.prototype.hasOwnProperty.call(data, key) ? data[key] : ""; 4059 }); 4060 } 4061 function processHtml(query, results) { 4062 const $2 = window.jQuery; 4063 const c = cfg(); 4064 const searchUrl = c.searchUrl || ""; 4065 let items = results.filter((v) => v.type === "item"); 4066 const queries = results.filter((v) => v.type === "query"); 4067 const brands = results.filter((v) => v.type === "brand"); 4068 const categories = results.filter((v) => v.type === "category"); 4069 const articles = results.filter((v) => v.type === "article"); 4070 const pharmacies = results.filter((v) => v.type === "pharmacy"); 4071 const pages = results.filter((v) => v.type === "page"); 4072 let textResultsCount = queries.length + brands.length + categories.length; 4073 let resultsHeight = 0; 4074 let activeTabSwitch = " active"; 4075 let tabsCount = 0; 4076 let itemsTab = ""; 4077 let categoriesTabBtn = ""; 4078 let brandsTabBtn = ""; 4079 let pharmaciesTabBtn = ""; 4080 let articlesTabBtn = ""; 4081 let pagesTabBtn = ""; 4082 if (items.length > 0) { 4083 itemsTab += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="products" type="button">' + t("products") + "</button>"; 4084 activeTabSwitch = ""; 4085 tabsCount++; 4086 } 4087 if (categories.length > 0) { 4088 categoriesTabBtn += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="categories" type="button">' + t("categories") + "</button>"; 4089 activeTabSwitch = ""; 4090 tabsCount++; 4091 resultsHeight += 20; 4092 } 4093 if (brands.length > 0) { 4094 brandsTabBtn += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="brands" type="button">' + t("brands") + "</button>"; 4095 activeTabSwitch = ""; 4096 tabsCount++; 4097 resultsHeight += 20; 4098 } 4099 if (pharmacies.length > 0) { 4100 pharmaciesTabBtn += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="pharmacies" type="button">' + t("pharmacies") + "</button>"; 4101 activeTabSwitch = ""; 4102 tabsCount++; 4103 resultsHeight += 20; 4104 } 4105 if (articles.length > 0) { 4106 articlesTabBtn += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="articles" type="button">' + t("articles") + "</button>"; 4107 activeTabSwitch = ""; 4108 tabsCount++; 4109 resultsHeight += 20; 4110 } 4111 if (pages.length > 0) { 4112 pagesTabBtn += '<button class="bnuLuigisSearch__tab' + activeTabSwitch + '" data-type="pages" type="button">' + t("pages") + "</button>"; 4113 activeTabSwitch = ""; 4114 tabsCount++; 4115 resultsHeight += 20; 4116 } 4117 let tabsContainer = '<div class="bnuLuigisSearch__tabs' + (tabsCount > 3 ? " bnuLuigisSearch__tabs--extended" : "") + '">'; 4118 tabsContainer += itemsTab + categoriesTabBtn + brandsTabBtn + pharmaciesTabBtn + articlesTabBtn + pagesTabBtn + "</div>"; 4119 let queriesResults = ""; 4120 if (queries.length > 0) { 4121 queriesResults = '<div class="bnuLuigisSearch__results queriesResults">'; 4122 queriesResults += "<h4>" + t("results") + "</h4><ul>"; 4123 $2.each(queries, function() { 4124 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() + '">'; 4125 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"'; 4126 queriesResults += '<li class="query"><a href="' + searchUrl + this.url + '" ' + wrapMetaData + ">" + this.attributes.title.toString() + metaData + "</a></li>"; 4127 resultsHeight += 28; 4128 }); 4129 queriesResults += "</ul></div>"; 4130 }
4131 let categoriesResults = ""; 4132 if (categories.length > 0) { 4133 categoriesResults = '<div class="bnuLuigisSearch__results categoriesResults">'; 4134 categoriesResults += "<h4>" + (query.length > 0 ? t("categories") : t("categoriesTop")) + "</h4><ul>"; 4135 $2.each(categories, function() { 4136 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">'; 4137 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"'; 4138 if (this.url != "paikesekaitse") { 4139 categoriesResults += '<li><a href="' + this.url + '" ' + wrapMetaData + ">" + metaData + "<span>" + this.attributes.title.toString() + "</span></a></li>"; 4140 resultsHeight += 28; 4141 } 4142 }); 4143 categoriesResults += "</ul></div>"; 4144 } 4145 let brandsResults = ""; 4146 if (brands.length > 0) { 4147 brandsResults = '<div class="bnuLuigisSearch__results brandsResults">'; 4148 brandsResults += "<h4>" + (query.length ? t("brands") : t("brandsTop")) + "</h4><ul>"; 4149 $2.each(brands, function() { 4150 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">'; 4151 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"'; 4152 brandsResults += '<li><a href="' + this.url + '" ' + wrapMetaData + ">" + metaData + "<span>" + this.attributes.title.toString() + "</span></a></li>"; 4153 resultsHeight += 28; 4154 }); 4155 brandsResults += "</ul></div>"; 4156 } 4157 let pharmaciesResults = ""; 4158 if (pharmacies.length > 0) { 4159 pharmaciesResults = '<div class="bnuLuigisSearch__results pharmaciesResults">'; 4160 pharmaciesResults += "<h4>" + t("pharmacies") + "</h4><ul>"; 4161 $2.each(pharmacies, function() { 4162 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">'; 4163 pharmaciesResults += '<li><a href="' + this.url + '">' + metaData + "<span>" + this.attributes.address.toString() + "</span></a></li>"; 4164 resultsHeight += 28; 4165 }); 4166 pharmaciesResults += "</ul></div>"; 4167 } 4168 let articlesResults = ""; 4169 let articlesResultsDesktop = ""; 4170 if (articles.length > 0) { 4171 articlesResults = '<div class="bnuLuigisSearch__results articlesResults">'; 4172 articlesResults += "<h4>" + t("articles") + "</h4><ul>"; 4173 $2.each(articles, function() { 4174 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">'; 4175 articlesResults += '<li><a href="' + this.url + '">' + metaData + "<span>" + this.attributes.title.toString() + "</span></a></li>"; 4176 resultsHeight += 28; 4177 }); 4178 articlesResults += "</ul></div>"; 4179 if (query.length > 5 || resultsHeight < 348) { 4180 articlesResultsDesktop = articlesResults; 4181 textResultsCount++; 4182 } 4183 } 4184 let pagesResults = ""; 4185 let pagesResultsDesktop = ""; 4186 if (pages.length > 0) { 4187 pagesResults = '<div class="bnuLuigisSearch__results pagesResults">'; 4188 pagesResults += "<h4>" + t("pages") + "</h4><ul>"; 4189 $2.each(pages, function() { 4190 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">'; 4191 pagesResults += '<li><a href="' + this.url + '">' + metaData + "<span>" + this.attributes.title.toString() + "</span></a></li>"; 4192 resultsHeight += 28; 4193 }); 4194 pagesResults += "</ul></div>"; 4195 if (query.length > 5 || resultsHeight < 348) { 4196 pagesResultsDesktop = pagesResults; 4197 } 4198 } 4199 let activeTabContent = ""; 4200 let productTabActive = " active"; 4201 if (items.length < 1 && isMobile()) { 4202 activeTabContent = " active"; 4203 productTabActive = ""; 4204 }
4205 let categoriesTab = ""; 4206 if (categories.length > 0) { 4207 categoriesTab = '<div id="tab_categories" class="bnuLuigisSearch__tabPanel' + activeTabContent + '">' + categoriesResults + "</div>"; 4208 activeTabContent = ""; 4209 } 4210 let brandsTab = ""; 4211 if (brands.length > 0) { 4212 brandsTab = '<div id="tab_brands" class="bnuLuigisSearch__tabPanel' + activeTabContent + '">' + brandsResults + "</div>"; 4213 activeTabContent = ""; 4214 } 4215 let pharmaciesTab = ""; 4216 if (pharmacies.length > 0) { 4217 pharmaciesTab = '<div id="tab_pharmacies" class="bnuLuigisSearch__tabPanel' + activeTabContent + '">' + pharmaciesResults + "</div>"; 4218 activeTabContent = ""; 4219 } 4220 let articlesTab = ""; 4221 if (articles.length > 0) { 4222 articlesTab = '<div id="tab_articles" class="bnuLuigisSearch__tabPanel' + activeTabContent + '">' + articlesResults + "</div>"; 4223 activeTabContent = ""; 4224 } 4225 let pagesTab = ""; 4226 if (pages.length > 0) { 4227 pagesTab = '<div id="tab_pages" class="bnuLuigisSearch__tabPanel' + activeTabContent + '">' + pagesResults + "</div>"; 4228 } 4229 if (c.reorderRxItems) { 4230 const itemsRX = []; 4231 items = $2.map(items, function(item) { 4232 if (item.attributes.drugType == "RX") { 4233 itemsRX.push(item); 4234 return null; 4235 } 4236 return item; 4237 }); 4238 if (itemsRX.length) { 4239 items = $2.merge(items, itemsRX); 4240 } 4241 } 4242 let topProductTemplate = ""; 4243 if (items.length > 0) { 4244 const formatted = formatTopProductData(items[0]); 4245 const topProductTitle = items[0].attributes.titleRaw || items[0].attributes.title; 4246 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 + '"'; 4247 topProductTemplate = applyTemplate("template-topProduct", { 4248 topProduct_discounts: formatted.discounts, 4249 topProduct_badges: formatted.badges, 4250 topProduct_url: items[0].url, 4251 topProduct_title: topProductTitle, 4252 topProduct_image: items[0].attributes.image_link, 4253 topProduct_price: formatted.price, 4254 topProduct_minCartPromo: formatted.minCartPromo || "", 4255 topProduct_LCText: formatted.lcText, 4256 topProduct_specialIcon: formatted.specialIcon, 4257 topProduct_priceGroupClass: formatted.priceGroupClass, 4258 topProduct_position: 1, 4259 topProduct_rawTitle: items[0].attributes.titleRaw, 4260 topProduct_rawPrice: items[0].attributes.price_amount, 4261 topProduct_metaData: metaData, 4262 topProduct_addToCart: formatAddToCartHtml(items[0]) 4263 }); 4264 } else { 4265 topProductTemplate = '<p class="bnuLuigisSearch__empty">' + t("noProducts") + "</p>"; 4266 } 4267 let products = ""; 4268 if (items.length > 0) { 4269 $2.each(items, function(idx) { 4270 if (idx == 0 && !isMobile()) { 4271 return; 4272 } 4273 if (items[idx].type != "item") { 4274 return; 4275 } 4276 const formatted = formatProductData(items[idx]); 4277 const productTitle = items[idx].attributes.titleRaw || items[idx].attributes.title; 4278 const resIdx = idx + 1; 4279 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 + '"'; 4280 products += applyTemplate("template-product", { 4281 product_discounts: formatted.discounts, 4282 product_badges: formatted.badges, 4283 product_url: items[idx].url, 4284 product_title: productTitle, 4285 product_image: items[idx].attributes.image_link, 4286 product_price: formatted.price, 4287 product_minCartPromo: formatted.minCartPromo || "", 4288 product_LCText: formatted.LCText, 4289 product_specialIcon: formatted.specialIcon, 4290 product_metaData: metaData, 4291 product_rawTitle: items[idx].attributes.titleRaw, 4292 product_rawPrice: items[idx].attributes.price_amount, 4293 product_position: items[idx]["data-autocomplete-id"], 4294 topWrap_class: formatted.topWrapClass, 4295 product_addToCart: formatAddToCartHtml(items[idx], "list") 4296 }); 4297 }); 4298 } else { 4299 products = '<p class="bnuLuigisSearch__empty">' + t("noProducts") + "</p>"; 4300 } 4301 if (items.length == 1 && !isMobile()) { 4302 products += '<p class="bnuLuigisSearch__empty">' + t("noMoreProducts") + "</p>"; 4303 } 4304 return applyTemplate("template-searchBar", { 4305 query, 4306 queriesResults, 4307 categoriesResults, 4308 brandsResults, 4309 pagesResults, 4310 pagesResultsDesktop, 4311 topProduct: topProductTemplate, 4312 products, 4313 articlesResults, 4314 articlesResultsDesktop, 4315 pharmaciesResults, 4316 tabsContainer, 4317 brandsTab, 4318 articlesTab, 4319 pharmaciesTab, 4320 categoriesTab, 4321 pagesTab, 4322 productTabActive 4323 }); 4324 } 4325 var LB_ITEM_FILTERS = { status: "active", isHidden: "no" }; 4326 function LBInitAutocomplete() { 4327 const c = cfg(); 4328 if (typeof window.AutoComplete !== "function") { 4329 return; 4330 } 4331 window.ac = window.AutoComplete( 4332 { 4333 Layout: "heromobile", 4334 TrackerId: c.publicKey, 4335 Locale: "en", 4336 ShowHeroProduct: true, 4337 Translations: { 4338 en: { 4339 showAllTitle: t("showAll"), 4340 placeholderText: t("placeholder") 4341 } 4342 }, 4343 MinChars: 0, 4344 Types: [ 4345 { 4346 type: "item", 4347 name: "Produktai", 4348 recommendHeroName: "Top produktai", 4349 heroName: "Top produktas", 4350 recommendName: "Top produktas", 4351 size: 7, 4352 recommend: { size: 7, filters: LB_ITEM_FILTERS }, 4353 defaultFilters: LB_ITEM_FILTERS 4354 }, 4355 { 4356 type: "category", 4357 name: t("categories"), 4358 size: 3, 4359 recommend: { size: 3 } 4360 }, 4361 { 4362 type: "brand", 4363 name: t("brands"), 4364 size: 3, 4365 recommend: { size: 3 } 4366 }, 4367 { 4368 type: "article", 4369 name: t("articles"), 4370 size: 1 4371 }, 4372 { 4373 type: "pharmacy", 4374 name: t("pharmacies"), 4375 size: 1, 4376 defaultFilters: { openStatus: "opened" } 4377 }, 4378 { 4379 type: "page", 4380 name: t("pages"), 4381 size: 1 4382 }, 4383 { 4384 type: "query", 4385 size: 6, 4386 name: "U\u017Eklausos", 4387 recommend: { size: 6 } 4388 } 4389 ], 4390 AfterRender: function(query, results) { 4391 const $2 = window.jQuery; 4392 if (results && results.length !== 0) { 4393 this.OpenEmpty(processHtml(query, results)); 4394 } 4395 if (results && results.length === 0) { 4396 this.OpenEmpty( 4397 applyTemplate("template-searchBar--noResults", { query }) 4398 ); 4399 } 4400 if ($2(".luigi-ac-heromobile-input-wrap .allResultsBtn").length == 0) { 4401 $2(".luigi-ac-heromobile-input-wrap").append( 4402 '<a class="allResultsBtn" href="' + c.searchUrl + $2("#headerSearch").val() + '">' + t("allResults") + ' <i class="fa-regular fa-chevron-right" aria-hidden="true"></i></a>' 4403 ); 4404 } 4405 }, 4406 BeforeOpen: function() { 4407 const $2 = window.jQuery; 4408 $2("#headerSearch_listbox").hide(); 4409 if (isMobile()) { 4410 $2("body").css("overflow-y", "clip"); 4411 } 4412 }, 4413 AfterClose: function() { 4414 const $2 = window.jQuery; 4415 if (isMobile()) { 4416 $2("body").css("overflow-y", "auto"); 4417 } 4418 } 4419 }, 4420 "#headerSearch" 4421 ); 4422 } 4423 function isLuigisCartActionTarget(target) { 4424 const btn = target && target.closest ? target.closest(".bind-addToCart") : null; 4425 return !!(btn && btn.closest && btn.closest(".bnuLuigisSearch")); 4426 } 4427 function bindLuigisSearchBarEvents() { 4428 document.addEventListener( 4429 "mousedown", 4430 function(e) { 4431 if (isLuigisCartActionTarget(e.target)) { 4432 e.preventDefault(); 4433 e.stopPropagation(); 4434 } 4435 }, 4436 true 4437 ); 4438 document.addEventListener( 4439 "click", 4440 function(e) { 4441 const btn = e.target && e.target.closest && e.target.closest(".bind-addToCart"); 4442 if (!btn || !btn.closest(".bnuLuigisSearch")) { 4443 return; 4444 } 4445 e.preventDefault(); 4446 e.stopPropagation(); 4447 if (window.jQuery) { 4448 window.jQuery(btn).trigger("trigger:addToCart"); 4449 } 4450 }, 4451 true 4452 ); 4453 const $2 = window.jQuery; 4454 if (!$2) { 4455 return; 4456 } 4457 $2(document).on("click", ".bnuLuigisSearch__tabs .bnuLuigisSearch__tab", function() { 4458 $2(this).siblings(".active").removeClass("active"); 4459 $2(this).addClass("active"); 4460 $2(".bnuLuigisSearch__tabPanel.active").removeClass("active"); 4461 $2("#tab_" + $2(this).data("type")).addClass("active"); 4462 }); 4463 $2(document).on("keyup", ".luigi-ac-heromobile-input", function() { 4464 const c = cfg(); 4465 $2(".allResultsBtn").attr("href", c.searchUrl + $2("#headerSearch").val()); 4466 }); 4467 } 4468 window.LBInitAutocomplete = LBInitAutocomplete; 4469 window.applyTemplate = applyTemplate; 4470 bindLuigisSearchBarEvents(); 4471 4472 // www/application/resources/js/main.js 4473 var tabsInstance = null; 4474 var swipersInstance = null; 4475 var addedToCartDialogInstance = null; 4476 var productSearchInstance = null;
4477 function init() { 4478 const scroll = new BodyScrollDirection(); 4479 scroll.init(); 4480 tabsInstance = new Tabs(); 4481 tabsInstance.init(); 4482 const inputs = new Inputs(); 4483 inputs.init(); 4484 productSearchInstance = new ProductSearch(); 4485 productSearchInstance.init(); 4486 const forms = new Forms(); 4487 forms.init(); 4488 const dialog = new Dialog(); 4489 dialog.init(); 4490 window.benuDialog = dialog; 4491 initDatepickerDialogSupport(); 4492 addedToCartDialogInstance = new AddedToCartDialog(); 4493 addedToCartDialogInstance.init(); 4494 window.benuAddedToCartDialog = addedToCartDialogInstance; 4495 const promoBar = new PromoBar({ 4496 onClosed: () => scroll.update() 4497 }); 4498 promoBar.init(); 4499 initPromoSliders(); 4500 const productNav = new ProductNav(); 4501 productNav.init(); 4502 const productNavA11y = new ProductNavAccessibility(); 4503 productNavA11y.init(); 4504 swipersInstance = new SwiperInit(); 4505 swipersInstance.init(); 4506 initHeroCarouselSkeletonHosts(); 4507 const headerMenu = new HeaderMenu(); 4508 headerMenu.init(); 4509 initFooterMenuAccordions(); 4510 initSideCart(); 4511 initCartGifts(); 4512 initTooltips(); 4513 initSocialVideos(); 4514 } 4515 window.benuReinitSwipers = function() { 4516 if (swipersInstance) { 4517 swipersInstance.initSwipersFromDataAttributes(); 4518 } else { 4519 swipersInstance = new SwiperInit(); 4520 swipersInstance.init(); 4521 } 4522 }; 4523 window.benuReinitTabs = function() { 4524 if (tabsInstance) { 4525 tabsInstance.refresh(); 4526 } else { 4527 tabsInstance = new Tabs(); 4528 tabsInstance.init(); 4529 } 4530 }; 4531 window.benuReinitProductSearch = function() { 4532 if (productSearchInstance) { 4533 productSearchInstance.refresh(); 4534 } else { 4535 productSearchInstance = new ProductSearch(); 4536 productSearchInstance.init(); 4537 } 4538 }; 4539 if (document.readyState === "loading") { 4540 document.addEventListener("DOMContentLoaded", init, { once: true }); 4541 } else { 4542 init(); 4543 } 4544})(); 4545</script>
4545<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"> 4546 <link href="/application/styles/all.min.css?v=1257" rel="stylesheet" /> 4547 <link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css" rel="stylesheet"> 4548 <link href="https://cdn.jsdelivr.net/npm/swiper@12/swiper-bundle.min.css" rel="stylesheet"> 4549 <link href="/application/sources/css/main.css?v=1257" rel="stylesheet" /><link rel="preload" href="/application/styles/all.min.css?v=1257" as="style" /> 4550 <link rel="preload" href="/application/sources/css/main.css?v=1257" as="style" /> 4551 <link rel="preload" href="/core/assets/fontawesome5/webfonts/fa-regular-400.woff2?v=1257" as="font" /> 4552 <link rel="preload" href="/core/assets/fontawesome5/webfonts/fa-light-300.woff2?v=1257" as="font" /> 4553 <link rel="preload" href="/core/assets/fontawesome5/webfonts/fa-solid-900.woff2?v=1257" as="font" /> 4554 <link nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" rel="preload" href="https://kit.fontawesome.com/bf11807ccc.js" as="script" /><meta name="facebook-domain-verification" content="vs7hfqkrzrpdfaj2vr95hn59mk0dzo" />
4555<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
4555
4556<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 4557 window.OneSignal = window.OneSignal || []; 4558 OneSignal.push(function() { 4559 OneSignal.init({ 4560 appId: "922689d7-de94-4730-8651-7d2e9f956a87", 4561 }); 4562 }); 4563</script>
4563
4564<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" async src="https://scripts.luigisbox.tech/LBX-269228.js"></script>
4564
4565<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" type="text/javascript" async="" src="https://www.benu.lv/v/scripts/velw.min.js"></script>
4565 <!--
4565<script src="https://unpkg.com/@livechat/[email protected]"></script>
4565 --> 4566 <!--
4566<script src="https://unpkg.com/@livechat/[email protected]/dist/customer-sdk.js" data-cookieconsent="ignore"></script>
4566 --> 4567 <link nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" data-cookieconsent="ignore" rel="preload" href="chatWidget/customer-sdk.js" as="script"> 4568 <!-- Start of LiveChat (www.livechatinc.com) code --> 4569
4569<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" type="text/javascript" data-cookieconsent="ignore"> 4570 4571 function getPrefillClientInfo() { 4572 } 4573 4574 4575 // start(); 4576 localStorage.setItem('logedin', 'No'); 4577 4578 // window.__lc = window.__lc || {}; 4579 // window.__lc.license = 14269137; 4580 // window.__lc.group = 4; 4581 // // window.__lc.visitor = [[]]; 4582 // 4583 // var LC_API = LC_API || {}; 4584 // LC_API.on_after_load = function() { 4585 // updateChatInfo(); 4586 // } 4587 4588 // var lcParamsBase = [{"name":"Loged in","value":"No"},{"name":"App name","value":"benu-eshop-lv"},[]]; 4589 // window.__lc.params = [{"name":"Loged in","value":"No"},{"name":"App name","value":"benu-eshop-lv"},[]]; 4590 4591 // (function() { 4592 // var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true; 4593 // lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.livechatinc.com/tracking.js'; 4594 // var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s); 4595 // })(); 4596 4597 4598 </script>
4598 4599
4599<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 4600 setTimeout(() => { 4601 if (typeof LiveChatWidget === 'undefined') { 4602 initiateLivechatWidget(4); 4603 4604 LiveChatWidget.on('ready', function() { 4605 LiveChatWidget.on('visibility_changed', onVisibilityChanged); 4606 }); 4607 } 4608 }, 500) 4609 </script>
4609 4610 <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> 4611 <!-- End of LiveChat code --> 4612 4613 4614<!-- <noscript> 4615 <a href="https://www.livechatinc.com/chat-with/14269137/" rel="nofollow">Chat with us</a>, 4616 powered by <a href="https://www.livechatinc.com/?welcome" rel="noopener nofollow" target="_blank">LiveChat</a> 4617 </noscript> --> 4618 <!-- End of LiveChat code --> 4619 4620
4620<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" data-cookieconsent="ignore"> 4621 function initiateLivechatWidget(lcGroup = null ) { 4622 window.__lc = window.__lc || {}; 4623 window.__lc.license = 14269137; 4624 window.__lc.group = 4; 4625 if (lcGroup) { 4626 window.__lc.group = lcGroup; 4627 } 4628 window.__lc.chat_between_groups = false; 4629 4630 window.__lc.visitor = [[]]; 4631 4632 var LC_API = LC_API || {}; 4633 LC_API.on_after_load = function() { 4634 updateChatInfo(); 4635 getPrefillClientInfo(); 4636 } 4637 4638 4639 var lcParamsBase = [{"name":"Loged in","value":"No"},{"name":"App name","value":"benu-eshop-lv"},[]]; 4640 window.__lc.params = [{"name":"Loged in","value":"No"},{"name":"App name","value":"benu-eshop-lv"},[]]; 4641 4642 ;(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)) 4643 } 4644 4645 function setChatActive() { 4646 ajaxHelper({ 4647 'className': 'LiveChat', 4648 'methodName': 'setUserChatActive', 4649 'args': {}, 4650 'callback': function(){ 4651 console.log('ACTIVE'); 4652 } 4653 }); 4654 } 4655 4656 function setChatInactive() { 4657 ajaxHelper({ 4658 'className': 'LiveChat', 4659 'methodName': 'setUserChatInactive', 4660 'args': {}, 4661 'callback': function(){ 4662 console.log('INACTIVE'); 4663 } 4664 }); 4665 } 4666 4667 setTimeout(()=> { 4668 LiveChatWidget.on('customer_status_changed', (data) => { 4669 switch(data.status) { 4670 case 'chatting': 4671 setChatActive(); 4672 break; 4673 case 'browsing': 4674 setChatInactive(); 4675 break; 4676 default: 4677 break; 4678 } 4679 }); 4680 4681 LiveChatWidget.on('ready', function(){ 4682 var cd = LiveChatWidget.get('customer_data'); 4683 console.log({'LC js status': cd.status}); 4684 4685 if ('inactive' == 'active') { 4686 if (cd.status != 'chatting') { 4687 setChatInactive(); 4688 } 4689 } 4690 4691 if ('inactive' == 'inactive') { 4692 if (cd.status == 'chatting') { 4693 setChatActive(); 4694 } 4695 } 4696 4697 updateChatInfo(); 4698 getPrefillClientInfo(); 4699 }); 4700 4701 4702 }, 1000) 4703 4704 function feedCartDataToChat(cartData){ 4705 if (typeof cartData == 'undefined') { 4706 return false; 4707 } 4708 if (typeof lcParamsBase != 'array') { 4709 var lcParamsBase = []; 4710 // return false; 4711 } 4712 var params = lcParamsBase.slice(); 4713 if (typeof cartData['cartType'] != 'undefined') { 4714 params.push({'name': 'Cart type', 'value': cartData['cartType']}); 4715 } else { 4716 params.push({'name': 'Cart type', 'value': ''}); 4717 } 4718 if (typeof cartData['sumRaw'] != 'undefined') { 4719 params.push({'name': 'Cart value', 'value': cartData['sumRaw']}); 4720 } else { 4721 params.push({'name': 'Cart value', 'value': 0}); 4722 } 4723 4724 if (typeof cartData['cartType'] != 'undefined') { 4725 if (cartData['cartType'] == 'RX') { 4726 tagCurrentChatRx(); 4727 } 4728 } 4729 4730 var cartItemNo = 1;
4731 if (typeof cartData['quickLines'] != 'undefined') { 4732 $.each(cartData['quickLines'], function(index, pr) { 4733 if (pr['drugType']) { 4734 pr['name'] = '['+pr['drugType']+']' + ((pr['prescriptionNo'] ? ' [' + pr['prescriptionNo'] +'] ' : '')) + pr['name']; 4735 } 4736 params.push({ 4737 'name': 'Cart item '+(cartItemNo++), 4738 'value': pr['name'] + ' x ' + pr['qnt'] 4739 }); 4740 }); 4741 } 4742 4743 if (typeof LC_API != 'undefined') { 4744 if (typeof LC_API.update_custom_variables == 'function') { 4745 LC_API.update_custom_variables(params); 4746 } else { 4747 console.log('failed to load function'); 4748 } 4749 } 4750 } 4751 4752 function updateChatInfo() 4753 { 4754 setTimeout(function(){ 4755 var cData = {}; 4756 // cData['chatID'] = LC_API.get_chat_id(); 4757 // console.log(cData['chatID']); 4758 4759 var chatData = LiveChatWidget.get('chat_data'); 4760 cData['chatID'] = chatData.chatId; 4761 cData['threadID'] = chatData.threadId; 4762 cData['agentsAvailable'] = LC_API.agents_are_available(); 4763 4764 var customer = LiveChatWidget.get('customer_data'); 4765 cData['customerID'] = customer.id; 4766 ajaxHelper({ 4767 'className': 'LiveChat', 4768 'methodName': 'updateChatInfo', 4769 'args': {'data': cData}, 4770 'callback': function(){ 4771 } 4772 }); 4773 4774 }, 2000); 4775 } 4776 4777 function tagCurrentChatRx() 4778 { 4779 ajaxHelper({ 4780 'className': 'LiveChat', 4781 'methodName': 'tagCurrentChatRx', 4782 'callback': function(response){ 4783 console.log(response); 4784 } 4785 }); 4786 } 4787 4788 function requestInitialChatCategories() 4789 { 4790 ajaxHelper({ 4791 'methodName': 'requestInitialChatCategories', 4792 'args': null 4793 }); 4794 } 4795 4796 function requestRxStepInChat() 4797 { 4798 ajaxHelper({ 4799 'methodName': 'requestRxStepInChat', 4800 'args': null 4801 }); 4802 } 4803 4804 function onVisibilityChanged(data) { 4805 if (data.visibility == 'maximized' || data == 'maximized') { 4806 $('.smallPopup > .bnPopup').removeClass('active'); 4807 } else { 4808 $('.smallPopup:visible').removeClass('liveChatOpen'); 4809 $('#chat-widget-container').removeClass('smallPopupOpen'); 4810 } 4811 4812 } 4813 4814 $(document).on('click', '.bind-openChat', function(e){ 4815 e.preventDefault(); 4816 LC_API.open_chat_window(); 4817 }); 4818 4819 $(document).on('click', '.bind-openChatWithGroups', function(e){ 4820 e.preventDefault(); 4821 LC_API.open_chat_window(); 4822 requestInitialChatCategories(); 4823 }); 4824 4825 $(document).on('click', '.bind-openChatRxStep', function(e){ 4826 e.preventDefault(); 4827 LC_API.open_chat_window(); 4828 requestRxStepInChat(); 4829 }); 4830 4831 </script>
4831 4832 4833
4833<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 4834 const _trackerSettings = {}; 4835 _trackerSettings.facebook = false; 4836 _trackerSettings.gtm = true; 4837 _trackerSettings.matomo = false; 4838 _trackerSettings.facebookAPI = false; 4839 _trackerSettings.debug = false; 4840</script>
4840 4841 4842
4842<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" type="text/plain" data-cookieconsent="statistics">
vendor: 414 bytes, lines 4842-4847
4842 4843 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 4844 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 4845 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 4846 })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); 4847 ga('create', '
4847UA-40271748-3
vendor: 24 bytes, lines 4847-4848
4847', 'auto'); 4848
4848</script>
4848 4849 4850 4851
4851<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" type="text/plain" data-cookieconsent="statistics"> 4852 window._mtm = window._mtm || []; 4853 window._mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'}); 4854 var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; 4855 g.type='text/javascript'; g.async=true; 4856 g.src='https://matomo.binfra.cloud/js/container_8otKUkDs.js'; 4857 s.parentNode.insertBefore(g,s); 4858 </script>
4858 4859 4860
4861<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 4862 var eshopEvent_visibleProducts = {}; 4863</script>
vendor: 1 bytes, line 4863
4863
4864<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 4865 var eshopEvent_duplicateProducts = []; 4866</script>
vendor: 1 bytes, line 4866
4866
4867<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 4868 var eshopEvent_visiblePromotions = {}; 4869 var seenCarouselProducts = []; 4870 var seenBanners = []; 4871</script>
vendor: 1 bytes, line 4871
4871
4872<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 4873 var eshopEvent_duplicatePromotions = []; 4874</script>
vendor: 1 bytes, line 4874
4874
4875<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 4876 var forcedBanner = 0; 4877 var orderSent = false; 4878</script>
4878
4878<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 4879 $(document).ready(function() { 4880 $.reject(); 4881 4882 function isOldBrowser() { 4883 var userAgent = navigator.userAgent; 4884 4885 // Define regex patterns for old browsers 4886 var ieOld = /MSIE\s([0-9]{1,}[\.0-9]{0,})|Trident\/7.0.*rv:([0-9]{2,})/i; 4887 var firefoxOld = /Firefox\/([0-9]{1,}[\.0-9]{0,})/i; 4888 var chromeOld = /Chrome\/([0-9]{1,}[\.0-9]{0,})/i; 4889 var safariOld = /Version\/([0-9]{1,}[\.0-9]{0,}) Safari\//i; 4890 4891 // Test user agent against each regex 4892 var ieMatch = userAgent.match(ieOld); 4893 if (ieMatch) { 4894 var ieVersion = parseFloat(ieMatch[1] || ieMatch[2]); 4895 if (ieVersion < 19) { 4896 return true; 4897 } 4898 } 4899 4900 var firefoxMatch = userAgent.match(firefoxOld); 4901 if (firefoxMatch) { 4902 var firefoxVersion = parseFloat(firefoxMatch[1]); 4903 if (firefoxVersion < 52) { 4904 return true; 4905 } 4906 } 4907 4908 var chromeMatch = userAgent.match(chromeOld); 4909 if (chromeMatch) { 4910 var chromeVersion = parseFloat(chromeMatch[1]); 4911 if (chromeVersion < 52) { 4912 return true; 4913 } 4914 } 4915 4916 var safariMatch = userAgent.match(safariOld); 4917 if (safariMatch) { 4918 var safariVersion = parseFloat(safariMatch[1]); 4919 if (safariVersion < 15.4) { 4920 return true; 4921 } 4922 } 4923 4924 // Add additional browser checks if needed 4925 4926 // If no old browsers are detected, return false 4927 return false; 4928 } 4929 4930 var goodBrowser = false; 4931 var customerBrowsersRegex = /Benu/; 4932 4933 if (customerBrowsersRegex.test(navigator.userAgent)) { 4934 goodBrowser = true; 4935 $('html').addClass('BENUAPP'); 4936 } else if (typeof browsersREGEX != 'undefined') { 4937 if (browsersREGEX.test(navigator.userAgent)) { 4938 goodBrowser = true; 4939 } 4940 } 4941 4942 if (isOldBrowser()) { 4943 goodBrowser = false; 4944 } 4945 4946 if (goodBrowser == false) { 4947 var shouldShowOldBrowser = !navigator.cookieEnabled 4948 || (typeof getCookie === 'function' && getCookie('oldBrowser') == ''); 4949 4950 if ( 4951 shouldShowOldBrowser 4952 && typeof window.benuDialog !== 'undefined' 4953 && typeof window.benuDialog.open === 'function' 4954 ) { 4955 var oldBrowserDialog = window.benuDialog.open('oldBrowser'); 4956 4957 if (navigator.cookieEnabled && oldBrowserDialog) { 4958 oldBrowserDialog.addEventListener('close', function() { 4959 var cookieExpirationDate = new Date(); 4960 cookieExpirationDate.setMonth(cookieExpirationDate.getMonth() + 1); 4961 document.cookie = 'oldBrowser=true; expires=' 4962 + cookieExpirationDate.toUTCString() 4963 + '; path=/'; 4964 }, { once: true }); 4965 } 4966 } 4967 } 4968 }); 4969 4970 featureFlags = {"test_s1":true,"SBNU-7970-V3":true,"BNU-SPRT-5543":true}; 4971 </script>
4971 4972 4973 <!-- Sitelink search box --> 4974 4975 <link rel="stylesheet" href="https://cdn.luigisbox.tech/autocomplete.css" /> 4976 <link rel="dns-prefetch" href="//live.luigisbox.tech"> 4977 4978 4979
4979<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" 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 */ 4980(()=>{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};
4980e.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;
4980const 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);
4980if(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$:()=>
4980o,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])}
4980(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}
4980;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)=>
4980{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
4980ine_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()=>
4980{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)=>
4980null==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
4980dTimingMethod(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
4980imeToRegister: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})})}
4980return 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"
4980!==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);
4980if(!(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)}
4980);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)})});
4980class 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
4980h(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>
4980 4981 </head> 4982 4983<body id="intuero" style="--promo-height: calc(calc(var(--layout-spacing) * 3) + 100px);"> 4984 <div id="CookieBotBluerredBackground"></div> 4985 4986 <!--[if lte IE 7]>
4986<script src="core/js/ie6/warning.js"></script>
4986<script>window.onload=function(){ie6("core/js/ie6/")}</script>
4986<![endif]--> 4987 <div id="fb-root"></div> 4988 4989 <div id="page" class="site"> 4990 <a class="screenReaderText bind-skipToContent" href="#content">Skip to content</a> 4991 4992 4993 <!-- Google Tag Manager (noscript) -->
vendor: 80 bytes, lines 4993-4994
4993 4994 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
4994GTM-NQWG96J
vendor: 95 bytes, lines 4994-4995
4994" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 4995
4995<!-- End Google Tag Manager (noscript) --> 4996 4997 4998<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 4999 class="bnuPromoBarClose bnuPromoBar__close notificationClose promo-bar-close" 5000 type="button" 5001 data-id="15476" 5002 aria-label="Close promotion"> 5003 <i class="fa-regular fa-xmark" aria-hidden="true"></i> 5004 </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> 5005 5006<header class="bnuHeader" id="top"> 5007 <nav class="bnuTopNav cache-on" aria-label="Utility navigation"> 5008 5009<ul class="bnuBasicMenu basicMenu--RQEx" data-lvl="1"> 5010 <li class="module-14569 lvl-1 menu_noChilds" data-lvl="1"> 5011 <a href="https://www.benu.lv/e-davanu-karte" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">DÄvanu karte</span></a> 5012 </li> 5013 <li class="module-15087 lvl-1 menu_noChilds" data-lvl="1"> 5014 <a href="https://www.benu.lv/ikmenesa-avize" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">
5014BENU akcijas avÄ«ze</span></a> 5015 </li> 5016 <li class="module-10021 lvl-1 menu_noChilds" data-lvl="1"> 5017 <a href="https://www.benu.lv/pakalpojumi-filiales" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">Pakalpojumi aptiekÄs</span></a> 5018 </li> 5019 <li class="module-14989 lvl-1 menu_noChilds" data-lvl="1"> 5020 <a href="https://www.benu.lv/ziedo-bernu-veselibai" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">Ziedo </span></a> 5021 </li> 5022 <li class="module-10867 lvl-1 menu_noChilds" data-lvl="1"> 5023 <a href="https://www.benu.lv/jaunumi" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">Jaunumi</span></a> 5024 </li> 5025 <li class="module-13057 lvl-1 menu_noChilds" data-lvl="1"> 5026 <a href="https://www.benu.lv/piegade" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">PiegÄde</span></a> 5027 </li> 5028 <li class="module-13059 lvl-1 menu_noChilds" data-lvl="1"> 5029 <a href="https://www.benu.lv/klientu-serviss" class="bnuMenuButton bnuMenuButton bnuMenuButton--small"><span class="bnuMenuButton__text">Klientu zvanu centrs</span></a> 5030 </li> 5031 </ul> </nav> 5032 5033 <div class="bnuHeader__main"> 5034
5034<script type="application/ld+json" nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=">{ 5035 "@context": "https://schema.org", 5036 "@type": "Organization", 5037 "name": "BENU aptieka", 5038 "image": "/application/images/benu-logo.svg", 5039 "url": "https://www.benu.lv/", 5040 "logo": "/application/images/benu-logo.svg", 5041 "telephone": "+37125621621", 5042 "email": "[email protected]" 5043}</script>
5043 <!-- <a href="#" class="bnuButton bnuButton--iconOnly bnuMobileMenuToggle bind-toggleMobileMenu" aria-label="Toggle menu"> 5044 <i class="fa-regular fa-bars" aria-hidden="true"></i> 5045 </a> --> 5046 5047 <button class="bnuButton bnuButton--iconOnly bnuMobileMenuToggle bind-toggleMobileMenu" aria-label="IzvÄrst izvÄlni" type="button" aria-expanded="false"> 5048 <i class="fa-regular fa-bars" aria-hidden="true"></i> 5049 </button> 5050 5051 <a href="https://www.benu.lv/" class="bnuLogo" aria-current="page"> 5052 <img src="/application/images/benu-logo.svg" alt="BENU BENU homepage" width="135" height="36"> 5053 </a> 5054 5055 5056<div class="bnuHeader__search"> 5057 <div class="bnuHeaderSearch__mobileBar"> 5058 <span class="bnuHeaderSearch__mobileTitle">MeklÄt</span> 5059 <button type="button" class="bnuHeaderSearch__close bind-searchClose" aria-label="AizvÄrt meklÄÅ¡anu"></button> 5060 </div> 5061 <form role="search" method="get" action="https://www.benu.lv/meklet?vars/confuseSUM/1"> 5062 <label class="screenReaderText" for="headerSearch"> 5063 MeklÄt </label> 5064 5065 <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> 5066 <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> 5067</div> 5068
5069<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 5070 var charMap = { 5071 'a': /[ÃÃÃÃÃà à áâãäåÄÄÄÄÄÄ ÇÇǺǻ]/gi, 5072 'ae': /[ÃæǼǽ]/gi, 5073 'c': /[ÃçÄÄÄÄÄÄÄÄ]/gi, 5074 'd': /[ÃÄÄÄÄ]/gi, 5075 'e': /[ÃÃÃÃèéêëÄÄÄÄÄÄÄÄÄÄ]/gi, 5076 'f': /[Æ]/gi, 5077 'g': /[ÄÄÄÄÄ Ä¡Ä¢Ä£]/gi, 5078 'h': /[ĤĥĦħ]/gi, 5079 'i': /[ÃÃÃÃìÃîïĨĩĪīĬÄĮįİıÇÇ]/gi, 5080 'ij': /[IJij]/gi, 5081 'j': /[Ĵĵ]/gi, 5082 'k': /[Ķķ]/gi, 5083 'l': /[ĹĺĻļĽľĿÅÅÅ]/gi, 5084 'n': /[ÃñÅÅÅ ÅÅÅÅ]/gi, 5085 'o': /[ÃÃÃÃÃÃòóôõöøÅÅÅÅÅÅÆ Æ¡ÇÇǾǿ]/gi, 5086 'oe': /[ÅÅ]/gi, 5087 'r': /[ÅÅÅÅÅÅ]/gi, 5088 's': /[ÃÅÅÅÅÅÅŠšſ]/gi, 5089 't': /[ŢţŤťŦŧ]/gi, 5090 'u': /[ÃÃÃÃùúûüŨũŪūŬÅŮůŰűŲųƯưÇÇÇÇÇÇÇÇÇÇ]/gi, 5091 'w': /[Ŵŵ]/gi, 5092 'y': /[ÃýÿŶŷŸ]/gi, 5093 'z': /[ŹźŻżŽž]/gi, 5094 '-': /[â]/gi, 5095 ' ': /[âââ¹âºâ]/gi, 5096 ' ': /[ââ«»â]/gi 5097 }; 5098 var normalize = function(str) { 5099 $.each(charMap, function(normalized, regex) { 5100 str = str.replace(regex, normalized); 5101 }); 5102 return str; 5103 }; 5104 5105 var queryTokenizer = function(q) { 5106 if (q) { 5107 q = q.toLowerCase(); 5108 var normalized = normalize(q); 5109 return Bloodhound.tokenizers.whitespace(normalized); 5110 } else { 5111 return Bloodhound.tokenizers.whitespace(q); 5112 } 5113 }; 5114 </script>
5114 <div class="bnuHeader__actions"> 5115 <span class="bnuHeader__wishlist"> 5116 <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> 5117
5117<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 5118 function updateFavoritesStatusBox() { 5119 ajaxHelperOnReady( 5120 { 5121 className: 'Favorites', 5122 methodName: 'getFavoritesStatus', 5123 args: {}, 5124 }, 5125 function(callback) { 5126 var count = parseInt(callback.return, 10) || 0; 5127 $('.bind-favoritesStatusBox-qnt').html(count); 5128 }, 5129 'POST' 5130 ); 5131 } 5132 </script>
5132 5133 <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"> 5134 <ul> 5135 <li class="non-logged"> 5136 <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> 5137 </li> 5138 </ul> 5139 </nav> 5140 </div> 5141 5142 <div class="bnuHeader__cart"> 5143 <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> 5144 </div> 5145 5146
5146<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 5147 $(document).ready(function() { 5148 var mobileMenuOpenLabel = "Izv\u0113rst izv\u0113lni"; 5149 var mobileMenuCloseLabel = "Sak\u013caut izv\u0113lni"; 5150 5151 function setMobileMenuToggleState(isOpen) { 5152 var $toggles = $('.bind-toggleMobileMenu'); 5153 5154 $toggles 5155 .attr('aria-expanded', isOpen ? 'true' : 'false') 5156 .attr('aria-label', isOpen ? mobileMenuCloseLabel : mobileMenuOpenLabel); 5157 $toggles.find('i') 5158 .toggleClass('fa-bars', !isOpen) 5159 .toggleClass('fa-xmark', isOpen); 5160 } 5161 5162 setMobileMenuToggleState($('body').hasClass('mobileMenuOpened')); 5163 5164 $('.bind-toggleMobileMenu').on('click', function(e) { 5165 e.preventDefault(); 5166 5167 if ($('body').hasClass('mobileMenuOpened')) { 5168 $('body').removeClass('mobileMenuOpened');
5169 $('.bnuMobileMenu .bnuMobileMenu__content').delay(700).hide(0); 5170 setMobileMenuToggleState(false); 5171 } else { 5172 $('body').addClass('mobileMenuOpened'); 5173 $('.bnuMobileMenu .bnuMobileMenu__content').show(0); 5174 setMobileMenuToggleState(true); 5175 } 5176 }); 5177 $('.bind-mobileMenuTabs a:not(:first)').addClass('inactive'); 5178 $('.bind-mobileMenuContent').hide().attr('aria-hidden', 'true'); 5179 $('.bind-mobileMenuContent:first').show().attr('aria-hidden', 'false'); 5180 5181 $('.bind-mobileMenuTabs a').click(function(e) { 5182 e.preventDefault(); 5183 var tab = $(this).attr('data-target'); 5184 if ($(this).hasClass('inactive')) { 5185 $('.bind-mobileMenuTabs a').addClass('inactive'); 5186 $(this).removeClass('inactive'); 5187 5188 var $target = $('#' + tab); 5189 $target.show().attr('aria-hidden', 'false'); 5190 $('.bind-mobileMenuContent').not($target).hide().attr('aria-hidden', 'true'); 5191 } 5192 }); 5193 }); 5194 </script>
5194 5195 5196 <div role="navigation" class="bnuMobileMenu cache-on"> 5197 <div class="bnuMobileMenu__header"> 5198 <button class="bnuButton bnuButton--iconOnly bnuMobileMenuToggle bind-toggleMobileMenu" aria-label="IzvÄrst izvÄlni" type="button" aria-expanded="false"> 5199 <i class="fa-regular fa-bars" aria-hidden="true"></i> 5200 </button> 5201 5202 <ul class="bnuMobileMenu__tabs bind-mobileMenuTabs"> 5203 <li> 5204 <a data-target="mobileMenuCats" href="#categories"> 5205 Kategorijas </a> 5206 </li> 5207 <li> 5208 <a data-target="mobileMenu" href="#menu"> 5209 Par BENU </a> 5210 </li> 5211 </ul> 5212 </div> 5213 <div class="bnuMobileMenu__content" style="display: none"> 5214 <div id="mobileMenuCats" class="bnuMobileMenu__panel bind-mobileMenuContent"> 5215 <nav> 5216 5217 <div class="bnuMobileNav bnuMobileNav--categories"> 5218 <p class="bnuMobileNav__title"> 5219 Kategorijas </p> 5220 5221 <div class="bnuMobileNav__scroll"> 5222 <ul class="bnuMobileNav__list"> 5223 <li class="module-16042 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" data-id="16042"> 5224 <a class="bnuMobileNav__link bnuMenuButton--green" href="https://www.benu.lv/partneru-piedavajums"> 5225 <i class="fal fa-clinic-medical" aria-hidden="true"></i> 5226 <span>Ärstu konsultÄcijas</span> 5227 </a> 5228 5229 </li> 5230 <li class="module-14824 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" data-id="14824"> 5231 <a class="bnuMobileNav__link bnuMenuButton--green" href="https://www.benu.lv/e-aptieka/noliktavas-atlaides"> 5232 <i class="fal fa-box-full" aria-hidden="true"></i> 5233 <span>Noliktavas atlaides</span> 5234 </a> 5235 5236 </li> 5237 <li class="module-10857 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" data-id="10857"> 5238 <a class="bnuMobileNav__link bnuMenuButton--pink" href="https://www.benu.lv/akcijas"> 5239 <i class="fal fa-percent" aria-hidden="true"></i> 5240 <span>Akcijas</span> 5241 </a> 5242 5243 </li> 5244 <li class="module-11910 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" data-id="11910"> 5245 <a class="bnuMobileNav__link bnuMenuButton--pink" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
5245as-kopsana/saulosanas-kosmetika"> 5246 <i class="fal fa-sun" aria-hidden="true"></i> 5247 <span>SauļoÅ¡anÄs kosmÄtika</span> 5248 </a> 5249 5250 </li> 5251 <li class="module-2098 lvl-2 menu_hasChilds bnuMobileNav__item" data-lvl="2" data-id="2098"> 5252 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti" aria-expanded="false"> 5253 <i class="fal fa-tablets" aria-hidden="true"></i> 5254 <span>BezrecepÅ¡u medikamenti</span> 5255 </a> 5256 5257 <div class="bnuMobileNav__panel" data-lvl="2"> 5258 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5259 BezrecepÅ¡u medikamenti </button> 5260 5261 <div class="bnuMobileNav__scroll"> 5262 <ul class="bnuMobileNav__list"> 5263 <li class="bnuMobileNav__item"> 5264 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti"> 5265 <span>SkatÄ«t visus produktus</span> 5266 </a> 5267 5268 </li> 5269 <li class="module-2100 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2100"> 5270 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas" aria-expanded="false"> 5271 <span>SaaukstÄÅ¡anÄs</span> 5272 </a> 5273 5274 <div class="bnuMobileNav__panel" data-lvl="3"> 5275 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5276 SaaukstÄÅ¡anÄs </button> 5277 5278 <div class="bnuMobileNav__scroll"> 5279 <ul class="bnuMobileNav__list"> 5280 <li class="bnuMobileNav__item"> 5281 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas"> 5282 <span>SkatÄ«t visus produktus</span> 5283 </a> 5284 </li> 5285 <li class="module-2101 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2101"> 5286 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/saaukstesanas-un-gripa"> 5287 <sp
5287an>SaaukstÄÅ¡anÄs un gripa</span> 5288 </a> 5289 </li> 5290 <li class="module-2102 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2102"> 5291 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/kakla-sapes"> 5292 <span>Kakla sÄpes</span> 5293 </a> 5294 </li> 5295 <li class="module-2725 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2725"> 5296 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/klepus"> 5297 <span>Klepus</span> 5298 </a> 5299 </li> 5300 <li class="module-2103 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2103"> 5301 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/iesnas"> 5302 <span>Iesnas</span> 5303 </a> 5304 </li> 5305 </ul> 5306 </div> 5307 </div> 5308 </li> 5309 <li class="module-2131 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2131"> 5310 <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"> 5311 <span>Sirds un asinsrite</span> 5312 </a> 5313 5314 <div class="bnuMobileNav__panel" data-lvl="3"> 5315 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5316 Sirds un asinsrite </button> 5317 5318 <div class="bnuMobileNav__scroll"> 5319 <ul class="bnuMobileNav__list"> 5320 <li class="bnuMobileNav__item"> 5321 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite"> 5322 <sp
5322an>SkatÄ«t visus produktus</span> 5323 </a> 5324 </li> 5325 <li class="module-2134 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2134"> 5326 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/sirds-veseliba"> 5327 <span>Sirds veselÄ«ba</span> 5328 </a> 5329 </li> 5330 <li class="module-2133 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2133"> 5331 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/trombi"> 5332 <span>Trombi</span> 5333 </a> 5334 </li> 5335 <li class="module-2136 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2136"> 5336 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/venas-un-asinsvadi"> 5337 <span>VÄnas un asinsvadi</span> 5338 </a> 5339 </li> 5340 <li class="module-10806 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="10806"> 5341 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/dzelzs-un-folijskabes-preperati"> 5342 <span>Dzelzs un folijskÄbe </span> 5343 </a> 5344 </li> 5345 </ul> 5346 </div> 5347 </div> 5348 </li> 5349 <li class="module-11917 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="11917"> 5350 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes" aria-expanded="false"> 5351 <span>SÄpes</span> 5352 </a> 5353 5354 <div class="bnuMobileNav__panel" data-lvl="3"> 5355 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5356 SÄpes </button> 5357 5358 <div class="bnuMobileNav__scroll"> 5359 <ul class="bnuMobileNav__list"> 5360 <li class="bnuMobileNav__item"> 5361 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes"> 5362 <sp
5362an>SkatÄ«t visus produktus</span> 5363 </a> 5364 </li> 5365 <li class="module-11920 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11920"> 5366 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/sapes-un-iekaisums"> 5367 <span>SÄpes un iekaisums</span> 5368 </a> 5369 </li> 5370 <li class="module-11921 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11921"> 5371 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/pretsapju-ziedes-geli"> 5372 <span>PretsÄpju ziedes, geli</span> 5373 </a> 5374 </li> 5375 <li class="module-11918 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11918"> 5376 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/pretsapju-plaksteri"> 5377 <span>PretsÄpju plÄksteri</span> 5378 </a> 5379 </li> 5380 </ul> 5381 </div> 5382 </div> 5383 </li> 5384 <li class="module-2189 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2189"> 5385 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/locitavam-un-kauliem"> 5386 <span>LocÄ«tavÄm, kauliem un muskuļiem</span> 5387 </a> 5388 5389 </li> 5390 <li class="module-2147 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2147"> 5391 <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"> 5392 <span>Ädas aprÅ«pe</span> 5393 </a> 5394 5395 <div class="bnuMobileNav__panel" data-lvl="3"> 5396 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5397 Ädas aprÅ«pe </button> 5398 5399 <div class="bnuMobileNav__scroll"> 5400 <ul class="bnuMobileNav__list"> 5401 <li class="bnuMobileNav__item"> 5402 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe"> 5403 <sp
5403an>SkatÄ«t visus produktus</span> 5404 </a> 5405 </li> 5406 <li class="module-2151 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2151"> 5407 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/pretvirusu-lidzekli"> 5408 <span>PretvÄ«rusu lÄ«dzekļi</span> 5409 </a> 5410 </li> 5411 <li class="module-13094 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="13094"> 5412 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/mutes-dobuma-glotadai"> 5413 <span>Mutes dobuma gļotÄdai</span> 5414 </a> 5415 </li> 5416 <li class="module-2156 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2156"> 5417 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/culu-un-brucu-kopsana"> 5418 <span>ÄÅ«lu un brÅ«Äu kopÅ¡ana</span> 5419 </a> 5420 </li> 5421 <li class="module-2154 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2154"> 5422 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/adas-iekaisums-un-ekzema"> 5423 <span>Sausa Äda un ekzÄma</span> 5424 </a> 5425 </li> 5426 <li class="module-2720 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2720"> 5427 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/senisu-infekcija"> 5428 <span>SÄnīšu infekcija</span> 5429 </a> 5430 </li> 5431 <li class="module-2721 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2721"> 5432 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/galvas-adas-aprupe"> 5433 <sp
5433an>Galvas Ädas aprÅ«pe</span> 5434 </a> 5435 </li> 5436 </ul> 5437 </div> 5438 </div> 5439 </li> 5440 <li class="module-2138 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2138"> 5441 <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"> 5442 <span>Stress un nervu sistÄma</span> 5443 </a> 5444 5445 <div class="bnuMobileNav__panel" data-lvl="3"> 5446 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5447 Stress un nervu sistÄma </button> 5448 5449 <div class="bnuMobileNav__scroll"> 5450 <ul class="bnuMobileNav__list"> 5451 <li class="bnuMobileNav__item"> 5452 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema"> 5453 <span>SkatÄ«t visus produktus</span> 5454 </a> 5455 </li> 5456 <li class="module-2717 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2717"> 5457 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/nervi-un-stress"> 5458 <span>Nervi un stress</span> 5459 </a> 5460 </li> 5461 <li class="module-2718 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2718"> 5462 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/miegam"> 5463 <span>Miegam</span> 5464 </a> 5465 </li> 5466 <li class="module-10807 lvl-4 menu_noChilds b
5466nuMobileNav__item" data-lvl="4" data-id="10807"> 5467 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/hemoroidiem"> 5468 <span>B grupas vitamÄ«ni</span> 5469 </a> 5470 </li> 5471 </ul> 5472 </div> 5473 </div> 5474 </li> 5475 <li class="module-2099 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2099"> 5476 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/alergija"> 5477 <span>AlerÄ£ija</span> 5478 </a> 5479 5480 </li> 5481 <li class="module-2145 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2145"> 5482 <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"> 5483 <span>GremoÅ¡anas traucÄjumi</span> 5484 </a> 5485 5486 <div class="bnuMobileNav__panel" data-lvl="3"> 5487 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5488 GremoÅ¡anas traucÄjumi </button> 5489 5490 <div class="bnuMobileNav__scroll"> 5491 <ul class="bnuMobileNav__list"> 5492 <li class="bnuMobileNav__item"> 5493 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi"> 5494 <span>SkatÄ«t visus produktus</span> 5495 </a> 5496 </li> 5497 <li class="module-2107 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2107"> 5498 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/caureja"> 5499 <span>Caureja</span> 5500 </a> 5501 </li> 5502 <li class="module-2114 lvl-4 menu_noChilds b
5502nuMobileNav__item" data-lvl="4" data-id="2114"> 5503 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/aizcietejumi"> 5504 <span>AizcietÄjumi</span> 5505 </a> 5506 </li> 5507 <li class="module-2115 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2115"> 5508 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/zarnu-mikroflora"> 5509 <span>Zarnu mikroflora</span> 5510 </a> 5511 </li> 5512 <li class="module-2108 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2108"> 5513 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/vedera-uzpusanas-un-zarnu-trakts"> 5514 <span>VÄdera uzpūšanÄs un zarnu trakts</span> 5515 </a> 5516 </li> 5517 <li class="module-2111 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2111"> 5518 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/kunga-darbiba"> 5519 <span>KunÄ£a darbÄ«ba</span> 5520 </a> 5521 </li> 5522 <li class="module-2109 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2109"> 5523 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/slikta-dusa"> 5524 <span>Slikta dūša</span> 5525 </a> 5526 </li> 5527 <li class="module-2110 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2110"> 5528 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/pretparazitu-lidzekli"> 5529 <span>PretparazÄ«tu lÄ«dzekļi</span> 5530 </a> 5531 </li> 5532 <li class="module-2112 lvl-4 menu_noChilds b
5532nuMobileNav__item" data-lvl="4" data-id="2112"> 5533 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/hemoroidi"> 5534 <span>HemoroÄ«di</span> 5535 </a> 5536 </li> 5537 <li class="module-2113 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2113"> 5538 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/aknu-veseliba"> 5539 <span>Aknu veselÄ«ba</span> 5540 </a> 5541 </li> 5542 </ul> 5543 </div> 5544 </div> 5545 </li> 5546 <li class="module-2123 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2123"> 5547 <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"> 5548 <span>Sievietes veselÄ«ba</span> 5549 </a> 5550 5551 <div class="bnuMobileNav__panel" data-lvl="3"> 5552 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5553 Sievietes veselÄ«ba </button> 5554 5555 <div class="bnuMobileNav__scroll"> 5556 <ul class="bnuMobileNav__list"> 5557 <li class="bnuMobileNav__item"> 5558 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba"> 5559 <span>SkatÄ«t visus produktus</span> 5560 </a> 5561 </li> 5562 <li class="module-10802 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="10802"> 5563 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba/pretapauglosanas-lidzeklis"> 5564 <span>PretapaugļoÅ¡anÄs lÄ«dzekļi</span> 5565 </a> 5566 </li> 5567 <li class="module-2126 lvl-4 menu_noChilds b
5567nuMobileNav__item" data-lvl="4" data-id="2126"> 5568 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba/citi"> 5569 <span>Citi produkti</span> 5570 </a> 5571 </li> 5572 </ul> 5573 </div> 5574 </div> 5575 </li> 5576 <li class="module-2129 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2129"> 5577 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/prostata"> 5578 <span>VÄ«rieÅ¡u veselÄ«ba</span> 5579 </a> 5580 5581 </li> 5582 <li class="module-2135 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2135"> 5583 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/smadzenu-darbiba-un-atmina"> 5584 <span>SmadzeÅu darbÄ«ba un atmiÅa</span> 5585 </a> 5586 5587 </li> 5588 <li class="module-11828 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="11828"> 5589 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/homeopatija"> 5590 <span>HomeopÄtija un cits</span> 5591 </a> 5592 5593 </li> 5594 <li class="module-2737 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2737"> 5595 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/urinceliem"> 5596 <span>UrÄ«nceļu veselÄ«bai</span> 5597 </a> 5598 5599 </li> 5600 <li class="module-2120 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2120"> 5601 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/acu-veseliba"> 5602 <span>Acu veselÄ«ba</span> 5603 </a> 5604 5605 </li> 5606 <li class="module-2137 lvl-3 menu_noChilds b
5606nuMobileNav__item" data-lvl="3" data-id="2137"> 5607 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/ausu-veseliba"> 5608 <span>Ausu veselÄ«ba</span> 5609 </a> 5610 5611 </li> 5612 <li class="module-2157 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2157"> 5613 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/smekesanas-atmesanai"> 5614 <span>SmÄÄ·ÄÅ¡anas atmeÅ¡anai</span> 5615 </a> 5616 5617 </li> 5618 <li class="module-13060 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="13060"> 5619 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/kalija-jodids"> 5620 <span>KÄlija jodÄ«ds</span> 5621 </a> 5622 5623 </li> 5624 </ul> 5625 5626 <div class="bnuMobileNav__logos"> 5627 <p class="bnuMobileNav__logosTitle"> 5628 TOP zÄ«moli </p> 5629 <ul class="bnuMobileNav__logosItems"> 5630 <li> 5631 <a tabindex="-1" href="zimoli/ibumetin" aria-label="Ibu logo%20copy"> 5632 <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> 5633 </li> 5634 <li> 5635 <a tabindex="-1" href="zimoli/detralex" aria-label="Detralex"> 5636 <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> 5637 </li> 5638 <li> 5639 <a tabindex="-1" href="zimoli/olfen" aria-label="Olfen"> 5640 <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> 5641 </li> 5642 <li> 5643 <a tabindex="-1" href="zimoli/coldrex" aria-label="Coldrex logo"> 5644 <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> 5645 </li> 5646 <li> 5647 <a tabindex="-1" href="zimoli/nurofen" aria-label="Nuroffen"> 5648 <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> 5649 </li> 5650 <li> 5651 <a tabindex="-1" href="zimoli/espumisan" aria-label="Espumisan logo png pagespeed ce 30qokU
56517IOz"> 5652 <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> 5653 </li> 5654 </ul> 5655 5656 </div> 5657 </div> 5658 </div> 5659 </li> 5660 <li class="module-2187 lvl-2 menu_hasChilds bnuMobileNav__item" data-lvl="2" data-id="2187"> 5661 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji" aria-expanded="false"> 5662 <i class="fal fa-seedling" aria-hidden="true"></i> 5663 <span>Uztura bagÄtinÄtÄji</span> 5664 </a> 5665 5666 <div class="bnuMobileNav__panel" data-lvl="2"> 5667 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5668 Uztura bagÄtinÄtÄji </button> 5669 5670 <div class="bnuMobileNav__scroll"> 5671 <ul class="bnuMobileNav__list"> 5672 <li class="bnuMobileNav__item"> 5673 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji"> 5674 <span>SkatÄ«t visus produktus</span> 5675 </a> 5676 5677 </li> 5678 <li class="module-2190 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2190"> 5679 <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"> 5680 <span>VitamÄ«ni un minerÄlvielas</span> 5681 </a> 5682 5683 <div class="bnuMobileNav__panel" data-lvl="3"> 5684 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5685 VitamÄ«ni un minerÄlvielas </button> 5686 5687 <div class="bnuMobileNav__scroll"> 5688 <ul class="bnuMobileNav__list"> 5689 <li class="bnuMobileNav__item"> 5690 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas"> 5691 <sp
5691an>Skatīt visus produktus</span> 5692 </a> 5693 </li> 5694 <li class="module-2208 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2208"> 5695 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamini-a-e-antioksidanti"> 5696 <span>Vitamīni A, E, antioksidanti</span> 5697 </a> 5698 </li> 5699 <li class="module-2209 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2209"> 5700 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-b"> 5701 <span>B vitamīns </span> 5702 </a> 5703 </li> 5704 <li class="module-2210 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2210"> 5705 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-c"> 5706 <span>C vitamīns</span> 5707 </a> 5708 </li> 5709 <li class="module-2211 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2211"> 5710 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-d"> 5711 <span>D vitamīns</span> 5712 </a> 5713 </li> 5714 <li class="module-2193 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2193"> 5715 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/magnijs"> 5716 <span>Magnijs</span> 5717 </a> 5718 </li> 5719 <li class="module-2197 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2197"> 5720 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/dzelzs-un-folijskabe"> 5721 <sp
5721an>Dzelzs un folijskÄbe</span> 5722 </a> 5723 </li> 5724 <li class="module-2191 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2191"> 5725 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/kalcijs"> 5726 <span>Kalcijs</span> 5727 </a> 5728 </li> 5729 <li class="module-13125 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="13125"> 5730 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/cinks"> 5731 <span>Cinks</span> 5732 </a> 5733 </li> 5734 <li class="module-2194 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2194"> 5735 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/kompleksie-vitamini"> 5736 <span>Kompleksie vitamÄ«ni</span> 5737 </a> 5738 </li> 5739 <li class="module-2205 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2205"> 5740 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamini-diabetikiem"> 5741 <span>VitamÄ«ni diabÄtiÄ·iem</span> 5742 </a> 5743 </li> 5744 </ul> 5745 </div> 5746 </div> 5747 </li> 5748 <li class="module-2139 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2139"> 5749 <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"> 5750 <span>SaaukstÄÅ¡anÄs un imunitÄtei</span> 5751 </a> 5752 5753 <div class="bnuMobileNav__panel" data-lvl="3"> 5754 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5755 SaaukstÄÅ¡anÄs un imunitÄtei </button> 5756 5757 <div class="bnuMobileNav__scroll"> 5758 <ul class="bnuMobileNav__list"> 5759 <li class="bnuMobileNav__item"> 5760 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei"> 5761 <sp
5761an>SkatÄ«t visus produktus</span> 5762 </a> 5763 </li> 5764 <li class="module-11840 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11840"> 5765 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/imunitatei"> 5766 <span>ImunitÄtei</span> 5767 </a> 5768 </li> 5769 <li class="module-11844 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11844"> 5770 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/iesnas"> 5771 <span>Iesnas</span> 5772 </a> 5773 </li> 5774 <li class="module-11841 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11841"> 5775 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/saaukstesanas"> 5776 <span>DzÄrieni pret saaukstÄÅ¡anos</span> 5777 </a> 5778 </li> 5779 <li class="module-11842 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11842"> 5780 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/kakla-sapes"> 5781 <span>Kakla sÄpes</span> 5782 </a> 5783 </li> 5784 <li class="module-11843 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11843"> 5785 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/klepus"> 5786 <span>Klepus</span> 5787 </a> 5788 </li> 5789 </ul> 5790 </div> 5791 </div> 5792 </li> 5793 <li class="module-13198 lvl-3 menu_noChilds b
5793nuMobileNav__item" data-lvl="3" data-id="13198"> 5794 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/kolagens"> 5795 <span>KolagÄns</span> 5796 </a> 5797 5798 </li> 5799 <li class="module-2734 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2734"> 5800 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/zivju-ella"> 5801 <span>Zivju un krila eļļas</span> 5802 </a> 5803 5804 </li> 5805 <li class="module-11826 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="11826"> 5806 <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"> 5807 <span>Ä¢imenes veselÄ«bai</span> 5808 </a> 5809 5810 <div class="bnuMobileNav__panel" data-lvl="3"> 5811 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5812 Ä¢imenes veselÄ«bai </button> 5813 5814 <div class="bnuMobileNav__scroll"> 5815 <ul class="bnuMobileNav__list"> 5816 <li class="bnuMobileNav__item"> 5817 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai"> 5818 <span>SkatÄ«t visus produktus</span> 5819 </a> 5820 </li> 5821 <li class="module-2730 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2730"> 5822 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/skaistumam"> 5823 <span>Skaistumam</span> 5824 </a> 5825 </li> 5826 <li class="module-2731 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2731"> 5827 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/grutniecem-un-mam
5827inam"> 5828 <span>GrÅ«tniecÄm un mÄmiÅÄm</span> 5829 </a> 5830 </li> 5831 <li class="module-2732 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2732"> 5832 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/sievietes-veselibai"> 5833 <span>Sievietes veselÄ«bai</span> 5834 </a> 5835 </li> 5836 <li class="module-2202 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2202"> 5837 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/vitamini-viriesiem"> 5838 <span>VitamÄ«ni vÄ«rieÅ¡iem</span> 5839 </a> 5840 </li> 5841 <li class="module-2200 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2200"> 5842 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/vitamini-berniem"> 5843 <span>VitamÄ«ni bÄrniem</span> 5844 </a> 5845 </li> 5846 <li class="module-2258 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2258"> 5847 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/kompleksie-vitamini-2"> 5848 <span>Kompleksie vitamÄ«ni senioriem</span> 5849 </a> 5850 </li> 5851 </ul> 5852 </div> 5853 </div> 5854 </li> 5855 <li class="module-11829 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="11829"> 5856 <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"> 5857 <span>Sirds un asinsvadu sistÄma</span> 5858 </a> 5859 5860 <div class="bnuMobileNav__panel" data-lvl="3"> 5861 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5862 Sirds un asinsvadu sistÄma </button> 5863 5864 <div class="bnuMobileNav__scroll"> 5865 <ul class="bnuMobileNav__list"> 5866 <li class="bnuMobileNav__item"> 5867 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema"> 5868 <sp
5868an>SkatÄ«t visus produktus</span> 5869 </a> 5870 </li> 5871 <li class="module-11845 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11845"> 5872 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/holesterinam"> 5873 <span>HolesterÄ«na lÄ«menis</span> 5874 </a> 5875 </li> 5876 <li class="module-11846 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11846"> 5877 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/venas-un-asinsvadi"> 5878 <span>VÄnas un asinsvadi</span> 5879 </a> 5880 </li> 5881 <li class="module-11847 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11847"> 5882 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/sirds-veselibai"> 5883 <span>Sirds veselÄ«bai</span> 5884 </a> 5885 </li> 5886 </ul> 5887 </div> 5888 </div> 5889 </li> 5890 <li class="module-11824 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="11824"> 5891 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/locitavam-un-kauliem"> 5892 <span>LocÄ«tavÄm un kauliem</span> 5893 </a> 5894 5895 </li> 5896 <li class="module-2158 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2158"> 5897 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/urinceliem"> 5898 <span>UrÄ«nceļiem</span> 5899 </a> 5900 5901 </li> 5902 <li class="module-11830 lvl-3 menu_hasChilds b
5902nuMobileNav__item" data-lvl="3" data-id="11830"> 5903 <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"> 5904 <span>GremoÅ¡anas sistÄma</span> 5905 </a> 5906 5907 <div class="bnuMobileNav__panel" data-lvl="3"> 5908 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5909 GremoÅ¡anas sistÄma </button> 5910 5911 <div class="bnuMobileNav__scroll"> 5912 <ul class="bnuMobileNav__list"> 5913 <li class="bnuMobileNav__item"> 5914 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema"> 5915 <span>SkatÄ«t visus produktus</span> 5916 </a> 5917 </li> 5918 <li class="module-11832 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11832"> 5919 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/probiotiki"> 5920 <span>ProbiotiÄ·i</span> 5921 </a> 5922 </li> 5923 <li class="module-11831 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11831"> 5924 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/caureja"> 5925 <span>Caureja</span> 5926 </a> 5927 </li> 5928 <li class="module-11837 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11837"> 5929 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/vedera-uzpusanas"> 5930 <span>VÄdera uzpūšanÄs</span> 5931 </a> 5932 </li> 5933 <li class="module-11833 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11833"> 5934 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/vedera-kunga-darbibai"> 5935 <sp
5935an>KunÄ£a skÄbe un zarnu trakts</span> 5936 </a> 5937 </li> 5938 <li class="module-11835 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11835"> 5939 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/aknu-veseliba"> 5940 <span>Aknu veselÄ«ba</span> 5941 </a> 5942 </li> 5943 <li class="module-11834 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11834"> 5944 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/slikta-dusa"> 5945 <span>Slikta dūša</span> 5946 </a> 5947 </li> 5948 <li class="module-11836 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11836"> 5949 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/aizcietejumi"> 5950 <span>AizcietÄjumi</span> 5951 </a> 5952 </li> 5953 </ul> 5954 </div> 5955 </div> 5956 </li> 5957 <li class="module-11825 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="11825"> 5958 <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"> 5959 <span>SmadzeÅu darbÄ«bai un nervu sistÄmai</span> 5960 </a> 5961 5962 <div class="bnuMobileNav__panel" data-lvl="3"> 5963 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5964 SmadzeÅu darbÄ«bai un nervu sistÄmai </button> 5965 5966 <div class="bnuMobileNav__scroll"> 5967 <ul class="bnuMobileNav__list"> 5968 <li class="bnuMobileNav__item"> 5969 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai"> 5970 <sp
5970an>SkatÄ«t visus produktus</span> 5971 </a> 5972 </li> 5973 <li class="module-11823 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11823"> 5974 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai/atminai"> 5975 <span>AtmiÅai</span> 5976 </a> 5977 </li> 5978 <li class="module-11822 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11822"> 5979 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai/miegam-un-nervu-sistemai"> 5980 <span>Miegam un nervu sistÄmai</span> 5981 </a> 5982 </li> 5983 </ul> 5984 </div> 5985 </div> 5986 </li> 5987 <li class="module-11827 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="11827"> 5988 <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"> 5989 <span>Sports un aktÄ«va atpÅ«ta</span> 5990 </a> 5991 5992 <div class="bnuMobileNav__panel" data-lvl="3"> 5993 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 5994 Sports un aktÄ«va atpÅ«ta </button> 5995 5996 <div class="bnuMobileNav__scroll"> 5997 <ul class="bnuMobileNav__list"> 5998 <li class="bnuMobileNav__item"> 5999 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa"> 6000 <span>SkatÄ«t visus produktus</span> 6001 </a> 6002 </li> 6003 <li class="module-2213 lvl-4 menu_noChilds b
6003nuMobileNav__item" data-lvl="4" data-id="2213"> 6004 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/svara-kontrole"> 6005 <span>Svara kontrole</span> 6006 </a> 6007 </li> 6008 <li class="module-2206 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2206"> 6009 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/sports"> 6010 <span>Sports</span> 6011 </a> 6012 </li> 6013 <li class="module-2196 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2196"> 6014 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/energijai"> 6015 <span>Enerģijai</span> 6016 </a> 6017 </li> 6018 </ul> 6019 </div> 6020 </div> 6021 </li> 6022 <li class="module-2122 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2122"> 6023 <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"> 6024 <span>Ausu un acu veselība</span> 6025 </a> 6026 6027 <div class="bnuMobileNav__panel" data-lvl="3"> 6028 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6029 Ausu un acu veselība </button> 6030 6031 <div class="bnuMobileNav__scroll"> 6032 <ul class="bnuMobileNav__list"> 6033 <li class="bnuMobileNav__item"> 6034 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba"> 6035 <span>Skatīt visus produktus</span> 6036 </a> 6037 </li> 6038 <li class="module-11838 lvl-4 menu_noChilds b
6038nuMobileNav__item" data-lvl="4" data-id="11838"> 6039 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/vitamini-acim"> 6040 <span>Vitamīni acīm</span> 6041 </a> 6042 </li> 6043 <li class="module-12990 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="12990"> 6044 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/acu-ziedes-un-pilieni"> 6045 <span>Acu pilieni un ziedes</span> 6046 </a> 6047 </li> 6048 <li class="module-11839 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="11839"> 6049 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/ausu-veseliba"> 6050 <span>Ausu veselība</span> 6051 </a> 6052 </li> 6053 </ul> 6054 </div> 6055 </div> 6056 </li> 6057 <li class="module-15950 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="15950"> 6058 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/alergija"> 6059 <span>Alerģija</span> 6060 </a> 6061 6062 </li> 6063 </ul> 6064 6065 <div class="bnuMobileNav__logos"> 6066 <p class="bnuMobileNav__logosTitle"> 6067 TOP zīmoli </p> 6068 <ul class="bnuMobileNav__logosItems"> 6069 <li> 6070 <a tabindex="-1" href="e-aptieka/livsane" aria-label="LIVSANE"> 6071 <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> 6072 </li> 6073 <li> 6074 <a tabindex="-1" href="zimoli/lyl" aria-label="LYL love your life logo"> 6075 <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> 6076 </li> 6077 <li> 6078 <a tabindex="-1" href="zimoli/mollers" aria-label="Logo test"> 6079 <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> 6080 </li> 6081 <li> 6082 <a tabindex="-1" href="zimoli/walmark" aria-label="Walmark logo gatavs"> 6083 <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> 6084 </li> 6085 <li> 6086 <a tabindex="-1" href="zimoli/nateo-d" aria-label="Eb13ddc1de1129d39978463971a95847"> 6087 <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
608713ddc1de1129d39978463971a95847" ></picture> </a> 6088 </li> 6089 <li> 6090 <a tabindex="-1" href="zimoli/livol" aria-label="Livol"> 6091 <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> 6092 </li> 6093 </ul> 6094 6095 </div> 6096 </div> 6097 </div> 6098 </li> 6099 <li class="module-14763 lvl-2 menu_hasChilds bnuMobileNav__item" data-lvl="2" data-id="14763"> 6100 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/sportam" aria-expanded="false"> 6101 <i class="fal fa-dumbbell" aria-hidden="true"></i> 6102 <span>Sportam</span> 6103 </a> 6104 6105 <div class="bnuMobileNav__panel" data-lvl="2"> 6106 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6107 Sportam </button> 6108 6109 <div class="bnuMobileNav__scroll"> 6110 <ul class="bnuMobileNav__list"> 6111 <li class="bnuMobileNav__item"> 6112 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam"> 6113 <span>Skatīt visus produktus</span> 6114 </a> 6115 6116 </li> 6117 <li class="module-14765 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="14765"> 6118 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam/proteini"> 6119 <span>Proteīni </span> 6120 </a> 6121 6122 </li> 6123 <li class="module-14764 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="14764"> 6124 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam/proteina-batonini">
6125 <span>BatoniÅi un uzkodas</span> 6126 </a> 6127 6128 </li> 6129 <li class="module-14766 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="14766"> 6130 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam/dzerieni"> 6131 <span>DzÄrieni</span> 6132 </a> 6133 6134 </li> 6135 <li class="module-14784 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="14784"> 6136 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam/svara-un-apetites-kontrole"> 6137 <span>Svara un apetÄ«tes kontrole</span> 6138 </a> 6139 6140 </li> 6141 <li class="module-15539 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="15539"> 6142 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/sportam/seikeri-un-pudeles"> 6143 <span>Å eikeri un pudeles</span> 6144 </a> 6145 6146 </li> 6147 </ul> 6148 6149 <div class="bnuMobileNav__logos"> 6150 <p class="bnuMobileNav__logosTitle"> 6151 TOP zÄ«moli </p> 6152 <ul class="bnuMobileNav__logosItems"> 6153 <li> 6154 <a tabindex="-1" href="zimoli/vplab" aria-label="Vplabpng"> 6155 <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> 6156 </li> 6157 <li> 6158 <a tabindex="-1" href="zimoli/iconfit" aria-label="Iconfit logo fullcolor transp background rgb"> 6159 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.256x256-create-2024-04-iconfit-logo-fullcolor-transp-background-rgb-1
6159714275560.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> 6160 </li> 6161 <li> 6162 <a tabindex="-1" href="zimoli/isostar" aria-label="Isostar"> 6163 <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> 6164 </li> 6165 <li> 6166 <a tabindex="-1" href="zimoli/dion-sportlab" aria-label="Images 2"> 6167 <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> 6168 </li> 6169 </ul> 6170 6171 </div> 6172 </div> 6173 </div> 6174 </li> 6175 <li class="module-2254 lvl-2 menu_hasChilds bnuMobileNav__item" data-lvl="2" data-id="2254"> 6176 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/partika-un-tejas" aria-expanded="false"> 6177 <i class="fal fa-apple-alt" aria-hidden="true"></i> 6178 <span>PÄrtika un tÄjas</span> 6179 </a> 6180 6181 <div class="bnuMobileNav__panel" data-lvl="2"> 6182 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6183 PÄrtika un tÄjas </button> 6184 6185 <div class="bnuMobileNav__scroll"> 6186 <ul class="bnuMobileNav__list"> 6187 <li class="bnuMobileNav__item"> 6188 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/partika-un-tejas">
6189 <span>SkatÄ«t visus produktus</span> 6190 </a> 6191 6192 </li> 6193 <li class="module-15241 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="15241"> 6194 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/partika-un-tejas/veseliga-partika"> 6195 <span>VeselÄ«ga pÄrtika</span> 6196 </a> 6197 6198 </li> 6199 <li class="module-2257 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2257"> 6200 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/partika-un-tejas/partika"> 6201 <span>SpeciÄlÄ pÄrtika</span> 6202 </a> 6203 6204 </li> 6205 <li class="module-2260 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2260"> 6206 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/partika-un-tejas/tejas"> 6207 <span>TÄjas</span> 6208 </a> 6209 6210 </li> 6211 </ul> 6212 6213 <div class="bnuMobileNav__logos"> 6214 <p class="bnuMobileNav__logosTitle"> 6215 TOP zÄ«moli </p> 6216 <ul class="bnuMobileNav__logosItems"> 6217 <li> 6218 <a tabindex="-1" href="zimoli/teresko" aria-label="Download"> 6219 <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> 6220 </li> 6221 <li> 6222 <a tabindex="-1" href="zimoli/vplab" aria-label="Vplabpng"> 6223 <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> 6224 </li> 6225 <li> 6226 <a tabindex="-1" href="rukisu-teja" aria-label="Rukisuteja logo"> 6227 <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> 6228 </li> 6229 <li> 6230 <a tabindex="-1" href="nateja" aria-label="Nateja logo 01"> 6231 <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> 6232 </li> 6233 <li> 6234 <a tabindex="-1" href="meklet?search=yogi" aria-label="Yogitea red"> 6235 <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> 6236 </li> 6237 </ul> 6238 6239 </div> 6240 </div> 6241 </div> 6242 </li> 6243 <li class="module-2159 lvl-2 menu_hasChilds b
6243nuMobileNav__item" data-lvl="2" data-id="2159"> 6244 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana" aria-expanded="false"> 6245 <i class="fal fa-tint" aria-hidden="true"></i> 6246 <span>Skaistums un Ädas kopÅ¡ana</span> 6247 </a> 6248 6249 <div class="bnuMobileNav__panel" data-lvl="2"> 6250 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6251 Skaistums un Ädas kopÅ¡ana </button> 6252 6253 <div class="bnuMobileNav__scroll"> 6254 <ul class="bnuMobileNav__list"> 6255 <li class="bnuMobileNav__item"> 6256 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6256as-kopsana"> 6257 <span>SkatÄ«t visus produktus</span> 6258 </a> 6259 6260 </li> 6261 <li class="module-2171 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2171"> 6262 <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"> 6263 <span>Sejas Ädas kopÅ¡ana</span> 6264 </a> 6265 6266 <div class="bnuMobileNav__panel" data-lvl="3"> 6267 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6268 Sejas Ädas kopÅ¡ana </button> 6269 6270 <div class="bnuMobileNav__scroll"> 6271 <ul class="bnuMobileNav__list"> 6272 <li class="bnuMobileNav__item"> 6273 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6273as-kopsana/sejas-kopsana"> 6274 <span>Skatīt visus produktus</span> 6275 </a> 6276 </li> 6277 <li class="module-2172 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2172"> 6278 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/acu-kopsana"> 6279 <span>Acu kopšana</span> 6280 </a> 6281 </li> 6282 <li class="module-2174 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2174"> 6283 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6283as-kopsana/sejas-kopsana/kremi"> 6284 <span>KrÄmi un serumi</span> 6285 </a> 6286 </li> 6287 <li class="module-2173 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2173"> 6288 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/mazgasana-un-attirisana"> 6289 <span>KosmÄtikas noÅemÅ¡ana un attÄ«rīšana</span> 6290 </a> 6291 </li> 6292 <li class="module-2175 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2175"> 6293 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6293as-kopsana/sejas-kopsana/maskas"> 6294 <span>Sejas kopÅ¡anas maskas</span> 6295 </a> 6296 </li> 6297 <li class="module-2793 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2793"> 6298 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/spreji-un-adas-mitrinataji"> 6299 <span>Spreji un Ädas mitrinÄtÄji</span> 6300 </a> 6301 </li> 6302 <li class="module-2176 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2176"> 6303 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6303as-kopsana/sejas-kopsana/lupu-kopsana"> 6304 <span>Lūpu kopšana</span> 6305 </a> 6306 </li> 6307 </ul> 6308 </div> 6309 </div> 6310 </li> 6311 <li class="module-2178 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2178"> 6312 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6312as-kopsana/matu-kopsana" aria-expanded="false"> 6313 <span>Matu kopšana</span> 6314 </a> 6315 6316 <div class="bnuMobileNav__panel" data-lvl="3"> 6317 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6318 Matu kopšana </button> 6319 6320 <div class="bnuMobileNav__scroll"> 6321 <ul class="bnuMobileNav__list"> 6322 <li class="bnuMobileNav__item"> 6323 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6323as-kopsana/matu-kopsana"> 6324 <span>Skatīt visus produktus</span> 6325 </a> 6326 </li> 6327 <li class="module-2182 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2182"> 6328 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/sampuni"> 6329 <span>Šampūni</span> 6330 </a> 6331 </li> 6332 <li class="module-2180 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2180"> 6333 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6333as-kopsana/matu-kopsana/balzami"> 6334 <span>Balzami</span> 6335 </a> 6336 </li> 6337 <li class="module-2184 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2184"> 6338 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/intensivie-kopsanas-produkti-un-maskas"> 6339 <span>Intensīvie kopšanas produkti un maskas</span> 6340 </a> 6341 </li> 6342 <li class="module-2183 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2183"> 6343 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6343as-kopsana/matu-kopsana/veidosanai"> 6344 <span>VeidoÅ¡anai</span> 6345 </a> 6346 </li> 6347 <li class="module-14564 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="14564"> 6348 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/matu-veidotaji"> 6349 <span>Matu veidotÄji</span> 6350 </a> 6351 </li> 6352 <li class="module-14563 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="14563"> 6353 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6353as-kopsana/matu-kopsana/aksesuari"> 6354 <span>AksesuÄri</span> 6355 </a> 6356 </li> 6357 </ul> 6358 </div> 6359 </div> 6360 </li> 6361 <li class="module-16122 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="16122"> 6362 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/korejas-kosmetika"> 6363 <span>Korejas kosmÄtika</span> 6364 </a> 6365 6366 </li> 6367 <li class="module-2170 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2170"> 6368 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6368as-kopsana/dekorativa-kosmetika"> 6369 <span>DekoratÄ«vÄ kosmÄtika</span> 6370 </a> 6371 6372 </li> 6373 <li class="module-2160 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2160"> 6374 <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"> 6375 <span>ĶermeÅa kopÅ¡ana</span> 6376 </a> 6377 6378 <div class="bnuMobileNav__panel" data-lvl="3"> 6379 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6380 ĶermeÅa kopÅ¡ana </button> 6381 6382 <div class="bnuMobileNav__scroll"> 6383 <ul class="bnuMobileNav__list"> 6384 <li class="bnuMobileNav__item"> 6385 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6385as-kopsana/kermena-kopsana"> 6386 <span>SkatÄ«t visus produktus</span> 6387 </a> 6388 </li> 6389 <li class="module-2161 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2161"> 6390 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/mazgasana-un-attitisana"> 6391 <span>MazgÄÅ¡ana un attÄ«rīšana</span> 6392 </a> 6393 </li> 6394 <li class="module-2162 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2162"> 6395 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6395as-kopsana/kermena-kopsana/kremi-un-losjoni"> 6396 <span>KrÄmi un losjoni</span> 6397 </a> 6398 </li> 6399 <li class="module-2168 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2168"> 6400 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/kermena-ellas"> 6401 <span>ĶermeÅa eļļas</span> 6402 </a> 6403 </li> 6404 <li class="module-2163 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2163"> 6405 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6405as-kopsana/kermena-kopsana/dezodoranti"> 6406 <span>Dezodoranti</span> 6407 </a> 6408 </li> 6409 <li class="module-2165 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2165"> 6410 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/eteriskas-ellas"> 6411 <span>ÄteriskÄs eļļas</span> 6412 </a> 6413 </li> 6414 <li class="module-2167 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2167"> 6415 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6415as-kopsana/kermena-kopsana/roku-un-nagu-kopsana"> 6416 <span>Roku un nagu kopÅ¡ana</span> 6417 </a> 6418 </li> 6419 <li class="module-2166 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2166"> 6420 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/kaju-kopsana"> 6421 <span>KÄju un pÄdu kopÅ¡ana</span> 6422 </a> 6423 </li> 6424 <li class="module-2169 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2169"> 6425 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6425as-kopsana/kermena-kopsana/pretcelulita"> 6426 <span>Pretcelulīta</span> 6427 </a> 6428 </li> 6429 </ul> 6430 </div> 6431 </div> 6432 </li> 6433 <li class="module-2186 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2186"> 6434 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
6434as-kopsana/saulosanas-kosmetika"> 6435 <span>SauļoÅ¡anÄs kosmÄtika</span> 6436 </a> 6437 6438 </li> 6439 <li class="module-13145 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="13145"> 6440 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/psoriaze-ekzema-atopiskais-dermatits"> 6441 <span>PsoriÄze, ekzÄma, atopiskais dermatÄ«ts</span> 6442 </a> 6443 6444 </li> 6445 </ul> 6446 6447 <div class="bnuMobileNav__logos"> 6448 <p class="bnuMobileNav__logosTitle"> 6449 TOP zÄ«moli </p> 6450 <ul class="bnuMobileNav__logosItems"> 6451 <li> 6452 <a tabindex="-1" href="zimoli/eucerin" aria-label="Eucerin logo svg"> 6453 <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> 6454 </li> 6455 <li> 6456 <a tabindex="-1" href="zimoli/vichy" aria-label="Vichy"> 6457 <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> 6458 </li> 6459 <li> 6460 <a tabindex="-1" href="zimoli/la-roche-posay-1" aria-label="2560px La Roche Posay (brand) svg"> 6461 <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> 6462 </li> 6463 <li> 6464 <a tabindex="-1" href="zimoli/avene" aria-label="Avene"> 6465 <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> 6466 </li> 6467 <li> 6468 <a tabindex="-1" href="zimoli/uriage" aria-label="Uriage"> 6469 <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> 6470 </li> 6471 <li> 6472 <a tabindex="-1" href="zimoli/babe" aria-label="Babe"> 6473 <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> 6474 </li> 6475 </ul> 6476 6477 </div> 6478 </div> 6479 </div> 6480 </li> 6481 <li class="module-2228 lvl-2 menu_hasChilds b
6481nuMobileNav__item" data-lvl="2" data-id="2228"> 6482 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/higiena" aria-expanded="false"> 6483 <i class="fal fa-pump-soap" aria-hidden="true"></i> 6484 <span>HigiÄna</span> 6485 </a> 6486 6487 <div class="bnuMobileNav__panel" data-lvl="2"> 6488 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6489 HigiÄna </button> 6490 6491 <div class="bnuMobileNav__scroll"> 6492 <ul class="bnuMobileNav__list"> 6493 <li class="bnuMobileNav__item"> 6494 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena"> 6495 <span>SkatÄ«t visus produktus</span> 6496 </a> 6497 6498 </li> 6499 <li class="module-2235 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2235"> 6500 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena" aria-expanded="false"> 6501 <span>Mutes higiÄna</span> 6502 </a> 6503 6504 <div class="bnuMobileNav__panel" data-lvl="3"> 6505 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6506 Mutes higiÄna </button> 6507 6508 <div class="bnuMobileNav__scroll"> 6509 <ul class="bnuMobileNav__list"> 6510 <li class="bnuMobileNav__item"> 6511 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena"> 6512 <span>SkatÄ«t visus produktus</span> 6513 </a> 6514 </li> 6515 <li class="module-2240 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2240"> 6516 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-pastas"> 6517 <span>Zobu pastas</span> 6518 </a> 6519 </li> 6520 <li class="module-2239 lvl-4 menu_noChilds b
6520nuMobileNav__item" data-lvl="4" data-id="2239"> 6521 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-birstes"> 6522 <span>Zobu birstes</span> 6523 </a> 6524 </li> 6525 <li class="module-2238 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2238"> 6526 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/skalosanas-lidzekli"> 6527 <span>Mutes skaloÅ¡anas lÄ«dzekļi</span> 6528 </a> 6529 </li> 6530 <li class="module-2237 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2237"> 6531 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/protezu-kopsana"> 6532 <span>ProtÄžu kopÅ¡ana</span> 6533 </a> 6534 </li> 6535 <li class="module-2236 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2236"> 6536 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-diegi-starpzobu-birstites"> 6537 <span>Zobu diegi, starpzobu birstÄ«tes</span> 6538 </a> 6539 </li> 6540 <li class="module-2752 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2752"> 6541 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/berniem"> 6542 <span>Mutes higiÄna bÄrniem</span> 6543 </a> 6544 </li> 6545 </ul> 6546 </div> 6547 </div> 6548 </li> 6549 <li class="module-2694 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2694"> 6550 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe" aria-expanded="false">
6551 <span>Inkontinences aprÅ«pe</span> 6552 </a> 6553 6554 <div class="bnuMobileNav__panel" data-lvl="3"> 6555 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6556 Inkontinences aprÅ«pe </button> 6557 6558 <div class="bnuMobileNav__scroll"> 6559 <ul class="bnuMobileNav__list"> 6560 <li class="bnuMobileNav__item"> 6561 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe"> 6562 <span>SkatÄ«t visus produktus</span> 6563 </a> 6564 </li> 6565 <li class="module-2696 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2696"> 6566 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/biksites-autinbiksites"> 6567 <span>BiksÄ«tes, autiÅbiksÄ«tes</span> 6568 </a> 6569 </li> 6570 <li class="module-2697 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2697"> 6571 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/higieniskie-ieliktnisi"> 6572 <span>HigiÄniskie ieliktnīši</span> 6573 </a> 6574 </li> 6575 <li class="module-2794 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2794"> 6576 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/paladzini"> 6577 <span>PaladziÅi</span> 6578 </a> 6579 </li> 6580 <li class="module-2698 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2698"> 6581 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/mazgasana-un-attirisana"> 6582 <span>MazgÄÅ¡ana un attÄ«rīšana</span> 6583 </a> 6584 </li> 6585 </ul> 6586 </div> 6587 </div> 6588 </li> 6589 <li class="module-2229 lvl-3 menu_hasChilds b
6589nuMobileNav__item" data-lvl="3" data-id="2229"> 6590 <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"> 6591 <span>ĶermeÅa kopÅ¡anas piederumi</span> 6592 </a> 6593 6594 <div class="bnuMobileNav__panel" data-lvl="3"> 6595 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6596 ĶermeÅa kopÅ¡anas piederumi </button> 6597 6598 <div class="bnuMobileNav__scroll"> 6599 <ul class="bnuMobileNav__list"> 6600 <li class="bnuMobileNav__item"> 6601 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi"> 6602 <span>SkatÄ«t visus produktus</span> 6603 </a> 6604 </li> 6605 <li class="module-2230 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2230"> 6606 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/vates-spilventini"> 6607 <span>Vates spilventiÅi</span> 6608 </a> 6609 </li> 6610 <li class="module-2231 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2231"> 6611 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/vates-kocini"> 6612 <span>Vates kociÅi</span> 6613 </a> 6614 </li> 6615 <li class="module-2232 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2232"> 6616 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/manikirs-un-pedikirs"> 6617 <span>ManikÄ«rs un pedikÄ«rs</span> 6618 </a> 6619 </li> 6620 </ul> 6621 </div> 6622 </div> 6623 </li> 6624 <li class="module-2241 lvl-3 menu_hasChilds b
6624nuMobileNav__item" data-lvl="3" data-id="2241"> 6625 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena" aria-expanded="false"> 6626 <span>IntÄ«mÄ higiÄna</span> 6627 </a> 6628 6629 <div class="bnuMobileNav__panel" data-lvl="3"> 6630 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6631 IntÄ«mÄ higiÄna </button> 6632 6633 <div class="bnuMobileNav__scroll"> 6634 <ul class="bnuMobileNav__list"> 6635 <li class="bnuMobileNav__item"> 6636 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena"> 6637 <span>SkatÄ«t visus produktus</span> 6638 </a> 6639 </li> 6640 <li class="module-2242 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2242"> 6641 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/intimai-veselibai"> 6642 <span>IntÄ«mai veselÄ«bai</span> 6643 </a> 6644 </li> 6645 <li class="module-2246 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2246"> 6646 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/intimas-higienas-lidzekli"> 6647 <span>IntÄ«mÄs higiÄnas lÄ«dzekļi</span> 6648 </a> 6649 </li> 6650 <li class="module-2244 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2244"> 6651 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/paketes"> 6652 <span>Paketes</span> 6653 </a> 6654 </li> 6655 <li class="module-2243 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2243"> 6656 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/ikdienas-ieliknisi"> 6657 <sp
6657an>Ikdienas ieliknīši</span> 6658 </a> 6659 </li> 6660 <li class="module-2245 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2245"> 6661 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/tamponi"> 6662 <span>Tamponi</span> 6663 </a> 6664 </li> 6665 </ul> 6666 </div> 6667 </div> 6668 </li> 6669 </ul> 6670 6671 <div class="bnuMobileNav__logos"> 6672 <p class="bnuMobileNav__logosTitle"> 6673 TOP zīmoli </p> 6674 <ul class="bnuMobileNav__logosItems"> 6675 <li> 6676 <a tabindex="-1" href="zimoli/elmex" aria-label="Logo ELMEX"> 6677 <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> 6678 </li> 6679 <li> 6680 <a tabindex="-1" href="zimoli/gum" aria-label="Cq5dam thumbnail 670 530"> 6681 <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> 6682 </li> 6683 <li> 6684 <a tabindex="-1" href="zimoli/oral-b" aria-label="1200px Oral B logo svg"> 6685 <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> 6686 </li> 6687 <li> 6688 <a tabindex="-1" href="zimoli/bella" aria-label="Bella logo png transparent"> 6689 <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> 6690 </li> 6691 <li> 6692 <a tabindex="-1" href="zimoli/tena" aria-label="Tena vector logo"> 6693 <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> 6694 </li> 6695 <li> 6696 <a tabindex="-1" href="zimoli/lactacyd" aria-label="07b7bec009c2754e4a5ee3f1bcd653be"> 6697 <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> 6698 </li> 6699 </ul> 6700 6701 </div> 6702 </div> 6703 </div> 6704 </li> 6705 <li class="module-2214 lvl-2 menu_hasChilds b
6705nuMobileNav__item" data-lvl="2" data-id="2214"> 6706 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/maminam-un-berniem" aria-expanded="false"> 6707 <i class="fal fa-baby-carriage" aria-hidden="true"></i> 6708 <span>MÄmiÅÄm un bÄrniem</span> 6709 </a> 6710 6711 <div class="bnuMobileNav__panel" data-lvl="2"> 6712 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6713 MÄmiÅÄm un bÄrniem </button> 6714 6715 <div class="bnuMobileNav__scroll"> 6716 <ul class="bnuMobileNav__list"> 6717 <li class="bnuMobileNav__item"> 6718 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem"> 6719 <span>SkatÄ«t visus produktus</span> 6720 </a> 6721 6722 </li> 6723 <li class="module-2224 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2224"> 6724 <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"> 6725 <span>GrÅ«tniecÄm un mÄmiÅÄm</span> 6726 </a> 6727 6728 <div class="bnuMobileNav__panel" data-lvl="3"> 6729 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6730 GrÅ«tniecÄm un mÄmiÅÄm </button> 6731 6732 <div class="bnuMobileNav__scroll"> 6733 <ul class="bnuMobileNav__list"> 6734 <li class="bnuMobileNav__item"> 6735 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam"> 6736 <span>SkatÄ«t visus produktus</span> 6737 </a> 6738 </li> 6739 <li class="module-2225 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2225"> 6740 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/kermena-kopsana"> 6741 <span>Pretstriju lÄ«dzekļi</span> 6742 </a> 6743 </li> 6744 <li class="module-2226 lvl-4 menu_noChilds b
6744nuMobileNav__item" data-lvl="4" data-id="2226"> 6745 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/barosana-ar-kruti"> 6746 <span>BaroÅ¡ana ar krÅ«ti</span> 6747 </a> 6748 </li> 6749 <li class="module-2704 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2704"> 6750 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/dzemdibu-komplekti"> 6751 <span>DzemdÄ«bu komplekti</span> 6752 </a> 6753 </li> 6754 </ul> 6755 </div> 6756 </div> 6757 </li> 6758 <li class="module-2743 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2743"> 6759 <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"> 6760 <span>VitamÄ«ni un uztura bagÄtinÄtÄji bÄrniem, grÅ«tniecÄm</span> 6761 </a> 6762 6763 <div class="bnuMobileNav__panel" data-lvl="3"> 6764 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6765 VitamÄ«ni un uztura bagÄtinÄtÄji bÄrniem, grÅ«tniecÄm </button> 6766 6767 <div class="bnuMobileNav__scroll"> 6768 <ul class="bnuMobileNav__list"> 6769 <li class="bnuMobileNav__item"> 6770 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji"> 6771 <span>SkatÄ«t visus produktus</span> 6772 </a> 6773 </li> 6774 <li class="module-2746 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2746"> 6775 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji/vitamini-berniem"> 6776 <sp
6776an>VitamÄ«ni bÄrniem</span> 6777 </a> 6778 </li> 6779 <li class="module-11979 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" target="_self" data-id="11979"> 6780 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/grutniecem-un-maminam"> 6781 <span>GrÅ«tniecÄm un mÄmiÅÄm</span> 6782 </a> 6783 </li> 6784 <li class="module-13245 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="13245"> 6785 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji/zivju-ella-berniem"> 6786 <span>Zivju eļļa bÄrniem</span> 6787 </a> 6788 </li> 6789 </ul> 6790 </div> 6791 </div> 6792 </li> 6793 <li class="module-2215 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2215"> 6794 <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"> 6795 <span>BÄrniem un zÄ«daiÅiem</span> 6796 </a> 6797 6798 <div class="bnuMobileNav__panel" data-lvl="3"> 6799 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6800 BÄrniem un zÄ«daiÅiem </button> 6801 6802 <div class="bnuMobileNav__scroll"> 6803 <ul class="bnuMobileNav__list"> 6804 <li class="bnuMobileNav__item"> 6805 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem"> 6806 <span>SkatÄ«t visus produktus</span> 6807 </a> 6808 </li> 6809 <li class="module-2216 lvl-4 menu_noChilds b
6809nuMobileNav__item" data-lvl="4" data-id="2216"> 6810 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/pudelites-un-knupisi"> 6811 <span>PudelÄ«tes un knupīši</span> 6812 </a> 6813 </li> 6814 <li class="module-2217 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2217"> 6815 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/maneklisi"> 6816 <span>MÄneklīši</span> 6817 </a> 6818 </li> 6819 <li class="module-2221 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2221"> 6820 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/autinbiksites-mitras-salvetes"> 6821 <span>AutiÅbiksÄ«tes, mitrÄs salvetes</span> 6822 </a> 6823 </li> 6824 <li class="module-2220 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2220"> 6825 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/bernu-kosmetika"> 6826 <span>BÄrnu kosmÄtika un higiÄnas lÄ«dzekļi</span> 6827 </a> 6828 </li> 6829 <li class="module-2218 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2218"> 6830 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/deguna-aspiratori-kermena-kopsanas-piederumi"> 6831 <span>Deguna aspiratori, Ä·ermeÅa kopÅ¡anas piederumi</span> 6832 </a> 6833 </li> 6834 <li class="module-2219 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2219"> 6835 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/bernu-partika"> 6836 <span>BÄrnu pÄrtika</span> 6837 </a> 6838 </li> 6839 </ul> 6840 </div> 6841 </div> 6842 </li> 6843 </ul> 6844 6845 <div class="bnuMobileNav__logos"> 6846 <p class="bnuMobileNav__logosTitle"> 6847 TOP zÄ«moli </p> 6848 <ul class="bnuMobileNav__logosItems"> 6849 <li> 6850 <a tabindex="-1" href="zimoli/bio-oil" aria-label="8a56d175c30f558b8be378043b227f14"> 6851 <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> 6852 </li> 6853 <li> 6854 <a tabindex="-1" href="e-aptieka/maminam-un-berniem?vars/brand/babe" aria-label="Babe 1"> 6855 <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> 6856 </li> 6857 <li> 6858 <a tabindex="-1" href="zimoli/pampers" aria-label="Pampers logo svg"> 6859 <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> 6860 </li> 6861 <li> 6862 <a tabindex="-1" href="zimoli/marsiesi" aria-label="Martians LOT blue"> 6863 <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> 6864 </li> 6865 <li> 6866 <a tabindex="-1" href="zimoli/chicco" aria-label="Chicco logo svg"> 6867 <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> 6868 </li> 6869 <li> 6870 <a tabindex="-1" href="zimoli/mustela" aria-label="Mustela Logo"> 6871 <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> 6872 </li> 6873 </ul> 6874 6875 </div> 6876 </div> 6877 </div> 6878 </li> 6879 <li class="module-2247 lvl-2 menu_hasChilds b
6879nuMobileNav__item" data-lvl="2" data-id="2247"> 6880 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/medicinas-preces" aria-expanded="false"> 6881 <i class="far fa-stethoscope" aria-hidden="true"></i> 6882 <span>MedicÄ«nas preces </span> 6883 </a> 6884 6885 <div class="bnuMobileNav__panel" data-lvl="2"> 6886 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6887 MedicÄ«nas preces </button> 6888 6889 <div class="bnuMobileNav__scroll"> 6890 <ul class="bnuMobileNav__list"> 6891 <li class="bnuMobileNav__item"> 6892 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces"> 6893 <span>SkatÄ«t visus produktus</span> 6894 </a> 6895 6896 </li> 6897 <li class="module-2271 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2271"> 6898 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika" aria-expanded="false"> 6899 <span>Diagnostika</span> 6900 </a> 6901 6902 <div class="bnuMobileNav__panel" data-lvl="3"> 6903 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6904 Diagnostika </button> 6905 6906 <div class="bnuMobileNav__scroll"> 6907 <ul class="bnuMobileNav__list"> 6908 <li class="bnuMobileNav__item"> 6909 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika"> 6910 <span>SkatÄ«t visus produktus</span> 6911 </a> 6912 </li> 6913 <li class="module-2702 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2702"> 6914 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/glikometri-lancetes-un-teststremeles"> 6915 <span>Glikometri, lancetes un teststrÄmeles</span> 6916 </a> 6917 </li> 6918 <li class="module-2701 lvl-4 menu_noChilds b
6918nuMobileNav__item" data-lvl="4" data-id="2701"> 6919 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/temperaturas-merisana"> 6920 <span>TemperatÅ«ras mÄrīšana</span> 6921 </a> 6922 </li> 6923 <li class="module-2699 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2699"> 6924 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/inhalatori"> 6925 <span>Inhalatori</span> 6926 </a> 6927 </li> 6928 <li class="module-2738 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2738"> 6929 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/analizu-konteineri"> 6930 <span>Analīžu konteineri</span> 6931 </a> 6932 </li> 6933 <li class="module-2700 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2700"> 6934 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/asinspiediena-meritaji"> 6935 <span>Asinsspiediena mÄrÄ«tÄji</span> 6936 </a> 6937 </li> 6938 <li class="module-13104 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="13104"> 6939 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/pulsa-oksimetri"> 6940 <span>Pulsa oksimetri</span> 6941 </a> 6942 </li> 6943 <li class="module-10864 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="10864"> 6944 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/cits"> 6945 <span>Testi</span> 6946 </a> 6947 </li> 6948 </ul> 6949 </div> 6950 </div> 6951 </li> 6952 <li class="module-2248 lvl-3 menu_hasChilds b
6952nuMobileNav__item" data-lvl="3" data-id="2248"> 6953 <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"> 6954 <span>Ä¢imenes plÄnoÅ¡ana</span> 6955 </a> 6956 6957 <div class="bnuMobileNav__panel" data-lvl="3"> 6958 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6959 Ä¢imenes plÄnoÅ¡ana </button> 6960 6961 <div class="bnuMobileNav__scroll"> 6962 <ul class="bnuMobileNav__list"> 6963 <li class="bnuMobileNav__item"> 6964 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana"> 6965 <span>SkatÄ«t visus produktus</span> 6966 </a> 6967 </li> 6968 <li class="module-2749 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2749"> 6969 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/grutniecibas-un-ovulacijas-testi"> 6970 <span>GrÅ«tniecÄ«bas un ovulÄcijas testi</span> 6971 </a> 6972 </li> 6973 <li class="module-2750 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2750"> 6974 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/prezervativi"> 6975 <span>PrezervatÄ«vi</span> 6976 </a> 6977 </li> 6978 <li class="module-2262 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2262"> 6979 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/lubrikanti"> 6980 <span>Lubrikanti</span> 6981 </a> 6982 </li> 6983 </ul> 6984 </div> 6985 </div> 6986 </li> 6987 <li class="module-2249 lvl-3 menu_hasChilds b
6987nuMobileNav__item" data-lvl="3" data-id="2249"> 6988 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija" aria-expanded="false"> 6989 <span>OrtopÄdija</span> 6990 </a> 6991 6992 <div class="bnuMobileNav__panel" data-lvl="3"> 6993 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 6994 OrtopÄdija </button> 6995 6996 <div class="bnuMobileNav__scroll"> 6997 <ul class="bnuMobileNav__list"> 6998 <li class="bnuMobileNav__item"> 6999 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija"> 7000 <span>SkatÄ«t visus produktus</span> 7001 </a> 7002 </li> 7003 <li class="module-2755 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2755"> 7004 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija/elastigie-parseji"> 7005 <span>ElastÄ«gie pÄrsÄji un jostas</span> 7006 </a> 7007 </li> 7008 <li class="module-2754 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2754"> 7009 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija/pedu-aprupei"> 7010 <span>PÄdu aprÅ«pei</span> 7011 </a> 7012 </li> 7013 </ul> 7014 </div> 7015 </div> 7016 </li> 7017 <li class="module-2264 lvl-3 menu_hasChilds bnuMobileNav__item" data-lvl="3" data-id="2264"> 7018 <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"> 7019 <span>Optikas preces</span> 7020 </a> 7021 7022 <div class="bnuMobileNav__panel" data-lvl="3"> 7023 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 7024 Optikas preces </button> 7025 7026 <div class="bnuMobileNav__scroll"> 7027 <ul class="bnuMobileNav__list"> 7028 <li class="bnuMobileNav__item"> 7029 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces"> 7030 <sp
7030an>SkatÄ«t visus produktus</span> 7031 </a> 7032 </li> 7033 <li class="module-2267 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2267"> 7034 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces/acu-pilieni"> 7035 <span>Acu pilieni</span> 7036 </a> 7037 </li> 7038 <li class="module-2270 lvl-4 menu_noChilds bnuMobileNav__item" data-lvl="4" data-id="2270"> 7039 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces/kontaktlecu-kopsana"> 7040 <span>KontaktlÄcas un šķīdumi</span> 7041 </a> 7042 </li> 7043 </ul> 7044 </div> 7045 </div> 7046 </li> 7047 <li class="module-14159 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" target="_self" data-id="14159"> 7048 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/ausu-veseliba"> 7049 <span>Ausu pilieni</span> 7050 </a> 7051 7052 </li> 7053 <li class="module-14757 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="14757"> 7054 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/medicinas-preces/stomas-aprupes-produkti"> 7055 <span>Stomas aprÅ«pes produkti</span> 7056 </a> 7057 7058 </li> 7059 </ul> 7060 7061 <div class="bnuMobileNav__logos"> 7062 <p class="bnuMobileNav__logosTitle"> 7063 TOP zÄ«moli </p> 7064 <ul class="bnuMobileNav__logosItems"> 7065 <li> 7066 <a tabindex="-1" href="zimoli/livsane" aria-label="LIVSANE"> 7067 <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> 7068 </li> 7069 <li> 7070 <a tabindex="-1" href="zimoli/microlife" aria-label="Microlife"> 7071 <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> 7072 </li> 7073 <li> 7074 <a tabindex="-1" href="zimoli/omron" aria-label="Omron"> 7075 <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> 7076 </li> 7077 <li> 7078 <a tabindex="-1" href="zimoli/durex" aria-label="Durex"> 7079 <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> 7080 </li> 7081 <li> 7082 <a tabindex="-1" href="zimoli/lauma" aria-label="Lauma"> 7083 <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> 7084 </li> 7085 <li> 7086 <a tabindex="-1" href="zimoli/evolu" aria-label="Evolu"> 7087 <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> 7088 </li> 7089 </ul> 7090 7091 </div> 7092 </div> 7093 </div> 7094 </li> 7095 <li class="module-2118 lvl-2 menu_hasChilds b
7095nuMobileNav__item" data-lvl="2" data-id="2118"> 7096 <a class="bnuMobileNav__link bnuMobileNav__link--parent bind-nextLevel" href="https://www.benu.lv/e-aptieka/pirma-palidziba" aria-expanded="false"> 7097 <i class="fal fa-band-aid" aria-hidden="true"></i> 7098 <span>PirmÄ palÄ«dzÄ«ba</span> 7099 </a> 7100 7101 <div class="bnuMobileNav__panel" data-lvl="2"> 7102 <button type="button" class="bnuMobileNav__back bind-prevLevel"> 7103 PirmÄ palÄ«dzÄ«ba </button> 7104 7105 <div class="bnuMobileNav__scroll"> 7106 <ul class="bnuMobileNav__list"> 7107 <li class="bnuMobileNav__item"> 7108 <a class="bnuMobileNav__link bnuMobileNav__link--bold" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba"> 7109 <span>SkatÄ«t visus produktus</span> 7110 </a> 7111 7112 </li> 7113 <li class="module-2116 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2116"> 7114 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/plaksteri"> 7115 <span>PlÄksteri</span> 7116 </a> 7117 7118 </li> 7119 <li class="module-2105 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2105"> 7120 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/brucu-aprupe-un-dezinfekcijas-lidzekli"> 7121 <span>BrÅ«Äu aprÅ«pe un dezinfekcijas lÄ«dzekļi</span> 7122 </a> 7123 7124 </li> 7125 <li class="module-2724 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2724"> 7126 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/karpas-un-varzacis"> 7127 <span>KÄrpas un varžacis</span> 7128 </a> 7129 7130 </li> 7131 <li class="module-11890 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="11890"> 7132 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/pretinsektu-lidzekli"> 7133 <span>Pretinsektu lÄ«dzekļi</span> 7134 </a> 7135 7136 </li> 7137 <li class="module-2723 lvl-3 menu_noChilds b
7137nuMobileNav__item" data-lvl="3" data-id="2723"> 7138 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/antiparazitarie-lidzekli"> 7139 <span>Utis, gnÄ«das</span> 7140 </a> 7141 7142 </li> 7143 <li class="module-11848 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="11848"> 7144 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/senisu-infekcija"> 7145 <span>SÄnīšu infekcija</span> 7146 </a> 7147 7148 </li> 7149 <li class="module-2124 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2124"> 7150 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/maskas"> 7151 <span>Maskas</span> 7152 </a> 7153 7154 </li> 7155 <li class="module-2119 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2119"> 7156 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/vate-marles-un-parseji"> 7157 <span>Vate, marles un pÄrsÄji</span> 7158 </a> 7159 7160 </li> 7161 <li class="module-13550 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="13550"> 7162 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/virsmu-dezinfekcija"> 7163 <span>Dezinfekcijas lÄ«dzekļi</span> 7164 </a> 7165 7166 </li> 7167 <li class="module-2141 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2141"> 7168 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/zalu-kastites-un-tablesu-dalitaji"> 7169 <span>ZÄļu kastÄ«tes un tableÅ¡u dalÄ«tÄji</span> 7170 </a> 7171 7172 </li> 7173 <li class="module-2104 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2104"> 7174 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/cimdi">
7175 <span>Cimdi</span> 7176 </a> 7177 7178 </li> 7179 <li class="module-2142 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2142"> 7180 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/sildosie-atvesinosie-geli-un-kompreses"> 7181 <span>PirmÄs palÄ«dzÄ«bas ziedes, geli, spreji</span> 7182 </a> 7183 7184 </li> 7185 <li class="module-2204 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="2204"> 7186 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/koka-spateles-joda-kocini"> 7187 <span>Koka Å¡pÄteles, joda kociÅi</span> 7188 </a> 7189 7190 </li> 7191 <li class="module-12864 lvl-3 menu_noChilds bnuMobileNav__item" data-lvl="3" data-id="12864"> 7192 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-aptieka/pirma-palidziba/klizmas-znaugi"> 7193 <span>Klizmas, žÅaugi, vaskadrÄnas, ausu aizbÄžÅi </span> 7194 </a> 7195 7196 </li> 7197 </ul> 7198 7199 <div class="bnuMobileNav__logos"> 7200 <p class="bnuMobileNav__logosTitle"> 7201 TOP zÄ«moli </p> 7202 <ul class="bnuMobileNav__logosItems"> 7203 <li> 7204 <a tabindex="-1" href="zimoli/medrull" aria-label="Medrull"> 7205 <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> 7206 </li> 7207 <li> 7208 <a tabindex="-1" href="zimoli/compeed" aria-label="Compeed logo"> 7209 <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> 7210 </li> 7211 <li> 7212 <a tabindex="-1" href="zimoli/urgo" aria-label="URGO"> 7213 <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> 7214 </li> 7215 <li> 7216 <a tabindex="-1" href="zimoli/perskindol" aria-label="Perskindol logo"> 7217 <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> 7218 </li> 7219 <li> 7220 <a tabindex="-1" href="zimoli/tickless" aria-label="Tickless logo 2"> 7221 <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> 7222 </li> 7223 <li> 7224 <a tabindex="-1" href="zimoli/larifan" aria-label="Larifan"> 7225 <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> 7226 </li> 7227 </ul> 7228 7229 </div> 7230 </div> 7231 </div> 7232 </li> 7233 <li class="module-13087 lvl-2 menu_noChilds b
7233nuMobileNav__item" data-lvl="2" target="_self" data-id="13087"> 7234 <a class="bnuMobileNav__link" href="https://www.benu.lv/zimoli"> 7235 <i class="fal fa-font-case" aria-hidden="true"></i> 7236 <span>Visi zÄ«moli</span> 7237 </a> 7238 7239 </li> 7240 </ul> 7241 7242 <div class="bnuMobileNav__footer"> 7243 <ul class="bnuMobileNav__footerMenu"> 7244 <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> 7245 7246 <li> 7247 <a tabindex="-1" href="https://www.benu.lv/aptiekas"> 7248 <i class="fa-regular fa-location-dot" aria-hidden="true"></i> 7249 Aptiekas </a> 7250 </li> 7251 7252 <li> 7253 <a tabindex="-1" href="https://www.benu.lv/ienakt"> 7254 <i class="fa-regular fa-heart" aria-hidden="true"></i> 7255 VÄlmju saraksts </a> 7256 </li> 7257 7258 <li> 7259 <a tabindex="-1" href="https://www.benu.lv/ienakt"> 7260 <i class="fa-regular fa-user" aria-hidden="true"></i> 7261 IenÄkt / ReÄ£istrÄties </a> 7262 </li> 7263 </ul> 7264 7265 <ul class="bnuMobileNav__social"> 7266 <li> 7267 <a tabindex="-1" target="_blank" href="https://www.facebook.com/BENUAptieka/" aria-label="BENU Facebook"> 7268 <i class="fa-brands fa-facebook-f" aria-hidden="true"></i> 7269 </a> 7270 </li> 7271 <li> 7272 <a tabindex="-1" target="_blank" href="https://www.youtube.com/channel/UClC7biL_2Qy-59XdHMO7WCA" aria-label="BENU Youtube"> 7273 <i class="fa-brands fa-youtube" aria-hidden="true"></i> 7274 </a> 7275 </li> 7276 <li> 7277 <a tabindex="-1" target="_blank" href="https://www.instagram.com/benu_aptieka/" aria-label="BENU Instagram"> 7278 <i class="fa-brands fa-instagram" aria-hidden="true"></i> 7279 </a> 7280 </li> 7281 <li> 7282 <a tabindex="-1" target="_blank" href="https://www.linkedin.com/company/benu-pharmacy-baltics" aria-label="BENU LinkedIn"> 7283 <i class="fa-brands fa-linkedin" aria-hidden="true"></i> 7284 </a> 7285 </li> 7286 </ul> 7287 </div> 7288 </div> 7289 </div> 7290 7291
7291<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 7292 (function () { 7293 var root = document.querySelector('.bnuMobileNav--categories'); 7294 7295 if (!root) { 7296 return; 7297 } 7298 7299 root.addEventListener('click', function (event) { 7300 var opener = event.target.closest('.bind-nextLevel'); 7301 7302 if (opener && root.contains(opener)) { 7303 event.preventDefault(); 7304 7305 var panel = opener.nextElementSibling; 7306 7307 if (panel) { 7308 panel.classList.add('bnuMobileNav__panel--active'); 7309 opener.setAttribute('aria-expanded', 'true'); 7310 } 7311 7312 return; 7313 } 7314 7315 var closer = event.target.closest('.bind-prevLevel'); 7316 7317 if (closer && root.contains(closer)) { 7318 event.preventDefault(); 7319 7320 var openPanel = closer.closest('.bnuMobileNav__panel'); 7321 7322 if (openPanel) { 7323 openPanel.classList.remove('bnuMobileNav__panel--active'); 7324 7325 var trigger = openPanel.previousElementSibling; 7326 7327 if (trigger) { 7328 trigger.setAttribute('aria-expanded', 'false'); 7329 } 7330 } 7331 } 7332 }); 7333 })(); 7334 </script>
7334 7335 </nav> 7336 </div> 7337 <div id="mobileMenu" class="bnuMobileMenu__panel bind-mobileMenuContent"> 7338 <nav> 7339 7340 <div class="bnuMobileNav bnuMobileNav--simple"> 7341 <p class="bnuMobileNav__title"> 7342 Par BENU </p> 7343 7344 <div class="bnuMobileNav__scroll"> 7345 <ul class="bnuMobileNav__list"> 7346 <li class="module-15605 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/e-davanu-karte"> 7347 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/e-davanu-karte"> 7348 <span>DÄvanu karte</span> 7349 </a> 7350 </li> 7351 <li class="module-14064 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_blank" href="https://www.benu.lv/senioru-prieksrocibas"> 7352 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/senioru-prieksrocibas"> 7353 <span>Senioru priekÅ¡rocÄ«bas</span> 7354 </a> 7355 </li> 7356 <li class="module-13717 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/musu-aptiekas"> 7357 <a class="bnuMobileNav__link bnuMenuButton--green" tabindex="-1" href="https://www.benu.lv/musu-aptiekas"> 7358 <i class="fal fa-clinic-medical" aria-hidden="true"></i> 7359 <span>MÅ«su Aptiekas</span> 7360 </a> 7361 </li> 7362 <li class="module-13828 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/jaunumi"> 7363 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/jaunumi"> 7364 <span>Jaunumi</span> 7365 </a> 7366 </li> 7367 <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"> 7368 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/pakalpojumi-filiales/merijumi-un-parbaudes"> 7369 <span>MÄrÄ«jumi un pÄrbaudes</span> 7370 </a> 7371 </li> 7372 <li class="module-2986 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/benu-akademija"> 7373 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/benu-akademija"> 7374 <span>BENU Blogs</span> 7375 </a> 7376 </li> 7377 <li class="module-12006 lvl-1 menu_noChilds bnuMobileNav__item" data-lvl="1" href="https://www.benu.lv/zalu-piegade-uz-majam"> 7378 <a class="bnuMobileNav__link" tabindex="-1" href="https://www.benu.lv/zalu-piegade-uz-majam"> 7379 <span>ZÄļu piegÄde mÄjÄs</span> 7380 </a> 7381 </li> 7382 <li class="module-10747 lvl-1 menu_hasChilds b
7382nuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/palidziba/biezak-uzdotie-jautajumi"> 7383 <button type="button" class="bnuMobileNav__link bnuMobileNav__link--toggle bind-toggleMobileSubMenu" aria-expanded="false"> 7384 <span>PalÄ«dzÄ«ba</span> 7385 </button> 7386 7387 <ul class="bnuMobileNav__subList"> 7388 <li class="module-13056 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" href="https://www.benu.lv/piegade"> 7389 <a class="bnuMobileNav__link bnuMobileNav__link--child" tabindex="-1" href="https://www.benu.lv/piegade"> 7390 <span>PiegÄde</span> 7391 </a> 7392 </li> 7393 <li class="module-2992 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" href="https://www.benu.lv/benu-interneta-aptieka"> 7394 <a class="bnuMobileNav__link bnuMobileNav__link--child" tabindex="-1" href="https://www.benu.lv/benu-interneta-aptieka"> 7395 <span>Kontakti</span> 7396 </a> 7397 </li> 7398 </ul> 7399 </li> 7400 <li class="module-2985 lvl-1 menu_hasChilds bnuMobileNav__item" data-lvl="1" target="_self" href="https://www.benu.lv/benu-karte"> 7401 <button type="button" class="bnuMobileNav__link bnuMobileNav__link--toggle bind-toggleMobileSubMenu" aria-expanded="false"> 7402 <span>Par BENU Aptieku</span> 7403 </button> 7404 7405 <ul class="bnuMobileNav__subList"> 7406 <li class="module-2987 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" href="https://www.benu.lv/pakalpojumi-filiales"> 7407 <a class="bnuMobileNav__link bnuMobileNav__link--child" tabindex="-1" href="https://www.benu.lv/pakalpojumi-filiales"> 7408 <span>Pakalpojumi aptiekÄs</span> 7409 </a> 7410 </li> 7411 <li class="module-10745 lvl-2 menu_noChilds bnuMobileNav__item" data-lvl="2" target="_self" href="https://www.benu.lv/medikamentu-atgadinajuma-programma"> 7412 <a class="bnuMobileNav__link bnuMobileNav__link--child" tabindex="-1" href="https://www.benu.lv/medikamentu-atgadinajuma-programma"> 7413 <span>Medikamentu atgÄdinÄjuma programma</span> 7414 </a> 7415 </li> 7416 </ul> 7417 </li> 7418 </ul> 7419 7420 <div class="bnuMobileNav__footer"> 7421 <ul class="bnuMobileNav__footerMenu"> 7422 <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> 7423 7424 <li> 7425 <a tabindex="-1" href="https://www.benu.lv/aptiekas"> 7426 <i class="fa-regular fa-location-dot" aria-hidden="true"></i> 7427 Aptiekas </a> 7428 </li> 7429 7430 <li> 7431 <a tabindex="-1" href="https://www.benu.lv/ienakt"> 7432 <i class="fa-regular fa-heart" aria-hidden="true"></i> 7433 VÄlmju saraksts </a> 7434 </li> 7435 7436 <li> 7437 <a tabindex="-1" href="https://www.benu.lv/ienakt"> 7438 <i class="fa-regular fa-user" aria-hidden="true"></i> 7439 IenÄkt / ReÄ£istrÄties </a> 7440 </li> 7441 </ul> 7442 7443 <ul class="bnuMobileNav__social"> 7444 <li> 7445 <a tabindex="-1" target="_blank" href="https://www.facebook.com/BENUAptieka/" aria-label="BENU Facebook"> 7446 <i class="fa-brands fa-facebook-f" aria-hidden="true"></i> 7447 </a> 7448 </li> 7449 <li> 7450 <a tabindex="-1" target="_blank" href="https://www.youtube.com/channel/UClC7biL_2Qy-59XdHMO7WCA" aria-label="BENU Youtube"> 7451 <i class="fa-brands fa-youtube" aria-hidden="true"></i> 7452 </a> 7453 </li> 7454 <li> 7455 <a tabindex="-1" target="_blank" href="https://www.instagram.com/benu_aptieka/" aria-label="BENU Instagram"> 7456 <i class="fa-brands fa-instagram" aria-hidden="true"></i> 7457 </a> 7458 </li> 7459 <li> 7460 <a tabindex="-1" target="_blank" href="https://www.linkedin.com/company/benu-pharmacy-baltics" aria-label="BENU LinkedIn"> 7461 <i class="fa-brands fa-linkedin" aria-hidden="true"></i> 7462 </a> 7463 </li> 7464 </ul> 7465 </div> 7466 </div> 7467 </div> 7468 7469
7469<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 7470 (function () { 7471 var root = document.querySelector('.bnuMobileNav--simple'); 7472 7473 if (!root) { 7474 return; 7475 } 7476 7477 root.addEventListener('click', function (event) { 7478 var toggle = event.target.closest('.bind-toggleMobileSubMenu'); 7479 7480 if (!toggle || !root.contains(toggle)) { 7481 return; 7482 } 7483 7484 event.preventDefault(); 7485 7486 var item = toggle.closest('.bnuMobileNav__item'); 7487 var expanded = toggle.getAttribute('aria-expanded') === 'true'; 7488 7489 toggle.setAttribute('aria-expanded', expanded ? 'false' : 'true'); 7490 7491 if (item) { 7492 item.classList.toggle('bnuMobileNav__item--open', !expanded); 7493 } 7494 }); 7495 })(); 7496 </script>
7496 7497 </nav> 7498 </div> 7499 </div> 7500 </div> 7501 7502 <div class="bnuHeader__nav cache-on"> 7503 <nav id="bnuProductNav" class="bnuProductNav" aria-label="Product categories"> 7504 7505<button id="bnuProductNavToggle" class="bnuProductNav__toggle" type="button" aria-expanded="false" aria-disabled="false" aria-controls="bnuProductNavMenu"> 7506 Produktu katalogs <i class="fa-regular fa-angle-down" aria-hidden="true"></i> 7507</button> 7508 7509<ul id="bnuProductNavMenu" class="bnuProductNav__menu bnuProductNav__menu--many" aria-hidden="true" inert> 7510 <li class="bnuProductNav__menuSpacer" tabindex="-1"></li> 7511 7512 <li class="module-16042 lvl-2 menu_noChilds" data-lvl="2" target="_self" href="https://www.benu.lv/partneru-piedavajums"> 7513 <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> 7514 7515 7516 </li> 7517 <li class="module-14824 lvl-2 menu_noChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/noliktavas-atlaides"> 7518 <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> 7519 7520 7521 </li> 7522 <li class="module-10857 lvl-2 menu_noChilds" data-lvl="2" target="_self" href="https://www.benu.lv/akcijas"> 7523 <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> 7524 7525 7526 </li> 7527 <li class="module-11910 lvl-2 menu_noChilds" data-lvl="2" target="_self" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
7527as-kopsana/saulosanas-kosmetika"> 7528 <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> 7529 7530 7531 </li> 7532 <li class="module-2098 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti"> 7533 <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> 7534 <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"> 7535 <span class="screenReaderText"> 7536 Open BezrecepÅ¡u medikamenti submenu 7537 </span> 7538 </button> 7539 7540 7541 <ul data-lvl="1" id="submenu-5" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 7542 <li class="bnuSubMenu__columns"> 7543 <ul> 7544 <li> 7545 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas" data-original-tabindex="" tabindex="-1"> 7546 SaaukstÄÅ¡anÄs </a> 7547 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7548 <li class="module-2101"> 7549 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/saaukstesanas-un-gripa">SaaukstÄÅ¡anÄs un gripa</a> 7550 </li> 7551 <li class="module-2102"> 7552 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/kakla-sapes">Kakla sÄpes</a> 7553 </li> 7554 <li class="module-2725"> 7555 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/klepus">Klepus</a> 7556 </li> 7557 <li class="module-2103"> 7558 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/saaukstesanas/iesnas">Iesnas</a> 7559 </li> 7560 </ul> 7561 </li> 7562 <li> 7563 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite" data-original-tabindex="" tabindex="-1"> 7564 Sirds un asinsrite </a> 7565 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7566 <li class="module-2134"> 7567 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/sirds-veseliba">Sirds veselÄ«ba</a> 7568 </li> 7569 <li class="module-2133"> 7570 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/trombi">Trombi</a> 7571 </li> 7572 <li class="module-2136"> 7573 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/venas-un-asinsvadi">VÄnas un asinsvadi</a> 7574 </li> 7575 <li class="module-10806"> 7576 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sirds-un-asinsrite/dzelzs-un-folijskabes-preperati">Dzelzs un folijskÄbe </a> 7577 </li> 7578 </ul> 7579 </li> 7580 <li> 7581 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes" data-original-tabindex="" tabindex="-1"> 7582 SÄpes </a> 7583 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7584 <li class="module-11920"> 7585 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/sapes-un-iekaisums">SÄpes un iekaisums</a> 7586 </li> 7587 <li class="module-11921"> 7588 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/pretsapju-ziedes-geli">PretsÄpju ziedes, geli</a> 7589 </li> 7590 <li class="module-11918"> 7591 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sapes/pretsapju-plaksteri">PretsÄpju plÄksteri</a> 7592 </li> 7593 </ul> 7594 </li> 7595 <li> 7596 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/locitavam-un-kauliem" data-original-tabindex="" tabindex="-1"> 7597 LocÄ«tavÄm, kauliem un muskuļiem </a> 7598 </li> 7599 <li> 7600 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe" data-original-tabindex="" tabindex="-1"> 7601 Ädas aprÅ«pe </a> 7602 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7603 <li class="module-2151"> 7604 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/
7604pretvirusu-lidzekli">PretvÄ«rusu lÄ«dzekļi</a> 7605 </li> 7606 <li class="module-13094"> 7607 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/mutes-dobuma-glotadai">Mutes dobuma gļotÄdai</a> 7608 </li> 7609 <li class="module-2156"> 7610 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/culu-un-brucu-kopsana">ÄÅ«lu un brÅ«Äu kopÅ¡ana</a> 7611 </li> 7612 <li class="module-2154"> 7613 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/adas-iekaisums-un-ekzema">Sausa Äda un ekzÄma</a> 7614 </li> 7615 <li class="module-2720"> 7616 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/senisu-infekcija">SÄnīšu infekcija</a> 7617 </li> 7618 <li class="module-2721"> 7619 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/adas-aprupe/galvas-adas-aprupe">Galvas Ädas aprÅ«pe</a> 7620 </li> 7621 </ul> 7622 </li> 7623 <li> 7624 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema" data-original-tabindex="" tabindex="-1"> 7625 Stress un nervu sistÄma </a> 7626 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7627 <li class="module-2717"> 7628 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/nervi-un-stress">Nervi un stress</a> 7629 </li> 7630 <li class="module-2718"> 7631 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/miegam">Miegam</a> 7632 </li> 7633 <li class="module-10807"> 7634 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/stress-un-nervu-sistema/hemoroidiem">B grupas vitamÄ«ni</a> 7635 </li> 7636 </ul> 7637 </li> 7638 <li> 7639 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/alergija" data-original-tabindex="" tabindex="-1"> 7640 AlerÄ£ija </a> 7641 </li> 7642 <li> 7643 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi" data-original-tabindex="" tabindex="-1"> 7644 GremoÅ¡anas traucÄjumi </a> 7645 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7646 <li class="module-2107"> 7647 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/caureja">Caureja</a> 7648 </li> 7649 <li class="module-2114"> 7650 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/aizcietejumi">AizcietÄjumi</a> 7651 </li> 7652 <li class="module-2115"> 7653 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/zarnu
7653-mikroflora">Zarnu mikroflora</a> 7654 </li> 7655 <li class="module-2108"> 7656 <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> 7657 </li> 7658 <li class="module-2111"> 7659 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/kunga-darbiba">KunÄ£a darbÄ«ba</a> 7660 </li> 7661 <li class="module-2109"> 7662 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/slikta-dusa">Slikta dūša</a> 7663 </li> 7664 <li class="module-2110"> 7665 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/pretparazitu-lidzekli">PretparazÄ«tu lÄ«dzekļi</a> 7666 </li> 7667 <li class="module-2112"> 7668 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/hemoroidi">HemoroÄ«di</a> 7669 </li> 7670 <li class="module-2113"> 7671 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/gremosanas-traucejumi/aknu-veseliba">Aknu veselÄ«ba</a> 7672 </li> 7673 </ul> 7674 </li> 7675 <li> 7676 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba" data-original-tabindex="" tabindex="-1"> 7677 Sievietes veselÄ«ba </a> 7678 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7679 <li class="module-10802"> 7680 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba/pretapauglosanas-lidzeklis">PretapaugļoÅ¡anÄs lÄ«dzekļi</a> 7681 </li> 7682 <li class="module-2126"> 7683 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/sievietes-veseliba/citi">Citi produkti</a> 7684 </li> 7685 </ul> 7686 </li> 7687 <li> 7688 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/prostata" data-original-tabindex="" tabindex="-1"> 7689 VÄ«rieÅ¡u veselÄ«ba </a> 7690 </li> 7691 <li> 7692 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/smadzenu-darbiba-un-atmina" data-original-tabindex="" tabindex="-1"> 7693 SmadzeÅu darbÄ«ba un atmiÅa </a> 7694 </li> 7695 <li> 7696 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/homeopatija" data-original-tabindex="" tabindex="-1"> 7697 HomeopÄtija un cits </a> 7698 </li> 7699 <li> 7700 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/urinceliem" data-original-tabindex="" tabindex="-1"> 7701 UrÄ«nceļu veselÄ«bai </a> 7702 </li> 7703 <li> 7704 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/acu-veseliba" data-original-tabindex="" tabindex="-1"> 7705 Acu veselÄ«ba </a> 7706 </li> 7707 <li> 7708 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/ausu-veseliba" data-original-tabindex="" tabindex="-1"> 7709 Ausu veselÄ«ba </a> 7710 </li> 7711 <li> 7712 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/smekesanas-atmesanai" data-original-tabindex="" tabindex="-1"> 7713 SmÄÄ·ÄÅ¡anas atmeÅ¡anai </a> 7714 </li> 7715 <li> 7716 <a href="https://www.benu.lv/e-aptieka/bezrecepsu-medikamenti/kalija-jodids" data-original-tabindex="" tabindex="-1"> 7717 KÄlija jodÄ«ds </a> 7718 </li> 7719 </ul> 7720 </li> 7721 <li class="bnuSubMenu__logos"> 7722 <div class="bnuSubMenu__logosItems"> 7723 <a class="bnuSubMenu__logo" href="zimoli/ibumetin" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7724 <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> 7725 <a class="bnuSubMenu__logo" href="zimoli/detralex" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7726 <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> 7727 <a class="bnuSubMenu__logo" href="zimoli/olfen" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7728 <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> 7729 <a class="bnuSubMenu__logo" href="zimoli/coldrex" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7730 <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> 7731 <a class="bnuSubMenu__logo" href="zimoli/nurofen" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7732 <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> 7733 <a class="bnuSubMenu__logo" href="zimoli/espumisan" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7734 <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> 7735 </div> 7736 </li> 7737 </ul> 7738 7739 7740 </li> 7741 <li class="module-2187 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/uztura-bagatinataji"> 7742 <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> 7743 <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">
7744 <span class="screenReaderText"> 7745 Open Uztura bagÄtinÄtÄji submenu 7746 </span> 7747 </button> 7748 7749 7750 <ul data-lvl="1" id="submenu-6" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 7751 <li class="bnuSubMenu__columns"> 7752 <ul> 7753 <li> 7754 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas" data-original-tabindex="" tabindex="-1"> 7755 VitamÄ«ni un minerÄlvielas </a> 7756 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7757 <li class="module-2208"> 7758 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamini-a-e-antioksidanti">VitamÄ«ni A, E, antioksidanti</a> 7759 </li> 7760 <li class="module-2209"> 7761 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-b">B vitamÄ«ns </a> 7762 </li> 7763 <li class="module-2210"> 7764 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-c">C vitamÄ«ns</a> 7765 </li> 7766 <li class="module-2211"> 7767 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamins-d">D vitamÄ«ns</a> 7768 </li> 7769 <li class="module-2193"> 7770 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/magnijs">Magnijs</a> 7771 </li> 7772 <li class="module-2197"> 7773 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/dzelzs-un-folijskabe">Dzelzs un folijskÄbe</a> 7774 </li> 7775 <li class="module-2191"> 7776 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/kalcijs">Kalcijs</a> 7777 </li> 7778 <li class="module-13125"> 7779 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/cinks">Cinks</a> 7780 </li> 7781 <li class="module-2194"> 7782 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/kompleksie-vitamini">Kompleksie vitamÄ«ni</a> 7783 </li> 7784 <li class="module-2205"> 7785 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/vitamini-un-mineralvielas/vitamini-diabetikiem">VitamÄ«ni diabÄtiÄ·iem</a> 7786 </li> 7787 </ul> 7788 </li> 7789 <li> 7790 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei" data-original-tabindex="" tabindex="-1"> 7791 SaaukstÄÅ¡anÄs un imunitÄtei </a> 7792 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7793 <li class="module-11840"> 7794 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/imunitatei">ImunitÄtei</a> 7795 </li> 7796 <li class="module-11844"> 7797 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/iesnas">Iesnas</a> 7798 </li> 7799 <li class="module-11841"> 7800 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/saaukstesanas">DzÄrieni pret saaukstÄÅ¡anos</a> 7801 </li> 7802 <li class="module-11842"> 7803 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/kakla-sapes">Kakla sÄpes</a> 7804 </li> 7805 <li class="module-11843"> 7806 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/saaukstesanas-un-imunitatei/klepus">Klepus</a> 7807 </li> 7808 </ul> 7809 </li> 7810 <li> 7811 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/kolagens" data-original-tabindex="" tabindex="-1"> 7812 KolagÄns </a> 7813 </li> 7814 <li> 7815 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/zivju-ella" data-original-tabindex="" tabindex="-1"> 7816 Zivju un krila eļļas </a> 7817 </li> 7818 <li> 7819 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai" data-original-tabindex="" tabindex="-1"> 7820 Ä¢imenes veselÄ«bai </a> 7821 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7822 <li class="module-2730"> 7823 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/skaistumam">Skaistumam</a> 7824 </li> 7825 <li class="module-2731"> 7826 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/grutniecem-un-mam
7826inam">GrÅ«tniecÄm un mÄmiÅÄm</a> 7827 </li> 7828 <li class="module-2732"> 7829 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/sievietes-veselibai">Sievietes veselÄ«bai</a> 7830 </li> 7831 <li class="module-2202"> 7832 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/vitamini-viriesiem">VitamÄ«ni vÄ«rieÅ¡iem</a> 7833 </li> 7834 <li class="module-2200"> 7835 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/vitamini-berniem">VitamÄ«ni bÄrniem</a> 7836 </li> 7837 <li class="module-2258"> 7838 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/kompleksie-vitamini-2">Kompleksie vitamÄ«ni senioriem</a> 7839 </li> 7840 </ul> 7841 </li> 7842 <li> 7843 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema" data-original-tabindex="" tabindex="-1"> 7844 Sirds un asinsvadu sistÄma </a> 7845 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7846 <li class="module-11845"> 7847 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/holesterinam">HolesterÄ«na lÄ«menis</a> 7848 </li> 7849 <li class="module-11846"> 7850 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/venas-un-asinsvadi">VÄnas un asinsvadi</a> 7851 </li> 7852 <li class="module-11847"> 7853 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sirds-un-asinsvadu-sistema/sirds-veselibai">Sirds veselÄ«bai</a> 7854 </li> 7855 </ul> 7856 </li> 7857 <li> 7858 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/locitavam-un-kauliem" data-original-tabindex="" tabindex="-1"> 7859 LocÄ«tavÄm un kauliem </a> 7860 </li> 7861 <li> 7862 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/urinceliem" data-original-tabindex="" tabindex="-1"> 7863 UrÄ«nceļiem </a> 7864 </li> 7865 <li> 7866 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema" data-original-tabindex="" tabindex="-1"> 7867 GremoÅ¡anas sistÄma </a> 7868 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7869 <li class="module-11832"> 7870 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/probiotiki">ProbiotiÄ·i</a> 7871 </li> 7872 <li class="module-11831"> 7873 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/caureja">Caureja</a> 7874 </li> 7875 <li class="module-11837"> 7876 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/vedera-uzpusanas">VÄdera uzpūšanÄs</a> 7877 </li> 7878 <li class="module-11833"> 7879 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/vedera-kunga-darbibai">KunÄ£a skÄbe un zarnu trakts</a> 7880 </li> 7881 <li class="module-11835"> 7882 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/aknu-veseliba">Aknu veselÄ«ba</a> 7883 </li> 7884 <li class="module-11834"> 7885 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/slikta-dusa">Slikta dūša</a> 7886 </li> 7887 <li class="module-11836"> 7888 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gremosanas-sistema/aizcietejumi">AizcietÄjumi</a> 7889 </li> 7890 </ul> 7891 </li> 7892 <li> 7893 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai" data-original-tabindex="" tabindex="-1"> 7894 SmadzeÅu darbÄ«bai un nervu sistÄmai </a> 7895 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7896 <li class="module-11823"> 7897 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/smadzenu-darbibai-un-nervu-sistemai/atminai">AtmiÅai</a> 7898 </li> 7899 <li class="module-11822"> 7900 <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> 7901 </li> 7902 </ul> 7903 </li> 7904 <li> 7905 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa" data-original-tabindex="" tabindex="-1"> 7906 Sports un aktÄ«va atpÅ«ta </a> 7907 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7908 <li class="module-2213"> 7909 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/svara-kontrole">Svara kontrole</a> 7910 </li> 7911 <li class="module-2206"> 7912 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/sports">Sports</a> 7913 </li> 7914 <li class="module-2196"> 7915 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/sports-un-aktiva-atputa/energijai">EnerÄ£ijai</a> 7916 </li> 7917 </ul> 7918 </li> 7919 <li> 7920 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba" data-original-tabindex="" tabindex="-1"> 7921 Ausu un acu veselÄ«ba </a> 7922 <ul class="bnuProductNav__subMenu" data-lvl="2"> 7923 <li class="module-11838"> 7924 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/vitamini-acim">VitamÄ«ni acÄ«m</a> 7925 </li> 7926 <li class="module-12990"> 7927 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/acu-ziedes-un-pilieni">Acu pilieni un ziedes</a> 7928 </li> 7929 <li class="module-11839"> 7930 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/ausu-veseliba">Ausu veselÄ«ba</a> 7931 </li> 7932 </ul> 7933 </li> 7934 <li> 7935 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/alergija" data-original-tabindex="" tabindex="-1"> 7936 AlerÄ£ija </a> 7937 </li> 7938 </ul> 7939 </li> 7940 <li class="bnuSubMenu__logos"> 7941 <div class="bnuSubMenu__logosItems"> 7942 <a class="bnuSubMenu__logo" href="e-aptieka/livsane" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7943 <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> 7944 <a class="bnuSubMenu__logo" href="zimoli/lyl" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7945 <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> 7946 <a class="bnuSubMenu__logo" href="zimoli/mollers" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7947 <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
7947ands-logo_test-1676867515.png" ></picture> </a> 7948 <a class="bnuSubMenu__logo" href="zimoli/walmark" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7949 <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> 7950 <a class="bnuSubMenu__logo" href="zimoli/nateo-d" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7951 <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> 7952 <a class="bnuSubMenu__logo" href="zimoli/livol" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7953 <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> 7954 </div> 7955 </li> 7956 </ul> 7957 7958 7959 </li> 7960 <li class="module-14763 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/sportam"> 7961 <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> 7962 <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"> 7963 <span class="screenReaderText"> 7964 Open Sportam submenu 7965 </span> 7966 </button> 7967 7968 7969 <ul data-lvl="1" id="submenu-7" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 7970 <li class="bnuSubMenu__columns"> 7971 <ul> 7972 <li> 7973 <a href="https://www.benu.lv/e-aptieka/sportam/proteini" data-original-tabindex="" tabindex="-1"> 7974 ProteÄ«ni </a> 7975 </li> 7976 <li> 7977 <a href="https://www.benu.lv/e-aptieka/sportam/proteina-batonini" data-original-tabindex="" tabindex="-1"> 7978 BatoniÅi un uzkodas </a> 7979 </li> 7980 <li> 7981 <a href="https://www.benu.lv/e-aptieka/sportam/dzerieni" data-original-tabindex="" tabindex="-1"> 7982 DzÄrieni </a> 7983 </li> 7984 <li> 7985 <a href="https://www.benu.lv/e-aptieka/sportam/svara-un-apetites-kontrole" data-original-tabindex="" tabindex="-1"> 7986 Svara un apetÄ«tes kontrole </a> 7987 </li> 7988 <li> 7989 <a href="https://www.benu.lv/e-aptieka/sportam/seikeri-un-pudeles" data-original-tabindex="" tabindex="-1"> 7990 Å eikeri un pudeles </a> 7991 </li> 7992 </ul> 7993 </li> 7994 <li class="bnuSubMenu__banners bnuSubMenu__banners--14763"></li> 7995 <li class="bnuSubMenu__logos"> 7996 <div class="bnuSubMenu__logosItems"> 7997 <a class="bnuSubMenu__logo" href="zimoli/vplab" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 7998 <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> 7999 <a class="bnuSubMenu__logo" href="zimoli/iconfit" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8000 <picture><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.240x240-create-2024-04-iconfit-logo-fullcolor-transp-background-rgb-1
8000714275560.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> 8001 <a class="bnuSubMenu__logo" href="zimoli/isostar" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8002 <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> 8003 <a class="bnuSubMenu__logo" href="zimoli/dion-sportlab" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8004 <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> 8005 </div> 8006 </li> 8007 </ul> 8008 8009 8010 </li> 8011 <li class="module-2254 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/partika-un-tejas"> 8012 <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> 8013 <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"> 8014 <span class="screenReaderText"> 8015 Open PÄrtika un tÄjas submenu 8016 </span> 8017 </button> 8018 8019 8020 <ul data-lvl="1" id="submenu-8" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8021 <li class="bnuSubMenu__columns"> 8022 <ul> 8023 <li> 8024 <a href="https://www.benu.lv/e-aptieka/partika-un-tejas/veseliga-partika" data-original-tabindex="" tabindex="-1"> 8025 VeselÄ«ga pÄrtika </a> 8026 </li> 8027 <li> 8028 <a href="https://www.benu.lv/e-aptieka/partika-un-tejas/partika" data-original-tabindex="" tabindex="-1"> 8029 SpeciÄlÄ pÄrtika </a> 8030 </li> 8031 <li> 8032 <a href="https://www.benu.lv/e-aptieka/partika-un-tejas/tejas" data-original-tabindex="" tabindex="-1"> 8033 TÄjas </a> 8034 </li> 8035 </ul> 8036 </li> 8037 <li class="bnuSubMenu__banners bnuSubMenu__banners--2254"></li> 8038 <li class="bnuSubMenu__logos"> 8039 <div class="bnuSubMenu__logosItems"> 8040 <a class="bnuSubMenu__logo" href="zimoli/teresko" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8041 <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> 8042 <a class="bnuSubMenu__logo" href="zimoli/vplab" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8043 <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> 8044 <a class="bnuSubMenu__logo" href="rukisu-teja" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8045 <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> 8046 <a class="bnuSubMenu__logo" href="nateja" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8047 <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> 8048 <a class="bnuSubMenu__logo" href="meklet?search=yogi" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8049 <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> 8050 </div> 8051 </li> 8052 </ul> 8053 8054 8055 </li> 8056 <li class="module-2159 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8056as-kopsana"> 8057 <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> 8058 <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"> 8059 <span class="screenReaderText"> 8060 Open Skaistums un Ädas kopÅ¡ana submenu 8061 </span> 8062 </button> 8063 8064 8065 <ul data-lvl="1" id="submenu-9" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8066 <li class="bnuSubMenu__columns"> 8067 <ul> 8068 <li> 8069 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8069as-kopsana/sejas-kopsana" data-original-tabindex="" tabindex="-1"> 8070 Sejas Ädas kopÅ¡ana </a> 8071 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8072 <li class="module-2172"> 8073 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/acu-kopsana">Acu kopÅ¡ana</a> 8074 </li> 8075 <li class="module-2174"> 8076 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/kremi">KrÄmi un serumi</a> 8077 </li> 8078 <li class="module-2173"> 8079 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8079as-kopsana/sejas-kopsana/mazgasana-un-attirisana">KosmÄtikas noÅemÅ¡ana un attÄ«rīšana</a> 8080 </li> 8081 <li class="module-2175"> 8082 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/sejas-kopsana/maskas">Sejas kopÅ¡anas maskas</a> 8083 </li> 8084 <li class="module-2793"> 8085 <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> 8086 </li> 8087 <li class="module-2176"> 8088 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8088as-kopsana/sejas-kopsana/lupu-kopsana">Lūpu kopšana</a> 8089 </li> 8090 </ul> 8091 </li> 8092 <li> 8093 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana" data-original-tabindex="" tabindex="-1"> 8094 Matu kopšana </a> 8095 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8096 <li class="module-2182"> 8097 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8097as-kopsana/matu-kopsana/sampuni">Šampūni</a> 8098 </li> 8099 <li class="module-2180"> 8100 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/balzami">Balzami</a> 8101 </li> 8102 <li class="module-2184"> 8103 <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> 8104 </li> 8105 <li class="module-2183"> 8106 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8106as-kopsana/matu-kopsana/veidosanai">VeidoÅ¡anai</a> 8107 </li> 8108 <li class="module-14564"> 8109 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/matu-veidotaji">Matu veidotÄji</a> 8110 </li> 8111 <li class="module-14563"> 8112 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/matu-kopsana/aksesuari">AksesuÄri</a> 8113 </li> 8114 </ul> 8115 </li> 8116 <li> 8117 <a href="https://www.benu.lv/korejas-kosmetika" data-original-tabindex="" tabindex="-1"> 8118 Korejas kosmÄtika </a> 8119 </li> 8120 <li> 8121 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8121as-kopsana/dekorativa-kosmetika" data-original-tabindex="" tabindex="-1"> 8122 DekoratÄ«vÄ kosmÄtika </a> 8123 </li> 8124 <li> 8125 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana" data-original-tabindex="" tabindex="-1"> 8126 ĶermeÅa kopÅ¡ana </a> 8127 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8128 <li class="module-2161"> 8129 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8129as-kopsana/kermena-kopsana/mazgasana-un-attitisana">MazgÄÅ¡ana un attÄ«rīšana</a> 8130 </li> 8131 <li class="module-2162"> 8132 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/kremi-un-losjoni">KrÄmi un losjoni</a> 8133 </li> 8134 <li class="module-2168"> 8135 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/kermena-ellas">ĶermeÅa eļļas</a> 8136 </li> 8137 <li class="module-2163"> 8138 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8138as-kopsana/kermena-kopsana/dezodoranti">Dezodoranti</a> 8139 </li> 8140 <li class="module-2165"> 8141 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/eteriskas-ellas">ÄteriskÄs eļļas</a> 8142 </li> 8143 <li class="module-2167"> 8144 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/roku-un-nagu-kopsana">Roku un nagu kopÅ¡ana</a> 8145 </li> 8146 <li class="module-2166"> 8147 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8147as-kopsana/kermena-kopsana/kaju-kopsana">KÄju un pÄdu kopÅ¡ana</a> 8148 </li> 8149 <li class="module-2169"> 8150 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/kermena-kopsana/pretcelulita">PretcelulÄ«ta</a> 8151 </li> 8152 </ul> 8153 </li> 8154 <li> 8155 <a href="https://www.benu.lv/e-aptieka/skaistums-un-adas-kopsana/saulosanas-kosmetika" data-original-tabindex="" tabindex="-1"> 8156 SauļoÅ¡anÄs kosmÄtika </a> 8157 </li> 8158 <li> 8159 <a href="https://www.benu.lv/e-aptieka/skaistums-un-ad
8159as-kopsana/psoriaze-ekzema-atopiskais-dermatits" data-original-tabindex="" tabindex="-1"> 8160 PsoriÄze, ekzÄma, atopiskais dermatÄ«ts </a> 8161 </li> 8162 </ul> 8163 </li> 8164 <li class="bnuSubMenu__banners bnuSubMenu__banners--2159"></li> 8165 <li class="bnuSubMenu__logos"> 8166 <div class="bnuSubMenu__logosItems"> 8167 <a class="bnuSubMenu__logo" href="zimoli/eucerin" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8168 <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> 8169 <a class="bnuSubMenu__logo" href="zimoli/vichy" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8170 <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> 8171 <a class="bnuSubMenu__logo" href="zimoli/la-roche-posay-1" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8172 <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> 8173 <a class="bnuSubMenu__logo" href="zimoli/avene" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8174 <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> 8175 <a class="bnuSubMenu__logo" href="zimoli/uriage" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8176 <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> 8177 <a class="bnuSubMenu__logo" href="zimoli/babe" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8178 <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> 8179 </div> 8180 </li> 8181 </ul> 8182 8183 8184 </li> 8185 <li class="module-2228 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/higiena"> 8186 <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> 8187 <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">
8188 <span class="screenReaderText"> 8189 Open HigiÄna submenu 8190 </span> 8191 </button> 8192 8193 8194 <ul data-lvl="1" id="submenu-10" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8195 <li class="bnuSubMenu__columns"> 8196 <ul> 8197 <li> 8198 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena" data-original-tabindex="" tabindex="-1"> 8199 Mutes higiÄna </a> 8200 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8201 <li class="module-2240"> 8202 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-pastas">Zobu pastas</a> 8203 </li> 8204 <li class="module-2239"> 8205 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-birstes">Zobu birstes</a> 8206 </li> 8207 <li class="module-2238"> 8208 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/skalosanas-lidzekli">Mutes skaloÅ¡anas lÄ«dzekļi</a> 8209 </li> 8210 <li class="module-2237"> 8211 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/protezu-kopsana">ProtÄžu kopÅ¡ana</a> 8212 </li> 8213 <li class="module-2236"> 8214 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/zobu-diegi-starpzobu-birstites">Zobu diegi, starpzobu birstÄ«tes</a> 8215 </li> 8216 <li class="module-2752"> 8217 <a href="https://www.benu.lv/e-aptieka/higiena/mutes-higiena/berniem">Mutes higiÄna bÄrniem</a> 8218 </li> 8219 </ul> 8220 </li> 8221 <li> 8222 <a href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe" data-original-tabindex="" tabindex="-1"> 8223 Inkontinences aprÅ«pe </a> 8224 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8225 <li class="module-2696"> 8226 <a href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/biksites-autinbiksites">BiksÄ«tes, autiÅbiksÄ«tes</a> 8227 </li> 8228 <li class="module-2697"> 8229 <a href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/higieniskie-ieliktnisi">HigiÄniskie ieliktnīši</a> 8230 </li> 8231 <li class="module-2794"> 8232 <a href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/
8232paladzini">PaladziÅi</a> 8233 </li> 8234 <li class="module-2698"> 8235 <a href="https://www.benu.lv/e-aptieka/higiena/inkontinences-aprupe/mazgasana-un-attirisana">MazgÄÅ¡ana un attÄ«rīšana</a> 8236 </li> 8237 </ul> 8238 </li> 8239 <li> 8240 <a href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi" data-original-tabindex="" tabindex="-1"> 8241 ĶermeÅa kopÅ¡anas piederumi </a> 8242 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8243 <li class="module-2230"> 8244 <a href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/vates-spilventini">Vates spilventiÅi</a> 8245 </li> 8246 <li class="module-2231"> 8247 <a href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/vates-kocini">Vates kociÅi</a> 8248 </li> 8249 <li class="module-2232"> 8250 <a href="https://www.benu.lv/e-aptieka/higiena/kermena-kopsanas-piederumi/manikirs-un-pedikirs">ManikÄ«rs un pedikÄ«rs</a> 8251 </li> 8252 </ul> 8253 </li> 8254 <li> 8255 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena" data-original-tabindex="" tabindex="-1"> 8256 IntÄ«mÄ higiÄna </a> 8257 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8258 <li class="module-2242"> 8259 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/intimai-veselibai">IntÄ«mai veselÄ«bai</a> 8260 </li> 8261 <li class="module-2246"> 8262 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/intimas-higienas-lidzekli">IntÄ«mÄs higiÄnas lÄ«dzekļi</a> 8263 </li> 8264 <li class="module-2244"> 8265 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/paketes">Paketes</a> 8266 </li> 8267 <li class="module-2243"> 8268 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/ikdienas-ieliknisi">Ikdienas ieliknīši</a> 8269 </li> 8270 <li class="module-2245"> 8271 <a href="https://www.benu.lv/e-aptieka/higiena/intima-higiena/tamponi">Tamponi</a> 8272 </li> 8273 </ul> 8274 </li> 8275 </ul> 8276 </li> 8277 <li class="bnuSubMenu__banners bnuSubMenu__banners--2228"></li> 8278 <li class="bnuSubMenu__logos"> 8279 <div class="bnuSubMenu__logosItems"> 8280 <a class="bnuSubMenu__logo" href="zimoli/elmex" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8281 <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> 8282 <a class="bnuSubMenu__logo" href="zimoli/gum" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8283 <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> 8284 <a class="bnuSubMenu__logo" href="zimoli/oral-b" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8285 <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> 8286 <a class="bnuSubMenu__logo" href="zimoli/bella" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8287 <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> 8288 <a class="bnuSubMenu__logo" href="zimoli/tena" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8289 <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> 8290 <a class="bnuSubMenu__logo" href="zimoli/lactacyd" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8291 <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> 8292 </div> 8293 </li> 8294 </ul> 8295 8296 8297 </li> 8298 <li class="module-2214 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/maminam-un-berniem"> 8299 <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> 8300 <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">
8301 <span class="screenReaderText"> 8302 Open MÄmiÅÄm un bÄrniem submenu 8303 </span> 8304 </button> 8305 8306 8307 <ul data-lvl="1" id="submenu-11" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8308 <li class="bnuSubMenu__columns"> 8309 <ul> 8310 <li> 8311 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam" data-original-tabindex="" tabindex="-1"> 8312 GrÅ«tniecÄm un mÄmiÅÄm </a> 8313 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8314 <li class="module-2225"> 8315 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/kermena-kopsana">Pretstriju lÄ«dzekļi</a> 8316 </li> 8317 <li class="module-2226"> 8318 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/barosana-ar-kruti">BaroÅ¡ana ar krÅ«ti</a> 8319 </li> 8320 <li class="module-2704"> 8321 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/grutniecem-un-maminam/dzemdibu-komplekti">DzemdÄ«bu komplekti</a> 8322 </li> 8323 </ul> 8324 </li> 8325 <li> 8326 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji" data-original-tabindex="" tabindex="-1"> 8327 VitamÄ«ni un uztura bagÄtinÄtÄji bÄrniem, grÅ«tniecÄm </a> 8328 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8329 <li class="module-2746"> 8330 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji/vitamini-berniem">VitamÄ«ni bÄrniem</a> 8331 </li> 8332 <li class="module-11979"> 8333 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/gimenes-veselibai/grutniecem-un-maminam">GrÅ«tniecÄm un mÄmiÅÄm</a> 8334 </li> 8335 <li class="module-13245"> 8336 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/vitamini-un-uztura-bagatinataji/zivju-ella-berniem">Zivju eļļa bÄrniem</a> 8337 </li> 8338 </ul> 8339 </li> 8340 <li> 8341 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem" data-original-tabindex="" tabindex="-1"> 8342 BÄrniem un zÄ«daiÅiem </a> 8343 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8344 <li class="module-2216"> 8345 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/pudelites-un-knupisi">PudelÄ«tes un knupīši</a> 8346 </li> 8347 <li class="module-2217"> 8348 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/maneklisi">MÄneklīši</a> 8349 </li> 8350 <li class="module-2221"> 8351 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/autinbiksites-mitras-salvetes">
8351AutiÅbiksÄ«tes, mitrÄs salvetes</a> 8352 </li> 8353 <li class="module-2220"> 8354 <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> 8355 </li> 8356 <li class="module-2218"> 8357 <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> 8358 </li> 8359 <li class="module-2219"> 8360 <a href="https://www.benu.lv/e-aptieka/maminam-un-berniem/berniem-un-zidainiem/bernu-partika">BÄrnu pÄrtika</a> 8361 </li> 8362 </ul> 8363 </li> 8364 </ul> 8365 </li> 8366 <li class="bnuSubMenu__banners bnuSubMenu__banners--2214"></li> 8367 <li class="bnuSubMenu__logos"> 8368 <div class="bnuSubMenu__logosItems"> 8369 <a class="bnuSubMenu__logo" href="zimoli/bio-oil" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8370 <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> 8371 <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"> 8372 <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> 8373 <a class="bnuSubMenu__logo" href="zimoli/pampers" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8374 <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> 8375 <a class="bnuSubMenu__logo" href="zimoli/marsiesi" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8376 <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> 8377 <a class="bnuSubMenu__logo" href="zimoli/chicco" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8378 <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> 8379 <a class="bnuSubMenu__logo" href="zimoli/mustela" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8380 <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> 8381 </div> 8382 </li> 8383 </ul> 8384 8385 8386 </li> 8387 <li class="module-2247 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/medicinas-preces"> 8388 <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> 8389 <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">
8390 <span class="screenReaderText"> 8391 Open MedicÄ«nas preces submenu 8392 </span> 8393 </button> 8394 8395 8396 <ul data-lvl="1" id="submenu-12" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8397 <li class="bnuSubMenu__columns"> 8398 <ul> 8399 <li> 8400 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika" data-original-tabindex="" tabindex="-1"> 8401 Diagnostika </a> 8402 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8403 <li class="module-2702"> 8404 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/glikometri-lancetes-un-teststremeles">Glikometri, lancetes un teststrÄmeles</a> 8405 </li> 8406 <li class="module-2701"> 8407 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/temperaturas-merisana">TemperatÅ«ras mÄrīšana</a> 8408 </li> 8409 <li class="module-2699"> 8410 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/inhalatori">Inhalatori</a> 8411 </li> 8412 <li class="module-2738"> 8413 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/analizu-konteineri">Analīžu konteineri</a> 8414 </li> 8415 <li class="module-2700"> 8416 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/asinspiediena-meritaji">Asinsspiediena mÄrÄ«tÄji</a> 8417 </li> 8418 <li class="module-13104"> 8419 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/pulsa-oksimetri">Pulsa oksimetri</a> 8420 </li> 8421 <li class="module-10864"> 8422 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/diagnostika/cits">Testi</a> 8423 </li> 8424 </ul> 8425 </li> 8426 <li> 8427 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana" data-original-tabindex="" tabindex="-1"> 8428 Ä¢imenes plÄnoÅ¡ana </a> 8429 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8430 <li class="module-2749"> 8431 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/grutniecibas-un-ovulacijas-testi">GrÅ«tniecÄ«bas un ovulÄcijas testi</a> 8432 </li> 8433 <li class="module-2750"> 8434 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/prezervativi">PrezervatÄ«vi</a> 8435 </li> 8436 <li class="module-2262"> 8437 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/gimenes-planosana/lubrikanti">Lubrikanti</a> 8438 </li> 8439 </ul> 8440 </li> 8441 <li> 8442 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija" data-original-tabindex="" tabindex="-1"> 8443 OrtopÄdija </a> 8444 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8445 <li class="module-2755"> 8446 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija/elastigie-parseji">ElastÄ«gie pÄrsÄji un jostas</a> 8447 </li> 8448 <li class="module-2754"> 8449 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/ortopedija/pedu-aprupei">PÄdu aprÅ«pei</a> 8450 </li> 8451 </ul> 8452 </li> 8453 <li> 8454 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces" data-original-tabindex="" tabindex="-1"> 8455 Optikas preces </a> 8456 <ul class="bnuProductNav__subMenu" data-lvl="2"> 8457 <li class="module-2267"> 8458 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces/acu-pilieni">Acu pilieni</a> 8459 </li> 8460 <li class="module-2270"> 8461 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/optikas-preces/kontaktlecu-kopsana">KontaktlÄcas un šķīdumi</a> 8462 </li> 8463 </ul> 8464 </li> 8465 <li> 8466 <a href="https://www.benu.lv/e-aptieka/uztura-bagatinataji/ausu-un-acu-veseliba/ausu-veseliba" data-original-tabindex="" tabindex="-1"> 8467 Ausu pilieni </a> 8468 </li> 8469 <li> 8470 <a href="https://www.benu.lv/e-aptieka/medicinas-preces/stomas-aprupes-produkti" data-original-tabindex="" tabindex="-1"> 8471 Stomas aprÅ«pes produkti </a> 8472 </li> 8473 </ul> 8474 </li> 8475 <li class="bnuSubMenu__banners bnuSubMenu__banners--2247"></li> 8476 <li class="bnuSubMenu__logos"> 8477 <div class="bnuSubMenu__logosItems"> 8478 <a class="bnuSubMenu__logo" href="zimoli/livsane" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8479 <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> 8480 <a class="bnuSubMenu__logo" href="zimoli/microlife" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8481 <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> 8482 <a class="bnuSubMenu__logo" href="zimoli/omron" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8483 <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> 8484 <a class="bnuSubMenu__logo" href="zimoli/durex" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8485 <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> 8486 <a class="bnuSubMenu__logo" href="zimoli/lauma" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8487 <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> 8488 <a class="bnuSubMenu__logo" href="zimoli/evolu" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8489 <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> 8490 </div> 8491 </li> 8492 </ul> 8493 8494 8495 </li> 8496 <li class="module-2118 lvl-2 menu_hasChilds" data-lvl="2" href="https://www.benu.lv/e-aptieka/pirma-palidziba"> 8497 <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> 8498 <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">
8499 <span class="screenReaderText"> 8500 Open PirmÄ palÄ«dzÄ«ba submenu 8501 </span> 8502 </button> 8503 8504 8505 <ul data-lvl="1" id="submenu-13" class="bnuProductNav__subMenu bnuSubMenu--hasLogos"> 8506 <li class="bnuSubMenu__columns"> 8507 <ul> 8508 <li> 8509 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/plaksteri" data-original-tabindex="" tabindex="-1"> 8510 PlÄksteri </a> 8511 </li> 8512 <li> 8513 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/brucu-aprupe-un-dezinfekcijas-lidzekli" data-original-tabindex="" tabindex="-1"> 8514 BrÅ«Äu aprÅ«pe un dezinfekcijas lÄ«dzekļi </a> 8515 </li> 8516 <li> 8517 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/karpas-un-varzacis" data-original-tabindex="" tabindex="-1"> 8518 KÄrpas un varžacis </a> 8519 </li> 8520 <li> 8521 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/pretinsektu-lidzekli" data-original-tabindex="" tabindex="-1"> 8522 Pretinsektu lÄ«dzekļi </a> 8523 </li> 8524 <li> 8525 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/antiparazitarie-lidzekli" data-original-tabindex="" tabindex="-1"> 8526 Utis, gnÄ«das </a> 8527 </li> 8528 <li> 8529 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/senisu-infekcija" data-original-tabindex="" tabindex="-1"> 8530 SÄnīšu infekcija </a> 8531 </li> 8532 <li> 8533 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/maskas" data-original-tabindex="" tabindex="-1"> 8534 Maskas </a> 8535 </li> 8536 <li> 8537 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/vate-marles-un-parseji" data-original-tabindex="" tabindex="-1"> 8538 Vate, marles un pÄrsÄji </a> 8539 </li> 8540 <li> 8541 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/virsmu-dezinfekcija" data-original-tabindex="" tabindex="-1"> 8542 Dezinfekcijas lÄ«dzekļi </a> 8543 </li> 8544 <li> 8545 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/zalu-kastites-un-tablesu-dalitaji" data-original-tabindex="" tabindex="-1"> 8546 ZÄļu kastÄ«tes un tableÅ¡u dalÄ«tÄji </a> 8547 </li> 8548 <li> 8549 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/cimdi" data-original-tabindex="" tabindex="-1"> 8550 Cimdi </a> 8551 </li> 8552 <li> 8553 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/sildosie-atvesinosie-geli-un-kompreses" data-original-tabindex="" tabindex="-1"> 8554 PirmÄs palÄ«dzÄ«bas ziedes, geli, spreji </a> 8555 </li> 8556 <li> 8557 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/koka-spateles-joda-kocini" data-original-tabindex="" tabindex="-1"> 8558 Koka Å¡pÄteles, joda kociÅi </a> 8559 </li> 8560 <li> 8561 <a href="https://www.benu.lv/e-aptieka/pirma-palidziba/klizmas-znaugi" data-original-tabindex="" tabindex="-1"> 8562 Klizmas, žÅaugi, vaskadrÄnas, ausu aizbÄžÅi </a> 8563 </li> 8564 </ul> 8565 </li> 8566 <li class="bnuSubMenu__banners bnuSubMenu__banners--2118"></li> 8567 <li class="bnuSubMenu__logos"> 8568 <div class="bnuSubMenu__logosItems"> 8569 <a class="bnuSubMenu__logo" href="zimoli/medrull" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8570 <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> 8571 <a class="bnuSubMenu__logo" href="zimoli/compeed" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8572 <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> 8573 <a class="bnuSubMenu__logo" href="zimoli/urgo" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8574 <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> 8575 <a class="bnuSubMenu__logo" href="zimoli/perskindol" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8576 <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> 8577 <a class="bnuSubMenu__logo" href="zimoli/tickless" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8578 <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> 8579 <a class="bnuSubMenu__logo" href="zimoli/larifan" aria-label="Dodieties uz zÄ«mola lapu" data-original-tabindex="" tabindex="-1"> 8580 <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> 8581 </div> 8582 </li> 8583 </ul> 8584 8585 8586 </li> 8587 <li class="module-13087 lvl-2 menu_noChilds" data-lvl="2" target="_self" href="https://www.benu.lv/zimoli"> 8588 <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">
8588Visi zīmoli</span></a> 8589 8590 8591 </li> 8592 </ul> 8593
8594<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 8595 $(document).ready(function() { 8596 drawBanner('navbanners'); 8597 }); 8598</script>
8598 </nav> 8599 <nav class="bnuMainNav" aria-label="Main navigation"> 8600 <ul class="simpleMenu--jic5" data-lvl="1"> 8601 <li class="module-13488 lvl-1 menu_noChilds"> 8602 <a href="https://www.benu.lv/pakalpojumi-filiales/merijumi-un-parbaudes" class="bnuMenuButton"><span class="bnuMenuButton__text">MÄrÄ«jumi</span></a> 8603 </li> 8604 <li class="module-16067 lvl-1 menu_noChilds"> 8605 <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> 8606 </li> 8607 <li class="module-12661 lvl-1 menu_noChilds"> 8608 <a href="https://www.benu.lv/pakalpojumi-filiales/zalu-piegade-majas" class="bnuMenuButton"><span class="bnuMenuButton__text">ZÄļu piegÄde</span></a> 8609 </li> 8610 <li class="module-11766 lvl-1 menu_noChilds"> 8611 <a href="https://www.benu.lv/benu-akademija" class="bnuMenuButton"><span class="bnuMenuButton__text">Blogs</span></a> 8612 </li> 8613 <li class="module-13352 lvl-1 menu_noChilds"> 8614 <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> 8615 </li> 8616 8617 <li> 8618 <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"> 8619 <li style="display: none;"> 8620 <a href="https://www.benu.lv/pakalpojumi-filiales/merijumi-un-parbaudes" class="module- bnuMenuButton bnuMenuButton--child"> 8621 <span>MÄrÄ«jumi</span> 8622 </a> 8623 </li> 8624 <li style="display: none;"> 8625 <a href="https://www.benu.lv/zalu-pieejamiba" class="module- bnuMenuButton bnuMenuButton--child"> 8626 <span>ZÄļu pieejamÄ«ba</span> 8627 </a> 8628 </li> 8629 <li style="display: none;"> 8630 <a href="https://www.benu.lv/pakalpojumi-filiales/zalu-piegade-majas" class="module- bnuMenuButton bnuMenuButton--child"> 8631 <span>ZÄļu piegÄde</span> 8632 </a> 8633 </li> 8634 <li style="display: none;"> 8635 <a href="https://www.benu.lv/benu-akademija" class="module- bnuMenuButton bnuMenuButton--child"> 8636 <span>Blogs</span> 8637 </a> 8638 </li> 8639 <li style="display: none;"> 8640 <a href="https://www.benu.lv/musu-aptiekas" class="module- bnuMenuButton bnuMenuButton--child"> 8641 <span>Aptiekas</span> 8642 </a> 8643 </li> 8644 </ul> 8645 </li> 8646 8647 <li class="benuPlus"> 8648 <a href="https://www.benu.lv/benu-karte" class="bnuMenuButton bnuMenuButton--accent"> 8649 <img width="30" height="20" src="application/images/benu-card.svg" alt="Benu Plus">
8650 <span>BENU karte</span> 8651 </a> 8652 </li> </ul> 8653 </nav> 8654 </div> 8655 8656 </header> <!-- view template: article new --> 8657 <main id="content" role="main" class="bnuMain"> 8658 <div class="bnuContainer bnuPageLayout"> 8659 8660 8661 <div class="bnuProductListing__sortDrawer"> 8662 <div class="bnuProductListing__sortDrawerHeader"> 8663 <span class="bnuProductListing__sortDrawerTitle">KÄrtot pÄc</span> 8664 <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuProductListing__sortDrawerClose bind-closeMobileWidget" aria-label="Close" type="button"><i class="fa-light fa-xmark" aria-hidden="true"></i></button> </div> 8665 <div class="bnuProductListing__sortDrawerBody"> 8666 <div class="cf pr_viewOptionWrap pr_viewOption-order"><div class="bnuProductFilters__content"><ul class="bnuProductFilters__sortChoices"><li class="bnuProductFilters__sortOption bind-selectSortOption" data-filtergroup="order" tabindex aria-label="PÄc noklusÄjuma" data-filtervalue="nboOrder_asc">PÄc noklusÄjuma</li><li class="bnuProductFilters__sortOption bind-selectSortOption" data-filtergroup="order" tabindex aria-label="Produkta nosaukums A-Z" data-filtervalue="name_asc">Produkta nosaukums A-Z</li><li class="bnuProductFilters__sortOption bind-selectSortOption" data-filtergroup="order" tabindex aria-label="Produkta nosaukums Z-A" data-filtervalue="name_desc">Produkta nosaukums Z-A</li><li class="bnuProductFilters__sortOption bind-selectSortOption" data-filtergroup="order" tabindex aria-label="Cena no mazÄkÄs uz lielÄko" data-filtervalue="price_asc">Cena no mazÄkÄs uz lielÄko</li><li class="bnuProductFilters__sortOption bind-selectSortOption" data-filtergroup="order" tabindex aria-label="Cena no lielÄkÄs uz mazÄko" data-filtervalue="price_desc">Cena no lielÄkÄs uz mazÄko</li><li class="bnuProductFilters__sortOption bind-selectSortOption active" data-filtergroup="order" tabindex aria-label="Atlaide %" data-filtervalue>Atlaide %</li><li class="bnuProductFilters__sortOption bind-selectSortOption" data-filtergroup="order" tabindex aria-label="PirktÄkie " data-filtervalue="purchasesCount_desc">PirktÄkie </li></ul></div></div> </div> 8667</div> 8668 8669<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><a href="https://www.benu.lv/zimoli">ZÄ«moli</a><i class="fa-regular fa-angle-right"></i></li><li>ORGANIC SHOP</li></ul></nav>
8669<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=">var breadCrumbs = [{"title":"SÄkums","url":"https://www.benu.lv/"},{"title":"ZÄ«moli","url":"https://www.benu.lv/zimoli"},{"title":"ORGANIC SHOP","url":"https://www.benu.lv/zimoli/organic-shop","active":true}];var countCrumbs = 3;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>
8669 8670 8671 8672 8673 8674 8675<div class="bnuProductListing"> 8676 <div class="bnuProductListing__sidebarCol bnuProductFiltersSidebar"> 8677 <div class="bnuProductFiltersSidebar__header"> 8678 <span class="bnuProductFiltersSidebar__title">FiltrÄt</span> 8679 8680 <span class="bind-clearAllFilters bnuProductFiltersSidebar__clear">NoÅemt filtrus</span> 8681 <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuProductFiltersSidebar__close bind-closeMobileSidebar" aria-label="Close" type="button"><i class="fa-regular fa-xmark" aria-hidden="true"></i></button> </div> 8682 <div class="bnuProductFilters__panel"> 8683 <form class="bnuForm bnuProductFilters bnuProductFilters__form" action="#" onsubmit="return false;"> 8684 8685 <div class="bnuProductFilters__groups"> 8686 <div class="bnuProductFilters__wrap"> 8687 <div class="bnuProductFilters__holder"> 8688 <div 8689 aria-label="Cena" 8690 role="complementary" 8691 class="bnuProductFilters__group bnuProductFilters__group--price bnuProductFilters__group--type-float" 8692 data-maxval="17" 8693> 8694 <div class="bnuAccordion bnuAccordion--chevron"> 8695 <details class="bnuAccordion__item bnuProductFilters__accordionItem" aria-label="Cena" open><summary class="bnuAccordion__summary"><span class="bnuAccordion__title">Cena</span><i class="bnuAccordion__chevron fa-regular fa-chevron-down" aria-hidden="true"></i></summary><div class="bnuAccordion__content"><div class="bnuProductFilters__content"><div class="bnuProductFilters__sliderWrap" data-min="0" data-max="17" data-default-from="0" data-default-to="17" data-filter-name="price"><input name="price" class="filterType-rangeSlider bnuProductFilters__rangeSliderInput bind-applyPriceRange" id="rangeSlider-price-dUN" value type="hidden"><div class="valuesWrap bnuProductFilters__priceInputs"><div class="bnuProductFilters__priceValues"><div class="bnuInputWrap bnuProductFilters__priceInput bnuProductFilters__priceInput--from"><input class="bnuInput rangeValue rangeValue-from" type="text" id="input-id-6ab516cf9950a" value="0" data-index="0" inputmode="numeric" pattern="[0-9]*" aria-label="Cena: no"><span class="bnuInputWrap__prepend" aria-hidden="true">€</span></div><span class="bnuProductFilters__priceSeparator" aria-hidden="true">lÄ«dz</span><div class="bnuInputWrap bnuProductFilters__priceInput bnuProductFilters__priceInput--to"><input class="bnuInput rangeValue rangeValue-to" type="text" id="input-id-6ab516cf99535" value="17" data-index="1" inputmode="numeric" pattern="[0-9]*" aria-label="Cena: lÄ«dz"><span class="bnuInputWrap__prepend" aria-hidden="true">€</span></div></div></div><div class="bnuProductFilters__range filterRange filterRange_rangeSlider-price-dUN" ></div></div></div></div></details> </div> 8696 </div> 8697 <div 8698 aria-label="Produkta veids" 8699 role="complementary" 8700 class="bnuProductFilters__group bnuProductFilters__group--productType bnuProductFilters__group--type-text" 8701> 8702 <div class="bnuAccordion bnuAccordion--chevron"> 8703 <details class="bnuAccordion__item bnuProductFilters__accordionItem" aria-label="Produkta veids" open><summary class="bnuAccordion__summary"><span class="bnuAccordion__title">Produkta veids</span><i class="bnuAccordion__chevron fa-regular fa-chevron-down" aria-hidden="true"></i></summary><div class="bnuAccordion__content"><ul class="bnuProductFilters__choices" name="productType"><li class=""> 8704 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-productType-KosmÄtika un higiÄnas preces"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="KosmÄtika un higiÄnas preces" id="filter-productType-KosmÄtika un higiÄnas preces" name="productType" aria-label="KosmÄtika un higiÄnas preces (30)"><span class="bnuChoiceWrap__labelText">KosmÄtika un higiÄnas preces (30)</span></label></div></li> 8705</ul></div></details> </div> 8706 </div> 8707 <div 8708 aria-label="Forma" 8709 role="complementary" 8710 class="bnuProductFilters__group bnuProductFilters__group--form bnuProductFilters__group--type-text" 8711> 8712 <div class="bnuAccordion bnuAccordion--chevron"> 8713 <details class="bnuAccordion__item bnuProductFilters__accordionItem" aria-label="Forma" open><summary class="bnuAccordion__summary"><span class="bnuAccordion__title">Forma</span><i class="bnuAccordion__chevron fa-regular fa-chevron-down" aria-hidden="true"></i></summary><div class="bnuAccordion__content"><ul class="bnuProductFilters__choices" name="form"><li class=""> 8714 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-form-KrÄms"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="KrÄms" id="filter-form-KrÄms" name="form" aria-label="KrÄms (6)"><span class="bnuChoiceWrap__labelText">KrÄms (6)</span></label></div></li> 8715<li class=""> 8716 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-form-Losjons"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="Losjons" id="filter-form-Losjons" name="form" aria-label="Losjons (3)"><span class="bnuChoiceWrap__labelText">Losjons (3)</span></label></div></li> 8717<li class=""> 8718 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-form-Maska"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="Maska" id="filter-form-Maska" name="form" aria-label="Maska (9)"><span class="bnuChoiceWrap__labelText">Maska (9)</span></label></div></li> 8719<li class=""> 8720 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-form-PlÄksteris"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="PlÄksteris" id="filter-form-PlÄksteris" name="form" aria-label="PlÄksteris (1)"><span class="bnuChoiceWrap__labelText">PlÄksteris (1)</span></label></div></li> 8721<li class=""> 8722 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-form-Skrubis"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="Skrubis" id="filter-form-Skrubis" name="form" aria-label="Skrubis (7)"><span class="bnuChoiceWrap__labelText">Skrubis (7)</span></label></div></li> 8723</ul></div></details> </div> 8724 </div> 8725 <div 8726 aria-label="Īpašības" 8727 role="complementary" 8728 class="bnuProductFilters__group bnuProductFilters__group--specialProperties bnuProductFilters__group--type-text" 8729> 8730 <div class="bnuAccordion bnuAccordion--chevron"> 8731 <details class="bnuAccordion__item bnuProductFilters__accordionItem" aria-label="Īpašības" open><summary class="bnuAccordion__summary"><span class="bnuAccordion__title">Īpašības</span><i class="bnuAccordion__chevron fa-regular fa-chevron-down" aria-hidden="true"></i></summary><div class="bnuAccordion__content"><ul class="bnuProductFilters__choices" name="specialProperties"><li class=""> 8732 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-specialProperties-Organic"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="Organic" id="filter-specialProperties-Organic" name="specialProperties" aria-label="Organic (1)"><span class="bnuChoiceWrap__labelText">Organic (1)</span></label></div></li> 8733<li class=""> 8734 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-specialProperties-VegÄniem"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="VegÄniem" id="filter-specialProperties-VegÄniem" name="specialProperties" aria-label="VegÄniem (24)"><span class="bnuChoiceWrap__labelText">VegÄniem (24)</span></label></div></li> 8735</ul></div></details> </div> 8736 </div> 8737 <div 8738 aria-label="Ädas tips" 8739 role="complementary" 8740 class="bnuProductFilters__group bnuProductFilters__group--skinCondition bnuProductFilters__group--type-text" 8741> 8742 <div class="bnuAccordion bnuAccordion--chevron"> 8743 <details class="bnuAccordion__item bnuProductFilters__accordionItem" aria-label="Ädas tips" open><summary class="bnuAccordion__summary"><span class="bnuAccordion__title">Ädas tips</span><i class="bnuAccordion__chevron fa-regular fa-chevron-down" aria-hidden="true"></i></summary><div class="bnuAccordion__content"><div class="bnuForm__row bnuProductFilters__search"><div class="bnuInputWrap bnuInputWrap--showPlaceholder"><input class="bnuInput bind-searchFacet" type="search" id="input-id-6ab516cf997e2" value="" placeholder="MeklÄt" aria-label="MeklÄt: skinCondition" data-filter="skinCondition"></div></div><ul class="bnuProductFilters__choices" name="skinCondition"><li class=""> 8744 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-skinCondition-KombinÄtai (jaukta) tipa Ädai"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="KombinÄtai (jaukta) tipa Ädai" id="filter-skinCondition-KombinÄtai (jaukta) tipa Ädai" name="skinCondition" aria-label="KombinÄtai (jaukta) tipa Ädai (3)"><span class="bnuChoiceWrap__labelText">KombinÄtai (jaukta) tipa Ädai (3)</span></label></div></li> 8745<li class=""> 8746 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-skinCondition-NobrieduÅ¡ai Ädai"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="NobrieduÅ¡ai Ädai" id="filter-skinCondition-NobrieduÅ¡ai Ädai" name="skinCondition" aria-label="NobrieduÅ¡ai Ädai (1)"><span class="bnuChoiceWrap__labelText">NobrieduÅ¡ai Ädai (1)</span></label></div></li> 8747<li class=""> 8748 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-skinCondition-NormÄlai Ädai"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="NormÄlai Ädai" id="filter-skinCondition-NormÄlai Ädai" name="skinCondition" aria-label="NormÄlai Ädai (2)"><span class="bnuChoiceWrap__labelText">NormÄlai Ädai (2)</span></label></div></li> 8749<li class=""> 8750 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-skinCondition-Sausai/ Ä»oti sausai Ädai"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="Sausai/ Ä»oti sausai Ädai" id="filter-skinCondition-Sausai/ Ä»oti sausai Ädai" name="skinCondition" aria-label="Sausai/ Ä»oti sausai Ädai (2)"><span class="bnuChoiceWrap__labelText">Sausai/ Ä»oti sausai Ädai (2)</span></label></div></li> 8751<li class=""> 8752 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-skinCondition-Taukainai Ä
8752dai"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="Taukainai Ädai" id="filter-skinCondition-Taukainai Ädai" name="skinCondition" aria-label="Taukainai Ädai (3)"><span class="bnuChoiceWrap__labelText">Taukainai Ädai (3)</span></label></div></li> 8753<li class="hiddenOption"> 8754 <div class="bnuChoiceWrap bnuProductFilters__choice"><label class="bnuChoiceWrap__label" for="filter-skinCondition-Visiem Ädas tipiem"><input type="checkbox" class="bnuChoice bnuProductFilters__checkbox bind-applyFilter" value="Visiem Ädas tipiem" id="filter-skinCondition-Visiem Ädas tipiem" name="skinCondition" aria-label="Visiem Ädas tipiem (26)"><span class="bnuChoiceWrap__labelText">Visiem Ädas tipiem (26)</span></label></div></li> 8755</ul><span tabindex="0" class="bnuProductFilters__more bind-showMoreFilters bnuButtonAsTextLink" role="button">VairÄk</span></div></details> </div> 8756 </div> 8757 <div 8758 aria-label="VÄrtÄjums" 8759 role="complementary" 8760 class="bnuProductFilters__group bnuProductFilters__group--starsRating bnuProductFilters__group--type-starsRating" 8761> 8762 <div class="bnuAccordion bnuAccordion--chevron"> 8763 <details class="bnuAccordion__item bnuProductFilters__accordionItem" aria-label="VÄrtÄjums" open><summary class="bnuAccordion__summary"><span class="bnuAccordion__title">VÄrtÄjums</span><i class="bnuAccordion__chevron fa-regular fa-chevron-down" aria-hidden="true"></i></summary><div class="bnuAccordion__content"><div class="bnuProductFilters__stars" name="starsRating"> 8764 <div class="bnuProductFilters__ratingOption bind-toggleFilterOption 1" data-filtergroup="rating" data-filtervalue="1" tabindex role="button" aria-label="1+"> 8765 <span class="bnuStars" aria-hidden="true"><i class="fa-solid fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span class="bnuProductFilters__ratingSuffix" aria-hidden="true">+</span> 8766 </div> 8767 <div class="bnuProductFilters__ratingOption bind-toggleFilterOption 2" data-filtergroup="rating" data-filtervalue="2" tabindex role="button" aria-label="2+"> 8768 <span class="bnuStars" aria-hidden="true"><i class="fa-solid fa-star-sharp"></i><i class="fa-solid fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span class="bnuProductFilters__ratingSuffix" aria-hidden="true">+</span> 8769 </div> 8770 <div class="bnuProductFilters__ratingOption bind-toggleFilterOption 3" data-filtergroup="rating" data-filtervalue="3" tabindex role="button" aria-label="3+"> 8771 <span class="bnuStars" aria-hidden="true"><i class="fa-solid fa-star-sharp"></i><i class="fa-solid fa-star-sharp"></i><i class="fa-solid fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span class="bnuProductFilters__ratingSuffix" aria-hidden="true">+</span> 8772 </div> 8773 <div class="bnuProductFilters__ratingOption bind-toggleFilterOption 4" data-filtergroup="rating" data-filtervalue="4" tabindex role="button" aria-label="4+"> 8774 <span class="bnuStars" aria-hidden="true"><i class="fa-solid fa-star-sharp"></i><i class="fa-solid fa-star-sharp"></i><i class="fa-solid fa-star-sharp"></i><i class="fa-solid fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span class="bnuProductFilters__ratingSuffix" aria-hidden="true">+</span> 8775 </div> 8776 </div> 8777</div></details> </div> 8778 </div> 8779 </div> 8780</div> 8781 8782<div class="bnuProductFilters__mobileResults"> 8783 <button type="button" class="bnuButton bnuButton--full bind-closeMobileSidebar bind-showResults bnuProductFilters__showResults"> 8784 ParÄdÄ«t rezultÄtus (<span class="bnuProductFilters__mobileResultsCount">30</span>) 8785 </button> 8786</div> 8787 </div> 8788 </form> 8789 </div> 8790</div> 8791 8792 <div class="bnuProductListing__contentCol" id="products"> 8793 <header class="bnuProductListing__pageHeader"><h1 class="bnuProductListing__pageTitle">ORGANIC SHOP</h1></header> 8794 8795 8796 <div class="pageBannerWrap productsTop bnuProductListing__banner bnuProductListing__banner--top"> 8797 </div> 8798 8799 8800 8801 8802 8803 8804 8805 8806 <div class="bnuProductListing__mobileBar"> 8807 <div class="bnuProductListing__mobileBarInner"> 8808 <div class="bnuProductListing__mobileBarSide bnuProductListing__mobileBarSide--start"> 8809 <button type="button" class="bnuProductListing__mobileBarButton bind-openSidebar">
8810 <span class="bnuProductListing__mobileBarButtonValue"> 8811 FiltrÄt <span class="bnuProductListing__mobileBarButtonCount">1</span> 8812 </span> 8813 </button> 8814 </div> 8815 <div class="bnuProductListing__mobileBarSide bnuProductListing__mobileBarSide--end"> 8816 <button type="button" class="bnuProductListing__mobileBarButton bind-openSorting"> 8817 <span class="bnuProductListing__mobileBarButtonLabel">KÄrtot pÄc</span> 8818 <span class="bnuProductListing__mobileBarButtonValue bnuProductListing__mobileBarButtonValue--sort"> 8819 Atlaide % </span> 8820 </button> 8821 </div> 8822 </div> 8823 </div> 8824 8825 <div class="bnuProductListing__toolbar"> 8826 <div class="bnuProductListing__toolbarStart"> 8827 <p class="bnuProductListing__resultsCount bnuProductListing__resultsCount--top"> 8828 <span class="bnuProductListing__resultsCountLabel"> 8829 Skats: </span> 8830 <span class="bnuProductListing__resultsCountRange">1 - 24</span> 8831 <span class="bnuProductListing__resultsCountLabel"> 8832 no </span> 8833 <span class="bnuProductListing__resultsCountTotal">30</span> 8834</p> 8835 </div> 8836 <div class="bnuProductListing__toolbarEnd"> 8837 8838 <div class="bnuProductListing__sorting"> 8839 <span class="bnuProductListing__viewOptionLabel"> 8840 Å Ä·irot: </span> 8841 <div class="cf pr_viewOptionWrap pr_viewOption-order"><div class="bnuProductFilters__content"><div class="bnuInputWrap bnuProductListing__viewOptionSelect"><select class="bnuInput bnuProductListing__viewOptionField bind-viewOptionField" id="pr-viewOption-order" name="order" aria-label="KÄrtot pÄc" data-default-value="discount_desc"><option value="nboOrder_asc">PÄc noklusÄjuma</option><option value="name_asc">Produkta nosaukums A-Z</option><option value="name_desc">Produkta nosaukums Z-A</option><option value="price_asc">Cena no mazÄkÄs uz lielÄko</option><option value="price_desc">Cena no lielÄkÄs uz mazÄko</option><option value="discount_desc" selected>Atlaide %</option><option value="purchasesCount_desc">PirktÄkie </option></select></div></div></div> </div> 8842 </div> 8843 </div> 8844 8845 8846 8847 <div class="bnuProductListing__products"> 8848 <div class="bnuProductListing__productsGrid"> 8849 <section class="bnuProducts productsList sortable" data-list="productsPage-15671"><article class="bnuProduct productItem productItem-v3 product--cached productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095073,"name":"ORGANIC SHOP Bellini, please! Watermelon&Peach \u0137erme\u0146a skrubis 250ml","price":"3.89","category":"\u0136erme\u0146a kop\u0161ana","brandText":"ORGANIC SHOP","item_list_name":"E.1.9 Bath"}"> 8850 <div class="bnuProduct__main"> 8851 8852 8853 <div class="bnuProduct__top"> 8854 <figure> 8855 <a href="https://www.benu.lv/p/organic-shop-bellini-please-watermelonpeach-kermena-skrubis-250ml"> 8856 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095073-organic-shop-bellini-please-watermelon-peach-kermena-skrubis-250ml-1-1788569800.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095073-organic-shop-bellini-please-watermelon-peach-kermena-skrubis-250ml-1-1788569800.jpg" alt="ORGANIC SHOP Bellini, please! Watermelon&Peach Ä·ermeÅa skrubis 250ml" ></picture> 8857 <div class="bnuProduct__badges bnuProduct__badges--tr"> 8858 8859 <div class="bnuProductBadge bnuProductBadge--round"><span>-35%</span></div> 8860 8861 8862 8863 8864 </div> 8865 8866 8867 </a> 8868 </figure> 8869 8870 <h2 class="productItem__title">
8871 <a href="https://www.benu.lv/p/organic-shop-bellini-please-watermelonpeach-kermena-skrubis-250ml" title="ORGANIC SHOP Bellini, please! Watermelon&Peach Ä·ermeÅa skrubis 250ml"> 8872 ORGANIC SHOP Bellini, please! Watermelon&Peach Ä·ermeÅa skrubis 250ml </a> 8873 </h2> 8874 8875 <p class="bnuProduct__rating"> 8876 <span class="bnuStars" aria-hidden="true"><i class="fa-solid fa-star-sharp"></i><i class="fa-solid fa-star-sharp"></i><i class="fa-solid fa-star-sharp"></i><i class="fa-solid fa-star-sharp"></i><i class="fa-solid fa-star-sharp"></i></span> <span>1 <span> Atsauksme(-s)</span></span> 8877 </p> 8878 </div> 8879 8880 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 8881 8882 8883 8884 <div class="bnuProduct__price"> 8885 <ins><span class="money_amount">3,89</span> <span class="money_currency">€</span></ins> 8886 <del><span class="money_amount">5,99</span> <span class="money_currency">€</span></del> 8887 </div> 8888 8889 8890 8891 8892 8893 <div class="bnuProduct__buttons"> 8894 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095073" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 8895 <div class="hidden productItemData_wrap-10095073"> 8896 <input type="hidden" name="productData_productID" value="10095073"> 8897 <input type="hidden" name="productData_qnt" value="1"> 8898 8899 </div> 8900 8901 <div class="bnuProduct__lowestPrice bnuProduct__lowestPrice--v2"> 8902 <p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--lowest">ZemÄkÄ cena 30 dienu laikÄ â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p><p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--starting">RegulÄrÄ cena â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p> </div> 8903 </div> 8904 </div> 8905 </article> 8906<article class="bnuProduct productItem productItem-v3 product--cached productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095068,"name":"ORGANIC SHOP Blackberry&Sugar \u0137erme\u0146a skrubis 250ml","price":"3.89","category":"\u0136erme\u0146a kop\u0161ana","brandText":"ORGANIC SHOP","item_list_name":"E.1.9 Bath"}"> 8907 <div class="bnuProduct__main"> 8908 8909 8910 <div class="bnuProduct__top"> 8911 <figure> 8912 <a href="https://www.benu.lv/p/organic-shop-blackberrysugar-kermena-skrubis-250ml"> 8913 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095068-organic-shop-blackberry-sugar-kermena-skrubis-250ml-1-1788224672.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095068-organic-shop-blackberry-sugar-kermena-skrubis-250ml-1-1788224672.jpg" alt="ORGANIC SHOP Blackberry&Sugar Ä·ermeÅa skrubis 250ml" ></picture> 8914 <div class="bnuProduct__badges bnuProduct__badges--tr"> 8915 8916 <div class="bnuProductBadge bnuProductBadge--round"><span>-35%</span></div> 8917 8918 8919 8920 8921 </div> 8922 8923 8924 </a> 8925 </figure> 8926 8927 <h2 class="productItem__title">
8928 <a href="https://www.benu.lv/p/organic-shop-blackberrysugar-kermena-skrubis-250ml" title="ORGANIC SHOP Blackberry&Sugar Ä·ermeÅa skrubis 250ml"> 8929 ORGANIC SHOP Blackberry&Sugar Ä·ermeÅa skrubis 250ml </a> 8930 </h2> 8931 8932 <p class="bnuProduct__rating"> 8933 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 8934 </p> 8935 </div> 8936 8937 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 8938 8939 8940 8941 <div class="bnuProduct__price"> 8942 <ins><span class="money_amount">3,89</span> <span class="money_currency">€</span></ins> 8943 <del><span class="money_amount">5,99</span> <span class="money_currency">€</span></del> 8944 </div> 8945 8946 8947 8948 8949 8950 <div class="bnuProduct__buttons"> 8951 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095068" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 8952 <div class="hidden productItemData_wrap-10095068"> 8953 <input type="hidden" name="productData_productID" value="10095068"> 8954 <input type="hidden" name="productData_qnt" value="1"> 8955 8956 </div> 8957 8958 <div class="bnuProduct__lowestPrice bnuProduct__lowestPrice--v2"> 8959 <p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--lowest">ZemÄkÄ cena 30 dienu laikÄ â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p><p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--starting">RegulÄrÄ cena â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p> </div> 8960 </div> 8961 </div> 8962 </article> 8963<article class="bnuProduct productItem productItem-v3 product--cached productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095069,"name":"ORGANIC SHOP Raspberry&Sugar \u0137erme\u0146a skrubis 250ml","price":"3.89","category":"\u0136erme\u0146a kop\u0161ana","brandText":"ORGANIC SHOP","item_list_name":"E.1.9 Bath"}"> 8964 <div class="bnuProduct__main"> 8965 8966 8967 <div class="bnuProduct__top"> 8968 <figure> 8969 <a href="https://www.benu.lv/p/organic-shop-raspberrysugar-kermena-skrubis-250ml"> 8970 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095069-organic-shop-raspberry-sugar-kermena-skrubis-250ml-1-1788570551.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095069-organic-shop-raspberry-sugar-kermena-skrubis-250ml-1-1788570551.jpg" alt="ORGANIC SHOP Raspberry&Sugar Ä·ermeÅa skrubis 250ml" ></picture> 8971 <div class="bnuProduct__badges bnuProduct__badges--tr"> 8972 8973 <div class="bnuProductBadge bnuProductBadge--round"><span>-35%</span></div> 8974 8975 8976 8977 8978 </div> 8979 8980 8981 </a> 8982 </figure> 8983 8984 <h2 class="productItem__title">
8985 <a href="https://www.benu.lv/p/organic-shop-raspberrysugar-kermena-skrubis-250ml" title="ORGANIC SHOP Raspberry&Sugar Ä·ermeÅa skrubis 250ml"> 8986 ORGANIC SHOP Raspberry&Sugar Ä·ermeÅa skrubis 250ml </a> 8987 </h2> 8988 8989 <p class="bnuProduct__rating"> 8990 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 8991 </p> 8992 </div> 8993 8994 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 8995 8996 8997 8998 <div class="bnuProduct__price"> 8999 <ins><span class="money_amount">3,89</span> <span class="money_currency">€</span></ins> 9000 <del><span class="money_amount">5,99</span> <span class="money_currency">€</span></del> 9001 </div> 9002 9003 9004 9005 9006 9007 <div class="bnuProduct__buttons"> 9008 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095069" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9009 <div class="hidden productItemData_wrap-10095069"> 9010 <input type="hidden" name="productData_productID" value="10095069"> 9011 <input type="hidden" name="productData_qnt" value="1"> 9012 9013 </div> 9014 9015 <div class="bnuProduct__lowestPrice bnuProduct__lowestPrice--v2"> 9016 <p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--lowest">ZemÄkÄ cena 30 dienu laikÄ â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p><p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--starting">RegulÄrÄ cena â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p> </div> 9017 </div> 9018 </div> 9019 </article> 9020<article class="bnuProduct productItem productItem-v3 product--cached productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095071,"name":"ORGANIC SHOP Cocoa&Sugar \u0137erme\u0146a skrubis 250ml","price":"3.89","category":"\u0136erme\u0146a kop\u0161ana","brandText":"ORGANIC SHOP","item_list_name":"E.1.9 Bath"}"> 9021 <div class="bnuProduct__main"> 9022 9023 9024 <div class="bnuProduct__top"> 9025 <figure> 9026 <a href="https://www.benu.lv/p/organic-shop-cocoasugar-kermena-skrubis-250ml"> 9027 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095071-organic-shop-cocoa-sugar-kermena-skrubis-250ml-1-1788570778.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095071-organic-shop-cocoa-sugar-kermena-skrubis-250ml-1-1788570778.jpg" alt="ORGANIC SHOP Cocoa&Sugar Ä·ermeÅa skrubis 250ml" ></picture> 9028 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9029 9030 <div class="bnuProductBadge bnuProductBadge--round"><span>-35%</span></div> 9031 9032 9033 9034 9035 </div> 9036 9037 9038 </a> 9039 </figure> 9040 9041 <h2 class="productItem__title">
9042 <a href="https://www.benu.lv/p/organic-shop-cocoasugar-kermena-skrubis-250ml" title="ORGANIC SHOP Cocoa&Sugar Ä·ermeÅa skrubis 250ml"> 9043 ORGANIC SHOP Cocoa&Sugar Ä·ermeÅa skrubis 250ml </a> 9044 </h2> 9045 9046 <p class="bnuProduct__rating"> 9047 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9048 </p> 9049 </div> 9050 9051 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9052 9053 9054 9055 <div class="bnuProduct__price"> 9056 <ins><span class="money_amount">3,89</span> <span class="money_currency">€</span></ins> 9057 <del><span class="money_amount">5,99</span> <span class="money_currency">€</span></del> 9058 </div> 9059 9060 9061 9062 9063 9064 <div class="bnuProduct__buttons"> 9065 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095071" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9066 <div class="hidden productItemData_wrap-10095071"> 9067 <input type="hidden" name="productData_productID" value="10095071"> 9068 <input type="hidden" name="productData_qnt" value="1"> 9069 9070 </div> 9071 9072 <div class="bnuProduct__lowestPrice bnuProduct__lowestPrice--v2"> 9073 <p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--lowest">ZemÄkÄ cena 30 dienu laikÄ â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p><p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--starting">RegulÄrÄ cena â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p> </div> 9074 </div> 9075 </div> 9076 </article> 9077<article class="bnuProduct productItem productItem-v3 product--cached productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095076,"name":"ORGANIC SHOP Lemon Macaron \u0137erme\u0146a kr\u0113ms-sufl\u0113 250ml","price":"3.89","category":"\u0136erme\u0146a kop\u0161ana","brandText":"ORGANIC SHOP","item_list_name":"E.1.1 Body"}"> 9078 <div class="bnuProduct__main"> 9079 9080 9081 <div class="bnuProduct__top"> 9082 <figure> 9083 <a href="https://www.benu.lv/p/organic-shop-lemon-macaron-kermena-krems-sufle-250ml"> 9084 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095076-organic-shop-lemon-macaron-kermena-krems-sufle-250ml-1-1788224671.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095076-organic-shop-lemon-macaron-kermena-krems-sufle-250ml-1-1788224671.jpg" alt="ORGANIC SHOP Lemon Macaron Ä·ermeÅa krÄms-suflÄ 250ml" ></picture> 9085 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9086 9087 <div class="bnuProductBadge bnuProductBadge--round"><span>-35%</span></div> 9088 9089 9090 9091 9092 </div> 9093 9094 9095 </a> 9096 </figure> 9097 9098 <h2 class="productItem__title">
9099 <a href="https://www.benu.lv/p/organic-shop-lemon-macaron-kermena-krems-sufle-250ml" title="ORGANIC SHOP Lemon Macaron Ä·ermeÅa krÄms-suflÄ 250ml"> 9100 ORGANIC SHOP Lemon Macaron Ä·ermeÅa krÄms-suflÄ 250ml </a> 9101 </h2> 9102 9103 <p class="bnuProduct__rating"> 9104 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9105 </p> 9106 </div> 9107 9108 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9109 9110 9111 9112 <div class="bnuProduct__price"> 9113 <ins><span class="money_amount">3,89</span> <span class="money_currency">€</span></ins> 9114 <del><span class="money_amount">5,99</span> <span class="money_currency">€</span></del> 9115 </div> 9116 9117 9118 9119 9120 9121 <div class="bnuProduct__buttons"> 9122 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095076" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9123 <div class="hidden productItemData_wrap-10095076"> 9124 <input type="hidden" name="productData_productID" value="10095076"> 9125 <input type="hidden" name="productData_qnt" value="1"> 9126 9127 </div> 9128 9129 <div class="bnuProduct__lowestPrice bnuProduct__lowestPrice--v2"> 9130 <p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--lowest">ZemÄkÄ cena 30 dienu laikÄ â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p><p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--starting">RegulÄrÄ cena â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p> </div> 9131 </div> 9132 </div> 9133 </article> 9134<article class="bnuProduct productItem productItem-v3 product--cached productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095074,"name":"ORGANIC SHOP Tropical Marmalade pretcelul\u012bta \u0137erme\u0146a skrubis 450ml","price":"10.39","category":"\u0136erme\u0146a kop\u0161ana","brandText":"ORGANIC SHOP","item_list_name":"E.1.1 Body"}"> 9135 <div class="bnuProduct__main"> 9136 9137 9138 <div class="bnuProduct__top"> 9139 <figure> 9140 <a href="https://www.benu.lv/p/organic-shop-tropical-marmalade-pretcelulita-kermena-skrubis-450ml"> 9141 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095074-organic-shop-tropical-marmalade-pretcelulita-kermena-skrubis-450ml-1-1788570048.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095074-organic-shop-tropical-marmalade-pretcelulita-kermena-skrubis-450ml-1-1788570048.jpg" alt="ORGANIC SHOP Tropical Marmalade pretcelulÄ«ta Ä·ermeÅa skrubis 450ml" ></picture> 9142 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9143 9144 <div class="bnuProductBadge bnuProductBadge--round"><span>-35%</span></div> 9145 9146 9147 9148 9149 </div> 9150 9151 9152 </a> 9153 </figure> 9154 9155 <h2 class="productItem__title">
9156 <a href="https://www.benu.lv/p/organic-shop-tropical-marmalade-pretcelulita-kermena-skrubis-450ml" title="ORGANIC SHOP Tropical Marmalade pretcelulÄ«ta Ä·ermeÅa skrubis 450ml"> 9157 ORGANIC SHOP Tropical Marmalade pretcelulÄ«ta Ä·ermeÅa skrubis 450ml </a> 9158 </h2> 9159 9160 <p class="bnuProduct__rating"> 9161 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9162 </p> 9163 </div> 9164 9165 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9166 9167 9168 9169 <div class="bnuProduct__price"> 9170 <ins><span class="money_amount">10,39</span> <span class="money_currency">€</span></ins> 9171 <del><span class="money_amount">15,99</span> <span class="money_currency">€</span></del> 9172 </div> 9173 9174 9175 9176 9177 9178 <div class="bnuProduct__buttons"> 9179 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095074" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9180 <div class="hidden productItemData_wrap-10095074"> 9181 <input type="hidden" name="productData_productID" value="10095074"> 9182 <input type="hidden" name="productData_qnt" value="1"> 9183 9184 </div> 9185 9186 <div class="bnuProduct__lowestPrice bnuProduct__lowestPrice--v2"> 9187 <p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--lowest">ZemÄkÄ cena 30 dienu laikÄ â <strong><span class="money_amount">15,99</span> <span class="money_currency">€</span></strong> (-35%)</p><p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--starting">RegulÄrÄ cena â <strong><span class="money_amount">15,99</span> <span class="money_currency">€</span></strong> (-35%)</p> </div> 9188 </div> 9189 </div> 9190 </article> 9191<article class="bnuProduct productItem productItem-v3 product--cached productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095075,"name":"ORGANIC SHOP Lotus&5 Oils \u0137erme\u0146a kr\u0113ms 250ml","price":"3.89","category":"Kr\u0113mi un losjoni","brandText":"ORGANIC SHOP","item_list_name":"E.1.1 Body"}"> 9192 <div class="bnuProduct__main"> 9193 9194 9195 <div class="bnuProduct__top"> 9196 <figure> 9197 <a href="https://www.benu.lv/p/organic-shop-lotus5-oils-kermena-krems-250ml"> 9198 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095075-organic-shop-lotus-5-oils-kermena-krems-250ml-1-1788567905.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095075-organic-shop-lotus-5-oils-kermena-krems-250ml-1-1788567905.jpg" alt="ORGANIC SHOP Lotus&5 Oils Ä·ermeÅa krÄms 250ml" ></picture> 9199 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9200 9201 <div class="bnuProductBadge bnuProductBadge--round"><span>-35%</span></div> 9202 9203 9204 9205 9206 </div> 9207 9208 9209 </a> 9210 </figure> 9211 9212 <h2 class="productItem__title">
9213 <a href="https://www.benu.lv/p/organic-shop-lotus5-oils-kermena-krems-250ml" title="ORGANIC SHOP Lotus&5 Oils Ä·ermeÅa krÄms 250ml"> 9214 ORGANIC SHOP Lotus&5 Oils Ä·ermeÅa krÄms 250ml </a> 9215 </h2> 9216 9217 <p class="bnuProduct__rating"> 9218 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9219 </p> 9220 </div> 9221 9222 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9223 9224 9225 9226 <div class="bnuProduct__price"> 9227 <ins><span class="money_amount">3,89</span> <span class="money_currency">€</span></ins> 9228 <del><span class="money_amount">5,99</span> <span class="money_currency">€</span></del> 9229 </div> 9230 9231 9232 9233 9234 9235 <div class="bnuProduct__buttons"> 9236 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095075" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9237 <div class="hidden productItemData_wrap-10095075"> 9238 <input type="hidden" name="productData_productID" value="10095075"> 9239 <input type="hidden" name="productData_qnt" value="1"> 9240 9241 </div> 9242 9243 <div class="bnuProduct__lowestPrice bnuProduct__lowestPrice--v2"> 9244 <p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--lowest">ZemÄkÄ cena 30 dienu laikÄ â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p><p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--starting">RegulÄrÄ cena â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p> </div> 9245 </div> 9246 </div> 9247 </article> 9248<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095070,"name":"ORGANIC SHOP Papaya&Sugar \u0137erme\u0146a skrubis 250ml","price":"3.89","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.9 Bath"}"> 9249 <div class="bnuProduct__main"> 9250 9251 9252 <div class="bnuProduct__top"> 9253 <figure> 9254 <a href="https://www.benu.lv/p/organic-shop-papayasugar-kermena-skrubis-250ml"> 9255 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095070-organic-shop-papaya-sugar-kermena-skrubis-250ml-1-1788225438.jpg"><img decoding="async" fetchpriority="high" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095070-organic-shop-papaya-sugar-kermena-skrubis-250ml-1-1788225438.jpg" alt="ORGANIC SHOP Papaya&Sugar Ä·ermeÅa skrubis 250ml" ></picture> 9256 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9257 9258 <div class="bnuProductBadge bnuProductBadge--round"><span>-35%</span></div> 9259 9260 9261 9262 9263 </div> 9264 9265 9266 </a> 9267 </figure> 9268 9269 <h2 class="productItem__title">
9270 <a href="https://www.benu.lv/p/organic-shop-papayasugar-kermena-skrubis-250ml" title="ORGANIC SHOP Papaya&Sugar Ä·ermeÅa skrubis 250ml"> 9271 ORGANIC SHOP Papaya&Sugar Ä·ermeÅa skrubis 250ml </a> 9272 </h2> 9273 9274 <p class="bnuProduct__rating"> 9275 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9276 </p> 9277 </div> 9278 9279 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9280 9281 9282 9283 <div class="bnuProduct__price"> 9284 <ins><span class="money_amount">3,89</span> <span class="money_currency">€</span></ins> 9285 <del><span class="money_amount">5,99</span> <span class="money_currency">€</span></del> 9286 </div> 9287 9288 9289 9290 9291 9292 <div class="bnuProduct__buttons"> 9293 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095070" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9294 <div class="hidden productItemData_wrap-10095070"> 9295 <input type="hidden" name="productData_productID" value="10095070"> 9296 <input type="hidden" name="productData_qnt" value="1"> 9297 9298 </div> 9299 9300 <div class="bnuProduct__lowestPrice bnuProduct__lowestPrice--v2"> 9301 <p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--lowest">ZemÄkÄ cena 30 dienu laikÄ â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p><p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--starting">RegulÄrÄ cena â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p> </div> 9302 </div> 9303 </div> 9304 </article> 9305<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095072,"name":"ORGANIC SHOP Mango&Sugar \u0137erme\u0146a skrubis 250ml","price":"3.89","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.9 Bath"}"> 9306 <div class="bnuProduct__main"> 9307 9308 9309 <div class="bnuProduct__top"> 9310 <figure> 9311 <a href="https://www.benu.lv/p/organic-shop-mangosugar-kermena-skrubis-250ml"> 9312 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095072-organic-shop-mango-sugar-kermena-skrubis-250ml-1-1788570047.jpg"><img decoding="async" fetchpriority="high" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095072-organic-shop-mango-sugar-kermena-skrubis-250ml-1-1788570047.jpg" alt="ORGANIC SHOP Mango&Sugar Ä·ermeÅa skrubis 250ml" ></picture> 9313 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9314 9315 <div class="bnuProductBadge bnuProductBadge--round"><span>-35%</span></div> 9316 9317 9318 9319 9320 </div> 9321 9322 9323 </a> 9324 </figure> 9325 9326 <h2 class="productItem__title">
9327 <a href="https://www.benu.lv/p/organic-shop-mangosugar-kermena-skrubis-250ml" title="ORGANIC SHOP Mango&Sugar Ä·ermeÅa skrubis 250ml"> 9328 ORGANIC SHOP Mango&Sugar Ä·ermeÅa skrubis 250ml </a> 9329 </h2> 9330 9331 <p class="bnuProduct__rating"> 9332 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9333 </p> 9334 </div> 9335 9336 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9337 9338 9339 9340 <div class="bnuProduct__price"> 9341 <ins><span class="money_amount">3,89</span> <span class="money_currency">€</span></ins> 9342 <del><span class="money_amount">5,99</span> <span class="money_currency">€</span></del> 9343 </div> 9344 9345 9346 9347 9348 9349 <div class="bnuProduct__buttons"> 9350 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095072" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9351 <div class="hidden productItemData_wrap-10095072"> 9352 <input type="hidden" name="productData_productID" value="10095072"> 9353 <input type="hidden" name="productData_qnt" value="1"> 9354 9355 </div> 9356 9357 <div class="bnuProduct__lowestPrice bnuProduct__lowestPrice--v2"> 9358 <p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--lowest">ZemÄkÄ cena 30 dienu laikÄ â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p><p class="bnuProduct__priceInfoSoft bnuProduct__priceInfoSoft--starting">RegulÄrÄ cena â <strong><span class="money_amount">5,99</span> <span class="money_currency">€</span></strong> (-35%)</p> </div> 9359 </div> 9360 </div> 9361 </article> 9362<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10096820,"name":"ORGANIC SHOP Avocado m\u0101la sejas maska 100ml","price":"3.99","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.2 Face Cleaning"}"> 9363 <div class="bnuProduct__main"> 9364 9365 9366 <div class="bnuProduct__top"> 9367 <figure> 9368 <a href="https://www.benu.lv/p/organic-shop-avocado-mala-sejas-maska-100ml"> 9369 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10096820-organic-shop-avocado-mala-sejas-maska-100ml-1-1788569801.jpg"><img decoding="async" fetchpriority="high" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10096820-organic-shop-avocado-mala-sejas-maska-100ml-1-1788569801.jpg" alt="ORGANIC SHOP Avocado mÄla sejas maska 100ml" ></picture> 9370 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9371 9372 9373 9374 9375 9376 </div> 9377 9378 9379 <div aria-hidden="true" class="bnuProduct__badges bnuProduct__badges--bl" role="list">
9380 <span class="bnuProductBadge bnuProductBadge--green">Jaunums</span> </div> 9381 </a> 9382 </figure> 9383 9384 <h2 class="productItem__title"> 9385 <a href="https://www.benu.lv/p/organic-shop-avocado-mala-sejas-maska-100ml" title="ORGANIC SHOP Avocado mÄla sejas maska 100ml"> 9386 ORGANIC SHOP Avocado mÄla sejas maska 100ml </a> 9387 </h2> 9388 9389 <p class="bnuProduct__rating"> 9390 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9391 </p> 9392 </div> 9393 9394 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9395 9396 <div class="bnuProduct__price"> 9397 <span class="money_amount">3,99</span> <span class="money_currency">€</span> </div> 9398 9399 9400 9401 9402 9403 9404 9405 <div class="bnuProduct__buttons"> 9406 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10096820" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9407 <div class="hidden productItemData_wrap-10096820"> 9408 <input type="hidden" name="productData_productID" value="10096820"> 9409 <input type="hidden" name="productData_qnt" value="1"> 9410 9411 </div> 9412 9413 </div> 9414 </div> 9415 </article> 9416<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095078,"name":"ORGANIC SHOP Aloe&Hyaluronic Acid hialurona auduma maska N1","price":"2.79","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.2 Face Cleaning"}"> 9417 <div class="bnuProduct__main"> 9418 9419 9420 <div class="bnuProduct__top"> 9421 <figure> 9422 <a href="https://www.benu.lv/p/organic-shop-aloehyaluronic-acid-hialurona-auduma-maska-n1"> 9423 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095078-organic-shop-aloe-hyaluronic-acid-hialurona-auduma-maska-n1-1-1788570324.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095078-organic-shop-aloe-hyaluronic-acid-hialurona-auduma-maska-n1-1-1788570324.jpg" alt="ORGANIC SHOP Aloe&Hyaluronic Acid hialurona auduma maska N1" ></picture> 9424 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9425 9426 9427 9428 9429 9430 </div> 9431 9432 9433 </a> 9434 </figure> 9435 9436 <h2 class="productItem__title"> 9437 <a href="https://www.benu.lv/p/organic-shop-aloehyaluronic-acid-hialurona-auduma-maska-n1" title="ORGANIC SHOP Aloe&Hyaluronic Acid hialurona auduma maska N1"> 9438 ORGANIC SHOP Aloe&Hyaluronic Acid hialurona auduma maska N1 </a> 9439 </h2> 9440 9441 <p class="bnuProduct__rating">
9442 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9443 </p> 9444 </div> 9445 9446 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9447 9448 <div class="bnuProduct__price"> 9449 <span class="money_amount">2,79</span> <span class="money_currency">€</span> </div> 9450 9451 9452 9453 9454 9455 9456 9457 <div class="bnuProduct__buttons"> 9458 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095078" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9459 <div class="hidden productItemData_wrap-10095078"> 9460 <input type="hidden" name="productData_productID" value="10095078"> 9461 <input type="hidden" name="productData_qnt" value="1"> 9462 9463 </div> 9464 9465 </div> 9466 </div> 9467 </article> 9468<article class="bnuProduct productItem productItem-v3 product--cached productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10096818,"name":"ORGANIC SHOP Blue Marine m\u0101la sejas maska 100ml","price":"3.99","category":"Sejas kop\u0161anas maskas","brandText":"ORGANIC SHOP","item_list_name":"E.1.2 Face Cleaning"}"> 9469 <div class="bnuProduct__main"> 9470 9471 9472 <div class="bnuProduct__top"> 9473 <figure> 9474 <a href="https://www.benu.lv/p/organic-shop-blue-marine-mala-sejas-maska-100ml"> 9475 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10096818-organic-shop-blue-marine-mala-sejas-maska-100ml-1-1788568705.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10096818-organic-shop-blue-marine-mala-sejas-maska-100ml-1-1788568705.jpg" alt="ORGANIC SHOP Blue Marine mÄla sejas maska 100ml" ></picture> 9476 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9477 9478 9479 9480 9481 9482 </div> 9483 9484 9485 <div aria-hidden="true" class="bnuProduct__badges bnuProduct__badges--bl" role="list"> 9486 <span class="bnuProductBadge bnuProductBadge--green">Jaunums</span> </div> 9487 </a> 9488 </figure> 9489 9490 <h2 class="productItem__title"> 9491 <a href="https://www.benu.lv/p/organic-shop-blue-marine-mala-sejas-maska-100ml" title="ORGANIC SHOP Blue Marine mÄla sejas maska 100ml"> 9492 ORGANIC SHOP Blue Marine mÄla sejas maska 100ml </a> 9493 </h2> 9494 9495 <p class="bnuProduct__rating"> 9496 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span>
9496 <span>0 <span> Atsauksme(-s)</span></span> 9497 </p> 9498 </div> 9499 9500 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9501 9502 <div class="bnuProduct__price"> 9503 <span class="money_amount">3,99</span> <span class="money_currency">€</span> </div> 9504 9505 9506 9507 9508 9509 9510 9511 <div class="bnuProduct__buttons"> 9512 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10096818" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9513 <div class="hidden productItemData_wrap-10096818"> 9514 <input type="hidden" name="productData_productID" value="10096818"> 9515 <input type="hidden" name="productData_qnt" value="1"> 9516 9517 </div> 9518 9519 </div> 9520 </div> 9521 </article> 9522<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10096816,"name":"ORGANIC SHOP Dragon Fruit sejas gom\u0101\u017ea 100ml","price":"3.99","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.2 Face Cleaning"}"> 9523 <div class="bnuProduct__main"> 9524 9525 9526 <div class="bnuProduct__top"> 9527 <figure> 9528 <a href="https://www.benu.lv/p/organic-shop-dragon-fruit-sejas-gomaza-100ml"> 9529 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10096816-organic-shop-dragon-fruit-sejas-gomaza-100ml-1-1788225438.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10096816-organic-shop-dragon-fruit-sejas-gomaza-100ml-1-1788225438.jpg" alt="ORGANIC SHOP Dragon Fruit sejas gomÄža 100ml" ></picture> 9530 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9531 9532 9533 9534 9535 9536 </div> 9537 9538 9539 <div aria-hidden="true" class="bnuProduct__badges bnuProduct__badges--bl" role="list"> 9540 <span class="bnuProductBadge bnuProductBadge--green">Jaunums</span> </div> 9541 </a> 9542 </figure> 9543 9544 <h2 class="productItem__title"> 9545 <a href="https://www.benu.lv/p/organic-shop-dragon-fruit-sejas-gomaza-100ml" title="ORGANIC SHOP Dragon Fruit sejas gomÄža 100ml"> 9546 ORGANIC SHOP Dragon Fruit sejas gomÄža 100ml </a> 9547 </h2> 9548 9549 <p class="bnuProduct__rating"> 9550 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9551 </p> 9552 </div> 9553 9554 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9555 9556 <div class="bnuProduct__price"> 9557 <sp
9557an class="money_amount">3,99</span> <span class="money_currency">€</span> </div> 9558 9559 9560 9561 9562 9563 9564 9565 <div class="bnuProduct__buttons"> 9566 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10096816" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9567 <div class="hidden productItemData_wrap-10096816"> 9568 <input type="hidden" name="productData_productID" value="10096816"> 9569 <input type="hidden" name="productData_qnt" value="1"> 9570 9571 </div> 9572 9573 </div> 9574 </div> 9575 </article> 9576<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095080,"name":"ORGANIC SHOP Grape&Plant Collagen kolag\u0113na auduma maska N1","price":"2.79","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.2 Face Cleaning"}"> 9577 <div class="bnuProduct__main"> 9578 9579 9580 <div class="bnuProduct__top"> 9581 <figure> 9582 <a href="https://www.benu.lv/p/organic-shop-grapeplant-collagen-kolagena-auduma-maska-n1"> 9583 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095080-organic-shop-grape-plant-collagen-kolagena-auduma-maska-n1-1-1788224910.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095080-organic-shop-grape-plant-collagen-kolagena-auduma-maska-n1-1-1788224910.jpg" alt="ORGANIC SHOP Grape&Plant Collagen kolagÄna auduma maska N1" ></picture> 9584 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9585 9586 9587 9588 9589 9590 </div> 9591 9592 9593 </a> 9594 </figure> 9595 9596 <h2 class="productItem__title"> 9597 <a href="https://www.benu.lv/p/organic-shop-grapeplant-collagen-kolagena-auduma-maska-n1" title="ORGANIC SHOP Grape&Plant Collagen kolagÄna auduma maska N1"> 9598 ORGANIC SHOP Grape&Plant Collagen kolagÄna auduma maska N1 </a> 9599 </h2> 9600 9601 <p class="bnuProduct__rating"> 9602 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9603 </p> 9604 </div> 9605 9606 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9607 9608 <div class="bnuProduct__price"> 9609 <span class="money_amount">2,79</span> <span class="money_currency">€</span> </div> 9610 9611 9612 9613 9614 9615 9616 9617 <div class="bnuProduct__buttons"> 9618 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095080" data-callback="" type="button"><span>
9618Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9619 <div class="hidden productItemData_wrap-10095080"> 9620 <input type="hidden" name="productData_productID" value="10095080"> 9621 <input type="hidden" name="productData_qnt" value="1"> 9622 9623 </div> 9624 9625 </div> 9626 </div> 9627 </article> 9628<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095079,"name":"ORGANIC SHOP Guava&Papaya C vitam\u012bna auduma maska N1","price":"2.79","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.2 Face Cleaning"}"> 9629 <div class="bnuProduct__main"> 9630 9631 9632 <div class="bnuProduct__top"> 9633 <figure> 9634 <a href="https://www.benu.lv/p/organic-shop-guavapapaya-c-vitamina-auduma-maska-n1"> 9635 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095079-organic-shop-guava-papaya-c-vitamina-auduma-maska-n1-1-1788570048.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095079-organic-shop-guava-papaya-c-vitamina-auduma-maska-n1-1-1788570048.jpg" alt="ORGANIC SHOP Guava&Papaya C vitamÄ«na auduma maska N1" ></picture> 9636 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9637 9638 9639 9640 9641 9642 </div> 9643 9644 9645 </a> 9646 </figure> 9647 9648 <h2 class="productItem__title"> 9649 <a href="https://www.benu.lv/p/organic-shop-guavapapaya-c-vitamina-auduma-maska-n1" title="ORGANIC SHOP Guava&Papaya C vitamÄ«na auduma maska N1"> 9650 ORGANIC SHOP Guava&Papaya C vitamÄ«na auduma maska N1 </a> 9651 </h2> 9652 9653 <p class="bnuProduct__rating"> 9654 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9655 </p> 9656 </div> 9657 9658 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9659 9660 <div class="bnuProduct__price"> 9661 <span class="money_amount">2,79</span> <span class="money_currency">€</span> </div> 9662 9663 9664 9665 9666 9667 9668 9669 <div class="bnuProduct__buttons"> 9670 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095079" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9671 <div class="hidden productItemData_wrap-10095079"> 9672 <input type="hidden" name="productData_productID" value="10095079"> 9673 <input type="hidden" name="productData_qnt" value="1"> 9674 9675 </div> 9676 9677 </div> 9678 </div> 9679 </article> 9680<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095081,"name":"ORGANIC SHOP Hydrating acu spilventi\u0146i N60","price":"16.99","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.3 Face Creams"}"> 9681 <div class="bnuProduct__main"> 9682 9683 9684 <div class="bnuProduct__top"> 9685 <figure>
9686 <a href="https://www.benu.lv/p/organic-shop-hydrating-acu-spilventini-n60"> 9687 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095081-organic-shop-hydrating-acu-spilventini-n60-1-1788569800.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095081-organic-shop-hydrating-acu-spilventini-n60-1-1788569800.jpg" alt="ORGANIC SHOP Hydrating acu spilventiÅi N60" ></picture> 9688 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9689 9690 9691 9692 9693 9694 </div> 9695 9696 9697 </a> 9698 </figure> 9699 9700 <h2 class="productItem__title"> 9701 <a href="https://www.benu.lv/p/organic-shop-hydrating-acu-spilventini-n60" title="ORGANIC SHOP Hydrating acu spilventiÅi N60"> 9702 ORGANIC SHOP Hydrating acu spilventiÅi N60 </a> 9703 </h2> 9704 9705 <p class="bnuProduct__rating"> 9706 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9707 </p> 9708 </div> 9709 9710 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9711 9712 <div class="bnuProduct__price"> 9713 <span class="money_amount">16,99</span> <span class="money_currency">€</span> </div> 9714 9715 9716 9717 9718 9719 9720 9721 <div class="bnuProduct__buttons"> 9722 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095081" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9723 <div class="hidden productItemData_wrap-10095081"> 9724 <input type="hidden" name="productData_productID" value="10095081"> 9725 <input type="hidden" name="productData_qnt" value="1"> 9726 9727 </div> 9728 9729 </div> 9730 </div> 9731 </article> 9732<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095986,"name":"ORGANIC SHOP mitrino\u0161s un nomierino\u0161s \u0137erme\u0146a losjons p\u0113c sau\u013co\u0161an\u0101s 150ml","price":"10.69","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.8 Sun"}"> 9733 <div class="bnuProduct__main"> 9734 9735 9736 <div class="bnuProduct__top"> 9737 <figure> 9738 <a href="https://www.benu.lv/p/organic-shop-mitrinoss-un-nomierinoss-kermena-losjons-pec-saulosanas-150ml"> 9739 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095986-organic-shop-mitrinoss-un-nomierinoss-kermena-losjons-pec-saulosanas-150ml-1-1788569494.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095986-organic-s
9739hop-mitrinoss-un-nomierinoss-kermena-losjons-pec-saulosanas-150ml-1-1788569494.jpg" alt="ORGANIC SHOP mitrinoÅ¡s un nomierinoÅ¡s Ä·ermeÅa losjons pÄc sauļoÅ¡anÄs 150ml" ></picture> 9740 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9741 9742 9743 9744 9745 9746 </div> 9747 9748 9749 </a> 9750 </figure> 9751 9752 <h2 class="productItem__title"> 9753 <a href="https://www.benu.lv/p/organic-shop-mitrinoss-un-nomierinoss-kermena-losjons-pec-saulosanas-150ml" title="ORGANIC SHOP mitrinoÅ¡s un nomierinoÅ¡s Ä·ermeÅa losjons pÄc sauļoÅ¡anÄs 150ml"> 9754 ORGANIC SHOP mitrinoÅ¡s un nomierinoÅ¡s Ä·ermeÅa losjons pÄc sauļoÅ¡anÄs 150ml </a> 9755 </h2> 9756 9757 <p class="bnuProduct__rating"> 9758 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9759 </p> 9760 </div> 9761 9762 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9763 9764 <div class="bnuProduct__price"> 9765 <span class="money_amount">10,69</span> <span class="money_currency">€</span> </div> 9766 9767 9768 9769 9770 9771 9772 9773 <div class="bnuProduct__buttons"> 9774 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095986" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9775 <div class="hidden productItemData_wrap-10095986"> 9776 <input type="hidden" name="productData_productID" value="10095986"> 9777 <input type="hidden" name="productData_qnt" value="1"> 9778 9779 </div> 9780 9781 </div> 9782 </div> 9783 </article> 9784<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095982,"name":"ORGANIC SHOP mitrino\u0161s un nomierino\u0161s sejas kr\u0113ms p\u0113c sau\u013co\u0161an\u0101s 50ml","price":"6.79","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.8 Sun"}"> 9785 <div class="bnuProduct__main"> 9786 9787 9788 <div class="bnuProduct__top"> 9789 <figure> 9790 <a href="https://www.benu.lv/p/organic-shop-mitrinoss-un-nomierinoss-sejas-krems-pec-saulosanas-50ml"> 9791 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095982-organic-shop-mitrinoss-un-nomierinoss-sejas-krems-pec-saulosanas-50ml-1-1788569238.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095982-organic-shop-mitrinoss-un-nomierinoss-sejas-krems-pec-saulosanas-50ml-1-1788569238.jpg" alt="ORGANIC SHOP mitrinoÅ¡s un nomierinoÅ¡s sejas krÄms pÄc sauļoÅ¡anÄs 50ml" ></picture> 9792 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9793 9794 9795 9796 9797 9798 </div> 9799 9800 9801 </a> 9802 </figure> 9803 9804 <h2 class="productItem__title">
9805 <a href="https://www.benu.lv/p/organic-shop-mitrinoss-un-nomierinoss-sejas-krems-pec-saulosanas-50ml" title="ORGANIC SHOP mitrinoÅ¡s un nomierinoÅ¡s sejas krÄms pÄc sauļoÅ¡anÄs 50ml"> 9806 ORGANIC SHOP mitrinoÅ¡s un nomierinoÅ¡s sejas krÄms pÄc sauļoÅ¡anÄs 50ml </a> 9807 </h2> 9808 9809 <p class="bnuProduct__rating"> 9810 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9811 </p> 9812 </div> 9813 9814 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9815 9816 <div class="bnuProduct__price"> 9817 <span class="money_amount">6,79</span> <span class="money_currency">€</span> </div> 9818 9819 9820 9821 9822 9823 9824 9825 <div class="bnuProduct__buttons"> 9826 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095982" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9827 <div class="hidden productItemData_wrap-10095982"> 9828 <input type="hidden" name="productData_productID" value="10095982"> 9829 <input type="hidden" name="productData_qnt" value="1"> 9830 9831 </div> 9832 9833 </div> 9834 </div> 9835 </article> 9836<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10096815,"name":"ORGANIC SHOP Papaya sejas gom\u0101\u017ea 100ml","price":"3.99","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.2 Face Cleaning"}"> 9837 <div class="bnuProduct__main"> 9838 9839 9840 <div class="bnuProduct__top"> 9841 <figure> 9842 <a href="https://www.benu.lv/p/organic-shop-papaya-sejas-gomaza-100ml"> 9843 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10096815-organic-shop-papaya-sejas-gomaza-100ml-1-1788570551.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10096815-organic-shop-papaya-sejas-gomaza-100ml-1-1788570551.jpg" alt="ORGANIC SHOP Papaya sejas gomÄža 100ml" ></picture> 9844 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9845 9846 9847 9848 9849 9850 </div> 9851 9852 9853 <div aria-hidden="true" class="bnuProduct__badges bnuProduct__badges--bl" role="list"> 9854 <span class="bnuProductBadge bnuProductBadge--green">Jaunums</span> </div> 9855 </a> 9856 </figure> 9857 9858 <h2 class="productItem__title"> 9859 <a href="https://www.benu.lv/p/organic-shop-papaya-sejas-gomaza-100ml" title="ORGANIC SHOP Papaya sejas gomÄža 100ml"> 9860 ORGANIC SHOP Papaya sejas gomÄža 100ml </a> 9861 </h2> 9862 9863 <p class="bnuProduct__rating">
9864 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9865 </p> 9866 </div> 9867 9868 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9869 9870 <div class="bnuProduct__price"> 9871 <span class="money_amount">3,99</span> <span class="money_currency">€</span> </div> 9872 9873 9874 9875 9876 9877 9878 9879 <div class="bnuProduct__buttons"> 9880 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10096815" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9881 <div class="hidden productItemData_wrap-10096815"> 9882 <input type="hidden" name="productData_productID" value="10096815"> 9883 <input type="hidden" name="productData_qnt" value="1"> 9884 9885 </div> 9886 9887 </div> 9888 </div> 9889 </article> 9890<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095077,"name":"ORGANIC SHOP Pineapple&Mango kolag\u0113na auduma maska N1","price":"2.79","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.2 Face Cleaning"}"> 9891 <div class="bnuProduct__main"> 9892 9893 9894 <div class="bnuProduct__top"> 9895 <figure> 9896 <a href="https://www.benu.lv/p/organic-shop-pineapplemango-kolagena-auduma-maska-n1"> 9897 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095077-organic-shop-pineapple-mango-kolagena-auduma-maska-n1-1-1788570324.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095077-organic-shop-pineapple-mango-kolagena-auduma-maska-n1-1-1788570324.jpg" alt="ORGANIC SHOP Pineapple&Mango kolagÄna auduma maska N1" ></picture> 9898 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9899 9900 9901 9902 9903 9904 </div> 9905 9906 9907 </a> 9908 </figure> 9909 9910 <h2 class="productItem__title"> 9911 <a href="https://www.benu.lv/p/organic-shop-pineapplemango-kolagena-auduma-maska-n1" title="ORGANIC SHOP Pineapple&Mango kolagÄna auduma maska N1"> 9912 ORGANIC SHOP Pineapple&Mango kolagÄna auduma maska N1 </a> 9913 </h2> 9914 9915 <p class="bnuProduct__rating"> 9916 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9917 </p> 9918 </div> 9919 9920 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9921 9922 <div class="bnuProduct__price"> 9923 <sp
9923an class="money_amount">2,79</span> <span class="money_currency">€</span> </div> 9924 9925 9926 9927 9928 9929 9930 9931 <div class="bnuProduct__buttons"> 9932 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095077" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9933 <div class="hidden productItemData_wrap-10095077"> 9934 <input type="hidden" name="productData_productID" value="10095077"> 9935 <input type="hidden" name="productData_qnt" value="1"> 9936 9937 </div> 9938 9939 </div> 9940 </div> 9941 </article> 9942<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095082,"name":"ORGANIC SHOP Sea Mud&Algae d\u016b\u0146u sejas maska 75ml","price":"4.99","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.2 Face Cleaning"}"> 9943 <div class="bnuProduct__main"> 9944 9945 9946 <div class="bnuProduct__top"> 9947 <figure> 9948 <a href="https://www.benu.lv/p/organic-shop-sea-mudalgae-dunu-sejas-maska-75ml"> 9949 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095082-organic-shop-sea-mud-algae-dunu-sejas-maska-75ml-1-1788568979.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095082-organic-shop-sea-mud-algae-dunu-sejas-maska-75ml-1-1788568979.jpg" alt="ORGANIC SHOP Sea Mud&Algae dÅ«Åu sejas maska 75ml" ></picture> 9950 <div class="bnuProduct__badges bnuProduct__badges--tr"> 9951 9952 9953 9954 9955 9956 </div> 9957 9958 9959 </a> 9960 </figure> 9961 9962 <h2 class="productItem__title"> 9963 <a href="https://www.benu.lv/p/organic-shop-sea-mudalgae-dunu-sejas-maska-75ml" title="ORGANIC SHOP Sea Mud&Algae dÅ«Åu sejas maska 75ml"> 9964 ORGANIC SHOP Sea Mud&Algae dÅ«Åu sejas maska 75ml </a> 9965 </h2> 9966 9967 <p class="bnuProduct__rating"> 9968 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 9969 </p> 9970 </div> 9971 9972 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 9973 9974 <div class="bnuProduct__price"> 9975 <span class="money_amount">4,99</span> <span class="money_currency">€</span> </div> 9976 9977 9978 9979 9980 9981 9982 9983 <div class="bnuProduct__buttons"> 9984 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095082" data-callback="" type="button"><span>
9984Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 9985 <div class="hidden productItemData_wrap-10095082"> 9986 <input type="hidden" name="productData_productID" value="10095082"> 9987 <input type="hidden" name="productData_qnt" value="1"> 9988 9989 </div> 9990 9991 </div> 9992 </div> 9993 </article> 9994<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095980,"name":"ORGANIC SHOP SPF50 dienas sejas kr\u0113ms norm\u0101lai un sausai \u0101dai 50ml","price":"7.79","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.8 Sun"}"> 9995 <div class="bnuProduct__main"> 9996 9997 9998 <div class="bnuProduct__top"> 9999 <figure> 10000 <a href="https://www.benu.lv/p/organic-shop-spf50-dienas-sejas-krems-normalai-un-sausai-adai-50ml"> 10001 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095980-organic-shop-spf50-dienas-sejas-krems-normalai-un-sausai-adai-50ml-1-1788568168.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095980-organic-shop-spf50-dienas-sejas-krems-normalai-un-sausai-adai-50ml-1-1788568168.jpg" alt="ORGANIC SHOP SPF50 dienas sejas krÄms normÄlai un sausai Ädai 50ml" ></picture> 10002 <div class="bnuProduct__badges bnuProduct__badges--tr"> 10003 10004 10005 10006 10007 10008 </div> 10009 10010 10011 </a> 10012 </figure> 10013 10014 <h2 class="productItem__title"> 10015 <a href="https://www.benu.lv/p/organic-shop-spf50-dienas-sejas-krems-normalai-un-sausai-adai-50ml" title="ORGANIC SHOP SPF50 dienas sejas krÄms normÄlai un sausai Ädai 50ml"> 10016 ORGANIC SHOP SPF50 dienas sejas krÄms normÄlai un sausai Ädai 50ml </a> 10017 </h2> 10018 10019 <p class="bnuProduct__rating"> 10020 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 10021 </p> 10022 </div> 10023 10024 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 10025 10026 <div class="bnuProduct__price"> 10027 <span class="money_amount">7,79</span> <span class="money_currency">€</span> </div> 10028 10029 10030 10031 10032 10033 10034 10035 <div class="bnuProduct__buttons"> 10036 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095980" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 10037 <div class="hidden productItemData_wrap-10095980"> 10038 <input type="hidden" name="productData_productID" value="10095980"> 10039 <input type="hidden" name="productData_qnt" value="1"> 10040 10041 </div> 10042 10043 </div> 10044 </div> 10045 </article> 10046<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10096821,"name":"ORGANIC SHOP Black Cherry m\u0101la sejas maska 100ml","price":"3.99","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.2 Face Cleaning"}"> 10047 <div class="bnuProduct__main"> 10048 10049 10050 <div class="bnuProduct__top"> 10051 <figure>
10052 <a href="https://www.benu.lv/p/organic-shop-black-cherry-mala-sejas-maska-100ml"> 10053 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10096821-organic-shop-black-cherry-mala-sejas-maska-100ml-1-1788569238.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10096821-organic-shop-black-cherry-mala-sejas-maska-100ml-1-1788569238.jpg" alt="ORGANIC SHOP Black Cherry mÄla sejas maska 100ml" ></picture> 10054 <div class="bnuProduct__badges bnuProduct__badges--tr"> 10055 10056 10057 10058 10059 10060 </div> 10061 10062 10063 <div aria-hidden="true" class="bnuProduct__badges bnuProduct__badges--bl" role="list"> 10064 <span class="bnuProductBadge bnuProductBadge--green">Jaunums</span> </div> 10065 </a> 10066 </figure> 10067 10068 <h2 class="productItem__title"> 10069 <a href="https://www.benu.lv/p/organic-shop-black-cherry-mala-sejas-maska-100ml" title="ORGANIC SHOP Black Cherry mÄla sejas maska 100ml"> 10070 ORGANIC SHOP Black Cherry mÄla sejas maska 100ml </a> 10071 </h2> 10072 10073 <p class="bnuProduct__rating"> 10074 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 10075 </p> 10076 </div> 10077 10078 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 10079 10080 <div class="bnuProduct__price"> 10081 <span class="money_amount">3,99</span> <span class="money_currency">€</span> </div> 10082 10083 10084 10085 10086 10087 10088 10089 <div class="bnuProduct__buttons"> 10090 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10096821" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 10091 <div class="hidden productItemData_wrap-10096821"> 10092 <input type="hidden" name="productData_productID" value="10096821"> 10093 <input type="hidden" name="productData_qnt" value="1"> 10094 10095 </div> 10096 10097 </div> 10098 </div> 10099 </article> 10100<article class="bnuProduct productItem productItem-v3 productItem__wrapCount" data-recommendation-id="" data-recommendation-source="" data-impression="{"ID":10095978,"name":"ORGANIC SHOP SPF30 dienas sejas kr\u0113ms norm\u0101lai un sausai \u0101dai 50ml","price":"7.79","category":"ORGANIC SHOP","brandText":"ORGANIC SHOP","item_list_name":"E.1.8 Sun"}"> 10101 <div class="bnuProduct__main"> 10102 10103 10104 <div class="bnuProduct__top"> 10105 <figure> 10106 <a href="https://www.benu.lv/p/organic-shop-spf30-dienas-sejas-krems-normalai-un-sausai-adai-50ml"> 10107 <picture class="product__image bnuProduct__image"><source media="(max-width: 1024px)" srcset="https://img.benu.lv/media/.thumb/.530x530-create-10095978-organic-s
10107hop-spf30-dienas-sejas-krems-normalai-un-sausai-adai-50ml-1-1788568706.jpg"><img loading="lazy" decoding="async" fetchpriority="low" width="265" height="800" src="https://img.benu.lv/media/.thumb/.530x530-create-10095978-organic-shop-spf30-dienas-sejas-krems-normalai-un-sausai-adai-50ml-1-1788568706.jpg" alt="ORGANIC SHOP SPF30 dienas sejas krÄms normÄlai un sausai Ädai 50ml" ></picture> 10108 <div class="bnuProduct__badges bnuProduct__badges--tr"> 10109 10110 10111 10112 10113 10114 </div> 10115 10116 10117 </a> 10118 </figure> 10119 10120 <h2 class="productItem__title"> 10121 <a href="https://www.benu.lv/p/organic-shop-spf30-dienas-sejas-krems-normalai-un-sausai-adai-50ml" title="ORGANIC SHOP SPF30 dienas sejas krÄms normÄlai un sausai Ädai 50ml"> 10122 ORGANIC SHOP SPF30 dienas sejas krÄms normÄlai un sausai Ädai 50ml </a> 10123 </h2> 10124 10125 <p class="bnuProduct__rating"> 10126 <span class="bnuStars" aria-hidden="true"><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i><i class="fa-regular fa-star-sharp"></i></span> <span>0 <span> Atsauksme(-s)</span></span> 10127 </p> 10128 </div> 10129 10130 <div class="bnuProduct__bottom bnuProduct__bottom--v2"> 10131 10132 <div class="bnuProduct__price"> 10133 <span class="money_amount">7,79</span> <span class="money_currency">€</span> </div> 10134 10135 10136 10137 10138 10139 10140 10141 <div class="bnuProduct__buttons"> 10142 <button class="bnuButton bnuButton--full bind-addToCart" data-productdatawrap="productItemData_wrap-10095978" data-callback="" type="button"><span>Pirkt</span></button> <button class="bnuButton bnuButton--secondarySolid bnuButton--iconOnly bnuButton--favorites bind-openLoginPage" title="+ VÄlmju sarakstam" data-href="https://www.benu.lv/ienakt" aria-label="+ VÄlmju sarakstam" type="button"><i class="fa-light fa-heart" aria-hidden="true"></i></button> </div> 10143 <div class="hidden productItemData_wrap-10095978"> 10144 <input type="hidden" name="productData_productID" value="10095978"> 10145 <input type="hidden" name="productData_qnt" value="1"> 10146 10147 </div> 10148 10149 </div> 10150 </div> 10151 </article> 10152</section> </div> 10153 </div> 10154 10155 10156 <div class="bnuProductListing__pagination bnuProductListing__pagination--hasPages"> 10157 10158<nav class="bnuPagination" aria-label="LappuÅ¡u numerÄcija"> 10159 <ul class="bnuPagination__list"> 10160 <li class="bnuPagination__item bnuPagination__item--prev"> 10161 <button class="bnuButton bnuButton--secondaryLight bnuButton--iconOnly bnuPagination__button bnuPagination__button--nav bnuPagination__button--disabled" disabled aria-disabled="true" aria-label="IepriekÅ¡ÄjÄ lapa" type="button"><i class="fa-regular fa-chevron-left" aria-hidden="true"></i></button> </li> 10162 10163 <li class="bnuPagination__item"> 10164 <button class="bnuButton bnuButton--secondary bnuPagination__button bnuPagination__button--active" aria-current="page" aria-label="1" tabindex="-1" type="button"><span>1</span></button> </li> 10165 <li class="bnuPagination__item"> 10166 <button class="bnuButton bnuButton--secondaryLight bnuPagination__button bind-paginationPage" data-page="2" aria-label="2" type="button"><span>2</span></button> </li> 10167 10168 <li class="bnuPagination__item bnuPagination__item--next"> 10169 <button class="bnuButton bnuButton--secondaryLight bnuButton--iconOnly bnuPagination__button b
10169nuPagination__button--nav bind-paginationPage" data-page="2" aria-label="NÄkamÄ lapa" type="button"><i class="fa-regular fa-chevron-right" aria-hidden="true"></i></button> </li> 10170 </ul> 10171</nav> 10172 <p class="bnuProductListing__resultsCount bnuProductListing__resultsCount--bottom"> 10173 <span class="bnuProductListing__resultsCountLabel"> 10174 Skats: </span> 10175 <span class="bnuProductListing__resultsCountRange">1 - 24</span> 10176 <span class="bnuProductListing__resultsCountLabel"> 10177 no </span> 10178 <span class="bnuProductListing__resultsCountTotal">30</span> 10179</p> 10180 </div> 10181 10182 <div class="pageBannerWrap productsBottom bnuProductListing__banner bnuProductListing__banner--bottom"> 10183 </div> 10184 10185 <div class="verboliaSuggestions"></div> 10186 10187 10188 10189 10190 10191 10192 </div> 10193</div> 10194 10195 10196 10197 10198 10199 10200 10201
10202<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 10203 /* products magic */ 10204 var prNavRoot = "https://www.benu.lv/zimoli/organic-shop";var categoryID = "15671";var prRules = JSON.parse('{"brand":["organic-shop"],"forcedProductPages":15671}');var prOptions = JSON.parse('{"pageSize":24,"order":"discount_desc","group":"list","page":1,"list":"productsPage-15671","categoryID":15671,"isBrandPage":38513,"initLoadRules":{"brand":["organic-shop"],"forcedProductPages":15671,"findFromProductPage":true}}');var initLoadRules = JSON.parse('{"brand":["organic-shop"],"forcedProductPages":15671,"findFromProductPage":true}');var prFiltersList = JSON.parse('["search","productType","brand","form","specialProperties","lifeStage","skinCondition","hairCondition","gender","onlineOnly","fastPickupPharmacies","inCampaign","newTill","activeSubstance","campaigns","vouchers","starsRating","price","onlyReg"]');var prViewOptionsList = JSON.parse('["order","tmpl","pageSize","group"]');var prTotalCount = 30;var defaultOptions = JSON.parse('{"pageSize":24,"group":"list","page":1}'); if ('') { 10205 if (prNavRoot.indexOf('?vars') < 0) { 10206 prNavRoot += '?vars'; 10207 } 10208 prNavRoot += '&utm_source='; 10209 if ('') { 10210 prNavRoot += '&utm_medium='; 10211 } 10212 if ('') { 10213 prNavRoot += '&utm_content='; 10214 } 10215 if ('') { 10216 prNavRoot += '&utm_campaign='; 10217 } 10218 if ('') { 10219 prNavRoot += '&utm_term='; 10220 } 10221 } 10222 if ('') { 10223 if (prNavRoot.indexOf('?vars') < 0) { 10224 prNavRoot += '?vars'; 10225 } 10226 if ('') { 10227 prNavRoot += '/fbclid/'; 10228 } 10229 } 10230 if ('') { 10231 if (prNavRoot.indexOf('?vars') < 0) { 10232 prNavRoot += '?vars'; 10233 } 10234 if ('') { 10235 prNavRoot += '/gclid/'; 10236 } 10237 } 10238 var lastActiveFilter = false; 10239 var rules = []; 10240 var options = {}; 10241 var loadedList = false; 10242 var sliceIDs = false; 10243 var isInitializing = typeof isInitializing !== 'undefined' ? isInitializing : true; 10244 10245 function bnuGetPriceRangeInputs($wrap) { 10246 return { 10247 $from: $wrap.find('input.rangeValue-from'), 10248 $to: $wrap.find('input.rangeValue-to') 10249 }; 10250 } 10251 10252 function bnuSyncPriceRangeInputs($wrap, from, to) { 10253 var $inputs = bnuGetPriceRangeInputs($wrap); 10254 10255 if ($inputs.$from.length) { 10256 $inputs.$from.val(from); 10257 } 10258 10259 if ($inputs.$to.length) { 10260 $inputs.$to.val(to); 10261 } 10262 } 10263 10264 function bnuSyncPriceRangeHidden($wrap, $hidden, from, to, defaultFrom, defaultTo) { 10265 if (from == defaultFrom && to == defaultTo) { 10266 $hidden.val(''); 10267 return; 10268 } 10269 10270 $hidden.val(from + '__' + to); 10271 } 10272 10273 function initPriceRangeSliders() {
10274 $('.bnuProductFilters__group--price .bnuProductFilters__sliderWrap').each(function() { 10275 var $wrap = $(this); 10276 var $range = $wrap.find('.bnuProductFilters__range'); 10277 10278 if (!$range.length) { 10279 $range = $wrap.find('.filterRange'); 10280 } 10281 10282 if (!$range.length || typeof $range.slider !== 'function') { 10283 return; 10284 } 10285 10286 if ($range.hasClass('ui-slider')) { 10287 $range.slider('destroy'); 10288 } 10289 10290 var min = parseInt($wrap.data('min'), 10) || 0; 10291 var max = parseInt($wrap.data('max'), 10) || 0; 10292 var defaultFrom = parseInt($wrap.data('defaultFrom'), 10); 10293 var defaultTo = parseInt($wrap.data('defaultTo'), 10); 10294 var $hidden = $wrap.find('.bind-applyPriceRange'); 10295 var $inputs = bnuGetPriceRangeInputs($wrap); 10296 var fromVal = parseInt($inputs.$from.val(), 10); 10297 var toVal = parseInt($inputs.$to.val(), 10); 10298 10299 if (isNaN(defaultFrom)) { 10300 defaultFrom = min; 10301 } 10302 10303 if (isNaN(defaultTo)) { 10304 defaultTo = max; 10305 } 10306 10307 if (isNaN(fromVal)) { 10308 fromVal = defaultFrom; 10309 } 10310 10311 if (isNaN(toVal)) { 10312 toVal = defaultTo; 10313 } 10314 10315 bnuSyncPriceRangeInputs($wrap, fromVal, toVal); 10316 10317 $range.slider({ 10318 range: true, 10319 step: 1, 10320 min: min, 10321 max: max, 10322 values: [fromVal, toVal], 10323 slide: function(event, ui) { 10324 var nextFrom = ui.values[0]; 10325 var nextTo = ui.values[1]; 10326 10327 if (nextTo >= max) { 10328 nextTo = max; 10329 } 10330 10331 if (nextFrom >= max) { 10332 nextFrom = max; 10333 } 10334 10335 bnuSyncPriceRangeInputs($wrap, nextFrom, nextTo); 10336 }, 10337 change: function(event, ui) { 10338 var nextFrom = ui.values[0]; 10339 var nextTo = ui.values[1]; 10340 10341 bnuSyncPriceRangeInputs($wrap, nextFrom, nextTo); 10342 bnuSyncPriceRangeHidden($wrap, $hidden, nextFrom, nextTo, defaultFrom, defaultTo); 10343 $hidden.trigger('change'); 10344 } 10345 }); 10346 10347 $inputs.$from.add($inputs.$to).off('.bnuPrice').on('input.bnuPrice', function() { 10348 var $input = $(this); 10349 var rawValue = ($input.val() || '').replace(/[^\d]/g, ''); 10350 10351 if ($input.val() !== rawValue) { 10352 $input.val(rawValue); 10353 } 10354 10355 if (rawValue === '') { 10356 return; 10357 } 10358 10359 var val = parseInt(rawValue, 10); 10360 var index = $input.is('.rangeValue-from') ? 0 : 1; 10361 10362 if (isNaN(val)) { 10363 return; 10364 } 10365 10366 if (val > max) { 10367 val = max; 10368 $input.val(max); 10369 } 10370 10371 $range.slider('values', index, val); 10372 }).on('change.bnuPrice', function() { 10373 var $input = $(this); 10374 var index = $input.is('.rangeValue-from') ? 0 : 1; 10375 var val = parseInt(($input.val() || '').replace(/[^\d]/g, ''), 10); 10376 10377 if (isNaN(val)) { 10378 val = index === 0 ? defaultFrom : defaultTo; 10379 $input.val(val); 10380 } else if (val > max) { 10381 val = max; 10382 $input.val(max); 10383 } 10384 10385 $range.slider('values', index, val); 10386 }); 10387 }); 10388 } 10389 10390 function initLuigisFilterWidgets() { 10391 initPriceRangeSliders(); 10392 10393 $.each($('.bnuProductFilters__group--type-checkboxes'), function(index, el) { 10394 if ($(el).find('ul li').length <= 0) { 10395 $(el).hide(); 10396 } else { 10397 $(el).show(); 10398 } 10399 }); 10400 10401 bnuExpandSelectedHiddenFilters(); 10402 } 10403 10404 function bnuExpandSelectedHiddenFilters() { 10405 var lessLabel = 'MazÄk'; 10406
10407 $('.bnuProductFilters__choices').each(function() { 10408 var $list = $(this); 10409 10410 if (!$list.find('li.hiddenOption .bind-applyFilter:checked').length) { 10411 return; 10412 } 10413 10414 var $group = $list.closest('.bnuProductFilters__group'); 10415 var $more = $group.find('.bind-showMoreFilters'); 10416 10417 $list.find('li.hiddenOption').show(); 10418 10419 if ($more.length) { 10420 $more.addClass('less').html(lessLabel); 10421 } 10422 }); 10423 } 10424 10425 function bnuGetFilterLoadingTargets(productsOnly) { 10426 var selectors = [ 10427 '.bnuProductListing__products', 10428 '.bnuProductListing__sorting', 10429 '.bnuProductListing__resultsCount--top', 10430 '.bnuProductListing__pagination' 10431 ]; 10432 10433 if (!productsOnly) { 10434 selectors.push('.bnuProductFiltersSidebar'); 10435 } 10436 10437 return $(selectors.join(', ')); 10438 } 10439 10440 var bnuFilterLoadingDepth = 0; 10441 10442 function bnuSetFilterLoading(isLoading, options) { 10443 options = options || {}; 10444 var $targets = bnuGetFilterLoadingTargets(!!options.productsOnly); 10445 10446 if (!$targets.length) { 10447 return; 10448 } 10449 10450 if (isLoading) { 10451 bnuFilterLoadingDepth++; 10452 bnuSetAriaBusy($targets, true); 10453 return; 10454 } 10455 10456 bnuFilterLoadingDepth = Math.max(0, bnuFilterLoadingDepth - 1); 10457 10458 if (bnuFilterLoadingDepth === 0) { 10459 bnuClearAriaBusy(); 10460 } 10461 } 10462 10463 function bnuCaptureFilterAccordionState() { 10464 var state = {}; 10465
10466 $('.bnuProductFilters__group').each(function() { 10467 var match = (this.className || '').match(/bnuProductFilters__group--([^\s]+)/); 10468 10469 if (!match) { 10470 return; 10471 } 10472 10473 var $details = $(this).find('details.bnuAccordion__item').first(); 10474 10475 if ($details.length) { 10476 state[match[1]] = $details.prop('open'); 10477 } 10478 }); 10479 10480 return state; 10481 } 10482 10483 function bnuRestoreFilterAccordionState(state) { 10484 if (!state) { 10485 return; 10486 } 10487 10488 $.each(state, function(filterName, isOpen) { 10489 $('.bnuProductFilters__group--' + filterName + ' details.bnuAccordion__item').prop('open', !!isOpen); 10490 }); 10491 } 10492 10493 function bnuReplaceFilterGroups(html) { 10494 var $panel = $('.bnuProductFilters__panel'); 10495 var scrollTop = $panel.length ? $panel.scrollTop() : 0; 10496 var accordionState = bnuCaptureFilterAccordionState(); 10497 10498 if ($('.bnuProductFilters__groups').length) { 10499 $('.bnuProductFilters__groups').html(html); 10500 } else if ($('.bnuProductFilters__wrap').length) {
10501 $('.bnuProductFilters__wrap').replaceWith(html); 10502 } 10503 10504 bnuRestoreFilterAccordionState(accordionState); 10505 10506 if ($panel.length) { 10507 $panel.scrollTop(scrollTop); 10508 } 10509 10510 if (typeof initLuigisFilterWidgets === 'function') { 10511 initLuigisFilterWidgets(); 10512 } 10513 } 10514 10515 /* 10516 atnaujina pr list view pagal pasirinktus filtrus 10517 */ 10518 function updatePrListView(params) { 10519 options = {}; 10520 rules = []; 10521 rules = $.extend(true, {}, prRules); 10522 //prijungia papildomus nustatymus 10523 if (prRules) { 10524 $.each(prRules, function(index, ruleKey) { 10525 if ($.isArray(ruleKey)) { 10526 $.each(ruleKey, function(key, val) { 10527 if (typeof params[index] != 'undefined') { 10528 if (typeof params[index][val] == 'undefined') { 10529 params[index][val] = false; 10530 } 10531 } 10532 }); 10533 } 10534 }); 10535 } 10536 $.each(params, function(index, val) { 10537 if (val) { 10538 if (typeof val === 'object') { 10539 if (typeof rules[index] != 'object') { 10540 var tempVal = rules[index]; 10541 rules[index] = []; 10542 rules[index][tempVal] = tempVal; 10543 } 10544 $.each(val, function(index2, val2) { 10545 if (val2) { 10546 var found = false; 10547 $.each(rules[index], function(index3, val3) { 10548 if (val3 == index2) { 10549 found = true; 10550 } 10551 }); 10552 if (found == false) { 10553 rules[index].push(index2); 10554 } 10555 } else { 10556 $.each(rules[index], function(index3, val3) { 10557 if (val3 == index2) { 10558 delete rules[index][index3]; 10559 } 10560 }); 10561 } 10562 }); 10563 } else if (prViewOptionsList.indexOf(index) >= 0) { 10564 options[index] = val; 10565 } else if (prFiltersList.indexOf(index) >= 0) { 10566 rules[index] = val; 10567 } 10568 } else { 10569 if (typeof rules[index] == 'undefined') { 10570 // console.log('delete rule: '+index+ ' '+rules[index]); 10571 delete rules[index]; 10572 } 10573 } 10574 }); 10575 if ($.inArray(15671, [1720, 2299]) == -1) { 10576 if (typeof options['group'] != 'undefined') { 10577 lastSelectedGroup = options['group']; 10578 } else if (typeof lastSelectedGroup != 'undefined') { 10579 options['group'] = lastSelectedGroup; 10580 } 10581 } 10582 $.each(defaultOptions, function(index, val) { 10583 if (typeof options[index] == 'undefined') { 10584 options[index] = val; 10585 } 10586 }); 10587 if (prRules) { 10588 $.each(prRules, function(index, val) { 10589 if ($.isEmptyObject(rules[index])) { 10590 rules[index] = val; 10591 } 10592 }); 10593 } 10594 if (prOptions['listType']) { 10595 options['listType'] = prOptions['listType']; 10596 } 10597 if (prOptions['categoryID']) { 10598 options['categoryID'] = prOptions['categoryID']; 10599 } 10600 if (!options['pageSize']) { 10601 options['pageSize'] = prOptions['pageSize']; 10602 } 10603 10604 if (lastActiveFilter) { 10605 options['lastActiveFilter'] = lastActiveFilter; 10606 } 10607 if (loadedList) { 10608 options['resume'] = 1; 10609 options['loadMore'] = 0; 10610 options['screenWidth'] = $(window).width(); 10611 var loadedBanners = {}; 10612 $.each($('.bannerLink'), function(index, b) { 10613 loadedBanners[$(b).data('id')] = $(b).data('id'); 10614 }); 10615 if (!$.isEmptyObject(loadedBanners)) { 10616 options['beforeLoadedBanners'] = loadedBanners; 10617 } 10618 if (15671 == 2299 && options['group'] == 'categories') { 10619 options['pageSize'] = 9999; 10620 } 10621 var args = { 10622 'rules': rules, 10623 'options': options 10624 }; 10625 bnuSetFilterLoading(true); 10626 if (typeof prRules != 'undefined') { 10627 args['options']['initialRules'] = prRules; 10628 } 10629 if (typeof initLoadRules != 'undefined') { 10630 args['options']['initLoadRules'] = initLoadRules; 10631 } 10632 if (typeof isOTCPage !== 'undefined') { 10633 args['options']['isOTCPage'] = !!isOTCPage; 10634 } 10635 if (sliceIDs === true) { 10636 args['options']['sliceIDs'] = true; 10637 } 10638 ajaxHelper({ 10639 className: 'Products', 10640 methodName: 'loadProductsPageDraw', 10641 args: args 10642 }, function(callback) { 10643 var foundNewPrImpressions = false;
10644 if (callback.success) { 10645 if (15671 == 2299) { 10646 if ( 10647 options['group'] == 'categories' || 10648 ( 10649 !$('.pr_filterGroup_group .optionsWrap .customOption[data-value="list"]').hasClass('active') && 10650 $('.pr_filterGroup_group .optionsWrap .customOption[data-value="list"]').length > 0 10651 ) 10652 ) { 10653 defaultOptions['page'] = 1; 10654 options['page'] = 1; 10655 options['pageSize'] = 'all'; 10656 } 10657 } 10658 10659 if (typeof callback.return['count'] != 'undefined') { 10660 if (callback.return['count'] && options['page'] == 1) { 10661 prOptions['page'] = options['page']; 10662 prOptions['pageSize'] = options['pageSize']; 10663 if (callback.return['count'] >= options['pageSize']) {
10664 $('.bnuProductListing__resultsCountRange').html('1 - ' + options['pageSize']); 10665 } else { 10666 $('.bnuProductListing__resultsCountRange').html('1 - ' + callback.return['count']); 10667 } 10668 } else if (options['group'] != 'group') { 10669 $('.bnuProductListing__resultsCountRange').html('0') 10670 $('.bnuProductListing__resultsCountTotal').html('0'); 10671 $('.bnuProductFilters__mobileResultsCount').html('0'); 10672 } 10673 } 10674 $('.bnuProductListing__productsGrid').html(callback.return['products']); 10675 10676 if (typeof callback.return.totalCount != 'undefined') { 10677 if (callback.return.totalCount == $('.productsList .productItem__wrapCount').length) { 10678 $('.bnuProductListing__showMore').hide(); 10679 } else {
10680 $('.bnuProductListing__showMore').show(); 10681 } 10682 } else { 10683 $('.bnuProductListing__showMore').hide(); 10684 } 10685 if (options['group'] == 'group') { 10686 $('.bnuProductListing__resultsCount--bottom').addClass('notPulled'); 10687 } else { 10688 $('.bnuProductListing__resultsCount--bottom').removeClass('notPulled'); 10689 } 10690 if (typeof callback.return.groupedList != 'undefined') { 10691 $('.bnuProductListing__showMore').hide(); 10692 options['group'] = 'group'; 10693 // $('.productControl__ProductsPerPage').hide(); 10694 } else if (options['group'] == 'group') { 10695 options['group'] = 'list'; 10696 var filterString = ''; 10697 filterString = window.location.href.replace(prNavRoot, ''); 10698 if (filterString.length <= 0) { 10699 filterString += '?vars=group/list'; 10700 } else { 10701 if (filterString.indexOf('group/') >= 0) { 10702 filterString = filterString.replace('group/group', 'group/list'); 10703 } else { 10704 filterString += '/group/list'; 10705 } 10706 } 10707 history.pushState('', 'New URL:', prNavRoot + filterString); 10708 } else if (options['group'] == 'categories') {
10709 $('.bnuProductListing__showMore').hide(); 10710 } 10711 if (typeof callback.return.groupingHTML != 'undefined') { 10712 $('.bnuProductListing__grouping').html(callback.return.groupingHTML); 10713 } 10714 10715 $.each($('.bnuProductListing__products .productsList .productItem'), function(index, val) { 10716 if ($(val).find('.productItem__title').length > 0) { 10717 if ($(val).find('.productItem__title').isInViewport() && $(val).data('impression')) { 10718 if (!eshopEvent_visibleProducts[$(val).data('impression')['ID']]) { 10719 eshopEvent_visibleProducts[$(val).data('impression')['ID']] = {}; 10720 eshopEvent_visibleProducts[$(val).data('impression')['ID']] = $(val).data('impression'); 10721 foundNewPrImpressions = true; 10722 } 10723 } 10724 } 10725 }); 10726 if (typeof eshopEvent_productImpression == 'function' && foundNewPrImpressions) { 10727 eshopEvent_productImpression(eshopEvent_visibleProducts); 10728 } 10729 // var bannerOptions = {}; 10730 // if (options['tmpl']) { 10731 // bannerOptions['listType'] = options['tmpl']; 10732 // } else { 10733 // bannerOptions['listType'] = 'grid'; 10734 // } 10735 // bannerOptions['pageSize'] = options['pageSize']; 10736 // bannerOptions['page'] = options['page']; 10737 // bannerOptions['currentPage'] = 1; 10738 // if ($.inArray(15671, [1720, 2299]) == -1) { 10739 // drawBanner(8, bannerOptions); 10740 // }
10741 $('.bnuProductListing__resultsCountTotal').html(callback.return['totalCount']); 10742 $('.bnuProductFilters__mobileResultsCount').html(callback.return['totalCount']); 10743 $('.bnuProductListing__mobileBarButtonCount').html(callback.return['filtersCount']); 10744 if (typeof callback.return['filtersData'] != 'undefined') { 10745 bnuReplaceFilterGroups(callback.return['filtersData']); 10746 } 10747 if (typeof callback.return['banners'] != 'undefined') { 10748 var bannerOptions = options; 10749 bannerOptions['currentPage'] = options['page']; 10750 if (callback.return['banners']) { 10751 if (options['group'] == 'group') { 10752 //OTC list 10753 var productItems = $('.productsList').eq(0).find('.productItem__wrapCount'); 10754 if (bannerOptions['pageSize'] == 'all') { 10755 bannerOptions['pageSize'] = 27; 10756 } else { 10757 bannerOptions['pageSize'] = bannerOptions['pageSize'] / 2; 10758 } 10759 if (productItems) { 10760 $.each(callback.return['banners'], function(index, html) { 10761 if ($.inArray(index, callback.return['showBannersInOTC']) == -1 && 10762 $.inArray(index, callback.return['showBannersInBoth']) == -1) { 10763 return; 10764 } 10765 var min = (bannerOptions['currentPage'] - 1) * bannerOptions['pageSize']; 10766 if (productItems.length < bannerOptions['currentPage'] * bannerOptions['pageSize']) { 10767 var max = productItems.length - 1; 10768 } else { 10769 var max = (bannerOptions['currentPage'] * bannerOptions['pageSize']) - 1; 10770 } 10771 var number = Math.floor(Math.random() * (max - min + 1) + min); 10772 var position = productItems[number]; 10773 if (typeof position == 'undefined') { 10774 return false;; 10775 } 10776 $(position).closest('.productItem').before(html); 10777 $('.productsList').eq(0).find('.productItem:hidden').show(); 10778 var remains = $('.productsList').eq(0).find('.productItem').length % bannerOptions['pageSize']; 10779 if (remains && productItems.length == bannerOptions['pageSize']) { 10780 for (var i = 1; i <= remains; i++) { 10781 $(productItems[productItems.length - i]).closest('.productItem').hide(); 10782 } 10783 } 10784 bannerOptions['currentPage'] += 1; 10785 delete callback.return['banners'][index]; 10786 }); 10787 } 10788 10789 //other list 10790 bannerOptions['currentPage'] = 1; 10791 var productItems = $('.productsList').eq(1).find('.productItem__wrapCount'); 10792 if (productItems) { 10793 $.each(callback.return['banners'], function(index, html) { 10794 //if deleted array continue 10795 if ($.inArray(index, callback.return['showBannersInRegular']) == -1 && 10796 $.inArray(index, callback.return['showBannersInBoth']) == -1) { 10797 return; 10798 } 10799 if (typeof html == 'undefined') { 10800 return; 10801 } 10802 var min = (bannerOptions['currentPage'] - 1) * bannerOptions['pageSize']; 10803 if (productItems.length < bannerOptions['currentPage'] * bannerOptions['pageSize']) { 10804 var max = productItems.length - 1; 10805 } else { 10806 var max = (bannerOptions['currentPage'] * bannerOptions['pageSize']) - 1; 10807 } 10808 var number = Math.floor(Math.random() * (max - min + 1) + min); 10809 var position = productItems[number]; 10810 if (typeof position == 'undefined') { 10811 return false;
10812 } 10813 $(position).closest('.productItem').before(html); 10814 $('.productsList').eq(1).find('.productItem:hidden').show(); 10815 var remains = $('.productsList').eq(1).find('.productItem').length % bannerOptions['pageSize']; 10816 if (remains && productItems.length == bannerOptions['pageSize']) { 10817 for (var i = 1; i <= remains; i++) { 10818 $(productItems[productItems.length - i]).closest('.productItem').hide(); 10819 } 10820 } 10821 bannerOptions['currentPage'] += 1; 10822 }); 10823 } 10824 if ($('.productsList .productItem .bannerLink').length > 0) { 10825 $.each($('.productsList .productItem .bannerLink'), function(index, val) { 10826 if ($(val).isInViewport()) { 10827 if (!eshopEvent_visiblePromotions[$(val).data('promodata')['ID']]) { 10828 eshopEvent_visiblePromotions[$(val).data('promodata')['ID']] = {}; 10829 eshopEvent_visiblePromotions[$(val).data('promodata')['ID']] = $(val).data('promodata'); 10830 foundNewPromotions = true; 10831 } 10832 } 10833 }); 10834 } 10835 } else { 10836 var productItems = $('.productsList .productItem__wrapCount'); 10837 if (productItems) { 10838 var min = (bannerOptions['currentPage'] - 1) * bannerOptions['pageSize']; 10839 if (productItems.length < bannerOptions['currentPage'] * bannerOptions['pageSize']) { 10840 var max = productItems.length - 1; 10841 } else { 10842 var max = (bannerOptions['currentPage'] * bannerOptions['pageSize']) - 1; 10843 } 10844 var number = Math.floor(Math.random() * (max - min + 1) + min); 10845 var position = productItems[number]; 10846 if (typeof position == 'undefined') { 10847 return false; 10848 } 10849 $(position).closest('.productItem').before(callback.return['banners'][Object.keys(callback.return['banners'])[0]]); 10850 $('.productsList .productItem:hidden').show(); 10851 var remains = $('.productsList .productItem').length % bannerOptions['pageSize']; 10852 var totalPr = 0; 10853 if (typeof callback.return.totalCount != 'undefined') { 10854 totalPr = callback.return.totalCount; 10855 } 10856 if (remains && productItems.length < totalPr && totalPr) { 10857 for (var i = 1; i <= remains; i++) { 10858 $(productItems[productItems.length - i]).closest('.productItem').hide(); 10859 } 10860 } 10861 if ($('.productsList .productItem .bannerLink').length > 0) { 10862 $.each($('.productsList .productItem .bannerLink'), function(index, val) { 10863 if ($(val).isInViewport()) { 10864 if (!eshopEvent_visiblePromotions[$(val).data('promodata')['ID']]) { 10865 eshopEvent_visiblePromotions[$(val).data('promodata')['ID']] = {}; 10866 eshopEvent_visiblePromotions[$(val).data('promodata')['ID']] = $(val).data('promodata'); 10867 } 10868 } 10869 }); 10870 if (typeof eshopEvent_promotionImpression == 'function') { 10871 eshopEvent_promotionImpression(eshopEvent_visiblePromotions); 10872 } 10873 } 10874 } 10875 } 10876 } else { 10877 var productItems = $('.productsList .productItem__wrapCount'); 10878 $('.productsList .productItem:hidden').show(); 10879 var remains = $('.productsList .productItem').length % bannerOptions['pageSize']; 10880 var totalPr = 0; 10881 if (typeof bannerOptions['totalCount'] != 'undefined') { 10882 totalPr = bannerOptions['totalCount']; 10883 } 10884 if (remains && productItems.length < totalPr && totalPr) { 10885 for (var i = 1; i <= remains; i++) { 10886 $(productItems[productItems.length - i]).closest('.productItem').hide(); 10887 } 10888 } 10889 } 10890 } 10891 } else { 10892 console.warn('call failed'); 10893 } 10894 bnuSetFilterLoading(false); 10895 }, 'POST'); 10896 } 10897 } 10898 window.updatePrListView = updatePrListView; 10899 10900 $(document).ready(function() { 10901 $.each($('.bnuProductListing__products .productsList .productItem'), function(index, val) { 10902 if ($(val).find('.productItem__title').length > 0) { 10903 if ($(val).find('.productItem__title').isInViewport() && $(val).data('impression')) { 10904 if (!eshopEvent_visibleProducts[$(val).data('impression')['ID']]) { 10905 eshopEvent_visibleProducts[$(val).data('impression')['ID']] = {}; 10906 eshopEvent_visibleProducts[$(val).data('impression')['ID']] = $(val).data('impression'); 10907 } 10908 } 10909 } 10910 }); 10911 if (typeof eshopEvent_productImpression == 'function' && !$.isEmptyObject(eshopEvent_visibleProducts)) { 10912 eshopEvent_productImpression(eshopEvent_visibleProducts); 10913 } 10914 rules = $.extend(true, {}, prRules); 10915 $.each(prOptions, function(index, val) { 10916 if (typeof options[index] == 'undefined') { 10917 options[index] = val; 10918 } 10919 }); 10920 $.each(defaultOptions, function(index, val) { 10921 if (typeof options[index] == 'undefined') { 10922 options[index] = val; 10923 } 10924 }); 10925 if (options.sliceIDs) { 10926 sliceIDs = true; 10927 } 10928 loadedList = true; 10929 if (typeof isInitializing !== 'undefined') { 10930 isInitializing = false;
10931 } 10932 10933 $(document).on('click', '.bind-clearAllFilters', function() { 10934 var removableCheckboxes = $('.bind-applyFilter:checked'); 10935 10936 if (!removableCheckboxes.length) { 10937 removableCheckboxes = $('.bnuProductFilters__wrap input:checked'); 10938 } 10939 10940 removableCheckboxes.each(function() { 10941 $(this).prop('checked', false); 10942 }); 10943 10944 var activeStarsRating = $('body .bnuProductFilters__stars').find('.active'); 10945 activeStarsRating.removeClass('active'); 10946 10947 $('body .bnuProductFilters__group--price .rangeValue-from, body .bnuProductFilters__group--price .rangeValue-to').val(''); 10948 $('.bnuProductFilters__activeFilter').remove(); 10949 // collectFiltersDataLuigis(true); 10950 filterArray = []; 10951 filterArrayAssoc = {}; 10952 selectedFilters = {}; 10953 collectFiltersDataLuigis(); 10954 }); 10955 10956 $(document).on('click', '.bind-clearFilter', function(){ 10957 switch ($(this).data('filterName')) { 10958 case 'starsRating': 10959 case 'rating': 10960 var activeStar = $('body .bnuProductFilters__stars').find('.active'); 10961 activeStar.removeClass('active'); 10962 collectFiltersDataLuigis(); 10963 break; 10964 case 'price': 10965 case 'price_amount': 10966 $('body .bnuProductFilters__group--price .rangeValue-from, body .bnuProductFilters__group--price .rangeValue-to').val(''); 10967 $('body .bnuProductFilters__group--price .bind-applyPriceRange').val(''); 10968 collectFiltersDataLuigis(); 10969 break; 10970 default: 10971 var filterValue = $(this).data('filterValue'); 10972 var filterName = $(this).data('filterName'); 10973 var $input = $('body .bind-applyFilter[value="' + filterValue + '"]'); 10974 10975 if (filterName) { 10976 $input = $input.filter('[name="' + filterName + '"]'); 10977 } 10978 10979 if (!$input.length) { 10980 $input = $('body .bnuProductFilters__choices input[value="' + filterValue + '"]'); 10981 } 10982 10983 $input.prop('checked', false).trigger('change'); 10984 break; 10985 } 10986 var $item = $(this); 10987 var $activeFilter = $item.closest('.bnuProductFilters__activeFilter'); 10988 var $tags = $item.closest('.bnuProductFilters__tags'); 10989 var $list = $item.parent(); 10990 10991 $item.remove(); 10992 10993 if ($list.children().length < 1) { 10994 $activeFilter.remove(); 10995 if ($tags.length && !$tags.find('.bnuProductFilters__activeFilter').length) { 10996 $tags.remove(); 10997 } 10998 } 10999 }); 11000 11001 $(document).on('click', '.bind-selectSortOption', function() { 11002 $('[data-filtergroup="' + $(this).data('filtergroup') + '"].active').removeClass('active'); 11003 11004 $(this).addClass('active'); 11005 name = $(this).data('filtergroup'); 11006 value = $(this).data('filtervalue'); 11007 if (name == 'order') { 11008 var $select = $('.bind-viewOptionField[name="order"]'); 11009 11010 if ($select.length) { 11011 var selectVal = value; 11012 11013 if (selectVal === '' || typeof selectVal === 'undefined') { 11014 selectVal = $select.data('defaultValue') || $select.val(); 11015 } 11016 11017 $select.val(selectVal);
11018 $('.bnuProductListing__mobileBarButtonValue--sort').text($(this).text().trim()); 11019 selectedOrder = selectVal; 11020 collectFiltersDataLuigis(); 11021 return false; 11022 } 11023 } 11024 collectFiltersDataLuigis(); 11025 $('.bnuProductListing__sortDrawer').removeClass('opened'); 11026 $('body').removeClass('mobileFiltersOpened'); 11027 return false; 11028 }); 11029 11030 initLuigisFilterWidgets(); 11031 $(document).on('click', '.bind-showMoreFilters', function() { 11032 if ($(this).hasClass('less')) { 11033 $(this).parent().find('ul li.hiddenOption').hide(); 11034 $(this).html('VairÄk'); 11035 $(this).removeClass('less'); 11036 } else { 11037 $(this).parent().find('ul li.hiddenOption:hidden').slice(0, 10).show(); 11038 if ($(this).parent().find('ul li.hiddenOption:hidden').length <= 0) { 11039 $(this).addClass('less'); 11040 $(this).html('MazÄk'); 11041 } 11042 } 11043 }); 11044 var bannerOptions = {}; 11045 bannerOptions['listType'] = 'grid'; 11046 if (prOptions['tmpl']) { 11047 options['listType'] = prOptions['tmpl']; 11048 bannerOptions['listType'] = options['listType']; 11049 } 11050 bannerOptions['totalCount'] = prTotalCount; 11051 bannerOptions['pageSize'] = options['pageSize']; 11052 bannerOptions['page'] = options['page']; 11053 bannerOptions['currentPage'] = 1; 11054 bannerOptions['group'] = prOptions['group']; 11055 if (bannerOptions['page'] > bannerOptions['currentPage'] || prOptions['group'] == 'group') { 11056 bannerOptions['loadMultiple'] = true; 11057 } 11058 console.log(bannerOptions); 11059 if ($.inArray(15671, [1720, 2299]) == -1) { 11060 drawBanner(8, bannerOptions, function(){ 11061 console.log('drawww'); 11062 var lazyBannersInstance = $('.productsList .productItem .bannerLink.lazyImage.loading').Lazy({ 11063 chainable: false, 11064 scrollDirection: 'vertical', 11065 effect: 'fadeIn', 11066 visibleOnly: true, 11067 threshold: 200, 11068 throttle: 50, 11069 autoDestroy: true, 11070 afterLoad: function(element) { 11071 element.removeClass('loading'); 11072 }, 11073 }); 11074 }); 11075 } 11076 }); 11077 11078 function disableInactiveFilters(filtersData) { 11079 return false; 11080 var filters = ['width']; 11081 $.each(filters, function(id, val) { 11082 if (filtersData[val]) { 11083 $('.pr_viewOption-' + val).show(); 11084 } else { 11085 $('.pr_viewOption-' + val).hide(); 11086 } 11087 }); 11088 11089 $.each(filtersData, function(filterName, filterOptions) { 11090 $filter = $('.pr_filterGroup[name="' + filterName + '"]'); 11091 if (filterName == 'variation') { 11092 $('.pr_variationBox').hide(); 11093 $.each(filterOptions, function(variationGroupID, variations) { 11094 11095 $('.pr_variationBox-' + variationGroupID).show(); 11096 $('.pr_variationBox-' + variationGroupID).find('.pr_variationOption').addClass('disabled'); 11097 $.each(variations, function(variationID, count) { 11098 $('.pr_variationBox-' + variationGroupID).find('.pr_variationOption[data-filtervalue="' + variationID + '"]').removeClass('disabled'); 11099 }); 11100 }); 11101 } 11102 if ($filter.is('select') && $filter.hasClass('pr_filter')) { 11103 // $filter.find('option').attr('disabled', 'disabled'); 11104 $filter.find('option').hide(); 11105 $.each(filterOptions, function(optionValue, count) { 11106 // $filter.find('option[value="'+optionValue+'"]').removeAttr('disabled'); 11107 $filter.find('option[value="' + optionValue + '"]').show(); 11108 // $filter.find('option[value=""]').removeAttr('disabled'); 11109 $filter.find('option[value=""]').show(); 11110 }); 11111 } 11112 if ($filter.hasClass('customSelect')) { 11113 $filter.find('.customOption').addClass('disabled'); 11114 $.each(filterOptions, function(optionValue, count) { 11115 $filter.find('.customOption[data-value="' + optionValue + '"]').removeClass('disabled'); 11116 $filter.find('.customOption[data-value=""]').removeClass('disabled'); 11117 }); 11118 } 11119 if ($filter.hasClass('filterType-text') && $filter.hasClass('pr_filter')) { 11120 // $filter.find('option').attr('disabled', 'disabled'); 11121 $filter.find('a').hide(); 11122 $.each(filterOptions, function(optionValue, count) { 11123 // $filter.find('option[value="'+optionValue+'"]').removeAttr('disabled'); 11124 $filter.find('a[data-filtervalue="' + optionValue + '"]').show(); 11125 // $filter.find('option[value=""]').removeAttr('disabled'); 11126 $filter.find('a[data-filtervalue=""]').show(); 11127 }); 11128 } 11129 }); 11130 11131 } 11132 11133 function addXOnSelect(target) { 11134 var text = target.find('option:selected').html(); 11135 target.parent().addClass('pr_disabledViewOption'); 11136 target.hide(); 11137 target.parent().append('<div class="pr_optionPlaceholder">
11137' + text + '</div>'); 11138 } 11139 11140 function updateViewOptions() { 11141 var args = { 11142 'mID': 15671 }; 11143 call = $.ajax({ 11144 url: 'application/modules/products/ajax/productsHelper.ajax.php', 11145 data: { 11146 methodName: 'drawViewOptionBox', 11147 args: args 11148 }, 11149 }).success(function(response) { 11150 response = JSON.parse(response); 11151 $('.pr_viewOptionsWrap').replaceWith(response.return); 11152 11153 //printCoreTools(coreTools, true); 11154 }); 11155 call = $.ajax({ 11156 url: 'application/modules/products/ajax/productsHelper.ajax.php', 11157 data: { 11158 methodName: 'drawViewOptionBox', 11159 args: args 11160 }, 11161 success: function(response) { 11162 response = JSON.parse(response); 11163 $('.pr_viewOptionsWrap').replaceWith(response.return); 11164 } 11165 }); 11166 } 11167 11168 // SBNU-8681: Pagination click handler - replaces content and scrolls to top 11169 var paginationLoadingPage = null; 11170 $(document).on('click', '.bind-paginationPage', function(e) { 11171 e.preventDefault(); 11172 var targetPage = $(this).data('page'); 11173 if (!targetPage) return; 11174 11175 // Prevent double-click on the same page 11176 if (paginationLoadingPage === targetPage) return; 11177 paginationLoadingPage = targetPage; 11178 11179 page = parseInt(targetPage); 11180 11181 bnuSetFilterLoading(true, { productsOnly: true }); 11182 11183 // Build AJAX arguments 11184 var args = {}; 11185 args['customerFilters'] = selectedFilters; 11186 args['pageSettingFilters'] = pageSettingFilters; 11187 args['facets'] = pageFilters; 11188 args['pageRules'] = JSON.stringify(pageSettingFilters); 11189 args['options'] = {}; 11190 args['options']['redraw'] = true; 11191 args['options']['page'] = page; 11192 args['options']['categoryID'] = '15671'; 11193 args['options']['order'] = 'discount_desc'; 11194 args['options']['selectedOrder'] = selectedOrder; 11195 args['options']['pageSize'] = pageSize; 11196 args['options']['productsDrawn'] = 0; // Reset since we're replacing 11197 args['options']['bannersDrawn'] = 0; 11198 args['options']['group'] = prOptionsGroup; 11199 args['options']['returnPagination'] = true; 11200 // SBNU-8681: Force pagination mode - tells PHP to return full section structure 11201 args['options']['paginationMode'] = true; 11202 11203 // Pass ID ordering options if set (use JS variables set at page load) 11204 // Only when prIDsFilterOrder page setting is checked - prIDsFilterOrder/sortByIDs are set by PHP 11205 if (prIDsFilterOrder || sortByIDs) { 11206 args['options']['prIDsFilterOrder'] = true; 11207 args['options']['sortByIDs'] = true; 11208 args['options']['originalIDOrder'] = originalIDOrder.length > 0 ? originalIDOrder : pageSettingFilters['ID']; 11209 args['options']['idOrderingTotalHits'] = idOrderingTotalHits; 11210 // Pagination: preserve totalHits from current filter state 11211 args['options']['preserveTotalHits'] = idOrderingTotalHits; 11212 } 11213 11214 if (typeof initLoadRules != 'undefined') { 11215 args['options']['initLoadRules'] = initLoadRules; 11216 } 11217 if (typeof isOTCPage !== 'undefined') { 11218 args['options']['isOTCPage'] = !!isOTCPage; 11219 } 11220 11221 ajaxHelper({ 11222 'className': 'ProductsListHelper', 11223 'methodName': 'search', 11224 'args': args 11225 }, function(callback) { 11226 bnuSetFilterLoading(false, { productsOnly: true }); 11227 if (callback.success) { 11228 // Update filters if returned 11229 if (callback.return.filtersWrap) { 11230 bnuReplaceFilterGroups(callback.return.filtersWrap); 11231 } 11232 11233 // Replace products content 11234 if (callback.return.productsWrap) {
11235 $('.bnuProductListing__productsGrid').html(callback.return.productsWrap); 11236 productsDrawn = $('.productItem').length; 11237 11238 // Refresh lazy loading for new product images 11239 if (typeof checkPictureVisibility === 'function') { 11240 checkPictureVisibility(); 11241 } 11242 11243 if (typeof window.bnuCollectProductImpressions === 'function') { 11244 window.bnuCollectProductImpressions($('.bnuProductListing__products'), { fireEvent: true }); 11245 } 11246 } 11247 11248 if (callback.return.banners && typeof bnuInsertSearchBanners === 'function') { 11249 bannersDrawn = bnuInsertSearchBanners(callback.return.banners, { 11250 append: false, 11251 page: page, 11252 pageSize: typeof ogPageSize !== 'undefined' ? ogPageSize : pageSize 11253 }); 11254 } 11255 11256 // Update pagination 11257 if (callback.return.paginationHtml) {
11258 $('.bnuProductListing__pagination').html(callback.return.paginationHtml); 11259 } else if (callback.return.showMoreHolder) { 11260 $('.bnuProductListing__pagination').html(callback.return.showMoreHolder); 11261 } 11262 11263 // Update product count display 11264 if (callback.return.countShowing) { 11265 $('.bnuProductListing__resultsCount--top .bnuProductListing__resultsCountRange').html(callback.return.countShowing); 11266 $('.bnuProductListing__resultsCount--bottom .bnuProductListing__resultsCountRange').html(callback.return.countShowing); 11267 } 11268 $('.bnuProductListing__resultsCountTotal').html(callback.return.totalHits); 11269 $('.bnuProductFilters__mobileResultsCount').html(callback.return.totalHits); 11270 11271 // Update URL with page number 11272 var filterString = window.location.href.replace(prNavRoot, ''); 11273 if (filterString.length <= 0) { 11274 filterString += '?vars=page/' + page; 11275 } else { 11276 if (filterString.indexOf('page/') >= 0) { 11277 filterString = filterString.replace(/page\/\d+/, 'page/' + page); 11278 } else { 11279 if (filterString.indexOf('?vars') >= 0) { 11280 filterString += '/page/' + page; 11281 } else { 11282 filterString += '?vars=page/' + page; 11283 } 11284 } 11285 } 11286 // Store page in state for popstate handler 11287 history.pushState({ page: page, source: 'pagination' }, 'Page ' + page, prNavRoot + filterString); 11288 11289 // Track product impressions for analytics 11290 var foundNewPrImpressions = false; 11291 $.each($('.bnuProductListing__products .productsList .productItem'), function(index, val) { 11292 if ($(val).find('.product__title, .productItem__title').length > 0) { 11293 var titleEl = $(val).find('.product__title, .productItem__title').first(); 11294 if (titleEl.isInViewport() && $(val).data('impression')) { 11295 if (!eshopEvent_visibleProducts[$(val).data('impression')['ID']]) { 11296 eshopEvent_visibleProducts[$(val).data('impression')['ID']] = {}; 11297 eshopEvent_visibleProducts[$(val).data('impression')['ID']] = $(val).data('impression'); 11298 foundNewPrImpressions = true; 11299 } 11300 } 11301 } 11302 }); 11303 if (typeof eshopEvent_productImpression == 'function' && foundNewPrImpressions) { 11304 eshopEvent_productImpression(eshopEvent_visibleProducts); 11305 } 11306 11307 // Scroll to product control section (top of products list) 11308 var scrollTarget = $('.bnuProductListing__toolbar').first(); 11309 if (!scrollTarget.length) { 11310 scrollTarget = $('.bnuProductListing__products'); 11311 } 11312 if (scrollTarget.length) { 11313 $('html, body').animate({ 11314 scrollTop: scrollTarget.offset().top - 128 11315 }, 300); 11316 } 11317 } else { 11318 console.log('Pagination request failed:', callback); 11319 } 11320 paginationLoadingPage = null; 11321 }, 'POST'); 11322 }); 11323 11324 // SBNU-8681: Handle browser back/forward buttons for pagination 11325 window.addEventListener('popstate', function(e) { 11326 var targetPage = 1; 11327 11328 // Try to get page from state object first 11329 if (e.state && e.state.page) { 11330 targetPage = parseInt(e.state.page); 11331 } else { 11332 // Fallback: extract page from URL 11333 var url = window.location.href; 11334 var pageMatch = url.match(/page\/(\d+)/); 11335 if (pageMatch) { 11336 targetPage = parseInt(pageMatch[1]); 11337 } 11338 } 11339 11340 // Only trigger if page actually changed 11341 if (targetPage !== page) { 11342 page = targetPage; 11343 11344 bnuSetFilterLoading(true, { productsOnly: true }); 11345 11346 var args = {}; 11347 args['customerFilters'] = selectedFilters; 11348 args['pageSettingFilters'] = pageSettingFilters; 11349 args['facets'] = pageFilters; 11350 args['pageRules'] = JSON.stringify(pageSettingFilters); 11351 args['options'] = {}; 11352 args['options']['redraw'] = true; 11353 args['options']['page'] = page; 11354 args['options']['categoryID'] = '15671'; 11355 args['options']['order'] = 'discount_desc'; 11356 args['options']['selectedOrder'] = selectedOrder; 11357 args['options']['pageSize'] = pageSize; 11358 args['options']['productsDrawn'] = 0; 11359 args['options']['bannersDrawn'] = 0; 11360 args['options']['group'] = prOptionsGroup; 11361 args['options']['returnPagination'] = true; 11362 args['options']['paginationMode'] = true; 11363 11364 // Pass ID ordering options if set (use JS variables set at page load
11364) 11365 // Only when prIDsFilterOrder page setting is checked - prIDsFilterOrder/sortByIDs are set by PHP 11366 if (prIDsFilterOrder || sortByIDs) { 11367 args['options']['prIDsFilterOrder'] = true; 11368 args['options']['sortByIDs'] = true; 11369 args['options']['originalIDOrder'] = originalIDOrder.length > 0 ? originalIDOrder : pageSettingFilters['ID']; 11370 args['options']['idOrderingTotalHits'] = idOrderingTotalHits; 11371 // Pagination: preserve totalHits from current filter state 11372 args['options']['preserveTotalHits'] = idOrderingTotalHits; 11373 } 11374 11375 if (typeof initLoadRules != 'undefined') { 11376 args['options']['initLoadRules'] = initLoadRules; 11377 } 11378 if (typeof isOTCPage !== 'undefined') { 11379 args['options']['isOTCPage'] = !!isOTCPage; 11380 } 11381 11382 ajaxHelper({ 11383 'className': 'ProductsListHelper', 11384 'methodName': 'search', 11385 'args': args 11386 }, function(callback) { 11387 bnuSetFilterLoading(false, { productsOnly: true }); 11388 if (callback.success) { 11389 if (callback.return.filtersWrap) { 11390 bnuReplaceFilterGroups(callback.return.filtersWrap); 11391 } 11392 11393 if (callback.return.productsWrap) {
11394 $('.bnuProductListing__productsGrid').html(callback.return.productsWrap); 11395 productsDrawn = $('.productItem').length; 11396 11397 if (typeof checkPictureVisibility === 'function') { 11398 checkPictureVisibility(); 11399 } 11400 11401 if (typeof window.bnuCollectProductImpressions === 'function') { 11402 window.bnuCollectProductImpressions($('.bnuProductListing__products'), { fireEvent: true }); 11403 } 11404 } 11405 11406 if (callback.return.banners && typeof bnuInsertSearchBanners === 'function') { 11407 bannersDrawn = bnuInsertSearchBanners(callback.return.banners, { 11408 append: false, 11409 page: page, 11410 pageSize: typeof ogPageSize !== 'undefined' ? ogPageSize : pageSize 11411 }); 11412 } 11413 11414 if (callback.return.paginationHtml) {
11415 $('.bnuProductListing__pagination').html(callback.return.paginationHtml); 11416 } else if (callback.return.showMoreHolder) { 11417 $('.bnuProductListing__pagination').html(callback.return.showMoreHolder); 11418 } 11419 11420 if (callback.return.countShowing) { 11421 $('.bnuProductListing__resultsCount--top .bnuProductListing__resultsCountRange').html(callback.return.countShowing); 11422 $('.bnuProductListing__resultsCount--bottom .bnuProductListing__resultsCountRange').html(callback.return.countShowing); 11423 } 11424 $('.bnuProductListing__resultsCountTotal').html(callback.return.totalHits); 11425 $('.bnuProductFilters__mobileResultsCount').html(callback.return.totalHits); 11426 11427 // Scroll to product control section 11428 var scrollTarget = $('.bnuProductListing__toolbar').first(); 11429 if (!scrollTarget.length) { 11430 scrollTarget = $('.bnuProductListing__products'); 11431 } 11432 if (scrollTarget.length) { 11433 $('html, body').animate({ 11434 scrollTop: scrollTarget.offset().top - 128 11435 }, 300); 11436 } 11437 } 11438 }, 'POST'); 11439 } 11440 }); 11441 11442 // Set initial state for the current page (for proper back button handling) 11443 if (typeof page !== 'undefined' && page > 1) { 11444 history.replaceState({ page: page, source: 'pagination' }, 'Page ' + page, window.location.href); 11445 } 11446 </script>
vendor: 1 bytes, line 11446
11446
11447<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 11448(function () { 11449 if (window.bnuMinCartPromoTooltipInit) { 11450 return; 11451 } 11452 11453 window.bnuMinCartPromoTooltipInit = true; 11454 11455 var $tooltip = null; 11456 11457 function getTooltip() { 11458 if (!$tooltip) { 11459 $tooltip = $('<div class="bnuMinCartPromo__tooltip"></div>').appendTo('body'); 11460 11461 $tooltip.on('mouseleave', function () { 11462 $tooltip.hide(); 11463 }); 11464 } 11465 11466 return $tooltip; 11467 } 11468 11469 function positionTooltip($icon) { 11470 var $tip = getTooltip(); 11471 var rect = $icon[0].getBoundingClientRect(); 11472 var tooltipWidth = $tip.outerWidth() || 280; 11473 var tooltipHeight = $tip.outerHeight(); 11474 var padding = 8; 11475 var top = rect.top - tooltipHeight - padding; 11476 var left = rect.left + (rect.width / 2) - (tooltipWidth / 2); 11477 11478 if (left < padding) { 11479 left = padding; 11480 } 11481 11482 if (left + tooltipWidth > window.innerWidth - padding) { 11483 left = window.innerWidth - tooltipWidth - padding; 11484 } 11485 11486 if (top < padding) { 11487 top = rect.bottom + padding; 11488 } 11489 11490 $tip.css({ top: top + 'px', left: left + 'px' }); 11491 } 11492 11493 $(document).on('mouseenter', '.bnuMinCartPromo__info', function () { 11494 var text = $(this).attr('data-tooltip'); 11495 11496 if (!text) { 11497 return; 11498 } 11499 11500 var $tip = getTooltip(); 11501 $tip.html(text).show(); 11502 positionTooltip($(this)); 11503 }); 11504 11505 $(document).on('mouseleave', '.bnuMinCartPromo__info', function (e) { 11506 var $tip = getTooltip(); 11507 11508 if (e.relatedTarget && $tip[0].contains(e.relatedTarget)) { 11509 return; 11510 } 11511 11512 $tip.hide(); 11513 }); 11514})(); 11515</script>
11515 11516 11517
11518<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 11519 if (typeof structuredFAQ != 'undefined') { 11520 structuredDataList.push(structuredFAQ); 11521 } 11522 $(document).ready(function() { 11523 drawBanner(3, {'group': 'list', 'isCarousel': '1', 'carouselSpeed': 3, 'useSwiper': true}); 11524 drawBanner(4, {'isCarousel': '1', 'carouselSpeed': 3, 'useSwiper': true}); 11525 $(document).on('click', '.bind-openSorting', function() { 11526 $('.bnuProductListing__sortDrawer').addClass('opened'); 11527 $('body').addClass('mobileFiltersOpened'); 11528 }); 11529 $(document).on('click', '.bind-closeMobileWidget', function() { 11530 $(this).closest('.bnuProductListing__sortDrawer').removeClass('opened'); 11531 $('body').removeClass('mobileFiltersOpened'); 11532 }); 11533 $(document).on('click', '.bind-openSidebar', function() { 11534 $('.bnuProductFiltersSidebar').addClass('opened'); 11535 }); 11536 $(document).on('click', '.bind-closeMobileSidebar', function() { 11537 $(this).closest('.bnuProductFiltersSidebar').removeClass('opened'); 11538 }); 11539 $(document).on('click', '.bind-selectSortOption', function(e) { 11540 e.stopPropagation();
11541 $('.bnuProductListing__sortDrawer').removeClass('opened'); 11542 $('body').removeClass('mobileFiltersOpened'); 11543 }); 11544 11545 var initProductListingDescription = function($description) { 11546 if ($description.length === 0 || $description.height() <= 200) { 11547 return; 11548 } 11549 $description.addClass('bnuProductListing__description--collapsed'); 11550 $description.find('a').attr('tabindex', '-1'); 11551 $description.find('.bind-readMore').removeClass('hidden'); 11552 }; 11553 initProductListingDescription($('.bnuProductListing__description--bottom')); 11554 initProductListingDescription($('.bnuProductListing__description--top')); 11555 $(document).on('click', '.bnuProductListing__description .bind-readMore', function() { 11556 var $description = $(this).closest('.bnuProductListing__description'); 11557 $description.toggleClass('bnuProductListing__description--expanded'); 11558 if ($description.hasClass('bnuProductListing__description--expanded')) { 11559 $description.css('height', 'auto'); 11560 $(this).html('SkatÄ«t mazÄk'); 11561 } else { 11562 $(this).html('SkatÄ«t vairÄk'); 11563 $description.css('height', 200); 11564 } 11565 }); 11566 11567 $(document).on('click', '.bind-adminProductAction', function(e) { 11568 e.preventDefault(); 11569 let button = $(this); 11570 11571 ajaxHelper({ 11572 methodName: 'cms_productManager', 11573 args: { 11574 'options': { 11575 'productID': button.attr('data-productid'), 11576 'moduleID': '15671', 11577 'action': 'prExldIDsFilter' 11578 } 11579 } 11580 }, function(callback) { 11581 if (callback.success == true) { 11582 button.closest('.bnProductCard').addClass('productAddedToExcludeList'); 11583 } 11584 }); 11585 }); 11586 11587 let _clickedAlternativeProduct = null; 11588 let _clickedAlternativeProductModule = null; 11589 11590 $(document).on('click', '.bind-getAlternativeProductCategoryTree', function(e) { 11591 e.preventDefault(); 11592 let button = $(this); 11593 let loader = addLoader($('body')); 11594 11595 _clickedAlternativeProduct = button.attr('data-productid'); 11596 _clickedAlternativeProductModule = button.attr('data-module'); 11597 11598 ajaxHelper({ 11599 methodName: 'getAlternativeProductCategoryTree', 11600 args: { 11601 'options': { 11602 'productID': button.attr('data-productid') 11603 } 11604 } 11605 }, function(callback) { 11606 closeLoader(loader); 11607 11608 if (callback.success == true) { 11609 if (typeof window.benuDialog !== 'undefined' && typeof window.benuDialog.open === 'function') { 11610 window.benuDialog.open({ 11611 id: 'alternativeProductCategoryDialog', 11612 content: callback.return, 11613 className: 'bnuDialog--large', 11614 lockScroll: true, 11615 }); 11616 } else { 11617 bnFancybox(callback.return); 11618 } 11619 } 11620 }); 11621 }); 11622 11623 $(document).on('click', '.bind-saveAlternativeProductCategoryTree', function(e) { 11624 e.preventDefault(); 11625 let button = $(this); 11626 let loader = addLoader($('body')); 11627 let selectedCategories = $('#alternativeCategoryProducts').find('input:checked'); 11628 let _value; 11629 let categoryList = []; 11630 11631 if(selectedCategories) { 11632 $.each(selectedCategories, function(key, element){ 11633 _value = $(element).val(); 11634 11635 if(_value) { 11636 categoryList.push(_value); 11637 } 11638 }); 11639 } 11640 11641 if(categoryList) { 11642 ajaxHelper({ 11643 methodName: 'saveAlternativeProductCategoryTree', 11644 args: { 11645 'options': { 11646 'productID': _clickedAlternativeProduct, 11647 'moduleID': _clickedAlternativeProductModule, 11648 'categoryList': categoryList 11649 } 11650 } 11651 }, function(callback) { 11652 bnFancyboxClose(); 11653 }, 'POST'); 11654 } 11655 11656 closeLoader(loader); 11657 }); 11658 11659 $(document).on('click', 'small.toggleAllChilds', function(e) { 11660 e.preventDefault(); 11661 let button = $(this); 11662 11663 var currentStatus = button.prev().find('input.categoryNode').prop('checked'); 11664 button.prev().find('input.categoryNode').prop('checked', !currentStatus); 11665 button.next('.childNodes').find('input.categoryNode').prop('checked', !currentStatus); 11666 }); 11667 }); 11668</script>
11668 11669
11670<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 11671 var useLuigisProductsPage = true; 11672 var page = 1; 11673 var pageFilters = '["price","productType","activeSubstance","form","specialProperties","lifeStage","skinCondition","hairCondition","starsRating"]'; 11674 11675 // === STRICT FILTER SEPARATION FOR AJAX === 11676 // pageSettingFilters: Pre-defined filters from database/page config - ONLY sent in POST body, NEVER in URL 11677 // These are the "base" rules that define the page context 11678 var pageSettingFilters = {"forcedProductPages":15671,"brand":["ORGANIC SHOP"]}; 11679 11680 // initialCustomerFilters: Customer filters that were present on page load (from URL) 11681 // These are tracked separately so we know what was already in the URL 11682 var initialCustomerFilters = []; 11683 11684 // selectedFilters: Customer-selected filters from UI interactions during this session 11685 // This starts empty and gets populated as user interacts with filter UI 11686 var selectedFilters = {}; 11687 11688 // Legacy compatibility - pageRules is now pageSettingFilters 11689 var pageRules = JSON.stringify(pageSettingFilters); 11690 11691 var nextEndpoint = 'https://live.luigisbox.com/search?tracker_id=232949-269228&f[]=type:item&hit_fields=to_cart_id&facets=price_amount:100,productType:100,activeSubstance:100,form:100,specialProperties:100,lifeStage:100,skinCondition:100,hairCondition:100,rating:100&size=24&page=2&sort=availability:desc,priorityInPage_15671:desc,discount_price_lc_percentage:desc,discount_price_percentage:desc'; 11692 var offset = 0; 11693 var pageSize = '24'; 11694 var ogPageSize = '24'; 11695 var selectedOrder = ''; 11696 var productsDrawn = $('.productItem').length; 11697 var bannersDrawn = 0; 11698 var prOptionsGroup = 'list'; 11699 11700 // ID ordering options - store at page load for use in AJAX requests 11701 // Also check if pageSettingFilters has IDs - if so, enable ID ordering 11702 var prIDsFilterOrder = false; 11703 var sortByIDs = false; 11704 var originalIDOrder = []; 11705 var idOrderingTotalHits = 30; // Store total count from first load 11706 11707 // If prIDsFilterOrder is enabled and originalIDOrder is empty, use pageSettingFilters IDs 11708 // Note: prIDsFilterOrder/sortByIDs are controlled by PHP page setting, don't override them here 11709 if ((prIDsFilterOrder || sortByIDs) && originalIDOrder.length === 0 && pageSettingFilters && pageSettingFilters['ID'] && Array.isArray(pageSettingFilters['ID'])) { 11710 originalIDOrder = pageSettingFilters['ID']; 11711 } 11712 11713 setTimeout(() => { 11714 if (typeof productListSkipped != 'undefined') { 11715 bannersDrawn = productListSkipped; 11716 } 11717 isInitializing = false; 11718 }, 100); 11719 11720 $(document).on('change', '.bind-applyFilter', function(e) { 11721 e.preventDefault(); 11722 page = 1; 11723 collectFiltersDataLuigis(); 11724 }); 11725 11726 $(document).on('change', '.bind-applyPriceRange', function() { 11727 if (typeof isInitializing !== 'undefined' && isInitializing) { 11728 return; 11729 } 11730 11731 page = 1; 11732 collectFiltersDataLuigis(); 11733 }); 11734 11735 $(document).on('click', '.bind-toggleFilterOption', function(){ 11736 if (!$(this).hasClass('active')) { 11737 $('[data-filtergroup="' + $(this).data('filtergroup') + '"].active').removeClass('active'); 11738 $(this).addClass('active'); 11739 } else { 11740 $('[data-filtergroup="' + $(this).data('filtergroup') + '"].active').removeClass('active'); 11741 } 11742 page = 1; 11743 collectFiltersDataLuigis(); 11744 return false; 11745 }); 11746 11747 $(document).on('change', '.bind-viewOptionField', function() { 11748 var $select = $(this); 11749 var name = $select.attr('name'); 11750 var value = $select.val(); 11751 var htmlText = $select.find('option:selected').text(); 11752 11753 if (name == 'order') { 11754 $('[data-filtergroup="' + name + '"].active').removeClass('active'); 11755 var $activeListItem = $('[data-filtergroup="' + name + '"][data-filtervalue="' + value + '"]'); 11756 if (!$activeListItem.length) { 11757 $activeListItem = $('[data-filtergroup="' + name + '"][data-filtervalue=""]'); 11758 } 11759 $activeListItem.addClass('active');
11760 $('.bnuProductListing__mobileBarButtonValue--sort').text(htmlText); 11761 selectedOrder = value; 11762 collectFiltersDataLuigis(); 11763 } else if (name == 'group') { 11764 if (value != 'list') { 11765 if (value == 'list') { 11766 window.location = 'https://www.benu.lv/zimoli/organic-shop'; 11767 } else if ('list' != 'group') { 11768 window.location = 'https://www.benu.lv/zimoli/organic-shop?vars/group/group'; 11769 } 11770 } 11771 } 11772 }); 11773 11774 function collectFiltersDataLuigis(resetPage = true) { 11775 // This function collects CUSTOMER-SELECTED filters from UI elements 11776 // These are filters the user has actively chosen via checkboxes, selects, etc. 11777 // Page-context filters (from productsPage config) are stored in pageRules variable 11778 11779 if (typeof isInitializing !== 'undefined' && isInitializing) { 11780 return; 11781 } 11782 11783 // SBNU-8681: Reset pagination to page 1 when filters are changed by user 11784 // But preserve page number from URL during initial load 11785 if (resetPage) { 11786 page = 1; 11787 } 11788 11789 var filterArray = []; 11790 var filterArrayAssoc = {}; 11791 selectedFilters = {}; 11792 11793 $.each($('.bind-viewOptionField'), function(index, filter) { 11794 $inp = $(filter); 11795 name = $inp.attr('name'); 11796 value = $inp.val(); 11797 if (value != '') { 11798 filterArrayAssoc[name] = value; 11799 if (name == 'order') { 11800 selectedOrder = value; 11801 } 11802 } else { 11803 filterArrayAssoc[name] = null; 11804 } 11805 }); 11806 11807 $.each($('.bind-applyFilter'), function(index, filter) { 11808 $inp = $(filter); 11809 name = $inp.attr('name'); 11810 value = $inp.attr('value'); 11811 if (typeof filterArrayAssoc[name] == 'undefined') { 11812 filterArrayAssoc[name] = {}; 11813 } 11814 11815 if ($(this).is(':checked')) { 11816 filterArrayAssoc[name][value] = true; 11817 } else { 11818 filterArrayAssoc[name][value] = false; 11819 } 11820 11821 if (typeof selectedFilters[name] == 'undefined') { 11822 selectedFilters[name] = []; 11823 } 11824 11825 if ($(this).is(':checked')) { 11826 selectedFilters[name].push(value); 11827 } 11828 }); 11829 11830 /* surenkam price */ 11831 if ($('.bnuProductFilters__group--price').length) { 11832 var priceString = ''; 11833 var $priceGroup = $('.bnuProductFilters__group--price'); 11834 var $hiddenPrice = $priceGroup.find('.bind-applyPriceRange'); 11835 var hiddenPrice = ($hiddenPrice.val() || '').toString(); 11836 var priceFrom = ''; 11837 var priceTo = ''; 11838 11839 if (hiddenPrice.indexOf('__') > -1) { 11840 var hiddenParts = hiddenPrice.split('__'); 11841 priceFrom = hiddenParts[0]; 11842 priceTo = hiddenParts[1]; 11843 } else { 11844 priceFrom = $priceGroup.find('input.rangeValue-from').val(); 11845 priceTo = $priceGroup.find('input.rangeValue-to').val(); 11846 } 11847 11848 var setPriceFrom = ''; 11849 var setPriceTo = ''; 11850 11851 if (priceFrom > 0) { 11852 // priceString = priceFrom; 11853 setPriceFrom = priceFrom; 11854 } 11855 11856 if (priceTo > 0 && priceTo != $priceGroup.data('maxval')) { 11857 // priceString += priceTo; 11858 if (setPriceFrom == '') { 11859 setPriceFrom = 0; 11860 } 11861 setPriceTo = priceTo; 11862 } 11863 11864 if (setPriceFrom.length) { 11865 priceString = setPriceFrom; 11866 } 11867 if (setPriceFrom.length || setPriceTo.length) { 11868 priceString += '|'; 11869 } 11870 if (setPriceTo.length) { 11871 priceString += setPriceTo; 11872 } 11873 11874 if (priceString.length) { 11875 filterArrayAssoc['price_amount'] = priceString; 11876 selectedFilters['price_amount'] = priceString; 11877 } 11878 } 11879 /* price end */ 11880 11881 /* surenkam is paprastu lauku */ 11882 var tempArray = []; 11883 // reikia pataisymo 11884 $.each($('.bind-toggleFilterOption.active'), function(index, filter) { 11885 name = $(filter).data('filtergroup'); 11886 value = $(filter).data('filtervalue'); 11887 if (value != '') { 11888 11889 if (typeof filterArrayAssoc[name] == 'undefined') { 11890 filterArrayAssoc[name] = []; 11891 } 11892 filterArrayAssoc[name] = value; 11893 11894 if (typeof selectedFilters[name] == 'undefined') { 11895 selectedFilters[name] = []; 11896 } 11897 selectedFilters[name] = value; 11898 } 11899 }); 11900 11901 if (!$('.bind-toggleFilterOption.active').length) { 11902 if (selectedFilters['rating']) { 11903 selectedFilters['rating'] = null; 11904 filterArrayAssoc['rating'] = null; 11905 } 11906 if (selectedFilters['starsRating']) { 11907 selectedFilters['starsRating'] = null; 11908 filterArrayAssoc['starsRating'] = null; 11909 } 11910 } 11911 11912 $.each($('.bind-selectSortOption.active'), function(index, filter) { 11913 name = $(filter).data('filtergroup'); 11914 value = $(filter).data('filtervalue'); 11915 if (value != '') { 11916 11917 if (typeof filterArrayAssoc[name] == 'undefined') { 11918 filterArrayAssoc[name] = []; 11919 } 11920 filterArrayAssoc[name] = value; 11921 } 11922 if (name == 'order') { 11923 selectedOrder = value; 11924 } 11925 }); 11926 11927 $.each(filterArrayAssoc, function(index, val) { 11928 if (typeof(val) === 'object' && val !== null) { 11929 vals = []; 11930 $.each(val, function(index2, val2) { 11931 if (val2 == true) { 11932 vals.push(index2); 11933 } 11934 }); 11935 if (vals.length > 0) { 11936 filterArray.push(index); 11937 if (index == 'activeSubstance') { 11938 filterArray.push(vals.join('__')); 11939 } else { 11940 filterArray.push(vals.join(',')); 11941 } 11942 } 11943 } else if (val && val != '') { 11944 filterArray.push(index); 11945 if (typeof val == "string") { 11946 // val = val.replace(/ +(?= )/g,''); 11947 // val = val.replace(/ /g, '+'); 11948 } 11949 filterArray.push(val); 11950 } 11951 }); 11952 var filterString = ''; 11953 if (defaultOptions['page'] != 1 && !loadedList) { 11954 filterArray.push('page'); 11955 filterArray.push(defaultOptions['page']); 11956 } 11957 if (typeof categoryID != 'undefined') { 11958 filterArray.push('category'); 11959 filterArray.push(categoryID); 11960 } 11961 if (typeof prRules['onlyReg'] != 'undefined') { 11962 filterArray.push('onlyReg'); 11963 filterArray.push(1); 11964 } 11965 11966 if (filterArray.length > 0) { 11967 if ('15671' == 2299) { 11968 filterString = filterArray.join('/'); 11969 } else { 11970 if (prNavRoot.indexOf('?vars') >= 0) { 11971 filterString = '/' + filterArray.join('/'); 11972 } else { 11973 filterString = '?vars=' + filterArray.join('/'); 11974 } 11975 } 11976 } 11977 11978 history.pushState('', 'New URL:', prNavRoot + filterString); 11979 bannersDrawn = 0; 11980 page = 1; 11981 11982 if (!useLuigisProductsPage) { 11983 var legacyFilters = $.extend(true, {}, filterArrayAssoc); 11984 11985 if (legacyFilters['price_amount']) { 11986 legacyFilters['price'] = String(legacyFilters['price_amount']).replace('|', '__'); 11987 delete legacyFilters['price_amount']; 11988 } 11989 if (legacyFilters['rating']) { 11990 legacyFilters['starsRating'] = legacyFilters['rating']; 11991 delete legacyFilters['rating']; 11992 } 11993 11994 if (typeof updatePrListView === 'function') { 11995 updatePrListView(legacyFilters); 11996 } else if (typeof window.updatePrListView === 'function') { 11997 window.updatePrListView(legacyFilters); 11998 } 11999 return; 12000 } 12001 12002 callToSearch(false, false); 12003 } 12004 12005 $(document).on('click', '.bind-showMoreProducts', function() { 12006 if (prOptionsGroup === 'group') { 12007 return; 12008 } 12009 page++; 12010 callToSearch(true, true); 12011 }); 12012 12013 var debounceTimer; 12014 var facetSearchMoreLabel = "Vair\u0101k"; 12015 12016 function bnuResetFacetSearchList($group, $list) { 12017 if (!$list.length || !$list.data('defaultHtml')) { 12018 return; 12019 } 12020 12021 $list.html($list.data('defaultHtml')); 12022 12023 var $more = $group.find('.bind-showMoreFilters'); 12024 if ($more.length) { 12025 $more.removeClass('less').show().html(facetSearchMoreLabel); 12026 } 12027 12028 $list.find('li.hiddenOption').hide(); 12029 } 12030 12031 $(document).on('input', '.bind-searchFacet', function() { 12032 var input = $(this); 12033 var $group = input.closest('.bnuProductFilters__group'); 12034 var filterName = input.data('filter'); 12035 var query = input.val(); 12036 var list = $group.find('ul.bnuProductFilters__choices[name="' + filterName + '"]'); 12037 12038 if (!list.length) { 12039 list = $('ul.bnuProductFilters__choices[name="' + filterName + '"]'); 12040 $group = list.closest('.bnuProductFilters__group'); 12041 } 12042 12043 if (!list.length) { 12044 return; 12045 } 12046 12047 if (!list.data('defaultHtml')) { 12048 list.data('defaultHtml', list.html()); 12049 } 12050 12051 clearTimeout(debounceTimer); 12052 debounceTimer = setTimeout(function() { 12053 if (!query || !query.trim()) { 12054 bnuResetFacetSearchList($group, list); 12055 12056 if (typeof initLuigisFilterWidgets === 'function') { 12057 initLuigisFilterWidgets(); 12058 } 12059 return; 12060 } 12061 12062 $group.find('.bind-showMoreFilters').hide(); 12063 12064 var selected = []; 12065 list.find('.bind-applyFilter:checked').each(function() { 12066 selected.push($(this).val()); 12067 }); 12068 12069 ajaxHelper({ 12070 methodName: 'searchFacetValue', 12071 className: 'ProductsListHelper', 12072 args: { 12073 facet: filterName, 12074 query: query, 12075 selected: selected, 12076 context: { 12077 q: '', 12078 f: selectedFilters, 12079 pageSettingFilters: pageSettingFilters, 12080 initLoadRules: (typeof initLoadRules !== 'undefined') ? initLoadRules : null 12081 } 12082 } 12083 }, function(callback) { 12084 if (callback.success) { 12085 list.html(callback.return); 12086 if (typeof initLuigisFilterWidgets === 'function') { 12087 initLuigisFilterWidgets(); 12088 } 12089 } 12090 }, 'POST'); 12091 }, 500); 12092 }); 12093
12094 function bnuAppendProductsWrap(productsWrap) { 12095 var $list = $('.bnuProductListing__productsGrid .productsList').first(); 12096 if (!$list.length || !productsWrap) { 12097 return; 12098 } 12099 12100 var $wrap = $(productsWrap); 12101 var $newItems = $(); 12102 12103 if ($wrap.filter('.productsList').length) { 12104 $newItems = $wrap.filter('.productsList').children(); 12105 } else if ($wrap.find('.productsList').length) { 12106 $newItems = $wrap.find('.productsList').first().children(); 12107 } else { 12108 $newItems = $wrap; 12109 } 12110 12111 if ($newItems.length) { 12112 $list.append($newItems); 12113 } 12114 } 12115 12116 function bnuInsertSearchBanners(banners, insertOptions) { 12117 insertOptions = insertOptions || {}; 12118 if (!banners || typeof banners !== 'object') { 12119 return 0; 12120 } 12121 12122 var $list = $('.bnuProductListing__productsGrid .productsList').first(); 12123 if (!$list.length) { 12124 $list = $('.productsList').first(); 12125 } 12126 12127 var productItems = $list.find('.productItem__wrapCount'); 12128 if (!productItems.length) { 12129 return 0; 12130 } 12131 12132 var pageSize = parseInt(insertOptions.pageSize, 10); 12133 if (!pageSize && typeof ogPageSize !== 'undefined') { 12134 pageSize = parseInt(ogPageSize, 10); 12135 } 12136 if (!pageSize) { 12137 pageSize = productItems.length; 12138 } 12139 12140 // Replaced pages only contain the current page of products, so always 12141 // place banners in that rendered set. Appended pages keep using the 12142 // newly loaded range. 12143 var listPage = insertOptions.append ? (parseInt(insertOptions.page, 10) || 1) : 1; 12144 var min = (listPage - 1) * pageSize; 12145 var max = Math.min(productItems.length - 1, (listPage * pageSize) - 1); 12146 if (max < min) { 12147 min = 0; 12148 max = productItems.length - 1; 12149 } 12150 if (max < 0) { 12151 return 0; 12152 } 12153 12154 var inserted = 0; 12155 $.each(banners, function(bannerId, html) { 12156 if (!html) { 12157 return; 12158 } 12159 12160 var number = Math.floor(Math.random() * (max - min + 1) + min); 12161 var position = productItems[number]; 12162 if (!position) { 12163 return; 12164 } 12165 12166 var originalProduct = $(position).closest('.productItem'); 12167 originalProduct.before(html); 12168 inserted++; 12169 12170 if (!insertOptions.append) { 12171 var totalVisible = $list.children('.productItem:visible, .productItem--hasBanner:visible').length; 12172 if (totalVisible > pageSize) { 12173 originalProduct.hide(); 12174 } 12175 } 12176 }); 12177 12178 if (inserted && typeof checkPictureVisibility === 'function') { 12179 checkPictureVisibility(); 12180 } 12181 12182 if (inserted && typeof eshopEvent_promotionImpression === 'function') { 12183 $list.find('.productItem .bannerLink').each(function() { 12184 var $link = $(this); 12185 var promoData = $link.data('promodata'); 12186 if (!$link.isInViewport() || !promoData || !promoData.ID) { 12187 return; 12188 } 12189 if (!eshopEvent_visiblePromotions[promoData.ID]) { 12190 eshopEvent_visiblePromotions[promoData.ID] = promoData; 12191 } 12192 }); 12193 eshopEvent_promotionImpression(eshopEvent_visiblePromotions); 12194 } 12195 12196 return inserted; 12197 } 12198 12199 function callToSearch(append = false, searchForBanners = false) { 12200 bnuSetFilterLoading(true, { productsOnly: append === true }); 12201 12202 // === STRICT FILTER SEPARATION FOR AJAX === 12203 // selectedFilters: Customer-selected filters (goes to URL endpoint) 12204 // pageSettingFilters: Page settings (goes ONLY to POST body) 12205 var args = {}; 12206 args['customerFilters'] = selectedFilters; // Customer filters - for URL 12207 args['pageSettingFilters'] = pageSettingFilters; // Page settings - for POST body only 12208 args['facets'] = pageFilters; 12209 // Legacy support - also send as pageRules 12210 args['pageRules'] = JSON.stringify(pageSettingFilters); 12211 args['options'] = {}; 12212 args['options']['redraw'] = true; 12213 args['options']['page'] = prOptionsGroup === 'group' ? 1 : page; 12214 args['options']['categoryID'] = '15671'; 12215 args['options']['order'] = 'discount_desc'; 12216 args['options']['selectedOrder'] = selectedOrder; 12217 args['options']['pageSize'] = pageSize; 12218 args['options']['productsDrawn'] = productsDrawn; 12219 args['options']['bannersDrawn'] = bannersDrawn; 12220 args['options']['group'] = prOptionsGroup; 12221 12222 // Pass ID ordering options if set (use JS variables set at page load
12222) 12223 // Only when prIDsFilterOrder page setting is checked - prIDsFilterOrder/sortByIDs are set by PHP 12224 // For filter changes: do NOT preserve totalHits - let Luigi's Box return new count 12225 if (prIDsFilterOrder || sortByIDs) { 12226 args['options']['prIDsFilterOrder'] = true; 12227 args['options']['sortByIDs'] = true; 12228 args['options']['originalIDOrder'] = originalIDOrder; 12229 args['options']['idOrderingTotalHits'] = idOrderingTotalHits; 12230 // Note: NOT passing preserveTotalHits here - filter changes should get fresh count 12231 } 12232 12233 var loadedBanners = {}; 12234 12235 $.each($('.bannerLink'), function(index, b) { 12236 loadedBanners[$(b).data('id')] = $(b).data('id'); 12237 }); 12238 if (!$.isEmptyObject(loadedBanners)) { 12239 args['options']['beforeLoadedBanners'] = loadedBanners; 12240 } 12241 if (typeof initLoadRules != 'undefined') { 12242 args['options']['initLoadRules'] = initLoadRules; 12243 } 12244 if (typeof isOTCPage !== 'undefined') { 12245 args['options']['isOTCPage'] = !!isOTCPage; 12246 } 12247 12248 if (append == false) { 12249 args['options']['ajax'] = false; 12250 } else { 12251 args['options']['ajax'] = true; 12252 } 12253 12254 ajaxHelper({ 12255 'className': 'ProductsListHelper', 12256 'methodName': 'search', 12257 'args': args 12258 }, 12259 function(callback) {
12260 $('.bnProductCard').parent().show(); 12261 bnuSetFilterLoading(false, { productsOnly: append === true }); 12262 if (callback.success) { 12263 if (callback.return.filtersWrap) { 12264 if (typeof bnuReplaceFilterGroups === 'function') { 12265 bnuReplaceFilterGroups(callback.return.filtersWrap); 12266 } else { 12267 $('.bnuProductFilters__groups').html(callback.return.filtersWrap); 12268 if (typeof initLuigisFilterWidgets === 'function') { 12269 initLuigisFilterWidgets(); 12270 } 12271 } 12272 } 12273 if (callback.return.productsWrap) { 12274 if (append === false) { 12275 $('.bnuProductListing__productsGrid').html(callback.return.productsWrap); 12276 } else { 12277 bnuAppendProductsWrap(callback.return.productsWrap); 12278 } 12279 productsDrawn = $('.productItem').length; 12280 12281 // Refresh lazy loading for new product images 12282 if (typeof checkPictureVisibility === 'function') { 12283 checkPictureVisibility(); 12284 } 12285 12286 if (typeof window.bnuCollectProductImpressions === 'function') { 12287 window.bnuCollectProductImpressions($('.bnuProductListing__products'), { fireEvent: true }); 12288 } 12289 } 12290 if (prOptionsGroup === 'group') {
12291 $('.bnuProductListing__pagination').html('').removeClass('bnuProductListing__pagination--hasPages'); 12292 } else if (callback.return.paginationHtml) { 12293 $('.bnuProductListing__pagination').html(callback.return.paginationHtml); 12294 } else if (callback.return.showMoreHolder) { 12295 $('.bnuProductListing__pagination').html(callback.return.showMoreHolder); 12296 } else { 12297 $('.bnuProductListing__pagination').html('').removeClass('bnuProductListing__pagination--hasPages'); 12298 } 12299 12300 if (callback.return.countShowing) { 12301 $('.bnuProductListing__resultsCount--top .bnuProductListing__resultsCountRange').html(callback.return.countShowing); 12302 $('.bnuProductListing__resultsCount--bottom .bnuProductListing__resultsCountRange').html(callback.return.countShowing); 12303 } 12304 12305 $('.b
12305nuProductListing__resultsCountTotal').html(callback.return.totalHits); 12306 12307 // Update idOrderingTotalHits for subsequent pagination 12308 // This ensures pagination preserves the totalHits from current filter state 12309 if (callback.return.totalHits && (prIDsFilterOrder || sortByIDs)) { 12310 idOrderingTotalHits = parseInt(callback.return.totalHits); 12311 } 12312 12313 // Update URL with page number when appending products 12314 if (append === true) { 12315 var filterString = ''; 12316 filterString = window.location.href.replace(prNavRoot, ''); 12317 if (filterString.length <= 0) { 12318 filterString += '?vars=page/' + page; 12319 } else { 12320 if (filterString.indexOf('page/') >= 0) { 12321 filterString = filterString.substr(0, filterString.indexOf('page/') + 5); 12322 filterString += page; 12323 } else { 12324 if (filterString.indexOf('?vars') >= 0) { 12325 filterString += '/page/' + page; 12326 } else { 12327 filterString += '?vars=page/' + page; 12328 } 12329 } 12330 } 12331 history.pushState('', 'New URL:', prNavRoot + filterString); 12332 } 12333 12334 if (callback.return.banners) { 12335 bannersDrawn += bnuInsertSearchBanners(callback.return.banners, { 12336 append: append === true, 12337 page: page, 12338 pageSize: ogPageSize 12339 }); 12340 } 12341 productsDrawn = $('.productItem').length; 12342 } else { 12343 console.log(callback); 12344 } 12345 }, 12346 'POST' 12347 ); 12348 } 12349 12350 $(function() { 12351 isInitializing = false; 12352 }); 12353</script>
12353 12354 </div> 12355 </main> 12356 12357 12358 <div class="bnuPromoBarSliderWrap bind-promoBarSliderWrap--bottom" role="region" aria-label="Promotion"> 12359 <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> 12360 12361 12362 <footer id="footer" class="bnuFooter cache-on"> 12363 <div class="bnuFooter__main"> 12364 <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">
12364<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> 12365 <div class="bnuContainer"> 12366 <div class="bnuFooter__top"> 12367 <div class="bnuFooter__logoWrap"> 12368 <a href="https://www.benu.lv/" class="bnuLogo" aria-label="BENU.LV â e-Aptieka vienmÄr Tev blakus!"> 12369 <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> 12370 12371 <ul class="bnuFooter__contacts"> 12372 <li class="bnuFooter__contactsHelp"> 12373 VajadzÄ«ga palÄ«dzÄ«ba ? </li> 12374 <li> 12375 <a href="tel:+37125621621"> 12376 <i class="fa-light fa-phone" aria-hidden="true"></i> 12377 +37125621621 <span>I-V 9.00â17.00</span> 12378 </a> 12379 </li> 12380 <li> 12381 <a href="mailto:[email protected]"> 12382 <i class="fa-light fa-envelope-open" aria-hidden="true"></i> 12383 [email protected] </a> 12384 </li> 12385 </ul> 12386 12387 <div class="bnuFooter__loyaltyCards"> 12388 <a class="bnuFooter__loyaltyCard bnuFooter__loyaltyCard--benu" href="https://www.benu.lv/benu-karte"> 12389 <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> 12390 </div> 12391 12392 <div class="bnuFooter__appIcons"> 12393 <a 12394 href="https://play.google.com/store/apps/details?id=lv.benu.app" 12395 title="LejupielÄdÄt no Google Play" 12396 target="_blank" 12397 rel="noopener noreferrer" 12398 class="hide-iosapp" 12399 > 12400 <img aria-hidden="true" src="application/images/google-play.png" alt="LejupielÄdÄt no Google Play"> 12401 </a> 12402 <a 12403 href="https://apps.apple.com/lv/app/benu-aptieka/id1363098220" 12404 title="LejupielÄdÄjiet no App Store" 12405 target="_blank" 12406 rel="noopener noreferrer" 12407 > 12408 <img src="application/images/app-store.png" alt="LejupielÄdÄjiet no App Store"> 12409 </a> 12410 </div> 12411 </div> 12412 12413 <div class="bnuFooter__menus"> 12414 <div class="block widget block-footerWidget widget-footerWidget1" id="widget-footerWidget1"> 12415 <div class="bnuFooterWidget bnuFooterWidget--menu"> 12416 <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"> 12417 <li class="module-2301 lvl-1 menu_noChilds" data-lvl="1"> 12418 <a class="module-2301 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/par-benu">Par BENU</a> 12419 </li> 12420 <li class="module-2960 lvl-1 menu_noChilds" data-lvl="1"> 12421 <a class="module-2960 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/benu-akademija">Benu Blogs</a> 12422 </li> 12423 <li class="module-2963 lvl-1 menu_noChilds" data-lvl="1"> 12424 <a class="module-2963 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/aptiekas">Aptiekas</a> 12425 </li> 12426 </ul></div></details></div> </div> 12427 </div> <div class="block widget block-footerWidget widget-footerWidget2" id="widget-footerWidget2"> 12428 <div class="bnuFooterWidget bnuFooterWidget--menu"> 12429 <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"> 12430 <li class="module-2305 lvl-1 menu_noChilds" data-lvl="1"> 12431 <a class="module-2305 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/kontakti">BENU Aptieka kontakti</a> 12432 </li> 12433 <li class="module-3015 lvl-1 menu_noChilds" data-lvl="1"> 12434 <a class="module-3015 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/piegade">PiegÄde</a> 12435 </li> 12436 <li class="module-2949 lvl-1 menu_noChilds" data-lvl="1"> 12437 <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> 12438 </li> 12439 <li class="module-2950 lvl-1 menu_noChilds" data-lvl="1"> 12440 <a class="module-2950 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/palidziba/ka-iepirkties">KÄ iepirkties</a> 12441 </li> 12442 </ul></div></details></div> </div> 12443 </div> <div class="block widget block-footerWidget widget-footerWidget3" id="widget-footerWidget3"> 12444 <div class="bnuFooterWidget bnuFooterWidget--menu"> 12445 <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"> 12446 <li class="module-15382 lvl-1 menu_noChilds" data-lvl="1"> 12447 <a class="module-15382 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/lietosanas-noteikumi">LietoÅ¡anas noteikumi</a> 12448 </li> 12449 <li class="module-10728 lvl-1 menu_noChilds" data-lvl="1"> 12450 <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> 12451 </li> 12452 <li class="module-2969 lvl-1 menu_noChilds" data-lvl="1"> 12453 <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> 12454 </li> 12455 <li class="module-3052 lvl-1 menu_noChilds" data-lvl="1"> 12456 <a class="module-3052 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/sikfailu-politika">SÄ«kfailu politika</a> 12457 </li> 12458 <li class="module-13987 lvl-1 menu_noChilds" data-lvl="1"> 12459 <a class="module-13987 lvl-1 menu_noChilds" data-lvl="1" href="https://www.benu.lv/videonoverosanas-politika">VideonovÄroÅ¡anas politika</a> 12460 </li> 12461 <li class="module-15415 lvl-1 menu_noChilds" data-lvl="1"> 12462 <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> 12463 </li> 12464 <li class="module-15417 lvl-1 menu_noChilds" data-lvl="1"> 12465 <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> 12466 </li> 12467 <li class="module-16065 lvl-1 menu_noChilds" data-lvl="1"> 12468 <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> 12469 </li> 12470 </ul></div></details></div> </div> 12471 </div> <div class="block widget block-footerWidget widget-footerWidget4" id="widget-footerWidget4"> 12472 <div class="bnuFooterWidget bnuFooterWidget--menu"> 12473 <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"> 12474 <li class="module-14346 lvl-1 menu_noChilds" data-lvl="1"> 12475 <a class="module-14346 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/benu-karte">BENU karte</a> 12476 </li> 12477 <li class="module-14343 lvl-1 menu_noChilds" data-lvl="1"> 12478 <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> 12479 </li> 12480 <li class="module-14344 lvl-1 menu_noChilds" data-lvl="1"> 12481 <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> 12482 </li> 12483 <li class="module-14345 lvl-1 menu_noChilds" data-lvl="1"> 12484 <a class="module-14345 lvl-1 menu_noChilds" data-lvl="1" target="_self" href="https://www.benu.lv/benu-aplikacija">BENU lietotne</a> 12485 </li> 12486 <li class="module-14342 lvl-1 menu_noChilds" data-lvl="1"> 12487 <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> 12488 </li> 12489 </ul></div></details></div> </div> 12490 </div> </div> 12491 </div> 12492 </div> 12493 </div> 12494 12495 <hr> 12496 12497 <div class="bnuContainer"> 12498 <div class="bnuFooter__body"> 12499 <div class="bnuFooter__middlePrimary"> 12500 <div class="block widget block-footerWidget widget-footerWidget5" id="widget-footerWidget5"> 12501 <div class="bnuFooterWidget bnuFooterWidget--newsletter"> 12502 <h3>Piesakies un esi pirmais, kas uzzina BENU jaunumus!</h3> 12503 <form class="newsletter" novalidate> 12504 <div class="bnuFooterWidget__newsletterInputs"> 12505 <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> 12506 <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> 12507 <div class="sendmsgsuccess"> 12508 <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> 12509 </div> 12510 </div> 12511
12511<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 12512 $(document).ready(function() { 12513 var mandatoryError = "\u0160is ir oblig\u0101ti aizpild\u0101mais lauks."; 12514 12515 $(document).on('focus', '.newsletter .bnuInput', function() { 12516 $(this).closest('.newsletter').find('.privacyPolicy').show(); 12517 }); 12518 12519 $(document).on('submit', '.newsletter', async function(e) { 12520 e.preventDefault(); 12521 var $form = $(this); 12522 clearFormErrors($form); 12523 12524 var formData = {}; 12525 formData['email'] = $form.find('input[type="email"]').val(); 12526 formData['policy'] = $form.find('input#privacyPolicy').prop('checked'); 12527 12528 var errors = {}; 12529 if (!formData['email']) { 12530 errors['newsletterEmail'] = mandatoryError; 12531 } 12532 if (!formData['policy']) { 12533 errors['privacyPolicy'] = mandatoryError; 12534 } 12535 if (!$.isEmptyObject(errors)) { 12536 handleFormCallback({ return: { errors: errors } }, { form: $form }); 12537 return false; 12538 } 12539 12540 let captchaToken = ''; 12541 try { 12542 captchaToken = await generateCaptchaToken('newsletterFooter'); 12543 } catch (error) { 12544 return; 12545 } 12546 12547 var data = {}; 12548 data['methodName'] = 'BENUsubscribeNewsletter'; 12549 data['args'] = { 12550 'formName': 'Newsletter', 12551 'data': formData, 12552 'captchaToken': captchaToken 12553 }; 12554 ajaxHelper( 12555 data, 12556 function(callback) { 12557 if (callback.return && !callback.return.error) { 12558 $('.footer__widget--newsletter').remove(); 12559 $('.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>'); 12560 $('.block-footerWidget .sendmsgsuccess').addClass('active'); 12561 } else if (!callback.return.error) { 12562 $('.footer__widget--newsletter').remove(); 12563 $('.block-footerWidget .sendmsgsuccess').html('<p>JÅ«s jau esat pierakstÄ«jies jaunumiem.</p>'); 12564 $('.block-footerWidget .sendmsgsuccess').addClass('active'); 12565 } else if (callback.return.error) { 12566 $form.after(callback.return.error); 12567 } 12568 }, 12569 'POST' 12570 ); 12571 }); 12572 }); 12573 </script>
12573 12574</div> </div> 12575 12576 <div class="bnuFooter__disclaimer"> 12577 <div class="bnuFooter__captchaDisclaimer"> 12578 <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> 12579 Å 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> 12580 </div> 12581 </div> 12582 12583 <div class="bnuFooter__social"> 12584 <h3>Seko mums</h3> 12585 <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> 12586 </div> 12587 12588 <div class="bnuFooter__extras"> 12589 <div class="bnuFooter__extrasPrimary"> 12590 <div class="block widget block-footerWidget widget-footerWidget6" id="widget-footerWidget6"> 12591 <div class="bnuFooterWidget bnuFooterWidget--text"> 12592 <p></p> 12593<table border="1" style="border-collapse: collapse; width: 100%;"> 12594<tbody> 12595<tr class="splitMobileFooterWidgets"> 12596<td style="width: 50%;"> 12597<h3>BENU Aptieka Latvija, SIA</h3> 12598<p>JuridiskÄ adrese / FaktiskÄ adrese:<br />Noliktavu iela 5, DreiliÅi, StopiÅu novads, LV-2130</p> 12599<p>ReÄ£istrÄcijas Nr.: 40003252167</p> 12600<div id="gtx-trans" style="position: absolute; left: 138px; top: 35.4375px;"> 12601<div class="gtx-trans-icon"> </div> 12602</div> 12603</td> 12604<td style="width: 25%;"> 12605<h3>Licence</h3> 12606<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> 12607<p><a href="https://benu-lv.tamro.lt/benu-48"><strong>Aptiekas kontakti: </strong></a>67 597 438</p> 12608<p><strong>Aptiekas vadÄ«tÄja:</strong> </p> 12609<p>SertificÄta farmaceite: Jeļena GonÄarova</p> 12610<p>ReÄ£istrÄcijas Nr.: F-0834</p> 12611<p>SertifikÄta Nr.: 215.2025</p> 12612<div id="gtx-trans" style="position: absolute; left: 138px; top: 35.4375px;"> 12613<div class="gtx-trans-icon"></div> 12614</div> 12615</td> 12616<td style="width: 25%;"> 12617<h3>Kontakti</h3> 12618<p><b>BENU Aptieka 48</b></p> 12619<p>TÄlr.: 67597438</p> 12620<p>E-pasts: [email protected]</p> 12621<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> 12622<p>Darba laiks: P.-Pk. 9:00 - 17:00</p> 12623</td> 12624</tr> 12625</tbody> 12626</table> 12627<div class="bnFlagsHolder"></div> </div> 12628</div> <div class="block widget block-footerWidget widget-footerWidget9" id="widget-footerWidget9"> 12629 <div class="bnuFooterWidget bnuFooterWidget--eshops"> 12630 <a href="https://www.benu.lv/" target="_blank" rel="noopener noreferrer"> 12631 <img src="https://www.benu.lv/media/images/flagIcons/lv.png" alt="ApmeklÄjiet benu.lv"> 12632 </a> 12633 <a href="https://www.benu.lt/" target="_blank" rel="noopener noreferrer"> 12634 <img src="https://www.benu.lv/media/images/flagIcons/lt.png" alt="ApmeklÄjiet benu.lt"> 12635 </a> 12636 <a href="https://www.benu.ee/" target="_blank" rel="noopener noreferrer"> 12637 <img src="https://www.benu.lv/media/images/flagIcons/ee.png" alt="ApmeklÄjiet benu.ee"> 12638 </a> 12639 <a href="https://www.benu.cz/" target="_blank" rel="noopener noreferrer"> 12640 <img src="https://www.benu.lv/media/images/flagIcons/cz.png" alt="ApmeklÄjiet benu.cz"> 12641 </a> 12642 <a href="https://www.benu.ch/" target="_blank" rel="noopener noreferrer"> 12643 <img src="https://www.benu.lv/media/images/flagIcons/ch.png" alt="ApmeklÄjiet benu.ch"> 12644 </a> 12645 <a href="https://benu.bg/" target="_blank" rel="noopener noreferrer"> 12646 <img src="https://www.benu.lv/media/images/flagIcons/bg.png" alt="ApmeklÄjiet benu.bg"> 12647 </a> 12648 <a href="https://www.benulekaren.sk/" target="_blank" rel="noopener noreferrer"> 12649 <img src="https://www.benu.lv/media/images/flagIcons/sk.png" alt="ApmeklÄjiet benu.sk"> 12650 </a> 12651 <a href="https://www.benu.hu/" target="_blank" rel="noopener noreferrer"> 12652 <img src="https://www.benu.lv/media/images/flagIcons/hu.png" alt="ApmeklÄjiet benu.hu"> 12653 </a> 12654 <a href="https://www.benu.nl/" target="_blank" rel="noopener noreferrer"> 12655 <img src="https://www.benu.lv/media/images/flagIcons/nl.png" alt="ApmeklÄjiet benu.nl"> 12656 </a> 12657 <a href="https://www.benu.rs/" target="_blank" rel="noopener noreferrer"> 12658 <img src="https://www.benu.lv/media/images/flagIcons/rs.png" alt="ApmeklÄjiet benu.rs"> 12659 </a> 12660 </div> 12661 </div> </div> 12662 <div class="bnuFooter__extrasSecondary"> 12663 <div class="block widget block-footerWidget widget-footerWidget7" id="widget-footerWidget7"> 12664 <div class="bnuFooterWidget bnuFooterWidget--certificates"> 12665 <div class="bnuFooterWidget__certificatesLayout"> 12666 <div class="bnuFooterWidget__certificatesContent"> 12667 <table border="1" style="border-collapse: collapse; width: 100%;"> 12668<tbody> 12669<tr> 12670<td style="width: 50%;"> 12671<h3>ZÄļu valsts aÄ£entÅ«ra</h3> 12672<p class="mobile-hide"><a href="https://www.zva.gov.lv/">www.zva.gov.lv</a> </p> 12673<p class="mobile-hide">
12673Jersikas iela 15, RÄ«ga</p> 12674<p class="mobile-hide">TÄlr: 67 078 424</p> 12675<p class="mobile-hide">E-pasts: [email protected]</p> 12676</td> 12677<td style="width: 50%;"> 12678<h3><span>VeselÄ«bas inspekcija</span></h3> 12679<p class="mobile-hide"><a href="http://www.vi.gov.lv"><span>www.vi.gov.lv</span></a></p> 12680<p class="mobile-hide"><span>KlijÄnu iela 7, RÄ«ga</span></p> 12681<p class="mobile-hide"><span>TÄlr: 67081600</span></p> 12682<p class="mobile-hide"><span>E-pasts: [email protected]</span></p> 12683</td> 12684</tr> 12685</tbody> 12686</table> </div> 12687 12688 <div class="bnuFooterWidget__certificatesImages"> 12689 <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=""> 12690 <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> 12691 </div> 12692 </div> 12693 </div> 12694</div> </div> 12695 </div> 12696 12697 <div class="bnuFooter__bottom"> 12698 <div class="bnuFooter__info"> 12699 <span>© 2026 <a href="https://www.benu.lv/">BENU.LV</a>. Visas tiesÄ«bas aizsargÄtas.</span> 12700 <span>Lapa atjauninÄta: 24.09.2026.</span> 12701 </div> 12702 <div class="bnuFooter__bottomLogos"> 12703 <div class="block widget block-footerWidget widget-footerWidget8" id="widget-footerWidget8"> 12704 <div class="bnuFooterWidget bnuFooterWidget--logos"> 12705 <a target="_blank" rel="noopener noreferrer" href="https://www.salidzini.lv/" aria-label="Logo"> 12706 <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> 12707 <a target="_blank" rel="noopener noreferrer" href="https://www.kurpirkt.lv/" aria-label="Logo"> 12708 <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> 12709 </div> 12710</div> </div> 12711 </div> 12712 </div> 12713 </div> 12714 </footer> 12715 12716 12717<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> 12718 <h2 id="oldBrowser-title">PÄrlÅ«kprogramma ir jÄatjaunina</h2> 12719</header> 12720<section id="oldBrowser-body"> 12721 <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> 12722 <div class="bnuOldBrowserDialog__browsers"> 12723 <a 12724 href="https://www.mozilla.org/" 12725 target="_blank" 12726 rel="noopener noreferrer" 12727 title="Firefox" 12728 > 12729 <img 12730 loading="lazy" 12731 class="bnuOldBrowserDialog__logo" 12732 src="application/images/firefox_logo.svg" 12733 alt="Firefox" 12734 width="50" 12735 height="50" 12736 > 12737 </a> 12738 <a 12739 href="https://www.opera.com/" 12740 target="_blank" 12741 rel="noopener noreferrer" 12742 title="Opera" 12743 > 12744 <img 12745 loading="lazy" 12746 class="bnuOldBrowserDialog__logo bnuOldBrowserDialog__logo--opera" 12747 src="application/images/opera_logo.svg" 12748 alt="Opera" 12749 width="50" 12750 height="50" 12751 > 12752 </a> 12753 <a 12754 href="https://www.google.com/chrome/" 12755 target="_blank" 12756 rel="noopener noreferrer" 12757 title="Chrome" 12758 > 12759 <img 12760 loading="lazy" 12761 class="bnuOldBrowserDialog__logo" 12762 src="application/images/chrome_logo.svg" 12763 alt="Chrome" 12764 width="50" 12765 height="50" 12766 > 12767 </a> 12768 <a 12769 href="https://www.microsoft.com/edge/" 12770 target="_blank" 12771 rel="noopener noreferrer" 12772 title="Edge" 12773 > 12774 <img 12775 loading="lazy" 12776 class="bnuOldBrowserDialog__logo" 12777 src="application/images/edge_logo.svg" 12778 alt="Edge" 12779 width="50" 12780 height="50" 12781 > 12782 </a> 12783 <a 12784 href="https://www.apple.com/safari/" 12785 target="_blank" 12786 rel="noopener noreferrer" 12787 title="Safari" 12788 > 12789 <img 12790 loading="lazy" 12791 class="bnuOldBrowserDialog__logo" 12792 src="application/images/safari_logo.svg" 12793 alt="Safari" 12794 width="50" 12795 height="50" 12796 > 12797 </a> 12798 </div> 12799</section> 12800<footer> 12801 <form method="dialog"> 12802 <button class="bnuButton bnuButton--secondaryLight" value="continue" type="submit"><span>TurpinÄt tik un tÄ</span></button> </form> 12803</footer> 12804</dialog>
12804<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" type="text/plain" data-cookieconsent="statistics"> 12805 function formatNBORequest(items, interactionType, opts) { 12806 var position = ''; 12807 TrackerPlugin.log({ 12808 'action': 'formatNBORequest', 12809 'interactionType': interactionType, 12810 'items': items, 12811 'opts': opts 12812 }); 12813 12814 if (interactionType == 'bought') { 12815 items.push({ 12816 'documentNumberList': opts['documentNumberList'], 12817 'interactionTypeList': interactionType, 12818 }); 12819 } else if (interactionType == 'viewed' && opts != undefined) { 12820 items.push({ 12821 'interactionTypeList': interactionType, 12822 'data-recommendation-id': opts['data-recommendation-id'] 12823 }); 12824 12825 if (items['data-recommendation-id'] == '') { 12826 items.push({ 12827 'data-recommendation-id': function() { 12828 var targetData = $('.productData_wrap-' + items[0]['id'] + ' .promoProduct').data(); 12829 if (targetData != null) { 12830 var _tempData = targetData; 12831 return _tempData['recommendationId']; 12832 } 12833 if (typeof window.bnuReadProductRecommendation === 'function') { 12834 var stored = window.bnuReadProductRecommendation(); 12835 if (stored && stored.id) { 12836 return stored.id; 12837 } 12838 } 12839 let isPromoLinkExist = (location.search.split('recommendationID' + '=')[1] || '').split('&')[0]; 12840 if (isPromoLinkExist != null) { 12841 return isPromoLinkExist; 12842 } 12843 return false; 12844 }() 12845 }); 12846 } 12847 } else { 12848 items.push({ 12849 'interactionTypeList': interactionType, 12850 'data-recommendation-id': function() { 12851 var targetData = $('.productData_wrap-' + items[0]['id'] + ' .promoProduct').data(); 12852 if (targetData != null) { 12853 var _tempData = targetData; 12854 return _tempData['recommendationId']; 12855 } 12856 if (typeof window.bnuReadProductRecommendation === 'function') { 12857 var stored = window.bnuReadProductRecommendation(); 12858 if (stored && stored.id) { 12859 return stored.id; 12860 } 12861 } 12862 let isPromoLinkExist = (location.search.split('recommendationID' + '=')[1] || '').split('&')[0]; 12863 if (isPromoLinkExist != null) { 12864 return isPromoLinkExist; 12865 } 12866 return false; 12867 }() 12868 }); 12869 } 12870 12871 var data = {}; 12872 data['args'] = {}; 12873 data['args']['data'] = items; 12874 12875 if (opts && opts['positionList']) { 12876 data['args']['additionalData'] = { 12877 'positionList': opts['positionList'] 12878 }; 12879 } 12880 12881 data['className'] = 'NBOTracker'; 12882 data['methodName'] = 'formatNBORequest'; 12883 12884 ajaxHelper( 12885 data, 12886 function(callback) {}, 12887 'POST' 12888 ); 12889 } 12890 12891 function formatBuyerData(orderData) { 12892 var buyerData = { 12893 'email': orderData['email'], 12894 'phone_number': orderData['phone'], 12895 'first_name': orderData['firstName'], 12896 'last_name': orderData['lastName'], 12897 'street': orderData['address'], 12898 'city': orderData['city'], 12899 } 12900 const postCode = orderData?.postCode || ''; 12901 if (postCode.includes('-')) { 12902 buyerData['postal_code'] = postCode.split('-')[1] || postCode;
12903 } else { 12904 buyerData['postal_code'] = postCode; 12905 } 12906 switch (intuero.appName) { 12907 case 'benu-eshop-lt': 12908 buyerData['country'] = 'LT'; 12909 break; 12910 case 'benu-eshop-ee': 12911 buyerData['country'] = 'EE'; 12912 break; 12913 case 'benu-eshop-lv': 12914 buyerData['country'] = 'LV'; 12915 break; 12916 } 12917 return buyerData; 12918 } 12919 12920 // Tikrinam ar prekÄ atkeliavo iÅ¡ krepÅ¡elio promotion 12921 $(document).ready(function() { 12922 trackerOptions = { 12923 'promoSource': 'recommendationSource', 12924 } 12925 promotionData = []; 12926 var promoSource = ''; 12927 if (typeof window.bnuReadProductRecommendation === 'function') { 12928 var storedRecommendation = window.bnuReadProductRecommendation(); 12929 if (storedRecommendation && storedRecommendation.source) { 12930 promoSource = storedRecommendation.source; 12931 } 12932 } 12933 if (!promoSource) { 12934 var results = new RegExp('[\?&]' + trackerOptions['promoSource'] + '=([^&#]*)').exec(window.location.href); 12935 if (results != null) { 12936 promoSource = decodeURI(results[1]) || ''; 12937 } 12938 } 12939 if (promoSource == 'you_might_like') { 12940 promotionData.push({ 12941 'id': product['ID'] 12942 }); 12943 formatNBORequest(promotionData, 'clicked'); 12944 } 12945 }); 12946 12947 function formatGItemData(productData) { 12948 if (typeof productData == 'undefined') { 12949 return false; 12950 } 12951 var item = {}; 12952 if (typeof productData['ID'] != 'undefined') { 12953 item['item_id'] = String(productData['ID']); 12954 } 12955 if (typeof productData['name'] != 'undefined') { 12956 item['item_name'] = productData['name']; 12957 } 12958 if (typeof productData['category'] != 'undefined') { 12959 item['item_category'] = productData['category']; 12960 } 12961 if (typeof productData['bltCatThirdLvl'] != 'undefined') { 12962 item['item_list_name'] = productData['bltCatThirdLvl']; 12963 item['item_list_id'] = productData['bltCatThirdLvl']; 12964 } 12965 if (typeof productData['item_list_name'] != 'undefined') { 12966 item['item_list_name'] = productData['item_list_name']; 12967 item['item_list_id'] = productData['item_list_name']; 12968 } 12969 if (typeof productData['realPr'] != 'undefined') { 12970 if (typeof productData['realPr']['bltCatThirdLvl'] != 'undefined') { 12971 item['item_list_name'] = productData['realPr']['bltCatThirdLvl']; 12972 item['item_list_id'] = productData['realPr']['bltCatThirdLvl']; 12973 } 12974 12975 if (typeof productData['realPr']['lastLuigisUrl'] != 'undefined') { 12976 item['lbx_id'] = productData['realPr']['lastLuigisUrl']; 12977 } 12978 } 12979 if (typeof productData['brandText'] != 'undefined') { 12980 if (productData['brandText']) { 12981 item['item_brand'] = productData['brandText']; 12982 } 12983 } 12984 if (typeof productData['price'] != 'undefined') { 12985 item['price'] = Number(productData['price']); 12986 } 12987 if (typeof productData['qnt'] != 'undefined') { 12988 item['quantity'] = Number(productData['qnt']); 12989 } 12990 if (typeof productData['qntInCart'] != 'undefined') { 12991 item['quantity'] = Number(productData['qntInCart']); 12992 } 12993 if (typeof productData['discountReason'] != 'undefined') { 12994 item['coupon'] = productData['discountReason']; 12995 } 12996 if (typeof productData['discountAmount'] != 'undefined') { 12997 item['discountAmount'] = productData['discountAmount']; 12998 } 12999 if (typeof productData['discountPercent'] != 'undefined') { 13000 item['discountPercent'] = productData['discountPercent']; 13001 } 13002 if (typeof productData['prescriptionNo'] != 'undefined') { 13003 item['prescriptionNo'] = productData['prescriptionNo']; 13004 } 13005 if (typeof productData['drugType'] != 'undefined') { 13006 item['drugType'] = productData['drugType']; 13007 if (productData['drugType'] == 'RX' || productData['drugType'] == 'OTC') { 13008 item['item_list_name'] = productData['drugType']; 13009 item['item_brand'] = productData['drugType']; 13010 item['item_category'] = productData['drugType']; 13011 item['item_name'] = productData['drugType']; 13012 item['item_category'] = productData['drugType']; 13013 item['item_list_id'] = productData['drugType']; 13014 } 13015 } 13016 if (typeof productData['chatID'] != 'undefined') { 13017 item['chatID'] = productData['chatID']; 13018 } 13019 if (typeof productData['_trackerDimensions'] != 'undefined') { 13020 if (typeof productData['_trackerDimensions'] == 'object') { 13021 $.each(productData['_trackerDimensions'], function(index, value) { 13022 item['dimension' + index] = value; 13023 }); 13024 } 13025 } 13026 if (typeof productData['_trackerMetrics'] != 'undefined') { 13027 if (typeof productData['_trackerMetrics'] == 'object') { 13028 $.each(productData['_trackerMetrics'], function(index, value) { 13029 item['metric' + index] = value; 13030 }); 13031 } 13032 } 13033 13034 return item; 13035 } 13036 13037 function formatPromotionData(promotionData) { 13038 var item = {}; 13039 13040 if (typeof promotionData['ID'] != 'undefined') { 13041 item['id'] = promotionData['ID']; 13042 item['promotion_id'] = promotionData['ID']; 13043 } 13044 13045 if (typeof promotionData['name'] != 'undefined') { 13046 item['name'] = promotionData['name']; 13047 item['promotion_name'] = promotionData['name']; 13048 } 13049 13050 if (typeof promotionData['type'] != 'undefined') { 13051 item['creative_slot'] = promotionData['type']; 13052 } 13053 13054 if (typeof promotionData['creative_name'] != 'undefined') { 13055 item['creative_name'] = promotionData['creative_name']; 13056 } 13057 13058 return item; 13059 } 13060 13061 function eshopEvent_productImpression(productsList, sendToNbo = true, position = '') { 13062 TrackerPlugin.logHeader('eshopEvent_productImpression', position || undefined); 13063 var uniqueProducts = []; 13064 var eventID = TrackerPlugin.generateUniqueID('Impression'); 13065 $.each(productsList, function(index, entry) { 13066 if (!eshopEvent_duplicateProducts[entry.ID]) { 13067 eshopEvent_duplicateProducts[entry.ID] = true; 13068 uniqueProducts.push(entry); 13069 } 13070 }); 13071 if ($.isEmptyObject(uniqueProducts)) { 13072 return false 13073 } 13074 13075 gItems = []; 13076 var productIDs = []; 13077 var positionList = ''; 13078 $.each(uniqueProducts, function(index, productData) { 13079 gItems.push(formatGItemData(productData)); 13080 if (productData['ID']) { 13081 productIDs.push(productData['ID']); 13082 } 13083 if (!position) { 13084 position = productData['positionList']; 13085 } 13086 }); 13087 13088 TrackerPlugin.gtm({ 13089 event: 'view_item_list', 13090 event_id: eventID, 13091 ecommerce: { 13092 item_list_id: position, 13093 item_list_name: position, 13094 items: [gItems] 13095 } 13096 }); 13097 13098 if (sendToNbo == true) { 13099 var recommendationIdList = []; 13100 var options = []; 13101 13102 $.each(uniqueProducts, function(index, entry) { 13103 if (entry['recommendationId']) { 13104 recommendationIdList.push(entry['recommendationId']); 13105 } 13106 }); 13107 13108 options['data-recommendation-id'] = recommendationIdList; 13109 13110 if (position) { 13111 options['positionList'] = position; 13112 } 13113 formatNBORequest(gItems, 'viewed', options); 13114 } 13115 13116 13117 } 13118 13119 function eshopEvent_addProductToCart(productData) { 13120 TrackerPlugin.log('eshopEvent_addProductToCart'); 13121 13122 if (!productData['ID']) { 13123 return false;
13124 } 13125 13126 productData['qnt'] = productData['addedQnt']; 13127 var eventID = TrackerPlugin.generateUniqueID(productData['ID']); 13128 13129 13130 13131 gItemData = formatGItemData(productData); 13132 13133 TrackerPlugin.gtm({ 13134 event: 'add_to_cart', 13135 event_id: eventID, 13136 ecommerce: { 13137 currency: 'EUR', 13138 value: Number(gItemData?.price || 0) * Number(gItemData?.quantity || 0).toFixed(2), 13139 items: [gItemData] 13140 } 13141 }); 13142 13143 13144 formatNBORequest([gItemData], 'basketed'); 13145 } 13146 13147 function eshopEvent_removeProductFromCart(callbackData) { 13148 TrackerPlugin.log('eshopEvent_removeProductFromCart'); 13149 13150 gItemData = formatGItemData(callbackData); 13151 13152 TrackerPlugin.gtm({ 13153 event: 'remove_from_cart', 13154 ecommerce: { 13155 currency: 'EUR', 13156 value: Number(gItemData?.price || 0) * Number(gItemData?.quantity || 0).toFixed(2), 13157 items: [gItemData] 13158 } 13159 }); 13160 13161 13162 } 13163 13164 function eshopEvent_addProductToWishlist(callbackData) { 13165 TrackerPlugin.log('eshopEvent_addProductToWishlist'); 13166 13167 gItemData = formatGItemData(callbackData); 13168 13169 TrackerPlugin.gtm({ 13170 event: 'add_to_wishlist', 13171 ecommerce: { 13172 currency: 'EUR', 13173 items: [gItemData] 13174 } 13175 }); 13176 13177 13178 } 13179 13180 function eshopEvent_checkout(callbackData) { 13181 TrackerPlugin.log('eshopEvent_checkout'); 13182 13183 var orderData = { 13184 'items': [], 13185 'non_interaction': true, 13186 'currency': 'EUR', 13187 'value': callbackData['orderData']['total'], 13188 }; 13189 var eventID = TrackerPlugin.generateUniqueID(''); 13190 var gaItems = []; 13191 var manualCoupons = []; 13192 13193 $.each(callbackData['productData'], function(index, productData) { 13194 if (productData['manualVoucher']) { 13195 manualCoupons.push(productData['manualVoucher']); 13196 } 13197 var gItemData = formatGItemData(productData); 13198 orderData['items'].push(gItemData); 13199 }); 13200 if (manualCoupons.length > 0) { 13201 orderData['coupon'] = manualCoupons.join(', '); 13202 } 13203 if (typeof callbackData['orderData']['couponCodeUsed'] != 'undefined') { 13204 orderData['coupon'] = callbackData['orderData']['couponCodeUsed']; 13205 } 13206 orderData['event_id'] = eventID; 13207 13208 13209 13210 TrackerPlugin.gtm({ 13211 event: 'begin_checkout', 13212 event_id: eventID, 13213 ecommerce: { 13214 currency: 'EUR', 13215 value: orderData['value'], 13216 coupon: orderData['coupon'], 13217 items: orderData['items'] 13218 } 13219 }); 13220 13221 } 13222 13223 function eshopEvent_orderSuccess(orderData) { 13224 TrackerPlugin.log('eshopEvent_orderSuccess'); 13225 13226 if (typeof orderData['cartData'] != 'undefined') { 13227 if (typeof orderData['cartData'] != 'undefined') { 13228 var eventID = TrackerPlugin.generateUniqueID('', orderData['orderNo'] + '_'); 13229 TrackerPlugin.log("orderData['cartData'] â"); 13230 TrackerPlugin.log(orderData['cartData']); 13231 var productIDs = []; 13232 var productsSum = 0; 13233 $.each(orderData['cartData']['products'], function(prID, productData) { 13234 if (productData['ID']) { 13235 productIDs.push(productData['ID']); 13236 productsSum += productData['subtotal']; 13237 } 13238 }); 13239 13240 var gaItems = []; 13241 var manualCoupons = []; 13242 var buyerData = formatBuyerData(orderData); 13243 13244 $.each(orderData['cartData']['products'], function(prID, productData) { 13245 gaItems.push(formatGItemData(productData)); 13246 if (productData['manualVoucher']) { 13247 manualCoupons.push(productData['manualVoucher']); 13248 } 13249 }); 13250 13251 13252 13253 var gtagData = { 13254 'enhanced_conversion_data': buyerData, 13255 'transaction_id': orderData['orderNo'], 13256 'affiliation': "benu-eshop-lv", 13257 'value': Number(orderData['cartData']['total']), 13258 'currency': "EUR", 13259 'shipping': Number(orderData['cartData']['options']['delivery']['price']), 13260 'productIDs': productIDs,
13261 'items': gaItems, 13262 'non_interaction': true, 13263 'event_id': eventID 13264 } 13265 13266 var gItems = []; 13267 var manualCoupons = []; 13268 13269 $.each(orderData['cartData']['products'], function(prID, productData) { 13270 gItems.push(formatGItemData(productData)); 13271 if (productData['manualVoucher']) { 13272 manualCoupons.push(productData['manualVoucher']); 13273 } 13274 }); 13275 13276 TrackerPlugin.gtm({ 13277 event: 'purchase', 13278 event_id: eventID, 13279 customer: { 13280 email: orderData['email'], 13281 phone: orderData['phone'] 13282 }, 13283 ecommerce: { 13284 transaction_id: orderData['orderNo'], 13285 value: Number(orderData['cartData']['total']), 13286 currency: 'EUR', 13287 shipping: Number(orderData['cartData']['options']['delivery']['price']), 13288 items: gItems 13289 } 13290 }); 13291 13292 13293 if (typeof gaItems != 'undefined') { 13294 formatNBORequest( 13295 gaItems, 13296 'bought', { 13297 'documentNumberList': [orderData['orderNo']] 13298 } 13299 ); 13300 } 13301 13302 } else { 13303 TrackerPlugin.log('missing cartData.products'); 13304 } 13305 } else { 13306 TrackerPlugin.log('missing cartData'); 13307 } 13308 } 13309 13310 function eshopEvent_promotionImpression(promotionsList) { 13311 TrackerPlugin.log('eshopEvent_promotionImpression'); 13312 13313 if ($.isEmptyObject(promotionsList)) { 13314 return false; 13315 } 13316 var uniquePromotions = []; 13317 var updateBanners = []; 13318 var updateCampaigns = []; 13319 var gItems = []; 13320 $.each(promotionsList, function(index, entry) { 13321 if (!$.isEmptyObject(entry) && typeof entry.ID != 'undefined') { 13322 if (!eshopEvent_duplicatePromotions[entry.ID]) { 13323 eshopEvent_duplicatePromotions[entry.ID] = true; 13324 if (entry?.ID?.toString().indexOf('campaign-') !== -1) { 13325 uniquePromotions.push(entry); 13326 entry.ID = entry?.ID?.toString().replace('campaign-', '') || entry?.ID || ''; 13327 updateCampaigns.push(entry.ID); 13328 } else { 13329 uniquePromotions.push(entry); 13330 if ($.isNumeric(entry.ID)) { 13331 updateBanners.push(entry); 13332 } 13333 } 13334 } 13335 } 13336 }); 13337 13338 if (uniquePromotions.length <= 0) { 13339 return false; 13340 } 13341 13342 if (updateBanners.length > 0) { 13343 //update show count 13344 var data = {}; 13345 data['args'] = {}; 13346 data['args']["banners"] = updateBanners; 13347 data['className'] = 'Banners'; 13348 data['methodName'] = 'updateBanners'; 13349 ajaxHelper( 13350 data, 13351 function(callback) { 13352 // if (callback.return.success) { 13353 13354 // } 13355 }, 'POST' 13356 ); 13357 } 13358 if (updateCampaigns.length > 0) { 13359 //update show count 13360 var data = {}; 13361 data['args'] = {}; 13362 data['args']["campaigns"] = updateCampaigns; 13363 data['args']["type"] = 'shows'; 13364 data['className'] = 'BENUCampaigns'; 13365 data['methodName'] = 'updateCampaigns'; 13366 ajaxHelper( 13367 data, 13368 function(callback) { 13369 13370 }, 'POST' 13371 ); 13372 } 13373 13374 $.each(uniquePromotions, function(index, promotionData) { 13375 if (promotionData['sendItemsOneByOne']) { 13376 sendOneByOne = true; 13377 if (promotionData['products'] != 'undefined') { 13378 $.each(promotionData['products'], function(index, prData) { 13379 gItems.push(formatGItemData(prData)); 13380 }); 13381 } 13382 } 13383 }); 13384 13385 $.each(uniquePromotions, function(index, promotionData) { 13386 if (typeof promotionData['promotion_id'] == 'undefined') { 13387 promotionData['promotion_id'] = promotionData['ID']; 13388 promotionData['creative_name'] = promotionData['name']; 13389 } 13390 TrackerPlugin.gtm({ 13391 event: 'view_promotion', 13392 event_id: TrackerPlugin.generateUniqueID('', promotionData['promotion_id'] + '_'), 13393 ecommerce: { 13394 promotion_id: promotionData['promotion_id'], 13395 promotion_name: promotionData['creative_name'], 13396 } 13397 }); 13398 }); 13399 13400 13401 } 13402 13403 function eshopEvent_promotionClick(promotionData) { 13404 TrackerPlugin.log('eshopEvent_promotionClick'); 13405 13406 if (!promotionData) { 13407 return false;
13408 } 13409 if (!promotionData['ID']) { 13410 return false; 13411 } 13412 13413 gItemData = formatPromotionData(promotionData); 13414 13415 var sendOneByOne = false; 13416 13417 gItemData = formatPromotionData(promotionData); 13418 13419 if (typeof promotionData['promotion_id'] == 'undefined') { 13420 promotionData['promotion_id'] = promotionData['ID']; 13421 promotionData['creative_name'] = promotionData['name']; 13422 } 13423 13424 TrackerPlugin.gtm({ 13425 event: 'select_promotion', 13426 event_id: TrackerPlugin.generateUniqueID('', promotionData['promotion_id'] + '_'), 13427 ecommerce: { 13428 promotion_id: promotionData['promotion_id'], 13429 promotion_name: promotionData['creative_name'], 13430 } 13431 }); 13432 13433 13434 } 13435 13436 function eshopEvent_searchResults(searchTerm, gaItems) { 13437 TrackerPlugin.log('eshopEvent_searchResults'); 13438 13439 if (!searchTerm) { 13440 return false; 13441 } 13442 13443 // if (typeof gtag != 'undefined') { 13444 // gtag('event', 'view_search_results', { 13445 // 'search_term': searchTerm, 13446 // 'items': gaItems, 13447 // }); 13448 // TrackerPlugin.log('eshopEvent_searchResults'); 13449 // } 13450 } 13451 13452 function eshopEvent_benuShowCart() { 13453 TrackerPlugin.log('eshopEvent_benuShowCart'); 13454 13455 var $lines = $('.bnuCartTable__row, .cartTable__productRow') 13456 var gItems = []; 13457 var fbItems = []; 13458 var tempItem = []; 13459 $.each($lines, function(ind, line) { 13460 d = $(line).data('impression'); 13461 if (typeof d != 'undefined') { 13462 tempItem = formatGItemData(d); 13463 fbItems.push(tempItem['id']); 13464 gItems.push(tempItem); 13465 } 13466 }); 13467 13468 if (gItems.length > 0) { 13469 TrackerPlugin.gtm({ 13470 event: 'BASKET', 13471 event_id: TrackerPlugin.generateUniqueID('', 'BASKET_'), 13472 ecommerce: { 13473 currency: 'EUR', 13474 items: gItems 13475 } 13476 }); 13477 13478 13479 } else { 13480 TrackerPlugin.log('no items found'); 13481 } 13482 13483 } 13484 13485 function eshopEvent_viewCategory(categoryName, gaItems) { 13486 TrackerPlugin.log('eshopEvent_viewCategory'); 13487 13488 if (!categoryName) { 13489 return false; 13490 } 13491 TrackerPlugin.gtm({ 13492 event: 'view_category_page', 13493 content: { 13494 id: 15671, 13495 type: categoryName 13496 } 13497 }); 13498 13499 } 13500 13501 function eshopEvent_viewBoughtTogether(productData) { 13502 TrackerPlugin.log('eshopEvent_viewBoughtTogether'); 13503 13504 var nboData = { 13505 'data-recommendation-id': productData['recommendationId'], 13506 'positionList': 'boughtTogether', 13507 } 13508 var gItem = formatGItemData(productData); 13509 formatNBORequest([gItem], 'viewed', nboData); 13510 } 13511 13512 function eshopEvent_viewProductDetails(productData) { 13513 TrackerPlugin.logHeader('eshopEvent_viewProductDetails'); 13514 13515 if (!productData['ID']) { 13516 return false; 13517 } 13518 13519 var eventID = TrackerPlugin.generateUniqueID(productData['ID']); 13520 13521 13522 gItemData = formatGItemData(productData); 13523 13524 TrackerPlugin.gtm({ 13525 event: 'view_item', 13526 event_id: eventID, 13527 ecommerce: { 13528 currency: 'EUR', 13529 items: [gItemData] 13530 } 13531 }); 13532 13533 } 13534 13535 13536 $(document).ready(function() { 13537 if (typeof eshopEvent_productImpression == 'function' && !$.isEmptyObject(eshopEvent_visibleProducts)) { 13538 eshopEvent_productImpression(eshopEvent_visibleProducts); 13539 } 13540 13541 13542 if (!$('html').hasClass('viewProduct')) { 13543 var categoryName = 'ORGANIC SHOP'; 13544 if (!categoryName) { 13545 categoryName = $('#breadcrumbsWrap > .active').text(); 13546 } 13547 if (typeof eshopEvent_viewCategory == 'function') { 13548 eshopEvent_viewCategory(categoryName); 13549 } 13550 } 13551 }); 13552</script>
13552 13553 13554
13554<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 13555 window.addEventListener('load', function() { 13556 // setTimeout(function(){ 13557 runAjaxHelperStack(function() { 13558 ajaxHelperStackCompleted = true; 13559 if (typeof eshopEvent_promotionImpression == 'function' && !$.isEmptyObject(eshopEvent_visiblePromotions)) { 13560 eshopEvent_promotionImpression(eshopEvent_visiblePromotions); 13561 } else { 13562 CookieConsentCallback(); 13563 } 13564 }); 13565 ajaxHelperStackRun = true; 13566 // }, 1000); 13567 }); 13568 </script>
13568 13569
13569<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 13570 $(document).on('click', '.bind-scrollToVouchers', function(e) { 13571 e.preventDefault(); 13572 if ($('html').hasClass('userProfile')) { 13573 var target = $('div.personalVouchers'); 13574 $('html, body').animate({ 13575 scrollTop: $(target).offset().top - 100 13576 }, 500); 13577 } else { 13578 window.location = 'https://www.benu.lv/mans-profils?vars/extension/personalVouchers'; 13579 } 13580 }); 13581 </script>
13581 13582 13583
13583<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 13584 $(document).ready(function() { 13585 if (structuredDataList.length > 0) { 13586 var po = document.createElement('script'); 13587 po.type = 'application/ld+json'; 13588 if (structuredDataList.length > 1) { 13589 po.text = JSON.stringify(structuredDataList); 13590 } else { 13591 po.text = JSON.stringify(structuredDataList[0]); 13592 } 13593 var s = document.getElementsByTagName('script')[0]; 13594 s.parentNode.insertBefore(po, s); 13595 } 13596 }); 13597 </script>
13597 13598 13599
13599<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 13600 function isBenuAppOnIOS() { 13601 return navigator.userAgent.includes('Benu') && navigator.userAgent.includes('iOS'); 13602 } 13603 13604 function showMinudocPrescriptionRenewal() { 13605 ajaxHelperOnReady({ 13606 'methodName': 'showMinudocPrescriptionRenewal' 13607 }, 13608 function(callback) { 13609 if (callback['success']) { 13610 $('body').append(callback.return['modalHTML']); 13611 $('body').addClass('modal-open'); 13612 setTimeout(function() { 13613 $('#minudocModal .close').on('click', function() { 13614 $('#minudocModal').remove(); 13615 $('.modal-backdrop').remove(); 13616 $('body').removeClass('modal-open'); 13617 }); 13618 }, 200); 13619 $('body').addClass('modal-open'); 13620 } 13621 }, 'POST' 13622 ); 13623 } 13624 13625 $(document).ready(function() { 13626 window.handleATTConsent = function(isTrackingAllowed) { 13627 if (isBenuAppOnIOS()) { 13628 $('#CybotCookiebotDialog').remove(); 13629 if (isTrackingAllowed) { 13630 Cookiebot.submitCustomConsent(true, true, true, true); 13631 } else { 13632 Cookiebot.submitCustomConsent(true, false, false, false); 13633 } 13634 } else { 13635 console.log('userAgent has Benu:' + navigator.userAgent.includes('Benu')); 13636 console.log('userAgent has iOs:' + navigator.userAgent.includes('iOS')); 13637 } 13638 }; 13639 }); 13640 </script>
13640 13641 13642 13643 13644
13644<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 13645 function generateCaptchaToken(action) { 13646 $('.error--captcha').remove(); 13647 return new Promise((resolve, reject) => { 13648 grecaptcha.execute('6LcGQ_oqAAAAAKOD2PmL125-HMXeQoKBYmaa2geF', { 13649 action: action 13650 }) 13651 .then(function(token) { 13652 captchaToken = token; 13653 resolve(token); 13654 }) 13655 .catch(function(error) { 13656 reject(error); 13657 }); 13658 }); 13659 } 13660 </script>
13660 13661 13662
13662<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 13663 window.benuLuigisSearch = { 13664 publicKey: "232949-269228", 13665 searchUrl: "https:\/\/www.benu.lv\/meklet?search=", 13666 appName: "benu-eshop-lv", 13667 reorderRxItems: false, 13668 showAddToCart: true, 13669 benuCardImg: "application\/images\/benu-card.svg", 13670 benuCardAlt: "Cena re\u0123istr\u0113tiem lietot\u0101jiem", 13671 i18n: { 13672 showAll: "Skat\u012bt visus rezult\u0101tus", 13673 placeholder: "Mekl\u0113t produktus, aptiekas..", 13674 allResults: "Visi rezult\u0101ti", 13675 products: "Produkti", 13676 categories: "Kategorijas", 13677 categoriesTop: "Top kategorijas", 13678 brands: "Z\u012bmoli", 13679 brandsTop: "Z\u012bmoli", 13680 articles: "Rakstus", 13681 pharmacies: "Aptiekas", 13682 pages: "Lapas", 13683 results: "Mekl\u0113\u0161anas vaic\u0101jumi", 13684 topProduct: "Top produkts", 13685 noResults: "Nav rezult\u0101tu", 13686 noProducts: "J\u016bsu mekl\u0113\u0161anas vaic\u0101jumam neatbilst neviens produkts.", 13687 noMoreProducts: "J\u016bsu mekl\u0113\u0161anas vaic\u0101jumam neatbilst neviens produkts.", 13688 withCode: "cena groz\u0101 pirkumam virs 9.99 \u20ac kampa\u0146ai", 13689 buyingMoreThan: "p\u0113rkot vair\u0101k nek\u0101 ", 13690 minCartPromoText: "* Cena groz\u0101 pirkumiem virs {{sum}}", 13691 minCartPromoInfo: "Atlaide tiek piem\u0113rota tikai tad, ja groza summa (bez pieg\u0101des) sasniedz vai p\u0101rsniedz nor\u0101d\u012bto summu.", 13692 searchTitle: "Mekl\u0113t", 13693 addToCart: "Pirkt", 13694 viewMore: "Show more info" } 13695 }; 13696</script>
13696 13697
13698<script type="text/template" id="template-searchBar"> 13699 <div class="bnuLuigisSearch__container"> 13700 <div class="bnuLuigisSearch__mobileHeader">MeklÄt</div> 13701 <div class="bnuLuigisSearch"> 13702 <div class="bnuLuigisSearch__sidebar"> 13703 <div class="bnuLuigisSearch__sidebarQuery"> 13704 <span><i class="fa-regular fa-magnifying-glass" aria-hidden="true"></i>{{query}}</span> 13705 <a href="https://www.benu.lv/meklet?search={{query}}">Visi rezultÄti <i class="fa-regular fa-chevron-right" aria-hidden="true"></i></a> 13706 </div> 13707 <div class="bnuLuigisSearch__results"> 13708 {{queriesResults}} 13709 </div> 13710 {{tabsContainer}} 13711 <div class="bnuLuigisSearch__results"> 13712 {{categoriesResults}} 13713 </div> 13714 <div class="bnuLuigisSearch__results"> 13715 {{brandsResults}} 13716 </div> 13717 <div class="bnuLuigisSearch__results"> 13718 {{articlesResultsDesktop}} 13719 </div> 13720 <div class="bnuLuigisSearch__results"> 13721 {{pharmaciesResults}} 13722 </div> 13723 <div class="bnuLuigisSearch__results"> 13724 {{pagesResultsDesktop}} 13725 </div> 13726 </div> 13727 13728 <div class="bnuLuigisSearch__topProduct"> 13729 <h4>Top produkts</h4> 13730 {{topProduct}} 13731 </div> 13732 13733 <span class="bnuLuigisSearch__separator" aria-hidden="true"></span> 13734 13735 <div class="bnuLuigisSearch__products"> 13736 <h4>Produkti</h4> 13737 <div class="bnuLuigisSearch__itemsWrap bnuLuigisSearch__tabPanel {{productTabActive}}" id="tab_products"> 13738 {{products}} 13739 <div class="bnuLuigisSearch__showAll"> 13740 <a class="bnuButton" href="https://www.benu.lv/meklet?search={{query}}"> 13741 <span>Visi rezultÄti</span> 13742 </a> 13743 </div> 13744 </div> 13745 {{categoriesTab}} {{brandsTab}} {{pharmaciesTab}} {{articlesTab}} {{pagesTab}} 13746 </div> 13747 </div> 13748 <div class="bnuLuigisSearch__mobileResults"> 13749 <a class="bnuButton bnuButton--full" href="https://www.benu.lv/meklet?search={{query}}"> 13750 <span>Visi rezultÄti</span> 13751 </a> 13752 </div> 13753 </div> 13754</script>
13754 13755
13756<script type="text/template" id="template-searchBar--noResults"> 13757 <div class="bnuLuigisSearch__container"> 13758 <div class="bnuLuigisSearch__mobileHeader">MeklÄt</div> 13759 <div class="bnuLuigisSearch"> 13760 <div class="bnuLuigisSearch__noResults"> 13761 Nav rezultÄtu </div> 13762 </div> 13763 </div> 13764</script>
13764 13765
13766<script type="text/template" id="template-topProduct"> 13767 <article class="bnuProduct bnuProduct--luigisTop" {{topProduct_metaData}}> 13768 <meta itemprop="position" content="1"> 13769 <meta itemprop="url" content="{{topProduct_url}}"> 13770 <meta itemprop="type" content="item"> 13771 <meta itemprop="title" content="{{topProduct_rawTitle}}"> 13772 <div class="bnuProduct__main"> 13773 <div class="bnuProduct__top"> 13774 <figure> 13775 <a tabindex="-1" href="{{topProduct_url}}"> 13776 <img width="500" height="500" loading="lazy" class="product__image" src="{{topProduct_image}}" alt="{{topProduct_title}}" title="{{topProduct_title}}"> 13777 </a> 13778 <div class="bnuProduct__badges bnuProduct__badges--tl"> 13779 {{topProduct_discounts}} 13780 </div> 13781 <div class="bnuProduct__badges bnuProduct__badges--bl"> 13782 {{topProduct_badges}} 13783 </div> 13784 {{topProduct_specialIcon}} 13785 </figure> 13786 <h3> 13787 <a href="{{topProduct_url}}" itemprop="name">{{topProduct_title}}</a> 13788 </h3> 13789 </div> 13790 <div class="bnuProduct__bottom {{topProduct_priceGroupClass}}" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 13791 {{topProduct_price}} 13792 <div style="display:none !important;" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 13793 <meta itemprop="priceCurrency" content="EUR"> 13794 <meta itemprop="price" content="{{topProduct_rawPrice}}"> 13795 </div> 13796 {{topProduct_minCartPromo}} 13797 {{topProduct_addToCart}} 13798 </div> 13799 </div> 13800 </article> 13801</script>
13801 13802
13803<script type="text/template" id="template-product"> 13804 <article class="bnuProduct bnuProduct--luigis {{topWrap_class}}" {{product_metaData}}> 13805 <meta itemprop="position" content="{{product_position}}"> 13806 <meta itemprop="url" content="{{product_url}}"> 13807 <meta itemprop="type" content="item"> 13808 <meta itemprop="title" content="{{product_rawTitle}}"> 13809 <div class="bnuProduct__main"> 13810 <div class="bnuProduct__top"> 13811 <figure> 13812 <a tabindex="-1" href="{{product_url}}"> 13813 <img width="96" height="96" loading="lazy" class="product__image" src="{{product_image}}" alt="{{product_title}}" title="{{product_title}}"> 13814 </a> 13815 <div class="bnuProduct__badges bnuProduct__badges--tl"> 13816 {{product_discounts}} 13817 </div> 13818 <div class="bnuProduct__badges bnuProduct__badges--bl">{{product_badges}}</div> 13819 </figure> 13820 <div class="bnuLuigisSearch__productBody"> 13821 <h2> 13822 <a href="{{product_url}}" itemprop="name" title="{{product_title}}">{{product_title}}</a> 13823 </h2> 13824 <div class="bnuProduct__bottom" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 13825 <div style="display:none !important;" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 13826 <meta itemprop="priceCurrency" content="EUR"> 13827 <meta itemprop="price" content="{{product_rawPrice}}"> 13828 </div> 13829 {{product_price}} 13830 {{product_minCartPromo}} 13831 </div> 13832 </div> 13833 </div> 13834 {{product_addToCart}} 13835 </div> 13836 </article> 13837</script>
13837 13838
13839<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" src="https://cdn.luigisbox.tech/autocomplete.js" async></script>
vendor: 1 bytes, line 13839
13839
13840<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 13841 (function () { 13842 function tryInit() { 13843 if (typeof window.LBInitAutocomplete === 'function' && typeof window.AutoComplete === 'function') { 13844 window.LBInitAutocomplete(); 13845 return true; 13846 } 13847 return false; 13848 } 13849 13850 function onReady() { 13851 if (tryInit()) { 13852 return; 13853 } 13854 var attempts = 0; 13855 var timer = setInterval(function () { 13856 attempts += 1; 13857 if (tryInit() || attempts > 50) { 13858 clearInterval(timer); 13859 } 13860 }, 100); 13861 } 13862 13863 var script = document.querySelector('script[src="https://cdn.luigisbox.tech/autocomplete.js"]'); 13864 if (script) { 13865 script.addEventListener('load', onReady); 13866 } 13867 if (typeof window.AutoComplete === 'function') { 13868 onReady(); 13869 } 13870 })(); 13871</script>
13871 13872 13873 13874
13874<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 13875 $(document).ready(function() { 13876 $('.scrollToTop').on('click', function() { 13877 $('html, body').animate({ 13878 scrollTop: 0 13879 }, 1000); 13880 }); 13881 13882 $(window).on('scroll', function() { 13883 if ($(this).scrollTop() > 600) { 13884 $('.scrollToTopContainer').addClass('showIcon'); 13885 } else { 13886 $('.scrollToTopContainer').removeClass('showIcon'); 13887 } 13888 }); 13889 }); 13890 </script>
13890 13891 13892 <div class="scrollToTopContainer"> 13893 <div class="scrollToTop"><i class="fa-solid fa-angle-up"></i></div> 13894 </div> 13895 13896
13896<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo=" type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.eu01.nr-data.net","licenseKey":"NRJS-6b855eae5d0ce7335f6","applicationID":"458397775","transactionName":"MhBSZQoZX0BYVkVcXwtaZUMRV1hdXVBJG0ANBQ==","queueTime":0,"applicationTime":383,"atts":"HldRE0IDTE4=","errorBeacon":"bam.eu01.nr-data.net","agent":""}</script>
13896 13897 <div id="snrgames-widget-holder"></div> 13898
13898<script nonce="1dc463e99a8b7c8203513672972da3895ba053210d867508178581d6b3483af7dIzaur+9IMo="> 13899 window.onload = () => { 13900 ajaxHelper({ 13901 className: 'SNRGames', 13902 methodName: 'loadGameWidget', 13903 args: { 13904 'args': { 13905 previewGame: '', 13906 gameID: '' 13907 } 13908 } 13909 }, function(response) { 13910 if (response && response.return.html) { 13911 $('#snrgames-widget-holder').html(response.return.html); 13912 } 13913 }, 'POST'); 13914 }; 13915 </script>
13915 13916 13917 </div> 13918 13919 <div class="bnuOverlay"></div> 13920 <aside 13921 role="complementary" 13922 class="bnuSideCart" 13923 aria-labelledby="bnuSideCartTitle" 13924 inert 13925 > 13926 <header class="bnuSideCart__heading"> 13927 <h2 id="bnuSideCartTitle" tabindex="-1"> 13928 Pirkuma grozs </h2> 13929 <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> 13930 <div 13931 class="bnuSideCart__content bind-cartQuickOverviewContent" 13932 tabindex="-1" 13933 aria-hidden="true" 13934 ></div> 13935 <footer class="bnuSideCart__actions"> 13936 <div class="bnuSideCart__summary"> 13937 <span>Pasūtījuma summa:</span> 13938 <strong class="bind-cartTotal"></strong> 13939 </div> 13940 <a href="https://www.benu.lv/iepirkumu-grozs" class="bnuButton bnuButton--full bind-sideCartAction" tabindex="-1"><span>Uz grozu </span></a> </footer> 13941 </aside> 13942</body> 13943 13944</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.