<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
; /* Start:"a:4:{s:4:"full";s:65:"/local/templates/simpleIT/js/splide/splide.min.js?171141796727577";s:6:"source";s:49:"/local/templates/simpleIT/js/splide/splide.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
function At(n,t){for(var i=0;i&lt;t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&amp;&amp;(r.writable=!0),Object.defineProperty(n,r.key,r)}}
/*!
 * Splide.js
 * Version  : 3.6.12
 * License  : MIT
 * Copyright: 2022 Naotoshi Fujita
 */
var n,t;n=this,t=function(){"use strict";var m="splide",a="data-"+m,n={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,DESTROYED:5},R=10;function _(n){n.length=0}function I(n){return!u(n)&amp;&amp;"object"==typeof n}function r(n){return Array.isArray(n)}function D(n){return"string"==typeof n}function O(n){return void 0===n}function u(n){return null===n}function y(n){return n instanceof HTMLElement}function w(n){return r(n)?n:[n]}function b(n,t){w(n).forEach(t)}function x(n,t){return-1&lt;n.indexOf(t)}function k(n,t){return n.push.apply(n,w(t)),n}var o=Array.prototype;function s(n,t,i){return o.slice.call(n,t,i)}function E(t,n,i){t&amp;&amp;b(n,function(n){n&amp;&amp;t.classList[i?"add":"remove"](n)})}function A(n,t){E(n,D(t)?t.split(" "):t,!0)}function L(n,t){b(t,n.appendChild.bind(n))}function S(n,i){b(n,function(n){var t=i.parentNode;t&amp;&amp;t.insertBefore(n,i)})}function W(n,t){return y(n)&amp;&amp;(n.msMatchesSelector||n.matches).call(n,t)}function z(n,t){return n?s(n.children).filter(function(n){return W(n,t)}):[]}function P(n,t){return t?z(n,t)[0]:n.firstElementChild}function e(n,t,i){if(n)for(var r=Object.keys(n),r=i?r.reverse():r,u=0;u&lt;r.length;u++){var o=r[u];if("__proto__"!==o&amp;&amp;!1===t(n[o],o))break}return n}function M(r){return s(arguments,1).forEach(function(i){e(i,function(n,t){r[t]=i[t]})}),r}function l(i,n){return e(n,function(n,t){r(n)?i[t]=n.slice():I(n)?i[t]=l(I(i[t])?i[t]:{},n):i[t]=n}),i}function T(t,n){t&amp;&amp;b(n,function(n){t.removeAttribute(n)})}function j(i,n,t){I(n)?e(n,function(n,t){j(i,t,n)}):u(t)?T(i,n):i.setAttribute(n,String(t))}function F(n,t,i){n=document.createElement(n);return t&amp;&amp;(D(t)?A:j)(n,t),i&amp;&amp;L(i,n),n}function C(n,t,i){if(O(i))return getComputedStyle(n)[t];u(i)||(n=n.style)[t]!==(i=""+i)&amp;&amp;(n[t]=i)}function N(n,t){C(n,"display",t)}function X(n,t){return n.getAttribute(t)}function B(n,t){return n&amp;&amp;n.classList.contains(t)}function G(n){return n.getBoundingClientRect()}function H(n){b(n,function(n){n&amp;&amp;n.parentNode&amp;&amp;n.parentNode.removeChild(n)})}function Y(n){return P((new DOMParser).parseFromString(n,"text/html").body)}function U(n,t){n.preventDefault(),t&amp;&amp;(n.stopPropagation(),n.stopImmediatePropagation())}function q(n,t){return n&amp;&amp;n.querySelector(t)}function J(n,t){return s(n.querySelectorAll(t))}function K(n,t){E(n,t,!1)}function V(n){return D(n)?n:n?n+"px":""}function Q(n,t){if(void 0===t&amp;&amp;(t=""),!n)throw new Error("["+m+"] "+t)}function g(n){setTimeout(n)}function Z(){}function v(n){return requestAnimationFrame(n)}var $=Math.min,nn=Math.max,tn=Math.floor,rn=Math.ceil,un=Math.abs;function on(n,t,i,r){var u=$(t,i),i=nn(t,i);return r?u&lt;n&amp;&amp;n&lt;i:u&lt;=n&amp;&amp;n&lt;=i}function en(n,t,i){var r=$(t,i),i=nn(t,i);return $(nn(r,n),i)}function cn(n){return(0&lt;n)-(n&lt;0)}function fn(t,n){return b(n,function(n){t=t.replace("%s",""+n)}),t}function an(n){return n&lt;10?"0"+n:""+n}var sn={};function c(){var o={};function r(n,r){t(n,function(n,t){var i=o[n];o[n]=i&amp;&amp;i.filter(function(n){return n.n?n.n!==r:r||n.t!==t})})}function t(n,t){w(n).join(" ").split(" ").forEach(function(n){n=n.split(".");t(n[0],n[1])})}return{on:function(n,i,r,u){void 0===u&amp;&amp;(u=R),t(n,function(n,t){o[n]=o[n]||[],k(o[n],{i:n,r:i,t:t,u:u,n:r}).sort(function(n,t){return n.u-t.u})})},off:r,offBy:function(i){e(o,function(n,t){r(t,i)})},emit:function(n){var t=arguments;(o[n]||[]).forEach(function(n){n.r.apply(n,s(t,1))})},destroy:function(){o={}}}}var ln="mounted",dn="move",vn="moved",hn="shifted",pn="click",gn="active",mn="inactive",yn="visible",wn="hidden",_n="slide:keydown",bn="refresh",xn="updated",kn="resize",An="resized",Ln="repositioned",En="scrolled",f="destroy",Sn="navigation:mounted",zn="lazyload:loaded";function Pn(n){var r=n.event,u={},o=[];function t(n,t,r){e(n,t,function(t,i){o=o.filter(function(n){return!!(n[0]!==t||n[1]!==i||r&amp;&amp;n[2]!==r)||(t.removeEventListener(i,n[2],n[3]),!1)})})}function e(n,t,i){b(n,function(n){n&amp;&amp;t.split(" ").forEach(i.bind(null,n))})}function i(){o=o.filter(function(n){return t(n[0],n[1])}),r.offBy(u)}return r.on(f,i,u),{on:function(n,t,i){r.on(n,t,u,i)},off:function(n){r.off(n,u)},emit:r.emit,bind:function(n,t,i,r){e(n,t,function(n,t){o.push([n,t,i,r]),n.addEventListener(t,i,r)})},unbind:t,destroy:i}}function Rn(t,i,r,u){var o,n,e=Date.now,c=0,f=!0,a=0;function s(){if(!f){var n=e()-o;if(t&lt;=n?(c=1,o=e()):c=n/t,r&amp;&amp;r(c),1===c&amp;&amp;(i(),u&amp;&amp;++a&gt;=u))return l();v(s)}}function l(){f=!0}function d(){cancelAnimationFrame(n),f=!(n=c=0)}return{start:function(n){n||d(),o=e()-(n?c*t:0),f=!1,v(s)},rewind:function(){o=e(),c=0,r&amp;&amp;r(c)},pause:l,cancel:d,set:function(n){t=n},isPaused:function(){return f}}}function d(n){var t=n;return{set:function(n){t=n},is:function(n){return x(w(n),t)}}}function Dn(i,r){var u;return function(){var n=arguments,t=this;u||(u=Rn(r||0,function(){i.apply(t,n),u=null},null,1)).start()}}var h={marginRight:["marginBottom","marginLeft"],autoWidth:["autoHeight"],fixedWidth:["fixedHeight"],paddingLeft:["paddingTop","paddingRight"],paddingRight:["paddingBottom","paddingLeft"],width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:["ArrowUp","ArrowRight"],ArrowRight:["ArrowDown","ArrowLeft"]};var On=m,Mn=m+"__slider",Tn=m+"__track",jn=m+"__list",Fn=m+"__slide",In=Fn+"--clone",Wn=Fn+"__container",Cn=m+"__arrows",t=m+"__arrow",Nn=t+"--prev",Xn=t+"--next",i=m+"__pagination",Bn=m+"__progress",Gn=Bn+"__bar",Hn=m+"__autoplay",Yn=m+"__play",Un=m+"__pause",qn="is-active",Jn="is-prev",Kn="is-next",Vn="is-visible",Qn="is-loading",Zn=[qn,Vn,Jn,Kn,Qn];var $n="role",nt="aria-controls",tt="aria-current",it="aria-label",rt="aria-hidden",ut="tabindex",p="aria-orientation",ot=[$n,nt,tt,it,rt,p,ut,"disabled"],et="slide",ct="loop",ft="fade";function at(u,i,r,o){var t,n=Pn(u),e=n.on,c=n.emit,f=n.bind,a=n.destroy,s=u.Components,l=u.root,d=u.options,v=d.isNavigation,h=d.updateOnMove,p=s.Direction.resolve,g=X(o,"style"),m=-1&lt;r,y=P(o,"."+Wn),w=d.focusableNodes&amp;&amp;J(o,d.focusableNodes);function _(){var n=m?r:i,t=fn(d.i18n.slideX,n+1),n=u.splides.map(function(n){return n.splide.root.id}).join(" ");j(o,it,t),j(o,nt,n),j(o,$n,"menuitem"),k(A())}function b(){t||x()}function x(){var n;t||(n=u.index,k(A()),function(n){var t=!n&amp;&amp;(!A()||m);j(o,rt,t||null),j(o,ut,!t&amp;&amp;d.slideFocus?0:null),w&amp;&amp;w.forEach(function(n){j(n,ut,t?-1:null)});n!==B(o,Vn)&amp;&amp;(E(o,Vn,n),c(n?yn:wn,L))}(function(){if(u.is(ft))return A();var n=G(s.Elements.track),t=G(o),i=p("left"),r=p("right");return tn(n[i])&lt;=rn(t[i])&amp;&amp;tn(t[r])&lt;=rn(n[r])}()),E(o,Jn,i===n-1),E(o,Kn,i===n+1))}function k(n){n!==B(o,qn)&amp;&amp;(E(o,qn,n),v&amp;&amp;j(o,tt,n||null),c(n?gn:mn,L))}function A(){var n=u.index;return n===i||d.cloneStatus&amp;&amp;n===r}var L={index:i,slideIndex:r,slide:o,container:y,isClone:m,mount:function(){m||(o.id=l.id+"-slide"+an(i+1)),f(o,"click keydown",function(n){c("click"===n.type?pn:_n,L,n)}),e([bn,Ln,hn,vn,En],x),e(Sn,_),h&amp;&amp;e(dn,b)},destroy:function(){t=!0,a(),K(o,Zn),T(o,ot),j(o,"style",g)},update:x,style:function(n,t,i){C(i&amp;&amp;y||o,n,t)},isWithin:function(n,t){return n=un(n-i),(n=!m&amp;&amp;(d.rewind||u.is(ct))?$(n,u.length-n):n)&lt;=t}};return L}var st=a+"-interval";var lt={passive:!1,capture:!0},dt="touchmove mousemove",vt="touchend touchcancel mouseup";var ht=["Left","Right","Up","Down"],pt="keydown";var gt=a+"-lazy",mt=gt+"-srcset",yt="["+gt+"], ["+mt+"]";var wt=[" ","Enter","Spacebar"];var _t=Object.freeze({__proto__:null,Options:function(t,n,r){var u,o,i,e=Dn(f);function c(n){n&amp;&amp;removeEventListener("resize",e)}function f(){var n=(n=function(n){return n[1].matches},s(o).filter(n)[0]||[]);n[0]!==i&amp;&amp;function(n){n=r.breakpoints[n]||u;n.destroy?(t.options=u,t.destroy("completely"===n.destroy)):(t.state.is(5)&amp;&amp;(c(!0),t.mount()),t.options=n)}(i=n[0])}return{setup:function(){try{l(r,JSON.parse(X(t.root,a)))}catch(n){Q(!1,n.message)}u=l({},r);var i,n=r.breakpoints;n&amp;&amp;(i="min"===r.mediaQuery,o=Object.keys(n).sort(function(n,t){return i?+t-+n:+n-+t}).map(function(n){return[n,matchMedia("("+(i?"min":"max")+"-width:"+n+"px)")]}),f())},mount:function(){o&amp;&amp;addEventListener("resize",e)},destroy:c}},Direction:function(n,t,r){return{resolve:function(n,t){var i=r.direction;return h[n]["rtl"!==i||t?"ttb"===i?0:-1:1]||n},orient:function(n){return n*("rtl"===r.direction?1:-1)}}},Elements:function(n,t,i){var r,u,o,e,c=Pn(n).on,f=n.root,a={},s=[];function l(){var n;!function(){u=P(f,"."+Mn),o=q(f,"."+Tn),e=P(o,"."+jn),Q(o&amp;&amp;e,"A track/list element is missing."),k(s,z(e,"."+Fn+":not(."+In+")"));var n=p("."+Hn),t=p("."+Cn);M(a,{root:f,slider:u,track:o,list:e,slides:s,arrows:t,autoplay:n,prev:q(t,"."+Nn),next:q(t,"."+Xn),bar:q(p("."+Bn),"."+Gn),play:q(n,"."+Yn),pause:q(n,"."+Un)})}(),n=f.id||function(n){return""+n+an(sn[n]=(sn[n]||0)+1)}(m),f.id=n,o.id=o.id||n+"-track",e.id=e.id||n+"-list",A(f,r=g())}function d(){[f,o,e].forEach(function(n){T(n,"style")}),_(s),K(f,r)}function v(){d(),l()}function h(){K(f,r),A(f,r=g())}function p(n){return P(f,n)||P(u,n)}function g(){return[On+"--"+i.type,On+"--"+i.direction,i.drag&amp;&amp;On+"--draggable",i.isNavigation&amp;&amp;On+"--nav",qn]}return M(a,{setup:l,mount:function(){c(bn,v,R-2),c(xn,h)},destroy:d})},Slides:function(r,u,o){var n=Pn(r),t=n.on,e=n.emit,c=n.bind,f=(n=u.Elements).slides,a=n.list,s=[];function i(){f.forEach(function(n,t){v(n,t,-1)})}function l(){p(function(n){n.destroy()}),_(s)}function d(){l(),i()}function v(n,t,i){n=at(r,t,i,n);n.mount(),s.push(n)}function h(n){return n?g(function(n){return!n.isClone}):s}function p(n,t){h(t).forEach(n)}function g(t){return s.filter("function"==typeof t?t:function(n){return D(t)?W(n.slide,t):x(w(t),n.index)})}return{mount:function(){i(),t(bn,d),t([ln,bn],function(){s.sort(function(n,t){return n.index-t.index})})},destroy:l,update:function(){p(function(n){n.update()})},register:v,get:h,getIn:function(n){var t=u.Controller,i=t.toIndex(n),r=t.hasFocus()?1:o.perPage;return g(function(n){return on(n.index,i,i+r-1)})},getAt:function(n){return g(n)[0]},add:function(n,u){b(n,function(n){var t,i,r;y(n=D(n)?Y(n):n)&amp;&amp;((t=f[u])?S(n,t):L(a,n),A(n,o.classes.slide),n=n,i=e.bind(null,kn),n=J(n,"img"),(r=n.length)?n.forEach(function(n){c(n,"load error",function(){--r||i()})}):i())}),e(bn)},remove:function(n){H(g(n).map(function(n){return n.slide})),e(bn)},forEach:p,filter:g,style:function(t,i,r){p(function(n){n.style(t,i,r)})},getLength:function(n){return(n?f:s).length},isEnough:function(){return s.length&gt;o.perPage}}},Layout:function(n,t,i){var r,u,o=Pn(n),e=o.on,c=o.bind,f=o.emit,a=t.Slides,s=t.Direction.resolve,l=(t=t.Elements).root,d=t.track,v=t.list,h=a.getAt;function p(){u=null,r="ttb"===i.direction,C(l,"maxWidth",V(i.width)),C(d,s("paddingLeft"),m(!1)),C(d,s("paddingRight"),m(!0)),g()}function g(){var n=G(l);u&amp;&amp;u.width===n.width&amp;&amp;u.height===n.height||(C(d,"height",function(){var n="";r&amp;&amp;(Q(n=y(),"height or heightRatio is missing."),n="calc("+n+" - "+m(!1)+" - "+m(!0)+")");return n}()),a.style(s("marginRight"),V(i.gap)),a.style("width",(i.autoWidth?"":V(i.fixedWidth)||(r?"":w()))||null),a.style("height",V(i.fixedHeight)||(r?i.autoHeight?"":w():y())||null,!0),u=n,f(An))}function m(n){var t=i.padding,n=s(n?"right":"left");return t&amp;&amp;V(t[n]||(I(t)?0:t))||"0px"}function y(){return V(i.height||G(v).width*i.heightRatio)}function w(){var n=V(i.gap);return"calc((100%"+(n&amp;&amp;" + "+n)+")/"+(i.perPage||1)+(n&amp;&amp;" - "+n)+")"}function _(n,t){var i=h(n);if(i){n=G(i.slide)[s("right")],i=G(v)[s("left")];return un(n-i)+(t?0:b())}return 0}function b(){var n=h(0);return n&amp;&amp;parseFloat(C(n.slide,s("marginRight")))||0}return{mount:function(){p(),c(window,"resize load",Dn(f.bind(this,kn))),e([xn,bn],p),e(kn,g)},listSize:function(){return G(v)[s("width")]},slideSize:function(n,t){return(n=h(n||0))?G(n.slide)[s("width")]+(t?0:b()):0},sliderSize:function(){return _(n.length-1,!0)-_(-1,!0)},totalSize:_,getPadding:function(n){return parseFloat(C(d,s("padding"+(n?"Right":"Left"))))||0}}},Clones:function(c,n,f){var t,i=Pn(c),r=i.on,u=i.emit,a=n.Elements,s=n.Slides,o=n.Direction.resolve,l=[];function e(){(t=p())&amp;&amp;(function(u){var o=s.get().slice(),e=o.length;if(e){for(;o.length&lt;u;)k(o,o);k(o.slice(-u),o.slice(0,u)).forEach(function(n,t){var i=t&lt;u,r=function(n,t){n=n.cloneNode(!0);return A(n,f.classes.clone),n.id=c.root.id+"-clone"+an(t+1),n}(n.slide,t);i?S(r,o[0].slide):L(a.list,r),k(l,r),s.register(r,t-u+(i?0:e),n.index)})}}(t),u(kn))}function d(){H(l),_(l)}function v(){d(),e()}function h(){t&lt;p()&amp;&amp;u(bn)}function p(){var n,t,i=f.clones;return c.is(ct)?i||(n=a.list,D(t=f[o("fixedWidth")])&amp;&amp;(t=G(n=F("div",{style:"width: "+t+"; position: absolute;"},n)).width,H(n)),i=((t=t)&amp;&amp;rn(G(a.track)[o("width")]/t)||f[o("autoWidth")]&amp;&amp;c.length||f.perPage)*(f.drag?(f.flickMaxPages||1)+1:2)):i=0,i}return{mount:function(){e(),r(bn,v),r([xn,kn],h)},destroy:d}},Move:function(e,c,f){var a,n=Pn(e),t=n.on,s=n.emit,r=(n=c.Layout).slideSize,i=n.getPadding,u=n.totalSize,o=n.listSize,l=n.sliderSize,d=(n=c.Direction).resolve,v=n.orient,h=(n=c.Elements).list,p=n.track;function g(){k()||(c.Scroll.cancel(),m(e.index),s(Ln))}function m(n){y(_(n,!0))}function y(n,t){e.is(ft)||(t=t?n:function(n){{var t,i;e.is(ct)&amp;&amp;(i=v(n-b()),t=A(!1,n)&amp;&amp;i&lt;0,i=A(!0,n)&amp;&amp;0&lt;i,(t||i)&amp;&amp;(n=w(n,i)))}return n}(n),h.style.transform="translate"+d("X")+"("+t+"px)",n!==t&amp;&amp;s(hn))}function w(n,t){var i=n-x(t),r=l();return n-=v(r*(rn(un(i)/r)||1))*(t?1:-1)}function _(n,t){var i=v(u(n-1)-(i=n,"center"===(n=f.focus)?(o()-r(i,!0))/2:+n*r(i)||0));return t?function(n){f.trimSpace&amp;&amp;e.is(et)&amp;&amp;(n=en(n,0,v(l()-o())));return n}(i):i}function b(){var n=d("left");return G(h)[n]-G(p)[n]+v(i(!1))}function x(n){return _(n?c.Controller.getEnd():0,!!f.trimSpace)}function k(){return e.state.is(4)&amp;&amp;f.waitForTransition}function A(n,t){t=O(t)?b():t;var i=!0!==n&amp;&amp;v(t)&lt;v(x(!1)),t=!1!==n&amp;&amp;v(t)&gt;v(x(!0));return i||t}return{mount:function(){a=c.Transition,t([ln,An,xn,bn],g)},destroy:function(){T(h,"style")},move:function(n,t,i,r){var u,o;k()||(u=e.state.set,o=b(),n!==t&amp;&amp;(a.cancel(),y(w(o,t&lt;n),!0)),u(4),s(dn,t,i,n),a.start(t,function(){u(3),s(vn,t,i,n),"move"===f.trimSpace&amp;&amp;n!==i&amp;&amp;o===b()?c.Controller.go(i&lt;n?"&gt;":"&lt;",!1,r):r&amp;&amp;r()}))},jump:m,translate:y,shift:w,cancel:function(){y(b()),a.cancel()},toIndex:function(n){for(var t=c.Slides.get(),i=0,r=1/0,u=0;u&lt;t.length;u++){var o=t[u].index,e=un(_(o,!0)-n);if(!(e&lt;=r))break;r=e,i=o}return i},toPosition:_,getPosition:b,getLimit:x,isBusy:k,exceededLimit:A}},Controller:function(n,e,u){var o,c,f,t=Pn(n).on,a=e.Move,s=a.getPosition,l=a.getLimit,i=e.Slides,d=i.isEnough,r=i.getLength,v=n.is(ct),h=n.is(et),p=u.start||0,g=p;function m(){o=r(!0),c=u.perMove,f=u.perPage,p=en(p,0,o-1)}function y(n,t,i,r,u){var o=t?n:S(n);e.Scroll.scroll(t||i?a.toPosition(o,!0):n,r,function(){z(a.toIndex(a.getPosition())),u&amp;&amp;u()})}function w(n){return b(!1,n)}function _(n){return b(!0,n)}function b(n,t){var i,r,u=c||(P()?1:f),o=x(p+u*(n?-1:1),p);return-1!==o||!h||(i=s(),r=l(!n),u=1,un(i-r)&lt;u)?t?o:A(o):n?0:k()}function x(n,t,i){var r;return d()?(r=k(),n&lt;0||r&lt;n?n=on(0,n,t,!0)||on(r,t,n,!0)?L(E(n)):v?c||P()?n:n&lt;0?-(o%f||f):o:u.rewind?n&lt;0?r:0:-1:i||n===t||(n=c?n:L(E(t)+(n&lt;t?-1:1)))):n=-1,n}function k(){var n=o-f;return(P()||v&amp;&amp;c)&amp;&amp;(n=o-1),nn(n,0)}function A(n){return v?d()?n%o+(n&lt;0?o:0):-1:n}function L(n){return en(P()?n:f*n,0,k())}function E(n){return P()||(n=on(n,o-f,o-1)?o-1:n,n=tn(n/f)),n}function S(n){n=a.toIndex(n);return h?en(n,0,k()):n}function z(n){n!==p&amp;&amp;(g=p,p=n)}function P(){return!O(u.focus)||u.isNavigation}return{mount:function(){m(),t([xn,bn],m,R-1)},go:function(n,t,i){var r=function(n){var t=p;{var i,r;D(n)?(r=n.match(/([+\-&lt;&gt;])(\d+)?/)||[],i=r[1],r=r[2],"+"===i||"-"===i?t=x(p+ +(""+i+(+r||1)),p,!0):"&gt;"===i?t=r?L(+r):w(!0):"&lt;"===i&amp;&amp;(t=_(!0))):t=v?n:en(n,0,k())}return t}(n);u.useScroll?y(r,!0,!0,u.speed,i):-1&lt;(n=A(r))&amp;&amp;!a.isBusy()&amp;&amp;(t||n!==p)&amp;&amp;(z(n),a.move(r,n,g,i))},scroll:y,getNext:w,getPrev:_,getAdjacent:b,getEnd:k,setIndex:z,getIndex:function(n){return n?g:p},toIndex:L,toPage:E,toDest:S,hasFocus:P}},Arrows:function(u,n,i){var r,t=Pn(u),o=t.on,e=t.bind,c=t.emit,f=i.classes,a=i.i18n,s=n.Elements,l=n.Controller,d=s.arrows,v=s.prev,h=s.next,p={};function g(){var n,t;i.arrows&amp;&amp;(v&amp;&amp;h||(d=F("div",f.arrows),v=m(!0),h=m(!1),r=!0,L(d,[v,h]),S(d,P("slider"===i.arrows&amp;&amp;s.slider||u.root)))),v&amp;&amp;h&amp;&amp;(p.prev?N(d,!1===i.arrows?"none":""):(n=s.track.id,j(v,nt,n),j(h,nt,n),p.prev=v,p.next=h,t=l.go,o([ln,vn,xn,bn,En],y),e(h,"click",function(){t("&gt;",!0)}),e(v,"click",function(){t("&lt;",!0)}),c("arrows:mounted",v,h)))}function m(n){return Y('&lt;button class="'+f.arrow+" "+(n?f.prev:f.next)+'" type="button"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40"&gt;&lt;path d="'+(i.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" /&gt;')}function y(){var n=u.index,t=l.getPrev(),i=l.getNext(),r=-1&lt;t&amp;&amp;n&lt;t?a.last:a.prev,n=-1&lt;i&amp;&amp;i&lt;n?a.first:a.next;v.disabled=t&lt;0,h.disabled=i&lt;0,j(v,it,r),j(h,it,n),c("arrows:updated",v,h,t,i)}return{arrows:p,mount:function(){g(),o(xn,g)},destroy:function(){r?H(d):(T(v,ot),T(h,ot))}}},Autoplay:function(t,i,r){var u,o,e,n=Pn(t),c=n.on,f=n.bind,a=n.emit,s=Rn(r.interval,t.go.bind(t,"&gt;"),function(n){var t=d.bar;t&amp;&amp;C(t,"width",100*n+"%"),a("autoplay:playing",n)}),l=s.isPaused,d=i.Elements;function v(n){var t=n?"pause":"play",i=d[t];i&amp;&amp;(j(i,nt,d.track.id),j(i,it,r.i18n[t]),f(i,"click",n?p:h))}function h(){l()&amp;&amp;i.Slides.isEnough()&amp;&amp;(s.start(!r.resetProgress),o=u=e=!1,a("autoplay:play"))}function p(n){void 0===n&amp;&amp;(n=!0),l()||(s.pause(),a("autoplay:pause")),e=n}function g(){e||(u||o?p(!1):h())}function m(){var n=i.Slides.getAt(t.index);s.set(n&amp;&amp;+X(n.slide,st)||r.interval)}return{mount:function(){var n=r.autoplay;n&amp;&amp;(v(!0),v(!1),function(){var n=d.root;r.pauseOnHover&amp;&amp;f(n,"mouseenter mouseleave",function(n){u="mouseenter"===n.type,g()});r.pauseOnFocus&amp;&amp;f(n,"focusin focusout",function(n){o="focusin"===n.type,g()});c([dn,"scroll",bn],s.rewind),c(dn,m)}(),"pause"!==n&amp;&amp;h())},destroy:s.cancel,play:h,pause:p,isPaused:l}},Cover:function(n,t,i){var r=Pn(n).on;function u(i){t.Slides.forEach(function(n){var t=P(n.container||n.slide,"img");t&amp;&amp;t.src&amp;&amp;o(i,t,n)})}function o(n,t,i){i.style("background",n?'center/cover no-repeat url("'+t.src+'")':"",!0),N(t,n?"none":"")}return{mount:function(){i.cover&amp;&amp;(r(zn,function(n,t){o(!0,n,t)}),r([ln,xn,bn],u.bind(null,!0)))},destroy:function(){u(!1)}}},Scroll:function(c,n,f){var a,s,t=Pn(c),i=t.on,l=t.emit,d=n.Move,v=d.getPosition,h=d.getLimit,p=d.exceededLimit;function g(r,n,t,u){var i,o=v(),e=1;n=n||(i=un(r-o),nn(i/1.5,800)),s=t,y(),a=Rn(n,m,function(n){var t=v(),i=(o+(r-o)*(i=n,(n=f.easingFunc)?n(i):1-Math.pow(1-i,4))-v())*e;d.translate(t+i),c.is(et)&amp;&amp;!u&amp;&amp;p()&amp;&amp;(e*=.6,un(i)&lt;10&amp;&amp;(i=p(!1),g(h(!i),600,null,!0)))},1),l("scroll"),a.start()}function m(){var n=v(),t=d.toIndex(n);on(t,0,c.length-1)||d.translate(d.shift(n,0&lt;t),!0),s&amp;&amp;s(),l(En)}function y(){a&amp;&amp;a.cancel()}function r(){a&amp;&amp;!a.isPaused()&amp;&amp;(y(),m())}return{mount:function(){i(dn,y),i([xn,bn],r)},destroy:y,scroll:g,cancel:r}},Drag:function(u,o,e){var c,f,a,s,l,d,v,r,h,n=Pn(u),t=n.on,p=n.emit,g=n.bind,m=n.unbind,y=o.Move,w=o.Scroll,_=o.Controller,b=o.Elements.track,i=(n=o.Direction).resolve,x=n.orient,k=y.getPosition,A=y.exceededLimit,L=!1;function E(){var n=e.drag;F(!n),l="free"===n}function S(n){var t,i;r||(i=e.noDrag,t=j(n),i=!i||!W(n.target,i),v=!1,!i||!t&amp;&amp;n.button||(y.isBusy()?U(n,!0):(h=t?b:window,s=a=null,g(h,dt,z,lt),g(h,vt,P,lt),y.cancel(),w.cancel(),R(n))))}function z(n){var t,i,r;s||p("drag"),(s=n).cancelable&amp;&amp;(t=M(n)-M(f),d?(y.translate(c+t/(L&amp;&amp;u.is(et)?5:1)),i=200&lt;T(n)-T(f),r=L!==(L=A()),(i||r)&amp;&amp;R(n),p("dragging"),v=!0,U(n)):(r=I(r=e.dragMinThreshold)?r:{mouse:0,touch:+r||10},d=un(t)&gt;(j(n)?r.touch:r.mouse),O()&amp;&amp;U(n)))}function P(n){m(h,dt,z),m(h,vt,P);var t,i,r=u.index;s?((d||n.cancelable&amp;&amp;O())&amp;&amp;(t=function(n){if(u.is(ct)||!L){var t=f===s&amp;&amp;a||f,i=M(s)-M(t),t=T(n)-T(t),n=T(n)-T(s)&lt;200;if(t&amp;&amp;n)return i/t}return 0}(n),i=t,i=k()+cn(i)*$(un(i)*(e.flickPower||600),l?1/0:o.Layout.listSize()*(e.flickMaxPages||1)),l?_.scroll(i):u.is(ft)?_.go(r+x(cn(t))):_.go(_.toDest(i),!0),U(n)),p("dragged")):l||k()===y.toPosition(r)||_.go(r,!0),d=!1}function R(n){a=f,f=n,c=k()}function D(n){!r&amp;&amp;v&amp;&amp;U(n,!0)}function O(){var n=un(M(s)-M(f));return un(M(s,!0)-M(f,!0))&lt;n}function M(n,t){return(j(n)?n.touches[0]:n)["page"+i(t?"Y":"X")]}function T(n){return n.timeStamp}function j(n){return"undefined"!=typeof TouchEvent&amp;&amp;n instanceof TouchEvent}function F(n){r=n}return{mount:function(){g(b,dt,Z,lt),g(b,vt,Z,lt),g(b,"touchstart mousedown",S,lt),g(b,"click",D,{capture:!0}),g(b,"dragstart",U),t([ln,xn],E)},disable:F,isDragging:function(){return d}}},Keyboard:function(t,n,i){var r,u,o=Pn(t),e=o.on,c=o.bind,f=o.unbind,a=t.root,s=n.Direction.resolve;function l(){var n=i.keyboard;n&amp;&amp;("focused"===n?j(r=a,ut,0):r=window,c(r,pt,p))}function d(){f(r,pt),y(r)&amp;&amp;T(r,ut)}function v(){var n=u;u=!0,g(function(){u=n})}function h(){d(),l()}function p(n){u||(n=n.key,(n=x(ht,n)?"Arrow"+n:n)===s("ArrowLeft")?t.go("&lt;"):n===s("ArrowRight")&amp;&amp;t.go("&gt;"))}return{mount:function(){l(),e(xn,h),e(dn,v)},destroy:d,disable:function(n){u=n}}},LazyLoad:function(i,n,e){var t=Pn(i),r=t.on,u=t.off,o=t.bind,c=t.emit,f="sequential"===e.lazyLoad,a=[],s=0;function l(){v(),d()}function d(){n.Slides.forEach(function(o){J(o.slide,yt).forEach(function(n){var t,i,r=X(n,gt),u=X(n,mt);r===n.src&amp;&amp;u===n.srcset||(t=e.classes.spinner,j(i=P(i=n.parentElement,"."+t)||F("span",t,i),$n,"presentation"),a.push({o:n,e:o,src:r,srcset:u,c:i}),n.src||N(n,"none"))})}),f&amp;&amp;g()}function v(){s=0,a=[]}function h(){(a=a.filter(function(n){var t=e.perPage*((e.preloadPages||1)+1)-1;return!n.e.isWithin(i.index,t)||p(n)})).length||u(vn)}function p(t){var i=t.o;A(t.e.slide,Qn),o(i,"load error",function(n){!function(n,t){var i=n.e;K(i.slide,Qn),t||(H(n.c),N(n.o,""),c(zn,n.o,i),c(kn));f&amp;&amp;g()}(t,"error"===n.type)}),["srcset","src"].forEach(function(n){t[n]&amp;&amp;(j(i,n,t[n]),T(i,"src"===n?gt:mt))})}function g(){s&lt;a.length&amp;&amp;p(a[s++])}return{mount:function(){e.lazyLoad&amp;&amp;(d(),r(bn,l),f||r([ln,bn,vn,En],h))},destroy:v}},Pagination:function(l,n,d){var v,t=Pn(l),i=t.on,r=t.emit,h=t.bind,u=t.unbind,p=n.Slides,g=n.Elements,o=n.Controller,m=o.hasFocus,e=o.getIndex,y=[];function c(){f(),d.pagination&amp;&amp;p.isEnough()&amp;&amp;(function(){var n=l.length,t=d.classes,i=d.i18n,r=d.perPage,u="slider"===d.pagination&amp;&amp;g.slider||g.root,o=m()?n:rn(n/r);v=F("ul",t.pagination,u);for(var e=0;e&lt;o;e++){var c=F("li",null,v),f=F("button",{class:t.page,type:"button"},c),a=p.getIn(e).map(function(n){return n.slide.id}),s=!m()&amp;&amp;1&lt;r?i.pageX:i.slideX;h(f,"click",w.bind(null,e)),j(f,nt,a.join(" ")),j(f,it,fn(s,e+1)),y.push({li:c,button:f,page:e})}}(),r("pagination:mounted",{list:v,items:y},a(l.index)),s())}function f(){v&amp;&amp;(H(v),y.forEach(function(n){u(n.button,"click")}),_(y),v=null)}function w(t){o.go("&gt;"+t,!0,function(){var n=p.getAt(o.toIndex(t));n&amp;&amp;((n=n.slide).setActive&amp;&amp;n.setActive()||n.focus({preventScroll:!0}))})}function a(n){return y[o.toPage(n)]}function s(){var n=a(e(!0)),t=a(e());n&amp;&amp;(K(n.button,qn),T(n.button,tt)),t&amp;&amp;(A(t.button,qn),j(t.button,tt,!0)),r("pagination:updated",{list:v,items:y},n,t)}return{items:y,mount:function(){c(),i([xn,bn],c),i([dn,En],s)},destroy:f,getAt:a,update:s}},Sync:function(u,n,i){var r=n.Elements.list,o=[];function t(){var n,t;u.splides.forEach(function(n){var i;n.isParent||(i=n.splide,[u,i].forEach(function(n){var t=Pn(n),r=n===u?i:u;t.on(dn,function(n,t,i){r.go(r.is(ct)?i:n)}),o.push(t)}))}),i.isNavigation&amp;&amp;(n=Pn(u),(t=n.on)(pn,f),t(_n,a),t([ln,xn],c),j(r,$n,"menu"),o.push(n),n.emit(Sn,u.splides))}function e(){T(r,ot),o.forEach(function(n){n.destroy()}),_(o)}function c(){j(r,p,"ttb"!==i.direction?"horizontal":null)}function f(n){u.go(n.index)}function a(n,t){x(wt,t.key)&amp;&amp;(f(n),U(t))}return{mount:t,destroy:e,remount:function(){e(),t()}}},Wheel:function(i,r,u){var n=Pn(i).bind;function t(n){var t;!n.cancelable||(t=n.deltaY)&amp;&amp;(i.go((t=t&lt;0)?"&lt;":"&gt;"),t=t,u.releaseWheel&amp;&amp;!i.state.is(4)&amp;&amp;-1===r.Controller.getAdjacent(t)||U(n))}return{mount:function(){u.wheel&amp;&amp;n(r.Elements.track,"wheel",t,lt)}}}}),bt={type:"slide",speed:400,waitForTransition:!0,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,keyboard:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",slideFocus:!0,trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",classes:{slide:Fn,clone:In,arrows:Cn,arrow:t,prev:Nn,next:Xn,pagination:i,page:i+"__page",spinner:m+"__spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay"}};function xt(n,r,t){var i=Pn(n).on;return{mount:function(){i([ln,bn],function(){g(function(){r.Slides.style("transition","opacity "+t.speed+"ms "+t.easing)})})},start:function(n,t){var i=r.Elements.track;C(i,"height",V(G(i).height)),g(function(){t(),C(i,"height","")})},cancel:Z}}function kt(o,n,e){var c,t=Pn(o).bind,f=n.Move,a=n.Controller,i=n.Elements.list;function r(){s("")}function s(n){C(i,"transition",n)}return{mount:function(){t(i,"transitionend",function(n){n.target===i&amp;&amp;c&amp;&amp;(r(),c())})},start:function(n,t){var i=f.toPosition(n,!0),r=f.getPosition(),u=function(n){var t=e.rewindSpeed;if(o.is(et)&amp;&amp;t){var i=a.getIndex(!0),r=a.getEnd();if(0===i&amp;&amp;r&lt;=n||r&lt;=i&amp;&amp;0===n)return t}return e.speed}(n);1&lt;=un(i-r)&amp;&amp;1&lt;=u?(s("transform "+u+"ms "+e.easing),f.translate(i,!0),c=t):(f.jump(n),t())},cancel:r}}i=function(){function i(n,t){this.event=c(),this.Components={},this.state=d(1),this.splides=[],this.f={},this.a={};n=D(n)?q(document,n):n;Q(n,n+" is invalid."),this.root=n,l(bt,i.defaults),l(l(this.f,bt),t||{})}var n,t,r=i.prototype;return r.mount=function(n,t){var i=this,r=this.state,u=this.Components;return Q(r.is([1,5]),"Already mounted!"),r.set(1),this.s=u,this.l=t||this.l||(this.is(ft)?xt:kt),this.a=n||this.a,e(M({},_t,this.a,{Transition:this.l}),function(n,t){n=n(i,u,i.f);(u[t]=n).setup&amp;&amp;n.setup()}),e(u,function(n){n.mount&amp;&amp;n.mount()}),this.emit(ln),A(this.root,"is-initialized"),r.set(3),this.emit("ready"),this},r.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is(3)&amp;&amp;(this.s.Sync.remount(),n.Components.Sync.remount()),this},r.go=function(n){return this.s.Controller.go(n),this},r.on=function(n,t){return this.event.on(n,t,null,20),this},r.off=function(n){return this.event.off(n),this},r.emit=function(n){var t;return(t=this.event).emit.apply(t,[n].concat(s(arguments,1))),this},r.add=function(n,t){return this.s.Slides.add(n,t),this},r.remove=function(n){return this.s.Slides.remove(n),this},r.is=function(n){return this.f.type===n},r.refresh=function(){return this.emit(bn),this},r.destroy=function(t){void 0===t&amp;&amp;(t=!0);var n=this.event,i=this.state;return i.is(1)?n.on("ready",this.destroy.bind(this,t),this):(e(this.s,function(n){n.destroy&amp;&amp;n.destroy(t)},!0),n.emit(f),n.destroy(),t&amp;&amp;_(this.splides),i.set(5)),this},n=i,(r=[{key:"options",get:function(){return this.f},set:function(n){var t=this.f;l(t,n),this.state.is(1)||this.emit(xn,t)}},{key:"length",get:function(){return this.s.Slides.getLength(!0)}},{key:"index",get:function(){return this.s.Controller.getIndex()}}])&amp;&amp;At(n.prototype,r),t&amp;&amp;At(n,t),Object.defineProperty(n,"prototype",{writable:!1}),i}();return i.defaults={},i.STATES=n,i},"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t():"function"==typeof define&amp;&amp;define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).Splide=t();

/* End */
;
; /* Start:"a:4:{s:4:"full";s:73:"/local/templates/simpleIT/js/notification/notification.js?171141796710594";s:6:"source";s:57:"/local/templates/simpleIT/js/notification/notification.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
class NotificationStack {
    constructor() {
        this.pointer = 0;
        this.stack = document.querySelector('body').appendChild(this.stackNode());
    }

    stackNode() {
        let n = document.createElement("div");
        n.classList.add("notification__stack")
        return n;
    }

    push(notification) {
        notification.el.classList.add("animate__animated");
        notification.el.classList.add("animate__fadeInRight");
        let el = this.stack.appendChild(notification.el);
        let notificationTimeout;
        let hide = ()=&gt;{
            //el.remove();
            el.classList.remove("animate__fadeInRight");
            el.classList.add("animate__fadeOutRight");
            el.addEventListener("animationend", () =&gt; {
                el.remove(); // asd
            });
            el.animate([
                {height: el.getBoundingClientRect().height + "px", marginBottom: "10px", paddingTop: "14px", paddingBottom: "14px"},
                {height: "0px", marginBottom: "0px", paddingTop: "0px", paddingBottom: "0px"},
            ], {
                // timing options
                duration: 500,
                iterations: 1,
                fill: "forwards"
            });
        };


        if(notification.config.duration) {
            notificationTimeout = setTimeout(hide, notification.config.duration)
        }
        notification.closeQuiet = () =&gt; {
            if(notificationTimeout) {
                clearTimeout(notificationTimeout);
            }
            hide();
        }
    }
}

const NotificationPositions = {
    rt: "rt",
    rb: "rb",
    lt: "lt",
    lb: "lb",
}

const NotificationTypes = {
    text: "text",
    error: "error",
    success: "success",
    info: "info",
    warning: "warning",
}

class Notification {
    constructor({
                    title = "",
                    message= "",
                    type= NotificationTypes.text,
                    position = NotificationPositions.rt,
                    duration = 4500,
                    onClose,
                    onClosed,
    }) {
        this.config = {title, message, type, position, onClose, onClosed, duration}
        this.initNotificationStack();
        this.stack = window.notificationStack;

        this.closeQuiet = () =&gt; {
            this.el.remove();
        }
        this.closeEvent = ()=&gt;{
            let res = this.execEvent("onClose");
            if (res !== false) {
                this.closeQuiet();
                this.execEvent("onClosed");
            }
        };
    }

    icon() {
        switch (this.config.type) {
            case NotificationTypes.error: {
                let i = document.createElement("i");
                i.style.color = "#f56c6c";
                i.classList.add("notification__icon");
                i.innerHTML = `&lt;svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="100%"&gt;&lt;path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"&gt;&lt;/path&gt;&lt;/svg&gt;`
                return i;
            }
            case NotificationTypes.warning: {
                let i = document.createElement("i");
                i.style.color = "#e6a23c";
                i.classList.add("notification__icon");
                i.innerHTML = `&lt;svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="100%"&gt;&lt;path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"&gt;&lt;/path&gt;&lt;/svg&gt;`
                return i;
            }
            case NotificationTypes.success: {
                let i = document.createElement("i");
                i.style.color = "#67c23a";
                i.classList.add("notification__icon");
                i.innerHTML = `&lt;svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="100%"&gt;&lt;path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"&gt;&lt;/path&gt;&lt;/svg&gt;`
                return i;
            }
            case NotificationTypes.info: {
                let i = document.createElement("i");
                // i.style.color = "#909399";
                i.style.color = "#fff";
                i.style.background = "var(--main-color-dark)";
                i.style.borderRadius = "1em"
                i.classList.add("notification__icon");
                i.innerHTML = `&lt;svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="100%"&gt;&lt;path fill="currentColor" d="M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"&gt;&lt;/path&gt;&lt;/svg&gt;`
                return i;
            }
            default: {
                return null;
            }
        }
    }

    initNotificationStack() {
        if (!window.notificationStack) {
            window.notificationStack = new NotificationStack();
        }
    }

    execEvent(eventName) {
        if(typeof this.config[eventName] === 'function')
        {
            return this.config[eventName](this);
        }
        return null;
    }

    rootNode() {
        let notificationNode = document.createElement("div");
        notificationNode.classList.add("notification");
        let icon = this.icon()
        if(icon) {
            notificationNode.appendChild(icon);
        }
        notificationNode.appendChild(this.groupNode());
        return notificationNode;
    }

    groupNode() {
        let notificationGroup = document.createElement("div");
        notificationGroup.classList.add("notification__group");

        notificationGroup.appendChild(this.titleNode());
        notificationGroup.appendChild(this.contentNode());
        notificationGroup.appendChild(this.closeButton());

        return notificationGroup;
    }

    titleNode() {
        let notificationTitle = document.createElement("h2");
        notificationTitle.classList.add("notification__title");
        notificationTitle.innerHTML = this.config.title;
        notificationTitle.innerText = this.config.title;
        return notificationTitle;
    }

    contentNode() {
        let notificationContent = document.createElement("div");
        notificationContent.classList.add("notification__content");
        notificationContent.innerHTML = this.config.message;
        notificationContent.innerText = this.config.message;
        return notificationContent;
    }

    closeButton() {
        let notificationCloseButton = document.createElement("i");
        notificationCloseButton.classList.add("notification__close-icon");
        notificationCloseButton.innerHTML = `&lt;svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="100%"&gt;&lt;path fill="currentColor" d="M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"&gt;&lt;/path&gt;&lt;/svg&gt;`
        notificationCloseButton.addEventListener("click", this.closeEvent)
        return notificationCloseButton;
    }

    push() {
        this.el = this.rootNode();
        window.notificationStack.push(this);
    }
}

class Confirm extends Notification {
    confirmNode() {
        let notificationConfirm = document.createElement("div");
        notificationConfirm.classList.add("notification__confirm")

        let confirmButton = document.createElement("button");
        confirmButton.type = "button";
        confirmButton.addEventListener('click', this.confirmEvent);
        confirmButton.classList.add("notification__button");
        confirmButton.innerHTML = this.config.confirmButtonText;

        let cancelButton = document.createElement("button");
        cancelButton.type = "button";
        cancelButton.addEventListener('click', this.cancelEvent);
        cancelButton.classList.add("notification__button");
        cancelButton.innerHTML = this.config.cancelButtonText;

        notificationConfirm.appendChild(confirmButton);
        notificationConfirm.appendChild(cancelButton);

        return notificationConfirm;
    }

    groupNode() {
        let notificationGroup = document.createElement("div");
        notificationGroup.classList.add("notification__group");

        notificationGroup.appendChild(this.titleNode());
        notificationGroup.appendChild(this.contentNode());
        notificationGroup.appendChild(this.confirmNode());
        notificationGroup.appendChild(this.closeButton());

        return notificationGroup;
    }

    constructor({
                    title = "",
                    message= "",
                    type= "text",
                    position = NotificationPositions.rt,
                    duration = 0,
                    onClose,
                    onClosed,
                    onCancel,
                    onConfirm,
                    confirmButtonText= "Ð´Ð°",
                    cancelButtonText= "Ð½ÐµÑ‚",
                }) {

        super({title, message, type, position, onClose, onClosed, duration})
        this.config = {title, message, type, position, onClose, onClosed, onCancel, onConfirm, confirmButtonText, cancelButtonText, duration}
        this.confirmEvent = (e) =&gt; {
            this.isConfirmed = true;
            this.execEvent("onConfirm");
            this.closeQuiet();
        }
        this.cancelEvent = (e) =&gt; {
            this.isConfirmed = false;
            this.execEvent("onCancel");
            this.closeQuiet();
        }
        this.isConfirmed = false;
    }
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:62:"/local/templates/simpleIT/js/x-image/x-image.js?17114179693046";s:6:"source";s:47:"/local/templates/simpleIT/js/x-image/x-image.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
let x_image_sources = {
    sources: [],
    push(el) {
        this.sources.push(el)
    },
    apply() {
        this.sources.forEach((el)=&gt;{
            let path = el.prepareOptimizeUrl();
            let img = document.createElement('img');
            img.loading = 'lazy';
            img.src = path;
            img.alt = el.dataset.alt ? el.dataset.alt : "image";
            img.title = el.dataset.title ? el.dataset.title : "image";
            el.preloadedImage = img;
        })
        this.sources = [];
        document.querySelectorAll("x-image").forEach((el)=&gt;{
            if (el.getShadowMode()){
                el.shadow.innerHTML =
                    `&lt;style&gt;
                        .item-cart img {
                            height: 270px;
                            width: 270px;
                            object-fit: cover;
                            margin: auto;
                            display: block;
                        }
                     &lt;/style&gt;`;
                el.shadow.appendChild(el.preloadedImage);
            }else{
                el.innerHTML = "";
                el.appendChild(el.preloadedImage);
            }
        })
    }
};

customElements.define('x-image', class extends HTMLElement {
    setDefaults() {
        this.defaultShadow = false;
        this.defaultSize = this.parentNode.getBoundingClientRect().width;
        this.defaultFormat = "webp";
        this.defaultPort = "3000";
        this.defaultOptimizerPath = "optimize";
    }

    connectedCallback() {
        this.setDefaults();

        if (this.getShadowMode()){
            this.classList.add("shadow");
            this.shadow = this.attachShadow({mode: 'open'});
        }
        x_image_sources.push(this);
    }

    prepareOptimizeUrl() {
        let host = "http://localhost";
        if(true) {
            //host = window.location.protocol + "//" + window.location.host;
            host ="https://"+window.location.host;
        }

        if(false) {
            host += `:${this.getPort()}`;
        }

        return `${host}/${this.getOptimizerPath()}?size=${this.getCurrentWidth()}&amp;format=${this.getOutputFormat()}&amp;src=${this.dataset.src}`;
    }

    getShadowMode() {
        return this.dataset.shadow ? this.dataset.shadow : this.defaultShadow;
    }

    getCurrentWidth() {
        let size = this.dataset.size ? Math.round(eval(this.dataset.size)) : Math.round(this.defaultSize);
        if(size &lt; 50) {
            return 50;
        }
        return size;
    }

    getOutputFormat() {
        return this.dataset.format ? this.dataset.format : this.defaultFormat;
    }

    getPort() {
        return this.dataset.port ? this.dataset.port : this.defaultPort;
    }

    getOptimizerPath() {
        return this.dataset.opt_path ? this.dataset.opt_path : "optimizer/optimize";//this.defaultOptimizerPath;
    }
});

// window.addEventListener("load",()=&gt;{
    // x_image_sources.apply();
// })

document.addEventListener("DOMContentLoaded",()=&gt;{
    x_image_sources.apply()
})
/* End */
;
; /* Start:"a:4:{s:4:"full";s:69:"/local/templates/simpleIT/js/sweetalert/sweetalert.js?171141796867469";s:6:"source";s:53:"/local/templates/simpleIT/js/sweetalert/sweetalert.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
!function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=t():"function"==typeof define&amp;&amp;define.amd?define(t):(e=e||self).Sweetalert2=t()}(this,function(){"use strict";const q="SweetAlert2:",H=e=&gt;e.charAt(0).toUpperCase()+e.slice(1),i=e=&gt;Array.prototype.slice.call(e),a=e=&gt;{console.warn("".concat(q," ").concat("object"==typeof e?e.join(" "):e))},l=e=&gt;{console.error("".concat(q," ").concat(e))},V=[],N=(e,t)=&gt;{e='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),V.includes(e)||(V.push(e),a(e))},R=e=&gt;"function"==typeof e?e():e,F=e=&gt;e&amp;&amp;"function"==typeof e.toPromise,u=e=&gt;F(e)?e.toPromise():Promise.resolve(e),U=e=&gt;e&amp;&amp;Promise.resolve(e)===e,r={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&amp;times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},W=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],z={},_=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],K=e=&gt;Object.prototype.hasOwnProperty.call(r,e),Y=e=&gt;-1!==W.indexOf(e),Z=e=&gt;z[e],J=e=&gt;{!e.backdrop&amp;&amp;e.allowOutsideClick&amp;&amp;a('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const n in e)t=n,K(t)||a('Unknown parameter "'.concat(t,'"')),e.toast&amp;&amp;(t=n,_.includes(t)&amp;&amp;a('The parameter "'.concat(t,'" is incompatible with toasts'))),t=n,Z(t)&amp;&amp;N(t,Z(t));var t};var e=e=&gt;{const t={};for(const n in e)t[e[n]]="swal2-"+e[n];return t};const p=e(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),o=e(["success","warning","info","question","error"]),m=()=&gt;document.body.querySelector(".".concat(p.container)),t=e=&gt;{const t=m();return t?t.querySelector(e):null},n=e=&gt;t(".".concat(e)),g=()=&gt;n(p.popup),s=()=&gt;n(p.icon),X=()=&gt;n(p.title),$=()=&gt;n(p["html-container"]),G=()=&gt;n(p.image),Q=()=&gt;n(p["progress-steps"]),ee=()=&gt;n(p["validation-message"]),h=()=&gt;t(".".concat(p.actions," .").concat(p.confirm)),f=()=&gt;t(".".concat(p.actions," .").concat(p.deny));const d=()=&gt;t(".".concat(p.loader)),b=()=&gt;t(".".concat(p.actions," .").concat(p.cancel)),v=()=&gt;n(p.actions),te=()=&gt;n(p.footer),ne=()=&gt;n(p["timer-progress-bar"]),oe=()=&gt;n(p.close),ie=()=&gt;{const e=i(g().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((e,t)=&gt;{e=parseInt(e.getAttribute("tabindex")),t=parseInt(t.getAttribute("tabindex"));return t&lt;e?1:e&lt;t?-1:0});var t=i(g().querySelectorAll('\n  a[href],\n  area[href],\n  input:not([disabled]),\n  select:not([disabled]),\n  textarea:not([disabled]),\n  button:not([disabled]),\n  iframe,\n  object,\n  embed,\n  [tabindex="0"],\n  [contenteditable],\n  audio[controls],\n  video[controls],\n  summary\n')).filter(e=&gt;"-1"!==e.getAttribute("tabindex"));return(t=&gt;{const n=[];for(let e=0;e&lt;t.length;e++)-1===n.indexOf(t[e])&amp;&amp;n.push(t[e]);return n})(e.concat(t)).filter(e=&gt;E(e))},ae=()=&gt;w(document.body,p.shown)&amp;&amp;!w(document.body,p["toast-shown"])&amp;&amp;!w(document.body,p["no-backdrop"]),re=()=&gt;g()&amp;&amp;w(g(),p.toast);function se(e){var t=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1];const n=ne();E(n)&amp;&amp;(t&amp;&amp;(n.style.transition="none",n.style.width="100%"),setTimeout(()=&gt;{n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"},10))}const c={previousBodyPadding:null},y=(t,e)=&gt;{if(t.textContent="",e){const n=new DOMParser,o=n.parseFromString(e,"text/html");i(o.querySelector("head").childNodes).forEach(e=&gt;{t.appendChild(e)}),i(o.querySelector("body").childNodes).forEach(e=&gt;{t.appendChild(e)})}},w=(t,e)=&gt;{if(!e)return!1;var n=e.split(/\s+/);for(let e=0;e&lt;n.length;e++)if(!t.classList.contains(n[e]))return!1;return!0},ce=(t,n)=&gt;{i(t.classList).forEach(e=&gt;{Object.values(p).includes(e)||Object.values(o).includes(e)||Object.values(n.showClass).includes(e)||t.classList.remove(e)})},C=(e,t,n)=&gt;{if(ce(e,t),t.customClass&amp;&amp;t.customClass[n]){if("string"!=typeof t.customClass[n]&amp;&amp;!t.customClass[n].forEach)return a("Invalid type of customClass.".concat(n,'! Expected string or iterable object, got "').concat(typeof t.customClass[n],'"'));A(e,t.customClass[n])}},le=(e,t)=&gt;{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(p.popup," &gt; .").concat(p[t]));case"checkbox":return e.querySelector(".".concat(p.popup," &gt; .").concat(p.checkbox," input"));case"radio":return e.querySelector(".".concat(p.popup," &gt; .").concat(p.radio," input:checked"))||e.querySelector(".".concat(p.popup," &gt; .").concat(p.radio," input:first-child"));case"range":return e.querySelector(".".concat(p.popup," &gt; .").concat(p.range," input"));default:return e.querySelector(".".concat(p.popup," &gt; .").concat(p.input))}},ue=e=&gt;{var t;e.focus(),"file"!==e.type&amp;&amp;(t=e.value,e.value="",e.value=t)},de=(e,t,n)=&gt;{e&amp;&amp;t&amp;&amp;(t="string"==typeof t?t.split(/\s+/).filter(Boolean):t).forEach(t=&gt;{Array.isArray(e)?e.forEach(e=&gt;{n?e.classList.add(t):e.classList.remove(t)}):n?e.classList.add(t):e.classList.remove(t)})},A=(e,t)=&gt;{de(e,t,!0)},k=(e,t)=&gt;{de(e,t,!1)},P=(e,t)=&gt;{var n=i(e.childNodes);for(let e=0;e&lt;n.length;e++)if(w(n[e],t))return n[e]},pe=(e,t,n)=&gt;{(n=n==="".concat(parseInt(n))?parseInt(n):n)||0===parseInt(n)?e.style[t]="number"==typeof n?"".concat(n,"px"):n:e.style.removeProperty(t)},B=function(e){e.style.display=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:"flex"},x=e=&gt;{e.style.display="none"},me=(e,t,n,o)=&gt;{const i=e.querySelector(t);i&amp;&amp;(i.style[n]=o)},ge=(e,t,n)=&gt;{t?B(e,n):x(e)},E=e=&gt;!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),he=()=&gt;!E(h())&amp;&amp;!E(f())&amp;&amp;!E(b()),fe=e=&gt;!!(e.scrollHeight&gt;e.clientHeight),be=e=&gt;{const t=window.getComputedStyle(e);var e=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return 0&lt;e||0&lt;n},ve=()=&gt;"undefined"==typeof window||"undefined"==typeof document,ye=100,T={},we=()=&gt;{T.previousActiveElement&amp;&amp;T.previousActiveElement.focus?(T.previousActiveElement.focus(),T.previousActiveElement=null):document.body&amp;&amp;document.body.focus()},Ce=o=&gt;new Promise(e=&gt;{if(!o)return e();var t=window.scrollX,n=window.scrollY;T.restoreFocusTimeout=setTimeout(()=&gt;{we(),e()},ye),window.scrollTo(t,n)}),Ae='\n &lt;div aria-labelledby="'.concat(p.title,'" aria-describedby="').concat(p["html-container"],'" class="').concat(p.popup,'" tabindex="-1"&gt;\n   &lt;button type="button" class="').concat(p.close,'"&gt;&lt;/button&gt;\n   &lt;ul class="').concat(p["progress-steps"],'"&gt;&lt;/ul&gt;\n   &lt;div class="').concat(p.icon,'"&gt;&lt;/div&gt;\n   &lt;img class="').concat(p.image,'" /&gt;\n   &lt;h2 class="').concat(p.title,'" id="').concat(p.title,'"&gt;&lt;/h2&gt;\n   &lt;div class="').concat(p["html-container"],'" id="').concat(p["html-container"],'"&gt;&lt;/div&gt;\n   &lt;input class="').concat(p.input,'" /&gt;\n   &lt;input type="file" class="').concat(p.file,'" /&gt;\n   &lt;div class="').concat(p.range,'"&gt;\n     &lt;input type="range" /&gt;\n     &lt;output&gt;&lt;/output&gt;\n   &lt;/div&gt;\n   &lt;select class="').concat(p.select,'"&gt;&lt;/select&gt;\n   &lt;div class="').concat(p.radio,'"&gt;&lt;/div&gt;\n   &lt;label for="').concat(p.checkbox,'" class="').concat(p.checkbox,'"&gt;\n     &lt;input type="checkbox" /&gt;\n     &lt;span class="').concat(p.label,'"&gt;&lt;/span&gt;\n   &lt;/label&gt;\n   &lt;textarea class="').concat(p.textarea,'"&gt;&lt;/textarea&gt;\n   &lt;div class="').concat(p["validation-message"],'" id="').concat(p["validation-message"],'"&gt;&lt;/div&gt;\n   &lt;div class="').concat(p.actions,'"&gt;\n     &lt;div class="').concat(p.loader,'"&gt;&lt;/div&gt;\n     &lt;button type="button" class="').concat(p.confirm,'"&gt;&lt;/button&gt;\n     &lt;button type="button" class="').concat(p.deny,'"&gt;&lt;/button&gt;\n     &lt;button type="button" class="').concat(p.cancel,'"&gt;&lt;/button&gt;\n   &lt;/div&gt;\n   &lt;div class="').concat(p.footer,'"&gt;&lt;/div&gt;\n   &lt;div class="').concat(p["timer-progress-bar-container"],'"&gt;\n     &lt;div class="').concat(p["timer-progress-bar"],'"&gt;&lt;/div&gt;\n   &lt;/div&gt;\n &lt;/div&gt;\n').replace(/(^|\n)\s*/g,""),ke=()=&gt;{const e=m();return!!e&amp;&amp;(e.remove(),k([document.documentElement,document.body],[p["no-backdrop"],p["toast-shown"],p["has-column"]]),!0)},S=()=&gt;{T.currentInstance.resetValidationMessage()},Pe=()=&gt;{const e=g(),t=P(e,p.input),n=P(e,p.file),o=e.querySelector(".".concat(p.range," input")),i=e.querySelector(".".concat(p.range," output")),a=P(e,p.select),r=e.querySelector(".".concat(p.checkbox," input")),s=P(e,p.textarea);t.oninput=S,n.onchange=S,a.onchange=S,r.onchange=S,s.oninput=S,o.oninput=()=&gt;{S(),i.value=o.value},o.onchange=()=&gt;{S(),o.nextSibling.value=o.value}},Be=e=&gt;"string"==typeof e?document.querySelector(e):e,xe=e=&gt;{const t=g();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")},Ee=e=&gt;{"rtl"===window.getComputedStyle(e).direction&amp;&amp;A(m(),p.rtl)},Te=(e,t)=&gt;{if(e instanceof HTMLElement)t.appendChild(e);else if("object"==typeof e){var n=e,o=t;if(n.jquery)Se(o,n);else y(o,n.toString())}else e&amp;&amp;y(t,e)},Se=(t,n)=&gt;{if(t.textContent="",0 in n)for(let e=0;e in n;e++)t.appendChild(n[e].cloneNode(!0));else t.appendChild(n.cloneNode(!0))},Le=(()=&gt;{if(ve())return!1;var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;void 0!==e.style[n])return t[n];return!1})(),Oe=(e,t)=&gt;{var n,o,i,a,r,s=v(),c=d();(t.showConfirmButton||t.showDenyButton||t.showCancelButton?B:x)(s),C(s,t,"actions"),s=s,n=c,o=t,i=h(),a=f(),r=b(),je(i,"confirm",o),je(a,"deny",o),je(r,"cancel",o),function(e,t,n,o){if(!o.buttonsStyling)return k([e,t,n],p.styled);A([e,t,n],p.styled),o.confirmButtonColor&amp;&amp;(e.style.backgroundColor=o.confirmButtonColor,A(e,p["default-outline"]));o.denyButtonColor&amp;&amp;(t.style.backgroundColor=o.denyButtonColor,A(t,p["default-outline"]));o.cancelButtonColor&amp;&amp;(n.style.backgroundColor=o.cancelButtonColor,A(n,p["default-outline"]))}(i,a,r,o),o.reverseButtons&amp;&amp;(o.toast?(s.insertBefore(r,i),s.insertBefore(a,i)):(s.insertBefore(r,n),s.insertBefore(a,n),s.insertBefore(i,n))),y(c,t.loaderHtml),C(c,t,"loader")};function je(e,t,n){ge(e,n["show".concat(H(t),"Button")],"inline-block"),y(e,n["".concat(t,"ButtonText")]),e.setAttribute("aria-label",n["".concat(t,"ButtonAriaLabel")]),e.className=p[t],C(e,n,"".concat(t,"Button")),A(e,n["".concat(t,"ButtonClass")])}const Me=(e,t)=&gt;{var n,o,i=m();i&amp;&amp;(o=i,"string"==typeof(n=t.backdrop)?o.style.background=n:n||A([document.documentElement,document.body],p["no-backdrop"]),o=i,(n=t.position)in p?A(o,p[n]):(a('The "position" parameter is not valid, defaulting to "center"'),A(o,p.center)),n=i,(o=t.grow)&amp;&amp;"string"==typeof o&amp;&amp;(o="grow-".concat(o))in p&amp;&amp;A(n,p[o]),C(i,t,"container"))};var L={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const De=["input","file","range","select","radio","checkbox","textarea"],Ie=(e,r)=&gt;{const s=g();var t,e=L.innerParams.get(e);const c=!e||r.input!==e.input;De.forEach(e=&gt;{var t=p[e];const n=P(s,t);{var o=r.inputAttributes;const i=le(g(),e);if(i){qe(i);for(const a in o)i.setAttribute(a,o[a])}}n.className=t,c&amp;&amp;x(n)}),r.input&amp;&amp;(c&amp;&amp;(e=&gt;{if(!O[e.input])return l('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));const t=Ne(e.input),n=O[e.input](t,e);B(n),setTimeout(()=&gt;{ue(n)})})(r),e=r,t=Ne(e.input),e.customClass&amp;&amp;A(t,e.customClass.input))},qe=t=&gt;{for(let e=0;e&lt;t.attributes.length;e++){var n=t.attributes[e].name;["type","value","style"].includes(n)||t.removeAttribute(n)}},He=(e,t)=&gt;{e.placeholder&amp;&amp;!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},Ve=(e,t,n)=&gt;{if(n.inputLabel){e.id=p.input;const i=document.createElement("label");var o=p["input-label"];i.setAttribute("for",e.id),i.className=o,A(i,n.customClass.inputLabel),i.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",i)}},Ne=e=&gt;{e=p[e]||p.input;return P(g(),e)},O={},Re=(O.text=O.email=O.password=O.number=O.tel=O.url=(e,t)=&gt;("string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:U(t.inputValue)||a('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof t.inputValue,'"')),Ve(e,e,t),He(e,t),e.type=t.input,e),O.file=(e,t)=&gt;(Ve(e,e,t),He(e,t),e),O.range=(e,t)=&gt;{const n=e.querySelector("input"),o=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,o.value=t.inputValue,Ve(n,e,t),e},O.select=(e,t)=&gt;{if(e.textContent="",t.inputPlaceholder){const n=document.createElement("option");y(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return Ve(e,e,t),e},O.radio=e=&gt;(e.textContent="",e),O.checkbox=(e,t)=&gt;{const n=le(g(),"checkbox");n.value="1",n.id=p.checkbox,n.checked=Boolean(t.inputValue);var o=e.querySelector("span");return y(o,t.inputPlaceholder),e},O.textarea=(n,e)=&gt;{n.value=e.inputValue,He(n,e),Ve(n,n,e);return setTimeout(()=&gt;{if("MutationObserver"in window){const t=parseInt(window.getComputedStyle(g()).width);new MutationObserver(()=&gt;{var e=n.offsetWidth+(e=n,parseInt(window.getComputedStyle(e).marginLeft)+parseInt(window.getComputedStyle(e).marginRight));e&gt;t?g().style.width="".concat(e,"px"):g().style.width=null}).observe(n,{attributes:!0,attributeFilter:["style"]})}}),n},(e,t)=&gt;{const n=$();C(n,t,"htmlContainer"),t.html?(Te(t.html,n),B(n,"block")):t.text?(n.textContent=t.text,B(n,"block")):x(n),Ie(e,t)}),Fe=(e,t)=&gt;{var n=te();ge(n,t.footer),t.footer&amp;&amp;Te(t.footer,n),C(n,t,"footer")},Ue=(e,t)=&gt;{const n=oe();y(n,t.closeButtonHtml),C(n,t,"closeButton"),ge(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel)},We=(e,t)=&gt;{var e=L.innerParams.get(e),n=s();return e&amp;&amp;t.icon===e.icon?(Ze(n,t),void ze(n,t)):t.icon||t.iconHtml?t.icon&amp;&amp;-1===Object.keys(o).indexOf(t.icon)?(l('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),x(n)):(B(n),Ze(n,t),ze(n,t),void A(n,t.showClass.icon)):x(n)},ze=(e,t)=&gt;{for(const n in o)t.icon!==n&amp;&amp;k(e,o[n]);A(e,o[t.icon]),Je(e,t),_e(),C(e,t,"icon")},_e=()=&gt;{const e=g();var t=window.getComputedStyle(e).getPropertyValue("background-color");const n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e&lt;n.length;e++)n[e].style.backgroundColor=t},Ke='\n  &lt;div class="swal2-success-circular-line-left"&gt;&lt;/div&gt;\n  &lt;span class="swal2-success-line-tip"&gt;&lt;/span&gt; &lt;span class="swal2-success-line-long"&gt;&lt;/span&gt;\n  &lt;div class="swal2-success-ring"&gt;&lt;/div&gt; &lt;div class="swal2-success-fix"&gt;&lt;/div&gt;\n  &lt;div class="swal2-success-circular-line-right"&gt;&lt;/div&gt;\n',Ye='\n  &lt;span class="swal2-x-mark"&gt;\n    &lt;span class="swal2-x-mark-line-left"&gt;&lt;/span&gt;\n    &lt;span class="swal2-x-mark-line-right"&gt;&lt;/span&gt;\n  &lt;/span&gt;\n',Ze=(e,t)=&gt;{var n;e.textContent="",t.iconHtml?y(e,Xe(t.iconHtml)):"success"===t.icon?y(e,Ke):"error"===t.icon?y(e,Ye):(n={question:"?",warning:"!",info:"i"},y(e,Xe(n[t.icon])))},Je=(e,t)=&gt;{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])me(e,n,"backgroundColor",t.iconColor);me(e,".swal2-success-ring","borderColor",t.iconColor)}},Xe=e=&gt;'&lt;div class="'.concat(p["icon-content"],'"&gt;').concat(e,"&lt;/div&gt;"),$e=(e,t)=&gt;{const n=G();if(!t.imageUrl)return x(n);B(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt),pe(n,"width",t.imageWidth),pe(n,"height",t.imageHeight),n.className=p.image,C(n,t,"image")},Ge=(e,o)=&gt;{const i=Q();if(!o.progressSteps||0===o.progressSteps.length)return x(i);B(i),i.textContent="",o.currentProgressStep&gt;=o.progressSteps.length&amp;&amp;a("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),o.progressSteps.forEach((e,t)=&gt;{e=e,n=document.createElement("li"),A(n,p["progress-step"]),y(n,e);var n,e=n;i.appendChild(e),t===o.currentProgressStep&amp;&amp;A(e,p["active-progress-step"]),t!==o.progressSteps.length-1&amp;&amp;(n=(e=&gt;{const t=document.createElement("li");return A(t,p["progress-step-line"]),e.progressStepsDistance&amp;&amp;(t.style.width=e.progressStepsDistance),t})(o),i.appendChild(n))})},Qe=(e,t)=&gt;{const n=X();ge(n,t.title||t.titleText,"block"),t.title&amp;&amp;Te(t.title,n),t.titleText&amp;&amp;(n.innerText=t.titleText),C(n,t,"title")},et=(e,t)=&gt;{var n=m();const o=g();t.toast?(pe(n,"width",t.width),o.style.width="100%",o.insertBefore(d(),s())):pe(o,"width",t.width),pe(o,"padding",t.padding),t.color&amp;&amp;(o.style.color=t.color),t.background&amp;&amp;(o.style.background=t.background),x(ee());n=o;(n.className="".concat(p.popup," ").concat(E(n)?t.showClass.popup:""),t.toast)?(A([document.documentElement,document.body],p["toast-shown"]),A(n,p.toast)):A(n,p.modal);C(n,t,"popup"),"string"==typeof t.customClass&amp;&amp;A(n,t.customClass);t.icon&amp;&amp;A(n,p["icon-".concat(t.icon)])},tt=(e,t)=&gt;{et(e,t),Me(e,t),Ge(e,t),We(e,t),$e(e,t),Qe(e,t),Ue(e,t),Re(e,t),Oe(e,t),Fe(e,t),"function"==typeof t.didRender&amp;&amp;t.didRender(g())},j=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),nt=()=&gt;{const e=i(document.body.children);e.forEach(e=&gt;{e===m()||e.contains(m())||(e.hasAttribute("aria-hidden")&amp;&amp;e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))})},ot=()=&gt;{const e=i(document.body.children);e.forEach(e=&gt;{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")})},it=["swal-title","swal-html","swal-footer"],at=e=&gt;{const n={};return i(e.querySelectorAll("swal-param")).forEach(e=&gt;{M(e,["name","value"]);var t=e.getAttribute("name"),e=e.getAttribute("value");"boolean"==typeof r[t]&amp;&amp;"false"===e&amp;&amp;(n[t]=!1),"object"==typeof r[t]&amp;&amp;(n[t]=JSON.parse(e))}),n},rt=e=&gt;{const n={};return i(e.querySelectorAll("swal-button")).forEach(e=&gt;{M(e,["type","color","aria-label"]);var t=e.getAttribute("type");n["".concat(t,"ButtonText")]=e.innerHTML,n["show".concat(H(t),"Button")]=!0,e.hasAttribute("color")&amp;&amp;(n["".concat(t,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&amp;&amp;(n["".concat(t,"ButtonAriaLabel")]=e.getAttribute("aria-label"))}),n},st=e=&gt;{const t={},n=e.querySelector("swal-image");return n&amp;&amp;(M(n,["src","width","height","alt"]),n.hasAttribute("src")&amp;&amp;(t.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&amp;&amp;(t.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&amp;&amp;(t.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&amp;&amp;(t.imageAlt=n.getAttribute("alt"))),t},ct=e=&gt;{const t={},n=e.querySelector("swal-icon");return n&amp;&amp;(M(n,["type","color"]),n.hasAttribute("type")&amp;&amp;(t.icon=n.getAttribute("type")),n.hasAttribute("color")&amp;&amp;(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},lt=e=&gt;{const n={},t=e.querySelector("swal-input");t&amp;&amp;(M(t,["type","label","placeholder","value"]),n.input=t.getAttribute("type")||"text",t.hasAttribute("label")&amp;&amp;(n.inputLabel=t.getAttribute("label")),t.hasAttribute("placeholder")&amp;&amp;(n.inputPlaceholder=t.getAttribute("placeholder")),t.hasAttribute("value")&amp;&amp;(n.inputValue=t.getAttribute("value")));e=e.querySelectorAll("swal-input-option");return e.length&amp;&amp;(n.inputOptions={},i(e).forEach(e=&gt;{M(e,["value"]);var t=e.getAttribute("value"),e=e.innerHTML;n.inputOptions[t]=e})),n},ut=(e,t)=&gt;{const n={};for(const o in t){const i=t[o],a=e.querySelector(i);a&amp;&amp;(M(a,[]),n[i.replace(/^swal-/,"")]=a.innerHTML.trim())}return n},dt=e=&gt;{const t=it.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);i(e.children).forEach(e=&gt;{e=e.tagName.toLowerCase();-1===t.indexOf(e)&amp;&amp;a("Unrecognized element &lt;".concat(e,"&gt;"))})},M=(t,n)=&gt;{i(t.attributes).forEach(e=&gt;{-1===n.indexOf(e.name)&amp;&amp;a(['Unrecognized attribute "'.concat(e.name,'" on &lt;').concat(t.tagName.toLowerCase(),"&gt;."),"".concat(n.length?"Allowed attributes are: ".concat(n.join(", ")):"To set the value, use HTML within the element.")])})};var pt={email:(e,t)=&gt;/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=&gt;/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&amp;/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function mt(e){(t=e).inputValidator||Object.keys(pt).forEach(e=&gt;{t.input===e&amp;&amp;(t.inputValidator=pt[e])}),e.showLoaderOnConfirm&amp;&amp;!e.preConfirm&amp;&amp;a("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),(n=e).target&amp;&amp;("string"!=typeof n.target||document.querySelector(n.target))&amp;&amp;("string"==typeof n.target||n.target.appendChild)||(a('Target parameter is not valid, defaulting to "body"'),n.target="body"),"string"==typeof e.title&amp;&amp;(e.title=e.title.split("\n").join("&lt;br /&gt;"));var t,n=e,e=ke();if(ve())l("SweetAlert2 requires document to initialize");else{const o=document.createElement("div"),i=(o.className=p.container,e&amp;&amp;A(o,p["no-transition"]),y(o,Ae),Be(n.target));i.appendChild(o),xe(n),Ee(i),Pe()}}class gt{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&amp;&amp;(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){var t=this.running;return t&amp;&amp;this.stop(),this.remaining+=e,t&amp;&amp;this.start(),this.remaining}getTimerLeft(){return this.running&amp;&amp;(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const ht=()=&gt;{null===c.previousBodyPadding&amp;&amp;document.body.scrollHeight&gt;window.innerHeight&amp;&amp;(c.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(c.previousBodyPadding+(()=&gt;{const e=document.createElement("div");e.className=p["scrollbar-measure"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})(),"px"))},ft=()=&gt;{null!==c.previousBodyPadding&amp;&amp;(document.body.style.paddingRight="".concat(c.previousBodyPadding,"px"),c.previousBodyPadding=null)},bt=()=&gt;{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&amp;&amp;!window.MSStream||"MacIntel"===navigator.platform&amp;&amp;1&lt;navigator.maxTouchPoints)&amp;&amp;!w(document.body,p.iosfix)){var e,t=document.body.scrollTop;document.body.style.top="".concat(-1*t,"px"),A(document.body,p.iosfix);{const n=m();let t;n.ontouchstart=e=&gt;{t=vt(e)},n.ontouchmove=e=&gt;{t&amp;&amp;(e.preventDefault(),e.stopPropagation())}}{const o=navigator.userAgent,i=!!o.match(/iPad/i)||!!o.match(/iPhone/i),a=!!o.match(/WebKit/i),r=i&amp;&amp;a&amp;&amp;!o.match(/CriOS/i);r&amp;&amp;(e=44,g().scrollHeight&gt;window.innerHeight-44&amp;&amp;(m().style.paddingBottom="".concat(44,"px")))}}},vt=e=&gt;{var t,n=e.target,o=m();return!((t=e).touches&amp;&amp;t.touches.length&amp;&amp;"stylus"===t.touches[0].touchType||(t=e).touches&amp;&amp;1&lt;t.touches.length)&amp;&amp;(n===o||!(fe(o)||"INPUT"===n.tagName||"TEXTAREA"===n.tagName||fe($())&amp;&amp;$().contains(n)))},yt=()=&gt;{var e;w(document.body,p.iosfix)&amp;&amp;(e=parseInt(document.body.style.top,10),k(document.body,p.iosfix),document.body.style.top="",document.body.scrollTop=-1*e)},wt=10,Ct=e=&gt;{const t=g();if(e.target===t){const n=m();t.removeEventListener(Le,Ct),n.style.overflowY="auto"}},At=(e,t)=&gt;{Le&amp;&amp;be(t)?(e.style.overflowY="hidden",t.addEventListener(Le,Ct)):e.style.overflowY="auto"},kt=(e,t,n)=&gt;{bt(),t&amp;&amp;"hidden"!==n&amp;&amp;ht(),setTimeout(()=&gt;{e.scrollTop=0})},Pt=(e,t,n)=&gt;{A(e,n.showClass.backdrop),t.style.setProperty("opacity","0","important"),B(t,"grid"),setTimeout(()=&gt;{A(t,n.showClass.popup),t.style.removeProperty("opacity")},wt),A([document.documentElement,document.body],p.shown),n.heightAuto&amp;&amp;n.backdrop&amp;&amp;!n.toast&amp;&amp;A([document.documentElement,document.body],p["height-auto"])},D=e=&gt;{let t=g();t||new wn,t=g();var n=d();if(re())x(s());else{var o=t;const i=v(),a=d();!e&amp;&amp;E(h())&amp;&amp;(e=h());B(i),e&amp;&amp;(x(e),a.setAttribute("data-button-to-replace",e.className));a.parentNode.insertBefore(a,e),A([o,i],p.loading)}B(n),t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},Bt=(t,n)=&gt;{const o=g(),i=e=&gt;Et[n.input](o,Tt(e),n);F(n.inputOptions)||U(n.inputOptions)?(D(h()),u(n.inputOptions).then(e=&gt;{t.hideLoading(),i(e)})):"object"==typeof n.inputOptions?i(n.inputOptions):l("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof n.inputOptions))},xt=(t,n)=&gt;{const o=t.getInput();x(o),u(n.inputValue).then(e=&gt;{o.value="number"===n.input?parseFloat(e)||0:"".concat(e),B(o),o.focus(),t.hideLoading()}).catch(e=&gt;{l("Error in inputValue promise: ".concat(e)),o.value="",B(o),o.focus(),t.hideLoading()})},Et={select:(e,t,i)=&gt;{const a=P(e,p.select),r=(e,t,n)=&gt;{const o=document.createElement("option");o.value=n,y(o,t),o.selected=St(n,i.inputValue),e.appendChild(o)};t.forEach(e=&gt;{var t=e[0];const n=e[1];if(Array.isArray(n)){const o=document.createElement("optgroup");o.label=t,o.disabled=!1,a.appendChild(o),n.forEach(e=&gt;r(o,e[1],e[0]))}else r(a,n,t)}),a.focus()},radio:(e,t,a)=&gt;{const r=P(e,p.radio),n=(t.forEach(e=&gt;{var t=e[0],e=e[1];const n=document.createElement("input"),o=document.createElement("label"),i=(n.type="radio",n.name=p.radio,n.value=t,St(t,a.inputValue)&amp;&amp;(n.checked=!0),document.createElement("span"));y(i,e),i.className=p.label,o.appendChild(n),o.appendChild(i),r.appendChild(o)}),r.querySelectorAll("input"));n.length&amp;&amp;n[0].focus()}},Tt=n=&gt;{const o=[];return"undefined"!=typeof Map&amp;&amp;n instanceof Map?n.forEach((e,t)=&gt;{let n=e;"object"==typeof n&amp;&amp;(n=Tt(n)),o.push([t,n])}):Object.keys(n).forEach(e=&gt;{let t=n[e];"object"==typeof t&amp;&amp;(t=Tt(t)),o.push([e,t])}),o},St=(e,t)=&gt;t&amp;&amp;t.toString()===e.toString();function Lt(){var e,t=L.innerParams.get(this);if(t){const n=L.domCache.get(this);x(n.loader),re()?t.icon&amp;&amp;B(s()):(t=n,(e=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"))).length?B(e[0],"inline-block"):he()&amp;&amp;x(t.actions)),k([n.popup,n.actions],p.loading),n.popup.removeAttribute("aria-busy"),n.popup.removeAttribute("data-loading"),n.confirmButton.disabled=!1,n.denyButton.disabled=!1,n.cancelButton.disabled=!1}}var Ot={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const jt=()=&gt;h()&amp;&amp;h().click();const Mt=e=&gt;{e.keydownTarget&amp;&amp;e.keydownHandlerAdded&amp;&amp;(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},Dt=(e,t,n)=&gt;{const o=ie();if(o.length)return(t+=n)===o.length?t=0:-1===t&amp;&amp;(t=o.length-1),o[t].focus();g().focus()},It=["ArrowRight","ArrowDown"],qt=["ArrowLeft","ArrowUp"],Ht=(e,n,t)=&gt;{var o=L.innerParams.get(e);if(o&amp;&amp;(!n.isComposing&amp;&amp;229!==n.keyCode))if(o.stopKeydownPropagation&amp;&amp;n.stopPropagation(),"Enter"===n.key)e=e,s=n,i=o,R(i.allowEnterKey)&amp;&amp;s.target&amp;&amp;e.getInput()&amp;&amp;s.target.outerHTML===e.getInput().outerHTML&amp;&amp;(["textarea","file"].includes(i.input)||(jt(),s.preventDefault()));else if("Tab"===n.key){e=n;var i=o;var a=e.target,r=ie();let t=-1;for(let e=0;e&lt;r.length;e++)if(a===r[e]){t=e;break}e.shiftKey?Dt(i,t,-1):Dt(i,t,1);e.stopPropagation(),e.preventDefault()}else if([...It,...qt].includes(n.key)){var s=n.key;const l=h(),u=f(),d=b();if([l,u,d].includes(document.activeElement)){var c=It.includes(s)?"nextElementSibling":"previousElementSibling";let t=document.activeElement;for(let e=0;e&lt;v().children.length;e++){if(!(t=t[c]))return;if(E(t)&amp;&amp;t instanceof HTMLButtonElement)break}t instanceof HTMLButtonElement&amp;&amp;t.focus()}}else if("Escape"===n.key){e=n,n=o,o=t;if(R(n.allowEscapeKey)){e.preventDefault();o(j.esc)}}};function Vt(e,t,n,o){re()?Ut(e,o):(Ce(n).then(()=&gt;Ut(e,o)),Mt(T)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),ae()&amp;&amp;(ft(),yt(),ot()),k([document.documentElement,document.body],[p.shown,p["height-auto"],p["no-backdrop"],p["toast-shown"]])}function Nt(e){e=void 0!==(n=e)?Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},n):{isConfirmed:!1,isDenied:!1,isDismissed:!0};const t=Ot.swalPromiseResolve.get(this);var n=(e=&gt;{const t=g();if(!t)return false;const n=L.innerParams.get(e);if(!n||w(t,n.hideClass.popup))return false;k(t,n.showClass.popup),A(t,n.hideClass.popup);const o=m();return k(o,n.showClass.backdrop),A(o,n.hideClass.backdrop),Ft(e,t,n),true})(this);this.isAwaitingPromise()?e.isDismissed||(Rt(this),t(e)):n&amp;&amp;t(e)}const Rt=e=&gt;{e.isAwaitingPromise()&amp;&amp;(L.awaitingPromise.delete(e),L.innerParams.get(e)||e._destroy())},Ft=(e,t,n)=&gt;{var o,i,a,r=m(),s=Le&amp;&amp;be(t);"function"==typeof n.willClose&amp;&amp;n.willClose(t),s?(s=e,o=t,t=r,i=n.returnFocus,a=n.didClose,T.swalCloseEventFinishedCallback=Vt.bind(null,s,t,i,a),o.addEventListener(Le,function(e){e.target===o&amp;&amp;(T.swalCloseEventFinishedCallback(),delete T.swalCloseEventFinishedCallback)})):Vt(e,r,n.returnFocus,n.didClose)},Ut=(e,t)=&gt;{setTimeout(()=&gt;{"function"==typeof t&amp;&amp;t.bind(e.params)(),e._destroy()})};function Wt(e,t,n){const o=L.domCache.get(e);t.forEach(e=&gt;{o[e].disabled=n})}function zt(e,t){if(!e)return!1;if("radio"===e.type){const n=e.parentNode.parentNode,o=n.querySelectorAll("input");for(let e=0;e&lt;o.length;e++)o[e].disabled=t}else e.disabled=t}const _t=e=&gt;{e.isAwaitingPromise()?(Kt(L,e),L.awaitingPromise.set(e,!0)):(Kt(Ot,e),Kt(L,e))},Kt=(e,t)=&gt;{for(const n in e)e[n].delete(t)};e=Object.freeze({hideLoading:Lt,disableLoading:Lt,getInput:function(e){var t=L.innerParams.get(e||this);return(e=L.domCache.get(e||this))?le(e.popup,t.input):null},close:Nt,isAwaitingPromise:function(){return!!L.awaitingPromise.get(this)},rejectPromise:function(e){const t=Ot.swalPromiseReject.get(this);Rt(this),t&amp;&amp;t(e)},handleAwaitingPromise:Rt,closePopup:Nt,closeModal:Nt,closeToast:Nt,enableButtons:function(){Wt(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){Wt(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return zt(this.getInput(),!1)},disableInput:function(){return zt(this.getInput(),!0)},showValidationMessage:function(e){const t=L.domCache.get(this);var n=L.innerParams.get(this);y(t.validationMessage,e),t.validationMessage.className=p["validation-message"],n.customClass&amp;&amp;n.customClass.validationMessage&amp;&amp;A(t.validationMessage,n.customClass.validationMessage),B(t.validationMessage);const o=this.getInput();o&amp;&amp;(o.setAttribute("aria-invalid",!0),o.setAttribute("aria-describedby",p["validation-message"]),ue(o),A(o,p.inputerror))},resetValidationMessage:function(){var e=L.domCache.get(this);e.validationMessage&amp;&amp;x(e.validationMessage);const t=this.getInput();t&amp;&amp;(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),k(t,p.inputerror))},getProgressSteps:function(){return L.domCache.get(this).progressSteps},update:function(e){var t=g(),n=L.innerParams.get(this);if(!t||w(t,n.hideClass.popup))return a("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");t=(t=&gt;{const n={};return Object.keys(t).forEach(e=&gt;{if(Y(e))n[e]=t[e];else a('Invalid parameter to update: "'.concat(e,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))}),n})(e),n=Object.assign({},n,t),tt(this,n),L.innerParams.set(this,n),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})},_destroy:function(){var e=L.domCache.get(this);const t=L.innerParams.get(this);t?(e.popup&amp;&amp;T.swalCloseEventFinishedCallback&amp;&amp;(T.swalCloseEventFinishedCallback(),delete T.swalCloseEventFinishedCallback),T.deferDisposalTimer&amp;&amp;(clearTimeout(T.deferDisposalTimer),delete T.deferDisposalTimer),"function"==typeof t.didDestroy&amp;&amp;t.didDestroy(),e=this,_t(e),delete e.params,delete T.keydownHandler,delete T.keydownTarget,delete T.currentInstance):_t(this)}});const Yt=(e,t)=&gt;{var n=L.innerParams.get(e);if(!n.input)return l('The "input" parameter is needed to be set when using returnInputValueOn'.concat(H(t)));var o=((e,t)=&gt;{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return n.checked?1:0;case"radio":return(o=n).checked?o.value:null;case"file":return(o=n).files.length?null!==o.getAttribute("multiple")?o.files:o.files[0]:null;default:return t.inputAutoTrim?n.value.trim():n.value}var o})(e,n);if(n.inputValidator){var i=e;var a=o;var r=t;const s=L.innerParams.get(i),c=(i.disableInput(),Promise.resolve().then(()=&gt;u(s.inputValidator(a,s.validationMessage))));c.then(e=&gt;{i.enableButtons(),i.enableInput(),e?i.showValidationMessage(e):("deny"===r?Zt:$t)(i,a)})}else e.getInput().checkValidity()?("deny"===t?Zt:$t)(e,o):(e.enableButtons(),e.showValidationMessage(n.validationMessage))},Zt=(t,n)=&gt;{const e=L.innerParams.get(t||void 0);if(e.showLoaderOnDeny&amp;&amp;D(f()),e.preDeny){L.awaitingPromise.set(t||void 0,!0);const o=Promise.resolve().then(()=&gt;u(e.preDeny(n,e.validationMessage)));o.then(e=&gt;{!1===e?(t.hideLoading(),Rt(t)):t.closePopup({isDenied:!0,value:void 0===e?n:e})}).catch(e=&gt;Xt(t||void 0,e))}else t.closePopup({isDenied:!0,value:n})},Jt=(e,t)=&gt;{e.closePopup({isConfirmed:!0,value:t})},Xt=(e,t)=&gt;{e.rejectPromise(t)},$t=(t,n)=&gt;{const e=L.innerParams.get(t||void 0);if(e.showLoaderOnConfirm&amp;&amp;D(),e.preConfirm){t.resetValidationMessage(),L.awaitingPromise.set(t||void 0,!0);const o=Promise.resolve().then(()=&gt;u(e.preConfirm(n,e.validationMessage)));o.then(e=&gt;{E(ee())||!1===e?(t.hideLoading(),Rt(t)):Jt(t,void 0===e?n:e)}).catch(e=&gt;Xt(t||void 0,e))}else Jt(t,n)},Gt=(n,e,o)=&gt;{e.popup.onclick=()=&gt;{var e,t=L.innerParams.get(n);t&amp;&amp;((e=t).showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton||t.timer||t.input)||o(j.close)}};let Qt=!1;const en=t=&gt;{t.popup.onmousedown=()=&gt;{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&amp;&amp;(Qt=!0)}}},tn=t=&gt;{t.container.onmousedown=()=&gt;{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,e.target!==t.popup&amp;&amp;!t.popup.contains(e.target)||(Qt=!0)}}},nn=(n,o,i)=&gt;{o.container.onclick=e=&gt;{var t=L.innerParams.get(n);Qt?Qt=!1:e.target===o.container&amp;&amp;R(t.allowOutsideClick)&amp;&amp;i(j.backdrop)}},on=e=&gt;"object"==typeof e&amp;&amp;e.jquery,an=e=&gt;e instanceof Element||on(e);const rn=()=&gt;{if(T.timeout){{const n=ne();var e=parseInt(window.getComputedStyle(n).width),t=(n.style.removeProperty("transition"),n.style.width="100%",parseInt(window.getComputedStyle(n).width)),e=e/t*100;n.style.removeProperty("transition"),n.style.width="".concat(e,"%")}return T.timeout.stop()}},sn=()=&gt;{var e;if(T.timeout)return e=T.timeout.start(),se(e),e};let cn=!1;const ln={};const un=t=&gt;{for(let e=t.target;e&amp;&amp;e!==document;e=e.parentNode)for(const o in ln){var n=e.getAttribute(o);if(n)return void ln[o].fire({template:n})}};var dn=Object.freeze({isValidParameter:K,isUpdatableParameter:Y,isDeprecatedParameter:Z,argsToParams:n=&gt;{const o={};return"object"!=typeof n[0]||an(n[0])?["title","html","icon"].forEach((e,t)=&gt;{t=n[t];"string"==typeof t||an(t)?o[e]=t:void 0!==t&amp;&amp;l("Unexpected type of ".concat(e,'! Expected "string" or "Element", got ').concat(typeof t))}):Object.assign(o,n[0]),o},isVisible:()=&gt;E(g()),clickConfirm:jt,clickDeny:()=&gt;f()&amp;&amp;f().click(),clickCancel:()=&gt;b()&amp;&amp;b().click(),getContainer:m,getPopup:g,getTitle:X,getHtmlContainer:$,getImage:G,getIcon:s,getInputLabel:()=&gt;n(p["input-label"]),getCloseButton:oe,getActions:v,getConfirmButton:h,getDenyButton:f,getCancelButton:b,getLoader:d,getFooter:te,getTimerProgressBar:ne,getFocusableElements:ie,getValidationMessage:ee,isLoading:()=&gt;g().hasAttribute("data-loading"),fire:function(){for(var e=arguments.length,t=new Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];return new this(...t)},mixin:function(n){class e extends this{_main(e,t){return super._main(e,Object.assign({},n,t))}}return e},showLoading:D,enableLoading:D,getTimerLeft:()=&gt;T.timeout&amp;&amp;T.timeout.getTimerLeft(),stopTimer:rn,resumeTimer:sn,toggleTimer:()=&gt;{var e=T.timeout;return e&amp;&amp;(e.running?rn:sn)()},increaseTimer:e=&gt;{if(T.timeout)return e=T.timeout.increase(e),se(e,!0),e},isTimerRunning:()=&gt;T.timeout&amp;&amp;T.timeout.isRunning(),bindClickHandler:function(){var e=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:"data-swal-template";ln[e]=this,cn||(document.body.addEventListener("click",un),cn=!0)}});let pn;class I{constructor(){if("undefined"!=typeof window){pn=this;for(var e=arguments.length,t=new Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];var o=Object.freeze(this.constructor.argsToParams(t)),o=(Object.defineProperties(this,{params:{value:o,writable:!1,enumerable:!0,configurable:!0}}),this._main(this.params));L.promise.set(this,o)}}_main(e){var t=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{},e=(J(Object.assign({},t,e)),T.currentInstance&amp;&amp;(T.currentInstance._destroy(),ae()&amp;&amp;ot()),T.currentInstance=this,gn(e,t)),t=(mt(e),Object.freeze(e),T.timeout&amp;&amp;(T.timeout.stop(),delete T.timeout),clearTimeout(T.restoreFocusTimeout),hn(this));return tt(this,e),L.innerParams.set(this,e),mn(this,t,e)}then(e){const t=L.promise.get(this);return t.then(e)}finally(e){const t=L.promise.get(this);return t.finally(e)}}const mn=(l,u,d)=&gt;new Promise((e,t)=&gt;{const n=e=&gt;{l.closePopup({isDismissed:!0,dismiss:e})};var o,i,a;Ot.swalPromiseResolve.set(l,e),Ot.swalPromiseReject.set(l,t),u.confirmButton.onclick=()=&gt;{var e=l,t=L.innerParams.get(e);e.disableButtons(),t.input?Yt(e,"confirm"):$t(e,!0)},u.denyButton.onclick=()=&gt;{var e=l,t=L.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?Yt(e,"deny"):Zt(e,!1)},u.cancelButton.onclick=()=&gt;{var e=l,t=n;e.disableButtons(),t(j.cancel)},u.closeButton.onclick=()=&gt;n(j.close),e=l,t=u,a=n,L.innerParams.get(e).toast?Gt(e,t,a):(en(t),tn(t),nn(e,t,a)),o=l,e=T,t=d,i=n,Mt(e),t.toast||(e.keydownHandler=e=&gt;Ht(o,e,i),e.keydownTarget=t.keydownListenerCapture?window:g(),e.keydownListenerCapture=t.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0),a=l,"select"===(t=d).input||"radio"===t.input?Bt(a,t):["text","email","number","tel","textarea"].includes(t.input)&amp;&amp;(F(t.inputValue)||U(t.inputValue))&amp;&amp;(D(h()),xt(a,t));{var r=d;const s=m(),c=g();"function"==typeof r.willOpen&amp;&amp;r.willOpen(c),e=window.getComputedStyle(document.body).overflowY,Pt(s,c,r),setTimeout(()=&gt;{At(s,c)},wt),ae()&amp;&amp;(kt(s,r.scrollbarPadding,e),nt()),re()||T.previousActiveElement||(T.previousActiveElement=document.activeElement),"function"==typeof r.didOpen&amp;&amp;setTimeout(()=&gt;r.didOpen(c)),k(s,p["no-transition"])}fn(T,d,n),bn(u,d),setTimeout(()=&gt;{u.container.scrollTop=0})}),gn=(e,t)=&gt;{var n=(e=&gt;{e="string"==typeof e.template?document.querySelector(e.template):e.template;if(!e)return{};e=e.content,dt(e),e=Object.assign(at(e),rt(e),st(e),ct(e),lt(e),ut(e,it));return e})(e);const o=Object.assign({},r,t,n,e);return o.showClass=Object.assign({},r.showClass,o.showClass),o.hideClass=Object.assign({},r.hideClass,o.hideClass),o},hn=e=&gt;{var t={popup:g(),container:m(),actions:v(),confirmButton:h(),denyButton:f(),cancelButton:b(),loader:d(),closeButton:oe(),validationMessage:ee(),progressSteps:Q()};return L.domCache.set(e,t),t},fn=(e,t,n)=&gt;{var o=ne();x(o),t.timer&amp;&amp;(e.timeout=new gt(()=&gt;{n("timer"),delete e.timeout},t.timer),t.timerProgressBar&amp;&amp;(B(o),C(o,t,"timerProgressBar"),setTimeout(()=&gt;{e.timeout&amp;&amp;e.timeout.running&amp;&amp;se(t.timer)})))},bn=(e,t)=&gt;{if(!t.toast)return R(t.allowEnterKey)?void(vn(e,t)||Dt(t,-1,1)):yn()},vn=(e,t)=&gt;t.focusDeny&amp;&amp;E(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&amp;&amp;E(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!E(e.confirmButton))&amp;&amp;(e.confirmButton.focus(),!0),yn=()=&gt;{document.activeElement instanceof HTMLElement&amp;&amp;"function"==typeof document.activeElement.blur&amp;&amp;document.activeElement.blur()},wn=(Object.assign(I.prototype,e),Object.assign(I,dn),Object.keys(e).forEach(e=&gt;{I[e]=function(){if(pn)return pn[e](...arguments)}}),I.DismissReason=j,I.version="11.4.8",I);return wn.default=wn}),void 0!==this&amp;&amp;this.Sweetalert2&amp;&amp;(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2);
"undefined"!=typeof document&amp;&amp;function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,".swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast&gt;*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:\"top-start     top            top-end\" \"center-start  center         center-end\" \"bottom-start  bottom-center  bottom-end\";grid-template-rows:minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto);grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start&gt;.swal2-popup{align-self:start}.swal2-container.swal2-top&gt;.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end&gt;.swal2-popup,.swal2-container.swal2-top-right&gt;.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left&gt;.swal2-popup,.swal2-container.swal2-center-start&gt;.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center&gt;.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end&gt;.swal2-popup,.swal2-container.swal2-center-right&gt;.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left&gt;.swal2-popup,.swal2-container.swal2-bottom-start&gt;.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom&gt;.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end&gt;.swal2-popup,.swal2-container.swal2-bottom-right&gt;.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen&gt;.swal2-popup,.swal2-container.swal2-grow-row&gt;.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column&gt;.swal2-popup,.swal2-container.swal2-grow-fullscreen&gt;.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 3px}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:\"!\";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .5s;animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .8s;animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-question-mark .8s;animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@-webkit-keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)&gt;[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}");
/* End */
;
; /* Start:"a:4:{s:4:"full";s:62:"/local/templates/simpleIT/js/modules/Helpers.js?17114179681976";s:6:"source";s:47:"/local/templates/simpleIT/js/modules/Helpers.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const Helpers = {
    loadedStyles: {},
    isFirefox: () =&gt; {return navigator.userAgent.toLowerCase().indexOf('firefox') !== -1},
    isOpera: () =&gt; {return navigator.userAgent.toLowerCase().indexOf('opera') !== -1},
    getModule: async ({moduleName}) =&gt; await import(`${PATHES.COMMON_MODULES_PATH}/${moduleName}.esm.js`),
    getLibrary: async ({libraryName}) =&gt; await import(`${PATHES.COMMON_LIBRARY_PATH}/${libraryName}/${libraryName}.esm.js`),
    styleSheetNodeExists(link){return Object.hasOwn(this.loadedStyles, link);},
    setStyleSheetNode(link) {
        if(!this.styleSheetNodeExists(link)) {
            let head = document.querySelector('head');
            let style = document.createElement('link');
            style.href = link;
            style.type = "text/css";
            style.rel = "stylesheet";
            head.append(style);
            this.loadedStyles[link] = true;
        }
    },
    includeStyles: function ({dirName, fileName}) {
        let link = `${PATHES.STYLES_PATH}/${dirName}/${fileName}.css`;
        this.setStyleSheetNode(link);
    },

    getCookie(name) {
        let matches = document.cookie.match(new RegExp(
            "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
        ));
        return matches ? decodeURIComponent(matches[1]) : undefined;
    },

    setCookie(name, value, options = {}) {
        options = {
            path: '/',
            ...options
        };

        if (options.expires instanceof Date) {
            options.expires = options.expires.toUTCString();
        }

        let updatedCookie = encodeURIComponent(name) + "=" + encodeURIComponent(value);

        for (let optionKey in options) {
            updatedCookie += "; " + optionKey;
            let optionValue = options[optionKey];
            if (optionValue !== true) {
                updatedCookie += "=" + optionValue;
            }
        }

        document.cookie = updatedCookie;
    }
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:73:"/local/templates/simpleIT/themes/classic/header/header.js?171169982521578";s:6:"source";s:57:"/local/templates/simpleIT/themes/classic/header/header.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const dataLayer = [];

window.addEventListener("load", ()=&gt;{
    setTimeout(()=&gt;{
        if(typeof window.yaCounter === 'undefined' &amp;&amp; typeof window.yaCounter96881863 !== 'undefined') {
            window.yaCounter = window.yaCounter96881863;
        }
    }, 1000);
})

window.setPopupFormDataOld = async function (formId, content) {
    let isOldPopup = BX.PopupWindowManager.isPopupExists(`_${formId}`);
    let popup = BX.PopupWindowManager.create(`_${formId}`, "#popup-message", {
        content: content,
        darkMode: false,
        autoHide: true,
        closeIcon: true,
        closeByEsc : true,
        overlay: {
            backgroundColor: 'black', opacity: '80'
        }
    });
    popup.contentContainer.innerHTML = content;

    let phonesFields = node.querySelectorAll(".phone")
    if (!_.isEmpty( phonesFields )) {
        const { PhoneFieldValidate } = await Helpers.getModule({moduleName: 'PhoneFieldValidate'})
        phonesFields.forEach( phone =&gt; new PhoneFieldValidate({phoneField: phone}) )
    }

    popup.show();

    if (!isOldPopup) {
        popup.contentContainer.addEventListener("click", function (event) {
            let i = 0;
            for (i; i &lt; event.path.length; i++) {
                if (event.path[i].dataset !== undefined &amp;&amp; event.path[i].dataset.trigger !== undefined &amp;&amp; window[event.path[i].dataset.trigger] !== undefined) {
                    window[event.path[i].dataset.trigger](event.path[i]);
                    break;
                }
            }
        })
    }
}

window.setPopupFormData = async function (content) {
    let node = document.createElement("div")
    node.innerHTML = content
    node.style.textAlign = 'left'
    let phonesFields = node.querySelectorAll(".phone")
    if (!_.isEmpty( phonesFields )) {
        const { PhoneFieldValidate } = await Helpers.getModule({moduleName: 'PhoneFieldValidate'})
        phonesFields.forEach( phone =&gt; new PhoneFieldValidate({phoneField: phone}) )
    }

    Swal.fire({
        html:node,
        focusClose: false,
        showCloseButton: true,
        showConfirmButton: false,
        width: "auto",
        padding: 0,
        customClass: {
            htmlContainer: "jmPopupContainer",
            closeButton: "jmPopupCloseButton",
        },
        showClass: {
            popup: '',
        },
        hideClass: {
            popup: '',
        }
    });
}

window.formTrigger = function (target) {
    let formId = target.dataset.form_id;
    if (!formId){
        formId = 1;
    }
    BX.ajax.runAction("simpleit.api.form.getById",{
        data: {
            formId: formId,
            formData: target.dataset,
        }
    }).then(
        result =&gt; {
            window.onWebFormOpen(formId);
            window.setPopupFormData(result.data);
        }
    );
}

window.formSubmitTrigger = function (target) {
    let form = target.closest("form");
    let formData = new FormData(form);
    let formResult = {};

    let key;
    for (key of formData.keys()) {
        let values = formData.getAll(key);
        if (values.length === 1) {
            values = values.shift();
        }
        formResult[key] = values;
    }

    let validate = validateForm(form, formResult);

    if(validate.isValid) {
        let loader = form.querySelector(".loader")
        if(loader) {
            loader.style.display = "flex";
        }
        
        form.querySelector(".error").innerHTML = ``;
        BX.ajax.runAction("simpleit.api.form.addResult",{
            data: {
                form: formResult,
            }
        }).then(result =&gt; {
            if(loader) {
                loader.style.display = "none";
            }
            if (result.data.status === "200") {
                window.onFormResultSuccess(target.dataset.form_id);
                form.querySelector(".form-body").innerHTML = result.data.message;
            } else {
                form.querySelector(".error").innerHTML = `&lt;div class="error-message"&gt;${result.data.message}&lt;/div&gt;`;
            }
        });
    }else{
        form.querySelector(".error").innerHTML = `&lt;div class="error-message"&gt;${validate.error}&lt;/div&gt;`;
    }
}

window.onWebFormOpen = function (formId) {
    if(typeof window.yaCounter !== "undefined" &amp;&amp; formId == 38) {
        window.yaCounter.reachGoal("goal_fastorder_begin");
    }
}

window.onFormResultSuccess = function (formId) {
    formId = Number(formId);
    if(typeof window.yaCounter !== "undefined") {

        if(formId &amp;&amp; formId !== 34) {
            window.yaCounter.reachGoal("total_leads");
            window.yaCounter.reachGoal("znachimie_deistviya");
            _tmr?.push({ type: 'reachGoal', id: 3466488, goal: 'znachimie_deistviya'});
            dataLayer.push({event: 'znachimie_deistviya'});
            switch(formId) {
                case 1:
                    window.yaCounter.reachGoal("zadat_vopros");
                    dataLayer.push({event: "zadat_vopros"});
                    break;
                case 3:
                    window.yaCounter.reachGoal("zakazat_zvonok");
                    dataLayer.push({event: 'zakazat_zvonok'});
                    break;
                case 4:
                    window.yaCounter.reachGoal("nashli_deshevle");
                    dataLayer.push({event: 'nashli_deshevle'});
                    break;
                case 9:
                    window.yaCounter.reachGoal("tovar_pod_zakaz");
                    dataLayer.push({event: 'tovar_pod_zakaz'});
                    break;
                case 10:
                    window.yaCounter.reachGoal("zakazat_uslugu");
                    dataLayer.push({event: 'zakazat_uslugu'});
                    break;
                case 13: 
                    window.yaCounter.reachGoal("kupit_po_opt_tcene");
                    dataLayer.push({event: 'kupit_po_opt_tcene'});
                    break;
                case 14: 
                    window.yaCounter.reachGoal("skachat_prais");
                    dataLayer.push({event: 'skachat_prais'});
                    break;
                case 18:
                    window.yaCounter.reachGoal("goal_webform_diler");
                    break;
                case 25:
                    //counter.reachGoal("goal_webform_torgi");
                    window.yaCounter.reachGoal("zakaz_tz");
                    dataLayer.push({event: "zakaz_tz"});
                    break;
                case 26:
                    window.yaCounter.reachGoal("optovikam");
                    break;
                case 27:
                    window.yaCounter.reachGoal("goal_price_drop");
                    break;
                case 28:
                    window.yaCounter.reachGoal("goal_own_price");
                    break;
                case 29:
                    window.yaCounter.reachGoal("goal_invite_tender");
                    break;
                case 36:
                    window.yaCounter.reachGoal("calculate_shipping_cost");
                    break;
                    
                case 38:
                    window.yaCounter.reachGoal("goal_fastorder_success");
                    dataLayer.push({event: 'goal_fastorder_success'});
                    break;
                default:
                    //counter.reachGoal("goal_webform_success");
                    break;
            }
        }
    }
}

window.closeForm = function (target) {
    let event = new Event("click");
    document.querySelector(".jmPopupCloseButton").dispatchEvent(event);
}

window.validateForm = function(formNode, formResult) {
    let errors = [];
    
    if(formResult.captcha_sid &amp;&amp; !formResult['g-recaptcha-response']) {
        errors.push(`ÐŸÐ¾Ð¶Ð°Ð»ÑƒÐ¹ÑÑ‚Ð° Ð¿Ð¾Ð´Ñ‚Ð²ÐµÑ€Ð´Ð¸Ñ‚Ðµ Ñ‡Ñ‚Ð¾ Ð²Ñ‹ Ð½Ðµ Ñ€Ð¾Ð±Ð¾Ñ‚`);
    }
    
    Object.entries(formResult).map(entry =&gt; {
        let fieldName = entry[0];
        let fieldValue = entry[1];
        let fieldNode = formNode.querySelector(`*[name='${fieldName}']`);

        if (fieldNode.required &amp;&amp; !fieldValue) {
            errors.push(`ÐŸÐ¾Ð¶Ð°Ð»ÑƒÐ¹ÑÑ‚Ð° Ð·Ð°Ð¿Ð¾Ð»Ð½Ð¸Ñ‚Ðµ Ð¾Ð±ÑÐ·Ð°Ñ‚ÐµÐ»ÑŒÐ½Ñ‹Ðµ Ð¿Ð¾Ð»Ñ!`)
        } else {
            if(fieldNode.required) {
                if(fieldNode.classList.contains('phone')) {
                    let phoneRegEx = /\+7 \(\d\d\d\) \d\d\d-\d\d-\d\d/;
                    if(window.location.origin.includes("gm.kg")) {
                        phoneRegEx = /\+996 \d\d\d \d\d\d \d\d\d/;
                    }

                    let matches = fieldValue.match(phoneRegEx);
                    if(matches === null) {
                        errors.push(`ÐÐµÐºÐ¾Ñ€Ñ€ÐµÐºÑ‚Ð½Ð¾ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½ Ñ‚ÐµÐ»ÐµÑ„Ð¾Ð½`);
                    }
                }

                if(fieldNode.type === 'email') {
                    let validateEmail = (email) =&gt; {
                        return String(email)
                            .toLowerCase()
                            .match(
                                /^(([^&lt;&gt;()[\]\\.,;:\s@"]+(\.[^&lt;&gt;()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
                            );
                    };

                    if(!validateEmail(fieldValue)) {
                        errors.push(`ÐÐµÐºÐ¾Ñ€Ñ€ÐµÐºÑ‚Ð½Ð¾ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½ email`);
                    }
                }
            }
        }
    });

    let isValid = (errors.length === 0);
    return {
        isValid: isValid,
        error: errors.pop()
    }
}

window.phoneDropDownTrigger = function (target) {
    let phoneDD = document.querySelector(`.header-mobile-phones-dd`);
    if(phoneDD) {
        let wrap = phoneDD.querySelector(".header-mobile-phones-dd__content-wrap");
        let content = phoneDD.querySelector(".header-mobile-phones-dd__content");

        if(phoneDD.classList.contains("open")) {
            wrap.style.height = 0;
            setTimeout(()=&gt;{
                phoneDD.classList.remove("open");
            },200)
        }else{
            phoneDD.classList.add("open");
            wrap.style.height = content.getBoundingClientRect().height + "px";
        }
    }
}

window.searchDropDownTrigger = function (target) {
    let searchDD = document.querySelector(`.header-mobile-search-dd`);
    if(searchDD) {
        let wrap = searchDD.querySelector(".header-mobile-search-dd__content-wrap");
        let content = searchDD.querySelector(".header-mobile-search-dd__content");

        if(searchDD.classList.contains("open")) {
            wrap.style.height = 0;
            setTimeout(()=&gt;{
                searchDD.classList.remove("open");
            },200);
        }else{
            searchDD.classList.add("open");
            wrap.style.height = content.getBoundingClientRect().height + "px";
        }
    }
}

window.mobileMenuTrigger = function (target) {
    let wrap = document.querySelector(".header-mobile-menu-wrap");
    let slider = wrap.querySelector(".header-mobile-menu__slider");
    if(wrap.classList.contains("active")) {
        let sliderBox = slider.getBoundingClientRect();
        slider.style.left = `-${sliderBox.width}px`;
        setTimeout(()=&gt;{wrap.classList.remove("active");}, 300)
        return;
    }
    wrap.classList.add("active");
    setTimeout(()=&gt;{slider.style.left = `0px`;}, 10)
}

window.updateCounters = function (target = null) {
    BX.ajax.runAction("simpleit.api.popup.counters",{}).then(response =&gt; {
        document.querySelectorAll(".basket-link__counter.compare").forEach(node=&gt;{
            node.innerHTML = response.data.compare;
        });
        document.querySelectorAll(".basket-link__counter.delay").forEach(node=&gt;{
            node.innerHTML = response.data.delay;
        });
        document.querySelectorAll(".basket-link__counter.basket").forEach(node=&gt;{
            node.innerHTML = response.data.basket;
        });
    });
}

const delayLinkHandler = event =&gt; {
    if (location.pathname === '/basket/')
        location.assign(event.currentTarget.href)
        window.location.reload();
}

document.addEventListener('DOMContentLoaded', function(){
    document.addEventListener("click", function (event) {
        let i = 0;
        if(event.path) {
            for (i; i &lt; event.path.length; i++) {
                if (event.path[i].dataset !== undefined &amp;&amp; event.path[i].dataset.trigger !== undefined &amp;&amp; window[event.path[i].dataset.trigger] !== undefined) {
                    window[event.path[i].dataset.trigger](event.path[i]);
                    break;
                }
            }
        }else {
            if(event.target.dataset.trigger !== undefined &amp;&amp; window[event.target.dataset.trigger] !== undefined){
                window[event.target.dataset.trigger](event.target)
            }else{
                let tg = event.target.closest('*[data-trigger]');
                if (tg &amp;&amp; window[tg.dataset.trigger] !== undefined) {
                    window[tg.dataset.trigger](tg)
                }
            }
        }
    })

    document.addEventListener("click", function (event) {
        if (event.target.classList.contains("custom-dropdown__value")) {
            if(event.target.classList.contains("open")) {
                event.target.classList.remove("open");
                event.target.closest(".custom-dropdown").querySelector(".custom-dropdown__select").classList.remove("open");
            }else{
                event.target.classList.add("open");
                event.target.closest(".custom-dropdown").querySelector(".custom-dropdown__select").classList.add("open");
            }
        }else{
            document.querySelectorAll(".custom-dropdown .open").forEach((node)=&gt;{node.classList.remove("open")});
        }
    });
    
    document.querySelectorAll("a").forEach(link=&gt;{
        link.addEventListener("click", (event)=&gt;{
            let target = event.target;
            if(target.nodeName !== "A") {
                target = target.closest("a");
            }
            if(target.href.includes("mailto:") || target.href.includes("tel:")) {
                if(typeof window.yaCounter !== "undefined") {
                    window.yaCounter.reachGoal("znachimie_deistviya");
                    dataLayer.push({event: 'znachimie_deistviya'});
                    _tmr?.push({ type: 'reachGoal', id: 3466488, goal: 'znachimie_deistviya'});
                }
            }
        }, false)
    })

    document.querySelectorAll(".basket-link.delay").forEach( node =&gt; node.addEventListener('click', delayLinkHandler));
});

window.addEventListener("load", ()=&gt;{
    window.updateCounters();
});

document.addEventListener('DOMContentLoaded', function () {
    window.fixedHeader = document.querySelector("section.header-fixed");
    window.header = document.querySelector("header");

    window.addEventListener('scroll', function() {
        let headerBoundingRect = window.header.getBoundingClientRect();
        if(headerBoundingRect.y + headerBoundingRect.height &lt; 0) {
            window.fixedHeader.style.top = 0;
        } else {
            window.fixedHeader.style.top = "-70px";
        }
    })
})

let scrollBottomPosition = window.scrollY;
let lastScrollIsBottom = false;
let scrollReversePoint = 0;
let scrollDirectionDelta = 0;
let lastScrollTop = 0;
let headerEventsDelta = 30;
let scrollUpStartPosition = 500;
function showMobileHeader() {
    if(scrollDirectionDelta &gt;= headerEventsDelta &amp;&amp; window.header.style.position !== "sticky") {
        let headerBoundingRect = window.header.getBoundingClientRect();
        window.header.style.position = "sticky";
        window.header.animate([
            {top: "-"+headerBoundingRect.height+"px"},
            {top: "0px"},
        ],{
            duration: 200,
            iterations: 1,
        });
        window.header.style.top = "0";
    }
}

function hideMobileHeader() {
    if(scrollDirectionDelta &gt;= headerEventsDelta &amp;&amp; window.header.style.position === "sticky") {
        let headerBoundingRect = window.header.getBoundingClientRect();
        let animation = window.header.animate([
            {top: "0px"},
            {top: "-"+headerBoundingRect.height+"px"},
        ],{
            duration: 200,
            iterations: 1,
        });
        animation.onfinish = (e) =&gt; {
            setTimeout(()=&gt;{
                window.header.style.top = "0";
                window.header.style.position = "relative";
            }, 100);
        }
    }
}

function showUpButton() {
    if (window.ScrollToTopBtn === undefined) {
        createScrollToTopBtn();
        window.ScrollToTopBtn.style.display = "flex";
        window.ScrollToTopBtn.style.opacity = "0";
        window.ScrollToTopBtn.style.transform = "rotateZ(90deg) translateX(25px)";
        window.ScrollToTopBtn.style.transition = "all .2s linear";
    }
    if(window.ScrollToTopBtn.style.opacity === "0" &amp;&amp; lastScrollTop &gt; scrollUpStartPosition) {
        window.ScrollToTopBtn.animate([
            {
                opacity: "0",
                transform: "rotateZ(90deg) translateX(25px)",
            },
            {
                opacity: "1",
                transform: "rotateZ(90deg) translateX(0px)",
            }
        ], {
            duration: 200,
            iterations: 1,
        })
        window.ScrollToTopBtn.style.opacity = "1"
        window.ScrollToTopBtn.style.transform = "rotateZ(90deg) translateX(0px)"
    }
    if(lastScrollTop &lt;= scrollUpStartPosition) {
        hideUpButton();
    }
}

function hideUpButton() {
    if (window.ScrollToTopBtn === undefined) {
        createScrollToTopBtn();
        window.ScrollToTopBtn.style.display = "flex";
        window.ScrollToTopBtn.style.opacity = "0";
        window.ScrollToTopBtn.style.transform = "rotateZ(90deg) translateX(25px)";
        window.ScrollToTopBtn.style.transition = "all .2s linear";
    }
    if(window.ScrollToTopBtn.style.opacity === "1") {
        window.ScrollToTopBtn.animate([
            {
                opacity: "1",
                transform: "rotateZ(90deg) translateX(0px)",
            },
            {
                opacity: "0",
                transform: "rotateZ(90deg) translateX(25px)",
            }
        ], {
            duration: 200,
            iterations: 1,
        })
        window.ScrollToTopBtn.style.opacity = "0"
        window.ScrollToTopBtn.style.transform = "rotateZ(90deg) translateX(25px)"
    }
}

window.addEventListener('scroll', function(e) {
    let st = window.pageYOffset || document.documentElement.scrollTop;

    if (st &gt; lastScrollTop) {
        // downscroll code
        if(!lastScrollIsBottom) {scrollReversePoint = st;}
        lastScrollIsBottom = true;
        scrollDirectionDelta = Math.abs(scrollReversePoint - st);
        if(window.innerWidth &lt; 1000) {
            hideMobileHeader();
        }

        hideUpButton();
    } else if (st &lt; lastScrollTop) {
        // upscroll code
        if(lastScrollIsBottom) {scrollReversePoint = st;}
        lastScrollIsBottom = false;
        scrollDirectionDelta = Math.abs(scrollReversePoint - st);
        if(window.innerWidth &lt; 1000) {
            showMobileHeader();
        }
        showUpButton();
    }
    // else was horizontal scroll
    lastScrollTop = st &lt;= 0 ? 0 : st; // For Mobile or negative scrolling
})



function createScrollToTopBtn() {
    let node = document.createElement("div");
    node.id = "scrollUp";
    node.innerHTML = `&lt;svg xmlns="http://www.w3.org/2000/svg" width="15.969" height="12" viewBox="0 0 15.969 12"&gt;&lt;path data-name="Rounded Rectangle 982 copy" d="M34,32H22.414l3.3,3.3A1,1,0,1,1,24.3,36.713l-4.978-4.978c-0.01-.01-0.024-0.012-0.034-0.022s-0.015-.041-0.03-0.058a0.974,0.974,0,0,1-.213-0.407,0.909,0.909,0,0,1-.024-0.123,0.982,0.982,0,0,1,.267-0.838c0.011-.011.025-0.014,0.036-0.024L24.3,25.287A1,1,0,0,1,25.713,26.7l-3.3,3.3H34A1,1,0,0,1,34,32Z" transform="translate(-19.031 -25)"&gt;&lt;/path&gt;&lt;/svg&gt;`;
    node.addEventListener("click", ()=&gt;{
        window.scroll({
                top: 0,
                behavior: 'smooth'
            })
    })
    document.querySelector("body").appendChild(node);
    window.ScrollToTopBtn = node;
}

window.manufacturerPopup = function (target) {
    BX.ajax.runAction("simpleit.api.popup.manufacturer", {data: {name: target.innerText}}).then(response =&gt; {
        if(response.data) {
            let node = document.createElement("div");
            node.classList.add("customScrollbar");
            node.style.overflow = "scroll";
            node.style.textAlign = "left";
            node.style.maxHeight = "90vh";
            node.style.maxWidth = "90vw";
            node.style.padding = "20px";
            node.innerHTML = response.data;
            Swal.fire({
                html:node,
                focusClose: false,
                showCloseButton: true,
                showConfirmButton: false,
                width: "auto",
                padding: 0,
                customClass: {
                    htmlContainer: "jmPopupContainer",
                    closeButton: "jmPopupCloseButton",
                },
                showClass: {
                    popup: '',
                },
                hideClass: {
                    popup: '',
                }
            });
        }
    })
}

const copyToClipboard = str =&gt; {
    if (navigator &amp;&amp; navigator.clipboard &amp;&amp; navigator.clipboard.writeText)
        navigator.clipboard.writeText(str)
};

const isForeignRegion = () =&gt; window.location.host.indexOf('xn----7sbenacbbl2bhik1tlb.xn--p1ai') === -1 ? true : false;
/* End */
;
; /* Start:"a:4:{s:4:"full";s:72:"/local/templates/simpleIT/themes/classic/region/region.js?17119485507794";s:6:"source";s:57:"/local/templates/simpleIT/themes/classic/region/region.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
document.addEventListener('DOMContentLoaded', function(){
    document.querySelectorAll(".region").forEach((address)=&gt;{
        address.addEventListener("click", (event)=&gt;{
            let node = document.createElement("div");
            node.classList.add("region-popup");
            node.id = "region-popup";
            node.innerHTML = '&lt;region-popup&gt;&lt;/region-popup&gt;';
            node.style.textAlign = 'left';
            Swal.fire({
                html:node,
                focusClose: false,
                showCloseButton: true,
                showConfirmButton: false,
                width: "auto",
                padding: 0,
                customClass: {
                    htmlContainer: "jmPopupContainer",
                    closeButton: "jmPopupCloseButton",
                },
                showClass: {
                    popup: '',
                },
                hideClass: {
                    popup: '',
                }
            });
            initRegionPopup();
        })
    })
});

BX.Vue.component("region-popup", {
    template: `&lt;div class="popup-form"&gt;
            
        &lt;h2&gt;{{popupTitle}}&lt;/h2&gt;
        &lt;div class="region-popup-container"&gt;
            &lt;div class="form-group region-popup-search" @mouseleave="hideFilterDropdown(true)"&gt;
                &lt;input type="text" class="inputtext" :placeholder="inputPlaceholder" v-model="filter" @keydown="applyFilter" @focus="showFilterDropdown" autocomplete="off"&gt;
                &lt;div class="region-popup-search__dropdown customScrollbar"&gt;
                    &lt;a v-for="region in filteredRegions" :href="getRegionLink(region)" class="region-popup-search__dropdown-link region-popup__link"&gt;{{ region.NAME }}&lt;/a&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="region-popup-examples"&gt;
                &lt;div class="region-popup-examples__title"&gt;ÐÐ°Ð¿Ñ€Ð¸Ð¼ÐµÑ€: &lt;/div&gt;
                &lt;div class="region-popup-examples__content"&gt;
                    &lt;a v-for="mainRegion in mainRegions" :href="getRegionLink(mainRegion)"&gt;{{ mainRegion.NAME }}&lt;/a&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div v-if="false &amp;&amp; this.countriesList.length != 0" class="region-popup-examples"&gt;
                &lt;div class="region-popup-examples__title"&gt;Ð”Ñ€ÑƒÐ³Ð¸Ðµ ÑÑ‚Ñ€Ð°Ð½Ñ‹: &lt;/div&gt;
                &lt;div class="region-popup-examples__content"&gt;
                    &lt;a v-for="country in countriesList" :href="getRegionLink(country)"&gt;{{ country.NAME }}&lt;/a&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="region-popup-select" v-if="!countries"&gt;
                &lt;div class="top region-popup-col"&gt;
                    &lt;div class="region-popup-col-title"&gt;ÐžÐºÑ€ÑƒÐ³&lt;/div&gt;
                    &lt;div class="region-popup-col-content customScrollbar" id="district"&gt;
                        &lt;div v-for="section in sections" v-if="section.IBLOCK_SECTION_ID === null" :class="getDistrictClass(section)" @click="setCurrentDistrict(section)"&gt;{{ section.NAME }}&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="subs region-popup-col"&gt;
                    &lt;div class="region-popup-col-title"&gt;Ð&nbsp;ÐµÐ³Ð¸Ð¾Ð½&lt;/div&gt;
                    &lt;div class="region-popup-col-content customScrollbar" id="region"&gt;
                        &lt;div v-for="section in sections" v-if="section.IBLOCK_SECTION_ID === currentDistrict" :class="getRegionClass(section)" @click="setCurrentRegion(section)"&gt;{{ section.NAME }}&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="cities region-popup-col"&gt;
                    &lt;div class="region-popup-col-title"&gt;Ð“Ð¾Ñ€Ð¾Ð´&lt;/div&gt;
                    &lt;div class="region-popup-col-content customScrollbar" id="city"&gt;
                        &lt;a v-for="region in regions" v-if="region.IBLOCK_SECTION_ID === currentRegion" :href="getRegionLink(region)" class="region-popup__link"&gt;{{ region.NAME }}&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;`,

    data() {
        return {
            sections: {},
            regions: {},
            countriesList: [],
            mainRegions: [],
            countries: true,
            currentDistrict: null,
            currentRegion: null,
            filter: "",
            filteredRegions: [],
            inputPlaceholder: '',
            popupTitle: '',
        }
    },

    methods: {
        getRegionLink(region) {
            let url = window.location.href.replace(window.location.host, region.DOMAIN)
            if(window.location.search) {
                url += "&amp;region-confirm=Y"
            }else{
                url += "?region-confirm=Y"
            }
            return url;
        },

        getDistrictClass(district) {
            return district.ID === this.currentDistrict ? "region-popup__link active" : "region-popup__link";
        },

        getRegionClass(region) {
            return region.ID === this.currentRegion ? "region-popup__link active" : "region-popup__link";
        },

        setCurrentDistrict(district = null) {
            if(district === null) {
                this.currentDistrict = Object.keys(this.sections)[0]
            } else {
                this.currentDistrict = district.ID;
            }
            this.setCurrentRegion();
        },

        setCurrentRegion(region = null) {
            if(region === null) {
                let sectionKeys = Object.keys(this.sections);
                let i = 0;
                for ( i; i &lt; sectionKeys.length; i++) {
                    if(this.sections[sectionKeys[i]].IBLOCK_SECTION_ID === this.currentDistrict) {
                        this.currentRegion = sectionKeys[i];
                        break;
                    }
                }
            } else {
                this.currentRegion = region.ID;
            }
        },

        applyFilter() {
            this.filteredRegions = [];
            if(this.filter.length &gt; 0) {
                this.regions.forEach( region =&gt; {
                    if(region.NAME.toLowerCase().includes(this.filter.toLowerCase())) {
                        this.filteredRegions.push(region);
                    }
                });
            }
            this.showFilterDropdown();
        },

        showFilterDropdown() {
            if(this.filteredRegions.length &gt; 0) {
                this.$el.querySelector(".region-popup-search__dropdown").classList.add("visible");
            }else{
                this.hideFilterDropdown();
            }
        },

        hideFilterDropdown(blur = false) {
            if(blur) {
                this.$el.querySelector("input").blur();
            }
            this.$el.querySelector(".region-popup-search__dropdown").classList.remove("visible");
        },

        setComponentData({response}) {
            this.sections = response.data.sections;
            this.regions = response.data.regions;
            this.mainRegions = response.data.mainRegions;
            this.countries = response.data.countries;

            if (this.countries) {
                this.inputPlaceholder = 'Ð’Ð²ÐµÐ´Ð¸Ñ‚Ðµ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ðµ Ð³Ð¾Ñ€Ð¾Ð´Ð° Ð¸Ð»Ð¸ ÑÑ‚Ñ€Ð°Ð½Ñ‹'
                this.popupTitle = 'Ð’Ñ‹Ð±ÐµÑ€Ð¸Ñ‚Ðµ Ð³Ð¾Ñ€Ð¾Ð´ Ð¸Ð»Ð¸ ÑÑ‚Ñ€Ð°Ð½Ñƒ '
            } else {
                this.mainRegions.reduceRight((acc, element, index, object) =&gt; {}, []);
                this.inputPlaceholder = 'Ð’Ð²ÐµÐ´Ð¸Ñ‚Ðµ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ðµ Ð³Ð¾Ñ€Ð¾Ð´Ð°'
                this.popupTitle = 'Ð’Ñ‹Ð±ÐµÑ€Ð¸Ñ‚Ðµ Ð³Ð¾Ñ€Ð¾Ð´'
            }
            this.setCurrentDistrict();
        }
    },

    mounted() {
        BX.ajax.runAction("simpleit.api.popup.region", {}).then( response =&gt; this.setComponentData({response}));
    }
});

function initRegionPopup() {
    BX.Vue.create({
        el: "#region-popup"
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:74:"/local/templates/simpleIT/themes/classic/address/address.js?17119485503757";s:6:"source";s:59:"/local/templates/simpleIT/themes/classic/address/address.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
window.addEventListener('load', function(){
    document.querySelectorAll(".address").forEach((address)=&gt;{
        address.addEventListener("click", (event)=&gt;{
            let showPopup = (response) =&gt; {
                let node = document.createElement("div");
                node.classList.add("map-popup")
                node.id = "map-popup"
                node.style.textAlign = 'left';
                Swal.fire({
                    html:node,
                    focusClose: false,
                    showCloseButton: true,
                    showConfirmButton: false,
                    width: "auto",
                    padding: 0,
                    customClass: {
                        htmlContainer: "jmPopupContainer",
                        closeButton: "jmPopupCloseButton",
                    },
                    showClass: {
                        popup: '', // animate__animated animate__fadeIn
                    },
                    hideClass: {
                        popup: '', // animate__animated animate__fadeOut
                    }
                });


                DG.then(function () {
                    let map;
                    map = DG.map('map-popup', {
                        center: response.data.center,
                        zoom: 13,
                        fullscreenControl: false
                    });

                    response.data.points.forEach(point =&gt; {
                        DG.marker(point).addTo(map);
                    })
                });
            }

            BX.ajax.runAction("simpleit.api.popup.map", {}).then(showPopup);
        })
    })
    if(false) {
        BX.ajax.runAction("simpleit.api.region.confirm", {}).then(
            response =&gt; {
                let regionConfirmMessage = document.querySelector("#confirmRegion");
                if(!regionConfirmMessage) {
                    return;
                }
                if(response.data.currentConfirmed === "N" &amp;&amp; response.data.originIsCurrent === "N" &amp;&amp; response.data.originalRegion &amp;&amp; response.data.originalRegion.DOMAIN &amp;&amp; response.data.originalRegion.NAME) {
                    new Confirm({
                        title: "ÐÐ²Ñ‚Ð¾Ð¾Ð¿Ñ€ÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ðµ Ñ€ÐµÐ³Ð¸Ð¾Ð½Ð°",
                        message: `Ð’Ð°Ñˆ Ñ€ÐµÐ³Ð¸Ð¾Ð½ ${response.data.originalRegion.NAME}?`,
                        type: NotificationTypes.info,
                        confirmButtonText: "Ð´Ð°",
                        cancelButtonText: "Ð²Ñ‹Ð±Ñ€Ð°Ñ‚ÑŒ Ð´Ñ€ÑƒÐ³Ð¾Ð¹",
                        onClosed:function (confirm) {
                            Helpers.setCookie("region-confirmed", "Y");
                        },
                        onConfirm: function (confirm) {
                            Helpers.setCookie("region-confirmed", "Y");
                            window.location.assign(window.location.href.replace(window.location.host, response.data.originalRegion.DOMAIN))
                        },
                        onCancel: function (confirm) {
                            window.chooseAnorherRegion({});
                        },
                    }).push();
                }
            }
        )
    }

});
window.chooseAnorherRegion = function (target) {

    let regionConfirmMessage = document.querySelector("#confirmRegion");
    regionConfirmMessage.style.top = "-300px";
    regionConfirmMessage.style.position = "absolute";

    if(window.innerWidth &lt;= 700) {
        let click = new Event("click");
        window.mobileMenuTrigger();
        window.openMobileSubSlide({dataset: {container_id:"header-mobile-menu__regions-slide"}})
    } else {
        let click = new Event("click");
        document.querySelector(".region").dispatchEvent(click);
    }
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:71:"/local/templates/simpleIT/themes/classic/button/button.js?1711948550246";s:6:"source";s:57:"/local/templates/simpleIT/themes/classic/button/button.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
document.addEventListener('DOMContentLoaded', async () =&gt; {
    const { Ripple } = await Helpers.getModule({ moduleName: 'ripple.min' })
    Helpers.includeStyles({dirName: 'ripple', fileName: 'ripple.min'})
    new Ripple(".button").init();
});

/* End */
;
; /* Start:"a:4:{s:4:"full";s:83:"/local/components/simpleit/header.basket/templates/classic/script.js?17114176596519";s:6:"source";s:68:"/local/components/simpleit/header.basket/templates/classic/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
window.headerBasaketComponent = BX.Vue.component("bx-header-basket", {
    template: `
    &lt;div class="header-basket-fly-root" v-on:mouseenter="mouseenterEvent"&gt;
        &lt;a href="/basket/" class="header-basket-link"&gt;
            &lt;slot name="basket"&gt;&lt;/slot&gt;
            &lt;div class="basket-link__counter"&gt;{{ basketSize }}&lt;/div&gt;
        &lt;/a&gt;
        &lt;div class="basket-fly"&gt;
            &lt;div class="basket-fly__loader" v-if="loading"&gt;&lt;slot name="loader"&gt;&lt;/slot&gt;&lt;/div&gt;
            
            &lt;div class="basket-fly__empty" v-if="!loading &amp;&amp; basketSize == 0"&gt;
                &lt;slot name="basket-empty"/&gt;
                &lt;div class="basket-fly__empty-title"&gt;Ð’Ð°ÑˆÐ° ÐºÐ¾Ñ€Ð·Ð¸Ð½Ð° Ð¿ÑƒÑÑ‚Ð°&lt;/div&gt;
                &lt;p&gt;Ð˜ÑÐ¿Ñ€Ð°Ð²Ð¸Ñ‚ÑŒ ÑÑ‚Ð¾ Ð¿Ñ€Ð¾ÑÑ‚Ð¾: Ð²Ñ‹Ð±ÐµÑ€Ð¸Ñ‚Ðµ Ð² ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ðµ Ð¸Ð½Ñ‚ÐµÑ€ÐµÑÑƒÑŽÑ‰Ð¸Ð¹ &lt;br&gt;Ñ‚Ð¾Ð²Ð°Ñ€ Ð¸ Ð½Ð°Ð¶Ð¼Ð¸Ñ‚Ðµ ÐºÐ½Ð¾Ð¿ÐºÑƒ Â«Ð’ ÐºÐ¾Ñ€Ð·Ð¸Ð½ÑƒÂ». &lt;/p&gt;
            &lt;/div&gt;
            
            &lt;div class="basket-fly__list customScrollbar" v-if="!loading &amp;&amp; basketSize &gt; 0"&gt;
                &lt;div class="basket-fly__list-element" v-for="item in basket"&gt;
                    &lt;div class="basket-fly__list-element-body"&gt;
                        &lt;a class="basket-fly__list-element-preview" :href="item.URL"&gt;
                            &lt;img :src="item.PREVIEW_PICTURE ? item.PREVIEW_PICTURE : item.DETAIL_PICTURE" :alt="item.NAME"&gt;
                        &lt;/a&gt;
                        
                        &lt;div class="basket-fly__list-element-info"&gt;
                            &lt;a class="basket-fly__list-element-title" :href="item.URL"&gt;{{item.NAME}}&lt;/a&gt;
    
                            &lt;div class="basket-fly__list-element-price"&gt;
                                &lt;span&gt;{{item.DISCOUNT_PRICE_FORMATED}}&lt;/span&gt; 
                                
                                &lt;span class="basket-fly__list-element-price-old " v-if="item.DISCOUNT_VALUE &gt; 0"&gt; {{item.PRICE_FORMATED}} &lt;/span&gt;
    
                                &lt;span&gt; x {{ item.QUANTITY }}&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        
                    &lt;/div&gt;
                    &lt;div class="basket-fly__list-element-total"&gt;
                        {{ item.TOTAL_PRINT }}
                        &lt;div class="basket-fly__list-element-remove" v-on:click="remove(item.ID)"&gt;
                            &lt;slot name="close"&gt;&lt;/slot&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="basket-fly__total" v-if="!loading &amp;&amp; basketSize &gt; 0"&gt;
                &lt;div class="basket-fly__total-clean" v-on:click="clean"&gt; 
                    &lt;slot name="close"&gt;&lt;/slot&gt;
                    Ð¾Ñ‡Ð¸ÑÑ‚Ð¸Ñ‚ÑŒ ÐºÐ¾Ñ€Ð·Ð¸Ð½Ñƒ
                &lt;/div&gt;
                
                &lt;div class="basket-fly__total-price"&gt;
                    &lt;div class=""&gt;Ð˜Ñ‚Ð¾Ð³Ð¾: {{ basketPrice }}&lt;/div&gt;
                    &lt;div class="basket-fly__old-total-price" v-if="basketPriceWithoutSale !== basketPrice"&gt; {{ basketPriceWithoutSale }}&lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="basket-fly__buttons" v-if="!loading"&gt;
                &lt;a href="/catalog/" class="button basket-fly__to-catalog" v-if="basketSize == 0"&gt;ÐŸÐµÑ€ÐµÐ¹Ñ‚Ð¸ Ð² ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³&lt;/a&gt;
                &lt;a href="/basket/" class="button" v-if="basketSize &gt; 0"&gt;ÐŸÐµÑ€ÐµÐ¹Ñ‚Ð¸ Ð² ÐºÐ¾Ñ€Ð·Ð¸Ð½Ñƒ&lt;/a&gt;
                &lt;div class="button" data-trigger="formTrigger" data-form_id="38" :data-product_name="getBasketNames()" v-if="basketSize &gt; 0"&gt;Ð‘Ñ‹ÑÑ‚Ñ€Ñ‹Ð¹ Ð·Ð°ÐºÐ°Ð·&lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    `,

    data() {
        return {
            basketPrice: "",
            basketPriceWithoutSale: "",
            basket: [],
            basketSize: 0,
            loading: true,
        }
    },

    methods: {
        getBasketNames() {
            let basketKeys = Object.keys(this.basket);
            let names = []
            basketKeys.forEach(key=&gt;{
                names.push(this.basket[key].NAME)
            })  
            return names.join(", ");
        },
        remove(id) {
            this.loading = true;
            BX.ajax.runAction("simpleit.api.basket.removeFromBasket", {
                data: {
                    id: id
                }
            }).then(
                result =&gt; {
                    this.tryUpdateSectionItemCart(id)
                    this.update()
                    this.$forceUpdate();
                }
            ).catch()
        },

        update() {
            this.loading = true;
            BX.ajax.runAction("simpleit.api.basket.getCurrentBasketAsArray", {}).then(
                result =&gt; {
                    this.basket = result.data.BASKET;
                    this.basketPrice = result.data.TOTAL;
                    this.basketPriceWithoutSale = result.data.TOTAL_WITHOUT_SALE;
                    this.basketSize = result.data.SIZE;
                    this.loading = false;
                }
            )
        },

        clean() {
            this.loading = true;
            BX.ajax.runAction("simpleit.api.basket.clean", {}).then(
                result =&gt; {
                    this.basket = [];
                    this.basketSize = 0;
                    this.basketPrice = "";
                    this.basketPriceWithoutSale = "";
                    this.loading = false;
                }
            )
        },

        tryUpdateSectionItemCart(elementId) {
            let quantity = document.querySelectorAll(`.item-cart__quantity[data-item='${elementId}']`);
            let toBasket = document.querySelectorAll(`.item-cart__to-basket[data-item='${elementId}']`);
            let inBasket = document.querySelectorAll(`.item-cart__in-basket[data-item='${elementId}']`);
            if(quantity[0] !== undefined) {
                quantity[0].classList.remove("item-cart__quantity_invisible");
                toBasket[0].classList.remove("item-cart__to-basket_invisible");
                inBasket[0].classList.add("item-cart__in-basket_invisible");
            }
        },

        mouseenterEvent(event) {
            if (!event.target.classList.contains("item_added")) {
                this.update();
            }
        }
    },

    computed: {},

    mounted: function () {
        window.addEventListener("load", ()=&gt;{
            setTimeout(this.update, 1000)
            //this.update();
        });
        
    }
});

window.GMAppHeader = BX.Vue.create({
    el: "#header-basket-fly"
})
/* End */
;
; /* Start:"a:4:{s:4:"full";s:88:"/local/templates/simpleIT/components/bitrix/menu/classic.header/script.js?17114180832267";s:6:"source";s:73:"/local/templates/simpleIT/components/bitrix/menu/classic.header/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
document.addEventListener("DOMContentLoaded", () =&gt; {
    if (!document.querySelector(".catalog-dd__link.active")) {
        document.querySelector(".catalog-dd__link:first-child").classList.add("active");
        document.querySelector(".catalog-dd__contents-block:first-child").classList.add("active");
    }


    document.querySelectorAll(".catalog-dd__link").forEach((link)=&gt;{
        link.addEventListener("mouseenter", (event)=&gt;{
            let newLink = event.currentTarget;
            let section = newLink.dataset.section;
            let newContent = document.querySelector(`.catalog-dd__contents-block[data-section='${section}']`);

            let activeLink = document.querySelector(".catalog-dd__link.active");
            let activeContent = document.querySelector(".catalog-dd__contents-block.active");

            if(activeLink) {
                activeLink.classList.remove("active");
            }
            if(activeContent) {
                activeContent.classList.remove("active");
            }

            newLink.classList.add("active");
            newContent.classList.add("active");
        })
    });

    document.querySelectorAll(".catalog__dd-link-l2").forEach((l2Link)=&gt;{
        l2Link.addEventListener("mouseenter",(event) =&gt; {
            let dropdown = l2Link.querySelector(".catalog__dd-l2");
            let title = l2Link.querySelector(".catalog__dd-link-l2-title");
            if(dropdown) {
                let ddRect = dropdown.getClientRects()[0];
                let mainRect = document.querySelector(".catalog-dd .catalog-dd__contents").getClientRects()[0];
                let titleRect = title.getClientRects()[0];

                let deltaRight = mainRect.right - ddRect.right;
                
                 
                if(deltaRight &lt;= 0) {
                    dropdown.style.left = "0" //(titleRect.width + 5 + deltaRight) + "px";
                    
                    dropdown.style.top = titleRect.height + "px"
                }

                let deltaBottom = mainRect.bottom - ddRect.bottom;
                if(deltaBottom &lt;= 10) {
                    dropdown.style.top = "unset";
                    dropdown.style.bottom = "15px";
                }
            }
        })
    })
})
/* End */
;
; /* Start:"a:4:{s:4:"full";s:89:"/local/components/simpleit/header.fixed.basket/templates/classic/script.js?17114176576548";s:6:"source";s:74:"/local/components/simpleit/header.fixed.basket/templates/classic/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
window.headerBasaketComponent = BX.Vue.component("bx-header-fixed-basket", {
    template: `
    &lt;div class="header-basket-fly-root" v-on:mouseenter="mouseenterEvent"&gt;
        &lt;a href="/basket/" class="header-basket-link"&gt;
            &lt;slot name="basket"&gt;&lt;/slot&gt;
            &lt;div class="basket-link__counter"&gt;{{ basketSize }}&lt;/div&gt;
        &lt;/a&gt;
        &lt;div class="basket-fly"&gt;
            &lt;div class="basket-fly__loader" v-if="loading"&gt;&lt;slot name="loader"&gt;&lt;/slot&gt;&lt;/div&gt;
            
            &lt;div class="basket-fly__empty" v-if="!loading &amp;&amp; basketSize == 0"&gt;
                &lt;slot name="basket-empty"/&gt;
                &lt;div class="basket-fly__empty-title"&gt;Ð’Ð°ÑˆÐ° ÐºÐ¾Ñ€Ð·Ð¸Ð½Ð° Ð¿ÑƒÑÑ‚Ð°&lt;/div&gt;
                &lt;p&gt;Ð˜ÑÐ¿Ñ€Ð°Ð²Ð¸Ñ‚ÑŒ ÑÑ‚Ð¾ Ð¿Ñ€Ð¾ÑÑ‚Ð¾: Ð²Ñ‹Ð±ÐµÑ€Ð¸Ñ‚Ðµ Ð² ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ðµ Ð¸Ð½Ñ‚ÐµÑ€ÐµÑÑƒÑŽÑ‰Ð¸Ð¹ &lt;br&gt;Ñ‚Ð¾Ð²Ð°Ñ€ Ð¸ Ð½Ð°Ð¶Ð¼Ð¸Ñ‚Ðµ ÐºÐ½Ð¾Ð¿ÐºÑƒ Â«Ð’ ÐºÐ¾Ñ€Ð·Ð¸Ð½ÑƒÂ». &lt;/p&gt;
            &lt;/div&gt;
            
            &lt;div class="basket-fly__list customScrollbar" v-if="!loading &amp;&amp; basketSize &gt; 0"&gt;
                &lt;div class="basket-fly__list-element" v-for="item in basket"&gt;
                    &lt;div class="basket-fly__list-element-body"&gt;
                        &lt;a class="basket-fly__list-element-preview" :href="item.URL"&gt;
                            &lt;img :src="item.PREVIEW_PICTURE" :alt="item.NAME"&gt;
                        &lt;/a&gt;
                        
                        &lt;div class="basket-fly__list-element-info"&gt;
                            &lt;a class="basket-fly__list-element-title" :href="item.URL"&gt;{{item.NAME}}&lt;/a&gt;
    
                            &lt;div class="basket-fly__list-element-price"&gt;
                                &lt;span&gt;{{item.DISCOUNT_PRICE_FORMATED}}&lt;/span&gt; 
                                
                                &lt;span class="basket-fly__list-element-price-old " v-if="item.DISCOUNT_VALUE &gt; 0"&gt; {{item.PRICE_FORMATED}} &lt;/span&gt;
    
                                &lt;span&gt; x {{ item.QUANTITY }}&lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        
                    &lt;/div&gt;
                    &lt;div class="basket-fly__list-element-total"&gt;
                        {{ item.TOTAL_PRINT }}
                        &lt;div class="basket-fly__list-element-remove" v-on:click="remove(item.ID)"&gt;
                            &lt;slot name="close"&gt;&lt;/slot&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="basket-fly__total" v-if="!loading &amp;&amp; basketSize &gt; 0"&gt;
                &lt;div class="basket-fly__total-clean" v-on:click="clean"&gt; 
                    &lt;slot name="close"&gt;&lt;/slot&gt;
                    Ð¾Ñ‡Ð¸ÑÑ‚Ð¸Ñ‚ÑŒ ÐºÐ¾Ñ€Ð·Ð¸Ð½Ñƒ
                &lt;/div&gt;
                
                &lt;div class="basket-fly__total-price"&gt;
                    &lt;div class=""&gt;Ð˜Ñ‚Ð¾Ð³Ð¾: {{ basketPrice }}&lt;/div&gt;
                    &lt;div class="basket-fly__old-total-price" v-if="basketPriceWithoutSale !== basketPrice"&gt; {{ basketPriceWithoutSale }}&lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="basket-fly__buttons" v-if="!loading"&gt;
                &lt;a href="/catalog/" class="button basket-fly__to-catalog" v-if="basketSize == 0"&gt;ÐŸÐµÑ€ÐµÐ¹Ñ‚Ð¸ Ð² ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³&lt;/a&gt;
                &lt;a href="/basket/" class="button" v-if="basketSize &gt; 0"&gt;ÐŸÐµÑ€ÐµÐ¹Ñ‚Ð¸ Ð² ÐºÐ¾Ñ€Ð·Ð¸Ð½Ñƒ&lt;/a&gt;
                &lt;div class="button" data-trigger="formTrigger" data-form_id="38" :data-product_name="getBasketNames()" v-if="basketSize &gt; 0"&gt;Ð‘Ñ‹ÑÑ‚Ñ€Ñ‹Ð¹ Ð·Ð°ÐºÐ°Ð·&lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    `,

    data() {
        return {
            basketPrice: "",
            basketPriceWithoutSale: "",
            basket: [],
            basketSize: 0,
            loading: true,
        }
    },

    methods: {
        getBasketNames() {
            let basketKeys = Object.keys(this.basket);
            let names = []
            basketKeys.forEach(key=&gt;{
                names.push(this.basket[key].NAME)
            })  
            return names.join(", ");
        },
        
        remove(id) {
            this.loading = true;
            BX.ajax.runAction("simpleit.api.basket.removeFromBasket", {
                data: {
                    id: id
                }
            }).then(
                result =&gt; {
                    this.tryUpdateSectionItemCart(id)
                    this.update()
                    this.$forceUpdate();
                }
            ).catch(result =&gt; {
                console.log(result);
            })
        },

        update() {
            this.loading = true;
            BX.ajax.runAction("simpleit.api.basket.getCurrentBasketAsArray", {}).then(
                result =&gt; {
                    this.basket = result.data.BASKET;
                    this.basketPrice = result.data.TOTAL;
                    this.basketPriceWithoutSale = result.data.TOTAL_WITHOUT_SALE;
                    this.basketSize = result.data.SIZE;
                    this.loading = false;
                }
            )
        },

        clean() {
            this.loading = true;
            BX.ajax.runAction("simpleit.api.basket.clean", {}).then(
                result =&gt; {
                    this.basket = [];
                    this.basketSize = 0;
                    this.basketPrice = "";
                    this.basketPriceWithoutSale = "";
                    this.loading = false;
                }
            )
        },

        tryUpdateSectionItemCart(elementId) {
            let quantity = document.querySelectorAll(`.item-cart__quantity[data-item='${elementId}']`);
            let toBasket = document.querySelectorAll(`.item-cart__to-basket[data-item='${elementId}']`);
            let inBasket = document.querySelectorAll(`.item-cart__in-basket[data-item='${elementId}']`);
            if(quantity[0] !== undefined) {
                quantity[0].classList.remove("item-cart__quantity_invisible");
                toBasket[0].classList.remove("item-cart__to-basket_invisible");
                inBasket[0].classList.add("item-cart__in-basket_invisible");
            }
        },

        mouseenterEvent(event) {
            if (!event.target.classList.contains("item_added")) {
                this.update();
            }
        }
    },

    computed: {},

    mounted: function () {
        window.addEventListener("load", ()=&gt;{
            setTimeout(this.update, 1000)
            //this.update();
        });
    }
});

window.GMAppHeader = BX.Vue.create({
    el: "#header-fixed-basket-fly"
})
/* End */
;
; /* Start:"a:4:{s:4:"full";s:106:"/local/templates/simpleIT/components/bitrix/menu/classic.mobile.header.multilevel/script.js?17116818373412";s:6:"source";s:91:"/local/templates/simpleIT/components/bitrix/menu/classic.mobile.header.multilevel/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
window.closeMobileSubSlide = function (target) {
    let mainSlide = document.querySelector("#header-mobile-menu__slide-main");
    let subSlide = document.querySelector("#header-mobile-menu__slide-sub");
    mainSlide.classList.remove("active");
    let activeSubSlide = subSlide.querySelector(".header-mobile-menu__slide-container.active");
    if(activeSubSlide) {
        activeSubSlide.classList.remove("active");
    }
    subSlide.classList.remove("active");

}

window.openMobileSubSlide = function (target) {
    let mainSlide = document.querySelector("#header-mobile-menu__slide-main");
    let subSlide = document.querySelector("#header-mobile-menu__slide-sub");
    let activeSlide = subSlide.querySelector(".header-mobile-menu__slide-container.active");
    if(activeSlide) {
        activeSlide.classList.remove("active");
    }

    let newSlide = subSlide.querySelector(`#${target.dataset.container_id}`);
    console.log(target.dataset.container_id, newSlide);
    if(newSlide) {
        newSlide.classList.add("active");
    }

    setTimeout(()=&gt;{
        mainSlide.classList.add("active");
        subSlide.classList.add("active");
    }, 10);
}

BX.Vue.component("mobile-regions-menu", {
    data() {
        return {
            filter: "",
            regions: [],
            appliedRegions: [],
        }
    },
    template: `
    &lt;div id="header-mobile-menu__regions-slide" class="header-mobile-menu__slide-container"&gt;
        &lt;div class="header-mobile-menu__slide-row"&gt;
            &lt;div class="header-mobile-menu__slide-row-content"&gt;Ð“Ð¾Ñ€Ð¾Ð´Ð°&lt;/div&gt;
        &lt;/div&gt;
        
        &lt;div class="header-mobile-menu__slide-row minify-padding"&gt;
            &lt;div class="header-mobile-menu__slide-row-content full-size"&gt;
                &lt;input type="text" id="mobile-regions-filter" v-model="filter" v-on:input="applyFilter" placeholder="Ð’Ð²ÐµÐ´Ð¸Ñ‚Ðµ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ðµ Ð³Ð¾Ñ€Ð¾Ð´Ð°"&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        
        &lt;a class="header-mobile-menu__slide-row header-mobile-menu__region-row" v-for="region in appliedRegions" :href="getPath(region)"&gt;
            &lt;div class="header-mobile-menu__slide-row-content"&gt;
                {{ region.NAME }}
            &lt;/div&gt;
        &lt;/a&gt;
    &lt;/div&gt;`,

    methods: {
        applyFilter() {
            if(!this.filter) {
                this.appliedRegions = this.regions;
            } else {
                let filter = this.filter.toLowerCase()
                this.appliedRegions = [];
                this.regions.forEach(region =&gt; {
                    if(region.NAME.toLowerCase().includes(filter)) {
                        this.appliedRegions.push(region);
                    }
                });
            }
        },

        getPath(region) {
            let url = window.location.href.replace(window.location.host, region.DOMAIN)
            if(window.location.search) {
                url += "&amp;region-confirm=Y"
            }else{
                url += "?region-confirm=Y"
            }
            return url;
        }
    },

    mounted() {
        window.addEventListener("load", ()=&gt;{
            BX.ajax.runAction("simpleit.api.region.list", {}).then(
                result =&gt; {
                    this.regions = result.data;
                    this.applyFilter();
                }
            )
        });
    }
})




window.GMAppMobileMenu = BX.Vue.create({
    el: "#header-mobile-menu",
})

/* End */
;
; /* Start:"a:4:{s:4:"full";s:62:"/local/templates/simpleIT/js/tooltip/popper.js?171141796819492";s:6:"source";s:46:"/local/templates/simpleIT/js/tooltip/popper.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
/**
 * @popperjs/core v2.11.0 - MIT License
 */

 "use strict";!function(e,t){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?t(exports):"function"==typeof define&amp;&amp;define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){function t(e){return null==e?window:"[object Window]"!==e.toString()?(e=e.ownerDocument)&amp;&amp;e.defaultView||window:e}function n(e){return e instanceof t(e).Element||e instanceof Element}function o(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function r(e){return"undefined"!=typeof ShadowRoot&amp;&amp;(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}function i(e,t){void 0===t&amp;&amp;(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;return o(e)&amp;&amp;t&amp;&amp;(t=e.offsetHeight,0&lt;(e=e.offsetWidth)&amp;&amp;(r=I(n.width)/e||1),0&lt;t&amp;&amp;(i=I(n.height)/t||1)),{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function a(e){return{scrollLeft:(e=t(e)).pageXOffset,scrollTop:e.pageYOffset}}function s(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){return((n(e)?e.ownerDocument:e.document)||window.document).documentElement}function p(e){return i(f(e)).left+a(e).scrollLeft}function c(e){return t(e).getComputedStyle(e)}function l(e){return e=c(e),/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function u(e,n,r){void 0===r&amp;&amp;(r=!1);var c,u=o(n);if(c=o(n)){var d=n.getBoundingClientRect();c=I(d.width)/n.offsetWidth||1,d=I(d.height)/n.offsetHeight||1,c=1!==c||1!==d}d=c,c=f(n),e=i(e,d),d={scrollLeft:0,scrollTop:0};var h={x:0,y:0};return(u||!u&amp;&amp;!r)&amp;&amp;(("body"!==s(n)||l(c))&amp;&amp;(d=n!==t(n)&amp;&amp;o(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:a(n)),o(n)?((h=i(n,!0)).x+=n.clientLeft,h.y+=n.clientTop):c&amp;&amp;(h.x=p(c))),{x:e.left+d.scrollLeft-h.x,y:e.top+d.scrollTop-h.y,width:e.width,height:e.height}}function d(e){var t=i(e),n=e.offsetWidth,o=e.offsetHeight;return 1&gt;=Math.abs(t.width-n)&amp;&amp;(n=t.width),1&gt;=Math.abs(t.height-o)&amp;&amp;(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function h(e){return"html"===s(e)?e:e.assignedSlot||e.parentNode||(r(e)?e.host:null)||f(e)}function m(e){return 0&lt;=["html","body","#document"].indexOf(s(e))?e.ownerDocument.body:o(e)&amp;&amp;l(e)?e:m(h(e))}function v(e,n){var o;void 0===n&amp;&amp;(n=[]);var r=m(e);return e=r===(null==(o=e.ownerDocument)?void 0:o.body),o=t(r),r=e?[o].concat(o.visualViewport||[],l(r)?r:[]):r,n=n.concat(r),e?n:n.concat(v(h(r)))}function g(e){return o(e)&amp;&amp;"fixed"!==c(e).position?e.offsetParent:null}function y(e){for(var n=t(e),r=g(e);r&amp;&amp;0&lt;=["table","td","th"].indexOf(s(r))&amp;&amp;"static"===c(r).position;)r=g(r);if(r&amp;&amp;("html"===s(r)||"body"===s(r)&amp;&amp;"static"===c(r).position))return n;if(!r)e:{if(r=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),-1===navigator.userAgent.indexOf("Trident")||!o(e)||"fixed"!==c(e).position)for(e=h(e);o(e)&amp;&amp;0&gt;["html","body"].indexOf(s(e));){var i=c(e);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||r&amp;&amp;"filter"===i.willChange||r&amp;&amp;i.filter&amp;&amp;"none"!==i.filter){r=e;break e}e=e.parentNode}r=null}return r||n}function b(e){function t(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){o.has(e)||(e=n.get(e))&amp;&amp;t(e)})),r.push(e)}var n=new Map,o=new Set,r=[];return e.forEach((function(e){n.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||t(e)})),r}function w(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function x(e){return e.split("-")[0]}function O(e,t){var n=t.getRootNode&amp;&amp;t.getRootNode();if(e.contains(t))return!0;if(n&amp;&amp;r(n))do{if(t&amp;&amp;e.isSameNode(t))return!0;t=t.parentNode||t.host}while(t);return!1}function j(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function E(e,o){if("viewport"===o){o=t(e);var r=f(e);o=o.visualViewport;var s=r.clientWidth;r=r.clientHeight;var l=0,u=0;o&amp;&amp;(s=o.width,r=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=o.offsetLeft,u=o.offsetTop)),e=j(e={width:s,height:r,x:l+p(e),y:u})}else n(o)?((e=i(o)).top+=o.clientTop,e.left+=o.clientLeft,e.bottom=e.top+o.clientHeight,e.right=e.left+o.clientWidth,e.width=o.clientWidth,e.height=o.clientHeight,e.x=e.left,e.y=e.top):(u=f(e),e=f(u),s=a(u),o=null==(r=u.ownerDocument)?void 0:r.body,r=V(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=V(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-s.scrollLeft+p(u),s=-s.scrollTop,"rtl"===c(o||e).direction&amp;&amp;(u+=V(e.clientWidth,o?o.clientWidth:0)-r),e=j({width:r,height:l,x:u,y:s}));return e}function D(e,t,r){return t="clippingParents"===t?function(e){var t=v(h(e)),r=0&lt;=["absolute","fixed"].indexOf(c(e).position),i=r&amp;&amp;o(e)?y(e):e;return n(i)?t.filter((function(e){return n(e)&amp;&amp;O(e,i)&amp;&amp;"body"!==s(e)&amp;&amp;(!r||"static"!==c(e).position)})):[]}(e):[].concat(t),(r=(r=[].concat(t,[r])).reduce((function(t,n){return n=E(e,n),t.top=V(n.top,t.top),t.right=N(n.right,t.right),t.bottom=N(n.bottom,t.bottom),t.left=V(n.left,t.left),t}),E(e,r[0]))).width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function A(e){return e.split("-")[1]}function L(e){return 0&lt;=["top","bottom"].indexOf(e)?"x":"y"}function P(e){var t=e.reference,n=e.element,o=(e=e.placement)?x(e):null;e=e?A(e):null;var r=t.x+t.width/2-n.width/2,i=t.y+t.height/2-n.height/2;switch(o){case"top":r={x:r,y:t.y-n.height};break;case"bottom":r={x:r,y:t.y+t.height};break;case"right":r={x:t.x+t.width,y:i};break;case"left":r={x:t.x-n.width,y:i};break;default:r={x:t.x,y:t.y}}if(null!=(o=o?L(o):null))switch(i="y"===o?"height":"width",e){case"start":r[o]-=t[i]/2-n[i]/2;break;case"end":r[o]+=t[i]/2-n[i]/2}return r}function M(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function k(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function W(e,t){void 0===t&amp;&amp;(t={});var o=t;t=void 0===(t=o.placement)?e.placement:t;var r=o.boundary,a=void 0===r?"clippingParents":r,s=void 0===(r=o.rootBoundary)?"viewport":r;r=void 0===(r=o.elementContext)?"popper":r;var p=o.altBoundary,c=void 0!==p&amp;&amp;p;o=M("number"!=typeof(o=void 0===(o=o.padding)?0:o)?o:k(o,_)),p=e.rects.popper,a=D(n(c=e.elements[c?"popper"===r?"reference":"popper":r])?c:c.contextElement||f(e.elements.popper),a,s),c=P({reference:s=i(e.elements.reference),element:p,strategy:"absolute",placement:t}),p=j(Object.assign({},p,c)),s="popper"===r?p:s;var l={top:a.top-s.top+o.top,bottom:s.bottom-a.bottom+o.bottom,left:a.left-s.left+o.left,right:s.right-a.right+o.right};if(e=e.modifiersData.offset,"popper"===r&amp;&amp;e){var u=e[t];Object.keys(l).forEach((function(e){var t=0&lt;=["right","bottom"].indexOf(e)?1:-1,n=0&lt;=["top","bottom"].indexOf(e)?"y":"x";l[e]+=u[n]*t}))}return l}function B(){for(var e=arguments.length,t=Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&amp;&amp;"function"==typeof e.getBoundingClientRect)}))}function H(e){void 0===e&amp;&amp;(e={});var t=e.defaultModifiers,o=void 0===t?[]:t,r=void 0===(e=e.defaultOptions)?X:e;return function(e,t,i){function a(){f.forEach((function(e){return e()})),f=[]}void 0===i&amp;&amp;(i=r);var s={placement:"bottom",orderedModifiers:[],options:Object.assign({},X,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},f=[],p=!1,c={state:s,setOptions:function(i){return i="function"==typeof i?i(s.options):i,a(),s.options=Object.assign({},r,s.options,i),s.scrollParents={reference:n(e)?v(e):e.contextElement?v(e.contextElement):[],popper:v(t)},i=function(e){var t=b(e);return z.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(o,s.options.modifiers))),s.orderedModifiers=i.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options;n=void 0===n?{}:n,"function"==typeof(e=e.effect)&amp;&amp;(t=e({state:s,name:t,instance:c,options:n}),f.push(t||function(){}))})),c.update()},forceUpdate:function(){if(!p){var e=s.elements,t=e.reference;if(B(t,e=e.popper))for(s.rects={reference:u(t,y(e),"fixed"===s.options.strategy),popper:d(e)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)})),t=0;t&lt;s.orderedModifiers.length;t++)if(!0===s.reset)s.reset=!1,t=-1;else{var n=s.orderedModifiers[t];e=n.fn;var o=n.options;o=void 0===o?{}:o,n=n.name,"function"==typeof e&amp;&amp;(s=e({state:s,options:o,name:n,instance:c})||s)}}},update:w((function(){return new Promise((function(e){c.forceUpdate(),e(s)}))})),destroy:function(){a(),p=!0}};return B(e,t)?(c.setOptions(i).then((function(e){!p&amp;&amp;i.onFirstUpdate&amp;&amp;i.onFirstUpdate(e)})),c):c}}function T(e){var n,o=e.popper,r=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,p=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets;if(e=e.isFixed,!0===d){d=s.y;var h=window.devicePixelRatio||1;d={x:I(s.x*h)/h||0,y:I(d*h)/h||0}}else d="function"==typeof d?d(s):s;d=void 0===(d=(h=d).x)?0:d,h=void 0===(h=h.y)?0:h;var m=s.hasOwnProperty("x");s=s.hasOwnProperty("y");var v,g="left",b="top",w=window;if(u){var x=y(o),O="clientHeight",j="clientWidth";x===t(o)&amp;&amp;("static"!==c(x=f(o)).position&amp;&amp;"absolute"===p&amp;&amp;(O="scrollHeight",j="scrollWidth")),"top"!==i&amp;&amp;("left"!==i&amp;&amp;"right"!==i||"end"!==a)||(b="bottom",h-=(e&amp;&amp;w.visualViewport?w.visualViewport.height:x[O])-r.height,h*=l?1:-1),"left"!==i&amp;&amp;("top"!==i&amp;&amp;"bottom"!==i||"end"!==a)||(g="right",d-=(e&amp;&amp;w.visualViewport?w.visualViewport.width:x[j])-r.width,d*=l?1:-1)}return o=Object.assign({position:p},u&amp;&amp;K),l?Object.assign({},o,((v={})[b]=s?"0":"",v[g]=m?"0":"",v.transform=1&gt;=(w.devicePixelRatio||1)?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",v)):Object.assign({},o,((n={})[b]=s?h+"px":"",n[g]=m?d+"px":"",n.transform="",n))}function R(e){return e.replace(/left|right|bottom|top/g,(function(e){return ee[e]}))}function S(e){return e.replace(/start|end/g,(function(e){return te[e]}))}function C(e,t,n){return void 0===n&amp;&amp;(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function q(e){return["top","right","bottom","left"].some((function(t){return 0&lt;=e[t]}))}var V=Math.max,N=Math.min,I=Math.round,_=["top","bottom","right","left"],F=_.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),U=[].concat(_,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),z="beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "),X={placement:"bottom",modifiers:[],strategy:"absolute"},Y={passive:!0},G={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var n=e.state,o=e.instance,r=(e=e.options).scroll,i=void 0===r||r,a=void 0===(e=e.resize)||e,s=t(n.elements.popper),f=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&amp;&amp;f.forEach((function(e){e.addEventListener("scroll",o.update,Y)})),a&amp;&amp;s.addEventListener("resize",o.update,Y),function(){i&amp;&amp;f.forEach((function(e){e.removeEventListener("scroll",o.update,Y)})),a&amp;&amp;s.removeEventListener("resize",o.update,Y)}},data:{}},J={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=P({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},K={top:"auto",right:"auto",bottom:"auto",left:"auto"},Q={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options;e=void 0===(e=n.gpuAcceleration)||e;var o=n.adaptive;o=void 0===o||o,n=void 0===(n=n.roundOffsets)||n,e={placement:x(t.placement),variation:A(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:e,isFixed:"fixed"===t.options.strategy},null!=t.modifiersData.popperOffsets&amp;&amp;(t.styles.popper=Object.assign({},t.styles.popper,T(Object.assign({},e,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:n})))),null!=t.modifiersData.arrow&amp;&amp;(t.styles.arrow=Object.assign({},t.styles.arrow,T(Object.assign({},e,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:n})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Z={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];o(i)&amp;&amp;s(i)&amp;&amp;(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&amp;&amp;Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{};e=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{}),o(r)&amp;&amp;s(r)&amp;&amp;(Object.assign(r.style,e),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},$={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.name,o=void 0===(e=e.options.offset)?[0,0]:e,r=(e=U.reduce((function(e,n){var r=t.rects,i=x(n),a=0&lt;=["left","top"].indexOf(i)?-1:1,s="function"==typeof o?o(Object.assign({},r,{placement:n})):o;return r=(r=s[0])||0,s=((s=s[1])||0)*a,i=0&lt;=["left","right"].indexOf(i)?{x:s,y:r}:{x:r,y:s},e[n]=i,e}),{}))[t.placement],i=r.x;r=r.y,null!=t.modifiersData.popperOffsets&amp;&amp;(t.modifiersData.popperOffsets.x+=i,t.modifiersData.popperOffsets.y+=r),t.modifiersData[n]=e}},ee={left:"right",right:"left",bottom:"top",top:"bottom"},te={start:"end",end:"start"},ne={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options;if(e=e.name,!t.modifiersData[e]._skip){var o=n.mainAxis;o=void 0===o||o;var r=n.altAxis;r=void 0===r||r;var i=n.fallbackPlacements,a=n.padding,s=n.boundary,f=n.rootBoundary,p=n.altBoundary,c=n.flipVariations,l=void 0===c||c,u=n.allowedAutoPlacements;c=x(n=t.options.placement),i=i||(c!==n&amp;&amp;l?function(e){if("auto"===x(e))return[];var t=R(e);return[S(e),t,S(t)]}(n):[R(n)]);var d=[n].concat(i).reduce((function(e,n){return e.concat("auto"===x(n)?function(e,t){void 0===t&amp;&amp;(t={});var n=t.boundary,o=t.rootBoundary,r=t.padding,i=t.flipVariations,a=t.allowedAutoPlacements,s=void 0===a?U:a,f=A(t.placement);0===(i=(t=f?i?F:F.filter((function(e){return A(e)===f})):_).filter((function(e){return 0&lt;=s.indexOf(e)}))).length&amp;&amp;(i=t);var p=i.reduce((function(t,i){return t[i]=W(e,{placement:i,boundary:n,rootBoundary:o,padding:r})[x(i)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:s,rootBoundary:f,padding:a,flipVariations:l,allowedAutoPlacements:u}):n)}),[]);n=t.rects.reference,i=t.rects.popper;var h=new Map;c=!0;for(var m=d[0],v=0;v&lt;d.length;v++){var g=d[v],y=x(g),b="start"===A(g),w=0&lt;=["top","bottom"].indexOf(y),O=w?"width":"height",j=W(t,{placement:g,boundary:s,rootBoundary:f,altBoundary:p,padding:a});if(b=w?b?"right":"left":b?"bottom":"top",n[O]&gt;i[O]&amp;&amp;(b=R(b)),O=R(b),w=[],o&amp;&amp;w.push(0&gt;=j[y]),r&amp;&amp;w.push(0&gt;=j[b],0&gt;=j[O]),w.every((function(e){return e}))){m=g,c=!1;break}h.set(g,w)}if(c)for(o=function(e){var t=d.find((function(t){if(t=h.get(t))return t.slice(0,e).every((function(e){return e}))}));if(t)return m=t,"break"},r=l?3:1;0&lt;r&amp;&amp;"break"!==o(r);r--);t.placement!==m&amp;&amp;(t.modifiersData[e]._skip=!0,t.placement=m,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},oe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options;e=e.name;var o=n.mainAxis,r=void 0===o||o,i=void 0!==(o=n.altAxis)&amp;&amp;o,a=void 0===(o=n.tether)||o,s=void 0===(o=n.tetherOffset)?0:o,f=W(t,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary}),p=x(t.placement),c=A(t.placement),l=!c,u=L(p);n="x"===u?"y":"x",o=t.modifiersData.popperOffsets;var h=t.rects.reference,m=t.rects.popper,v="number"==typeof(s="function"==typeof s?s(Object.assign({},t.rects,{placement:t.placement})):s)?{mainAxis:s,altAxis:s}:Object.assign({mainAxis:0,altAxis:0},s),g=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null;if(s={x:0,y:0},o){if(r){var b,w="y"===u?"top":"left",O="y"===u?"bottom":"right",j="y"===u?"height":"width",E=(r=o[u])+f[w],D=r-f[O],P=a?-m[j]/2:0,M="start"===c?h[j]:m[j];c="start"===c?-m[j]:-h[j];var k=t.elements.arrow;k=a&amp;&amp;k?d(k):{width:0,height:0};var B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0};w=B[w],O=B[O],k=V(0,N(h[j],k[j])),M=l?h[j]/2-P-k-w-v.mainAxis:M-k-w-v.mainAxis,l=l?-h[j]/2+P+k+O+v.mainAxis:c+k+O+v.mainAxis,j=(j=t.elements.arrow&amp;&amp;y(t.elements.arrow))?"y"===u?j.clientTop||0:j.clientLeft||0:0,P=null!=(b=null==g?void 0:g[u])?b:0,b=r+l-P,E=a?N(E,r+M-P-j):E,b=a?V(D,b):D,b=V(E,N(r,b)),o[u]=b,s[u]=b-r}var H;if(i)r="y"===n?"height":"width",b=(i=o[n])+f["x"===u?"top":"left"],f=i-f["x"===u?"bottom":"right"],p=-1!==["top","left"].indexOf(p),u=null!=(H=null==g?void 0:g[n])?H:0,H=p?b:i-h[r]-m[r]-u+v.altAxis,h=p?i+h[r]+m[r]-u-v.altAxis:f,a&amp;&amp;p?H=(H=V(H,N(i,h)))&gt;h?h:H:H=V(a?H:b,N(i,a?h:f)),o[n]=H,s[n]=H-i;t.modifiersData[e]=s}},requiresIfExists:["offset"]},re={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=x(n.placement);if(e=L(s),s=0&lt;=["left","right"].indexOf(s)?"height":"width",i&amp;&amp;a){r=M("number"!=typeof(r="function"==typeof(r=r.padding)?r(Object.assign({},n.rects,{placement:n.placement})):r)?r:k(r,_));var f=d(i),p="y"===e?"top":"left",c="y"===e?"bottom":"right",l=n.rects.reference[s]+n.rects.reference[e]-a[e]-n.rects.popper[s];a=a[e]-n.rects.reference[e],a=(i=(i=y(i))?"y"===e?i.clientHeight||0:i.clientWidth||0:0)/2-f[s]/2+(l/2-a/2),s=V(r[p],N(a,i-f[s]-r[c])),n.modifiersData[o]=((t={})[e]=s,t.centerOffset=s-a,t)}},effect:function(e){var t=e.state;if(null!=(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)){if("string"==typeof e&amp;&amp;!(e=t.elements.popper.querySelector(e)))return;O(t.elements.popper,e)&amp;&amp;(t.elements.arrow=e)}},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},ie={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state;e=e.name;var n=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,i=W(t,{elementContext:"reference"}),a=W(t,{altBoundary:!0});n=C(i,n),o=C(a,o,r),r=q(n),a=q(o),t.modifiersData[e]={referenceClippingOffsets:n,popperEscapeOffsets:o,isReferenceHidden:r,hasPopperEscaped:a},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":r,"data-popper-escaped":a})}},ae=H({defaultModifiers:[G,J,Q,Z]}),se=[G,J,Q,Z,$,ne,oe,re,ie],fe=H({defaultModifiers:se});e.applyStyles=Z,e.arrow=re,e.computeStyles=Q,e.createPopper=fe,e.createPopperLite=ae,e.defaultModifiers=se,e.detectOverflow=W,e.eventListeners=G,e.flip=ne,e.hide=ie,e.offset=$,e.popperGenerator=H,e.popperOffsets=J,e.preventOverflow=oe,Object.defineProperty(e,"__esModule",{value:!0})}));
 //# sourceMappingURL=popper.min.js.map
/* End */
;
; /* Start:"a:4:{s:4:"full";s:61:"/local/templates/simpleIT/js/tooltip/tippy.js?171141796825716";s:6:"source";s:45:"/local/templates/simpleIT/js/tooltip/tippy.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
!function(t,e){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?module.exports=e(require("@popperjs/core")):"function"==typeof define&amp;&amp;define.amd?define(["@popperjs/core"],e):(t=t||self).tippy=e(t.Popper)}(this,(function(t){"use strict";var e="undefined"!=typeof window&amp;&amp;"undefined"!=typeof document,n=!!e&amp;&amp;!!window.msCrypto,r={passive:!0,capture:!0},o=function(){return document.body};function i(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function a(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&amp;&amp;n.indexOf(e+"]")&gt;-1}function s(t,e){return"function"==typeof t?t.apply(void 0,e):t}function u(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout((function(){t(r)}),e)};var n}function p(t,e){var n=Object.assign({},t);return e.forEach((function(t){delete n[t]})),n}function c(t){return[].concat(t)}function f(t,e){-1===t.indexOf(e)&amp;&amp;t.push(e)}function l(t){return t.split("-")[0]}function d(t){return[].slice.call(t)}function v(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&amp;&amp;(e[n]=t[n]),e}),{})}function m(){return document.createElement("div")}function g(t){return["Element","Fragment"].some((function(e){return a(t,e)}))}function h(t){return a(t,"MouseEvent")}function b(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function y(t){return g(t)?[t]:function(t){return a(t,"NodeList")}(t)?d(t):Array.isArray(t)?t:d(document.querySelectorAll(t))}function w(t,e){t.forEach((function(t){t&amp;&amp;(t.style.transitionDuration=e+"ms")}))}function x(t,e){t.forEach((function(t){t&amp;&amp;t.setAttribute("data-state",e)}))}function E(t){var e,n=c(t)[0];return null!=n&amp;&amp;null!=(e=n.ownerDocument)&amp;&amp;e.body?n.ownerDocument:document}function O(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,n)}))}function C(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var T={isTouch:!1},A=0;function L(){T.isTouch||(T.isTouch=!0,window.performance&amp;&amp;document.addEventListener("mousemove",D))}function D(){var t=performance.now();t-A&lt;20&amp;&amp;(T.isTouch=!1,document.removeEventListener("mousemove",D)),A=t}function k(){var t=document.activeElement;if(b(t)){var e=t._tippy;t.blur&amp;&amp;!e.state.isVisible&amp;&amp;t.blur()}}var R=Object.assign({appendTo:o,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),P=Object.keys(R);function j(t){var e=(t.plugins||[]).reduce((function(e,n){var r,o=n.name,i=n.defaultValue;o&amp;&amp;(e[o]=void 0!==t[o]?t[o]:null!=(r=R[o])?r:i);return e}),{});return Object.assign({},t,e)}function M(t,e){var n=Object.assign({},e,{content:s(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(j(Object.assign({},R,{plugins:e}))):P).reduce((function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},R.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function V(t,e){t.innerHTML=e}function I(t){var e=m();return!0===t?e.className="tippy-arrow":(e.className="tippy-svg-arrow",g(t)?e.appendChild(t):V(e,t)),e}function S(t,e){g(e.content)?(V(t,""),t.appendChild(e.content)):"function"!=typeof e.content&amp;&amp;(e.allowHTML?V(t,e.content):t.textContent=e.content)}function B(t){var e=t.firstElementChild,n=d(e.children);return{box:e,content:n.find((function(t){return t.classList.contains("tippy-content")})),arrow:n.find((function(t){return t.classList.contains("tippy-arrow")||t.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(t){return t.classList.contains("tippy-backdrop")}))}}function N(t){var e=m(),n=m();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=m();function o(n,r){var o=B(e),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&amp;&amp;n.allowHTML===r.allowHTML||S(a,t.props),r.arrow?s?n.arrow!==r.arrow&amp;&amp;(i.removeChild(s),i.appendChild(I(r.arrow))):i.appendChild(I(r.arrow)):s&amp;&amp;i.removeChild(s)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),S(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props),{popper:e,onUpdate:o}}N.$$tippy=!0;var H=1,U=[],_=[];function z(e,a){var p,g,b,y,A,L,D,k,P=M(e,Object.assign({},R,j(v(a)))),V=!1,I=!1,S=!1,N=!1,z=[],F=u(wt,P.interactiveDebounce),W=H++,X=(k=P.plugins).filter((function(t,e){return k.indexOf(t)===e})),Y={id:W,reference:e,popper:m(),popperInstance:null,props:P,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:X,clearDelayTimeouts:function(){clearTimeout(p),clearTimeout(g),cancelAnimationFrame(b)},setProps:function(t){if(Y.state.isDestroyed)return;at("onBeforeUpdate",[Y,t]),bt();var n=Y.props,r=M(e,Object.assign({},n,v(t),{ignoreAttributes:!0}));Y.props=r,ht(),n.interactiveDebounce!==r.interactiveDebounce&amp;&amp;(pt(),F=u(wt,r.interactiveDebounce));n.triggerTarget&amp;&amp;!r.triggerTarget?c(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):r.triggerTarget&amp;&amp;e.removeAttribute("aria-expanded");ut(),it(),J&amp;&amp;J(n,r);Y.popperInstance&amp;&amp;(Ct(),At().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));at("onAfterUpdate",[Y,t])},setContent:function(t){Y.setProps({content:t})},show:function(){var t=Y.state.isVisible,e=Y.state.isDestroyed,n=!Y.state.isEnabled,r=T.isTouch&amp;&amp;!Y.props.touch,a=i(Y.props.duration,0,R.duration);if(t||e||n||r)return;if(et().hasAttribute("disabled"))return;if(at("onShow",[Y],!1),!1===Y.props.onShow(Y))return;Y.state.isVisible=!0,tt()&amp;&amp;($.style.visibility="visible");it(),dt(),Y.state.isMounted||($.style.transition="none");if(tt()){var u=rt(),p=u.box,c=u.content;w([p,c],0)}L=function(){var t;if(Y.state.isVisible&amp;&amp;!N){if(N=!0,$.offsetHeight,$.style.transition=Y.props.moveTransition,tt()&amp;&amp;Y.props.animation){var e=rt(),n=e.box,r=e.content;w([n,r],a),x([n,r],"visible")}st(),ut(),f(_,Y),null==(t=Y.popperInstance)||t.forceUpdate(),at("onMount",[Y]),Y.props.animation&amp;&amp;tt()&amp;&amp;function(t,e){mt(t,e)}(a,(function(){Y.state.isShown=!0,at("onShown",[Y])}))}},function(){var t,e=Y.props.appendTo,n=et();t=Y.props.interactive&amp;&amp;e===o||"parent"===e?n.parentNode:s(e,[n]);t.contains($)||t.appendChild($);Y.state.isMounted=!0,Ct()}()},hide:function(){var t=!Y.state.isVisible,e=Y.state.isDestroyed,n=!Y.state.isEnabled,r=i(Y.props.duration,1,R.duration);if(t||e||n)return;if(at("onHide",[Y],!1),!1===Y.props.onHide(Y))return;Y.state.isVisible=!1,Y.state.isShown=!1,N=!1,V=!1,tt()&amp;&amp;($.style.visibility="hidden");if(pt(),vt(),it(!0),tt()){var o=rt(),a=o.box,s=o.content;Y.props.animation&amp;&amp;(w([a,s],r),x([a,s],"hidden"))}st(),ut(),Y.props.animation?tt()&amp;&amp;function(t,e){mt(t,(function(){!Y.state.isVisible&amp;&amp;$.parentNode&amp;&amp;$.parentNode.contains($)&amp;&amp;e()}))}(r,Y.unmount):Y.unmount()},hideWithInteractivity:function(t){nt().addEventListener("mousemove",F),f(U,F),F(t)},enable:function(){Y.state.isEnabled=!0},disable:function(){Y.hide(),Y.state.isEnabled=!1},unmount:function(){Y.state.isVisible&amp;&amp;Y.hide();if(!Y.state.isMounted)return;Tt(),At().forEach((function(t){t._tippy.unmount()})),$.parentNode&amp;&amp;$.parentNode.removeChild($);_=_.filter((function(t){return t!==Y})),Y.state.isMounted=!1,at("onHidden",[Y])},destroy:function(){if(Y.state.isDestroyed)return;Y.clearDelayTimeouts(),Y.unmount(),bt(),delete e._tippy,Y.state.isDestroyed=!0,at("onDestroy",[Y])}};if(!P.render)return Y;var q=P.render(Y),$=q.popper,J=q.onUpdate;$.setAttribute("data-tippy-root",""),$.id="tippy-"+Y.id,Y.popper=$,e._tippy=Y,$._tippy=Y;var G=X.map((function(t){return t.fn(Y)})),K=e.hasAttribute("aria-expanded");return ht(),ut(),it(),at("onCreate",[Y]),P.showOnCreate&amp;&amp;Lt(),$.addEventListener("mouseenter",(function(){Y.props.interactive&amp;&amp;Y.state.isVisible&amp;&amp;Y.clearDelayTimeouts()})),$.addEventListener("mouseleave",(function(){Y.props.interactive&amp;&amp;Y.props.trigger.indexOf("mouseenter")&gt;=0&amp;&amp;nt().addEventListener("mousemove",F)})),Y;function Q(){var t=Y.props.touch;return Array.isArray(t)?t:[t,0]}function Z(){return"hold"===Q()[0]}function tt(){var t;return!(null==(t=Y.props.render)||!t.$$tippy)}function et(){return D||e}function nt(){var t=et().parentNode;return t?E(t):document}function rt(){return B($)}function ot(t){return Y.state.isMounted&amp;&amp;!Y.state.isVisible||T.isTouch||y&amp;&amp;"focus"===y.type?0:i(Y.props.delay,t?0:1,R.delay)}function it(t){void 0===t&amp;&amp;(t=!1),$.style.pointerEvents=Y.props.interactive&amp;&amp;!t?"":"none",$.style.zIndex=""+Y.props.zIndex}function at(t,e,n){var r;(void 0===n&amp;&amp;(n=!0),G.forEach((function(n){n[t]&amp;&amp;n[t].apply(n,e)})),n)&amp;&amp;(r=Y.props)[t].apply(r,e)}function st(){var t=Y.props.aria;if(t.content){var n="aria-"+t.content,r=$.id;c(Y.props.triggerTarget||e).forEach((function(t){var e=t.getAttribute(n);if(Y.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var o=e&amp;&amp;e.replace(r,"").trim();o?t.setAttribute(n,o):t.removeAttribute(n)}}))}}function ut(){!K&amp;&amp;Y.props.aria.expanded&amp;&amp;c(Y.props.triggerTarget||e).forEach((function(t){Y.props.interactive?t.setAttribute("aria-expanded",Y.state.isVisible&amp;&amp;t===et()?"true":"false"):t.removeAttribute("aria-expanded")}))}function pt(){nt().removeEventListener("mousemove",F),U=U.filter((function(t){return t!==F}))}function ct(t){if(!T.isTouch||!S&amp;&amp;"mousedown"!==t.type){var n=t.composedPath&amp;&amp;t.composedPath()[0]||t.target;if(!Y.props.interactive||!C($,n)){if(c(Y.props.triggerTarget||e).some((function(t){return C(t,n)}))){if(T.isTouch)return;if(Y.state.isVisible&amp;&amp;Y.props.trigger.indexOf("click")&gt;=0)return}else at("onClickOutside",[Y,t]);!0===Y.props.hideOnClick&amp;&amp;(Y.clearDelayTimeouts(),Y.hide(),I=!0,setTimeout((function(){I=!1})),Y.state.isMounted||vt())}}}function ft(){S=!0}function lt(){S=!1}function dt(){var t=nt();t.addEventListener("mousedown",ct,!0),t.addEventListener("touchend",ct,r),t.addEventListener("touchstart",lt,r),t.addEventListener("touchmove",ft,r)}function vt(){var t=nt();t.removeEventListener("mousedown",ct,!0),t.removeEventListener("touchend",ct,r),t.removeEventListener("touchstart",lt,r),t.removeEventListener("touchmove",ft,r)}function mt(t,e){var n=rt().box;function r(t){t.target===n&amp;&amp;(O(n,"remove",r),e())}if(0===t)return e();O(n,"remove",A),O(n,"add",r),A=r}function gt(t,n,r){void 0===r&amp;&amp;(r=!1),c(Y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),z.push({node:e,eventType:t,handler:n,options:r})}))}function ht(){var t;Z()&amp;&amp;(gt("touchstart",yt,{passive:!0}),gt("touchend",xt,{passive:!0})),(t=Y.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch(gt(t,yt),t){case"mouseenter":gt("mouseleave",xt);break;case"focus":gt(n?"focusout":"blur",Et);break;case"focusin":gt("focusout",Et)}}))}function bt(){z.forEach((function(t){var e=t.node,n=t.eventType,r=t.handler,o=t.options;e.removeEventListener(n,r,o)})),z=[]}function yt(t){var e,n=!1;if(Y.state.isEnabled&amp;&amp;!Ot(t)&amp;&amp;!I){var r="focus"===(null==(e=y)?void 0:e.type);y=t,D=t.currentTarget,ut(),!Y.state.isVisible&amp;&amp;h(t)&amp;&amp;U.forEach((function(e){return e(t)})),"click"===t.type&amp;&amp;(Y.props.trigger.indexOf("mouseenter")&lt;0||V)&amp;&amp;!1!==Y.props.hideOnClick&amp;&amp;Y.state.isVisible?n=!0:Lt(t),"click"===t.type&amp;&amp;(V=!n),n&amp;&amp;!r&amp;&amp;Dt(t)}}function wt(t){var e=t.target,n=et().contains(e)||$.contains(e);"mousemove"===t.type&amp;&amp;n||function(t,e){var n=e.clientX,r=e.clientY;return t.every((function(t){var e=t.popperRect,o=t.popperState,i=t.props.interactiveBorder,a=l(o.placement),s=o.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,p="top"===a?s.bottom.y:0,c="right"===a?s.left.x:0,f="left"===a?s.right.x:0,d=e.top-r+u&gt;i,v=r-e.bottom-p&gt;i,m=e.left-n+c&gt;i,g=n-e.right-f&gt;i;return d||v||m||g}))}(At().concat($).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:P}:null})).filter(Boolean),t)&amp;&amp;(pt(),Dt(t))}function xt(t){Ot(t)||Y.props.trigger.indexOf("click")&gt;=0&amp;&amp;V||(Y.props.interactive?Y.hideWithInteractivity(t):Dt(t))}function Et(t){Y.props.trigger.indexOf("focusin")&lt;0&amp;&amp;t.target!==et()||Y.props.interactive&amp;&amp;t.relatedTarget&amp;&amp;$.contains(t.relatedTarget)||Dt(t)}function Ot(t){return!!T.isTouch&amp;&amp;Z()!==t.type.indexOf("touch")&gt;=0}function Ct(){Tt();var n=Y.props,r=n.popperOptions,o=n.placement,i=n.offset,a=n.getReferenceClientRect,s=n.moveTransition,u=tt()?B($).arrow:null,p=a?{getBoundingClientRect:a,contextElement:a.contextElement||et()}:e,c=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(tt()){var n=rt().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)})),e.attributes.popper={}}}}];tt()&amp;&amp;u&amp;&amp;c.push({name:"arrow",options:{element:u,padding:3}}),c.push.apply(c,(null==r?void 0:r.modifiers)||[]),Y.popperInstance=t.createPopper(p,$,Object.assign({},r,{placement:o,onFirstUpdate:L,modifiers:c}))}function Tt(){Y.popperInstance&amp;&amp;(Y.popperInstance.destroy(),Y.popperInstance=null)}function At(){return d($.querySelectorAll("[data-tippy-root]"))}function Lt(t){Y.clearDelayTimeouts(),t&amp;&amp;at("onTrigger",[Y,t]),dt();var e=ot(!0),n=Q(),r=n[0],o=n[1];T.isTouch&amp;&amp;"hold"===r&amp;&amp;o&amp;&amp;(e=o),e?p=setTimeout((function(){Y.show()}),e):Y.show()}function Dt(t){if(Y.clearDelayTimeouts(),at("onUntrigger",[Y,t]),Y.state.isVisible){if(!(Y.props.trigger.indexOf("mouseenter")&gt;=0&amp;&amp;Y.props.trigger.indexOf("click")&gt;=0&amp;&amp;["mouseleave","mousemove"].indexOf(t.type)&gt;=0&amp;&amp;V)){var e=ot(!1);e?g=setTimeout((function(){Y.state.isVisible&amp;&amp;Y.hide()}),e):b=requestAnimationFrame((function(){Y.hide()}))}}else vt()}}function F(t,e){void 0===e&amp;&amp;(e={});var n=R.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",L,r),window.addEventListener("blur",k);var o=Object.assign({},e,{plugins:n}),i=y(t).reduce((function(t,e){var n=e&amp;&amp;z(e,o);return n&amp;&amp;t.push(n),t}),[]);return g(t)?i[0]:i}F.defaultProps=R,F.setDefaultProps=function(t){Object.keys(t).forEach((function(e){R[e]=t[e]}))},F.currentInput=T;var W=Object.assign({},t.applyStyles,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&amp;&amp;Object.assign(e.elements.arrow.style,n.arrow)}}),X={mouseover:"mouseenter",focusin:"focus",click:"click"};var Y={name:"animateFill",defaultValue:!1,fn:function(t){var e;if(null==(e=t.props.render)||!e.$$tippy)return{};var n=B(t.popper),r=n.box,o=n.content,i=t.props.animateFill?function(){var t=m();return t.className="tippy-backdrop",x([t],"hidden"),t}():null;return{onCreate:function(){i&amp;&amp;(r.insertBefore(i,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var t=r.style.transitionDuration,e=Number(t.replace("ms",""));o.style.transitionDelay=Math.round(e/10)+"ms",i.style.transitionDuration=t,x([i],"visible")}},onShow:function(){i&amp;&amp;(i.style.transitionDuration="0ms")},onHide:function(){i&amp;&amp;x([i],"hidden")}}}};var q={clientX:0,clientY:0},$=[];function J(t){var e=t.clientX,n=t.clientY;q={clientX:e,clientY:n}}var G={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,n=E(t.props.triggerTarget||e),r=!1,o=!1,i=!0,a=t.props;function s(){return"initial"===t.props.followCursor&amp;&amp;t.state.isVisible}function u(){n.addEventListener("mousemove",f)}function p(){n.removeEventListener("mousemove",f)}function c(){r=!0,t.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||e.contains(n.target),o=t.props.followCursor,i=n.clientX,a=n.clientY,s=e.getBoundingClientRect(),u=i-s.left,p=a-s.top;!r&amp;&amp;t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),n=i,r=a;"initial"===o&amp;&amp;(n=t.left+u,r=t.top+p);var s="horizontal"===o?t.top:r,c="vertical"===o?t.right:n,f="horizontal"===o?t.bottom:r,l="vertical"===o?t.left:n;return{width:c-l,height:f-s,top:s,right:c,bottom:f,left:l}}})}function l(){t.props.followCursor&amp;&amp;($.push({instance:t,doc:n}),function(t){t.addEventListener("mousemove",J)}(n))}function d(){0===($=$.filter((function(e){return e.instance!==t}))).filter((function(t){return t.doc===n})).length&amp;&amp;function(t){t.removeEventListener("mousemove",J)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=t.props},onAfterUpdate:function(e,n){var i=n.followCursor;r||void 0!==i&amp;&amp;a.followCursor!==i&amp;&amp;(d(),i?(l(),!t.state.isMounted||o||s()||u()):(p(),c()))},onMount:function(){t.props.followCursor&amp;&amp;!o&amp;&amp;(i&amp;&amp;(f(q),i=!1),s()||u())},onTrigger:function(t,e){h(e)&amp;&amp;(q={clientX:e.clientX,clientY:e.clientY}),o="focus"===e.type},onHidden:function(){t.props.followCursor&amp;&amp;(c(),p(),i=!0)}}}};var K={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,n=t.reference;var r=-1,o=!1,i=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(o){var a=o.state;t.props.inlinePositioning&amp;&amp;(-1!==i.indexOf(a.placement)&amp;&amp;(i=[]),e!==a.placement&amp;&amp;-1===i.indexOf(a.placement)&amp;&amp;(i.push(a.placement),t.setProps({getReferenceClientRect:function(){return function(t){return function(t,e,n,r){if(n.length&lt;2||null===t)return e;if(2===n.length&amp;&amp;r&gt;=0&amp;&amp;n[0].left&gt;n[1].right)return n[r]||e;switch(t){case"top":case"bottom":var o=n[0],i=n[n.length-1],a="top"===t,s=o.top,u=i.bottom,p=a?o.left:i.left,c=a?o.right:i.right;return{top:s,bottom:u,left:p,right:c,width:c-p,height:u-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(t){return t.left}))),l=Math.max.apply(Math,n.map((function(t){return t.right}))),d=n.filter((function(e){return"left"===t?e.left===f:e.right===l})),v=d[0].top,m=d[d.length-1].bottom;return{top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};default:return e}}(l(t),n.getBoundingClientRect(),d(n.getClientRects()),r)}(a.placement)}})),e=a.placement)}};function s(){var e;o||(e=function(t,e){var n;return{popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(n=t.popperOptions)?void 0:n.modifiers)||[]).filter((function(t){return t.name!==e.name})),[e])})}}(t.props,a),o=!0,t.setProps(e),o=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(e,n){if(h(n)){var o=d(t.reference.getClientRects()),i=o.find((function(t){return t.left-2&lt;=n.clientX&amp;&amp;t.right+2&gt;=n.clientX&amp;&amp;t.top-2&lt;=n.clientY&amp;&amp;t.bottom+2&gt;=n.clientY})),a=o.indexOf(i);r=a&gt;-1?a:r}},onHidden:function(){r=-1}}}};var Q={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var o=null,i=null;function a(){var s=r("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,u=r("popper")?n.getBoundingClientRect():null;(s&amp;&amp;Z(o,s)||u&amp;&amp;Z(i,u))&amp;&amp;t.popperInstance&amp;&amp;t.popperInstance.update(),o=s,i=u,t.state.isMounted&amp;&amp;requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&amp;&amp;a()}}}};function Z(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}return e&amp;&amp;function(t){var e=document.createElement("style");e.textContent=t,e.setAttribute("data-tippy-stylesheet","");var n=document.head,r=document.querySelector("head&gt;style,head&gt;link");r?n.insertBefore(e,r):n.appendChild(e)}('.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]&gt;.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]&gt;.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]&gt;.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]&gt;.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]&gt;.tippy-arrow{right:0}.tippy-box[data-placement^=left]&gt;.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]&gt;.tippy-arrow{left:0}.tippy-box[data-placement^=right]&gt;.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}'),F.setDefaultProps({plugins:[Y,G,K,Q],render:N}),F.createSingleton=function(t,e){var n;void 0===e&amp;&amp;(e={});var r,o=t,i=[],a=[],s=e.overrides,u=[],f=!1;function l(){a=o.map((function(t){return c(t.props.triggerTarget||t.reference)})).reduce((function(t,e){return t.concat(e)}),[])}function d(){i=o.map((function(t){return t.reference}))}function v(t){o.forEach((function(e){t?e.enable():e.disable()}))}function g(t){return o.map((function(e){var n=e.setProps;return e.setProps=function(o){n(o),e.reference===r&amp;&amp;t.setProps(o)},function(){e.setProps=n}}))}function h(t,e){var n=a.indexOf(e);if(e!==r){r=e;var u=(s||[]).concat("content").reduce((function(t,e){return t[e]=o[n].props[e],t}),{});t.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){var t;return null==(t=i[n])?void 0:t.getBoundingClientRect()}}))}}v(!1),d(),l();var b={fn:function(){return{onDestroy:function(){v(!0)},onHidden:function(){r=null},onClickOutside:function(t){t.props.showOnCreate&amp;&amp;!f&amp;&amp;(f=!0,r=null)},onShow:function(t){t.props.showOnCreate&amp;&amp;!f&amp;&amp;(f=!0,h(t,i[0]))},onTrigger:function(t,e){h(t,e.currentTarget)}}}},y=F(m(),Object.assign({},p(e,["overrides"]),{plugins:[b].concat(e.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],[W])})})),w=y.show;y.show=function(t){if(w(),!r&amp;&amp;null==t)return h(y,i[0]);if(!r||null!=t){if("number"==typeof t)return i[t]&amp;&amp;h(y,i[t]);if(o.indexOf(t)&gt;=0){var e=t.reference;return h(y,e)}return i.indexOf(t)&gt;=0?h(y,t):void 0}},y.showNext=function(){var t=i[0];if(!r)return y.show(0);var e=i.indexOf(r);y.show(i[e+1]||t)},y.showPrevious=function(){var t=i[i.length-1];if(!r)return y.show(t);var e=i.indexOf(r),n=i[e-1]||t;y.show(n)};var x=y.setProps;return y.setProps=function(t){s=t.overrides||s,x(t)},y.setInstances=function(t){v(!0),u.forEach((function(t){return t()})),o=t,v(!1),d(),l(),u=g(y),y.setProps({triggerTarget:a})},u=g(y),y},F.delegate=function(t,e){var n=[],o=[],i=!1,a=e.target,s=p(e,["target"]),u=Object.assign({},s,{trigger:"manual",touch:!1}),f=Object.assign({touch:R.touch},s,{showOnCreate:!0}),l=F(t,u);function d(t){if(t.target&amp;&amp;!i){var n=t.target.closest(a);if(n){var r=n.getAttribute("data-tippy-trigger")||e.trigger||R.trigger;if(!n._tippy&amp;&amp;!("touchstart"===t.type&amp;&amp;"boolean"==typeof f.touch||"touchstart"!==t.type&amp;&amp;r.indexOf(X[t.type])&lt;0)){var s=F(n,f);s&amp;&amp;(o=o.concat(s))}}}}function v(t,e,r,o){void 0===o&amp;&amp;(o=!1),t.addEventListener(e,r,o),n.push({node:t,eventType:e,handler:r,options:o})}return c(l).forEach((function(t){var e=t.destroy,a=t.enable,s=t.disable;t.destroy=function(t){void 0===t&amp;&amp;(t=!0),t&amp;&amp;o.forEach((function(t){t.destroy()})),o=[],n.forEach((function(t){var e=t.node,n=t.eventType,r=t.handler,o=t.options;e.removeEventListener(n,r,o)})),n=[],e()},t.enable=function(){a(),o.forEach((function(t){return t.enable()})),i=!1},t.disable=function(){s(),o.forEach((function(t){return t.disable()})),i=!0},function(t){var e=t.reference;v(e,"touchstart",d,r),v(e,"mouseover",d),v(e,"focusin",d),v(e,"click",d)}(t)})),l},F.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,r=e.duration;_.forEach((function(t){var e=!1;if(n&amp;&amp;(e=b(n)?t.reference===n:t.popper===n.popper),!e){var o=t.props.duration;t.setProps({duration:r}),t.hide(),t.state.isDestroyed||t.setProps({duration:o})}}))},F.roundArrow='&lt;svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"&gt;&lt;/svg&gt;',F}));
//# sourceMappingURL=tippy-bundle.umd.min.js.map
/* End */
;
; /* Start:"a:4:{s:4:"full";s:73:"/local/templates/simpleIT/js/nouislider/nouislider.min.js?171141796926460";s:6:"source";s:57:"/local/templates/simpleIT/js/nouislider/nouislider.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
!function(t,e){"object"==typeof exports&amp;&amp;"undefined"!=typeof module?e(exports):"function"==typeof define&amp;&amp;define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).noUiSlider={})}(this,function(ot){"use strict";function n(t){return"object"==typeof t&amp;&amp;"function"==typeof t.to}function st(t){t.parentElement.removeChild(t)}function at(t){return null!=t}function lt(t){t.preventDefault()}function i(t){return"number"==typeof t&amp;&amp;!isNaN(t)&amp;&amp;isFinite(t)}function ut(t,e,r){0&lt;r&amp;&amp;(ft(t,e),setTimeout(function(){dt(t,e)},r))}function ct(t){return Math.max(Math.min(t,100),0)}function pt(t){return Array.isArray(t)?t:[t]}function e(t){t=(t=String(t)).split(".");return 1&lt;t.length?t[1].length:0}function ft(t,e){t.classList&amp;&amp;!/\s/.test(e)?t.classList.add(e):t.className+=" "+e}function dt(t,e){t.classList&amp;&amp;!/\s/.test(e)?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function ht(t){var e=void 0!==window.pageXOffset,r="CSS1Compat"===(t.compatMode||"");return{x:e?window.pageXOffset:(r?t.documentElement:t.body).scrollLeft,y:e?window.pageYOffset:(r?t.documentElement:t.body).scrollTop}}function s(t,e){return 100/(e-t)}function a(t,e,r){return 100*e/(t[r+1]-t[r])}function l(t,e){for(var r=1;t&gt;=e[r];)r+=1;return r}function r(t,e,r){if(r&gt;=t.slice(-1)[0])return 100;var n=l(r,t),i=t[n-1],o=t[n],t=e[n-1],n=e[n];return t+(r=r,a(o=[i,o],o[0]&lt;0?r+Math.abs(o[0]):r-o[0],0)/s(t,n))}function o(t,e,r,n){if(100===n)return n;var i=l(n,t),o=t[i-1],s=t[i];return r?(s-o)/2&lt;n-o?s:o:e[i-1]?t[i-1]+(t=n-t[i-1],i=e[i-1],Math.round(t/i)*i):n}ot.PipsMode=void 0,(H=ot.PipsMode||(ot.PipsMode={})).Range="range",H.Steps="steps",H.Positions="positions",H.Count="count",H.Values="values",ot.PipsType=void 0,(H=ot.PipsType||(ot.PipsType={}))[H.None=-1]="None",H[H.NoValue=0]="NoValue",H[H.LargeValue=1]="LargeValue",H[H.SmallValue=2]="SmallValue";var u=(t.prototype.getDistance=function(t){for(var e=[],r=0;r&lt;this.xNumSteps.length-1;r++)e[r]=a(this.xVal,t,r);return e},t.prototype.getAbsoluteDistance=function(t,e,r){var n=0;if(t&lt;this.xPct[this.xPct.length-1])for(;t&gt;this.xPct[n+1];)n++;else t===this.xPct[this.xPct.length-1]&amp;&amp;(n=this.xPct.length-2);r||t!==this.xPct[n+1]||n++;for(var i,o=1,s=(e=null===e?[]:e)[n],a=0,l=0,u=0,c=r?(t-this.xPct[n])/(this.xPct[n+1]-this.xPct[n]):(this.xPct[n+1]-t)/(this.xPct[n+1]-this.xPct[n]);0&lt;s;)i=this.xPct[n+1+u]-this.xPct[n+u],100&lt;e[n+u]*o+100-100*c?(a=i*c,o=(s-100*c)/e[n+u],c=1):(a=e[n+u]*i/100*o,o=0),r?(l-=a,1&lt;=this.xPct.length+u&amp;&amp;u--):(l+=a,1&lt;=this.xPct.length-u&amp;&amp;u++),s=e[n+u]*o;return t+l},t.prototype.toStepping=function(t){return t=r(this.xVal,this.xPct,t)},t.prototype.fromStepping=function(t){return function(t,e,r){if(100&lt;=r)return t.slice(-1)[0];var n=l(r,e),i=t[n-1],o=t[n],t=e[n-1],n=e[n];return(r-t)*s(t,n)*((o=[i,o])[1]-o[0])/100+o[0]}(this.xVal,this.xPct,t)},t.prototype.getStep=function(t){return t=o(this.xPct,this.xSteps,this.snap,t)},t.prototype.getDefaultStep=function(t,e,r){var n=l(t,this.xPct);return(100===t||e&amp;&amp;t===this.xPct[n-1])&amp;&amp;(n=Math.max(n-1,1)),(this.xVal[n]-this.xVal[n-1])/r},t.prototype.getNearbySteps=function(t){t=l(t,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},t.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(e);return Math.max.apply(null,t)},t.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},t.prototype.convert=function(t){return this.getStep(this.toStepping(t))},t.prototype.handleEntryPoint=function(t,e){t="min"===t?0:"max"===t?100:parseFloat(t);if(!i(t)||!i(e[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(t),this.xVal.push(e[0]);e=Number(e[1]);t?this.xSteps.push(!isNaN(e)&amp;&amp;e):isNaN(e)||(this.xSteps[0]=e),this.xHighestCompleteStep.push(0)},t.prototype.handleStepPoint=function(t,e){e&amp;&amp;(this.xVal[t]!==this.xVal[t+1]?(this.xSteps[t]=a([this.xVal[t],this.xVal[t+1]],e,0)/s(this.xPct[t],this.xPct[t+1]),e=(this.xVal[t+1]-this.xVal[t])/this.xNumSteps[t],e=Math.ceil(Number(e.toFixed(3))-1),e=this.xVal[t]+this.xNumSteps[t]*e,this.xHighestCompleteStep[t]=e):this.xSteps[t]=this.xHighestCompleteStep[t]=this.xVal[t])},t);function t(e,t,r){var n;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[r||!1],this.xNumSteps=[!1],this.snap=t;var i=[];for(Object.keys(e).forEach(function(t){i.push([pt(e[t]),t])}),i.sort(function(t,e){return t[0][0]-e[0][0]}),n=0;n&lt;i.length;n++)this.handleEntryPoint(i[n][1],i[n][0]);for(this.xNumSteps=this.xSteps.slice(0),n=0;n&lt;this.xNumSteps.length;n++)this.handleStepPoint(n,this.xNumSteps[n])}var c={to:function(t){return void 0===t?"":t.toFixed(2)},from:Number},p={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},mt={tooltips:".__tooltips",aria:".__aria"};function f(t,e){if(!i(e))throw new Error("noUiSlider: 'step' is not numeric.");t.singleStep=e}function d(t,e){if(!i(e))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");t.keyboardPageMultiplier=e}function h(t,e){if(!i(e))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");t.keyboardMultiplier=e}function m(t,e){if(!i(e))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");t.keyboardDefaultStep=e}function g(t,e){if("object"!=typeof e||Array.isArray(e))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===e.min||void 0===e.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");t.spectrum=new u(e,t.snap||!1,t.singleStep)}function v(t,e){if(e=pt(e),!Array.isArray(e)||!e.length)throw new Error("noUiSlider: 'start' option is incorrect.");t.handles=e.length,t.start=e}function b(t,e){if("boolean"!=typeof e)throw new Error("noUiSlider: 'snap' option must be a boolean.");t.snap=e}function S(t,e){if("boolean"!=typeof e)throw new Error("noUiSlider: 'animate' option must be a boolean.");t.animate=e}function x(t,e){if("number"!=typeof e)throw new Error("noUiSlider: 'animationDuration' option must be a number.");t.animationDuration=e}function y(t,e){var r,n=[!1];if("lower"===e?e=[!0,!1]:"upper"===e&amp;&amp;(e=[!1,!0]),!0===e||!1===e){for(r=1;r&lt;t.handles;r++)n.push(e);n.push(!1)}else{if(!Array.isArray(e)||!e.length||e.length!==t.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");n=e}t.connect=n}function w(t,e){switch(e){case"horizontal":t.ort=0;break;case"vertical":t.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function E(t,e){if(!i(e))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==e&amp;&amp;(t.margin=t.spectrum.getDistance(e))}function P(t,e){if(!i(e))throw new Error("noUiSlider: 'limit' option must be numeric.");if(t.limit=t.spectrum.getDistance(e),!t.limit||t.handles&lt;2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function C(t,e){var r;if(!i(e)&amp;&amp;!Array.isArray(e))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(e)&amp;&amp;2!==e.length&amp;&amp;!i(e[0])&amp;&amp;!i(e[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==e){for(Array.isArray(e)||(e=[e,e]),t.padding=[t.spectrum.getDistance(e[0]),t.spectrum.getDistance(e[1])],r=0;r&lt;t.spectrum.xNumSteps.length-1;r++)if(t.padding[0][r]&lt;0||t.padding[1][r]&lt;0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var n=e[0]+e[1],e=t.spectrum.xVal[0];if(1&lt;n/(t.spectrum.xVal[t.spectrum.xVal.length-1]-e))throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function N(t,e){switch(e){case"ltr":t.dir=0;break;case"rtl":t.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function V(t,e){if("string"!=typeof e)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var r=0&lt;=e.indexOf("tap"),n=0&lt;=e.indexOf("drag"),i=0&lt;=e.indexOf("fixed"),o=0&lt;=e.indexOf("snap"),s=0&lt;=e.indexOf("hover"),a=0&lt;=e.indexOf("unconstrained"),e=0&lt;=e.indexOf("drag-all");if(i){if(2!==t.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");E(t,t.start[1]-t.start[0])}if(a&amp;&amp;(t.margin||t.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");t.events={tap:r||o,drag:n,dragAll:e,fixed:i,snap:o,hover:s,unconstrained:a}}function k(t,e){if(!1!==e)if(!0===e||n(e)){t.tooltips=[];for(var r=0;r&lt;t.handles;r++)t.tooltips.push(e)}else{if((e=pt(e)).length!==t.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");e.forEach(function(t){if("boolean"!=typeof t&amp;&amp;!n(t))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),t.tooltips=e}}function M(t,e){if(e.length!==t.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");t.handleAttributes=e}function A(t,e){if(!n(e))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");t.ariaFormat=e}function U(t,e){if(!n(r=e)||"function"!=typeof r.from)throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");var r;t.format=e}function D(t,e){if("boolean"!=typeof e)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");t.keyboardSupport=e}function O(t,e){t.documentElement=e}function L(t,e){if("string"!=typeof e&amp;&amp;!1!==e)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");t.cssPrefix=e}function T(e,r){if("object"!=typeof r)throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof e.cssPrefix?(e.cssClasses={},Object.keys(r).forEach(function(t){e.cssClasses[t]=e.cssPrefix+r[t]})):e.cssClasses=r}function gt(e){var r={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:c,format:c},n={step:{r:!1,t:f},keyboardPageMultiplier:{r:!1,t:d},keyboardMultiplier:{r:!1,t:h},keyboardDefaultStep:{r:!1,t:m},start:{r:!0,t:v},connect:{r:!0,t:y},direction:{r:!0,t:N},snap:{r:!1,t:b},animate:{r:!1,t:S},animationDuration:{r:!1,t:x},range:{r:!0,t:g},orientation:{r:!1,t:w},margin:{r:!1,t:E},limit:{r:!1,t:P},padding:{r:!1,t:C},behaviour:{r:!0,t:V},ariaFormat:{r:!1,t:A},format:{r:!1,t:U},tooltips:{r:!1,t:k},keyboardSupport:{r:!0,t:D},documentElement:{r:!1,t:O},cssPrefix:{r:!0,t:L},cssClasses:{r:!0,t:T},handleAttributes:{r:!1,t:M}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:p,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};e.format&amp;&amp;!e.ariaFormat&amp;&amp;(e.ariaFormat=e.format),Object.keys(n).forEach(function(t){if(at(e[t])||void 0!==i[t])n[t].t(r,(at(e[t])?e:i)[t]);else if(n[t].r)throw new Error("noUiSlider: '"+t+"' is required.")}),r.pips=e.pips;var t=document.createElement("div"),o=void 0!==t.style.msTransform,t=void 0!==t.style.transform;r.transformRule=t?"transform":o?"msTransform":"webkitTransform";return r.style=[["left","top"],["right","bottom"]][r.dir][r.ort],r}function j(t,f,o){var i,a,l,n,s,u,c=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},p=window.CSS&amp;&amp;CSS.supports&amp;&amp;CSS.supports("touch-action","none")&amp;&amp;function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}(),d=t,S=f.spectrum,h=[],m=[],g=[],v=0,b={},x=t.ownerDocument,y=f.documentElement||x.documentElement,w=x.body,E="rtl"===x.dir||1===f.ort?0:100;function P(t,e){var r=x.createElement("div");return e&amp;&amp;ft(r,e),t.appendChild(r),r}function C(t,e){var r,t=P(t,f.cssClasses.origin),n=P(t,f.cssClasses.handle);return P(n,f.cssClasses.touchArea),n.setAttribute("data-handle",String(e)),f.keyboardSupport&amp;&amp;(n.setAttribute("tabindex","0"),n.addEventListener("keydown",function(t){return function(t,e){if(V()||k(e))return!1;var r=["Left","Right"],n=["Down","Up"],i=["PageDown","PageUp"],o=["Home","End"];f.dir&amp;&amp;!f.ort?r.reverse():f.ort&amp;&amp;!f.dir&amp;&amp;(n.reverse(),i.reverse());var s=t.key.replace("Arrow",""),a=s===i[0],l=s===i[1],i=s===n[0]||s===r[0]||a,n=s===n[1]||s===r[1]||l,r=s===o[0],o=s===o[1];if(!(i||n||r||o))return!0;if(t.preventDefault(),n||i){var u=i?0:1,u=nt(e)[u];if(null===u)return!1;!1===u&amp;&amp;(u=S.getDefaultStep(m[e],i,f.keyboardDefaultStep)),u*=l||a?f.keyboardPageMultiplier:f.keyboardMultiplier,u=Math.max(u,1e-7),u*=i?-1:1,u=h[e]+u}else u=o?f.spectrum.xVal[f.spectrum.xVal.length-1]:f.spectrum.xVal[0];return Q(e,S.toStepping(u),!0,!0),I("slide",e),I("update",e),I("change",e),I("set",e),!1}(t,e)})),void 0!==f.handleAttributes&amp;&amp;(r=f.handleAttributes[e],Object.keys(r).forEach(function(t){n.setAttribute(t,r[t])})),n.setAttribute("role","slider"),n.setAttribute("aria-orientation",f.ort?"vertical":"horizontal"),0===e?ft(n,f.cssClasses.handleLower):e===f.handles-1&amp;&amp;ft(n,f.cssClasses.handleUpper),t}function N(t,e){return!!e&amp;&amp;P(t,f.cssClasses.connect)}function e(t,e){return!(!f.tooltips||!f.tooltips[e])&amp;&amp;P(t.firstChild,f.cssClasses.tooltip)}function V(){return d.hasAttribute("disabled")}function k(t){return a[t].hasAttribute("disabled")}function M(){s&amp;&amp;(Y("update"+mt.tooltips),s.forEach(function(t){t&amp;&amp;st(t)}),s=null)}function A(){M(),s=a.map(e),X("update"+mt.tooltips,function(t,e,r){s&amp;&amp;f.tooltips&amp;&amp;!1!==s[e]&amp;&amp;(t=t[e],!0!==f.tooltips[e]&amp;&amp;(t=f.tooltips[e].to(r[e])),s[e].innerHTML=t)})}function U(t,e){return t.map(function(t){return S.fromStepping(e?S.getStep(t):t)})}function D(d){var h=function(t){if(t.mode===ot.PipsMode.Range||t.mode===ot.PipsMode.Steps)return S.xVal;if(t.mode!==ot.PipsMode.Count)return t.mode===ot.PipsMode.Positions?U(t.values,t.stepped):t.mode===ot.PipsMode.Values?t.stepped?t.values.map(function(t){return S.fromStepping(S.getStep(S.toStepping(t)))}):t.values:[];if(t.values&lt;2)throw new Error("noUiSlider: 'values' (&gt;= 2) required for mode 'count'.");for(var e=t.values-1,r=100/e,n=[];e--;)n[e]=e*r;return n.push(100),U(n,t.stepped)}(d),m={},t=S.xVal[0],e=S.xVal[S.xVal.length-1],g=!1,v=!1,b=0;return(h=h.slice().sort(function(t,e){return t-e}).filter(function(t){return!this[t]&amp;&amp;(this[t]=!0)},{}))[0]!==t&amp;&amp;(h.unshift(t),g=!0),h[h.length-1]!==e&amp;&amp;(h.push(e),v=!0),h.forEach(function(t,e){var r,n,i,o,s,a,l,u,t=t,c=h[e+1],p=d.mode===ot.PipsMode.Steps,f=(f=p?S.xNumSteps[e]:f)||c-t;for(void 0===c&amp;&amp;(c=t),f=Math.max(f,1e-7),r=t;r&lt;=c;r=Number((r+f).toFixed(7))){for(a=(o=(i=S.toStepping(r))-b)/(d.density||1),u=o/(l=Math.round(a)),n=1;n&lt;=l;n+=1)m[(s=b+n*u).toFixed(5)]=[S.fromStepping(s),0];a=-1&lt;h.indexOf(r)?ot.PipsType.LargeValue:p?ot.PipsType.SmallValue:ot.PipsType.NoValue,!e&amp;&amp;g&amp;&amp;r!==c&amp;&amp;(a=0),r===c&amp;&amp;v||(m[i.toFixed(5)]=[r,a]),b=i}}),m}function O(i,o,s){var t,a=x.createElement("div"),n=((t={})[ot.PipsType.None]="",t[ot.PipsType.NoValue]=f.cssClasses.valueNormal,t[ot.PipsType.LargeValue]=f.cssClasses.valueLarge,t[ot.PipsType.SmallValue]=f.cssClasses.valueSub,t),l=((t={})[ot.PipsType.None]="",t[ot.PipsType.NoValue]=f.cssClasses.markerNormal,t[ot.PipsType.LargeValue]=f.cssClasses.markerLarge,t[ot.PipsType.SmallValue]=f.cssClasses.markerSub,t),u=[f.cssClasses.valueHorizontal,f.cssClasses.valueVertical],c=[f.cssClasses.markerHorizontal,f.cssClasses.markerVertical];function p(t,e){var r=e===f.cssClasses.value;return e+" "+(r?u:c)[f.ort]+" "+(r?n:l)[t]}return ft(a,f.cssClasses.pips),ft(a,0===f.ort?f.cssClasses.pipsHorizontal:f.cssClasses.pipsVertical),Object.keys(i).forEach(function(t){var e,r,n;r=i[e=t][0],n=i[t][1],(n=o?o(r,n):n)!==ot.PipsType.None&amp;&amp;((t=P(a,!1)).className=p(n,f.cssClasses.marker),t.style[f.style]=e+"%",n&gt;ot.PipsType.NoValue&amp;&amp;((t=P(a,!1)).className=p(n,f.cssClasses.value),t.setAttribute("data-value",String(r)),t.style[f.style]=e+"%",t.innerHTML=String(s.to(r))))}),a}function L(){n&amp;&amp;(st(n),n=null)}function T(t){L();var e=D(t),r=t.filter,t=t.format||{to:function(t){return String(Math.round(t))}};return n=d.appendChild(O(e,r,t))}function j(){var t=i.getBoundingClientRect(),e="offset"+["Width","Height"][f.ort];return 0===f.ort?t.width||i[e]:t.height||i[e]}function z(n,i,o,s){function e(t){var e,r=function(e,t,r){var n=0===e.type.indexOf("touch"),i=0===e.type.indexOf("mouse"),o=0===e.type.indexOf("pointer"),s=0,a=0;0===e.type.indexOf("MSPointer")&amp;&amp;(o=!0);if("mousedown"===e.type&amp;&amp;!e.buttons&amp;&amp;!e.touches)return!1;if(n){var l=function(t){t=t.target;return t===r||r.contains(t)||e.composed&amp;&amp;e.composedPath().shift()===r};if("touchstart"===e.type){n=Array.prototype.filter.call(e.touches,l);if(1&lt;n.length)return!1;s=n[0].pageX,a=n[0].pageY}else{l=Array.prototype.find.call(e.changedTouches,l);if(!l)return!1;s=l.pageX,a=l.pageY}}t=t||ht(x),(i||o)&amp;&amp;(s=e.clientX+t.x,a=e.clientY+t.y);return e.pageOffset=t,e.points=[s,a],e.cursor=i||o,e}(t,s.pageOffset,s.target||i);return!!r&amp;&amp;(!(V()&amp;&amp;!s.doNotReject)&amp;&amp;(e=d,t=f.cssClasses.tap,!((e.classList?e.classList.contains(t):new RegExp("\\b"+t+"\\b").test(e.className))&amp;&amp;!s.doNotReject)&amp;&amp;(!(n===c.start&amp;&amp;void 0!==r.buttons&amp;&amp;1&lt;r.buttons)&amp;&amp;((!s.hover||!r.buttons)&amp;&amp;(p||r.preventDefault(),r.calcPoint=r.points[f.ort],void o(r,s))))))}var r=[];return n.split(" ").forEach(function(t){i.addEventListener(t,e,!!p&amp;&amp;{passive:!0}),r.push([t,e])}),r}function H(t){var e,r,n=ct(n=100*(t-(n=i,e=f.ort,r=n.getBoundingClientRect(),n=(t=n.ownerDocument).documentElement,t=ht(t),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&amp;&amp;(t.x=0),e?r.top+t.y-n.clientTop:r.left+t.x-n.clientLeft))/j());return f.dir?100-n:n}function F(t,e){"mouseout"===t.type&amp;&amp;"HTML"===t.target.nodeName&amp;&amp;null===t.relatedTarget&amp;&amp;_(t,e)}function R(t,e){if(-1===navigator.appVersion.indexOf("MSIE 9")&amp;&amp;0===t.buttons&amp;&amp;0!==e.buttonsProperty)return _(t,e);t=(f.dir?-1:1)*(t.calcPoint-e.startCalcPoint);G(0&lt;t,100*t/e.baseSize,e.locations,e.handleNumbers,e.connect)}function _(t,e){e.handle&amp;&amp;(dt(e.handle,f.cssClasses.active),--v),e.listeners.forEach(function(t){y.removeEventListener(t[0],t[1])}),0===v&amp;&amp;(dt(d,f.cssClasses.drag),K(),t.cursor&amp;&amp;(w.style.cursor="",w.removeEventListener("selectstart",lt))),e.handleNumbers.forEach(function(t){I("change",t),I("set",t),I("end",t)})}function B(t,e){var r,n,i,o;e.handleNumbers.some(k)||(1===e.handleNumbers.length&amp;&amp;(o=a[e.handleNumbers[0]].children[0],v+=1,ft(o,f.cssClasses.active)),t.stopPropagation(),n=z(c.move,y,R,{target:t.target,handle:o,connect:e.connect,listeners:r=[],startCalcPoint:t.calcPoint,baseSize:j(),pageOffset:t.pageOffset,handleNumbers:e.handleNumbers,buttonsProperty:t.buttons,locations:m.slice()}),i=z(c.end,y,_,{target:t.target,handle:o,listeners:r,doNotReject:!0,handleNumbers:e.handleNumbers}),o=z("mouseout",y,F,{target:t.target,handle:o,listeners:r,doNotReject:!0,handleNumbers:e.handleNumbers}),r.push.apply(r,n.concat(i,o)),t.cursor&amp;&amp;(w.style.cursor=getComputedStyle(t.target).cursor,1&lt;a.length&amp;&amp;ft(d,f.cssClasses.drag),w.addEventListener("selectstart",lt,!1)),e.handleNumbers.forEach(function(t){I("start",t)}))}function r(t){t.stopPropagation();var i,o,s,e=H(t.calcPoint),r=(i=e,s=!(o=100),a.forEach(function(t,e){var r,n;k(e)||(r=m[e],((n=Math.abs(r-i))&lt;o||n&lt;=o&amp;&amp;r&lt;i||100===n&amp;&amp;100===o)&amp;&amp;(s=e,o=n))}),s);!1!==r&amp;&amp;(f.events.snap||ut(d,f.cssClasses.tap,f.animationDuration),Q(r,e,!0,!0),K(),I("slide",r,!0),I("update",r,!0),f.events.snap?B(t,{handleNumbers:[r]}):(I("change",r,!0),I("set",r,!0)))}function q(t){var t=H(t.calcPoint),t=S.getStep(t),e=S.fromStepping(t);Object.keys(b).forEach(function(t){"hover"===t.split(".")[0]&amp;&amp;b[t].forEach(function(t){t.call(it,e)})})}function X(t,e){b[t]=b[t]||[],b[t].push(e),"update"===t.split(".")[0]&amp;&amp;a.forEach(function(t,e){I("update",e)})}function Y(t){var n=t&amp;&amp;t.split(".")[0],i=n?t.substring(n.length):t;Object.keys(b).forEach(function(t){var e=t.split(".")[0],r=t.substring(e.length);n&amp;&amp;n!==e||i&amp;&amp;i!==r||((e=r)!==mt.aria&amp;&amp;e!==mt.tooltips||i===r)&amp;&amp;delete b[t]})}function I(r,n,i){Object.keys(b).forEach(function(t){var e=t.split(".")[0];r===e&amp;&amp;b[t].forEach(function(t){t.call(it,h.map(f.format.to),n,h.slice(),i||!1,m.slice(),it)})})}function W(t,e,r,n,i,o){var s;return 1&lt;a.length&amp;&amp;!f.events.unconstrained&amp;&amp;(n&amp;&amp;0&lt;e&amp;&amp;(s=S.getAbsoluteDistance(t[e-1],f.margin,!1),r=Math.max(r,s)),i&amp;&amp;e&lt;a.length-1&amp;&amp;(s=S.getAbsoluteDistance(t[e+1],f.margin,!0),r=Math.min(r,s))),1&lt;a.length&amp;&amp;f.limit&amp;&amp;(n&amp;&amp;0&lt;e&amp;&amp;(s=S.getAbsoluteDistance(t[e-1],f.limit,!1),r=Math.min(r,s)),i&amp;&amp;e&lt;a.length-1&amp;&amp;(s=S.getAbsoluteDistance(t[e+1],f.limit,!0),r=Math.max(r,s))),f.padding&amp;&amp;(0===e&amp;&amp;(s=S.getAbsoluteDistance(0,f.padding[0],!1),r=Math.max(r,s)),e===a.length-1&amp;&amp;(s=S.getAbsoluteDistance(100,f.padding[1],!0),r=Math.min(r,s))),!((r=ct(r=S.getStep(r)))===t[e]&amp;&amp;!o)&amp;&amp;r}function $(t,e){var r=f.ort;return(r?e:t)+", "+(r?t:e)}function G(t,r,n,e,i){var o=n.slice(),s=e[0],a=[!t,t],l=[t,!t];e=e.slice(),t&amp;&amp;e.reverse(),1&lt;e.length?e.forEach(function(t,e){e=W(o,t,o[t]+r,a[e],l[e],!1);!1===e?r=0:(r=e-o[t],o[t]=e)}):a=l=[!0];var u=!1;e.forEach(function(t,e){u=Q(t,n[t]+r,a[e],l[e])||u}),u&amp;&amp;(e.forEach(function(t){I("update",t),I("slide",t)}),null!=i&amp;&amp;I("drag",s))}function J(t,e){return f.dir?100-t-e:t}function K(){g.forEach(function(t){var e=50&lt;m[t]?-1:1,e=3+(a.length+e*t);a[t].style.zIndex=String(e)})}function Q(t,e,r,n,i){return!1!==(e=i?e:W(m,t,e,r,n,!1))&amp;&amp;(e=e,m[t=t]=e,h[t]=S.fromStepping(e),e="translate("+$(J(e,0)-E+"%","0")+")",a[t].style[f.transformRule]=e,Z(t),Z(t+1),!0)}function Z(t){var e,r;l[t]&amp;&amp;(r=100,e="translate("+$(J(e=(e=0)!==t?m[t-1]:e,r=(r=t!==l.length-1?m[t]:r)-e)+"%","0")+")",r="scale("+$(r/100,"1")+")",l[t].style[f.transformRule]=e+" "+r)}function tt(t,e){return null===t||!1===t||void 0===t?m[e]:("number"==typeof t&amp;&amp;(t=String(t)),!1===(t=!1!==(t=f.format.from(t))?S.toStepping(t):t)||isNaN(t)?m[e]:t)}function et(t,e,r){var n=pt(t),t=void 0===m[0];e=void 0===e||e,f.animate&amp;&amp;!t&amp;&amp;ut(d,f.cssClasses.tap,f.animationDuration),g.forEach(function(t){Q(t,tt(n[t],t),!0,!1,r)});var i,o=1===g.length?0:1;for(t&amp;&amp;S.hasNoSize()&amp;&amp;(r=!0,m[0]=0,1&lt;g.length&amp;&amp;(i=100/(g.length-1),g.forEach(function(t){m[t]=t*i})));o&lt;g.length;++o)g.forEach(function(t){Q(t,m[t],!0,!0,r)});K(),g.forEach(function(t){I("update",t),null!==n[t]&amp;&amp;e&amp;&amp;I("set",t)})}function rt(t){if(t=void 0===t?!1:t)return 1===h.length?h[0]:h.slice(0);t=h.map(f.format.to);return 1===t.length?t[0]:t}function nt(t){var e=m[t],r=S.getNearbySteps(e),n=h[t],i=r.thisStep.step,t=null;if(f.snap)return[n-r.stepBefore.startValue||null,r.stepAfter.startValue-n||null];!1!==i&amp;&amp;n+i&gt;r.stepAfter.startValue&amp;&amp;(i=r.stepAfter.startValue-n),t=n&gt;r.thisStep.startValue?r.thisStep.step:!1!==r.stepBefore.step&amp;&amp;n-r.stepBefore.highestStep,100===e?i=null:0===e&amp;&amp;(t=null);e=S.countStepDecimals();return null!==i&amp;&amp;!1!==i&amp;&amp;(i=Number(i.toFixed(e))),[t=null!==t&amp;&amp;!1!==t?Number(t.toFixed(e)):t,i]}ft(t=d,f.cssClasses.target),0===f.dir?ft(t,f.cssClasses.ltr):ft(t,f.cssClasses.rtl),0===f.ort?ft(t,f.cssClasses.horizontal):ft(t,f.cssClasses.vertical),ft(t,"rtl"===getComputedStyle(t).direction?f.cssClasses.textDirectionRtl:f.cssClasses.textDirectionLtr),i=P(t,f.cssClasses.base),function(t,e){var r=P(e,f.cssClasses.connects);a=[],(l=[]).push(N(r,t[0]));for(var n=0;n&lt;f.handles;n++)a.push(C(e,n)),g[n]=n,l.push(N(r,t[n+1]))}(f.connect,i),(u=f.events).fixed||a.forEach(function(t,e){z(c.start,t.children[0],B,{handleNumbers:[e]})}),u.tap&amp;&amp;z(c.start,i,r,{}),u.hover&amp;&amp;z(c.move,i,q,{hover:!0}),u.drag&amp;&amp;l.forEach(function(e,t){var r,n,i,o,s;!1!==e&amp;&amp;0!==t&amp;&amp;t!==l.length-1&amp;&amp;(r=a[t-1],n=a[t],i=[e],o=[r,n],s=[t-1,t],ft(e,f.cssClasses.draggable),u.fixed&amp;&amp;(i.push(r.children[0]),i.push(n.children[0])),u.dragAll&amp;&amp;(o=a,s=g),i.forEach(function(t){z(c.start,t,B,{handles:o,handleNumbers:s,connect:e})}))}),et(f.start),f.pips&amp;&amp;T(f.pips),f.tooltips&amp;&amp;A(),Y("update"+mt.aria),X("update"+mt.aria,function(t,e,o,r,s){g.forEach(function(t){var e=a[t],r=W(m,t,0,!0,!0,!0),n=W(m,t,100,!0,!0,!0),i=s[t],t=String(f.ariaFormat.to(o[t])),r=S.fromStepping(r).toFixed(1),n=S.fromStepping(n).toFixed(1),i=S.fromStepping(i).toFixed(1);e.children[0].setAttribute("aria-valuemin",r),e.children[0].setAttribute("aria-valuemax",n),e.children[0].setAttribute("aria-valuenow",i),e.children[0].setAttribute("aria-valuetext",t)})});var it={destroy:function(){for(Y(mt.aria),Y(mt.tooltips),Object.keys(f.cssClasses).forEach(function(t){dt(d,f.cssClasses[t])});d.firstChild;)d.removeChild(d.firstChild);delete d.noUiSlider},steps:function(){return g.map(nt)},on:X,off:Y,get:rt,set:et,setHandle:function(t,e,r,n){if(!(0&lt;=(t=Number(t))&amp;&amp;t&lt;g.length))throw new Error("noUiSlider: invalid handle number, got: "+t);Q(t,tt(e,t),!0,!0,n),I("update",t),r&amp;&amp;I("set",t)},reset:function(t){et(f.start,t)},__moveHandles:function(t,e,r){G(t,e,m,r)},options:o,updateOptions:function(e,t){var r=rt(),n=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];n.forEach(function(t){void 0!==e[t]&amp;&amp;(o[t]=e[t])});var i=gt(o);n.forEach(function(t){void 0!==e[t]&amp;&amp;(f[t]=i[t])}),S=i.spectrum,f.margin=i.margin,f.limit=i.limit,f.padding=i.padding,f.pips?T(f.pips):L(),(f.tooltips?A:M)(),m=[],et(at(e.start)?e.start:r,t)},target:d,removePips:L,removeTooltips:M,getPositions:function(){return m.slice()},getTooltips:function(){return s},getOrigins:function(){return a},pips:T};return it}function z(t,e){if(!t||!t.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+t);if(t.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");e=j(t,gt(e),e);return t.noUiSlider=e}var H={__spectrum:u,cssClasses:p,create:z};ot.create=z,ot.cssClasses=p,ot.default=H,Object.defineProperty(ot,"__esModule",{value:!0})});
/* End */
;
; /* Start:"a:4:{s:4:"full";s:65:"/local/templates/simpleIT/js/select/select.min.js?171141796888560";s:6:"source";s:49:"/local/templates/simpleIT/js/select/select.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
/*! For license information please see choices.min.js.LICENSE.txt */
!function(){"use strict";var e={282:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.clearChoices=t.activateChoices=t.filterChoices=t.addChoice=void 0;var n=i(883);t.addChoice=function(e){var t=e.value,i=e.label,s=e.id,r=e.groupId,o=e.disabled,a=e.elementId,c=e.customProperties,l=e.placeholder,h=e.keyCode;return{type:n.ACTION_TYPES.ADD_CHOICE,value:t,label:i,id:s,groupId:r,disabled:o,elementId:a,customProperties:c,placeholder:l,keyCode:h}},t.filterChoices=function(e){return{type:n.ACTION_TYPES.FILTER_CHOICES,results:e}},t.activateChoices=function(e){return void 0===e&amp;&amp;(e=!0),{type:n.ACTION_TYPES.ACTIVATE_CHOICES,active:e}},t.clearChoices=function(){return{type:n.ACTION_TYPES.CLEAR_CHOICES}}},783:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.addGroup=void 0;var n=i(883);t.addGroup=function(e){var t=e.value,i=e.id,s=e.active,r=e.disabled;return{type:n.ACTION_TYPES.ADD_GROUP,value:t,id:i,active:s,disabled:r}}},464:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.highlightItem=t.removeItem=t.addItem=void 0;var n=i(883);t.addItem=function(e){var t=e.value,i=e.label,s=e.id,r=e.choiceId,o=e.groupId,a=e.customProperties,c=e.placeholder,l=e.keyCode;return{type:n.ACTION_TYPES.ADD_ITEM,value:t,label:i,id:s,choiceId:r,groupId:o,customProperties:a,placeholder:c,keyCode:l}},t.removeItem=function(e,t){return{type:n.ACTION_TYPES.REMOVE_ITEM,id:e,choiceId:t}},t.highlightItem=function(e,t){return{type:n.ACTION_TYPES.HIGHLIGHT_ITEM,id:e,highlighted:t}}},137:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.setIsLoading=t.resetTo=t.clearAll=void 0;var n=i(883);t.clearAll=function(){return{type:n.ACTION_TYPES.CLEAR_ALL}},t.resetTo=function(e){return{type:n.ACTION_TYPES.RESET_TO,state:e}},t.setIsLoading=function(e){return{type:n.ACTION_TYPES.SET_IS_LOADING,isLoading:e}}},373:function(e,t,i){var n=this&amp;&amp;this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,s=0,r=t.length;s&lt;r;s++)!n&amp;&amp;s in t||(n||(n=Array.prototype.slice.call(t,0,s)),n[s]=t[s]);return e.concat(n||Array.prototype.slice.call(t))},s=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=s(i(996)),o=s(i(221)),a=i(282),c=i(783),l=i(464),h=i(137),u=i(520),d=i(883),p=i(789),f=i(799),m=i(655),v=s(i(744)),g=s(i(686)),_="-ms-scroll-limit"in document.documentElement.style&amp;&amp;"-ms-ime-align"in document.documentElement.style,y={},E=function(){function e(t,i){var s=this;void 0===t&amp;&amp;(t="[data-choice]"),void 0===i&amp;&amp;(i={}),void 0===i.allowHTML&amp;&amp;console.warn("Deprecation warning: allowHTML will default to false in a future release. To render HTML in Choices, you will need to set it to true. Setting allowHTML will suppress this message."),this.config=r.default.all([p.DEFAULT_CONFIG,e.defaults.options,i],{arrayMerge:function(e,t){return n([],t,!0)}});var o=(0,f.diff)(this.config,p.DEFAULT_CONFIG);o.length&amp;&amp;console.warn("Unknown config option(s) passed",o.join(", "));var a="string"==typeof t?document.querySelector(t):t;if(!(a instanceof HTMLInputElement||a instanceof HTMLSelectElement))throw TypeError("Expected one of the following types text|select-one|select-multiple");if(this._isTextElement=a.type===d.TEXT_TYPE,this._isSelectOneElement=a.type===d.SELECT_ONE_TYPE,this._isSelectMultipleElement=a.type===d.SELECT_MULTIPLE_TYPE,this._isSelectElement=this._isSelectOneElement||this._isSelectMultipleElement,this.config.searchEnabled=this._isSelectMultipleElement||this.config.searchEnabled,["auto","always"].includes("".concat(this.config.renderSelectedChoices))||(this.config.renderSelectedChoices="auto"),i.addItemFilter&amp;&amp;"function"!=typeof i.addItemFilter){var c=i.addItemFilter instanceof RegExp?i.addItemFilter:new RegExp(i.addItemFilter);this.config.addItemFilter=c.test.bind(c)}if(this._isTextElement?this.passedElement=new u.WrappedInput({element:a,classNames:this.config.classNames,delimiter:this.config.delimiter}):this.passedElement=new u.WrappedSelect({element:a,classNames:this.config.classNames,template:function(e){return s._templates.option(e)}}),this.initialised=!1,this._store=new v.default,this._initialState=m.defaultState,this._currentState=m.defaultState,this._prevState=m.defaultState,this._currentValue="",this._canSearch=!!this.config.searchEnabled,this._isScrollingOnIe=!1,this._highlightPosition=0,this._wasTap=!0,this._placeholderValue=this._generatePlaceholderValue(),this._baseId=(0,f.generateId)(this.passedElement.element,"choices-"),this._direction=this.passedElement.dir,!this._direction){var l=window.getComputedStyle(this.passedElement.element).direction;l!==window.getComputedStyle(document.documentElement).direction&amp;&amp;(this._direction=l)}if(this._idNames={itemChoice:"item-choice"},this._isSelectElement&amp;&amp;(this._presetGroups=this.passedElement.optionGroups,this._presetOptions=this.passedElement.options),this._presetChoices=this.config.choices,this._presetItems=this.config.items,this.passedElement.value&amp;&amp;this._isTextElement){var h=this.passedElement.value.split(this.config.delimiter);this._presetItems=this._presetItems.concat(h)}if(this.passedElement.options&amp;&amp;this.passedElement.options.forEach((function(e){s._presetChoices.push({value:e.value,label:e.innerHTML,selected:!!e.selected,disabled:e.disabled||e.parentNode.disabled,placeholder:""===e.value||e.hasAttribute("placeholder"),customProperties:e.dataset["custom-properties"]})})),this._render=this._render.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this),this._onKeyUp=this._onKeyUp.bind(this),this._onKeyDown=this._onKeyDown.bind(this),this._onClick=this._onClick.bind(this),this._onTouchMove=this._onTouchMove.bind(this),this._onTouchEnd=this._onTouchEnd.bind(this),this._onMouseDown=this._onMouseDown.bind(this),this._onMouseOver=this._onMouseOver.bind(this),this._onFormReset=this._onFormReset.bind(this),this._onSelectKey=this._onSelectKey.bind(this),this._onEnterKey=this._onEnterKey.bind(this),this._onEscapeKey=this._onEscapeKey.bind(this),this._onDirectionKey=this._onDirectionKey.bind(this),this._onDeleteKey=this._onDeleteKey.bind(this),this.passedElement.isActive)return this.config.silent||console.warn("Trying to initialise Choices on element already initialised",{element:t}),void(this.initialised=!0);this.init()}return Object.defineProperty(e,"defaults",{get:function(){return Object.preventExtensions({get options(){return y},get templates(){return g.default}})},enumerable:!1,configurable:!0}),e.prototype.init=function(){if(!this.initialised){this._createTemplates(),this._createElements(),this._createStructure(),this._store.subscribe(this._render),this._render(),this._addEventListeners(),(!this.config.addItems||this.passedElement.element.hasAttribute("disabled"))&amp;&amp;this.disable(),this.initialised=!0;var e=this.config.callbackOnInit;e&amp;&amp;"function"==typeof e&amp;&amp;e.call(this)}},e.prototype.destroy=function(){this.initialised&amp;&amp;(this._removeEventListeners(),this.passedElement.reveal(),this.containerOuter.unwrap(this.passedElement.element),this.clearStore(),this._isSelectElement&amp;&amp;(this.passedElement.options=this._presetOptions),this._templates=g.default,this.initialised=!1)},e.prototype.enable=function(){return this.passedElement.isDisabled&amp;&amp;this.passedElement.enable(),this.containerOuter.isDisabled&amp;&amp;(this._addEventListeners(),this.input.enable(),this.containerOuter.enable()),this},e.prototype.disable=function(){return this.passedElement.isDisabled||this.passedElement.disable(),this.containerOuter.isDisabled||(this._removeEventListeners(),this.input.disable(),this.containerOuter.disable()),this},e.prototype.highlightItem=function(e,t){if(void 0===t&amp;&amp;(t=!0),!e||!e.id)return this;var i=e.id,n=e.groupId,s=void 0===n?-1:n,r=e.value,o=void 0===r?"":r,a=e.label,c=void 0===a?"":a,h=s&gt;=0?this._store.getGroupById(s):null;return this._store.dispatch((0,l.highlightItem)(i,!0)),t&amp;&amp;this.passedElement.triggerEvent(d.EVENTS.highlightItem,{id:i,value:o,label:c,groupValue:h&amp;&amp;h.value?h.value:null}),this},e.prototype.unhighlightItem=function(e){if(!e||!e.id)return this;var t=e.id,i=e.groupId,n=void 0===i?-1:i,s=e.value,r=void 0===s?"":s,o=e.label,a=void 0===o?"":o,c=n&gt;=0?this._store.getGroupById(n):null;return this._store.dispatch((0,l.highlightItem)(t,!1)),this.passedElement.triggerEvent(d.EVENTS.highlightItem,{id:t,value:r,label:a,groupValue:c&amp;&amp;c.value?c.value:null}),this},e.prototype.highlightAll=function(){var e=this;return this._store.items.forEach((function(t){return e.highlightItem(t)})),this},e.prototype.unhighlightAll=function(){var e=this;return this._store.items.forEach((function(t){return e.unhighlightItem(t)})),this},e.prototype.removeActiveItemsByValue=function(e){var t=this;return this._store.activeItems.filter((function(t){return t.value===e})).forEach((function(e){return t._removeItem(e)})),this},e.prototype.removeActiveItems=function(e){var t=this;return this._store.activeItems.filter((function(t){return t.id!==e})).forEach((function(e){return t._removeItem(e)})),this},e.prototype.removeHighlightedItems=function(e){var t=this;return void 0===e&amp;&amp;(e=!1),this._store.highlightedActiveItems.forEach((function(i){t._removeItem(i),e&amp;&amp;t._triggerChange(i.value)})),this},e.prototype.showDropdown=function(e){var t=this;return this.dropdown.isActive||requestAnimationFrame((function(){t.dropdown.show(),t.containerOuter.open(t.dropdown.distanceFromTopWindow),!e&amp;&amp;t._canSearch&amp;&amp;t.input.focus(),t.passedElement.triggerEvent(d.EVENTS.showDropdown,{})})),this},e.prototype.hideDropdown=function(e){var t=this;return this.dropdown.isActive?(requestAnimationFrame((function(){t.dropdown.hide(),t.containerOuter.close(),!e&amp;&amp;t._canSearch&amp;&amp;(t.input.removeActiveDescendant(),t.input.blur()),t.passedElement.triggerEvent(d.EVENTS.hideDropdown,{})})),this):this},e.prototype.getValue=function(e){void 0===e&amp;&amp;(e=!1);var t=this._store.activeItems.reduce((function(t,i){var n=e?i.value:i;return t.push(n),t}),[]);return this._isSelectOneElement?t[0]:t},e.prototype.setValue=function(e){var t=this;return this.initialised?(e.forEach((function(e){return t._setChoiceOrItem(e)})),this):this},e.prototype.setChoiceByValue=function(e){var t=this;return!this.initialised||this._isTextElement||(Array.isArray(e)?e:[e]).forEach((function(e){return t._findAndSelectChoiceByValue(e)})),this},e.prototype.setChoices=function(e,t,i,n){var s=this;if(void 0===e&amp;&amp;(e=[]),void 0===t&amp;&amp;(t="value"),void 0===i&amp;&amp;(i="label"),void 0===n&amp;&amp;(n=!1),!this.initialised)throw new ReferenceError("setChoices was called on a non-initialized instance of Choices");if(!this._isSelectElement)throw new TypeError("setChoices can't be used with INPUT based Choices");if("string"!=typeof t||!t)throw new TypeError("value parameter must be a name of 'value' field in passed objects");if(n&amp;&amp;this.clearChoices(),"function"==typeof e){var r=e(this);if("function"==typeof Promise&amp;&amp;r instanceof Promise)return new Promise((function(e){return requestAnimationFrame(e)})).then((function(){return s._handleLoadingState(!0)})).then((function(){return r})).then((function(e){return s.setChoices(e,t,i,n)})).catch((function(e){s.config.silent||console.error(e)})).then((function(){return s._handleLoadingState(!1)})).then((function(){return s}));if(!Array.isArray(r))throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: ".concat(typeof r));return this.setChoices(r,t,i,!1)}if(!Array.isArray(e))throw new TypeError(".setChoices must be called either with array of choices with a function resulting into Promise of array of choices");return this.containerOuter.removeLoadingState(),this._startLoading(),e.forEach((function(e){if(e.choices)s._addGroup({id:e.id?parseInt("".concat(e.id),10):null,group:e,valueKey:t,labelKey:i});else{var n=e;s._addChoice({value:n[t],label:n[i],isSelected:!!n.selected,isDisabled:!!n.disabled,placeholder:!!n.placeholder,customProperties:n.customProperties})}})),this._stopLoading(),this},e.prototype.clearChoices=function(){return this._store.dispatch((0,a.clearChoices)()),this},e.prototype.clearStore=function(){return this._store.dispatch((0,h.clearAll)()),this},e.prototype.clearInput=function(){var e=!this._isSelectOneElement;return this.input.clear(e),!this._isTextElement&amp;&amp;this._canSearch&amp;&amp;(this._isSearching=!1,this._store.dispatch((0,a.activateChoices)(!0))),this},e.prototype._render=function(){if(!this._store.isLoading()){this._currentState=this._store.state;var e=this._currentState.choices!==this._prevState.choices||this._currentState.groups!==this._prevState.groups||this._currentState.items!==this._prevState.items,t=this._isSelectElement,i=this._currentState.items!==this._prevState.items;e&amp;&amp;(t&amp;&amp;this._renderChoices(),i&amp;&amp;this._renderItems(),this._prevState=this._currentState)}},e.prototype._renderChoices=function(){var e=this,t=this._store,i=t.activeGroups,n=t.activeChoices,s=document.createDocumentFragment();if(this.choiceList.clear(),this.config.resetScrollPosition&amp;&amp;requestAnimationFrame((function(){return e.choiceList.scrollToTop()})),i.length&gt;=1&amp;&amp;!this._isSearching){var r=n.filter((function(e){return!0===e.placeholder&amp;&amp;-1===e.groupId}));r.length&gt;=1&amp;&amp;(s=this._createChoicesFragment(r,s)),s=this._createGroupsFragment(i,n,s)}else n.length&gt;=1&amp;&amp;(s=this._createChoicesFragment(n,s));if(s.childNodes&amp;&amp;s.childNodes.length&gt;0){var o=this._store.activeItems,a=this._canAddItem(o,this.input.value);if(a.response)this.choiceList.append(s),this._highlightChoice();else{var c=this._getTemplate("notice",a.notice);this.choiceList.append(c)}}else{var l=void 0;c=void 0,this._isSearching?(c="function"==typeof this.config.noResultsText?this.config.noResultsText():this.config.noResultsText,l=this._getTemplate("notice",c,"no-results")):(c="function"==typeof this.config.noChoicesText?this.config.noChoicesText():this.config.noChoicesText,l=this._getTemplate("notice",c,"no-choices")),this.choiceList.append(l)}},e.prototype._renderItems=function(){var e=this._store.activeItems||[];this.itemList.clear();var t=this._createItemsFragment(e);t.childNodes&amp;&amp;this.itemList.append(t)},e.prototype._createGroupsFragment=function(e,t,i){var n=this;return void 0===i&amp;&amp;(i=document.createDocumentFragment()),this.config.shouldSort&amp;&amp;e.sort(this.config.sorter),e.forEach((function(e){var s=function(e){return t.filter((function(t){return n._isSelectOneElement?t.groupId===e.id:t.groupId===e.id&amp;&amp;("always"===n.config.renderSelectedChoices||!t.selected)}))}(e);if(s.length&gt;=1){var r=n._getTemplate("choiceGroup",e);i.appendChild(r),n._createChoicesFragment(s,i,!0)}})),i},e.prototype._createChoicesFragment=function(e,t,i){var s=this;void 0===t&amp;&amp;(t=document.createDocumentFragment()),void 0===i&amp;&amp;(i=!1);var r=this.config,o=r.renderSelectedChoices,a=r.searchResultLimit,c=r.renderChoiceLimit,l=this._isSearching?f.sortByScore:this.config.sorter,h=function(e){if("auto"!==o||s._isSelectOneElement||!e.selected){var i=s._getTemplate("choice",e,s.config.itemSelectText);t.appendChild(i)}},u=e;"auto"!==o||this._isSelectOneElement||(u=e.filter((function(e){return!e.selected})));var d=u.reduce((function(e,t){return t.placeholder?e.placeholderChoices.push(t):e.normalChoices.push(t),e}),{placeholderChoices:[],normalChoices:[]}),p=d.placeholderChoices,m=d.normalChoices;(this.config.shouldSort||this._isSearching)&amp;&amp;m.sort(l);var v=u.length,g=this._isSelectOneElement?n(n([],p,!0),m,!0):m;this._isSearching?v=a:c&amp;&amp;c&gt;0&amp;&amp;!i&amp;&amp;(v=c);for(var _=0;_&lt;v;_+=1)g[_]&amp;&amp;h(g[_]);return t},e.prototype._createItemsFragment=function(e,t){var i=this;void 0===t&amp;&amp;(t=document.createDocumentFragment());var n=this.config,s=n.shouldSortItems,r=n.sorter,o=n.removeItemButton;return s&amp;&amp;!this._isSelectOneElement&amp;&amp;e.sort(r),this._isTextElement?this.passedElement.value=e.map((function(e){return e.value})).join(this.config.delimiter):this.passedElement.options=e,e.forEach((function(e){var n=i._getTemplate("item",e,o);t.appendChild(n)})),t},e.prototype._triggerChange=function(e){null!=e&amp;&amp;this.passedElement.triggerEvent(d.EVENTS.change,{value:e})},e.prototype._selectPlaceholderChoice=function(e){this._addItem({value:e.value,label:e.label,choiceId:e.id,groupId:e.groupId,placeholder:e.placeholder}),this._triggerChange(e.value)},e.prototype._handleButtonAction=function(e,t){if(e&amp;&amp;t&amp;&amp;this.config.removeItems&amp;&amp;this.config.removeItemButton){var i=t.parentNode&amp;&amp;t.parentNode.dataset.id,n=i&amp;&amp;e.find((function(e){return e.id===parseInt(i,10)}));n&amp;&amp;(this._removeItem(n),this._triggerChange(n.value),this._isSelectOneElement&amp;&amp;this._store.placeholderChoice&amp;&amp;this._selectPlaceholderChoice(this._store.placeholderChoice))}},e.prototype._handleItemAction=function(e,t,i){var n=this;if(void 0===i&amp;&amp;(i=!1),e&amp;&amp;t&amp;&amp;this.config.removeItems&amp;&amp;!this._isSelectOneElement){var s=t.dataset.id;e.forEach((function(e){e.id!==parseInt("".concat(s),10)||e.highlighted?!i&amp;&amp;e.highlighted&amp;&amp;n.unhighlightItem(e):n.highlightItem(e)})),this.input.focus()}},e.prototype._handleChoiceAction=function(e,t){if(e&amp;&amp;t){var i=t.dataset.id,n=i&amp;&amp;this._store.getChoiceById(i);if(n){var s=e[0]&amp;&amp;e[0].keyCode?e[0].keyCode:void 0,r=this.dropdown.isActive;n.keyCode=s,this.passedElement.triggerEvent(d.EVENTS.choice,{choice:n}),n.selected||n.disabled||this._canAddItem(e,n.value).response&amp;&amp;(this._addItem({value:n.value,label:n.label,choiceId:n.id,groupId:n.groupId,customProperties:n.customProperties,placeholder:n.placeholder,keyCode:n.keyCode}),this._triggerChange(n.value)),this.clearInput(),r&amp;&amp;this._isSelectOneElement&amp;&amp;(this.hideDropdown(!0),this.containerOuter.focus())}}},e.prototype._handleBackspace=function(e){if(this.config.removeItems&amp;&amp;e){var t=e[e.length-1],i=e.some((function(e){return e.highlighted}));this.config.editItems&amp;&amp;!i&amp;&amp;t?(this.input.value=t.value,this.input.setWidth(),this._removeItem(t),this._triggerChange(t.value)):(i||this.highlightItem(t,!1),this.removeHighlightedItems(!0))}},e.prototype._startLoading=function(){this._store.dispatch((0,h.setIsLoading)(!0))},e.prototype._stopLoading=function(){this._store.dispatch((0,h.setIsLoading)(!1))},e.prototype._handleLoadingState=function(e){void 0===e&amp;&amp;(e=!0);var t=this.itemList.getChild(".".concat(this.config.classNames.placeholder));e?(this.disable(),this.containerOuter.addLoadingState(),this._isSelectOneElement?t?t.innerHTML=this.config.loadingText:(t=this._getTemplate("placeholder",this.config.loadingText))&amp;&amp;this.itemList.append(t):this.input.placeholder=this.config.loadingText):(this.enable(),this.containerOuter.removeLoadingState(),this._isSelectOneElement?t&amp;&amp;(t.innerHTML=this._placeholderValue||""):this.input.placeholder=this._placeholderValue||"")},e.prototype._handleSearch=function(e){if(this.input.isFocussed){var t=this._store.choices,i=this.config,n=i.searchFloor,s=i.searchChoices,r=t.some((function(e){return!e.active}));if(null!=e&amp;&amp;e.length&gt;=n){var o=s?this._searchChoices(e):0;this.passedElement.triggerEvent(d.EVENTS.search,{value:e,resultCount:o})}else r&amp;&amp;(this._isSearching=!1,this._store.dispatch((0,a.activateChoices)(!0)))}},e.prototype._canAddItem=function(e,t){var i=!0,n="function"==typeof this.config.addItemText?this.config.addItemText(t):this.config.addItemText;if(!this._isSelectOneElement){var s=(0,f.existsInArray)(e,t);this.config.maxItemCount&gt;0&amp;&amp;this.config.maxItemCount&lt;=e.length&amp;&amp;(i=!1,n="function"==typeof this.config.maxItemText?this.config.maxItemText(this.config.maxItemCount):this.config.maxItemText),!this.config.duplicateItemsAllowed&amp;&amp;s&amp;&amp;i&amp;&amp;(i=!1,n="function"==typeof this.config.uniqueItemText?this.config.uniqueItemText(t):this.config.uniqueItemText),this._isTextElement&amp;&amp;this.config.addItems&amp;&amp;i&amp;&amp;"function"==typeof this.config.addItemFilter&amp;&amp;!this.config.addItemFilter(t)&amp;&amp;(i=!1,n="function"==typeof this.config.customAddItemText?this.config.customAddItemText(t):this.config.customAddItemText)}return{response:i,notice:n}},e.prototype._searchChoices=function(e){var t="string"==typeof e?e.trim():e,i="string"==typeof this._currentValue?this._currentValue.trim():this._currentValue;if(t.length&lt;1&amp;&amp;t==="".concat(i," "))return 0;var s=this._store.searchableChoices,r=t,c=Object.assign(this.config.fuseOptions,{keys:n([],this.config.searchFields,!0),includeMatches:!0}),l=new o.default(s,c).search(r);return this._currentValue=t,this._highlightPosition=0,this._isSearching=!0,this._store.dispatch((0,a.filterChoices)(l)),l.length},e.prototype._addEventListeners=function(){var e=document.documentElement;e.addEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.addEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("click",this._onClick,{passive:!0}),e.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.dropdown.element.addEventListener("mouseover",this._onMouseOver,{passive:!0}),this._isSelectOneElement&amp;&amp;(this.containerOuter.element.addEventListener("focus",this._onFocus,{passive:!0}),this.containerOuter.element.addEventListener("blur",this._onBlur,{passive:!0})),this.input.element.addEventListener("keyup",this._onKeyUp,{passive:!0}),this.input.element.addEventListener("focus",this._onFocus,{passive:!0}),this.input.element.addEventListener("blur",this._onBlur,{passive:!0}),this.input.element.form&amp;&amp;this.input.element.form.addEventListener("reset",this._onFormReset,{passive:!0}),this.input.addEventListeners()},e.prototype._removeEventListeners=function(){var e=document.documentElement;e.removeEventListener("touchend",this._onTouchEnd,!0),this.containerOuter.element.removeEventListener("keydown",this._onKeyDown,!0),this.containerOuter.element.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("click",this._onClick),e.removeEventListener("touchmove",this._onTouchMove),this.dropdown.element.removeEventListener("mouseover",this._onMouseOver),this._isSelectOneElement&amp;&amp;(this.containerOuter.element.removeEventListener("focus",this._onFocus),this.containerOuter.element.removeEventListener("blur",this._onBlur)),this.input.element.removeEventListener("keyup",this._onKeyUp),this.input.element.removeEventListener("focus",this._onFocus),this.input.element.removeEventListener("blur",this._onBlur),this.input.element.form&amp;&amp;this.input.element.form.removeEventListener("reset",this._onFormReset),this.input.removeEventListeners()},e.prototype._onKeyDown=function(e){var t=e.keyCode,i=this._store.activeItems,n=this.input.isFocussed,s=this.dropdown.isActive,r=this.itemList.hasChildren(),o=String.fromCharCode(t),a=/[a-zA-Z0-9-_ ]/.test(o),c=d.KEY_CODES.BACK_KEY,l=d.KEY_CODES.DELETE_KEY,h=d.KEY_CODES.ENTER_KEY,u=d.KEY_CODES.A_KEY,p=d.KEY_CODES.ESC_KEY,f=d.KEY_CODES.UP_KEY,m=d.KEY_CODES.DOWN_KEY,v=d.KEY_CODES.PAGE_UP_KEY,g=d.KEY_CODES.PAGE_DOWN_KEY;switch(this._isTextElement||s||!a||(this.showDropdown(),this.input.isFocussed||(this.input.value+=o.toLowerCase())),t){case u:return this._onSelectKey(e,r);case h:return this._onEnterKey(e,i,s);case p:return this._onEscapeKey(s);case f:case v:case m:case g:return this._onDirectionKey(e,s);case l:case c:return this._onDeleteKey(e,i,n)}},e.prototype._onKeyUp=function(e){var t=e.target,i=e.keyCode,n=this.input.value,s=this._store.activeItems,r=this._canAddItem(s,n),o=d.KEY_CODES.BACK_KEY,c=d.KEY_CODES.DELETE_KEY;if(this._isTextElement)if(r.notice&amp;&amp;n){var l=this._getTemplate("notice",r.notice);this.dropdown.element.innerHTML=l.outerHTML,this.showDropdown(!0)}else this.hideDropdown(!0);else{var h=(i===o||i===c)&amp;&amp;t&amp;&amp;!t.value,u=!this._isTextElement&amp;&amp;this._isSearching,p=this._canSearch&amp;&amp;r.response;h&amp;&amp;u?(this._isSearching=!1,this._store.dispatch((0,a.activateChoices)(!0))):p&amp;&amp;this._handleSearch(this.input.rawValue)}this._canSearch=this.config.searchEnabled},e.prototype._onSelectKey=function(e,t){var i=e.ctrlKey,n=e.metaKey;(i||n)&amp;&amp;t&amp;&amp;(this._canSearch=!1,this.config.removeItems&amp;&amp;!this.input.value&amp;&amp;this.input.element===document.activeElement&amp;&amp;this.highlightAll())},e.prototype._onEnterKey=function(e,t,i){var n=e.target,s=d.KEY_CODES.ENTER_KEY,r=n&amp;&amp;n.hasAttribute("data-button");if(this._isTextElement&amp;&amp;n&amp;&amp;n.value){var o=this.input.value;this._canAddItem(t,o).response&amp;&amp;(this.hideDropdown(!0),this._addItem({value:o}),this._triggerChange(o),this.clearInput())}if(r&amp;&amp;(this._handleButtonAction(t,n),e.preventDefault()),i){var a=this.dropdown.getChild(".".concat(this.config.classNames.highlightedState));a&amp;&amp;(t[0]&amp;&amp;(t[0].keyCode=s),this._handleChoiceAction(t,a)),e.preventDefault()}else this._isSelectOneElement&amp;&amp;(this.showDropdown(),e.preventDefault())},e.prototype._onEscapeKey=function(e){e&amp;&amp;(this.hideDropdown(!0),this.containerOuter.focus())},e.prototype._onDirectionKey=function(e,t){var i=e.keyCode,n=e.metaKey,s=d.KEY_CODES.DOWN_KEY,r=d.KEY_CODES.PAGE_UP_KEY,o=d.KEY_CODES.PAGE_DOWN_KEY;if(t||this._isSelectOneElement){this.showDropdown(),this._canSearch=!1;var a=i===s||i===o?1:-1,c="[data-choice-selectable]",l=void 0;if(n||i===o||i===r)l=a&gt;0?this.dropdown.element.querySelector("".concat(c,":last-of-type")):this.dropdown.element.querySelector(c);else{var h=this.dropdown.element.querySelector(".".concat(this.config.classNames.highlightedState));l=h?(0,f.getAdjacentEl)(h,c,a):this.dropdown.element.querySelector(c)}l&amp;&amp;((0,f.isScrolledIntoView)(l,this.choiceList.element,a)||this.choiceList.scrollToChildElement(l,a),this._highlightChoice(l)),e.preventDefault()}},e.prototype._onDeleteKey=function(e,t,i){var n=e.target;this._isSelectOneElement||n.value||!i||(this._handleBackspace(t),e.preventDefault())},e.prototype._onTouchMove=function(){this._wasTap&amp;&amp;(this._wasTap=!1)},e.prototype._onTouchEnd=function(e){var t=(e||e.touches[0]).target;this._wasTap&amp;&amp;this.containerOuter.element.contains(t)&amp;&amp;((t===this.containerOuter.element||t===this.containerInner.element)&amp;&amp;(this._isTextElement?this.input.focus():this._isSelectMultipleElement&amp;&amp;this.showDropdown()),e.stopPropagation()),this._wasTap=!0},e.prototype._onMouseDown=function(e){var t=e.target;if(t instanceof HTMLElement){if(_&amp;&amp;this.choiceList.element.contains(t)){var i=this.choiceList.element.firstElementChild,n="ltr"===this._direction?e.offsetX&gt;=i.offsetWidth:e.offsetX&lt;i.offsetLeft;this._isScrollingOnIe=n}if(t!==this.input.element){var s=t.closest("[data-button],[data-item],[data-choice]");if(s instanceof HTMLElement){var r=e.shiftKey,o=this._store.activeItems,a=s.dataset;"button"in a?this._handleButtonAction(o,s):"item"in a?this._handleItemAction(o,s,r):"choice"in a&amp;&amp;this._handleChoiceAction(o,s)}e.preventDefault()}}},e.prototype._onMouseOver=function(e){var t=e.target;t instanceof HTMLElement&amp;&amp;"choice"in t.dataset&amp;&amp;this._highlightChoice(t)},e.prototype._onClick=function(e){var t=e.target;this.containerOuter.element.contains(t)?this.dropdown.isActive||this.containerOuter.isDisabled?this._isSelectOneElement&amp;&amp;t!==this.input.element&amp;&amp;!this.dropdown.element.contains(t)&amp;&amp;this.hideDropdown():this._isTextElement?document.activeElement!==this.input.element&amp;&amp;this.input.focus():(this.showDropdown(),this.containerOuter.focus()):(this._store.highlightedActiveItems.length&gt;0&amp;&amp;this.unhighlightAll(),this.containerOuter.removeFocusState(),this.hideDropdown(!0))},e.prototype._onFocus=function(e){var t,i=this,n=e.target;n&amp;&amp;this.containerOuter.element.contains(n)&amp;&amp;((t={})[d.TEXT_TYPE]=function(){n===i.input.element&amp;&amp;i.containerOuter.addFocusState()},t[d.SELECT_ONE_TYPE]=function(){i.containerOuter.addFocusState(),n===i.input.element&amp;&amp;i.showDropdown(!0)},t[d.SELECT_MULTIPLE_TYPE]=function(){n===i.input.element&amp;&amp;(i.showDropdown(!0),i.containerOuter.addFocusState())},t)[this.passedElement.element.type]()},e.prototype._onBlur=function(e){var t,i=this,n=e.target;if(n&amp;&amp;this.containerOuter.element.contains(n)&amp;&amp;!this._isScrollingOnIe){var s=this._store.activeItems.some((function(e){return e.highlighted}));((t={})[d.TEXT_TYPE]=function(){n===i.input.element&amp;&amp;(i.containerOuter.removeFocusState(),s&amp;&amp;i.unhighlightAll(),i.hideDropdown(!0))},t[d.SELECT_ONE_TYPE]=function(){i.containerOuter.removeFocusState(),(n===i.input.element||n===i.containerOuter.element&amp;&amp;!i._canSearch)&amp;&amp;i.hideDropdown(!0)},t[d.SELECT_MULTIPLE_TYPE]=function(){n===i.input.element&amp;&amp;(i.containerOuter.removeFocusState(),i.hideDropdown(!0),s&amp;&amp;i.unhighlightAll())},t)[this.passedElement.element.type]()}else this._isScrollingOnIe=!1,this.input.element.focus()},e.prototype._onFormReset=function(){this._store.dispatch((0,h.resetTo)(this._initialState))},e.prototype._highlightChoice=function(e){var t=this;void 0===e&amp;&amp;(e=null);var i=Array.from(this.dropdown.element.querySelectorAll("[data-choice-selectable]"));if(i.length){var n=e;Array.from(this.dropdown.element.querySelectorAll(".".concat(this.config.classNames.highlightedState))).forEach((function(e){e.classList.remove(t.config.classNames.highlightedState),e.setAttribute("aria-selected","false")})),n?this._highlightPosition=i.indexOf(n):(n=i.length&gt;this._highlightPosition?i[this._highlightPosition]:i[i.length-1])||(n=i[0]),n.classList.add(this.config.classNames.highlightedState),n.setAttribute("aria-selected","true"),this.passedElement.triggerEvent(d.EVENTS.highlightChoice,{el:n}),this.dropdown.isActive&amp;&amp;(this.input.setActiveDescendant(n.id),this.containerOuter.setActiveDescendant(n.id))}},e.prototype._addItem=function(e){var t=e.value,i=e.label,n=void 0===i?null:i,s=e.choiceId,r=void 0===s?-1:s,o=e.groupId,a=void 0===o?-1:o,c=e.customProperties,h=void 0===c?{}:c,u=e.placeholder,p=void 0!==u&amp;&amp;u,f=e.keyCode,m=void 0===f?-1:f,v="string"==typeof t?t.trim():t,g=this._store.items,_=n||v,y=r||-1,E=a&gt;=0?this._store.getGroupById(a):null,b=g?g.length+1:1;this.config.prependValue&amp;&amp;(v=this.config.prependValue+v.toString()),this.config.appendValue&amp;&amp;(v+=this.config.appendValue.toString()),this._store.dispatch((0,l.addItem)({value:v,label:_,id:b,choiceId:y,groupId:a,customProperties:h,placeholder:p,keyCode:m})),this._isSelectOneElement&amp;&amp;this.removeActiveItems(b),this.passedElement.triggerEvent(d.EVENTS.addItem,{id:b,value:v,label:_,customProperties:h,groupValue:E&amp;&amp;E.value?E.value:null,keyCode:m})},e.prototype._removeItem=function(e){var t=e.id,i=e.value,n=e.label,s=e.customProperties,r=e.choiceId,o=e.groupId,a=o&amp;&amp;o&gt;=0?this._store.getGroupById(o):null;t&amp;&amp;r&amp;&amp;(this._store.dispatch((0,l.removeItem)(t,r)),this.passedElement.triggerEvent(d.EVENTS.removeItem,{id:t,value:i,label:n,customProperties:s,groupValue:a&amp;&amp;a.value?a.value:null}))},e.prototype._addChoice=function(e){var t=e.value,i=e.label,n=void 0===i?null:i,s=e.isSelected,r=void 0!==s&amp;&amp;s,o=e.isDisabled,c=void 0!==o&amp;&amp;o,l=e.groupId,h=void 0===l?-1:l,u=e.customProperties,d=void 0===u?{}:u,p=e.placeholder,f=void 0!==p&amp;&amp;p,m=e.keyCode,v=void 0===m?-1:m;if(null!=t){var g=this._store.choices,_=n||t,y=g?g.length+1:1,E="".concat(this._baseId,"-").concat(this._idNames.itemChoice,"-").concat(y);this._store.dispatch((0,a.addChoice)({id:y,groupId:h,elementId:E,value:t,label:_,disabled:c,customProperties:d,placeholder:f,keyCode:v})),r&amp;&amp;this._addItem({value:t,label:_,choiceId:y,customProperties:d,placeholder:f,keyCode:v})}},e.prototype._addGroup=function(e){var t=this,i=e.group,n=e.id,s=e.valueKey,r=void 0===s?"value":s,o=e.labelKey,a=void 0===o?"label":o,l=(0,f.isType)("Object",i)?i.choices:Array.from(i.getElementsByTagName("OPTION")),h=n||Math.floor((new Date).valueOf()*Math.random()),u=!!i.disabled&amp;&amp;i.disabled;l?(this._store.dispatch((0,c.addGroup)({value:i.label,id:h,active:!0,disabled:u})),l.forEach((function(e){var i=e.disabled||e.parentNode&amp;&amp;e.parentNode.disabled;t._addChoice({value:e[r],label:(0,f.isType)("Object",e)?e[a]:e.innerHTML,isSelected:e.selected,isDisabled:i,groupId:h,customProperties:e.customProperties,placeholder:e.placeholder})}))):this._store.dispatch((0,c.addGroup)({value:i.label,id:i.id,active:!1,disabled:i.disabled}))},e.prototype._getTemplate=function(e){for(var t,i=[],s=1;s&lt;arguments.length;s++)i[s-1]=arguments[s];return(t=this._templates[e]).call.apply(t,n([this,this.config],i,!1))},e.prototype._createTemplates=function(){var e=this.config.callbackOnCreateTemplates,t={};e&amp;&amp;"function"==typeof e&amp;&amp;(t=e.call(this,f.strToEl)),this._templates=(0,r.default)(g.default,t)},e.prototype._createElements=function(){this.containerOuter=new u.Container({element:this._getTemplate("containerOuter",this._direction,this._isSelectElement,this._isSelectOneElement,this.config.searchEnabled,this.passedElement.element.type,this.config.labelId),classNames:this.config.classNames,type:this.passedElement.element.type,position:this.config.position}),this.containerInner=new u.Container({element:this._getTemplate("containerInner"),classNames:this.config.classNames,type:this.passedElement.element.type,position:this.config.position}),this.input=new u.Input({element:this._getTemplate("input",this._placeholderValue),classNames:this.config.classNames,type:this.passedElement.element.type,preventPaste:!this.config.paste}),this.choiceList=new u.List({element:this._getTemplate("choiceList",this._isSelectOneElement)}),this.itemList=new u.List({element:this._getTemplate("itemList",this._isSelectOneElement)}),this.dropdown=new u.Dropdown({element:this._getTemplate("dropdown"),classNames:this.config.classNames,type:this.passedElement.element.type})},e.prototype._createStructure=function(){this.passedElement.conceal(),this.containerInner.wrap(this.passedElement.element),this.containerOuter.wrap(this.containerInner.element),this._isSelectOneElement?this.input.placeholder=this.config.searchPlaceholderValue||"":this._placeholderValue&amp;&amp;(this.input.placeholder=this._placeholderValue,this.input.setWidth()),this.containerOuter.element.appendChild(this.containerInner.element),this.containerOuter.element.appendChild(this.dropdown.element),this.containerInner.element.appendChild(this.itemList.element),this._isTextElement||this.dropdown.element.appendChild(this.choiceList.element),this._isSelectOneElement?this.config.searchEnabled&amp;&amp;this.dropdown.element.insertBefore(this.input.element,this.dropdown.element.firstChild):this.containerInner.element.appendChild(this.input.element),this._isSelectElement&amp;&amp;(this._highlightPosition=0,this._isSearching=!1,this._startLoading(),this._presetGroups.length?this._addPredefinedGroups(this._presetGroups):this._addPredefinedChoices(this._presetChoices),this._stopLoading()),this._isTextElement&amp;&amp;this._addPredefinedItems(this._presetItems)},e.prototype._addPredefinedGroups=function(e){var t=this,i=this.passedElement.placeholderOption;i&amp;&amp;i.parentNode&amp;&amp;"SELECT"===i.parentNode.tagName&amp;&amp;this._addChoice({value:i.value,label:i.innerHTML,isSelected:i.selected,isDisabled:i.disabled,placeholder:!0}),e.forEach((function(e){return t._addGroup({group:e,id:e.id||null})}))},e.prototype._addPredefinedChoices=function(e){var t=this;this.config.shouldSort&amp;&amp;e.sort(this.config.sorter);var i=e.some((function(e){return e.selected})),n=e.findIndex((function(e){return void 0===e.disabled||!e.disabled}));e.forEach((function(e,s){var r=e.value,o=void 0===r?"":r,a=e.label,c=e.customProperties,l=e.placeholder;if(t._isSelectElement)if(e.choices)t._addGroup({group:e,id:e.id||null});else{var h=!(!t._isSelectOneElement||i||s!==n)||e.selected,u=e.disabled;t._addChoice({value:o,label:a,isSelected:!!h,isDisabled:!!u,placeholder:!!l,customProperties:c})}else t._addChoice({value:o,label:a,isSelected:!!e.selected,isDisabled:!!e.disabled,placeholder:!!e.placeholder,customProperties:c})}))},e.prototype._addPredefinedItems=function(e){var t=this;e.forEach((function(e){"object"==typeof e&amp;&amp;e.value&amp;&amp;t._addItem({value:e.value,label:e.label,choiceId:e.id,customProperties:e.customProperties,placeholder:e.placeholder}),"string"==typeof e&amp;&amp;t._addItem({value:e})}))},e.prototype._setChoiceOrItem=function(e){var t=this;({object:function(){e.value&amp;&amp;(t._isTextElement?t._addItem({value:e.value,label:e.label,choiceId:e.id,customProperties:e.customProperties,placeholder:e.placeholder}):t._addChoice({value:e.value,label:e.label,isSelected:!0,isDisabled:!1,customProperties:e.customProperties,placeholder:e.placeholder}))},string:function(){t._isTextElement?t._addItem({value:e}):t._addChoice({value:e,label:e,isSelected:!0,isDisabled:!1})}})[(0,f.getType)(e).toLowerCase()]()},e.prototype._findAndSelectChoiceByValue=function(e){var t=this,i=this._store.choices.find((function(i){return t.config.valueComparer(i.value,e)}));i&amp;&amp;!i.selected&amp;&amp;this._addItem({value:i.value,label:i.label,choiceId:i.id,groupId:i.groupId,customProperties:i.customProperties,placeholder:i.placeholder,keyCode:i.keyCode})},e.prototype._generatePlaceholderValue=function(){if(this._isSelectElement&amp;&amp;this.passedElement.placeholderOption){var e=this.passedElement.placeholderOption;return e?e.text:null}var t=this.config,i=t.placeholder,n=t.placeholderValue,s=this.passedElement.element.dataset;if(i){if(n)return n;if(s.placeholder)return s.placeholder}return null},e}();t.default=E},613:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(799),s=i(883),r=function(){function e(e){var t=e.element,i=e.type,n=e.classNames,s=e.position;this.element=t,this.classNames=n,this.type=i,this.position=s,this.isOpen=!1,this.isFlipped=!1,this.isFocussed=!1,this.isDisabled=!1,this.isLoading=!1,this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this)}return e.prototype.addEventListeners=function(){this.element.addEventListener("focus",this._onFocus),this.element.addEventListener("blur",this._onBlur)},e.prototype.removeEventListeners=function(){this.element.removeEventListener("focus",this._onFocus),this.element.removeEventListener("blur",this._onBlur)},e.prototype.shouldFlip=function(e){if("number"!=typeof e)return!1;var t=!1;return"auto"===this.position?t=!window.matchMedia("(min-height: ".concat(e+1,"px)")).matches:"top"===this.position&amp;&amp;(t=!0),t},e.prototype.setActiveDescendant=function(e){this.element.setAttribute("aria-activedescendant",e)},e.prototype.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant")},e.prototype.open=function(e){this.element.classList.add(this.classNames.openState),this.element.setAttribute("aria-expanded","true"),this.isOpen=!0,this.shouldFlip(e)&amp;&amp;(this.element.classList.add(this.classNames.flippedState),this.isFlipped=!0)},e.prototype.close=function(){this.element.classList.remove(this.classNames.openState),this.element.setAttribute("aria-expanded","false"),this.removeActiveDescendant(),this.isOpen=!1,this.isFlipped&amp;&amp;(this.element.classList.remove(this.classNames.flippedState),this.isFlipped=!1)},e.prototype.focus=function(){this.isFocussed||this.element.focus()},e.prototype.addFocusState=function(){this.element.classList.add(this.classNames.focusState)},e.prototype.removeFocusState=function(){this.element.classList.remove(this.classNames.focusState)},e.prototype.enable=function(){this.element.classList.remove(this.classNames.disabledState),this.element.removeAttribute("aria-disabled"),this.type===s.SELECT_ONE_TYPE&amp;&amp;this.element.setAttribute("tabindex","0"),this.isDisabled=!1},e.prototype.disable=function(){this.element.classList.add(this.classNames.disabledState),this.element.setAttribute("aria-disabled","true"),this.type===s.SELECT_ONE_TYPE&amp;&amp;this.element.setAttribute("tabindex","-1"),this.isDisabled=!0},e.prototype.wrap=function(e){(0,n.wrap)(e,this.element)},e.prototype.unwrap=function(e){this.element.parentNode&amp;&amp;(this.element.parentNode.insertBefore(e,this.element),this.element.parentNode.removeChild(this.element))},e.prototype.addLoadingState=function(){this.element.classList.add(this.classNames.loadingState),this.element.setAttribute("aria-busy","true"),this.isLoading=!0},e.prototype.removeLoadingState=function(){this.element.classList.remove(this.classNames.loadingState),this.element.removeAttribute("aria-busy"),this.isLoading=!1},e.prototype._onFocus=function(){this.isFocussed=!0},e.prototype._onBlur=function(){this.isFocussed=!1},e}();t.default=r},217:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){var t=e.element,i=e.type,n=e.classNames;this.element=t,this.classNames=n,this.type=i,this.isActive=!1}return Object.defineProperty(e.prototype,"distanceFromTopWindow",{get:function(){return this.element.getBoundingClientRect().bottom},enumerable:!1,configurable:!0}),e.prototype.getChild=function(e){return this.element.querySelector(e)},e.prototype.show=function(){return this.element.classList.add(this.classNames.activeState),this.element.setAttribute("aria-expanded","true"),this.isActive=!0,this},e.prototype.hide=function(){return this.element.classList.remove(this.classNames.activeState),this.element.setAttribute("aria-expanded","false"),this.isActive=!1,this},e}();t.default=i},520:function(e,t,i){var n=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WrappedSelect=t.WrappedInput=t.List=t.Input=t.Container=t.Dropdown=void 0;var s=n(i(217));t.Dropdown=s.default;var r=n(i(613));t.Container=r.default;var o=n(i(11));t.Input=o.default;var a=n(i(624));t.List=a.default;var c=n(i(541));t.WrappedInput=c.default;var l=n(i(982));t.WrappedSelect=l.default},11:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(799),s=i(883),r=function(){function e(e){var t=e.element,i=e.type,n=e.classNames,s=e.preventPaste;this.element=t,this.type=i,this.classNames=n,this.preventPaste=s,this.isFocussed=this.element.isEqualNode(document.activeElement),this.isDisabled=t.disabled,this._onPaste=this._onPaste.bind(this),this._onInput=this._onInput.bind(this),this._onFocus=this._onFocus.bind(this),this._onBlur=this._onBlur.bind(this)}return Object.defineProperty(e.prototype,"placeholder",{set:function(e){this.element.placeholder=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return(0,n.sanitise)(this.element.value)},set:function(e){this.element.value=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawValue",{get:function(){return this.element.value},enumerable:!1,configurable:!0}),e.prototype.addEventListeners=function(){this.element.addEventListener("paste",this._onPaste),this.element.addEventListener("input",this._onInput,{passive:!0}),this.element.addEventListener("focus",this._onFocus,{passive:!0}),this.element.addEventListener("blur",this._onBlur,{passive:!0})},e.prototype.removeEventListeners=function(){this.element.removeEventListener("input",this._onInput),this.element.removeEventListener("paste",this._onPaste),this.element.removeEventListener("focus",this._onFocus),this.element.removeEventListener("blur",this._onBlur)},e.prototype.enable=function(){this.element.removeAttribute("disabled"),this.isDisabled=!1},e.prototype.disable=function(){this.element.setAttribute("disabled",""),this.isDisabled=!0},e.prototype.focus=function(){this.isFocussed||this.element.focus()},e.prototype.blur=function(){this.isFocussed&amp;&amp;this.element.blur()},e.prototype.clear=function(e){return void 0===e&amp;&amp;(e=!0),this.element.value&amp;&amp;(this.element.value=""),e&amp;&amp;this.setWidth(),this},e.prototype.setWidth=function(){var e=this.element,t=e.style,i=e.value,n=e.placeholder;t.minWidth="".concat(n.length+1,"ch"),t.width="".concat(i.length+1,"ch")},e.prototype.setActiveDescendant=function(e){this.element.setAttribute("aria-activedescendant",e)},e.prototype.removeActiveDescendant=function(){this.element.removeAttribute("aria-activedescendant")},e.prototype._onInput=function(){this.type!==s.SELECT_ONE_TYPE&amp;&amp;this.setWidth()},e.prototype._onPaste=function(e){this.preventPaste&amp;&amp;e.preventDefault()},e.prototype._onFocus=function(){this.isFocussed=!0},e.prototype._onBlur=function(){this.isFocussed=!1},e}();t.default=r},624:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(883),s=function(){function e(e){var t=e.element;this.element=t,this.scrollPos=this.element.scrollTop,this.height=this.element.offsetHeight}return e.prototype.clear=function(){this.element.innerHTML=""},e.prototype.append=function(e){this.element.appendChild(e)},e.prototype.getChild=function(e){return this.element.querySelector(e)},e.prototype.hasChildren=function(){return this.element.hasChildNodes()},e.prototype.scrollToTop=function(){this.element.scrollTop=0},e.prototype.scrollToChildElement=function(e,t){var i=this;if(e){var n=this.element.offsetHeight,s=this.element.scrollTop+n,r=e.offsetHeight,o=e.offsetTop+r,a=t&gt;0?this.element.scrollTop+o-s:e.offsetTop;requestAnimationFrame((function(){i._animateScroll(a,t)}))}},e.prototype._scrollDown=function(e,t,i){var n=(i-e)/t,s=n&gt;1?n:1;this.element.scrollTop=e+s},e.prototype._scrollUp=function(e,t,i){var n=(e-i)/t,s=n&gt;1?n:1;this.element.scrollTop=e-s},e.prototype._animateScroll=function(e,t){var i=this,s=n.SCROLLING_SPEED,r=this.element.scrollTop,o=!1;t&gt;0?(this._scrollDown(r,s,e),r&lt;e&amp;&amp;(o=!0)):(this._scrollUp(r,s,e),r&gt;e&amp;&amp;(o=!0)),o&amp;&amp;requestAnimationFrame((function(){i._animateScroll(e,t)}))},e}();t.default=s},730:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var n=i(799),s=function(){function e(e){var t=e.element,i=e.classNames;if(this.element=t,this.classNames=i,!(t instanceof HTMLInputElement||t instanceof HTMLSelectElement))throw new TypeError("Invalid element passed");this.isDisabled=!1}return Object.defineProperty(e.prototype,"isActive",{get:function(){return"active"===this.element.dataset.choice},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this.element.dir},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.element.value},set:function(e){this.element.value=e},enumerable:!1,configurable:!0}),e.prototype.conceal=function(){this.element.classList.add(this.classNames.input),this.element.hidden=!0,this.element.tabIndex=-1;var e=this.element.getAttribute("style");e&amp;&amp;this.element.setAttribute("data-choice-orig-style",e),this.element.setAttribute("data-choice","active")},e.prototype.reveal=function(){this.element.classList.remove(this.classNames.input),this.element.hidden=!1,this.element.removeAttribute("tabindex");var e=this.element.getAttribute("data-choice-orig-style");e?(this.element.removeAttribute("data-choice-orig-style"),this.element.setAttribute("style",e)):this.element.removeAttribute("style"),this.element.removeAttribute("data-choice"),this.element.value=this.element.value},e.prototype.enable=function(){this.element.removeAttribute("disabled"),this.element.disabled=!1,this.isDisabled=!1},e.prototype.disable=function(){this.element.setAttribute("disabled",""),this.element.disabled=!0,this.isDisabled=!0},e.prototype.triggerEvent=function(e,t){(0,n.dispatchEvent)(this.element,e,t)},e}();t.default=s},541:function(e,t,i){var n,s=this&amp;&amp;this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&amp;&amp;null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),r=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var i=t.element,n=t.classNames,s=t.delimiter,r=e.call(this,{element:i,classNames:n})||this;return r.delimiter=s,r}return s(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.element.value},set:function(e){this.element.setAttribute("value",e),this.element.value=e},enumerable:!1,configurable:!0}),t}(r(i(730)).default);t.default=o},982:function(e,t,i){var n,s=this&amp;&amp;this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&amp;&amp;(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&amp;&amp;null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),r=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var i=t.element,n=t.classNames,s=t.template,r=e.call(this,{element:i,classNames:n})||this;return r.template=s,r}return s(t,e),Object.defineProperty(t.prototype,"placeholderOption",{get:function(){return this.element.querySelector('option[value=""]')||this.element.querySelector("option[placeholder]")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"optionGroups",{get:function(){return Array.from(this.element.getElementsByTagName("OPTGROUP"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return Array.from(this.element.options)},set:function(e){var t=this,i=document.createDocumentFragment();e.forEach((function(e){return n=e,s=t.template(n),void i.appendChild(s);var n,s})),this.appendDocFragment(i)},enumerable:!1,configurable:!0}),t.prototype.appendDocFragment=function(e){this.element.innerHTML="",this.element.appendChild(e)},t}(r(i(730)).default);t.default=o},883:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SCROLLING_SPEED=t.SELECT_MULTIPLE_TYPE=t.SELECT_ONE_TYPE=t.TEXT_TYPE=t.KEY_CODES=t.ACTION_TYPES=t.EVENTS=void 0,t.EVENTS={showDropdown:"showDropdown",hideDropdown:"hideDropdown",change:"change",choice:"choice",search:"search",addItem:"addItem",removeItem:"removeItem",highlightItem:"highlightItem",highlightChoice:"highlightChoice",unhighlightItem:"unhighlightItem"},t.ACTION_TYPES={ADD_CHOICE:"ADD_CHOICE",FILTER_CHOICES:"FILTER_CHOICES",ACTIVATE_CHOICES:"ACTIVATE_CHOICES",CLEAR_CHOICES:"CLEAR_CHOICES",ADD_GROUP:"ADD_GROUP",ADD_ITEM:"ADD_ITEM",REMOVE_ITEM:"REMOVE_ITEM",HIGHLIGHT_ITEM:"HIGHLIGHT_ITEM",CLEAR_ALL:"CLEAR_ALL",RESET_TO:"RESET_TO",SET_IS_LOADING:"SET_IS_LOADING"},t.KEY_CODES={BACK_KEY:46,DELETE_KEY:8,ENTER_KEY:13,A_KEY:65,ESC_KEY:27,UP_KEY:38,DOWN_KEY:40,PAGE_UP_KEY:33,PAGE_DOWN_KEY:34},t.TEXT_TYPE="text",t.SELECT_ONE_TYPE="select-one",t.SELECT_MULTIPLE_TYPE="select-multiple",t.SCROLLING_SPEED=4},789:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CONFIG=t.DEFAULT_CLASSNAMES=void 0;var n=i(799);t.DEFAULT_CLASSNAMES={containerOuter:"choices",containerInner:"choices__inner",input:"choices__input",inputCloned:"choices__input--cloned",list:"choices__list",listItems:"choices__list--multiple",listSingle:"choices__list--single",listDropdown:"choices__list--dropdown",item:"choices__item",itemSelectable:"choices__item--selectable",itemDisabled:"choices__item--disabled",itemChoice:"choices__item--choice",placeholder:"choices__placeholder",group:"choices__group",groupHeading:"choices__heading",button:"choices__button",activeState:"is-active",focusState:"is-focused",openState:"is-open",disabledState:"is-disabled",highlightedState:"is-highlighted",selectedState:"is-selected",flippedState:"is-flipped",loadingState:"is-loading",noResults:"has-no-results",noChoices:"has-no-choices"},t.DEFAULT_CONFIG={items:[],choices:[],silent:!1,renderChoiceLimit:-1,maxItemCount:-1,addItems:!0,addItemFilter:null,removeItems:!0,removeItemButton:!1,editItems:!1,allowHTML:!0,duplicateItemsAllowed:!0,delimiter:",",paste:!0,searchEnabled:!0,searchChoices:!0,searchFloor:1,searchResultLimit:4,searchFields:["label","value"],position:"auto",resetScrollPosition:!0,shouldSort:!0,shouldSortItems:!1,sorter:n.sortByAlpha,placeholder:!0,placeholderValue:null,searchPlaceholderValue:null,prependValue:null,appendValue:null,renderSelectedChoices:"auto",loadingText:"Loading...",noResultsText:"No results found",noChoicesText:"No choices to choose from",itemSelectText:"Press to select",uniqueItemText:"Only unique values can be added",customAddItemText:"Only values matching specific conditions can be added",addItemText:function(e){return'Press Enter to add &lt;b&gt;"'.concat((0,n.sanitise)(e),'"&lt;/b&gt;')},maxItemText:function(e){return"Only ".concat(e," values can be added")},valueComparer:function(e,t){return e===t},fuseOptions:{includeScore:!0},labelId:"",callbackOnInit:null,callbackOnCreateTemplates:null,classNames:t.DEFAULT_CLASSNAMES}},18:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},978:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},948:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},359:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},285:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},533:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},187:function(e,t,i){var n=this&amp;&amp;this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&amp;&amp;(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&amp;&amp;(n=i),e[n]=t[i]}),s=this&amp;&amp;this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),s(i(18),t),s(i(978),t),s(i(948),t),s(i(359),t),s(i(285),t),s(i(533),t),s(i(287),t),s(i(132),t),s(i(837),t),s(i(598),t),s(i(369),t),s(i(37),t),s(i(47),t),s(i(923),t),s(i(876),t)},287:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},132:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},837:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},598:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},37:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},369:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},47:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},923:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},876:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},799:function(e,t){var i;Object.defineProperty(t,"__esModule",{value:!0}),t.diff=t.cloneObject=t.existsInArray=t.dispatchEvent=t.sortByScore=t.sortByAlpha=t.strToEl=t.sanitise=t.isScrolledIntoView=t.getAdjacentEl=t.wrap=t.isType=t.getType=t.generateId=t.generateChars=t.getRandomNumber=void 0,t.getRandomNumber=function(e,t){return Math.floor(Math.random()*(t-e)+e)},t.generateChars=function(e){return Array.from({length:e},(function(){return(0,t.getRandomNumber)(0,36).toString(36)})).join("")},t.generateId=function(e,i){var n=e.id||e.name&amp;&amp;"".concat(e.name,"-").concat((0,t.generateChars)(2))||(0,t.generateChars)(4);return n=n.replace(/(:|\.|\[|\]|,)/g,""),"".concat(i,"-").concat(n)},t.getType=function(e){return Object.prototype.toString.call(e).slice(8,-1)},t.isType=function(e,i){return null!=i&amp;&amp;(0,t.getType)(i)===e},t.wrap=function(e,t){return void 0===t&amp;&amp;(t=document.createElement("div")),e.parentNode&amp;&amp;(e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t)),t.appendChild(e)},t.getAdjacentEl=function(e,t,i){void 0===i&amp;&amp;(i=1);for(var n="".concat(i&gt;0?"next":"previous","ElementSibling"),s=e[n];s;){if(s.matches(t))return s;s=s[n]}return s},t.isScrolledIntoView=function(e,t,i){return void 0===i&amp;&amp;(i=1),!!e&amp;&amp;(i&gt;0?t.scrollTop+t.offsetHeight&gt;=e.offsetTop+e.offsetHeight:e.offsetTop&gt;=t.scrollTop)},t.sanitise=function(e){return"string"!=typeof e?e:e.replace(/&amp;/g,"&amp;amp;").replace(/&gt;/g,"&amp;gt;").replace(/&lt;/g,"&amp;lt;").replace(/"/g,"&amp;quot;")},t.strToEl=(i=document.createElement("div"),function(e){var t=e.trim();i.innerHTML=t;for(var n=i.children[0];i.firstChild;)i.removeChild(i.firstChild);return n}),t.sortByAlpha=function(e,t){var i=e.value,n=e.label,s=void 0===n?i:n,r=t.value,o=t.label,a=void 0===o?r:o;return s.localeCompare(a,[],{sensitivity:"base",ignorePunctuation:!0,numeric:!0})},t.sortByScore=function(e,t){var i=e.score,n=void 0===i?0:i,s=t.score;return n-(void 0===s?0:s)},t.dispatchEvent=function(e,t,i){void 0===i&amp;&amp;(i=null);var n=new CustomEvent(t,{detail:i,bubbles:!0,cancelable:!0});return e.dispatchEvent(n)},t.existsInArray=function(e,t,i){return void 0===i&amp;&amp;(i="value"),e.some((function(e){return"string"==typeof t?e[i]===t.trim():e[i]===t}))},t.cloneObject=function(e){return JSON.parse(JSON.stringify(e))},t.diff=function(e,t){var i=Object.keys(e).sort(),n=Object.keys(t).sort();return i.filter((function(e){return n.indexOf(e)&lt;0}))}},273:function(e,t){var i=this&amp;&amp;this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,s=0,r=t.length;s&lt;r;s++)!n&amp;&amp;s in t||(n||(n=Array.prototype.slice.call(t,0,s)),n[s]=t[s]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=void 0,t.defaultState=[],t.default=function(e,n){switch(void 0===e&amp;&amp;(e=t.defaultState),void 0===n&amp;&amp;(n={}),n.type){case"ADD_CHOICE":var s=n,r={id:s.id,elementId:s.elementId,groupId:s.groupId,value:s.value,label:s.label||s.value,disabled:s.disabled||!1,selected:!1,active:!0,score:9999,customProperties:s.customProperties,placeholder:s.placeholder||!1};return i(i([],e,!0),[r],!1);case"ADD_ITEM":var o=n;return o.choiceId&gt;-1?e.map((function(e){var t=e;return t.id===parseInt("".concat(o.choiceId),10)&amp;&amp;(t.selected=!0),t})):e;case"REMOVE_ITEM":var a=n;return a.choiceId&amp;&amp;a.choiceId&gt;-1?e.map((function(e){var t=e;return t.id===parseInt("".concat(a.choiceId),10)&amp;&amp;(t.selected=!1),t})):e;case"FILTER_CHOICES":var c=n;return e.map((function(e){var t=e;return t.active=c.results.some((function(e){var i=e.item,n=e.score;return i.id===t.id&amp;&amp;(t.score=n,!0)})),t}));case"ACTIVATE_CHOICES":var l=n;return e.map((function(e){var t=e;return t.active=l.active,t}));case"CLEAR_CHOICES":return t.defaultState;default:return e}}},871:function(e,t){var i=this&amp;&amp;this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,s=0,r=t.length;s&lt;r;s++)!n&amp;&amp;s in t||(n||(n=Array.prototype.slice.call(t,0,s)),n[s]=t[s]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=void 0,t.defaultState=[],t.default=function(e,n){switch(void 0===e&amp;&amp;(e=t.defaultState),void 0===n&amp;&amp;(n={}),n.type){case"ADD_GROUP":var s=n;return i(i([],e,!0),[{id:s.id,value:s.value,active:s.active,disabled:s.disabled}],!1);case"CLEAR_CHOICES":return[];default:return e}}},655:function(e,t,i){var n=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=void 0;var s=i(857),r=n(i(52)),o=n(i(871)),a=n(i(273)),c=n(i(502)),l=i(799);t.defaultState={groups:[],items:[],choices:[],loading:!1};var h=(0,s.combineReducers)({items:r.default,groups:o.default,choices:a.default,loading:c.default});t.default=function(e,i){var n=e;if("CLEAR_ALL"===i.type)n=t.defaultState;else if("RESET_TO"===i.type)return(0,l.cloneObject)(i.state);return h(n,i)}},52:function(e,t){var i=this&amp;&amp;this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,s=0,r=t.length;s&lt;r;s++)!n&amp;&amp;s in t||(n||(n=Array.prototype.slice.call(t,0,s)),n[s]=t[s]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=void 0,t.defaultState=[],t.default=function(e,n){switch(void 0===e&amp;&amp;(e=t.defaultState),void 0===n&amp;&amp;(n={}),n.type){case"ADD_ITEM":var s=n;return i(i([],e,!0),[{id:s.id,choiceId:s.choiceId,groupId:s.groupId,value:s.value,label:s.label,active:!0,highlighted:!1,customProperties:s.customProperties,placeholder:s.placeholder||!1,keyCode:null}],!1).map((function(e){var t=e;return t.highlighted=!1,t}));case"REMOVE_ITEM":return e.map((function(e){var t=e;return t.id===n.id&amp;&amp;(t.active=!1),t}));case"HIGHLIGHT_ITEM":var r=n;return e.map((function(e){var t=e;return t.id===r.id&amp;&amp;(t.highlighted=r.highlighted),t}));default:return e}}},502:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=void 0,t.defaultState=!1,t.default=function(e,i){return void 0===e&amp;&amp;(e=t.defaultState),void 0===i&amp;&amp;(i={}),"SET_IS_LOADING"===i.type?i.isLoading:e}},744:function(e,t,i){var n=this&amp;&amp;this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var n,s=0,r=t.length;s&lt;r;s++)!n&amp;&amp;s in t||(n||(n=Array.prototype.slice.call(t,0,s)),n[s]=t[s]);return e.concat(n||Array.prototype.slice.call(t))},s=this&amp;&amp;this.__importDefault||function(e){return e&amp;&amp;e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=i(857),o=s(i(655)),a=function(){function e(){this._store=(0,r.createStore)(o.default,window.__REDUX_DEVTOOLS_EXTENSION__&amp;&amp;window.__REDUX_DEVTOOLS_EXTENSION__())}return e.prototype.subscribe=function(e){this._store.subscribe(e)},e.prototype.dispatch=function(e){this._store.dispatch(e)},Object.defineProperty(e.prototype,"state",{get:function(){return this._store.getState()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeItems",{get:function(){return this.items.filter((function(e){return!0===e.active}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highlightedActiveItems",{get:function(){return this.items.filter((function(e){return e.active&amp;&amp;e.highlighted}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"choices",{get:function(){return this.state.choices},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeChoices",{get:function(){return this.choices.filter((function(e){return!0===e.active}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectableChoices",{get:function(){return this.choices.filter((function(e){return!0!==e.disabled}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"searchableChoices",{get:function(){return this.selectableChoices.filter((function(e){return!0!==e.placeholder}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"placeholderChoice",{get:function(){return n([],this.choices,!0).reverse().find((function(e){return!0===e.placeholder}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groups",{get:function(){return this.state.groups},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeGroups",{get:function(){var e=this.groups,t=this.choices;return e.filter((function(e){var i=!0===e.active&amp;&amp;!1===e.disabled,n=t.some((function(e){return!0===e.active&amp;&amp;!1===e.disabled}));return i&amp;&amp;n}),[])},enumerable:!1,configurable:!0}),e.prototype.isLoading=function(){return this.state.loading},e.prototype.getChoiceById=function(e){return this.activeChoices.find((function(t){return t.id===parseInt(e,10)}))},e.prototype.getGroupById=function(e){return this.groups.find((function(t){return t.id===e}))},e}();t.default=a},686:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var i={containerOuter:function(e,t,i,n,s,r,o){var a=e.classNames.containerOuter,c=Object.assign(document.createElement("div"),{className:a});return c.dataset.type=r,t&amp;&amp;(c.dir=t),n&amp;&amp;(c.tabIndex=0),i&amp;&amp;(c.setAttribute("role",s?"combobox":"listbox"),s&amp;&amp;c.setAttribute("aria-autocomplete","list")),c.setAttribute("aria-haspopup","true"),c.setAttribute("aria-expanded","false"),o&amp;&amp;c.setAttribute("aria-labeledby",o),c},containerInner:function(e){var t=e.classNames.containerInner;return Object.assign(document.createElement("div"),{className:t})},itemList:function(e,t){var i=e.classNames,n=i.list,s=i.listSingle,r=i.listItems;return Object.assign(document.createElement("div"),{className:"".concat(n," ").concat(t?s:r)})},placeholder:function(e,t){var i,n=e.allowHTML,s=e.classNames.placeholder;return Object.assign(document.createElement("div"),((i={className:s})[n?"innerHTML":"innerText"]=t,i))},item:function(e,t,i){var n,s,r=e.allowHTML,o=e.classNames,a=o.item,c=o.button,l=o.highlightedState,h=o.itemSelectable,u=o.placeholder,d=t.id,p=t.value,f=t.label,m=t.customProperties,v=t.active,g=t.disabled,_=t.highlighted,y=t.placeholder,E=Object.assign(document.createElement("div"),((n={className:a})[r?"innerHTML":"innerText"]=f,n));if(Object.assign(E.dataset,{item:"",id:d,value:p,customProperties:m}),v&amp;&amp;E.setAttribute("aria-selected","true"),g&amp;&amp;E.setAttribute("aria-disabled","true"),y&amp;&amp;E.classList.add(u),E.classList.add(_?l:h),i){g&amp;&amp;E.classList.remove(h),E.dataset.deletable="";var b="Remove item",S=Object.assign(document.createElement("button"),((s={type:"button",className:c})[r?"innerHTML":"innerText"]=b,s));S.setAttribute("aria-label","".concat(b,": '").concat(p,"'")),S.dataset.button="",E.appendChild(S)}return E},choiceList:function(e,t){var i=e.classNames.list,n=Object.assign(document.createElement("div"),{className:i});return t||n.setAttribute("aria-multiselectable","true"),n.setAttribute("role","listbox"),n},choiceGroup:function(e,t){var i,n=e.allowHTML,s=e.classNames,r=s.group,o=s.groupHeading,a=s.itemDisabled,c=t.id,l=t.value,h=t.disabled,u=Object.assign(document.createElement("div"),{className:"".concat(r," ").concat(h?a:"")});return u.setAttribute("role","group"),Object.assign(u.dataset,{group:"",id:c,value:l}),h&amp;&amp;u.setAttribute("aria-disabled","true"),u.appendChild(Object.assign(document.createElement("div"),((i={className:o})[n?"innerHTML":"innerText"]=l,i))),u},choice:function(e,t,i){var n,s=e.allowHTML,r=e.classNames,o=r.item,a=r.itemChoice,c=r.itemSelectable,l=r.selectedState,h=r.itemDisabled,u=r.placeholder,d=t.id,p=t.value,f=t.label,m=t.groupId,v=t.elementId,g=t.disabled,_=t.selected,y=t.placeholder,E=Object.assign(document.createElement("div"),((n={id:v})[s?"innerHTML":"innerText"]=f,n.className="".concat(o," ").concat(a),n));return _&amp;&amp;E.classList.add(l),y&amp;&amp;E.classList.add(u),E.setAttribute("role",m&amp;&amp;m&gt;0?"treeitem":"option"),Object.assign(E.dataset,{choice:"",id:d,value:p,selectText:i}),g?(E.classList.add(h),E.dataset.choiceDisabled="",E.setAttribute("aria-disabled","true")):(E.classList.add(c),E.dataset.choiceSelectable=""),E},input:function(e,t){var i=e.classNames,n=i.input,s=i.inputCloned,r=Object.assign(document.createElement("input"),{type:"search",name:"search_terms",className:"".concat(n," ").concat(s),autocomplete:"off",autocapitalize:"off",spellcheck:!1});return r.setAttribute("role","textbox"),r.setAttribute("aria-autocomplete","list"),r.setAttribute("aria-label",t),r},dropdown:function(e){var t=e.classNames,i=t.list,n=t.listDropdown,s=document.createElement("div");return s.classList.add(i,n),s.setAttribute("aria-expanded","false"),s},notice:function(e,t,i){var n,s=e.allowHTML,r=e.classNames,o=r.item,a=r.itemChoice,c=r.noResults,l=r.noChoices;void 0===i&amp;&amp;(i="");var h=[o,a];return"no-choices"===i?h.push(l):"no-results"===i&amp;&amp;h.push(c),Object.assign(document.createElement("div"),((n={})[s?"innerHTML":"innerText"]=t,n.className=h.join(" "),n))},option:function(e){var t=e.label,i=e.value,n=e.customProperties,s=e.active,r=e.disabled,o=new Option(t,i,!1,s);return n&amp;&amp;(o.dataset.customProperties="".concat(n)),o.disabled=!!r,o}};t.default=i},996:function(e){var t=function(e){return function(e){return!!e&amp;&amp;"object"==typeof e}(e)&amp;&amp;!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)},i="function"==typeof Symbol&amp;&amp;Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&amp;&amp;t.isMergeableObject(e)?a((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function s(e,t,i){return e.concat(t).map((function(e){return n(e,i)}))}function r(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,i,c){(c=c||{}).arrayMerge=c.arrayMerge||s,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=n;var l=Array.isArray(i);return l===Array.isArray(e)?l?c.arrayMerge(e,i,c):function(e,t,i){var s={};return i.isMergeableObject(e)&amp;&amp;r(e).forEach((function(t){s[t]=n(e[t],i)})),r(t).forEach((function(r){(function(e,t){return o(e,t)&amp;&amp;!(Object.hasOwnProperty.call(e,t)&amp;&amp;Object.propertyIsEnumerable.call(e,t))})(e,r)||(o(e,r)&amp;&amp;i.isMergeableObject(t[r])?s[r]=function(e,t){if(!t.customMerge)return a;var i=t.customMerge(e);return"function"==typeof i?i:a}(r,i)(e[r],t[r],i):s[r]=n(t[r],i))})),s}(e,i,c):n(i,c)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return a(e,i,t)}),{})};var c=a;e.exports=c},221:function(e,t,i){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===l(e)}function s(e){return"string"==typeof e}function r(e){return"number"==typeof e}function o(e){return"object"==typeof e}function a(e){return null!=e}function c(e){return!e.trim().length}function l(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}i.r(t),i.d(t,{default:function(){return R}});const h=Object.prototype.hasOwnProperty;class u{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=&gt;{let i=d(e);t+=i.weight,this._keys.push(i),this._keyMap[i.id]=i,t+=i.weight})),this._keys.forEach((e=&gt;{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function d(e){let t=null,i=null,r=null,o=1;if(s(e)||n(e))r=e,t=p(e),i=f(e);else{if(!h.call(e,"name"))throw new Error("Missing name property in key");const n=e.name;if(r=n,h.call(e,"weight")&amp;&amp;(o=e.weight,o&lt;=0))throw new Error((e=&gt;`Property 'weight' in key '${e}' must be a positive integer`)(n));t=p(n),i=f(n)}return{path:t,id:i,weight:o,src:r}}function p(e){return n(e)?e:e.split(".")}function f(e){return n(e)?e.join("."):e}var m={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=&gt;e.score===t.score?e.idx&lt;t.idx?-1:1:e.score&lt;t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,getFn:function(e,t){let i=[],c=!1;const h=(e,t,u)=&gt;{if(a(e))if(t[u]){const d=e[t[u]];if(!a(d))return;if(u===t.length-1&amp;&amp;(s(d)||r(d)||function(e){return!0===e||!1===e||function(e){return o(e)&amp;&amp;null!==e}(e)&amp;&amp;"[object Boolean]"==l(e)}(d)))i.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&amp;&amp;1/e==-1/0?"-0":t}(e)}(d));else if(n(d)){c=!0;for(let e=0,i=d.length;e&lt;i;e+=1)h(d[e],t,u+1)}else t.length&amp;&amp;h(d,t,u+1)}else i.push(e)};return h(e,s(t)?t.split("."):t,0),c?i:i[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};const v=/[^ ]+/g;class g{constructor({getFn:e=m.getFn,fieldNormWeight:t=m.fieldNormWeight}={}){this.norm=function(e=1,t=3){const i=new Map,n=Math.pow(10,t);return{get(t){const s=t.match(v).length;if(i.has(s))return i.get(s);const r=1/Math.pow(s,.5*e),o=parseFloat(Math.round(r*n)/n);return i.set(s,o),o},clear(){i.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=&gt;{this._keysMap[e.id]=t}))}create(){!this.isCreated&amp;&amp;this.docs.length&amp;&amp;(this.isCreated=!0,s(this.docs[0])?this.docs.forEach(((e,t)=&gt;{this._addString(e,t)})):this.docs.forEach(((e,t)=&gt;{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();s(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,i=this.size();t&lt;i;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!a(e)||c(e))return;let i={v:e,i:t,n:this.norm.get(e)};this.records.push(i)}_addObject(e,t){let i={i:t,$:{}};this.keys.forEach(((t,r)=&gt;{let o=this.getFn(e,t.path);if(a(o))if(n(o)){let e=[];const t=[{nestedArrIndex:-1,value:o}];for(;t.length;){const{nestedArrIndex:i,value:r}=t.pop();if(a(r))if(s(r)&amp;&amp;!c(r)){let t={v:r,i:i,n:this.norm.get(r)};e.push(t)}else n(r)&amp;&amp;r.forEach(((e,i)=&gt;{t.push({nestedArrIndex:i,value:e})}))}i.$[r]=e}else if(!c(o)){let e={v:o,n:this.norm.get(o)};i.$[r]=e}})),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function _(e,t,{getFn:i=m.getFn,fieldNormWeight:n=m.fieldNormWeight}={}){const s=new g({getFn:i,fieldNormWeight:n});return s.setKeys(e.map(d)),s.setSources(t),s.create(),s}function y(e,{errors:t=0,currentLocation:i=0,expectedLocation:n=0,distance:s=m.distance,ignoreLocation:r=m.ignoreLocation}={}){const o=t/e.length;if(r)return o;const a=Math.abs(n-i);return s?o+a/s:a?1:o}const E=32;function b(e){let t={};for(let i=0,n=e.length;i&lt;n;i+=1){const s=e.charAt(i);t[s]=(t[s]||0)|1&lt;&lt;n-i-1}return t}class S{constructor(e,{location:t=m.location,threshold:i=m.threshold,distance:n=m.distance,includeMatches:s=m.includeMatches,findAllMatches:r=m.findAllMatches,minMatchCharLength:o=m.minMatchCharLength,isCaseSensitive:a=m.isCaseSensitive,ignoreLocation:c=m.ignoreLocation}={}){if(this.options={location:t,threshold:i,distance:n,includeMatches:s,findAllMatches:r,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:c},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const l=(e,t)=&gt;{this.chunks.push({pattern:e,alphabet:b(e),startIndex:t})},h=this.pattern.length;if(h&gt;E){let e=0;const t=h%E,i=h-t;for(;e&lt;i;)l(this.pattern.substr(e,E),e),e+=E;if(t){const e=h-E;l(this.pattern.substr(e),e)}}else l(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:i}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return i&amp;&amp;(t.indices=[[0,e.length-1]]),t}const{location:n,distance:s,threshold:r,findAllMatches:o,minMatchCharLength:a,ignoreLocation:c}=this.options;let l=[],h=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:d,startIndex:p})=&gt;{const{isMatch:f,score:v,indices:g}=function(e,t,i,{location:n=m.location,distance:s=m.distance,threshold:r=m.threshold,findAllMatches:o=m.findAllMatches,minMatchCharLength:a=m.minMatchCharLength,includeMatches:c=m.includeMatches,ignoreLocation:l=m.ignoreLocation}={}){if(t.length&gt;E)throw new Error("Pattern length exceeds max of 32.");const h=t.length,u=e.length,d=Math.max(0,Math.min(n,u));let p=r,f=d;const v=a&gt;1||c,g=v?Array(u):[];let _;for(;(_=e.indexOf(t,f))&gt;-1;){let e=y(t,{currentLocation:_,expectedLocation:d,distance:s,ignoreLocation:l});if(p=Math.min(e,p),f=_+h,v){let e=0;for(;e&lt;h;)g[_+e]=1,e+=1}}f=-1;let b=[],S=1,I=h+u;const O=1&lt;&lt;h-1;for(let n=0;n&lt;h;n+=1){let r=0,a=I;for(;r&lt;a;)y(t,{errors:n,currentLocation:d+a,expectedLocation:d,distance:s,ignoreLocation:l})&lt;=p?r=a:I=a,a=Math.floor((I-r)/2+r);I=a;let c=Math.max(1,d-a+1),m=o?u:Math.min(d+a,u)+h,_=Array(m+2);_[m+1]=(1&lt;&lt;n)-1;for(let r=m;r&gt;=c;r-=1){let o=r-1,a=i[e.charAt(o)];if(v&amp;&amp;(g[o]=+!!a),_[r]=(_[r+1]&lt;&lt;1|1)&amp;a,n&amp;&amp;(_[r]|=(b[r+1]|b[r])&lt;&lt;1|1|b[r+1]),_[r]&amp;O&amp;&amp;(S=y(t,{errors:n,currentLocation:o,expectedLocation:d,distance:s,ignoreLocation:l}),S&lt;=p)){if(p=S,f=o,f&lt;=d)break;c=Math.max(1,2*d-f)}}if(y(t,{errors:n+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:l})&gt;p)break;b=_}const C={isMatch:f&gt;=0,score:Math.max(.001,S)};if(v){const e=function(e=[],t=m.minMatchCharLength){let i=[],n=-1,s=-1,r=0;for(let o=e.length;r&lt;o;r+=1){let o=e[r];o&amp;&amp;-1===n?n=r:o||-1===n||(s=r-1,s-n+1&gt;=t&amp;&amp;i.push([n,s]),n=-1)}return e[r-1]&amp;&amp;r-n&gt;=t&amp;&amp;i.push([n,r-1]),i}(g,a);e.length?c&amp;&amp;(C.indices=e):C.isMatch=!1}return C}(e,t,d,{location:n+p,distance:s,threshold:r,findAllMatches:o,minMatchCharLength:a,includeMatches:i,ignoreLocation:c});f&amp;&amp;(u=!0),h+=v,f&amp;&amp;g&amp;&amp;(l=[...l,...g])}));let d={isMatch:u,score:u?h/this.chunks.length:1};return u&amp;&amp;i&amp;&amp;(d.indices=l),d}}class I{constructor(e){this.pattern=e}static isMultiMatch(e){return O(e,this.multiRegex)}static isSingleMatch(e){return O(e,this.singleRegex)}search(){}}function O(e,t){const i=e.match(t);return i?i[1]:null}class C extends I{constructor(e,{location:t=m.location,threshold:i=m.threshold,distance:n=m.distance,includeMatches:s=m.includeMatches,findAllMatches:r=m.findAllMatches,minMatchCharLength:o=m.minMatchCharLength,isCaseSensitive:a=m.isCaseSensitive,ignoreLocation:c=m.ignoreLocation}={}){super(e),this._bitapSearch=new S(e,{location:t,threshold:i,distance:n,includeMatches:s,findAllMatches:r,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class T extends I{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,i=0;const n=[],s=this.pattern.length;for(;(t=e.indexOf(this.pattern,i))&gt;-1;)i=t+s,n.push([t,i-1]);const r=!!n.length;return{isMatch:r,score:r?0:1,indices:n}}}const L=[class extends I{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},T,class extends I{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends I{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends I{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends I{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends I{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},C],w=L.length,A=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/,M=new Set([C.type,T.type]);const P=[];function x(e,t){for(let i=0,n=P.length;i&lt;n;i+=1){let n=P[i];if(n.condition(e,t))return new n(e,t)}return new S(e,t)}const N="$and",D=e=&gt;!(!e.$and&amp;&amp;!e.$or),j=e=&gt;({[N]:Object.keys(e).map((t=&gt;({[t]:e[t]})))});function F(e,t,{auto:i=!0}={}){const r=e=&gt;{let a=Object.keys(e);const c=(e=&gt;!!e.$path)(e);if(!c&amp;&amp;a.length&gt;1&amp;&amp;!D(e))return r(j(e));if((e=&gt;!n(e)&amp;&amp;o(e)&amp;&amp;!D(e))(e)){const n=c?e.$path:a[0],r=c?e.$val:e[n];if(!s(r))throw new Error((e=&gt;`Invalid value for key ${e}`)(n));const o={keyId:f(n),pattern:r};return i&amp;&amp;(o.searcher=x(r,t)),o}let l={children:[],operator:a[0]};return a.forEach((t=&gt;{const i=e[t];n(i)&amp;&amp;i.forEach((e=&gt;{l.children.push(r(e))}))})),l};return D(e)||(e=j(e)),r(e)}function k(e,t){const i=e.matches;t.matches=[],a(i)&amp;&amp;i.forEach((e=&gt;{if(!a(e.indices)||!e.indices.length)return;const{indices:i,value:n}=e;let s={indices:i,value:n};e.key&amp;&amp;(s.key=e.key.src),e.idx&gt;-1&amp;&amp;(s.refIndex=e.idx),t.matches.push(s)}))}function K(e,t){t.score=e.score}class R{constructor(e,t={},i){this.options={...m,...t},this.options.useExtendedSearch,this._keyStore=new u(this.options.keys),this.setCollection(e,i)}setCollection(e,t){if(this._docs=e,t&amp;&amp;!(t instanceof g))throw new Error("Incorrect 'index' type");this._myIndex=t||_(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){a(e)&amp;&amp;(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=&gt;!1)){const t=[];for(let i=0,n=this._docs.length;i&lt;n;i+=1){const s=this._docs[i];e(s,i)&amp;&amp;(this.removeAt(i),i-=1,n-=1,t.push(s))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:i,includeScore:n,shouldSort:o,sortFn:a,ignoreFieldNorm:c}=this.options;let l=s(e)?s(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=m.ignoreFieldNorm}){e.forEach((e=&gt;{let i=1;e.matches.forEach((({key:e,norm:n,score:s})=&gt;{const r=e?e.weight:null;i*=Math.pow(0===s&amp;&amp;r?Number.EPSILON:s,(r||1)*(t?1:n))})),e.score=i}))}(l,{ignoreFieldNorm:c}),o&amp;&amp;l.sort(a),r(t)&amp;&amp;t&gt;-1&amp;&amp;(l=l.slice(0,t)),function(e,t,{includeMatches:i=m.includeMatches,includeScore:n=m.includeScore}={}){const s=[];return i&amp;&amp;s.push(k),n&amp;&amp;s.push(K),e.map((e=&gt;{const{idx:i}=e,n={item:t[i],refIndex:i};return s.length&amp;&amp;s.forEach((t=&gt;{t(e,n)})),n}))}(l,this._docs,{includeMatches:i,includeScore:n})}_searchStringList(e){const t=x(e,this.options),{records:i}=this._myIndex,n=[];return i.forEach((({v:e,i:i,n:s})=&gt;{if(!a(e))return;const{isMatch:r,score:o,indices:c}=t.searchIn(e);r&amp;&amp;n.push({item:e,idx:i,matches:[{score:o,value:e,norm:s,indices:c}]})})),n}_searchLogical(e){const t=F(e,this.options),i=(e,t,n)=&gt;{if(!e.children){const{keyId:i,searcher:s}=e,r=this._findMatches({key:this._keyStore.get(i),value:this._myIndex.getValueForItemAtKeyId(t,i),searcher:s});return r&amp;&amp;r.length?[{idx:n,item:t,matches:r}]:[]}const s=[];for(let r=0,o=e.children.length;r&lt;o;r+=1){const o=e.children[r],a=i(o,t,n);if(a.length)s.push(...a);else if(e.operator===N)return[]}return s},n=this._myIndex.records,s={},r=[];return n.forEach((({$:e,i:n})=&gt;{if(a(e)){let o=i(t,e,n);o.length&amp;&amp;(s[n]||(s[n]={idx:n,item:e,matches:[]},r.push(s[n])),o.forEach((({matches:e})=&gt;{s[n].matches.push(...e)})))}})),r}_searchObjectList(e){const t=x(e,this.options),{keys:i,records:n}=this._myIndex,s=[];return n.forEach((({$:e,i:n})=&gt;{if(!a(e))return;let r=[];i.forEach(((i,n)=&gt;{r.push(...this._findMatches({key:i,value:e[n],searcher:t}))})),r.length&amp;&amp;s.push({idx:n,item:e,matches:r})})),s}_findMatches({key:e,value:t,searcher:i}){if(!a(t))return[];let s=[];if(n(t))t.forEach((({v:t,i:n,n:r})=&gt;{if(!a(t))return;const{isMatch:o,score:c,indices:l}=i.searchIn(t);o&amp;&amp;s.push({score:c,key:e,value:t,idx:n,norm:r,indices:l})}));else{const{v:n,n:r}=t,{isMatch:o,score:a,indices:c}=i.searchIn(n);o&amp;&amp;s.push({score:a,key:e,value:n,norm:r,indices:c})}return s}}R.version="6.5.3",R.createIndex=_,R.parseIndex=function(e,{getFn:t=m.getFn,fieldNormWeight:i=m.fieldNormWeight}={}){const{keys:n,records:s}=e,r=new g({getFn:t,fieldNormWeight:i});return r.setKeys(n),r.setIndexRecords(s),r},R.config=m,R.parseQuery=F,function(...e){P.push(...e)}(class{constructor(e,{isCaseSensitive:t=m.isCaseSensitive,includeMatches:i=m.includeMatches,minMatchCharLength:n=m.minMatchCharLength,ignoreLocation:s=m.ignoreLocation,findAllMatches:r=m.findAllMatches,location:o=m.location,threshold:a=m.threshold,distance:c=m.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:i,minMatchCharLength:n,findAllMatches:r,ignoreLocation:s,location:o,threshold:a,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=&gt;{let i=e.trim().split(A).filter((e=&gt;e&amp;&amp;!!e.trim())),n=[];for(let e=0,s=i.length;e&lt;s;e+=1){const s=i[e];let r=!1,o=-1;for(;!r&amp;&amp;++o&lt;w;){const e=L[o];let i=e.isMultiMatch(s);i&amp;&amp;(n.push(new e(i,t)),r=!0)}if(!r)for(o=-1;++o&lt;w;){const e=L[o];let i=e.isSingleMatch(s);if(i){n.push(new e(i,t));break}}}return n}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:i,isCaseSensitive:n}=this.options;e=n?e:e.toLowerCase();let s=0,r=[],o=0;for(let n=0,a=t.length;n&lt;a;n+=1){const a=t[n];r.length=0,s=0;for(let t=0,n=a.length;t&lt;n;t+=1){const n=a[t],{isMatch:c,indices:l,score:h}=n.search(e);if(!c){o=0,s=0,r.length=0;break}if(s+=1,o+=h,i){const e=n.constructor.type;M.has(e)?r=[...r,...l]:r.push(l)}}if(s){let e={isMatch:!0,score:o/s};return i&amp;&amp;(e.indices=r),e}}return{isMatch:!1,score:1}}})},857:function(e,t,i){function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function s(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&amp;&amp;(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function r(e){for(var t=1;t&lt;arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?s(Object(i),!0).forEach((function(t){n(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}i.r(t),i.d(t,{__DO_NOT_USE__ActionTypes:function(){return l},applyMiddleware:function(){return v},bindActionCreators:function(){return f},combineReducers:function(){return d},compose:function(){return m},createStore:function(){return u}});var a="function"==typeof Symbol&amp;&amp;Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},l={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function h(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,i){var n;if("function"==typeof t&amp;&amp;"function"==typeof i||"function"==typeof i&amp;&amp;"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&amp;&amp;void 0===i&amp;&amp;(i=t,t=void 0),void 0!==i){if("function"!=typeof i)throw new Error(o(1));return i(u)(e,t)}if("function"!=typeof e)throw new Error(o(2));var s=e,r=t,c=[],d=c,p=!1;function f(){d===c&amp;&amp;(d=c.slice())}function m(){if(p)throw new Error(o(3));return r}function v(e){if("function"!=typeof e)throw new Error(o(4));if(p)throw new Error(o(5));var t=!0;return f(),d.push(e),function(){if(t){if(p)throw new Error(o(6));t=!1,f();var i=d.indexOf(e);d.splice(i,1),c=null}}}function g(e){if(!h(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(p)throw new Error(o(9));try{p=!0,r=s(r,e)}finally{p=!1}for(var t=c=d,i=0;i&lt;t.length;i++)(0,t[i])();return e}function _(e){if("function"!=typeof e)throw new Error(o(10));s=e,g({type:l.REPLACE})}function y(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function i(){e.next&amp;&amp;e.next(m())}return i(),{unsubscribe:t(i)}}})[a]=function(){return this},e}return g({type:l.INIT}),(n={dispatch:g,subscribe:v,getState:m,replaceReducer:_})[a]=y,n}function d(e){for(var t=Object.keys(e),i={},n=0;n&lt;t.length;n++){var s=t[n];"function"==typeof e[s]&amp;&amp;(i[s]=e[s])}var r,a=Object.keys(i);try{!function(e){Object.keys(e).forEach((function(t){var i=e[t];if(void 0===i(void 0,{type:l.INIT}))throw new Error(o(12));if(void 0===i(void 0,{type:l.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(i)}catch(e){r=e}return function(e,t){if(void 0===e&amp;&amp;(e={}),r)throw r;for(var n=!1,s={},c=0;c&lt;a.length;c++){var l=a[c],h=i[l],u=e[l],d=h(u,t);if(void 0===d)throw t&amp;&amp;t.type,new Error(o(14));s[l]=d,n=n||d!==u}return(n=n||a.length!==Object.keys(e).length)?s:e}}function p(e,t){return function(){return t(e.apply(this,arguments))}}function f(e,t){if("function"==typeof e)return p(e,t);if("object"!=typeof e||null===e)throw new Error(o(16));var i={};for(var n in e){var s=e[n];"function"==typeof s&amp;&amp;(i[n]=p(s,t))}return i}function m(){for(var e=arguments.length,t=new Array(e),i=0;i&lt;e;i++)t[i]=arguments[i];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),i=0;i&lt;e;i++)t[i]=arguments[i];return function(e){return function(){var i=e.apply(void 0,arguments),n=function(){throw new Error(o(15))},s={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments)}},a=t.map((function(e){return e(s)}));return n=m.apply(void 0,a)(i.dispatch),r(r({},i),{},{dispatch:n})}}}}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var r=t[n]={exports:{}};return e[n].call(r.exports,r,r.exports,i),r.exports}i.n=function(e){var t=e&amp;&amp;e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&amp;&amp;!i.o(e,n)&amp;&amp;Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n,s,r={};n=i(373),s=i.n(n),i(187),i(883),i(789),i(686),r.default=s(),window.Choices=r.default}();
/* End */
;
; /* Start:"a:4:{s:4:"full";s:52:"/local/templates/simpleIT/js/wNumb.js?17114179699439";s:6:"source";s:37:"/local/templates/simpleIT/js/wNumb.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
(function(factory) {
  if (typeof define === "function" &amp;&amp; define.amd) {
    // AMD. Register as an anonymous module.
    define([], factory);
  } else if (typeof exports === "object") {
    // Node/CommonJS
    module.exports = factory();
  } else {
    // Browser globals
    window.wNumb = factory();
  }
})(function() {
  "use strict";

  var FormatOptions = [
    "decimals",
    "thousand",
    "mark",
    "prefix",
    "suffix",
    "encoder",
    "decoder",
    "negativeBefore",
    "negative",
    "edit",
    "undo"
  ];

  // General

  // Reverse a string
  function strReverse(a) {
    return a
      .split("")
      .reverse()
      .join("");
  }

  // Check if a string starts with a specified prefix.
  function strStartsWith(input, match) {
    return input.substring(0, match.length) === match;
  }

  // Check is a string ends in a specified suffix.
  function strEndsWith(input, match) {
    return input.slice(-1 * match.length) === match;
  }

  // Throw an error if formatting options are incompatible.
  function throwEqualError(F, a, b) {
    if ((F[a] || F[b]) &amp;&amp; F[a] === F[b]) {
      throw new Error(a);
    }
  }

  // Check if a number is finite and not NaN
  function isValidNumber(input) {
    return typeof input === "number" &amp;&amp; isFinite(input);
  }

  // Provide rounding-accurate toFixed method.
  // Borrowed: http://stackoverflow.com/a/21323330/775265
  function toFixed(value, exp) {
    value = value.toString().split("e");
    value = Math.round(+(value[0] + "e" + (value[1] ? +value[1] + exp : exp)));
    value = value.toString().split("e");
    return (+(value[0] + "e" + (value[1] ? +value[1] - exp : -exp))).toFixed(exp);
  }

  // Formatting

  // Accept a number as input, output formatted string.
  function formatTo(
    decimals,
    thousand,
    mark,
    prefix,
    suffix,
    encoder,
    decoder,
    negativeBefore,
    negative,
    edit,
    undo,
    input
  ) {
    var originalInput = input,
      inputIsNegative,
      inputPieces,
      inputBase,
      inputDecimals = "",
      output = "";

    // Apply user encoder to the input.
    // Expected outcome: number.
    if (encoder) {
      input = encoder(input);
    }

    // Stop if no valid number was provided, the number is infinite or NaN.
    if (!isValidNumber(input)) {
      return false;
    }

    // Rounding away decimals might cause a value of -0
    // when using very small ranges. Remove those cases.
    if (decimals !== false &amp;&amp; parseFloat(input.toFixed(decimals)) === 0) {
      input = 0;
    }

    // Formatting is done on absolute numbers,
    // decorated by an optional negative symbol.
    if (input &lt; 0) {
      inputIsNegative = true;
      input = Math.abs(input);
    }

    // Reduce the number of decimals to the specified option.
    if (decimals !== false) {
      input = toFixed(input, decimals);
    }

    // Transform the number into a string, so it can be split.
    input = input.toString();

    // Break the number on the decimal separator.
    if (input.indexOf(".") !== -1) {
      inputPieces = input.split(".");

      inputBase = inputPieces[0];

      if (mark) {
        inputDecimals = mark + inputPieces[1];
      }
    } else {
      // If it isn't split, the entire number will do.
      inputBase = input;
    }

    // Group numbers in sets of three.
    if (thousand) {
      inputBase = strReverse(inputBase).match(/.{1,3}/g);
      inputBase = strReverse(inputBase.join(strReverse(thousand)));
    }

    // If the number is negative, prefix with negation symbol.
    if (inputIsNegative &amp;&amp; negativeBefore) {
      output += negativeBefore;
    }

    // Prefix the number
    if (prefix) {
      output += prefix;
    }

    // Normal negative option comes after the prefix. Defaults to '-'.
    if (inputIsNegative &amp;&amp; negative) {
      output += negative;
    }

    // Append the actual number.
    output += inputBase;
    output += inputDecimals;

    // Apply the suffix.
    if (suffix) {
      output += suffix;
    }

    // Run the output through a user-specified post-formatter.
    if (edit) {
      output = edit(output, originalInput);
    }

    // All done.
    return output;
  }

  // Accept a sting as input, output decoded number.
  function formatFrom(
    decimals,
    thousand,
    mark,
    prefix,
    suffix,
    encoder,
    decoder,
    negativeBefore,
    negative,
    edit,
    undo,
    input
  ) {
    var originalInput = input,
      inputIsNegative,
      output = "";

    // User defined pre-decoder. Result must be a non empty string.
    if (undo) {
      input = undo(input);
    }

    // Test the input. Can't be empty.
    if (!input || typeof input !== "string") {
      return false;
    }

    // If the string starts with the negativeBefore value: remove it.
    // Remember is was there, the number is negative.
    if (negativeBefore &amp;&amp; strStartsWith(input, negativeBefore)) {
      input = input.replace(negativeBefore, "");
      inputIsNegative = true;
    }

    // Repeat the same procedure for the prefix.
    if (prefix &amp;&amp; strStartsWith(input, prefix)) {
      input = input.replace(prefix, "");
    }

    // And again for negative.
    if (negative &amp;&amp; strStartsWith(input, negative)) {
      input = input.replace(negative, "");
      inputIsNegative = true;
    }

    // Remove the suffix.
    // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice
    if (suffix &amp;&amp; strEndsWith(input, suffix)) {
      input = input.slice(0, -1 * suffix.length);
    }

    // Remove the thousand grouping.
    if (thousand) {
      input = input.split(thousand).join("");
    }

    // Set the decimal separator back to period.
    if (mark) {
      input = input.replace(mark, ".");
    }

    // Prepend the negative symbol.
    if (inputIsNegative) {
      output += "-";
    }

    // Add the number
    output += input;

    // Trim all non-numeric characters (allow '.' and '-');
    output = output.replace(/[^0-9\.\-.]/g, "");

    // The value contains no parse-able number.
    if (output === "") {
      return false;
    }

    // Covert to number.
    output = Number(output);

    // Run the user-specified post-decoder.
    if (decoder) {
      output = decoder(output);
    }

    // Check is the output is valid, otherwise: return false.
    if (!isValidNumber(output)) {
      return false;
    }

    return output;
  }

  // Framework

  // Validate formatting options
  function validate(inputOptions) {
    var i,
      optionName,
      optionValue,
      filteredOptions = {};

    if (inputOptions["suffix"] === undefined) {
      inputOptions["suffix"] = inputOptions["postfix"];
    }

    for (i = 0; i &lt; FormatOptions.length; i += 1) {
      optionName = FormatOptions[i];
      optionValue = inputOptions[optionName];

      if (optionValue === undefined) {
        // Only default if negativeBefore isn't set.
        if (optionName === "negative" &amp;&amp; !filteredOptions.negativeBefore) {
          filteredOptions[optionName] = "-";
          // Don't set a default for mark when 'thousand' is set.
        } else if (optionName === "mark" &amp;&amp; filteredOptions.thousand !== ".") {
          filteredOptions[optionName] = ".";
        } else {
          filteredOptions[optionName] = false;
        }

        // Floating points in JS are stable up to 7 decimals.
      } else if (optionName === "decimals") {
        if (optionValue &gt;= 0 &amp;&amp; optionValue &lt; 8) {
          filteredOptions[optionName] = optionValue;
        } else {
          throw new Error(optionName);
        }

        // These options, when provided, must be functions.
      } else if (
        optionName === "encoder" ||
        optionName === "decoder" ||
        optionName === "edit" ||
        optionName === "undo"
      ) {
        if (typeof optionValue === "function") {
          filteredOptions[optionName] = optionValue;
        } else {
          throw new Error(optionName);
        }

        // Other options are strings.
      } else {
        if (typeof optionValue === "string") {
          filteredOptions[optionName] = optionValue;
        } else {
          throw new Error(optionName);
        }
      }
    }

    // Some values can't be extracted from a
    // string if certain combinations are present.
    throwEqualError(filteredOptions, "mark", "thousand");
    throwEqualError(filteredOptions, "prefix", "negative");
    throwEqualError(filteredOptions, "prefix", "negativeBefore");

    return filteredOptions;
  }

  // Pass all options as function arguments
  function passAll(options, method, input) {
    var i,
      args = [];

    // Add all options in order of FormatOptions
    for (i = 0; i &lt; FormatOptions.length; i += 1) {
      args.push(options[FormatOptions[i]]);
    }

    // Append the input, then call the method, presenting all
    // options as arguments.
    args.push(input);
    return method.apply("", args);
  }

  function wNumb(options) {
    if (!(this instanceof wNumb)) {
      return new wNumb(options);
    }

    if (typeof options !== "object") {
      return;
    }

    options = validate(options);

    // Call 'formatTo' with proper arguments.
    this.to = function(input) {
      return passAll(options, formatTo, input);
    };

    // Call 'formatFrom' with proper arguments.
    this.from = function(input) {
      return passAll(options, formatFrom, input);
    };
  }

  return wNumb;
});

/* End */
;
; /* Start:"a:4:{s:4:"full";s:73:"/local/templates/simpleIT/vue/services/FilterRangeSlider.js?1711418084487";s:6:"source";s:59:"/local/templates/simpleIT/vue/services/FilterRangeSlider.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
(function() {
    if (noUiSlider) {
        noUiSlider.makeSliderRange = (minValue, maxValue) =&gt; {
            if (maxValue &gt; 100000) {
                return {
                    'min': [ minValue, 100 ],
                    '40%': [ maxValue / 20, 10000 ],
                    'max': maxValue,
                }
            } else {
                return {
                    'min': minValue,
                    'max': maxValue,
                }
            }
        }
    }
}())
/* End */
;
; /* Start:"a:4:{s:4:"full";s:74:"/local/templates/simpleIT/vue/services/helpers/vueHelper.js?17114180851395";s:6:"source";s:59:"/local/templates/simpleIT/vue/services/helpers/vueHelper.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const VueHelper = {
    initDynamicComponent: async({componentName, htmlElementId, data}) =&gt; {
        let result = await getVueComponent({componentName})
        if (result) {
            return await VueHelper.asyncCreateApp({componentName, htmlElementId, data, result})
        } else {
            return await VueHelper.createApp({componentName, htmlElementId, data})
        }
    },
    getModule: async ({moduleName}) =&gt; await import(`${PATHES.MODULES_PATH}/${moduleName}.esm.js`),
    isComponentLoaded: ({componentName}) =&gt; {
        if (!_.has(window, 'LOADED_COMPONENTS')) {
            window.LOADED_COMPONENTS = {}
        } 
        return LOADED_COMPONENTS[componentName] ? true : false
    },
    addInLoadedComponentsList: ({componentName}) =&gt; {
        if (_.has(window, 'LOADED_COMPONENTS')) {
            LOADED_COMPONENTS[componentName] = true
        }
    },
    asyncCreateApp: ({componentName, htmlElementId, data = {}, result}) =&gt; {
        return new Promise((resolve, reject) =&gt; {
            result.onload = () =&gt; resolve( VueHelper.createApp({componentName, htmlElementId, data}) )
          })
    },
    createApp: ({componentName, htmlElementId, data = {}}) =&gt; {
        return BX.BitrixVue.createApp({
                template: `&lt;${componentName} /&gt;`,
                el: `#${htmlElementId}`,
                store,
                data
            })
    },
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:80:"/local/templates/simpleIT/vue/services/requests/addManyToBasket.js?1711418085280";s:6:"source";s:66:"/local/templates/simpleIT/vue/services/requests/addManyToBasket.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const addManyToBasket = ({productsArray}) =&gt; {
    return BX.ajax.runAction('simpleit.api.basket.addManyToBasket', {
        data: {productsArray}
    }).then(result =&gt; {
        return { status: result.status }
    }, result =&gt; {
        return { status: result.status }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:76:"/local/templates/simpleIT/vue/services/requests/addToBasket.js?1711418084252";s:6:"source";s:62:"/local/templates/simpleIT/vue/services/requests/addToBasket.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const addToBasket = ({id, quantity, replaceQuantity = 'N'}) =&gt; {
    return BX.ajax.runAction('simpleit.api.basket.addToBasket', {
        data: { id, quantity, replaceQuantity }
    }).then(result =&gt; {
        return { status: result.status }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:77:"/local/templates/simpleIT/vue/services/requests/addToCompare.js?1711418084187";s:6:"source";s:63:"/local/templates/simpleIT/vue/services/requests/addToCompare.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const addToCompare = ({id}) =&gt; {
    return BX.ajax.runAction('simpleit.api.compare.push', {
        data: { id }
    }).then(result =&gt; {
        return { status: result.status }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:77:"/local/templates/simpleIT/vue/services/requests/clearCoupons.js?1711418085220";s:6:"source";s:63:"/local/templates/simpleIT/vue/services/requests/clearCoupons.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const clearCoupons = () =&gt; {
    return BX.ajax.runAction('simpleit.api.basket.clearCoupons').then(result =&gt; {
        return { status: result.status }
    }, result =&gt; {
        return { status: result.status }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:79:"/local/templates/simpleIT/vue/services/requests/favoriteAction.js?1711418084209";s:6:"source";s:65:"/local/templates/simpleIT/vue/services/requests/favoriteAction.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const favoriteAction = ({id}) =&gt; {
    return BX.ajax.runAction('simpleit.api.basket.delay', {
        data: { id }
    }).then(result =&gt; {
        return { status: result.status, action: result.data}
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:74:"/local/templates/simpleIT/vue/services/requests/getBasket.js?1711418085193";s:6:"source";s:60:"/local/templates/simpleIT/vue/services/requests/getBasket.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const getBasket = () =&gt; {
    return BX.ajax.runAction('simpleit.api.basket.getCurrentBasketAsArray', {}).then(result =&gt; {
        return { status: result.status, basket: result.data }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:75:"/local/templates/simpleIT/vue/services/requests/getCoupons.js?1711418084238";s:6:"source";s:61:"/local/templates/simpleIT/vue/services/requests/getCoupons.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const getCoupons = () =&gt; {
    return BX.ajax.runAction('simpleit.api.basket.getCoupons').then(result =&gt; {
        return { status: result.status, coupons: result.data }
    }, result =&gt; {
        return { status: result.status }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:75:"/local/templates/simpleIT/vue/services/requests/getDelayed.js?1711418084195";s:6:"source";s:61:"/local/templates/simpleIT/vue/services/requests/getDelayed.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const getDelayed = () =&gt; {
    return BX.ajax.runAction('simpleit.api.basket.getCurrentDelayedAsArray', {}).then(result =&gt; {
        return { status: result.status, basket: result.data }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:75:"/local/templates/simpleIT/vue/services/requests/getElement.js?1711418084372";s:6:"source";s:61:"/local/templates/simpleIT/vue/services/requests/getElement.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
// return {status, element}
const getElement = ({elementId, arParams}) =&gt; {
    arParams = _.cloneDeep(arParams);
    arParams.PAGE = 1
    arParams.FAST_VIEW = 'Y'
    return BX.ajax.runAction("simpleit.api.element.find", {
        data: {ids: [elementId], arParams}
    }).then(result =&gt; {
        return {status: result.status, element: result.data[elementId]}
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:76:"/local/templates/simpleIT/vue/services/requests/getFancyapp.js?1711418085101";s:6:"source";s:62:"/local/templates/simpleIT/vue/services/requests/getFancyapp.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const getFancyapp = async () =&gt; await import("/local/templates/simpleIT/js/fancyapp/fancyapp.esm.js")
/* End */
;
; /* Start:"a:4:{s:4:"full";s:75:"/local/templates/simpleIT/vue/services/requests/getSection.js?1711418085187";s:6:"source";s:61:"/local/templates/simpleIT/vue/services/requests/getSection.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const getSection = arParams =&gt; {
    return BX.ajax.runComponentAction("simpleit:catalog.section.two", "getSection", {
        mode:"class",
        data: { arParams: arParams }
    })
}

/* End */
;
; /* Start:"a:4:{s:4:"full";s:80:"/local/templates/simpleIT/vue/services/requests/getVueComponent.js?1711418085446";s:6:"source";s:66:"/local/templates/simpleIT/vue/services/requests/getVueComponent.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const getVueComponent = ({componentName}) =&gt; {
    if ( VueHelper.isComponentLoaded({componentName}) ) {
        return null
    } else {
        let script = document.createElement( 'script' )
            script.setAttribute( 'src', `${PATHES.COMPONENTS_PATH}/${componentName}/${componentName}.js` );
            document.body.appendChild( script );
            VueHelper.addInLoadedComponentsList({componentName})

        return script
    }
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:84:"/local/templates/simpleIT/vue/services/requests/removeAllFromBasket.js?1711418084164";s:6:"source";s:70:"/local/templates/simpleIT/vue/services/requests/removeAllFromBasket.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const removeAllFromBasket = () =&gt; {
    return BX.ajax.runAction('simpleit.api.basket.clean', {}).then(result =&gt; {
        return { status: result.status }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:81:"/local/templates/simpleIT/vue/services/requests/removeFromBasket.js?1711418085202";s:6:"source";s:67:"/local/templates/simpleIT/vue/services/requests/removeFromBasket.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const removeFromBasket = ({id}) =&gt; {
    return BX.ajax.runAction('simpleit.api.basket.removeFromBasket', {
        data: { id }
    }).then(result =&gt; {
        return { status: result.status }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:82:"/local/templates/simpleIT/vue/services/requests/removeFromCompare.js?1711418084194";s:6:"source";s:68:"/local/templates/simpleIT/vue/services/requests/removeFromCompare.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const removeFromCompare = ({id}) =&gt; {
    return BX.ajax.runAction('simpleit.api.compare.remove', {
        data: { id }
    }).then(result =&gt; {
        return { status: result.status }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:71:"/local/templates/simpleIT/vue/services/requests/search.js?1711418085209";s:6:"source";s:57:"/local/templates/simpleIT/vue/services/requests/search.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const search = ({query, limit}) =&gt; {
    return BX.ajax.runAction('simpleit.api.search.search', {data: {query, limit}}).then(result =&gt; {
        return { status: result.status, results: result.data }
    })
}

/* End */
;
; /* Start:"a:4:{s:4:"full";s:74:"/local/templates/simpleIT/vue/services/requests/setCoupon.js?1711418085276";s:6:"source";s:60:"/local/templates/simpleIT/vue/services/requests/setCoupon.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const setCoupon = ({coupon}) =&gt; {
    return BX.ajax.runAction('simpleit.api.basket.setCoupon', {
        data: {coupon}
    }).then(result =&gt; {
        return { status: result.status, coupons: result.data }
    }, result =&gt; {
        return { status: result.status }
    })
}
/* End */
;
; /* Start:"a:4:{s:4:"full";s:57:"/local/templates/simpleIT/vue/store/store.js?171141808486";s:6:"source";s:44:"/local/templates/simpleIT/vue/store/store.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
const store = BX.Vuex.store({
  strict: true,
  modules: {
    ...stateModules
  }
});
/* End */
;
; /* Start:"a:4:{s:4:"full";s:83:"/local/templates/simpleIT/vue/components/SearchTitle/SearchTitle.js?171141808614262";s:6:"source";s:67:"/local/templates/simpleIT/vue/components/SearchTitle/SearchTitle.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
BX.Vue.component('SearchTitle', {
    data() {
        return {
            showResults: false,
            // Ð§Ñ‚Ð¾Ð±Ñ‹ Ð¿Ð¾Ð»ÑƒÑ‡Ð¸Ñ‚ÑŒ Ð´Ð°Ñ‚Ñƒ Ð¿ÐµÑ€ÐµÐ´Ð°Ð½Ð½ÑƒÑŽ Ð² createApp
            ...this.$parent.$data,
            query: '',
            highlightedIndex: -1,
            searchTimeout: null,
            searchDelay: 400
        }
    },
    methods: {
        ...BX.Vuex.mapActions('SearchTitle', [
            'getResults',
        ]),
        async search() {
            await this.debouncedSearch({query: this.$refs.searchInput.value, limit: 5})
            this.setShowResults({value: true})
            this.setQuery({query: this.$refs.searchInput.value})
            this.highlightedIndex = -1
        },
        async lazySearch() {
            if (this.searchTimeout) {
                clearTimeout(this.searchTimeout);
            }
            setTimeout(this.search, this.searchDelay);
        },
        setShowResults({value}) {
            this.showResults = value
        },
        setQuery({query}) {
            this.query = query
        },
        highlightPrev(event) {
            event.stopPropagation()
            if (this.highlightedIndex &gt; 0)
                this.highlightedIndex -= 1
        },
        highlightNext(event) {
            event.stopPropagation()
            if (this.highlightedIndex &lt; this.elements.length - 1)
                this.highlightedIndex += 1
        },
        isCurrentHighlightedIndex(index) {
            return index === this.highlightedIndex
        },
        enterKeyInputHandler() {
            if (this.highlightedIndex !== -1) {
                if (this.elements[this.highlightedIndex]?.LINK)
                    location.href = this.elements[this.highlightedIndex].LINK
            } else {
                this.goToSearchPage()
            }
        },
        goToSearchPage() {
            if (this.query)
                location.href = this.searchPageUrl
        },
        toggleAccordion( event ) {
            const target = event.currentTarget
            if (target.classList.contains('search-results-accordion--open')) {
                target.classList.remove('search-results-accordion--open')
            } else {
                target.classList.add('search-results-accordion--open')
            }
        },
        hintHandler(event) {
            this.$refs.searchInput.value = event.target.textContent
            this.search()
        },
        closeHandler(event) {
            if (!this.$refs.searchComponent.contains(event.target) &amp;&amp; this.showResults) {
                this.showResults = false
                //this.$refs.searchInput.value = ''
                this.setQuery({query: ''})
            }
        },
        getQueryFromQueryParams() {
            if (window.location.search) {
                return window.location.search.replace('?', '').split('&amp;').reduce((accum, parameter) =&gt; {
                    if ( parameter.includes('q=') ) {
                        accum = decodeURI(parameter).replace('q=', '')
                    }
                    return accum
                }, '')
            } else {
                return ''
            }
        }
    },
    computed: {
        ...BX.Vuex.mapState('SearchTitle', {
            results: state =&gt; _.isEmpty(state.results) ? false : state.results,
            history: state =&gt; state.results.HISTORY.length ? state.results.HISTORY : false,
            popular: state =&gt; state.results.POPULAR.length ? state.results.POPULAR : false,
            others: state =&gt; state.results.OTHERS.length ? state.results.OTHERS : false,
            hints: state =&gt; state.results.HINTS.length ? state.results.HINTS : false,
            elements: state =&gt; state.results.ELEMENTS.length ? state.results.ELEMENTS : false,
            loading: state =&gt; state.loading
        }),
        searchPageUrl: function() {
            return `/catalog/?q=${this.query}`
        },
        placeholder: function() {
            return this.type === 'mobile' &amp;&amp; 'ÐÐ°Ð¶Ð¼Ð¸Ñ‚Ðµ Ð´Ð»Ñ Ð¿Ð¾Ð¸ÑÐºÐ°'
        }
    },
    mounted: async function() {
        const {SearchModule} = await VueHelper.getModule({moduleName: 'Search'})
        this.SearchModule = SearchModule
        this.debouncedSearch = this.SearchModule.debounce(this.getResults.bind(this), this.searchDelay)
        document.addEventListener('click', this.closeHandler)
        this.$refs.searchInput.value = this.getQueryFromQueryParams()
    },
    template: `
        &lt;div class="search" :class="[type]" ref="searchComponent"&gt;

            &lt;div class="search-input-block"&gt;
                &lt;input
                    class="search__input"
                    type="text" 
                    ref="searchInput" 
                    @focus="search" 
                    @input="lazySearch"
                    @keydown.up.prevent="highlightPrev"
                    @keydown.down.prevent="highlightNext"
                    @keydown.enter.prevent="enterKeyInputHandler"
                    :placeholder="placeholder"
                &gt;
                &lt;div class="search__loader" v-if="loading"&gt;
                    &lt;svg width="36" height="36" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"&gt;&lt;rect class="spinner_9y7u" x="1" y="1" rx="1" width="10" height="10"/&gt;&lt;rect class="spinner_9y7u spinner_DF2s" x="1" y="1" rx="1" width="10" height="10"/&gt;&lt;rect class="spinner_9y7u spinner_q27e" x="1" y="1" rx="1" width="10" height="10"/&gt;&lt;/svg&gt;
                &lt;/div&gt;
                &lt;button @click="goToSearchPage" class="search__button" type="button"&gt;
                    &lt;svg width="17" height="17" viewBox="0 0 17 17" aria-hidden="true"&gt;
                        &lt;path class="cls-1" d="M16.709,16.719a1,1,0,0,1-1.412,0l-3.256-3.287A7.475,7.475,0,1,1,15,7.5a7.433,7.433,0,0,1-1.549,4.518l3.258,3.289A1,1,0,0,1,16.709,16.719ZM7.5,2A5.5,5.5,0,1,0,13,7.5,5.5,5.5,0,0,0,7.5,2Z"&gt;&lt;/path&gt;
                    &lt;/svg&gt;
                &lt;/button&gt;
            &lt;/div&gt;

            &lt;div v-if="results &amp;&amp; showResults" class="search-results"&gt;

                &lt;div class="search-results-hints" v-if="hints"&gt;
                    &lt;template v-for="(hint, index) in hints" :key="index"&gt;
                        &lt;span class="search-results-hints__hint" @click="hintHandler"&gt;{{hint}}&lt;/span&gt;
                    &lt;/template&gt;
                &lt;/div&gt;

                &lt;div class="search-results-all"&gt;

                    &lt;div class="search-results-others"&gt;
                        &lt;div class="search-results-others__group" v-if="history"&gt;
                            &lt;span class="search-results-others__title"&gt;Ð’Ñ‹ Ð¸ÑÐºÐ°Ð»Ð¸&lt;/span&gt;
                            &lt;div class="search-results-others__elements"&gt;
                                &lt;a v-for="element in history" class="search-results-others__element" :href="element.LINK"&gt;
                                    &lt;svg class="search-results-others__element-icon" viewBox="0 0 512 512"&gt;
                                        &lt;path d="M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"/&gt;
                                    &lt;/svg&gt;
                                    {{element.NAME}}
                                &lt;/a&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                        &lt;div class="search-results-others__group" v-if="popular &amp;&amp; !history"&gt;
                            &lt;span class="search-results-others__title"&gt;Ð§Ð°ÑÑ‚Ð¾ Ð¸Ñ‰ÑƒÑ‚&lt;/span&gt;
                            &lt;div class="search-results-others__elements"&gt;
                                &lt;a v-for="element in popular" class="search-results-others__element" :href="element.LINK"&gt;
                                    &lt;svg class="search-results-others__element-icon" viewBox="0 0 512 512"&gt;
                                        &lt;path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/&gt;
                                    &lt;/svg&gt;
                                    {{element.NAME}}
                                &lt;/a&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;

                        &lt;div class="search-results-others__group" v-if="!others"&gt;
                            &lt;span class="search-results-others__title"&gt;ÐšÐ°Ñ‚ÐµÐ³Ð¾Ñ€Ð¸Ð¸&lt;/span&gt;
                            &lt;div class="search-results-others__elements"&gt;
                                &lt;span class="search-results-others__element"&gt;
                                    &lt;svg class="search-results-others__element-icon" viewBox="0 0 512 512"&gt;
                                        &lt;path d="M448 96V224H288V96H448zm0 192V416H288V288H448zM224 224H64V96H224V224zM64 288H224V416H64V288zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"/&gt;
                                    &lt;/svg&gt;
                                    ÐšÐ°Ñ‚ÐµÐ³Ð¾Ñ€Ð¸Ð¹ Ð½Ðµ Ð½Ð°Ð¹Ð´ÐµÐ½Ð¾
                                &lt;/span&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;

                        &lt;div class="search-results-others__group" v-if="others &amp;&amp; type !== 'mobile'"&gt;
                            &lt;span class="search-results-others__title"&gt;ÐšÐ°Ñ‚ÐµÐ³Ð¾Ñ€Ð¸Ð¸&lt;/span&gt;
                            &lt;div class="search-results-others__elements"&gt;
                                &lt;a v-for="element in others" class="search-results-others__element" :href="element.LINK"&gt;
                                    &lt;svg class="search-results-others__element-icon" viewBox="0 0 512 512"&gt;
                                        &lt;path d="M448 96V224H288V96H448zm0 192V416H288V288H448zM224 224H64V96H224V224zM64 288H224V416H64V288zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"/&gt;
                                    &lt;/svg&gt;
                                    {{element.NAME}}
                                &lt;/a&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;

                        &lt;div class="search-results-others__group search-results-others__group--mobile" v-if="others &amp;&amp; type === 'mobile'"&gt;
                            &lt;div class="search-results-accordion" @click="toggleAccordion"&gt;
                                &lt;div class="search-results-accordion__header"&gt;
                                    &lt;span class="search-results-others__title"&gt;ÐšÐ°Ñ‚ÐµÐ³Ð¾Ñ€Ð¸Ð¸&lt;/span&gt;
                                    &lt;svg class="search-results-accordion__header-arrow" viewBox="0 0 448 512"&gt;
                                        &lt;path d="M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"&gt;&lt;/path&gt;
                                    &lt;/svg&gt;
                                &lt;/div&gt;
                                &lt;div class="search-results-accordion__body"&gt;
                                    &lt;div class="search-results-others__elements"&gt;
                                        &lt;a v-for="element in others" class="search-results-others__element" :href="element.LINK"&gt;
                                            &lt;svg class="search-results-others__element-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"&gt;&lt;!--! Font Awesome Free 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --&gt;&lt;path d="M448 96V224H288V96H448zm0 192V416H288V288H448zM224 224H64V96H224V224zM64 288H224V416H64V288zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"/&gt;&lt;/svg&gt;
                                            {{element.NAME}}
                                        &lt;/a&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;

                    &lt;div class="search-results-elements" v-if="elements"&gt;
                        &lt;div class="search-results-element" v-for="(element, index) in elements" :key="index"&gt;                                
                            &lt;a :href="element.LINK" class="search-results-element__link" :class="{'search-results-element__link--highlighted': isCurrentHighlightedIndex(index)}" @mouseover="highlightedIndex = index" @mouseout="highlightedIndex = -1"&gt;
                                &lt;div class="search-results-element__image-container"&gt;
                                    &lt;img class="search-results-element__image" :src="element.IMAGE"&gt;
                                &lt;/div&gt;
                                &lt;div class="search-results-element__info"&gt;
                                    &lt;span class="search-results-element__code"&gt;
                                        &lt;span class="search-results-element__code-text"&gt;ÐšÐ¾Ð´: &lt;/span&gt;{{element.CODE}}
                                    &lt;/span&gt;
                                    &lt;span class="search-results-element__title"&gt;{{element.NAME}}&lt;/span&gt;
                                    &lt;span class="search-results-element__prices"&gt;
                                        &lt;span class="search-results-element__price"&gt;{{element.DISCOUNT_PRICE}}&lt;/span&gt;
                                        &lt;span class="search-results-element__discount-price" v-if="element.PRICE != element.DISCOUNT_PRICE"&gt;{{element.PRICE}}&lt;/span&gt;
                                    &lt;/span&gt;
                                &lt;/div&gt;
                            &lt;/a&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div class="search-results-elements search-results-elements-empty" v-else&gt;
                        &lt;span&gt;Ð¢Ð¾Ð²Ð°Ñ€Ð¾Ð² Ð½Ðµ Ð½Ð°Ð¹Ð´ÐµÐ½Ð¾&lt;/span&gt;
                    &lt;/div&gt;

                &lt;/div&gt;

                &lt;a :href="searchPageUrl" class="button search-results-link"&gt;Ð’ÑÐµ Ñ€ÐµÐ·ÑƒÐ»ÑŒÑ‚Ð°Ñ‚Ñ‹&lt;/a&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    `
});
/* End */
;
; /* Start:"a:4:{s:4:"full";s:73:"/local/templates/simpleIT/vue/components/Basket/Basket.js?171141808725421";s:6:"source";s:57:"/local/templates/simpleIT/vue/components/Basket/Basket.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/
BX.Vue.component('Basket', {
    data: ()=&gt;({
        timeoutId: null,
        inputTippy: new Map(),
        successCouponStatus: [8],
        errorCouponStatus: [1, 16],
        messageVisible: false
    }),
    computed: {
        ...BX.Vuex.mapState('Basket', {
            basket: state =&gt; state.basket?.BASKET &amp;&amp; state.basket.BASKET.length !== 0 ? state.basket.BASKET : false,
            regionCurrency: state =&gt; state.basket ? state.basket.REGION_CURRENCY : false,
            delayed: state =&gt; state.basket ? state.basket.DELAYED : false,
            basketParams: state =&gt; state.basketParams,
            basketSize: state =&gt; state.basket ? state.basket.SIZE : false,
            basketTotalPrice: state =&gt; state.basket ? Object.keys(state.basket.BASKET).reduce((previous, key) =&gt; {
                let item = state.basket.BASKET[key]
                if (item.IN_BASKET || state.basket.DELAYED) {
                    previous += item.DISCOUNT_PRICE_ROUNDED * item.QUANTITY
                }
                return previous
            }, 0) : false,
            basketTotalWithoutSalePrice: state =&gt; state.basket ? Object.keys(state.basket.BASKET).reduce((previous, key) =&gt; {
                let item = state.basket.BASKET[key]
                if ((item.IN_BASKET || state.basket.DELAYED) &amp;&amp; item.SALE.VALUE &gt; 0) {
                    previous += item.PRICE_ROUNDED * item.QUANTITY
                }
                return previous
            }, 0) : false,
            basketTotalSale: state =&gt; state.basket ? Object.keys(state.basket.BASKET).reduce((previous, key) =&gt; {
                let item = state.basket.BASKET[key]
                if ((item.IN_BASKET || state.basket.DELAYED) &amp;&amp; item.SALE.VALUE &gt; 0) {
                    previous += item.DISCOUNT_VALUE_ROUNDED * item.QUANTITY
                }
                return previous
            }, 0) : false,
            basketTotalVat: state =&gt; (state.basket &amp;&amp; !state.basket.FOREIGN_REGION) ? Object.keys(state.basket.BASKET).reduce((previous, key) =&gt; {
                let item = state.basket.BASKET[key]
                if ((item.IN_BASKET &amp;&amp; item.VAT_ID == 2) || (state.basket.DELAYED &amp;&amp; item.VAT_ID == 2) ) {
                    previous += item.DISCOUNT_PRICE_ROUNDED * 20 / 120 * item.QUANTITY
                }
                return previous
            }, 0).toFixed(2) : false,
            productsNames: state =&gt; state.basket ? Object.keys(state.basket.BASKET).reduce((previous, key) =&gt; {
                let item = state.basket.BASKET[key]
                if (item.IN_BASKET || state.basket.DELAYED) {
                    if (previous === '') {
                        previous += `${item.NAME} - ${item.QUANTITY} ÑˆÑ‚.`
                    } else {
                        previous += `, ${item.NAME} - ${item.QUANTITY} ÑˆÑ‚.`
                    }
                }
                return previous
            }, '') : false,
            coupons: function(state) {
                if (!_.isEmpty(state.coupons) &amp;&amp; !state.basket.DELAYED) {
                    return Object.entries(state.coupons).reduce((accumulator, [couponName, couponInfo]) =&gt; {
                        switch (couponInfo.STATUS) {
                            case 1:
                                accumulator[couponName] = {
                                    name: couponName,
                                    status: 'ÐŸÑ€Ð¾Ð¼Ð¾ÐºÐ¾Ð´ Ð½Ðµ Ð½Ð°Ð¹Ð´ÐµÐ½',
                                    discription: couponInfo.DISCOUNT_NAME,
                                    class: 'error'
                                }
                                break;
                            case 16:
                                accumulator[couponName] = {
                                    name: couponName,
                                    status: 'Ð¡Ñ€Ð¾Ðº Ð´ÐµÐ¹ÑÑ‚Ð²Ð¸Ñ Ð¿Ñ€Ð¾Ð¼Ð¾ÐºÐ¾Ð´Ð° Ð¸ÑÑ‚ÐµÐº',
                                    discription: couponInfo.DISCOUNT_NAME,
                                    class: 'error'
                                }
                                break;
                            case 8:
                                accumulator[couponName] = {
                                    name: couponName,
                                    status: 'ÐŸÑ€Ð¾Ð¼Ð¾ÐºÐ¾Ð´ Ð¿Ñ€Ð¸Ð¼ÐµÐ½ÐµÐ½',
                                    discription: couponInfo.DISCOUNT_NAME,
                                    class: 'success'
                                }
                                break;
                        }
                        return accumulator
                    }, {})
                }
                return false
            },
        }),
        messageClass() {
            return "basket__message";
            if(this.messageVisible) {
                return "basket__message visible";
            }
        }
    },
    methods: {
        ...BX.Vuex.mapActions('Basket', [
            'getBasket',
            'getDelayed',
            'getCoupons',
            'removeFromBasket',
            'removeAllFromBasket',
            'addManyToBasket',
            'setCoupon',
            'clearCoupons',
            'addToBasket',
        ]),
        ...BX.Vuex.mapMutations('Basket', [
            'setQuantityProduct',
        ]),
        getMaxQuantity: function({itemId}) {
            return this.basket[itemId]?.MAX_QUANTITY ? this.basket[itemId].MAX_QUANTITY : 100000
        },
        isValidQuantity: function({quantity, itemId}) {
            return quantity &gt;= 1 &amp;&amp; +quantity &lt;= this.getMaxQuantity({itemId})
        },
        correctInvalidQuantity: function({input, itemId, newQuantity}) {
            if (newQuantity == 0 ) {
                input.value = 1
                this.setQuantityProduct({ id: itemId, newQuantity: 1})
                this.showInputWarn({input, errorText: 'ÐÐµÐ´Ð¾Ð¿ÑƒÑÑ‚Ð¸Ð¼Ð¾Ðµ Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ðµ!'})
            } else {
                input.value = this.getMaxQuantity({itemId})
                this.setQuantityProduct({ id: itemId, newQuantity: this.getMaxQuantity({itemId})})
                this.showInputWarn({input, errorText: 'ÐœÐ°ÐºÑÐ¸Ð¼Ð°Ð»ÑŒÐ½Ð¾Ðµ Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ðµ!'})
            }
        },
        setNewQuantity: function(event) {
            event.preventDefault()
            let input, newQuantity, itemId;
            switch (event.currentTarget.tagName) {
                case 'INPUT': {
                    input = event.currentTarget,
                    itemId = input.dataset.itemId,
                    newQuantity = +input.value;
                } break;

                case 'BUTTON': {
                    input = event.currentTarget.parentNode.querySelector('input'),
                    newQuantity = +event.currentTarget.dataset.newQuantity,
                    itemId = event.currentTarget.dataset.itemId;
                } break;
            }

            if (this.isValidQuantity({ quantity: newQuantity, itemId})) {
                this.setQuantityProduct({ id: itemId, newQuantity})
            } else {
                this.correctInvalidQuantity({input, itemId, newQuantity})
            }
        },
        showInputWarn: function({input, errorText}) {
            if (this.timeoutId)
                clearTimeout(this.timeoutId)
    
            let tippy = this.getInputTippy({input})
            tippy.setContent(errorText);
            tippy.show();
            this.timeoutId = setTimeout(() =&gt; {
                tippy.hide()
                this.timeoutId = null
            }, 1500)
        },
        getInputTippy: function({input}) {
            if (!this.inputTippy.get(input)) {
                this.inputTippy.set(input, tippy(input, {trigger: 'manual'}))
            }
            return this.inputTippy.get(input)
        },
        getItemDataForRequst: function({id}) {
            return {
                'ID': this.basket[id].ID,
                'QUANTITY': this.basket[id].QUANTITY,
            }
        },
        saveBasket: async function(event) {
            let productsArray = Object.keys(this.basket).reduce((accumulator, key) =&gt; {
                if (this.basket[key].IN_BASKET || this.delayed) {
                    accumulator.push(this.getItemDataForRequst({id: key}))
                }
                return accumulator
            }, [])

            this.addManyToBasket({productsArray})
        },
        applyCoupon: function(event) {
            event.preventDefault()
            let input = event.currentTarget.parentNode.querySelector('input')

            if (input.value) {
                this.setCoupon({coupon: input.value})
                input.value = ''
            }
        },
        deleteCoupons: function() {
            this.clearCoupons()
        },
        applyRipple: async function() {
            const { Ripple } = await Helpers.getModule({ moduleName: 'ripple.min' })
            new Ripple(".button").init();
        },
        formatNumber: number =&gt; new Intl.NumberFormat('ru-RU').format(number),
        getReplacedCurrencyString: function({num, formate = true}) {
            if (formate) {
                return this.regionCurrency.replace(/#/gi, this.formatNumber(num))
            } else {
                return this.regionCurrency.replace(/#/gi, num)
            }
        },

        buildBasketQuery() {
            let ar = [];
            Object.keys(this.basket).forEach(key=&gt;{
                ar.push(`basket[${key}]=${this.basket[key].QUANTITY}`)
            })
            return ar.join("&amp;")
        },

        copyBasketLink() {
            if(navigator.clipboard) {
                navigator.clipboard.writeText(window.location.origin + "/basket/public-view/?" + this.buildBasketQuery() + "&amp;isDelayed=N");
                this.showCopiedMessage();
            }
        },

        copyRelatedLink() {
            if(navigator.clipboard) {
                navigator.clipboard.writeText(window.location.origin + "/basket/public-view/?" + this.buildBasketQuery() + "&amp;isDelayed=Y");
                this.showCopiedMessage();
            }
        },

        showCopiedMessage() {
            this.messageVisible = true;
            setTimeout(() =&gt; {
                this.$refs.messageBox.classList.add("visible");
                setTimeout(() =&gt; {
                    this.$refs.messageBox.classList.remove("visible");
                    setTimeout(() =&gt; {
                        this.messageVisible = false;
                    },300)
                }, 2000)
            }, 50)
        }
    },
    mounted() {
        if (!this.basket) {
            if (location.hash.indexOf("delayed") != -1) {
                this.getDelayed()
                document.title = "ÐžÑ‚Ð»Ð¾Ð¶ÐµÐ½Ð½Ð¾Ðµ";
            } else {
                this.getBasket()
            }
        }
        if (!this.coupons) {
            this.getCoupons()
        }
    },
    updated() {
        if (this.basket) {
            this.applyRipple()
        }
    },
    template: `&lt;div class="container"&gt;
                    &lt;div class="basket"&gt;
                        &lt;div class="basket__loading" v-if="basketSize === false"&gt;
                            &lt;svg width="48" height="48" viewBox="0 0 300 300"&gt;
                                &lt;path d="M 150,0 a 150,150 0 0,1 106.066,256.066 l -35.355,-35.355 a -100,-100 0 0,0 -70.711,-170.711 z" fill="#0000001a"&gt;
                                    &lt;animateTransform attributeName="transform" attributeType="XML" type="rotate" from="0 150 150" to="360 150 150" begin="0s" dur=".8s" fill="freeze" repeatCount="indefinite"&gt;&lt;/animateTransform&gt;
                                &lt;/path&gt;
                            &lt;/svg&gt;
                        &lt;/div&gt;
                        &lt;div class="basket__empty" v-if="basketSize === 0"&gt;
                            &lt;svg class="basket__empty-icon" width="84.03" height="72" viewBox="0 0 84.03 72"&gt;
                                &lt;path d="M1570.92,203.46l-4.57,18.2a4.479,4.479,0,0,1-4.75,3.334c-0.04,0-.07.01-0.1,0.01h-47c-0.14,0-.26-0.028-0.39-0.04a4.219,4.219,0,0,1-4.67-3.445L1502.72,193H1491.5a4.5,4.5,0,0,1,0-9h14c0.1,0,.19.022,0.28,0.028a4.253,4.253,0,0,1,4.32,3.488L1512.57,198h53.93a0.117,0.117,0,0,1,.02,0,4.469,4.469,0,0,1,1.1.113A4.415,4.415,0,0,1,1570.92,203.46ZM1516.81,216h41.7l2.26-9h-46.08Zm5.69,13a13.5,13.5,0,1,1-13.5,13.5A13.5,13.5,0,0,1,1522.5,229Zm0,18a4.5,4.5,0,1,0-4.5-4.5A4.5,4.5,0,0,0,1522.5,247Zm31-18a13.5,13.5,0,1,1-13.5,13.5A13.5,13.5,0,0,1,1553.5,229Zm0,18a4.5,4.5,0,1,0-4.5-4.5A4.5,4.5,0,0,0,1553.5,247Z" transform="translate(-1487 -184)"/&gt;
                            &lt;/svg&gt;
                            &lt;div class="basket__empty-title" v-if="!delayed"&gt;Ð’Ð°ÑˆÐ° ÐºÐ¾Ñ€Ð·Ð¸Ð½Ð° Ð¿ÑƒÑÑ‚Ð°&lt;/div&gt;
                            &lt;div class="basket__empty-title" v-if="delayed"&gt;Ð’Ð°Ñˆ ÑÐ¿Ð¸ÑÐ¾Ðº Ð¾Ñ‚Ð»Ð¾Ð¶ÐµÐ½Ð½Ñ‹Ñ… Ñ‚Ð¾Ð²Ð°Ñ€Ð¾Ð² Ð¿ÑƒÑÑ‚&lt;/div&gt;
                            &lt;span v-if="!delayed"&gt;
                                &lt;a class="basket__card-link basket__card-link--return-product" href="/catalog/"&gt;ÐÐ°Ð¶Ð¼Ð¸Ñ‚Ðµ Ð·Ð´ÐµÑÑŒ&lt;/a&gt;, Ñ‡Ñ‚Ð¾Ð±Ñ‹ Ð¿Ñ€Ð¾Ð´Ð¾Ð»Ð¶Ð¸Ñ‚ÑŒ Ð¿Ð¾ÐºÑƒÐ¿ÐºÐ¸
                            &lt;/span&gt;
                            &lt;span v-if="delayed"&gt;
                                &lt;a class="basket__card-link basket__card-link--return-product" href="/basket/"&gt;ÐÐ°Ð¶Ð¼Ð¸Ñ‚Ðµ Ð·Ð´ÐµÑÑŒ&lt;/a&gt;, Ñ‡Ñ‚Ð¾Ð±Ñ‹ Ð¿ÐµÑ€ÐµÐ¹Ñ‚Ð¸ Ð² ÐºÐ¾Ñ€Ð·Ð¸Ð½Ñƒ
                            &lt;/span&gt;
                        &lt;/div&gt;
                        &lt;div class="row" v-if="basketSize &gt; 0"&gt;
                            &lt;div class="col col-12 col-sm-6 col-lg-8 col-xl-9"&gt;

                                &lt;div class="col-12 basket__item" v-for="item in basket"&gt;

                                    &lt;div class="basket__card basket__card--removed" v-if="!item.IN_BASKET &amp;&amp; !delayed"&gt;
                                        &lt;span&gt;Ð¢Ð¾Ð²Ð°Ñ€ &lt;a :href="item.URL" class="basket__card-link basket__card-link--return-product"&gt;{{item.NAME}}&lt;/a&gt; Ð±Ñ‹Ð» ÑƒÐ´Ð°Ð»ÐµÐ½ Ð¸Ð· ÐºÐ¾Ñ€Ð·Ð¸Ð½Ñ‹.&lt;/span&gt;
                                        &lt;button class="basket__card-link basket__card-link--return-product" @click="addToBasket({id: item.ID, quantity: item.QUANTITY})"&gt;Ð’ÐµÑ€Ð½ÑƒÑ‚ÑŒ&lt;/button&gt;
                                    &lt;/div&gt;

                                    &lt;div class="basket__card" v-if="item.IN_BASKET || delayed"&gt;

                                        &lt;a class="basket__card-link" :href="item.URL"&gt;
                                            &lt;img class="basket__card-image" :src="item.PREVIEW_PICTURE" :alt="item.NAME"&gt;
                                        &lt;/a&gt;

                                        &lt;div class="basket__card-info"&gt;
                                            &lt;a class="basket__card-info__title" :href="item.URL"&gt;{{item.NAME}}&lt;/a&gt;
                                            &lt;span class="basket__card-info-discount item_code" v-if="item.PROPERTIES.ITEM_CODE"&gt;ÐšÐ¾Ð´-Ñ‚Ð¾Ð²Ð°Ñ€Ð°: {{item.PROPERTIES.ITEM_CODE.VALUE}}&lt;/span&gt;
                                            &lt;div class="basket__card-actions" v-if="!delayed"&gt;

                                                &lt;div class="quantity-controller"&gt;

                                                    &lt;button class="quantity-controller__minus" @click="setNewQuantity" :data-item-id="item.ID" :data-new-quantity="item.QUANTITY - 1"&gt;
                                                        &lt;svg width="11" height="11" viewBox="0 0 11 1"&gt;&lt;rect width="11" height="1" rx="0.5" ry="0.5"&gt;&lt;/rect&gt;&lt;/svg&gt;
                                                    &lt;/button&gt;

                                                    &lt;input class="quantity-controller__input" :value="item.QUANTITY" @change="setNewQuantity" :data-item-id="item.ID" type="text"/&gt;

                                                    &lt;button class="quantity-controller__plus" @click="setNewQuantity" :data-item-id="item.ID" :data-new-quantity="item.QUANTITY + 1"&gt;
                                                        &lt;svg width="11" height="11" viewBox="0 0 11 11"&gt;&lt;path d="M1034.5,193H1030v4.5a0.5,0.5,0,0,1-1,0V193h-4.5a0.5,0.5,0,0,1,0-1h4.5v-4.5a0.5,0.5,0,0,1,1,0V192h4.5A0.5,0.5,0,0,1,1034.5,193Z" transform="translate(-1024 -187)"&gt;&lt;/path&gt;&lt;/svg&gt;
                                                    &lt;/button&gt;

                                                &lt;/div&gt;

                                            &lt;/div&gt;

                                            &lt;span class="basket__card-info-discount" v-if="item.SALE.VALUE &gt; 0"&gt;Ð¡ÐºÐ¸Ð´ÐºÐ°: {{item.SALE.VALUE}}%&lt;/span&gt;
                                            &lt;template class="basket__total-coupon-list__item" v-if="item.COUPON_APPLIED" v-for="coupon in coupons"&gt;
                                                &lt;span class="basket__card-info-discount" v-if="coupon.discription"&gt;+ {{coupon.discription }}&lt;/span&gt;
                                            &lt;/template&gt;
                                        &lt;/div&gt;

                                        &lt;div class="basket__card-total-price"&gt;
                                            &lt;span class="basket__total-prices__item basket__total-prices__total-price"&gt;{{ getReplacedCurrencyString({num: item.QUANTITY * item.DISCOUNT_PRICE_ROUNDED}) }}&lt;/span&gt;
                                            &lt;span class="basket__total-prices__item basket__total-prices__total-price-sale" v-if="item.SALE.VALUE &gt; 0"&gt;{{ getReplacedCurrencyString({num: item.QUANTITY * item.PRICE_ROUNDED}) }}&lt;/span&gt;
                                            &lt;span class="basket__total-prices__item basket__total-prices__total-sale" v-if="item.SALE.VALUE &gt; 0"&gt;Ð­ÐºÐ¾Ð½Ð¾Ð¼Ð¸Ñ {{  getReplacedCurrencyString({num: item.QUANTITY * item.PRICE_ROUNDED - item.QUANTITY * item.DISCOUNT_PRICE_ROUNDED}) }}&lt;/span&gt;
                                            &lt;button v-if="delayed" class="button basket__total-actions__add-basket-button has-ripple" @click="addToBasket({id: item.ID, quantity: item.QUANTITY, replaceQuantity: 'Y'})"&gt;Ð”Ð¾Ð±Ð°Ð²Ð¸Ñ‚ÑŒ Ð² ÐºÐ¾Ñ€Ð·Ð¸Ð½Ñƒ&lt;/button&gt;
                                        &lt;/div&gt;

                                        &lt;svg class="basket__card-remove" viewBox="0 0 24 24" @click="removeFromBasket({id: item.ID})" title="Ð£Ð´Ð°Ð»Ð¸Ñ‚ÑŒ Ñ‚Ð¾Ð²Ð°Ñ€"&gt;
                                            &lt;path d="M13.41,12l4.3-4.29a1,1,0,1,0-1.42-1.42L12,10.59,7.71,6.29A1,1,0,0,0,6.29,7.71L10.59,12l-4.3,4.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L12,13.41l4.29,4.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z"&gt;&lt;/path&gt;
                                        &lt;/svg&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                            &lt;div class="col col-12 col-sm-6 col-lg-4 col-xl-3 basket__total-container"&gt;
                                &lt;div class="basket__total"&gt;

                                    &lt;div class="basket__total-block"&gt;
                                        &lt;div class="basket__total-prices"&gt;
                                            &lt;span class="basket__total-prices__item basket__total-prices__total-price" v-if="basketTotalPrice"&gt;Ð˜Ñ‚Ð¾Ð³Ð¾: {{ getReplacedCurrencyString({num: basketTotalPrice}) }}&lt;/span&gt;
                                            &lt;span class="basket__total-prices__item basket__total-prices__total-price-sale__label" v-if="basketTotalWithoutSalePrice"&gt;
                                                Ð‘ÐµÐ· ÑÐºÐ¸Ð´Ð¾Ðº: &lt;span class="basket__total-prices__total-price-sale"&gt; {{ getReplacedCurrencyString({num: basketTotalWithoutSalePrice}) }}&lt;/span&gt;
                                            &lt;/span&gt;
                                            &lt;span class="basket__total-prices__item basket__total-prices__total-sale" v-if="basketTotalSale"&gt;Ð­ÐºÐ¾Ð½Ð¾Ð¼Ð¸Ñ: {{ getReplacedCurrencyString({num: basketTotalSale}) }}&lt;/span&gt;
                                            &lt;span class="basket__total-prices__item basket__total-prices__total-vat" v-if="basketTotalVat"&gt;Ð¡ÑƒÐ¼Ð¼Ð° ÐÐ”Ð¡: {{ getReplacedCurrencyString({num: basketTotalVat}) }}&lt;/span&gt;
                                        &lt;/div&gt;
                                    &lt;/div&gt;

                                    &lt;div class="basket__total-actions" v-if="basketTotalPrice &gt;= basketParams.MIN_BASKET_PRICE &amp;&amp; !delayed"&gt;
                                        &lt;button class="button basket__total-actions__button has-ripple" @click="saveBasket"&gt;ÐžÑ„Ð¾Ñ€Ð¼Ð¸Ñ‚ÑŒ Ð·Ð°ÐºÐ°Ð·&lt;/button&gt;
                                        &lt;button class="button basket__total-actions__button has-ripple" :data-product_name="productsNames" data-trigger="formTrigger" data-form_id="38"&gt;Ð‘Ñ‹ÑÑ‚Ñ€Ñ‹Ð¹ Ð·Ð°ÐºÐ°Ð·&lt;/button&gt;
                                    &lt;/div&gt;

                                    &lt;div class="basket__total-actions" v-if="delayed"&gt;
                                        &lt;button class="button basket__total-actions__button has-ripple" @click="saveBasket"&gt;Ð”Ð¾Ð±Ð°Ð²Ð¸Ñ‚ÑŒ Ð²ÑÐµ&lt;/button&gt;
                                        &lt;button class="button basket__total-actions__button has-ripple" :data-product_name="productsNames" data-trigger="formTrigger" data-form_id="38"&gt;Ð‘Ñ‹ÑÑ‚Ñ€Ñ‹Ð¹ Ð·Ð°ÐºÐ°Ð·&lt;/button&gt;
                                    &lt;/div&gt;

                                    &lt;div class="basket__total-min-price" v-if="basketTotalPrice &lt;= basketParams.MIN_BASKET_PRICE"&gt;
                                        &lt;div class="basket__total-min-price"&gt;
                                            &lt;span class="basket__total-min-price__text"&gt;ÐœÐ¸Ð½Ð¸Ð¼Ð°Ð»ÑŒÐ½Ð°Ñ ÑÑƒÐ¼Ð¼Ð° Ð·Ð°ÐºÐ°Ð·Ð° {{ getReplacedCurrencyString({num: basketParams.MIN_BASKET_PRICE, formate: false}) }}&lt;/span&gt;
                                        &lt;/div&gt;
                                    &lt;/div&gt;

                                    &lt;div class="basket__total-coupon" v-if="!coupons &amp;&amp; !delayed"&gt;
                                        &lt;form :submit.prevent="applyCoupon"&gt;
                                            &lt;input class="basket__total-coupon__input" placeholder="Ð’Ð²ÐµÐ´Ð¸Ñ‚Ðµ ÐºÐ¾Ð´ ÐºÑƒÐ¿Ð¾Ð½Ð° Ð´Ð»Ñ ÑÐºÐ¸Ð´ÐºÐ¸"&gt;
                                            &lt;button class="button basket__total-coupon__apply-button" @click="applyCoupon" type="submit"&gt;
                                                &lt;svg class="basket__total-coupon__arrow" width="16" height="10" viewBox="0 0 16 10"&gt;
                                                    &lt;path d="M654.7,381.707l-3.991,3.985a1,1,0,0,1-1.41-1.414L651.576,382H640a1,1,0,0,1,0-2h11.589l-2.3-2.31a1,1,0,0,1,1.41-1.414l3.991,4.017A1,1,0,0,1,654.7,381.707Z" transform="translate(-639 -376)"/&gt;
                                                &lt;/svg&gt;
                                            &lt;/button&gt;
                                        &lt;form&gt;
                                    &lt;/div&gt;
                                    &lt;div class="basket__total-coupon-list" v-if="coupons"&gt;
                                        &lt;div class="basket__total-coupon-list__item" v-for="coupon in coupons"&gt;
                                            &lt;svg class="basket__total-coupon-list__item-remove" viewBox="0 0 24 24" @click="deleteCoupons" title="Ð£Ð´Ð°Ð»Ð¸Ñ‚ÑŒ ÐºÑƒÐ¿Ð¾Ð½"&gt;
                                                &lt;path d="M13.41,12l4.3-4.29a1,1,0,1,0-1.42-1.42L12,10.59,7.71,6.29A1,1,0,0,0,6.29,7.71L10.59,12l-4.3,4.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L12,13.41l4.29,4.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z"&gt;&lt;/path&gt;
                                            &lt;/svg&gt;
                                            &lt;span class="basket__total-coupon-list__item-name"&gt;
                                                {{coupon.name}} - 
                                            &lt;/span&gt;
                                            &lt;span class="basket__total-coupon-list__item-status" :class="coupon.class"&gt;
                                                {{coupon.status}}
                                            &lt;/span&gt;
                                            &lt;span class="basket__total-coupon-list__item-discription" v-if="coupon.discription"&gt;
                                                ({{coupon.discription}})
                                            &lt;/span&gt;
                                        &lt;/div&gt;
                                    &lt;/div&gt;
                                    &lt;div class="basket__total-actions"&gt; 
                                        &lt;button v-if="delayed" class="button basket__total-actions__button has-ripple" @click="copyRelatedLink"&gt;ÐŸÐ¾Ð´ÐµÐ»Ð¸Ñ‚ÑŒÑÑ Ð¾Ñ‚Ð»Ð¾Ð¶ÐµÐ½Ð½Ñ‹Ð¼&lt;/button&gt;
                                        &lt;button v-else class="button basket__total-actions__button has-ripple" @click="copyBasketLink"&gt;ÐŸÐ¾Ð´ÐµÐ»Ð¸Ñ‚ÑŒÑÑ ÐºÐ¾Ñ€Ð·Ð¸Ð½Ð¾Ð¹&lt;/button&gt;
                                    &lt;/div&gt;
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div :class="messageClass" v-show="messageVisible" ref="messageBox"&gt; 
                        &lt;svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"&gt;&lt;/path&gt;&lt;/svg&gt;
                        Ð¡ÑÑ‹Ð»ÐºÐ° ÑÐºÐ¾Ð¿Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð° Ð² Ð±ÑƒÑ„ÐµÑ€ Ð¾Ð±Ð¼ÐµÐ½Ð°
                    &lt;/div&gt;
                &lt;/div&gt;`
});
/* End */
;; /* /local/templates/simpleIT/js/splide/splide.min.js?171141796727577*/
; /* /local/templates/simpleIT/js/notification/notification.js?171141796710594*/
; /* /local/templates/simpleIT/js/x-image/x-image.js?17114179693046*/
; /* /local/templates/simpleIT/js/sweetalert/sweetalert.js?171141796867469*/
; /* /local/templates/simpleIT/js/modules/Helpers.js?17114179681976*/
; /* /local/templates/simpleIT/themes/classic/header/header.js?171169982521578*/
; /* /local/templates/simpleIT/themes/classic/region/region.js?17119485507794*/
; /* /local/templates/simpleIT/themes/classic/address/address.js?17119485503757*/
; /* /local/templates/simpleIT/themes/classic/button/button.js?1711948550246*/
; /* /local/components/simpleit/header.basket/templates/classic/script.js?17114176596519*/
; /* /local/templates/simpleIT/components/bitrix/menu/classic.header/script.js?17114180832267*/
; /* /local/components/simpleit/header.fixed.basket/templates/classic/script.js?17114176576548*/
; /* /local/templates/simpleIT/components/bitrix/menu/classic.mobile.header.multilevel/script.js?17116818373412*/
; /* /local/templates/simpleIT/js/tooltip/popper.js?171141796819492*/
; /* /local/templates/simpleIT/js/tooltip/tippy.js?171141796825716*/
; /* /local/templates/simpleIT/js/nouislider/nouislider.min.js?171141796926460*/
; /* /local/templates/simpleIT/js/select/select.min.js?171141796888560*/
; /* /local/templates/simpleIT/js/wNumb.js?17114179699439*/
; /* /local/templates/simpleIT/vue/services/FilterRangeSlider.js?1711418084487*/
; /* /local/templates/simpleIT/vue/services/helpers/vueHelper.js?17114180851395*/
; /* /local/templates/simpleIT/vue/services/requests/addManyToBasket.js?1711418085280*/
; /* /local/templates/simpleIT/vue/services/requests/addToBasket.js?1711418084252*/
; /* /local/templates/simpleIT/vue/services/requests/addToCompare.js?1711418084187*/
; /* /local/templates/simpleIT/vue/services/requests/clearCoupons.js?1711418085220*/
; /* /local/templates/simpleIT/vue/services/requests/favoriteAction.js?1711418084209*/
; /* /local/templates/simpleIT/vue/services/requests/getBasket.js?1711418085193*/
; /* /local/templates/simpleIT/vue/services/requests/getCoupons.js?1711418084238*/
; /* /local/templates/simpleIT/vue/services/requests/getDelayed.js?1711418084195*/
; /* /local/templates/simpleIT/vue/services/requests/getElement.js?1711418084372*/
; /* /local/templates/simpleIT/vue/services/requests/getFancyapp.js?1711418085101*/
; /* /local/templates/simpleIT/vue/services/requests/getSection.js?1711418085187*/
; /* /local/templates/simpleIT/vue/services/requests/getVueComponent.js?1711418085446*/
; /* /local/templates/simpleIT/vue/services/requests/removeAllFromBasket.js?1711418084164*/
; /* /local/templates/simpleIT/vue/services/requests/removeFromBasket.js?1711418085202*/
; /* /local/templates/simpleIT/vue/services/requests/removeFromCompare.js?1711418084194*/
; /* /local/templates/simpleIT/vue/services/requests/search.js?1711418085209*/
; /* /local/templates/simpleIT/vue/services/requests/setCoupon.js?1711418085276*/
; /* /local/templates/simpleIT/vue/store/store.js?171141808486*/
; /* /local/templates/simpleIT/vue/components/SearchTitle/SearchTitle.js?171141808614262*/
; /* /local/templates/simpleIT/vue/components/Basket/Basket.js?171141808725421*/
</pre></body></html>