function t(t,e,n){return function(t,e){for(var n=0;n{if(!document.querySelector(".orderpads-wrapper"))return;const t=document.querySelector(".myaccount.quicklistsedit");if(t){t.insertAdjacentHTML("afterbegin",'\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n ');const e=document.querySelector(".listtools-top .sortby");document.querySelector(".quicklists-header-right").insertAdjacentElement("afterbegin",e),document.querySelector(".quicklists-header-right").insertAdjacentElement("afterbegin",document.querySelector(".gridtopleft .itemsfound")),document.querySelector(".quicklists-header-left").insertAdjacentElement("afterbegin",document.querySelector(".breadcrumb")),document.querySelector(".listtools-top").insertAdjacentElement("afterbegin",document.querySelector(".quicklist-title"))}document.querySelectorAll(".orderpads-wrapper .productgridwidget .tileparent").forEach((e=>{if(t){const t=e.querySelector(".btn-update-default-qty");t&&e.querySelector(".buttons.group").insertAdjacentElement("beforeend",t);const n=e.querySelector(".actioncontent");n&&e.querySelector(".shopping-actions").insertAdjacentElement("beforeend",n);const i=e.querySelector(".delete");i&&i.insertAdjacentHTML("beforeend","Remove From Quicklist")}const n=document.createElement("div"),i=e.querySelector(".inputquantity");if(i){n.classList.add("quantity-wrapper"),i.insertAdjacentElement("beforebegin",n),n.appendChild(i);const t=document.createElement("button");t.classList.add("plus-btn"),t.innerHTML='',n.insertAdjacentElement("beforeend",t);const e=document.createElement("button");e.classList.add("minus-btn"),e.innerHTML='',n.insertAdjacentElement("afterbegin",e),t.addEventListener("click",(function(){const t=parseInt(i.value,10)||0;i.value=t+1,i.dispatchEvent(new Event("change",{bubbles:!0}))})),e.addEventListener("click",(function(){const t=parseInt(i.value,10)||0;t>0&&(i.value=t-1,i.dispatchEvent(new Event("change",{bubbles:!0})))}))}const r=document.createElement("div");r.classList.add("product-stock-and-actions"),e.querySelector(".shopping-actions").appendChild(r);const o=e.querySelector(".quicklist-groups-btn-wrapper");o&&r.insertAdjacentElement("beforeend",o);const u=e.querySelector(".live-inventory-v2-wrapper");u&&t?r.insertAdjacentElement("beforeend",u):u&&e.querySelector(".buttons.group").insertAdjacentElement("beforeend",u);const a=e.querySelector(".product-compare-action");a&&r.insertAdjacentElement("beforeend",a)})),document.addEventListener("live-inventory-done",(()=>{console.log("live inventory has just finished running"),document.querySelectorAll(".orderpads-wrapper .productgridwidget .tileparent").forEach((t=>{const e=t.querySelector(".inputquantity");if(!e)return void(t.querySelector(".quantity-wrapper")&&(t.querySelector(".quantity-wrapper").style.display="none"));const n=t.querySelector(".has-price");if(!n)return;let i=t.querySelector(".total-price");i||(i=document.createElement("span"),i.classList.add("total-price"),n.insertAdjacentElement("afterend",i));const r=()=>{const t=n.textContent.trim(),r=(parseFloat(t.replace(/[^0-9.-]+/g,""))||0)*(parseInt(e.value,10)||0);i.textContent=r>0?`€${r.toFixed(2)}`:"€0.00"};e.addEventListener("change",r),e.addEventListener("input",r),r()}))}),!1)})());var e="(prefers-reduced-motion: reduce)",n={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function i(t){t.length=0}function r(t,e,n){return Array.prototype.slice.call(t,e,n)}function o(t){return t.bind.apply(t,[null].concat(r(arguments,1)))}var u=setTimeout,a=function(){};function c(t){return requestAnimationFrame(t)}function s(t,e){return typeof e===t}function l(t){return!m(t)&&s("object",t)}var d=Array.isArray,f=o(s,"function"),p=o(s,"string"),v=o(s,"undefined");function m(t){return null===t}function h(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function g(t){return d(t)?t:[t]}function y(t,e){g(t).forEach(e)}function b(t,e){return t.indexOf(e)>-1}function w(t,e){return t.push.apply(t,g(e)),t}function E(t,e,n){t&&y(e,(function(e){e&&t.classList[n?"add":"remove"](e)}))}function S(t,e){E(t,p(e)?e.split(" "):e,!0)}function x(t,e){y(e,t.appendChild.bind(t))}function k(t,e){y(t,(function(t){var n=(e||t).parentNode;n&&n.insertBefore(t,e)}))}function L(t,e){return h(t)&&(t.msMatchesSelector||t.matches).call(t,e)}function q(t,e){var n=t?r(t.children):[];return e?n.filter((function(t){return L(t,e)})):n}function C(t,e){return e?q(t,e)[0]:t.firstElementChild}var P=Object.keys;function A(t,e,n){return t&&(n?P(t).reverse():P(t)).forEach((function(n){"__proto__"!==n&&e(t[n],n)})),t}function _(t){return r(arguments,1).forEach((function(e){A(e,(function(n,i){t[i]=e[i]}))})),t}function j(t){return r(arguments,1).forEach((function(e){A(e,(function(e,n){d(e)?t[n]=e.slice():l(e)?t[n]=j({},l(t[n])?t[n]:{},e):t[n]=e}))})),t}function M(t,e){y(e||P(t),(function(e){delete t[e]}))}function D(t,e){y(t,(function(t){y(e,(function(e){t&&t.removeAttribute(e)}))}))}function z(t,e,n){l(e)?A(e,(function(e,n){z(t,n,e)})):y(t,(function(t){m(n)||""===n?D(t,e):t.setAttribute(e,String(n))}))}function T(t,e,n){var i=document.createElement(t);return e&&(p(e)?S(i,e):z(i,e)),n&&x(n,i),i}function I(t,e,n){if(v(n))return getComputedStyle(t)[e];m(n)||(t.style[e]=""+n)}function N(t,e){I(t,"display",e)}function O(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function F(t,e){return t.getAttribute(e)}function R(t,e){return t&&t.classList.contains(e)}function H(t){return t.getBoundingClientRect()}function W(t){y(t,(function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}))}function X(t){return C((new DOMParser).parseFromString(t,"text/html").body)}function G(t,e){t.preventDefault(),e&&(t.stopPropagation(),t.stopImmediatePropagation())}function B(t,e){return t&&t.querySelector(e)}function Q(t,e){return e?r(t.querySelectorAll(e)):[]}function U(t,e){E(t,e,!1)}function Y(t){return t.timeStamp}function K(t){return p(t)?t:t?t+"px":""}var J="splide",V="data-"+J;function Z(t,e){if(!t)throw new Error("["+J+"] "+(e||""))}var tt=Math.min,et=Math.max,nt=Math.floor,it=Math.ceil,rt=Math.abs;function ot(t,e,n){return rt(t-e)0)-+(t<0)}function st(t,e){return y(e,(function(e){t=t.replace("%s",""+e)})),t}function lt(t){return t<10?"0"+t:""+t}var dt={};function ft(){var t=[];function e(t,e,n){y(t,(function(t){t&&y(e,(function(e){e.split(" ").forEach((function(e){var i=e.split(".");n(t,i[0],i[1])}))}))}))}return{bind:function(n,i,r,o){e(n,i,(function(e,n,i){var u="addEventListener"in e,a=u?e.removeEventListener.bind(e,n,r,o):e.removeListener.bind(e,r);u?e.addEventListener(n,r,o):e.addListener(r),t.push([e,n,i,r,a])}))},unbind:function(n,i,r){e(n,i,(function(e,n,i){t=t.filter((function(t){return!!(t[0]!==e||t[1]!==n||t[2]!==i||r&&t[3]!==r)||(t[4](),!1)}))}))},dispatch:function(t,e,n){var i,r=!0;return"function"==typeof CustomEvent?i=new CustomEvent(e,{bubbles:r,detail:n}):(i=document.createEvent("CustomEvent")).initCustomEvent(e,r,!1,n),t.dispatchEvent(i),i},destroy:function(){t.forEach((function(t){t[4]()})),i(t)}}}var pt="mounted",vt="ready",mt="move",ht="moved",gt="click",yt="active",bt="inactive",wt="visible",Et="hidden",St="refresh",xt="updated",kt="resize",Lt="resized",qt="scroll",Ct="scrolled",Pt="destroy",At="arrows:mounted",_t="navigation:mounted",jt="autoplay:play",Mt="autoplay:pause",Dt="lazyload:loaded",zt="sk",Tt="sh",It="ei";function Nt(t){var e=t?t.event.bus:document.createDocumentFragment(),n=ft();return t&&t.event.on(Pt,n.destroy),_(n,{bus:e,on:function(t,i){n.bind(e,g(t).join(" "),(function(t){i.apply(i,d(t.detail)?t.detail:[])}))},off:o(n.unbind,e),emit:function(t){n.dispatch(e,t,r(arguments,1))}})}function Ot(t,e,n,i){var r,o,u=Date.now,a=0,s=!0,l=0;function d(){if(!s){if(a=t?tt((u()-r)/t,1):1,n&&n(a),a>=1&&(e(),r=u(),i&&++l>=i))return f();o=c(d)}}function f(){s=!0}function p(){o&&cancelAnimationFrame(o),a=0,o=0,s=!0}return{start:function(e){e||p(),r=u()-(e?a*t:0),s=!1,o=c(d)},rewind:function(){r=u(),a=0,n&&n(a)},pause:f,cancel:p,set:function(e){t=e},isPaused:function(){return s}}}var Ft="Arrow",Rt=Ft+"Left",Ht=Ft+"Right",Wt=Ft+"Up",Xt=Ft+"Down",Gt="ttb",Bt={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Wt,Ht],ArrowRight:[Xt,Rt]};var Qt="role",Ut="tabindex",Yt="aria-",Kt=Yt+"controls",Jt=Yt+"current",Vt=Yt+"selected",$t=Yt+"label",Zt=Yt+"labelledby",te=Yt+"hidden",ee=Yt+"orientation",ne=Yt+"roledescription",ie=Yt+"live",re=Yt+"busy",oe=Yt+"atomic",ue=[Qt,Ut,"disabled",Kt,Jt,$t,Zt,te,ee,ne],ae=J+"__",ce="is-",se=J,le=ae+"track",de=ae+"list",fe=ae+"slide",pe=fe+"--clone",ve=fe+"__container",me=ae+"arrows",he=ae+"arrow",ge=he+"--prev",ye=he+"--next",be=ae+"pagination",we=be+"__page",Ee=ae+"progress"+"__bar",Se=ae+"toggle",xe=ae+"sr",ke=ce+"initialized",Le=ce+"active",qe=ce+"prev",Ce=ce+"next",Pe=ce+"visible",Ae=ce+"loading",_e=ce+"focus-in",je=ce+"overflow",Me=[Le,Pe,qe,Ce,Ae,_e,je],De={slide:fe,clone:pe,arrows:me,arrow:he,prev:ge,next:ye,pagination:be,page:we,spinner:ae+"spinner"};var ze="touchstart mousedown",Te="touchmove mousemove",Ie="touchend touchcancel mouseup click";var Ne="slide",Oe="loop",Fe="fade";function Re(t,e,n,i){var r,u=Nt(t),a=u.on,c=u.emit,s=u.bind,l=t.Components,d=t.root,f=t.options,p=f.isNavigation,v=f.updateOnMove,m=f.i18n,h=f.pagination,g=f.slideFocus,y=l.Direction.resolve,b=F(i,"style"),w=F(i,$t),S=n>-1,x=C(i,"."+ve);function k(){var r=t.splides.map((function(t){var n=t.splide.Components.Slides.getAt(e);return n?n.slide.id:""})).join(" ");z(i,$t,st(m.slideX,(S?n:e)+1)),z(i,Kt,r),z(i,Qt,g?"button":""),g&&D(i,ne)}function L(){r||q()}function q(){if(!r){var n=t.index;(o=P())!==R(i,Le)&&(E(i,Le,o),z(i,Jt,p&&o||""),c(o?yt:bt,A)),function(){var e=function(){if(t.is(Fe))return P();var e=H(l.Elements.track),n=H(i),r=y("left",!0),o=y("right",!0);return nt(e[r])<=it(n[r])&&nt(n[o])<=it(e[o])}(),n=!e&&(!P()||S);t.state.is([4,5])||z(i,te,n||"");z(Q(i,f.focusableNodes||""),Ut,n?-1:""),g&&z(i,Ut,n?-1:0);e!==R(i,Pe)&&(E(i,Pe,e),c(e?wt:Et,A));if(!e&&document.activeElement===i){var r=l.Slides.getAt(t.index);r&&O(r.slide)}}(),E(i,qe,e===n-1),E(i,Ce,e===n+1)}var o}function P(){var i=t.index;return i===e||f.cloneStatus&&i===n}var A={index:e,slideIndex:n,slide:i,container:x,isClone:S,mount:function(){S||(i.id=d.id+"-slide"+lt(e+1),z(i,Qt,h?"tabpanel":"group"),z(i,ne,m.slide),z(i,$t,w||st(m.slideLabel,[e+1,t.length]))),s(i,"click",o(c,gt,A)),s(i,"keydown",o(c,zt,A)),a([ht,Tt,Ct],q),a(_t,k),v&&a(mt,L)},destroy:function(){r=!0,u.destroy(),U(i,Me),D(i,ue),z(i,"style",b),z(i,$t,w||"")},update:q,style:function(t,e,n){I(n&&x||i,t,e)},isWithin:function(n,i){var r=rt(n-e);return S||!f.rewind&&!t.is(Oe)||(r=tt(r,t.length-r)),r<=i}};return A}var He=V+"-interval";var We={passive:!1,capture:!0};var Xe={Spacebar:" ",Right:Ht,Left:Rt,Up:Wt,Down:Xt};function Ge(t){return t=p(t)?t:t.key,Xe[t]||t}var Be="keydown";var Qe=V+"-lazy",Ue=Qe+"-srcset",Ye="["+Qe+"], ["+Ue+"]";var Ke=[" ","Enter"];var Je=Object.freeze({__proto__:null,Media:function(t,n,i){var r=t.state,o=i.breakpoints||{},u=i.reducedMotion||{},a=ft(),c=[];function s(t){t&&a.destroy()}function l(t,e){var n=matchMedia(e);a.bind(n,"change",d),c.push([t,n])}function d(){var e=r.is(7),n=i.direction,o=c.reduce((function(t,e){return j(t,e[1].matches?e[0]:{})}),{});M(i),f(o),i.destroy?t.destroy("completely"===i.destroy):e?(s(!0),t.mount()):n!==i.direction&&t.refresh()}function f(e,n,o){j(i,e),n&&j(Object.getPrototypeOf(i),e),!o&&r.is(1)||t.emit(xt,i)}return{setup:function(){var t="min"===i.mediaQuery;P(o).sort((function(e,n){return t?+e-+n:+n-+e})).forEach((function(e){l(o[e],"("+(t?"min":"max")+"-width:"+e+"px)")})),l(u,e),d()},destroy:s,reduce:function(t){matchMedia(e).matches&&(t?j(i,u):M(i,P(u)))},set:f}},Direction:function(t,e,n){return{resolve:function(t,e,i){var r="rtl"!==(i=i||n.direction)||e?i===Gt?0:-1:1;return Bt[t]&&Bt[t][r]||t.replace(/width|left|right/i,(function(t,e){var n=Bt[t.toLowerCase()][r]||t;return e>0?n.charAt(0).toUpperCase()+n.slice(1):n}))},orient:function(t){return t*("rtl"===n.direction?1:-1)}}},Elements:function(t,e,n){var r,o,u,a=Nt(t),c=a.on,s=a.bind,l=t.root,d=n.i18n,p={},v=[],m=[],h=[];function g(){r=x("."+le),o=C(r,"."+de),Z(r&&o,"A track/list element is missing."),w(v,q(o,"."+fe+":not(."+pe+")")),A({arrows:me,pagination:be,prev:ge,next:ye,bar:Ee,toggle:Se},(function(t,e){p[e]=x("."+t)})),_(p,{root:l,track:r,list:o,slides:v}),function(){var t=l.id||(i=J,""+i+lt(dt[i]=(dt[i]||0)+1)),e=n.role;var i;l.id=t,r.id=r.id||t+"-track",o.id=o.id||t+"-list",!F(l,Qt)&&"SECTION"!==l.tagName&&e&&z(l,Qt,e);z(l,ne,d.carousel),z(o,Qt,"presentation")}(),b()}function y(t){var e=ue.concat("style");i(v),U(l,m),U(r,h),D([r,o],e),D(l,t?e:["style",ne])}function b(){U(l,m),U(r,h),m=k(se),h=k(le),S(l,m),S(r,h),z(l,$t,n.label),z(l,Zt,n.labelledby)}function x(t){var e=B(l,t);return e&&function(t,e){if(f(t.closest))return t.closest(e);for(var n=t;n&&1===n.nodeType&&!L(n,e);)n=n.parentElement;return n}(e,"."+se)===l?e:void 0}function k(t){return[t+"--"+n.type,t+"--"+n.direction,n.drag&&t+"--draggable",n.isNavigation&&t+"--nav",t===se&&Le]}return _(p,{setup:g,mount:function(){c(St,y),c(St,g),c(xt,b),s(document,ze+" keydown",(function(t){u="keydown"===t.type}),{capture:!0}),s(l,"focusin",(function(){E(l,_e,!!u)}))},destroy:y})},Slides:function(t,e,n){var r=Nt(t),u=r.on,a=r.emit,c=r.bind,s=e.Elements,l=s.slides,d=s.list,v=[];function m(){l.forEach((function(t,e){E(t,e,-1)}))}function w(){C((function(t){t.destroy()})),i(v)}function E(e,n,i){var r=Re(t,n,i,e);r.mount(),v.push(r),v.sort((function(t,e){return t.index-e.index}))}function q(t){return t?P((function(t){return!t.isClone})):v}function C(t,e){q(e).forEach(t)}function P(t){return v.filter(f(t)?t:function(e){return p(t)?L(e.slide,t):b(g(t),e.index)})}return{mount:function(){m(),u(St,w),u(St,m)},destroy:w,update:function(){C((function(t){t.update()}))},register:E,get:q,getIn:function(t){var i=e.Controller,r=i.toIndex(t),o=i.hasFocus()?1:n.perPage;return P((function(t){return ut(t.index,r,r+o-1)}))},getAt:function(t){return P(t)[0]},add:function(t,e){y(t,(function(t){if(p(t)&&(t=X(t)),h(t)){var i=l[e];i?k(t,i):x(d,t),S(t,n.classes.slide),r=t,u=o(a,kt),s=Q(r,"img"),(f=s.length)?s.forEach((function(t){c(t,"load error",(function(){--f||u()}))})):u()}var r,u,s,f})),a(St)},remove:function(t){W(P(t).map((function(t){return t.slide}))),a(St)},forEach:C,filter:P,style:function(t,e,n){C((function(i){i.style(t,e,n)}))},getLength:function(t){return t?l.length:v.length},isEnough:function(){return v.length>n.perPage}}},Layout:function(t,e,n){var i,r,u,a=Nt(t),c=a.on,s=a.bind,d=a.emit,f=e.Slides,p=e.Direction.resolve,v=e.Elements,m=v.root,h=v.track,g=v.list,y=f.getAt,b=f.style;function w(){i=n.direction===Gt,I(m,"maxWidth",K(n.width)),I(h,p("paddingLeft"),x(!1)),I(h,p("paddingRight"),x(!0)),S(!0)}function S(t){var e=H(m);(t||r.width!==e.width||r.height!==e.height)&&(I(h,"height",function(){var t="";i&&(Z(t=k(),"height or heightRatio is missing."),t="calc("+t+" - "+x(!1)+" - "+x(!0)+")");return t}()),b(p("marginRight"),K(n.gap)),b("width",n.autoWidth?null:K(n.fixedWidth)||(i?"":L())),b("height",K(n.fixedHeight)||(i?n.autoHeight?null:L():k()),!0),r=e,d(Lt),u!==(u=j())&&(E(m,je,u),d("overflow",u)))}function x(t){var e=n.padding,i=p(t?"right":"left");return e&&K(e[i]||(l(e)?0:e))||"0px"}function k(){return K(n.height||H(g).width*n.heightRatio)}function L(){var t=K(n.gap);return"calc((100%"+(t&&" + "+t)+")/"+(n.perPage||1)+(t&&" - "+t)+")"}function q(){return H(g)[p("width")]}function C(t,e){var n=y(t||0);return n?H(n.slide)[p("width")]+(e?0:_()):0}function P(t,e){var n=y(t);if(n){var i=H(n.slide)[p("right")],r=H(g)[p("left")];return rt(i-r)+(e?0:_())}return 0}function A(e){return P(t.length-1)-P(0)+C(0,e)}function _(){var t=y(0);return t&&parseFloat(I(t.slide,p("marginRight")))||0}function j(){return t.is(Fe)||A(!0)>q()}return{mount:function(){var t,e;w(),s(window,"resize load",(t=o(d,kt),e=Ot(0,t,null,1),function(){e.isPaused()&&e.start()})),c([xt,St],w),c(kt,S)},resize:S,listSize:q,slideSize:C,sliderSize:A,totalSize:P,getPadding:function(t){return parseFloat(I(h,p("padding"+(t?"Right":"Left"))))||0},isOverflow:j}},Clones:function(t,e,n){var r,o=Nt(t),u=o.on,a=e.Elements,c=e.Slides,s=e.Direction.resolve,l=[];function d(){u(St,f),u([xt,kt],m),(r=h())&&(!function(e){var i=c.get().slice(),r=i.length;if(r){for(;i.lengthe.Controller.getEnd();(i<0||r)&&(n=k(n,r))}return n}(n);I(b,"transform","translate"+h("X")+"("+r+"px)"),n!==r&&u(Tt)}}function k(t,e){var n=t-A(e),i=p();return t-=g(i*(it(rt(n)/i)||1))*(e?1:-1)}function L(){x(P(),!0),i.cancel()}function q(t){for(var n=e.Slides.get(),i=0,r=1/0,o=0;on,c=g(k(P(),o)),o?c>=0:c<=b[h("scrollWidth")]-H(w)[h("width")])&&(L(),x(k(P(),t>n),!0)),a(4),u(mt,e,n,t),i.start(e,(function(){a(3),u(ht,e,n,t),r&&r()}))},jump:S,translate:x,shift:k,cancel:L,toIndex:q,toPosition:C,getPosition:P,getLimit:A,exceededLimit:function(t,e){e=v(e)?P():e;var n=!0!==t&&g(e)g(A(!0));return n||i},reposition:E}},Controller:function(t,e,n){var i,r,u,a,c=Nt(t),s=c.on,l=c.emit,d=e.Move,f=d.getPosition,m=d.getLimit,h=d.toPosition,g=e.Slides,y=g.isEnough,b=g.getLength,w=n.omitEnd,E=t.is(Oe),S=t.is(Ne),x=o(A,!1),k=o(A,!0),L=n.start||0,q=L;function C(){r=b(!0),u=n.perMove,a=n.perPage,i=M();var t=at(L,0,w?i:r-1);t!==L&&(L=t,d.reposition())}function P(){i!==M()&&l(It)}function A(t,e){var n=u||(I()?1:a),r=_(L+n*(t?-1:1),L,!(u||I()));return-1===r&&S&&!ot(f(),m(!t),1)?t?0:i:e?r:j(r)}function _(e,o,c){if(y()||I()){var s=function(e){if(S&&"move"===n.trimSpace&&e!==L)for(var i=f();i===h(e,!0)&&ut(e,0,t.length-1,!n.rewind);)ei?e=u||!ut(0,e,o,!0)&&!ut(i,o,e,!0)?E?c?e<0?-(r%a||a):r:e:n.rewind?e<0?i:0:-1:D(z(e)):c&&e!==o&&(e=D(z(o)+(e0;)if(h(r-1,!0)!==h(t,!0)){t++;break}return at(t,0,r-1)}function D(t){return at(I()?t:a*t,0,i)}function z(t){return I()?tt(t,i):nt((t>=i?r-1:t)/a)}function T(t){t!==L&&(q=L,L=t)}function I(){return!v(n.focus)||n.isNavigation}function N(){return t.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){C(),s([xt,St,It],C),s(Lt,P)},go:function(t,e,n){if(!N()){var r=function(t){var e=L;if(p(t)){var n=t.match(/([+\-<>])(\d+)?/)||[],r=n[1],o=n[2];"+"===r||"-"===r?e=_(L+ +(""+r+(+o||1)),L):">"===r?e=o?D(+o):x(!0):"<"===r&&(e=k(!0))}else e=E?t:at(t,0,i);return e}(t),o=j(r);o>-1&&(e||o!==L)&&(T(o),d.move(r,o,q,n))}},scroll:function(t,n,r,o){e.Scroll.scroll(t,n,r,(function(){var t=j(d.toIndex(f()));T(w?tt(t,i):t),o&&o()}))},getNext:x,getPrev:k,getAdjacent:A,getEnd:M,setIndex:T,getIndex:function(t){return t?q:L},toIndex:D,toPage:z,toDest:function(t){var e=d.toIndex(t);return S?at(e,0,i):e},hasFocus:I,isBusy:N}},Arrows:function(t,e,n){var i,r,u=Nt(t),a=u.on,c=u.bind,s=u.emit,l=n.classes,d=n.i18n,f=e.Elements,p=e.Controller,v=f.arrows,m=f.track,h=v,g=f.prev,y=f.next,b={};function w(){!function(){var t=n.arrows;!t||g&&y||(h=v||T("div",l.arrows),g=C(!0),y=C(!1),i=!0,x(h,[g,y]),!v&&k(h,m));g&&y&&(_(b,{prev:g,next:y}),N(h,t?"":"none"),S(h,r=me+"--"+n.direction),t&&(a([pt,ht,St,Ct,It],P),c(y,"click",o(q,">")),c(g,"click",o(q,"<")),P(),z([g,y],Kt,m.id),s(At,g,y)))}(),a(xt,E)}function E(){L(),w()}function L(){u.destroy(),U(h,r),i?(W(v?[g,y]:h),g=y=null):D([g,y],ue)}function q(t){p.go(t,!0)}function C(t){return X('