PageSourceSearch

https://www.toneres.com/themes/ZOneTheme/assets/js/theme.js

js toneres.com collected 2026-10-10 02:04:28 UTC 365,947 bytes, 2 lines download raw bytes

vendor: 4,623 bytes, lines 1-2
1/*! For license information please see theme.js.LICENSE.txt */
2(()=>{var t={750:(t,e,i)=>{"use strict";i.r(e),i.d(e,{afterMain:()=>_,afterRead:()=>y,afterWrite:()=>T,applyStyles:()=>A,arrow:()=>G,auto:()=>a,basePlacements:()=>l,beforeMain:()=>b,beforeRead:()=>v,beforeWrite:()=>S,bottom:()=>n,clippingParents:()=>p,computeStyles:()=>tt,createPopper:()=>Ot,createPopperBase:()=>Et,createPopperLite:()=>$t,detectOverflow:()=>mt,end:()=>d,eventListeners:()=>it,flip:()=>gt,hide:()=>yt,left:()=>r,main:()=>x,modifierPhases:()=>C,offset:()=>bt,placements:()=>g,popper:()=>u,popperGenerator:()=>zt,popperOffsets:()=>xt,preventOverflow:()=>_t,read:()=>w,reference:()=>f,right:()=>s,start:()=>c,top:()=>o,variationPlacements:()=>m,viewport:()=>h,write:()=>k});var o="top",n="bottom",s="right",r="left",a="auto",l=[o,n,s,r],c="start",d="end",p="clippingParents",h="viewport",u="popper",f="reference",m=l.reduce((function(t,e){return t.concat([e+"-"+c,e+"-"+d])}),[]),g=[].concat(l,[a]).reduce((function(t,e){return t.concat([e,e+"-"+c,e+"-"+d])}),[]),v="beforeRead",w="read",y="afterRead",b="beforeMain",x="main",_="afterMain",S="beforeWrite",k="write",T="afterWrite",C=[v,w,y,b,x,_,S,k,T];function z(t){return t?(t.nodeName||"").toLowerCase():null}function E(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function O(t){return t instanceof E(t).Element||t instanceof Element}function $(t){return t instanceof E(t).HTMLElement||t instanceof HTMLElement}function L(t){return"undefined"!=typeof ShadowRoot&&(t instanceof E(t).ShadowRoot||t instanceof ShadowRoot)}const A={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},o=e.attributes[t]||{},n=e.elements[t];$(n)&&z(n)&&(Object.assign(n.style,i),Object.keys(o).forEach((function(t){var e=o[t];!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],n=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});$(o)&&z(o)&&(Object.assign(o.style,s),Object.keys(n).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]};function I(t){return t.split("-")[0]}var j=Math.max,W=Math.min,P=Math.round;function M(t,e){void 0===e&&(e=!1);var i=t.getBoundingClientRect(),o=1,n=1;if($(t)&&e){var s=t.offsetHeight,r=t.offsetWidth;r>0&&(o=P(i.width)/r||1),s>0&&(n=P(i.height)/s||1)}return{width:i.width/o,height:i.height/n,top:i.top/n,right:i.right/o,bottom:i.bottom/n,left:i.left/o,x:i.left/o,y:i.top/n}}function H(t){var e=M(t),i=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:o}}function D(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&L(i)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function B(t){return E(t).getComputedStyle(t)}function N(t){return["table","td","th"].indexOf(z(t))>=0}function F(t){return((O(t)?t.ownerDocument:t.document)||window.document).documentElement}function R(t){return"html"===z(t)?t:t.assignedSlot||t.parentNode||(L(t)?t.host:null)||F(t)}function q(t){return $(t)&&"fixed"!==B(t).position?t.offsetParent:null}function Y(t){for(var e=E(t),i=q(t);i&&N(i)&&"static"===B(i).position;)i=q(i);return i&&("html"===z(i)||"body"===z(i)&&"static"===B(i).position)?e:i||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&$(t)&&"fixed"===B(t).position)return null;var i=R(t);for(L(i)&&(i=i.host);$(i)&&["html","body"].indexOf(z(i))<0;){var o=B(i);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return i;i=i.parentNode}return null}(t)||e}function X(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function U(t,e,i){return j(t,W(e,i))}function Z(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function V(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}const G={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,a=t.name,c=t.o
vendor: 4,241 bytes, line 2
2ptions,d=i.elements.arrow,p=i.modifiersData.popperOffsets,h=I(i.placement),u=X(h),f=[r,s].indexOf(h)>=0?"height":"width";if(d&&p){var m=function(t,e){return Z("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:V(t,l))}(c.padding,i),g=H(d),v="y"===u?o:r,w="y"===u?n:s,y=i.rects.reference[f]+i.rects.reference[u]-p[u]-i.rects.popper[f],b=p[u]-i.rects.reference[u],x=Y(d),_=x?"y"===u?x.clientHeight||0:x.clientWidth||0:0,S=y/2-b/2,k=m[v],T=_-g[f]-m[w],C=_/2-g[f]/2+S,z=U(k,C,T),E=u;i.modifiersData[a]=((e={})[E]=z,e.centerOffset=z-C,e)}},effect:function(t){var e=t.state,i=t.options.element,o=void 0===i?"[data-popper-arrow]":i;null!=o&&("string"!=typeof o||(o=e.elements.popper.querySelector(o)))&&D(e.elements.popper,o)&&(e.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Q(t){return t.split("-")[1]}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(t){var e,i=t.popper,a=t.popperRect,l=t.placement,c=t.variation,p=t.offsets,h=t.position,u=t.gpuAcceleration,f=t.adaptive,m=t.roundOffsets,g=t.isFixed,v=p.x,w=void 0===v?0:v,y=p.y,b=void 0===y?0:y,x="function"==typeof m?m({x:w,y:b}):{x:w,y:b};w=x.x,b=x.y;var _=p.hasOwnProperty("x"),S=p.hasOwnProperty("y"),k=r,T=o,C=window;if(f){var z=Y(i),O="clientHeight",$="clientWidth";z===E(i)&&"static"!==B(z=F(i)).position&&"absolute"===h&&(O="scrollHeight",$="scrollWidth"),z=z,(l===o||(l===r||l===s)&&c===d)&&(T=n,b-=(g&&z===C&&C.visualViewport?C.visualViewport.height:z[O])-a.height,b*=u?1:-1),l!==r&&(l!==o&&l!==n||c!==d)||(k=s,w-=(g&&z===C&&C.visualViewport?C.visualViewport.width:z[$])-a.width,w*=u?1:-1)}var L,A=Object.assign({position:h},f&&K),I=!0===m?function(t){var e=t.x,i=t.y,o=window.devicePixelRatio||1;return{x:P(e*o)/o||0,y:P(i*o)/o||0}}({x:w,y:b}):{x:w,y:b};return w=I.x,b=I.y,u?Object.assign({},A,((L={})[T]=S?"0":"",L[k]=_?"0":"",L.transform=(C.devicePixelRatio||1)<=1?"translate("+w+"px, "+b+"px)":"translate3d("+w+"px, "+b+"px, 0)",L)):Object.assign({},A,((e={})[T]=S?b+"px":"",e[k]=_?w+"px":"",e.transform="",e))}const tt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,o=i.gpuAcceleration,n=void 0===o||o,s=i.adaptive,r=void 0===s||s,a=i.roundOffsets,l=void 0===a||a,c={placement:I(e.placement),variation:Q(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,J(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,J(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var et={passive:!0};const it={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,o=t.options,n=o.scroll,s=void 0===n||n,r=o.resize,a=void 0===r||r,l=E(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach((function(t){t.addEventListener("scroll",i.update,et)})),a&&l.addEventListener("resize",i.update,et),function(){s&&c.forEach((function(t){t.removeEventListener("scroll",i.update,et)})),a&&l.removeEventListener("resize",i.update,et)}},data:{}};var ot={left:"right",right:"left",bottom:"top",top:"bottom"};function nt(t){return t.replace(/left|right|bottom|top/g,(function(t){return ot[t]}))}var st={start:"end",end:"start"};function rt(t){return t.replace(/start|end/g,(function(t){return st[t]}))}function at(t){var e=E(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function lt(t){return M(F(t)).left+at(t).scrollLeft}function ct(t){var e=B(t),i=e.overflow,o=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+n+o)}function dt(t){return["html","body","#document"].indexOf(z(t))>=0?t.ownerDocument.body:$(t)&&ct(t)?t:dt(R(t))}function pt(t,e){var i;void 0===e&&(e=[]);var o=dt(t),n=o===(null==(i=t.ownerDocument)?void 0:i.body),s=E(o),r=n?[s].concat(s.visualVie
vendor: 5,516 bytes, line 2
2wport||[],ct(o)?o:[]):o,a=e.concat(r);return n?a:a.concat(pt(R(r)))}function ht(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ut(t,e){return e===h?ht(function(t){var e=E(t),i=F(t),o=e.visualViewport,n=i.clientWidth,s=i.clientHeight,r=0,a=0;return o&&(n=o.width,s=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=o.offsetLeft,a=o.offsetTop)),{width:n,height:s,x:r+lt(t),y:a}}(t)):O(e)?function(t){var e=M(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):ht(function(t){var e,i=F(t),o=at(t),n=null==(e=t.ownerDocument)?void 0:e.body,s=j(i.scrollWidth,i.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),r=j(i.scrollHeight,i.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-o.scrollLeft+lt(t),l=-o.scrollTop;return"rtl"===B(n||i).direction&&(a+=j(i.clientWidth,n?n.clientWidth:0)-s),{width:s,height:r,x:a,y:l}}(F(t)))}function ft(t){var e,i=t.reference,a=t.element,l=t.placement,p=l?I(l):null,h=l?Q(l):null,u=i.x+i.width/2-a.width/2,f=i.y+i.height/2-a.height/2;switch(p){case o:e={x:u,y:i.y-a.height};break;case n:e={x:u,y:i.y+i.height};break;case s:e={x:i.x+i.width,y:f};break;case r:e={x:i.x-a.width,y:f};break;default:e={x:i.x,y:i.y}}var m=p?X(p):null;if(null!=m){var g="y"===m?"height":"width";switch(h){case c:e[m]=e[m]-(i[g]/2-a[g]/2);break;case d:e[m]=e[m]+(i[g]/2-a[g]/2)}}return e}function mt(t,e){void 0===e&&(e={});var i=e,r=i.placement,a=void 0===r?t.placement:r,c=i.boundary,d=void 0===c?p:c,m=i.rootBoundary,g=void 0===m?h:m,v=i.elementContext,w=void 0===v?u:v,y=i.altBoundary,b=void 0!==y&&y,x=i.padding,_=void 0===x?0:x,S=Z("number"!=typeof _?_:V(_,l)),k=w===u?f:u,T=t.rects.popper,C=t.elements[b?k:w],E=function(t,e,i){var o="clippingParents"===e?function(t){var e=pt(R(t)),i=["absolute","fixed"].indexOf(B(t).position)>=0&&$(t)?Y(t):t;return O(i)?e.filter((function(t){return O(t)&&D(t,i)&&"body"!==z(t)})):[]}(t):[].concat(e),n=[].concat(o,[i]),s=n[0],r=n.reduce((function(e,i){var o=ut(t,i);return e.top=j(o.top,e.top),e.right=W(o.right,e.right),e.bottom=W(o.bottom,e.bottom),e.left=j(o.left,e.left),e}),ut(t,s));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(O(C)?C:C.contextElement||F(t.elements.popper),d,g),L=M(t.elements.reference),A=ft({reference:L,element:T,strategy:"absolute",placement:a}),I=ht(Object.assign({},T,A)),P=w===u?I:L,H={top:E.top-P.top+S.top,bottom:P.bottom-E.bottom+S.bottom,left:E.left-P.left+S.left,right:P.right-E.right+S.right},N=t.modifiersData.offset;if(w===u&&N){var q=N[a];Object.keys(H).forEach((function(t){var e=[s,n].indexOf(t)>=0?1:-1,i=[o,n].indexOf(t)>=0?"y":"x";H[t]+=q[i]*e}))}return H}const gt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,d=t.name;if(!e.modifiersData[d]._skip){for(var p=i.mainAxis,h=void 0===p||p,u=i.altAxis,f=void 0===u||u,v=i.fallbackPlacements,w=i.padding,y=i.boundary,b=i.rootBoundary,x=i.altBoundary,_=i.flipVariations,S=void 0===_||_,k=i.allowedAutoPlacements,T=e.options.placement,C=I(T),z=v||(C!==T&&S?function(t){if(I(t)===a)return[];var e=nt(t);return[rt(t),e,rt(e)]}(T):[nt(T)]),E=[T].concat(z).reduce((function(t,i){return t.concat(I(i)===a?function(t,e){void 0===e&&(e={});var i=e,o=i.placement,n=i.boundary,s=i.rootBoundary,r=i.padding,a=i.flipVariations,c=i.allowedAutoPlacements,d=void 0===c?g:c,p=Q(o),h=p?a?m:m.filter((function(t){return Q(t)===p})):l,u=h.filter((function(t){return d.indexOf(t)>=0}));0===u.length&&(u=h);var f=u.reduce((function(e,i){return e[i]=mt(t,{placement:i,boundary:n,rootBoundary:s,padding:r})[I(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}(e,{placement:i,boundary:y,rootBoundary:b,padding:w,flipVariations:S,allowedAutoPlacements:k}):i)}),[]),O=e.rects.reference,$=e.rects.popper,L=new Map,A=!0,j=E[0],W=0;W<E.length;W++){var P=E[W],M=I(P),H=Q(P)===c,D=[o,n].indexOf(M)>=0,B=D?"width":"height",N=mt(e,{placement:P,boundary:y,rootBoundary:b,altBoundary:x,padding:w}),F=D?H?s:r:H?n:o;O[B]>$[B]&&(F=nt(F));var R=nt(F),q=[];if(h&&q.push(N[M]<=0),f&&q.push(N[F]<=0,N[R]<=0),q.every((function(t){return t}))){j=P,A=!1;break}L.set(P,q)}if(A)for(var Y=function(t){var e=E.find((function(e){var i=L.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return j=e,"break"},X=S?3:1;X>0&&"break"!==Y(X);X--);e.placement!==j&&(e.modifiersData[d]._skip=!0,e.placement=j,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function vt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function wt(t){return[o,s,n,r].some((function(e){return t[e]>=0}))}const yt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,o=e.rects.reference,n=e.rects.popper,s=e.modifiersData.preventOverflow,r=mt(e,{elementContext:"reference"}),a=mt(e,{altBoundary:!0}),l=vt(r,o),c=vt(a,n,s),d=wt(l),p=wt(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":p})}},bt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,a=i.offset,l=void 0===a?[0,0]:a,c=g.reduce((function(t,i){return t[i]=function(t,e,
vendor: 5,747 bytes, line 2
2i){var n=I(t),a=[r,o].indexOf(n)>=0?-1:1,l="function"==typeof i?i(Object.assign({},e,{placement:t})):i,c=l[0],d=l[1];return c=c||0,d=(d||0)*a,[r,s].indexOf(n)>=0?{x:d,y:c}:{x:c,y:d}}(i,e.rects,l),t}),{}),d=c[e.placement],p=d.x,h=d.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=p,e.modifiersData.popperOffsets.y+=h),e.modifiersData[n]=c}},xt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=ft({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},_t={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,a=t.name,l=i.mainAxis,d=void 0===l||l,p=i.altAxis,h=void 0!==p&&p,u=i.boundary,f=i.rootBoundary,m=i.altBoundary,g=i.padding,v=i.tether,w=void 0===v||v,y=i.tetherOffset,b=void 0===y?0:y,x=mt(e,{boundary:u,rootBoundary:f,padding:g,altBoundary:m}),_=I(e.placement),S=Q(e.placement),k=!S,T=X(_),C="x"===T?"y":"x",z=e.modifiersData.popperOffsets,E=e.rects.reference,O=e.rects.popper,$="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,L="number"==typeof $?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),A=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(z){if(d){var M,D="y"===T?o:r,B="y"===T?n:s,N="y"===T?"height":"width",F=z[T],R=F+x[D],q=F-x[B],Z=w?-O[N]/2:0,V=S===c?E[N]:O[N],G=S===c?-O[N]:-E[N],K=e.elements.arrow,J=w&&K?H(K):{width:0,height:0},tt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[D],it=tt[B],ot=U(0,E[N],J[N]),nt=k?E[N]/2-Z-ot-et-L.mainAxis:V-ot-et-L.mainAxis,st=k?-E[N]/2+Z+ot+it+L.mainAxis:G+ot+it+L.mainAxis,rt=e.elements.arrow&&Y(e.elements.arrow),at=rt?"y"===T?rt.clientTop||0:rt.clientLeft||0:0,lt=null!=(M=null==A?void 0:A[T])?M:0,ct=F+st-lt,dt=U(w?W(R,F+nt-lt-at):R,F,w?j(q,ct):q);z[T]=dt,P[T]=dt-F}if(h){var pt,ht="x"===T?o:r,ut="x"===T?n:s,ft=z[C],gt="y"===C?"height":"width",vt=ft+x[ht],wt=ft-x[ut],yt=-1!==[o,r].indexOf(_),bt=null!=(pt=null==A?void 0:A[C])?pt:0,xt=yt?vt:ft-E[gt]-O[gt]-bt+L.altAxis,_t=yt?ft+E[gt]+O[gt]-bt-L.altAxis:wt,St=w&&yt?function(t,e,i){var o=U(t,e,i);return o>i?i:o}(xt,ft,_t):U(w?xt:vt,ft,w?_t:wt);z[C]=St,P[C]=St-ft}e.modifiersData[a]=P}},requiresIfExists:["offset"]};function St(t,e,i){void 0===i&&(i=!1);var o,n,s=$(e),r=$(e)&&function(t){var e=t.getBoundingClientRect(),i=P(e.width)/t.offsetWidth||1,o=P(e.height)/t.offsetHeight||1;return 1!==i||1!==o}(e),a=F(e),l=M(t,r),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(s||!s&&!i)&&(("body"!==z(e)||ct(a))&&(c=(o=e)!==E(o)&&$(o)?{scrollLeft:(n=o).scrollLeft,scrollTop:n.scrollTop}:at(o)),$(e)?((d=M(e,!0)).x+=e.clientLeft,d.y+=e.clientTop):a&&(d.x=lt(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function kt(t){var e=new Map,i=new Set,o=[];function n(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var o=e.get(t);o&&n(o)}})),o.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||n(t)})),o}var Tt={placement:"bottom",modifiers:[],strategy:"absolute"};function Ct(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function zt(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,o=void 0===i?[]:i,n=e.defaultOptions,s=void 0===n?Tt:n;return function(t,e,i){void 0===i&&(i=s);var n,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Tt,s),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,d={state:a,setOptions:function(i){var n="function"==typeof i?i(a.options):i;p(),a.options=Object.assign({},s,a.options,n),a.scrollParents={reference:O(t)?pt(t):t.contextElement?pt(t.contextElement):[],popper:pt(e)};var r,c,h=function(t){var e=kt(t);return C.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((r=[].concat(o,a.options.modifiers),c=r.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return a.orderedModifiers=h.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,o=void 0===i?{}:i,n=t.effect;if("function"==typeof n){var s=n({state:a,name:e,instance:d,options:o});l.push(s||function(){})}})),d.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(Ct(e,i)){a.rects={reference:St(e,Y(i),"fixed"===a.options.strategy),popper:H(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var n=a.orderedModifiers[o],s=n.fn,r=n.options,l=void 0===r?{}:r,p=n.name;"function"==typeof s&&(a=s({state:a,options:l,name:p,instance:d})||a)}else a.reset=!1,o=-1}}},update:(n=function(){return new Promise((function(t){d.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(n())}))}))),r}),destroy:function(){p(),c=!0}};if(!Ct(t,e))return d;function p(){l.forEach((function(t){return t()})),l=[]}return d.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),d}}var Et=zt(),Ot=zt({defaultModifiers:[it,xt,tt,A,bt,gt,_t,G,yt]}),$t=zt({defaultModifiers:[it,xt,tt,A]})},554:()=>{$(window).on("load",(function(){var t=!1;"1"==prestashop.language.is_rtl&&(t=!0),$(".js-brand-logo-slider").each((function(){var e=$
2(this).data("autoscroll");!function(t,e,i){$(t).slick({slidesToShow:6,slidesToScroll:1,adaptiveHeight:!1,infinite:!0,speed:700,autoplay:e,dots:!1,arrows:!0,draggable:!1,rtl:i,responsive:[{breakpoint:1220,settings:{slidesToShow:5}},{breakpoint:992,settings:{slidesToShow:4}},{breakpoint:768,settings:{slidesToShow:3}},{breakpoint:576,settings:{slidesToShow:2}}]}),$(t).on("beforeChange",(function(e,i,o,n){$(t).find(".slick-active img.js-lazy").trigger("appear")}))}($(this),e,t)}))}))},167:()=>{$(window).on("load",(function(){setTimeout((function(){$(".js-previewToggle").length&&($(".js-previewToggle").on("click",(function(){$(this).parent().toggleClass("open")})),function(t){$.ajax({type:"GET",url:t,data:{},success:function(t){$(".js-previewContainer").append(t),e()},error:function(t){console.log(t)}});var e=function(){var t=$("#js-colorsLivePreview"),e=t.find(".js-colorPicker"),i=t.find(".js-previewReset"),o=t.find(".js-previewBoxed"),n=t.find(".js-previewWide"),s=t.find(".js-specialStyle");e.each((function(){$(this).colpick({layout:"hex",color:$(this).data("color"),onSubmit:function(t,e,i,o){$(o).css("background-color","#"+e);var n=$(o).parent(".js-color").children(".style");$.each(n,(function(){var t=$(this).children(".selector"),i=$(this).children(".property");$(this).children(".preview").html("<style>"+t.text()+"{"+i.text()+"#"+e+"}</style>")}))}})})),i.on("click",(function(i){return i.preventDefault(),t.find(".js-color .preview").html(""),e.each((function(){$(this).css("background-color",$(this).data("color"))})),!1})),o.on("click",(function(t){return t.preventDefault(),$("body").addClass("boxed-layout"),n.removeClass("active"),$(this).addClass("active"),$(".js-boxedWide .style .preview").html("<style>"+$(".js-boxedBackgroundCSS").text()+"</style>"),!1})),n.on("click",(function(t){return t.preventDefault(),$("body").removeClass("boxed-layout"),o.removeClass("active"),$(this).addClass("active"),$(".js-boxedWide .style .preview").html(""),!1})),$("body").hasClass("remove-border-radius")&&s.find('input[name="disable_border_radius"]').attr("checked","checked"),$("body").hasClass("remove-box-shadow")&&s.find('input[name="disable_box_shadow"]').attr("checked","checked"),$("body").hasClass("background-for-title")&&s.find('input[name="background_block_title"]').attr("checked","checked"),s.find('input[name="disable_border_radius"]').on("change",(function(){$("body").toggleClass("remove-border-radius")})),s.find('input[name="disable_box_shadow"]').on("change",(function(){$("body").toggleClass("remove-box-shadow")})),s.find('input[name="background_block_title"]').on("change",(function(){$("body").toggleClass("background-for-title")}))}}($(".js-previewToggle").data("preview-controller")))}),2400)}))},808:()=>{$(window).on("load",(function(){$(".js-column-block-slider").each((function(){var t,e;t=$(this),e=$(this).data("slickoptions"),$(t).slick({slidesToShow:e.slidesToShow,slidesToScroll:e.slidesToShow,infinite:!0,draggable:e.draggable,speed:e.speed,autoplay:e.autoplay,dots:e.dots,arrows:e.arrows,rtl:e.rtl}),$(t).on("beforeChange",(function(e,i,o,n){$(t).find(".slick-active img.js-lazy").trigger("appear")}))}))}))},988:()=>{$(window).on("load",(function(){var t=!1;"1"==prestashop.language.is_rtl&&(t=!0),$(".js-featured-categories-slider").each((function(){var e=$
2(this).data("slidestoshow");!function(t,e,i){$(t).slick({slidesToShow:e,slidesToScroll:e,adaptiveHeight:!0,infinite:!0,draggable:!1,speed:1e3,autoplay:!1,dots:!1,arrows:!0,rtl:i,responsive:[{breakpoint:992,settings:{slidesToShow:Math.min(2,e-1),slidesToScroll:Math.min(2,e-1)}},{breakpoint:576,settings:{slidesToShow:Math.min(1,e),slidesToScroll:Math.min(1,e)}}]}),$(t).on("beforeChange",(function(e,i,o,n){$(t).find(".slick-active img.js-lazy").trigger("appear")}))}($(this),e,t)}))}))},52:()=>{$(window).on("load",(function(){$(".js-home-block-slider").each((function(){var t,e;t=$(this),e=$(this).data("slickoptions"),$(t).slick({slidesToShow:e.slidesToShow,slidesToScroll:e.slidesToShow,adaptiveHeight:!1,infinite:!0,draggable:e.draggable,speed:e.speed,autoplay:e.autoplay,dots:e.dots,arrows:e.arrows,rtl:e.rtl,responsive:[{breakpoint:1220,settings:{slidesToShow:e.slidesToShow_1220,slidesToScroll:e.slidesToShow_1220}},{breakpoint:992,settings:{slidesToShow:e.slidesToShow_992,slidesToScroll:e.slidesToShow_992}},{breakpoint:768,settings:{slidesToShow:e.slidesToShow_768,slidesToScroll:e.slidesToShow_768}}]}),$(t).on("beforeChange",(function(e,i,o,n){$(t).find(".slick-active img.js-lazy").trigger("appear")}))})),$('a[data-bs-toggle="tab"]').on("shown.bs.tab",(function(t){var e=$(t.target).attr("href");$(".js-home-block-slider",e).slick("setPosition"),$("img.js-lazy",e).trigger("appear")}))}))},831:()=>{$(window).on("load",(function(){setTimeout((function(){var t,e,i;!function(){var t=$(".js-ajax-mega-menu");if(t.length&&"undefined"!=typeof varMenuDropdownContentController){$.ajax({type:"GET",url:varMenuDropdownContentController,data:{},dataType:"json",success:function(t){e(t)},error:function(t){console.log(t)}});var e=function(e){$(".js-dropdown-content",t).each((function(){var t=$(this).data("id-menu");$(this).replaceWith(e[t])}))}}}(),(i=$("#amegamenu")).length&&(i.hasClass("amegamenu_rtl")?(e=(t=i).outerWidth(),$(".adropdown",t).each((function(){var t=$(this),i=t.parent(".amenu-item"),o=t.outerWidth();if(e>o){var n=(e-o)/2,s=(e-i.outerWidth())/2-(e-i.position().left-i.outerWidth()-parseFloat(i.css("margin-right")));n>s?n-s+o>e?t.css("margin-right",e-o+"px"):t.css("margin-right",n-s+"px"):t.css("margin-right","0px")}}))):function(t){var e=t.outerWidth();$(".adropdown",t).each((function(){var t=$(this),i=t.parent(".amenu-item"),o=t.outerWidth();if(e>o){var n=(e-o)/2,s=(e-i.outerWidth())/2-(i.position().left+parseFloat(i.css("margin-left")));n>s?n-s+o>e?t.css("margin-left",e-o+"px"):t.css("margin-left",n-s+"px"):t.css("margin-left","0px")}}))}(i))}),600),"undefined"!=typeof varBreadcrumbLinks&&$(".js-ajax-mega-menu .amenu-item").each((function(){-1!=$.inArray($(this).find("a.amenu-link").attr("href"),varBreadcrumbLinks)&&$(this).addClass("curr-menu")})),$("#mobile-amegamenu .amenu-item.plex > .amenu-link").on("click",(function(){return $(this).hasClass("expanded")||$("#mobile-amegamenu .expanded").removeClass("expanded").next(".adropdown").slideUp(),$(this).next(".adropdown").stop().slideToggle(),$(this).toggleClass("expanded"),!1})),$("html").on("touchstart",(function(t){$("#amegamenu .amenu-item").removeClass("hover")})),$("#amegamenu").on("touchstart",(function(t){t.stopPropagation()})),$("#amegamenu .amenu-item.plex > .amenu-link").on("touchstart",(function(t){"use strict";var e=$(this).parent("li");return!!e.hasClass("hover")||($("#amegamenu .amenu-item").removeClass("hover"),e.addClass("hover"),t.preventDefault(),!1)}))}))},77:()=>{$(window).on("load",(function(){setTimeout((function(){!function(){var t=$(".js-aone-popupnewsletter");if(t.length){var e=t.data("save-time");if(""===function(t){for(var e=t+"=",i=document.cookie.split(";"),o=0;o<i.length;o++){for(var n=i[o];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(e))return n.substring(e.length,n.length)}return""}("aonehidepopupnewsletter"+e)){$.ajax({type:"GET",url:t.data("modal-newsletter-controller"),data:{},success:function(e){t.replaceWith(e),i()},error:function(t){console.log(t)}});var i=function(){var t,i,o=!1,n=$("#aone-popup-newsletter-modal"),s=n.data("hidepopup-time");$(window).on("scroll",(function(){!o&&$(this).scrollTop()>600&&(o=!0,n.modal("show"))})),n.on("hidden.bs.modal",(function(){var t=prestashop.urls.base_url.substring(prestashop.urls.shop_domain_url.length);
2!function(t,e,i,o){var n=new Date,s="";i&&(n.setTime(n.getTime()+24*i*60*60*1e3),s=";expires="+n.toUTCString()),document.cookie=t+"=1"+s+";path="+o}("aonehidepopupnewsletter"+e,0,parseInt(s),t)})),$(".js-newsletter-nothanks").click((function(){return n.modal("hide"),!1})),t=$(".js-popupemailsubscription .js-subscription-form"),(i=$(".js-popup-newsletter-form").data("ajax-submit-url"))&&t.length&&t.on("submit",(function(t){t.preventDefault();var e=$(this);return $.ajax({type:"POST",url:i,data:e.serialize()+"&submitNewsletter=1&ajax=1",dataType:"json",success:function(t){var i='<p class="alert alert-success">'+t.msg+"</p>";t.nw_error&&(i='<p class="alert alert-danger">'+t.msg+"</p>"),e.find(".newsletter-message").fadeOut(400,(function(){$(this).html(i).fadeIn()}))},error:function(t){alert("Response Text:\n"+t.responseText)}}),!1}))}}}}()}),1500)}))},800:()=>{$(window).on("load",(function(){var t;t=$("#extraModal"),$('button[data-extrafield="popup"]').on("click",(function(){var e=$(this).data("width"),i=$(this).data("content");t.find(".modal-dialog").css("max-width",e+"px"),t.find(".js-modal-extra-content").html(i),t.modal("show")})),t.on("hidden.bs.modal",(function(){t.find(".modal-dialog").removeAttr("style"),t.find(".js-modal-extra-content").html("")})),$("body").on("click",".js-switch-cbnt",(function(t){if(!$(this).hasClass("active")){var e=$(this).data("groups");for(g in e)$('.product-variants [data-product-attribute="'+g+'"]').val(e[g]).trigger("change")}})),"undefined"!=typeof varGetFinalDateController&&(setTimeout((function(){$(".js-product-countdown").runCountdown({specificPricesTo:$(".js-product-countdown").attr("data-specific-prices-to"),getFinalDateController:varGetFinalDateController})}),300),prestashop.on("updatedProduct",(function(t){$(".js-product-countdown").updateCountdown({newSpecificPricesTo:$(".js-new-specific-prices-to").attr("data-new-specific-prices-to"),currentSpecificPricesTo:$(".js-product-countdown").attr("data-specific-prices-to"),getFinalDateController:varGetFinalDateController})}))),$("body").on("click",".js-swatch-item",(function(t){$(this).hasClass("selected")||$('.product-variants [data-product-attribute="'+$(this).parent().attr("data-id-group")+'"]').val($(this).attr("data-id-attribute")).change()}))}))},501:()=>{$(window).on("load",(function(){var t=$("#aoneSlider"),e=t.data("settings");t.length&&t.nivoSlider({src:"data-src",effect:e.effect,slices:Number(e.slices),boxCols:Number(e.boxCols),boxRows:Number(e.boxRows),animSpeed:Number(e.animSpeed),pauseTime:Number(e.pauseTime),startSlide:Number(e.startSlide),directionNav:e.directionNav,controlNav:e.controlNav,controlNavThumbs:e.controlNavThumbs,pauseOnHover:e.pauseOnHover,manualAdvance:e.manualAdvance,randomStart:e.randomStart,afterLoad:function(){$("#js-nivoSliderOverlay").fadeOut(100,(function(){t.fadeIn(400)}))}})}))},997:()=>{$(window).on("load",(function(){var t,e;(t=$(".js-cookieMessage")).length&&setTimeout((function(){t.cookieBar({closeButton:".js-cookieCloseButton",path:prestashop.urls.base_url.substring(prestashop.urls.shop_domain_url.length)})}),2e3),setTimeout((function(){$("img.js-lazy").lazyload({failure_limit:9999,load:function(t,e){$(this).removeClass("js-lazy")}})}),1e3),function(){$("#header .main-header > .container").width();var t=$(".desktop-header-version [data-sticky-menu]"),e=$(".mobile-header-version [data-mobile-sticky]");t.length&&(t.sticky({wrapperClassName:"desktop-sticky-wrapper"}),$("[data-sticky-cart]").html($("[data-header-cart-source]").html())),e.length&&e.sticky({wrapperClassName:"mobile-sticky-wrapper"})}(),e=$("[data-scroll-to-top]"),$(window).on("scroll",(function(){$(this).scrollTop()>100?e.fadeIn():e.fadeOut()})),$("a",e).on("click",(function(){return $.smoothScroll({speed:500,scrollTarget:"#page"}),!1})),$("[data-st-menu]").length&&(setTimeout((function(){!function(){var t=$(".js-sidebar-category-tree");if(t.length&&"undefined"!=typeof varCategoryTreeController){$.ajax({type:"GET",url:varCategoryTreeController,data:{},success:function(i){t.html(i),e()},error:function(t){console.log(t)}});var e=function(){var t=$(".js-sidebar-categories");t.length&&t.find(".js-collapse-trigger").on("click",(function(){if(!$(this).hasClass("opened")){var t=$(this).closest(".
2js-sidebar-categories, .js-sub-categories");t.find(".js-sub-categories.expanded").slideUp().removeClass("expanded"),t.find(".js-collapse-trigger.opened").removeClass("opened").find(".add, .remove").fadeToggle()}$(this).parent().find(" > .js-sub-categories").stop().slideToggle().toggleClass("expanded"),$(this).toggleClass("opened").find(".add, .remove").fadeToggle()}));var e=$(".js-category-page").data("current-category-id");if("undefined"!==e&&""!==e){var i=$(".js-sidebar-categories [data-category-id="+e+"]");i.addClass("current"),i.parents("li").each((function(){$(this).children(".js-sub-categories").addClass("expanded").show(),$(this).find(" > .js-collapse-trigger").addClass("opened"),$(this).find(" > .js-collapse-trigger .add").hide(),$(this).find(" > .js-collapse-trigger .remove").show()}))}}}}()}),1200),$("#js-header-phone-sidebar").removeClass("js-hidden").html($(".js-header-phone-source").html()),$("#js-account-sidebar").removeClass("js-hidden").html($(".js-account-source").html()),$("#js-language-sidebar").removeClass("js-hidden").html($(".js-language-source").html()).find(".l-name").remove(),$("[data-st-cart]").length||$("#js-left-currency-sidebar").removeClass("js-hidden").html($(".js-currency-source").html()),$("[data-left-nav-trigger]").on("click",(function(t){return $("html").addClass("st-effect-left st-menu-open"),!1})),$("[data-close-st-menu]").on("click",(function(t){$("html").removeClass("st-menu-open st-effect-left")}))),$("[data-st-cart]").length&&($("#js-cart-sidebar").removeClass("js-hidden").html($("[data-shopping-cart-source]").html()),$("[data-shopping-cart-source]").addClass("js-hidden"),$.each($('#js-cart-sidebar input[name="product-sidebar-quantity-spin"]'),(function(t,e){$(e).makeTouchSpin(),$(e).on("change",(function(){$(e).trigger("focusout")}))})),$("#js-currency-sidebar").removeClass("js-hidden").html($(".js-currency-source").html()).find(".c-sign").remove(),$("[data-sidebar-cart-trigger]").on("click",(function(t){return $("html").addClass("st-effect-right st-menu-open"),!1})),$("[data-close-st-cart]").on("click",(function(t){$("html").removeClass("st-menu-open st-effect-right")}))),$(".js-items-mobile-slider").each((function(){$(this).on("scroll",(function(){$(this).scrollLeft()&&$("img.js-lazy",$(this)).trigger("appear")}))}))}))},57:()=>{$(window).on("load",(function(){var t,e,i;$('body:not(.touch-screen) [data-toggle="tooltip"]').tooltip({position:{my:"center bottom-8",at:"center top"},hide:!1,show:!1}),t=$(".js-otherCustomerDropdownLinks"),e=$("<div/>").html($(".js-displayCustomerAccount").data("hook-content")),t.length&&e.length&&e.children("a").each((function(){$(this).removeAttr("id").removeAttr("class").addClass("dropdown-item");var e=$(this).find("i");$(this).find("i").remove();var i=$(this).text();e.length||(e=$(this).find("img")),i.length&&e.length&&$(this).html("<span>"+i.trim()+"</span>").append(e),$(this).wrap("<li></li>").parent().insertBefore(t)})),function(){var t=$(".js-category-page").data("current-category-id");if("undefined"!==t&&""!==t){var e=$(".js-category-tree [data-category-id="+t+"]");e.addClass("current"),e.parents("li").each((function(){$(this).children('[data-toggle="collapse"]').attr("aria-expanded","true"),$(this).children(".category-sub-menu.collapse").addClass("show")}))}}(),function(){var t=$(".js-expand-description");if(t.length){var e=$(".descSmall",t).height(),i=$(".descFull",t).height();i>e&&(t.addClass("descCollapsed"),$(".descSmall",t).css("max-height","none").height(e),$(".descToggle.expand a",t).on("click",(function(){return t.removeClass("descCollapsed").addClass("descExpanded"),$(".descSmall",t).height(i+30),!1})),$(".descToggle.collapse a",t).on("click",(function(){return t.addClass("descCollapsed").removeClass("descExpanded"),$(".descSmall",t).height(e),!1})))}}(),$(".js-typoImageSlider").makeFlexScrollBox({arrows:".scrollArrows"}),i=$("#extraModal"),$(".js-typoModalBox").on("click",(function(){var t=$($(this).attr("href")).html();return i.find(".js-modal-extra-content").html(t),i.modal("show"),!1})),function(){var t=$(".js-typoShowMoreContent");
2if(t.length){var e=$(".descSmall",t).height(),i=$(".descFull",t).height();i>e&&(t.addClass("descCollapsed"),$(".descSmall",t).height(e),$(".descToggle .expand",t).on("click",(function(){return t.removeClass("descCollapsed").addClass("descExpanded"),$(".descSmall",t).height(i+30),!1})),$(".descToggle .collapse",t).on("click",(function(){return t.addClass("descCollapsed").removeClass("descExpanded"),$(".descSmall",t).height(e),!1})))}}(),$(".js-typoLightboxGallery").magnificPopup({delegate:"a",type:"image",mainClass:"typo-mfp-gallery",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]}})}))},886:()=>{!function(t){t.fn.makeProductScrollBox=function(){if(this.length&&!this.hasClass("js-enabled-scrollbox")){var t=this.find(".product-list"),e=t.find(".product-miniature"),i=this.find(".scroll-box-arrows"),o=t.data("autoscroll")||!1;t.width()+20<e.length*e.outerWidth()&&(this.addClass("js-enabled-scrollbox"),t.scrollbox({direction:"h",distance:"auto",autoPlay:o,infiniteLoop:!1,onMouseOverPause:o,listElement:".product-list-wrapper",listItemElement:".product-miniature"}),i.addClass("scroll"),i.find(".left").on("click",(function(){t.trigger("backward")})),i.find(".right").on("click",(function(){t.trigger("forward")})),"ontouchstart"in document.documentElement&&(t.on("swipeleft",(function(){t.trigger("forward")})),t.on("swiperight",(function(){t.trigger("backward")}))))}},t.fn.makeFlexScrollBox=function(e){var i=t.extend({list:"ul",items:"li",arrows:".scroll-box-arrows",autoPlay:!1,onMouseOverPause:!1,forceMakeScroll:!1},e),o=this,n=o.find(i.items),s=o.next(i.arrows);(o.width()+20<n.length*n.outerWidth()||i.forceMakeScroll)&&(o.scrollbox({direction:"h",distance:"auto",autoPlay:i.autoPlay,onMouseOverPause:i.onMouseOverPause,infiniteLoop:!1,listElement:i.list,listItemElement:i.items}),s.addClass("scroll"),s.find(".left").on("click",(function(){o.trigger("backward")})),s.find(".right").on("click",(function(){o.trigger("forward")})),"ontouchstart"in document.documentElement&&(o.on("swipeleft",(function(){o.trigger("forward")})),o.on("swiperight",(function(){o.trigger("backward")}))))},t.fn.runCountdown=function(e){var i=t.extend({specificPricesTo:!1,getFinalDateController:!1},e),o=this;i.specificPricesTo&&i.getFinalDateController&&t.ajax({type:"GET",url:i.getFinalDateController,data:{"specific-prices-to":i.specificPricesTo},success:function(t){o.html(t),setTimeout((function(){o.slideDown()}),500);var e=o.find("[data-final-date]");e.countdown(e.data("final-date")).on("update.countdown",(function(t){t.offset.totalDays<=0?e.html(t.strftime(e.data("short-format"))):e.html(t.strftime(e.data("format")))})).on("finish.countdown",(function(){e.parent().addClass("expired").html(e.data("expired"))}))},error:function(t){console.log(t)}})},t.fn.updateCountdown=function(e){var i=t.extend({newSpecificPricesTo:"",currentSpecificPricesTo:"",getFinalDateController:!1},e),o=this;o.attr("data-specific-prices-to",i.newSpecificPricesTo),""!=i.newSpecificPricesTo&&i.getFinalDateController?i.currentSpecificPricesTo!=i.newSpecificPricesTo&&(""!=i.currentSpecificPricesTo&&o.addClass("updating-timer"),t.ajax({type:"POST",url:i.getFinalDateController,data:{ajax:!0,"specific-prices-to":i.newSpecificPricesTo},success:function(t){o.html(t),setTimeout((function(){""!=i.currentSpecificPricesTo?o.removeClass("updating-timer"):o.slideDown()}),500);var e=o.find("[data-final-date]");e.countdown(e.data("final-date")).on("update.countdown",(function(t){t.offset.totalDays<=0?e.html(t.strftime(e.data("short-format"))):e.html(t.strftime(e.data("format")))})).on("finish.countdown",(function(){e.parent().addClass("expired").html(e.data("expired"))}))},error:function(t){console.log(t)}})):o.slideUp().html("")},t.fn.makeTouchSpin=function(){this.TouchSpin({verticalbuttons:!1,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",buttondown_txt:'<i class="material-icons">remove</i>',buttonup_txt:'<i class="material-icons">add</i>',min:parseInt(this.attr("min"),10),max:1e6})}}(jQuery)},957:()=>{$(document).ready((function(){var t;"1"==prestashop.language.is_rtl&&$(".dropdown-menu").addClass("dropdown-menu-right"),(t=$(".js-dropdown")).on("show.bs.dropdown",(function(t,e){$(t.target).find(".dropdown-menu").first().stop(!0,!0).slideDown()})),t.on("hide.bs.dropdown",(function(t,e){$(t.target).find(".dropdown-menu").first().stop(!0,!0).slideUp()})),t.find("select.link").each((function(t,e){$(e).on("change",(function(){window.location=$(this).val()}))}))}))},212:()=>{$(document).ready((function(){$('button[data-action="show-password"]').on("click",(function(){var t=$(this).closest(".input-group").children("input.js-visible-password");"password"===t.attr("type")?(t.attr("type","text"),$(this).text($(this).data("textHide"))):(t.attr("type","password"),$(this).text($(this).data("textShow")))}))}))},46:()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}!function(e){var i=0,o=function(t,i){this.options=i,this.$elementFilestyle=[],this.$element=e(t)};o.prototype={clear:function(){this.$element.val(""),this.$elementFilestyle.find(":text").val(""),this.$elementFilestyle.find(".badge").remove()},destroy:function(){this.$element.removeAttr("style").removeData("filestyle"),this.$elementFilestyle.remove()},disabled:function(t){if(!0===t)this.options.disabled||(this.$element.attr("disabled","true"),this.$elementFilestyle.find("label").attr("disabled","true"),this.options.disabled=!0);else{if(!1!==t)return this.options.disabled;this.options.disabled&&(this.$element.removeAttr("disabled"),this.$elementFilestyle.find("label").removeAttr("disabled"),this.options.disabled=!1)}},buttonBefore:function(t){if(!0===t)this.options.buttonBefore||(this.options.buttonBefore=!0,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()));else{if(!1!==t)return this.options.buttonBefore;this.options.buttonBefore&&(this.options.buttonBefore=!1,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()))}},icon:function(t){if(!0===t)this.options.icon||(this.options.icon=!0,this.$elementFilestyle.find("label").prepend(this.htmlIcon()));else{if(!1!==t)return this.options.icon;this.options.icon&&(this.options.icon=!1,this.$elementFilestyle.find(".
2icon-span-filestyle").remove())}},input:function(t){if(!0===t)this.options.input||(this.options.input=!0,this.options.buttonBefore?this.$elementFilestyle.append(this.htmlInput()):this.$elementFilestyle.prepend(this.htmlInput()),this.$elementFilestyle.find(".badge").remove(),this.pushNameFiles(),this.$elementFilestyle.find(".group-span-filestyle").addClass("input-group-btn"));else{if(!1!==t)return this.options.input;if(this.options.input){this.options.input=!1,this.$elementFilestyle.find(":text").remove();var e=this.pushNameFiles();e.length>0&&this.options.badge&&this.$elementFilestyle.find("label").append(' <span class="badge">'+e.length+"</span>"),this.$elementFilestyle.find(".group-span-filestyle").removeClass("input-group-btn")}}},size:function(t){if(void 0===t)return this.options.size;var e=this.$elementFilestyle.find("label"),i=this.$elementFilestyle.find("input");e.removeClass("btn-lg btn-sm"),i.removeClass("input-lg input-sm"),"nr"!=t&&(e.addClass("btn-"+t),i.addClass("input-"+t))},placeholder:function(t){if(void 0===t)return this.options.placeholder;this.options.placeholder=t,this.$elementFilestyle.find("input").attr("placeholder",t)},buttonText:function(t){if(void 0===t)return this.options.buttonText;this.options.buttonText=t,this.$elementFilestyle.find("label .buttonText").html(this.options.buttonText)},buttonName:function(t){if(void 0===t)return this.options.buttonName;this.options.buttonName=t,this.$elementFilestyle.find("label").attr({class:"btn "+this.options.buttonName})},iconName:function(t){if(void 0===t)return this.options.iconName;this.$elementFilestyle.find(".icon-span-filestyle").attr({class:"icon-span-filestyle "+this.options.iconName})},htmlIcon:function(){return this.options.icon?'<span class="icon-span-filestyle '+this.options.iconName+'"></span> ':""},htmlInput:function(){return this.options.input?'<input type="text" class="form-control '+("nr"==this.options.size?"":"input-"+this.options.size)+'" placeholder="'+this.options.placeholder+'" disabled> ':""},pushNameFiles:function(){var t="",e=[];void 0===this.$element[0].files?e[0]={name:this.$element[0]&&this.$element[0].value}:e=this.$element[0].files;for(var i=0;i<e.length;i++)t+=e[i].name.split("\\").pop()+", ";return""!==t?this.$elementFilestyle.find(":text").val(t.replace(/\, $/g,"")):this.$elementFilestyle.find(":text").val(""),e},constructor:function(){var t,o,n=this,s=n.$element.attr("id");""!==s&&s||(s="filestyle-"+i,n.$element.attr({id:s}),i++),o='<span class="group-span-filestyle '+(n.options.input?"input-group-btn":"")+'"><label for="'+s+'" class="btn '+n.options.buttonName+" "+("nr"==n.options.size?"":"btn-"+n.options.size)+'" '+(n.options.disabled?'disabled="true"':"")+">"+n.htmlIcon()+'<span class="buttonText">'+n.options.buttonText+"</span></label></span>",t=n.options.buttonBefore?o+n.htmlInput():n.htmlInput()+o,n.$elementFilestyle=e('<div class="bootstrap-filestyle input-group">'+t+"</div>"),n.$elementFilestyle.find(".group-span-filestyle").attr("tabindex","0").keypress((function(t){if(13===t.keyCode||32===t.charCode)return n.$elementFilestyle.find("label").click(),!1})),n.$element.css({position:"absolute",clip:"rect(0px 0px 0px 0px)"}).attr("tabindex","-1").after(n.$elementFilestyle),n.options.disabled&&n.$element.attr("disabled","true"),n.$element.change((function(){var t=n.pushNameFiles();0==n.options.input&&n.options.badge?0==n.$elementFilestyle.find(".badge").length?n.$elementFilestyle.find("label").append(' <span class="badge">'+t.length+"</span>"):0==t.length?n.$elementFilestyle.find(".badge").remove():n.$elementFilestyle.find(".badge").html(t.length):n.$elementFilestyle.find(".badge").remove()}
2)),window.navigator.userAgent.search(/firefox/i)>-1&&n.$elementFilestyle.find("label").click((function(){return n.$element.click(),!1}))}};var n=e.fn.filestyle;e.fn.filestyle=function(i,n){var s="",r=this.each((function(){if("file"===e(this).attr("type")){var r=e(this),a=r.data("filestyle"),l=e.extend({},e.fn.filestyle.defaults,i,"object"===t(i)&&i);a||(r.data("filestyle",a=new o(this,l)),a.constructor()),"string"==typeof i&&(s=a[i](n))}}));return void 0!==t(s)?s:r},e.fn.filestyle.defaults={buttonText:"Choose file",iconName:"glyphicon glyphicon-folder-open",buttonName:"btn-default",size:"nr",input:!0,badge:!0,icon:!0,buttonBefore:!1,disabled:!1,placeholder:""},e.fn.filestyle.noConflict=function(){return e.fn.filestyle=n,this},e((function(){e(".filestyle").each((function(){var t=e(this),i={input:"false"!==t.attr("data-input"),icon:"false"!==t.attr("data-icon"),buttonBefore:"true"===t.attr("data-buttonBefore"),disabled:"true"===t.attr("data-disabled"),size:t.attr("data-size"),buttonText:t.attr("data-buttonText"),buttonName:t.attr("data-buttonName"),iconName:t.attr("data-iconName"),badge:"false"!==t.attr("data-badge"),placeholder:t.attr("data-placeholder")};t.filestyle(i)}))}))}(window.jQuery)},228:()=>{!function(t){var e,i,o,n,s,r,a,l,c,d,p,h,u,f,m,g,v,w,y,b,x,_,S,k,T,C,z,E,O=(e={showEvent:"click",onShow:function(){},onBeforeShow:function(){},onHide:function(){},onChange:function(){},onSubmit:function(){},colorScheme:"light",color:"3289c7",livePreview:!0,flat:!1,layout:"full",submit:1,submitText:"OK",height:156},i=function(e,i){var o=I(e);t(i).data("colpick").fields.eq(1).val(o.r).end().eq(2).val(o.g).end().eq(3).val(o.b).end()},o=function(e,i){t(i).data("colpick").fields.eq(4).val(Math.round(e.h)).end().eq(5).val(Math.round(e.s)).end().eq(6).val(Math.round(e.b)).end()},n=function(e,i){t(i).data("colpick").fields.eq(0).val(W(e))},s=function(e,i){t(i).data("colpick").selector.css("backgroundColor","#"+W({h:e.h,s:100,b:100})),t(i).data("colpick").selectorIndic.css({left:parseInt(t(i).data("colpick").height*e.s/100,10),top:parseInt(t(i).data("colpick").height*(100-e.b)/100,10)})},r=function(e,i){t(i).data("colpick").hue.css("top",parseInt(t(i).data("colpick").height-t(i).data("colpick").height*e.h/360,10))},a=function(e,i){t(i).data("colpick").currentColor.css("backgroundColor","#"+W(e))},l=function(e,i){t(i).data("colpick").newColor.css("backgroundColor","#"+W(e))},c=function(e){var a,c=t(this).parent().parent();this.parentNode.className.indexOf("_hex")>0?(c.data("colpick").color=a=L(z(this.value)),i(a,c.get(0)),o(a,c.get(0))):this.parentNode.className.indexOf("_hsb")>0?(c.data("colpick").color=a=T({h:parseInt(c.data("colpick").fields.eq(4).val(),10),s:parseInt(c.data("colpick").fields.eq(5).val(),10),b:parseInt(c.data("colpick").fields.eq(6).val(),10)}),i(a,c.get(0)),n(a,c.get(0))):(c.data("colpick").color=a=A(C({r:parseInt(c.data("colpick").fields.eq(1).val(),10),g:parseInt(c.data("colpick").fields.eq(2).val(),10),b:parseInt(c.data("colpick").fields.eq(3).val(),10)})),n(a,c.get(0)),o(a,c.get(0))),s(a,c.get(0)),r(a,c.get(0)),l(a,c.get(0)),c.data("colpick").onChange.apply(c.parent(),[a,W(a),I(a),c.data("colpick").el,0])},d=function(e){t(this).parent().removeClass("colpick_focus")},p=function(){t(this).parent().parent().data("colpick").fields.parent().removeClass("colpick_focus"),t(this).parent().addClass("colpick_focus")},h=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1;var i=t(this).parent().find("input").focus(),o={el:t(this).parent().addClass("colpick_slider"),max:this.parentNode.className.indexOf("_hsb_h")>0?360:this.parentNode.className.indexOf("_hsb")>0?100:255,y:e.pageY,field:i,val:parseInt(i.val(),10),preview:t(this).parent().parent().data("colpick").livePreview};t(document).mouseup(o,f),t(document).mousemove(o,u)},u=function(t){return t.data.field.val(Math.max(0,Math.min(t.data.max,parseInt(t.data.val-t.pageY+t.data.y,10)))),t.data.preview&&c.apply(t.data.field.get(0),[!0]),!1},f=function e(i){return c.apply(i.data.field.get(0),[!0]),i.data.el.removeClass("colpick_slider").find("input").focus(),t(document).off("mouseup",e),t(document).off("mousemove",u),!1},m=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1;var i={cal:t(this).parent(),y:t(this).offset().top};t(document).on("mouseup touchend",i,v),t(document).on("mousemove touchmove",i,g);var o="touchstart"==e.type?e.originalEvent.changedTouches[0].pageY:e.pageY;return c.apply(i.cal.data("colpick").fields.eq(4).val(parseInt(360*(i.cal.data("colpick").height-(o-i.y))/i.cal.data("colpick").height,10)).get(0),[i.cal.data("colpick").livePreview]),!1},g=function(t){var e="touchmove"==t.type?t.originalEvent.changedTouches[0].pageY:t.pageY;return c.apply(t.data.cal.data("colpick").fields.eq(4).val(parseInt(360*(t.data.cal.data("colpick").height-Math.max(0,Math.min(t.data.cal.data("colpick").height,e-t.data.y)))/t.data.cal.data("colpick").height,10)).get(0),[t.data.preview]),!1},v=function e(o){return i(o.data.cal.data("colpick").color,o.data.cal.get(0)),n(o.data.cal.data("colpick").color,o.data.cal.get(0)),t(document).off("mouseup touchend",e),t(document).off("mousemove touchmove",g),!1},w=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1;var i={cal:t(this).parent(),pos:t(this).offset()};i.preview=i.cal.data("colpick").livePreview,t(document).on("mouseup touchend",i,b),t(document).on("mousemove touchmove",i,y);var o=e.pageX,n=e.pageY;return"touchstart"==e.type&&(o=e.originalEvent.changedTouches[0].pageX,n=e.originalEvent.changedTouches[0].pageY),c.apply(i.cal.data("colpick").fields.eq(6).val(parseInt(100*(i.cal.data("colpick").height-(n-i.pos.top))/i.cal.data("colpick").height,10)).end().eq(5).val(parseInt(100*(o-i.pos.left)/i.cal.data("colpick").height,10)).get(0),[i.preview]),!1},y=function(t){var e=t.pageX,i=t.pageY;return"touchmove"==t.type&&(e=t.originalEvent.changedTouches[0].pageX,i=t.originalEvent.changedTouches[0].pageY),c.apply(t.data.cal.data("colpick").fields.eq(6).val(parseInt(100*(t.data.cal.data("colpick").height-Math.max(0,Math.min(t.data.cal.data("colpick").height,i-t.data.pos.top)))/t.data.cal.data("colpick").height,10)).end().eq(5).val(parseInt(100*Math.max(0,Math.min(t.data.cal.data("colpick").height,e-t.data.pos.left))/t.data.cal.data("colpick").height,10)).get(0),[t.data.preview]),!1},b=function e(o){return i(o.data.cal.data("colpick").color,o.data.cal.get(0)),n(o.data.cal.data("colpick").color,o.data.cal.get(0)),t(document).off("mouseup touchend",e),t(document).off("mousemove touchmove",y),!1}
2,x=function(e){var i=t(this).parent(),o=i.data("colpick").color;i.data("colpick").origColor=o,a(o,i.get(0)),i.data("colpick").onSubmit(o,W(o),I(o),i.data("colpick").el)},_=function(e){e.stopPropagation();var i=t("#"+t(this).data("colpickid"));i.data("colpick").onBeforeShow.apply(this,[i.get(0)]);var o=t(this).offset(),n=o.top-t(window).scrollTop(),s=o.left-3,r=k(),a=i.width();s+a>r.l+r.w&&(s-=a),i.css({left:s+"px",top:n+"px"}),0!=i.data("colpick").onShow.apply(this,[i.get(0)])&&i.show(),t("html").mousedown({cal:i},S),i.mousedown((function(t){t.stopPropagation()}))},S=function e(i){0!=i.data.cal.data("colpick").onHide.apply(this,[i.data.cal.get(0)])&&i.data.cal.hide(),t("html").off("mousedown",e)},k=function(){var t="CSS1Compat"==document.compatMode;return{l:window.pageXOffset||(t?document.documentElement.scrollLeft:document.body.scrollLeft),w:window.innerWidth||(t?document.documentElement.clientWidth:document.body.clientWidth)}},T=function(t){return{h:Math.min(360,Math.max(0,t.h)),s:Math.min(100,Math.max(0,t.s)),b:Math.min(100,Math.max(0,t.b))}},C=function(t){return{r:Math.min(255,Math.max(0,t.r)),g:Math.min(255,Math.max(0,t.g)),b:Math.min(255,Math.max(0,t.b))}},z=function(t){var e=6-t.length;if(e>0){for(var i=[],o=0;o<e;o++)i.push("0");i.push(t),t=i.join("")}return t},E=function(){var e=t(this).parent(),a=e.data("colpick").origColor;e.data("colpick").color=a,i(a,e.get(0)),n(a,e.get(0)),o(a,e.get(0)),s(a,e.get(0)),r(a,e.get(0)),l(a,e.get(0))},{init:function(u){if("string"==typeof(u=t.extend({},e,u||{})).color)u.color=L(u.color);else if(null!=u.color.r&&null!=u.color.g&&null!=u.color.b)u.color=A(u.color);else{if(null==u.color.h||null==u.color.s||null==u.color.b)return this;u.color=T(u.color)}return this.each((function(){if(!t(this).data("colpickid")){var e=t.extend({},u);e.origColor=u.color;var f="collorpicker_"+parseInt(1e3*Math.random());t(this).attr("data-colpickid",f);var g=t('<div class="colpick"><div class="colpick_color"><div class="colpick_color_overlay1"><div class="colpick_color_overlay2"><div class="colpick_selector_outer"><div class="colpick_selector_inner"></div></div></div></div></div><div class="colpick_hue"><div class="colpick_hue_arrs"><div class="colpick_hue_larr"></div><div class="colpick_hue_rarr"></div></div></div><div class="colpick_new_color"></div><div class="colpick_current_color"></div><div class="colpick_hex_field"><div class="colpick_field_letter">#</div><input type="text" maxlength="6" size="6" /></div><div class="colpick_rgb_r colpick_field"><div class="colpick_field_letter">R</div><input type="text" maxlength="3" size="3" /><div class="colpick_field_arrs"><div class="colpick_field_uarr"></div><div class="colpick_field_darr"></div></div></div><div class="colpick_rgb_g colpick_field"><div class="colpick_field_letter">G</div><input type="text" maxlength="3" size="3" /><div class="colpick_field_arrs"><div class="colpick_field_uarr"></div><div class="colpick_field_darr"></div></div></div><div class="colpick_rgb_b colpick_field"><div class="colpick_field_letter">B</div><input type="text" maxlength="3" size="3" /><div class="colpick_field_arrs"><div class="colpick_field_uarr"></div><div class="colpick_field_darr"></div></div></div><div class="colpick_hsb_h colpick_field"><div class="colpick_field_letter">H</div><input type="text" maxlength="3" size="3" /><div class="colpick_field_arrs"><div class="colpick_field_uarr"></div><div class="colpick_field_darr"></div></div></div><div class="colpick_hsb_s colpick_field"><div class="colpick_field_letter">S</div><input type="text" maxlength="3" size="3" /><div class="colpick_field_arrs"><div class="colpick_field_uarr"></div><div class="colpick_field_darr"></div></div></div><div class="colpick_hsb_b colpick_field"><div class="colpick_field_letter">B</div><input type="text" maxlength="3" size="3" /><div class="colpick_field_arrs"><div class="colpick_field_uarr"></div><div class="colpick_field_darr"></div></div></div><div class="colpick_submit"></div></div>').attr("id",f);g.addClass("colpick_"+e.layout+(e.submit?"":" colpick_"+e.layout+"_ns")),"light"!=e.colorScheme&&g.addClass("colpick_"+e.colorScheme),g.find("div.colpick_submit").html(e.submitText).on("click",x),e.fields=g.find("input").on("change",c).on("blur",d).on("focus",p),g.find("div.colpick_field_arrs").on("mousedown",h).end().find("div.colpick_current_color").on("click",E),e.selector=g.find("div.colpick_color").on("mousedown touchstart",w),e.selectorIndic=e.selector.find("div.colpick_selector_outer"),e.el=this,e.hue=g.find("div.colpick_hue_arrs");var v=e.hue.parent(),y=navigator.userAgent.toLowerCase(),b="Microsoft Internet Explorer"===navigator.appName,S=b?parseFloat(y.match(/msie ([0-9]{1,}[\.0-9]{0,})/)[1]):0,k=["#ff0000","#ff0080","#ff00ff","#8000ff","#0000ff","#0080ff","#00ffff","#00ff80","#00ff00","#80ff00","#ffff00","#ff8
2000","#ff0000"];if(b&&S<10){var T,C;for(T=0;T<=11;T++)C=t("<div></div>").attr("style","height:8.333333%; filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr="+k[T]+", endColorstr="+k[T+1]+'); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='+k[T]+", endColorstr="+k[T+1]+')";'),v.append(C)}else{var z=k.join(",");v.attr("style","background:-webkit-linear-gradient(top,"+z+"); background: -o-linear-gradient(top,"+z+"); background: -ms-linear-gradient(top,"+z+"); background:-moz-linear-gradient(top,"+z+"); -webkit-linear-gradient(top,"+z+"); background:linear-gradient(to bottom,"+z+"); ")}g.find("div.colpick_hue").on("mousedown touchstart",m),e.newColor=g.find("div.colpick_new_color"),e.currentColor=g.find("div.colpick_current_color"),g.data("colpick",e),i(e.color,g.get(0)),o(e.color,g.get(0)),n(e.color,g.get(0)),r(e.color,g.get(0)),s(e.color,g.get(0)),a(e.color,g.get(0)),l(e.color,g.get(0)),e.flat?(g.appendTo(this).show(),g.css({position:"relative",display:"block"})):(g.appendTo(document.body),t(this).on(e.showEvent,_),g.css({position:"fixed"}))}}))},showPicker:function(){return this.each((function(){t(this).data("colpickid")&&_.apply(this)}))},hidePicker:function(){return this.each((function(){t(this).data("colpickid")&&t("#"+t(this).data("colpickid")).hide()}))},setColor:function(e,c){if(c=void 0===c?1:c,"string"==typeof e)e=L(e);else if(null!=e.r&&null!=e.g&&null!=e.b)e=A(e);else{if(null==e.h||null==e.s||null==e.b)return this;e=T(e)}return this.each((function(){if(t(this).data("colpickid")){var d=t("#"+t(this).data("colpickid"));d.data("colpick").color=e,d.data("colpick").origColor=e,i(e,d.get(0)),o(e,d.get(0)),n(e,d.get(0)),r(e,d.get(0)),s(e,d.get(0)),l(e,d.get(0)),d.data("colpick").onChange.apply(d.parent(),[e,W(e),I(e),d.data("colpick").el,1]),c&&a(e,d.get(0))}}))}}),$=function(t){return{r:(t=parseInt(t.indexOf("#")>-1?t.substring(1):t,16))>>16,g:(65280&t)>>8,b:255&t}},L=function(t){return A($(t))},A=function(t){var e={h:0,s:0,b:0},i=Math.min(t.r,t.g,t.b),o=Math.max(t.r,t.g,t.b),n=o-i;return e.b=o,e.s=0!=o?255*n/o:0,0!=e.s?t.r==o?e.h=(t.g-t.b)/n:t.g==o?e.h=2+(t.b-t.r)/n:e.h=4+(t.r-t.g)/n:e.h=-1,e.h*=60,e.h<0&&(e.h+=360),e.s*=100/255,e.b*=100/255,e},I=function(t){var e={},i=t.h,o=255*t.s/100,n=255*t.b/100;if(0==o)e.r=e.g=e.b=n;else{var s=n,r=(255-o)*n/255,a=i%60*(s-r)/60;360==i&&(i=0),i<60?(e.r=s,e.b=r,e.g=r+a):i<120?(e.g=s,e.b=r,e.r=s-a):i<180?(e.g=s,e.r=r,e.b=r+a):i<240?(e.b=s,e.r=r,e.g=s-a):i<300?(e.b=s,e.g=r,e.r=r+a):i<360?(e.r=s,e.g=r,e.b=s-a):(e.r=0,e.g=0,e.b=0)}return{r:Math.round(e.r),g:Math.round(e.g),b:Math.round(e.b)}},j=function(e){var i=[e.r.toString(16),e.g.toString(16),e.b.toString(16)];return t.each(i,(function(t,e){1==e.length&&(i[t]="0"+e)})),i.join("")},W=function(t){return j(I(t))};t.fn.extend({colpick:O.init,colpickHide:O.hidePicker,colpickShow:O.showPicker,colpickSetColor:O.setColor}),t.extend({colpick:{rgbToHex:j,rgbToHsb:A,hsbToHex:W,hsbToRgb:I,hexToHsb:L,hexToRgb:$}})}(jQuery)},681:()=>{!function(t){t.cookie=function(e,i,o){if(arguments.length>1&&(!/Object/.test(Object.prototype.toString.call(i))||null==i)){if(o=t.extend({},o),null==i&&(o.expires=-1),"number"==typeof o.expires){var n=o.expires,s=o.expires=new Date;s.setDate(s.getDate()+n)}return i=String(i),document.cookie=[encodeURIComponent(e),"=",o.raw?i:encodeURIComponent(i),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}for(var r,a=(o=i||{}).raw?function(t){return t}:decodeURIComponent,l=document.cookie.split("; "),c=0;r=l[c]&&l[c].split("=");c++)if(a(r[0])===e)return a(r[1]||"");return null},t.fn.cookieBar=function(e){var i=t.extend({closeButton:"none",hideOnClose:!0,secure:!1,path:"/",domain:""},e);return this.each((function(){var e=t(this);e.hide(),"none"==i.closeButton&&(e.append('<a class="cookiebar-close">Continue</a>'),t.extend(i,{closeButton:".cookiebar-close"})),"hide"!=t.cookie("cookiebar")&&e.show(),e.find(i.closeButton).on("click",(function(){return i.hideOnClose&&e.hide(),t.cookie("cookiebar","hide",{path:i.path,secure:i.secure,domain:i.domain,expires:30}),e.trigger("cookieBar-close"),!1}))}))},t.cookieBar=function(e){t("body").prepend('<div class="ui-widget"><div style="display: none;" class="cookie-message ui-widget-header blue"><p>By using this website you allow us to place cookies on your computer. They are harmless and never personally identify you.</p></div></div>'),t(".cookie-message").cookieBar(e)}}(jQuery)},193:(t,e,i)=>{var o,n,s;!function(r){"use strict";n=[i(311)],o=function(t){function e(t){var e=t.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(e)}function i(t){return function(i){var n=i.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(n)for(var s=0,r=n.length;s<r;++s){var l=n[s].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),c=e(l[0]),d=l[1]||"",p=l[3]||"",h=null;l=l[2],a.hasOwnProperty(l)&&(h=a[l],h=Number(t[h])),null!==h&&("!"===d&&(h=o(p,h)),""===d&&h<10&&(h="0"+h.toString()),i=i.replace(c,h.toString()))}return i.replace(/%%/,"%")}}function o(t,e){var i="s",o="";return t&&(1===(t=t.replace(/(:|;|\s)/gi,"").split(/\,/)).length?i=t[0]:(o=t[0],i=t[1])),Math.abs(e)>1?i:o}var n=[],s=[],r={precision:100,elapse:!1,defer:!1};s.push(/^[0-9]*$/.source),s.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),s.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),s=new RegExp(s.join("|"));var a={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"},l=function(e,i,o){this.el=e,this.$el=t(e),this.interval=null,this.offset={},this.options=t.extend({},r),this.instanceNumber=n.length,n.push(this),this.$el.data("countdown-instance",this.instanceNumber),o&&("function"==typeof o?(this.$el.on("update.countdown",o),this.$el.on("stoped.
2countdown",o),this.$el.on("finish.countdown",o)):this.options=t.extend({},r,o)),this.setFinalDate(i),!1===this.options.defer&&this.start()};t.extend(l.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var t=this;this.update(),this.interval=setInterval((function(){t.update.call(t)}),this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),n[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(t){this.finalDate=function(t){if(t instanceof Date)return t;if(String(t).match(s))return String(t).match(/^[0-9]*$/)&&(t=Number(t)),String(t).match(/\-/)&&(t=String(t).replace(/\-/g,"/")),new Date(t);throw new Error("Couldn't cast `"+t+"` to a date object.")}(t)},update:function(){if(0!==this.$el.closest("html").length){var e,i=void 0!==t._data(this.el,"events"),o=new Date;e=this.finalDate.getTime()-o.getTime(),e=Math.ceil(e/1e3),e=!this.options.elapse&&e<0?0:Math.abs(e),this.totalSecsLeft!==e&&i&&(this.totalSecsLeft=e,this.elapsed=o>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-o.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish")))}else this.remove()},dispatchEvent:function(e){var o=t.Event(e+".countdown");o.finalDate=this.finalDate,o.elapsed=this.elapsed,o.offset=t.extend({},this.offset),o.strftime=i(this.offset),this.$el.trigger(o)}}),t.fn.countdown=function(){var e=Array.prototype.slice.call(arguments,0);return this.each((function(){var i=t(this).data("countdown-instance");if(void 0!==i){var o=n[i],s=e[0];l.prototype.hasOwnProperty(s)?o[s].apply(o,e.slice(1)):null===String(s).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(o.setFinalDate.call(o,s),o.start()):t.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,s))}else new l(this,e[0],e[1])}))}},void 0===(s=o.apply(e,n))||(t.exports=s)}()},818:()=>{var t,e;"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),t=jQuery,window,document,e={init:function(e,i){var o=this;o.elem=i,o.$elem=t(i),o.imageSrc=o.$elem.data("zoom-image")?o.$elem.data("zoom-image"):o.$elem.attr("src"),o.options=t.extend({},t.fn.elevateZoom.options,e),o.options.tint&&(o.options.lensColour="none",o.options.lensOpacity="1"),"inner"==o.options.zoomType&&(o.options.showLens=!1),o.$elem.parent().removeAttr("title").removeAttr("alt"),o.zoomImage=o.imageSrc,o.refresh(1),t("#"+o.options.gallery+" a").on("click",(function(e){return o.options.galleryActiveClass&&(t("#"+o.options.gallery+" a").removeClass(o.options.galleryActiveClass),t(this).addClass(o.options.galleryActiveClass)),e.preventDefault(),t(this).data("zoom-image")?o.zoomImagePre=t(this).data("zoom-image"):o.zoomImagePre=t(this).data("image"),o.swaptheimage(t(this).data("image"),o.zoomImagePre),!1}))},refresh:function(t){var e=this;setTimeout((function(){e.fetch(e.imageSrc)}),t||e.options.refresh)},fetch:function(t){var e=this,i=new Image;i.onload=function(){e.largeWidth=i.width,e.largeHeight=i.height,e.startZoom(),e.currentImage=e.imageSrc,e.options.onZoomedImageLoaded(e.$elem)},i.src=t},startZoom:function(){var e=this;if(e.nzWidth=e.$elem.width(),e.nzHeight=e.$elem.height(),e.isWindowActive=!1,e.isLensActive=!1,e.isTintActive=!1,e.overWindow=!1,e.options.imageCrossfade&&(e.zoomWrap=e.$elem.wrap('<div style="height:'+e.nzHeight+"px;width:"+e.nzWidth+'px;" class="zoomWrapper" />'),e.$elem.css("position","absolute")),e.zoomLock=1,e.scrollingLock=!1,e.changeBgSize=!1,e.currentZoomLevel=e.options.zoomLevel,e.
2nzOffset=e.$elem.offset(),e.widthRatio=e.largeWidth/e.currentZoomLevel/e.nzWidth,e.heightRatio=e.largeHeight/e.currentZoomLevel/e.nzHeight,"window"==e.options.zoomType&&(e.zoomWindowStyle="overflow: hidden;background-position: 0px 0px;text-align:center;background-color: "+String(e.options.zoomWindowBgColour)+";width: "+String(e.options.zoomWindowWidth)+"px;height: "+String(e.options.zoomWindowHeight)+"px;float: left;background-size: "+e.largeWidth/e.currentZoomLevel+"px "+e.largeHeight/e.currentZoomLevel+"px;display: none;z-index:100;border: "+String(e.options.borderSize)+"px solid "+e.options.borderColour+";background-repeat: no-repeat;position: absolute;"),"inner"==e.options.zoomType){var i=e.$elem.css("border-left-width");e.zoomWindowStyle="overflow: hidden;margin-left: "+String(i)+";margin-top: "+String(i)+";background-position: 0px 0px;width: "+String(e.nzWidth)+"px;height: "+String(e.nzHeight)+"px;float: left;display: none;cursor:"+e.options.cursor+";px solid "+e.options.borderColour+";background-repeat: no-repeat;position: absolute;"}"window"==e.options.zoomType&&(lensHeight=e.nzHeight<e.options.zoomWindowWidth/e.widthRatio?e.nzHeight:String(e.options.zoomWindowHeight/e.heightRatio),lensWidth=e.largeWidth<e.options.zoomWindowWidth?e.nzWidth:e.options.zoomWindowWidth/e.widthRatio,e.lensStyle="background-position: 0px 0px;width: "+String(e.options.zoomWindowWidth/e.widthRatio)+"px;height: "+String(e.options.zoomWindowHeight/e.heightRatio)+"px;float: right;display: none;overflow: hidden;z-index: 999;-webkit-transform: translateZ(0);opacity:"+e.options.lensOpacity+";filter: alpha(opacity = "+100*e.options.lensOpacity+"); zoom:1;width:"+lensWidth+"px;height:"+lensHeight+"px;background-color:"+e.options.lensColour+";cursor:"+e.options.cursor+";border: "+e.options.lensBorderSize+"px solid "+e.options.lensBorderColour+";background-repeat: no-repeat;position: absolute;"),e.tintStyle="display: block;position: absolute;background-color: "+e.options.tintColour+";filter:alpha(opacity=0);opacity: 0;width: "+e.nzWidth+"px;height: "+e.nzHeight+"px;",e.lensRound="","lens"==e.options.zoomType&&(e.lensStyle="background-position: 0px 0px;float: left;display: none;border: "+String(e.options.borderSize)+"px solid "+e.options.borderColour+";width:"+String(e.options.lensSize)+"px;height:"+String(e.options.lensSize)+"px;background-repeat: no-repeat;position: absolute;"),"round"==e.options.lensShape&&(e.lensRound="border-top-left-radius: "+String(e.options.lensSize/2+e.options.borderSize)+"px;border-top-right-radius: "+String(e.options.lensSize/2+e.options.borderSize)+"px;border-bottom-left-radius: "+String(e.options.lensSize/2+e.options.borderSize)+"px;border-bottom-right-radius: "+String(e.options.lensSize/2+e.options.borderSize)+"px;"),e.zoomContainer=t('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;left:'+e.nzOffset.left+"px;top:"+e.nzOffset.top+"px;height:"+e.nzHeight+"px;width:"+e.nzWidth+'px;"></div>'),t("body").append(e.zoomContainer),e.options.containLensZoom&&"lens"==e.options.zoomType&&e.zoomContainer.css("overflow","hidden"),"inner"!=e.options.zoomType&&(e.zoomLens=t("<div class='zoomLens' style='"+e.lensStyle+e.lensRound+"'>&nbsp;</div>").appendTo(e.zoomContainer).on("click",(function(){e.$elem.trigger("click")})),e.options.tint&&(e.tintContainer=t("<div/>").addClass("tintContainer"),e.zoomTint=t("<div class='zoomTint' style='"+e.tintStyle+"'></div>"),e.zoomLens.wrap(e.tintContainer),e.zoomTintcss=e.zoomLens.after(e.zoomTint),e.zoomTintImage=t('<img style="position: absolute; left: 0px; top: 0px; max-width: none; width: '+e.nzWidth+"px; height: "+e.nzHeight+'px;" src="'+e.imageSrc+'">').appendTo(e.zoomLens).on("click",(function(){e.$elem.trigger("click")})))),isNaN(e.options.zoomWindowPosition)?e.zoomWindow=t("<div style='z-index:999;left:"+e.windowOffsetLeft+"px;top:"+e.windowOffsetTop+"px;"+e.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo("body").on("click",(function(){e.$elem.trigger("click")})):e.zoomWindow=t("<div style='z-index:999;left:"+e.windowOffsetLeft+"px;top:"+e.windowOffsetTop+"px;"+e.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo(e.zoomContainer).on("click",(function(){e.$elem.trigger("click")})),e.zoomWindowContainer=t("<div/>").addClass("zoomWindowContainer").css("width",e.options.zoomWindowWidth),e.zoomWindow.wrap(e.zoomWindowContainer),"lens"==e.options.zoomType&&e.zoomLens.css({backgroundImage:"url('"+e.imageSrc+"')"}),"window"==e.options.zoomType&&e.zoomWindow.css({backgroundImage:"url('"+e.imageSrc+"')"}),"inner"==e.options.zoomType&&e.zoomWindow.css({backgroundImage:"url('"+e.imageSrc+"')"}),e.$elem.bind("touchmove",(function(t){t.preventDefault(),e.setPosition(t.originalEvent.touches[0]||t.originalEvent.changedTouches[0])})),e.zoomContainer.bind("touchmove",(function(t){"inner"==e.options.zoomType&&e.showHideWindow("show"),t.preventDefault(),e.setPosition(t.originalEvent.touches[0]||t.originalEvent.changedTouches[0])})),e.zoomContainer.bind("touchend",(function(t){e.showHideWindow("hide"),e.options.showLens&&e.showHideLens("hide"),e.options.tint&&"inner"!=e.options.zoomType&&e.showHideTint("hide")})),e.$elem.bind("touchend",(function(t){e.showHideWindow("hide"),e.options.showLens&&e.showHideLens("hide"),e.options.tint&&"inner"!=e.options.zoomType&&e.showHideTint("hide")})),e.options.showLens&&(e.zoomLens.bind("touchmove",(function(t){t.preventDefault(),e.setPosition(t.originalEvent.touches[0]||t.originalEvent.changedTouches[0])})),e.zoomLens.bind("touchend",(function(t){e.showHideWindow("hide"),e.options.showLens&&e.showHideLens("hide"),e.options.tint&&"inner"!=e.options.zoomType&&e.showHideTint("hide")}))),e.$elem.bind("mousemove",(function(t){0==e.overWindow&&e.setElements("show"),e.lastX===t.clientX&&e.lastY===t.clientY||(e.setPosition(t),e.currentLoc=t),e.lastX=t.clientX,e.lastY=t.clientY})),e.zoomContainer.bind("mousemove",(function(t){0==e.overWindow&&e.setElements("show"),e.lastX===t.clientX&&e.lastY===t.clientY||(e.setPosition(t),e.currentLoc=t),e.lastX=t.clientX,e.lastY=t.clientY})),"inner"!=e.options.zoomType&&e.zoomLens.bind("mousemove",(function(t){e.lastX===t.clientX&&e.lastY===t.clientY||(e.setPosition(t),e.currentLoc=t),e.lastX=t.clientX,e.lastY=t.clientY})),e.options.tint&&"inner"!=e.options.zoomType&&e.zoomTint.bind("mousemove",(function(t){e.lastX===t.clientX&&e.lastY===t.clientY||(e.setPosition(t),e.currentLoc=t),e.lastX=t.clientX,e.lastY=t.clientY})),"inner"==e.options.zoomType&&e.zoomWindow.bind("mousemove",(function(t){e.lastX===t.clientX&&e.lastY===t.clientY||(e.setPosition(t),e.currentLoc=t),e.lastX=t.clientX,e.lastY=t.clientY})),e.zoomContainer.add(e.$elem).on("mouseenter",(function(){0==e.overWindow&&e.setElements("show")})).on("mouseleave",(function(){e.scrollLock||e.setElements("hide")})),"inner"!=e.options.zoomType&&e.zoomWindow.on("mouseenter",(function(){e.overWindow=!0,e.setElements("hide")})).on("mouseleave",(function(){e.overWindow=!1})),e.minZoomLevel=e.options.minZoomLevel?e.options.minZoomLevel:2*e.options.scrollZoomIncrement,e.options.scrollZoom&&e.zoomContainer.add(e.$elem).bind("mousewheel DOMMouseScroll MozMousePixelScroll",(function(i){e.scrollLock=!0,clearTimeout(t.data(this,"timer")),t.data(this,"timer",setTimeout((function(){e.scrollLock=!1}),250));var o=i.originalEvent.wheelDelta||-1*i.originalEvent.detail;return i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault(),0<o/120?e.currentZoomLevel>=e.minZoomLevel&&e.changeZoomLevel(e.currentZoomLevel-e.options.scrollZoomIncrement):e.options.maxZoomLevel?e.currentZoomLevel<=e.options.maxZoomLevel&&e.changeZoomLevel(parseFloat(e.currentZoomLevel)+e.options.scrollZoomIncrement):e.changeZoomLevel(parseFloat(e.currentZoomLevel)+e.options.scrollZoomIncrement),!1}))},setElements:function(t){if(!this.options.zoomEnabled)return!1;"show"==t&&this.isWindowSet&&("inner"==this.options.zoomType&&this.showHideWindow("show"),"window"==this.options.zoomType&&this.showHideWindow("show"),this.options.showLens&&this.showHideLens("show"),this.options.tint&&"inner"!=this.options.zoomType&&this.showHideTint("show")),"hide"==t&&("window"==this.options.zoomType&&this.showHideWindow("hide"),this.options.tint||this.showHideWindow("hide"),this.options.showLens&&this.showHideLens("hide"),this.options.tint&&this.showHideTint("hide"))},setPosition:function(t){if(!this.options.zoomEnabled)return!1;this.nzHeight=this.$elem.height(),this.nzWidth=this.$elem.width(),this.nzOffset=this.$elem.offset(),this.options.tint&&"inner"!=this.options.zoomType&&(this.zoomTint.css({top:0}),this.zoomTint.css({left:0})),this.options.responsive&&!this.options.scrollZoom&&this.options.showLens&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.largeWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio,this.widthRatio=this.largeWidth/this.nzWidth,this.heightRatio=this.largeHeight/this.nzHeight,"lens"!=this.options.zoomType&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.options.zoomWindowWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio,this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight),this.options.tint&&(this.zoomTintImage.css("width",this.nzWidth),this.zoomTintImage.css("height",this.nzHeight))),"lens"==this.options.zoomType&&this.zoomLens.css({width:String(this.options.lensSize)+"px",height:String(this.options.lensSize)+"px"})),this.zoomContainer.css({top:this.nzOffset.top}),this.zoomContainer.css({left:this.nzOffset.left}),this.mouseLeft=parseInt(t.pageX-this.nzOffset.left),this.mouseTop=p
2arseInt(t.pageY-this.nzOffset.top),"window"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.zoomLens.height()/2,this.Eboppos=this.mouseTop>this.nzHeight-this.zoomLens.height()/2-2*this.options.lensBorderSize,this.Eloppos=this.mouseLeft<0+this.zoomLens.width()/2,this.Eroppos=this.mouseLeft>this.nzWidth-this.zoomLens.width()/2-2*this.options.lensBorderSize),"inner"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.nzHeight/2/this.heightRatio,this.Eboppos=this.mouseTop>this.nzHeight-this.nzHeight/2/this.heightRatio,this.Eloppos=this.mouseLeft<0+this.nzWidth/2/this.widthRatio,this.Eroppos=this.mouseLeft>this.nzWidth-this.nzWidth/2/this.widthRatio-2*this.options.lensBorderSize),0>=this.mouseLeft||0>this.mouseTop||this.mouseLeft>this.nzWidth||this.mouseTop>this.nzHeight?this.setElements("hide"):(this.options.showLens&&(this.lensLeftPos=String(this.mouseLeft-this.zoomLens.width()/2),this.lensTopPos=String(this.mouseTop-this.zoomLens.height()/2)),this.Etoppos&&(this.lensTopPos=0),this.Eloppos&&(this.tintpos=this.lensLeftPos=this.windowLeftPos=0),"window"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize)),"inner"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.nzWidth-2*this.options.lensBorderSize)),"lens"==this.options.zoomType&&(this.windowLeftPos=String(-1*((t.pageX-this.nzOffset.left)*this.widthRatio-this.zoomLens.width()/2)),this.windowTopPos=String(-1*((t.pageY-this.nzOffset.top)*this.heightRatio-this.zoomLens.height()/2)),this.zoomLens.css({backgroundPosition:this.windowLeftPos+"px "+this.windowTopPos+"px"}),this.changeBgSize&&(this.nzHeight>this.nzWidth?("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"})):("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"})),this.changeBgSize=!1),this.setWindowPostition(t)),this.options.tint&&"inner"!=this.options.zoomType&&this.setTintPosition(t),"window"==this.options.zoomType&&this.setWindowPostition(t),"inner"==this.options.zoomType&&this.setWindowPostition(t),this.options.showLens&&(this.fullwidth&&"lens"!=this.options.zoomType&&(this.lensLeftPos=0),this.zoomLens.css({left:this.lensLeftPos+"px",top:this.lensTopPos+"px"})))},showHideWindow:function(t){"show"!=t||this.isWindowActive||(this.options.zoomWindowFadeIn?this.zoomWindow.stop(!0,!0,!1).fadeIn(this.options.zoomWindowFadeIn):this.zoomWindow.show(),this.isWindowActive=!0),"hide"==t&&this.isWindowActive&&(this.options.zoomWindowFadeOut?this.zoomWindow.stop(!0,!0).fadeOut(this.options.zoomWindowFadeOut):this.zoomWindow.hide(),this.isWindowActive=!1)},showHideLens:function(t){"show"!=t||this.isLensActive||(this.options.lensFadeIn?this.zoomLens.stop(!0,!0,!1).fadeIn(this.options.lensFadeIn):this.zoomLens.show(),this.isLensActive=!0),"hide"==t&&this.isLensActive&&(this.options.lensFadeOut?this.zoomLens.stop(!0,!0).fadeOut(this.options.lensFadeOut):this.zoomLens.hide(),this.isLensActive=!1)},showHideTint:function(t){"show"!=t||this.isTintActive||(this.options.zoomTintFadeIn?this.zoomTint.css({opacity:this.options.tintOpacity}).animate().stop(!0,!0).fadeIn("slow"):(this.zoomTint.css({opacity:this.options.tintOpacity}).animate(),this.zoomTint.show()),this.isTintActive=!0),"hide"==t&&this.isTintActive&&(this.options.zoomTintFadeOut?this.zoomTint.stop(!0,!0).fadeOut(this.options.zoomTintFadeOut):this.zoomTint.hide(),this.isTintActive=!1)},setLensPostition:function(t){},setWindowPostition:function(e){var i=this;if(isNaN(i.options.zoomWindowPosition))i.externalContainer=t("#"+i.options.zoomWindowPosition),i.externalContainerWidth=i.externalContainer.width(),i.externalContainerHeight=i.externalContainer.height(),i.externalContainerOffset=i.externalContainer.offset(),i.windowOffsetTop=i.externalContainerOffset.top,i.windowOffsetLeft=i.externalContainerOffset.left;else switch(i.options.zoomWindowPosition){case 1:i.windowOffsetTop=i.options.zoomWindowOffety,i.windowOffsetLeft=+i.nzWidth;break;case 2:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.options.zoomWindowHeight/2-i.nzHeight/2),i.windowOffsetLeft=i.nzWidth);break;case 3:i.windowOffsetTop=i.nzHeight-i.zoomWindow.height()-2*i.options.borderSize,i.windowOffsetLeft=i.nzWidth;break;case 4:i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=i.nzWidth;break;case 5:i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=i.nzWidth-i.zoomWindow.width()-2*i.options.borderSize;break;case 6:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=-1*(i.options.zoomWindowWidth/2-i.nzWidth/2+2*i.options.borderSize));break;case 7:i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=0;break;case 8:i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 9:i.windowOffsetTop=i.nzHeight-i.zoomWindow.height()-2*i.options.borderSize,i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 10:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.options.zoomWindowHeight/2-i.nzHeight/2),i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize));break;case 11:i.windowOffsetTop=i.options.zoomWindowOffety,i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 12:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 13:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=0;break;case 14:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=-1*(i.options.zoomWindowWidth/2-i.nzWidth/2+2*i.options.borderSize));break;case 15:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=i.nzWidth-i.zoomWindow.width()-2*i.options.borderSize;break;case 16:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=i.nzWidth;break;default:i.windowOffsetTop=i.options.zoomWindowOffety,i.windowOffsetLeft=i.nzWidth}i.isWindowSet=!0,i.windowOffsetTop+=i.options.zoomWindowOffety,i.windowOffsetLeft+=i.options.zoomWindowOffetx,i.zoomWindow.css({top:i.windowOffsetTop}),i.zoomWindow.css({left:i.windowOffsetLeft}),"inner"==i.options.zoomType&&(i.zoomWindow.css({top:0}),i.zoomWindow.css({left:0})),i.windowLeftPos=String(-1*((e.pageX-i.nzOffset.left)*i.widthRatio-i.zoomWindow.width()/2)),i.windowTopPos=String(-1*((e.pageY-i.nzOff
2set.top)*i.heightRatio-i.zoomWindow.height()/2)),i.Etoppos&&(i.windowTopPos=0),i.Eloppos&&(i.windowLeftPos=0),i.Eboppos&&(i.windowTopPos=-1*(i.largeHeight/i.currentZoomLevel-i.zoomWindow.height())),i.Eroppos&&(i.windowLeftPos=-1*(i.largeWidth/i.currentZoomLevel-i.zoomWindow.width())),i.fullheight&&(i.windowTopPos=0),i.fullwidth&&(i.windowLeftPos=0),"window"!=i.options.zoomType&&"inner"!=i.options.zoomType||(1==i.zoomLock&&(1>=i.widthRatio&&(i.windowLeftPos=0),1>=i.heightRatio&&(i.windowTopPos=0)),i.largeHeight<i.options.zoomWindowHeight&&(i.windowTopPos=0),i.largeWidth<i.options.zoomWindowWidth&&(i.windowLeftPos=0),i.options.easing?(i.xp||(i.xp=0),i.yp||(i.yp=0),i.loop||(i.loop=setInterval((function(){i.xp+=(i.windowLeftPos-i.xp)/i.options.easingAmount,i.yp+=(i.windowTopPos-i.yp)/i.options.easingAmount,i.scrollingLock?(clearInterval(i.loop),i.xp=i.windowLeftPos,i.yp=i.windowTopPos,i.xp=-1*((e.pageX-i.nzOffset.left)*i.widthRatio-i.zoomWindow.width()/2),i.yp=-1*((e.pageY-i.nzOffset.top)*i.heightRatio-i.zoomWindow.height()/2),i.changeBgSize&&(i.nzHeight>i.nzWidth?("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})):("lens"!=i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"})),i.changeBgSize=!1),i.zoomWindow.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"}),i.scrollingLock=!1,i.loop=!1):(i.changeBgSize&&(i.nzHeight>i.nzWidth?("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})):("lens"!=i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"})),i.changeBgSize=!1),i.zoomWindow.css({backgroundPosition:i.xp+"px "+i.yp+"px"}))}),16))):(i.changeBgSize&&(i.nzHeight>i.nzWidth?("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})):("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"}),i.largeHeight/i.newvaluewidth<i.options.zoomWindowHeight?i.zoomWindow.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"}):i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})),i.changeBgSize=!1),i.zoomWindow.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"})))},setTintPosition:function(t){this.nzOffset=this.$elem.offset(),this.tintpos=String(-1*(t.pageX-this.nzOffset.left-this.zoomLens.width()/2)),this.tintposy=String(-1*(t.pageY-this.nzOffset.top-this.zoomLens.height()/2)),this.Etoppos&&(this.tintposy=0),this.Eloppos&&(this.tintpos=0),this.Eboppos&&(this.tintposy=-1*(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize)),this.Eroppos&&(this.tintpos=-1*(this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize)),this.options.tint&&(this.fullheight&&(this.tintposy=0),this.fullwidth&&(this.tintpos=0),this.zoomTintImage.css({left:this.tintpos+"px"}),this.zoomTintImage.css({top:this.tintposy+"px"}))},swaptheimage:function(e,i){var o=this,n=new Image;o.options.loadingIcon&&(o.spinner=t("<div style=\"background: url('"+o.options.loadingIcon+"') no-repeat center;height:"+o.nzHeight+"px;width:"+o.nzWidth+'px;z-index: 2000;position: absolute; background-position: center center;"></div>'),o.$elem.after(o.spinner)),o.options.onImageSwap(o.$elem),n.onload=function(){o.largeWidth=n.width,o.largeHeight=n.height,o.zoomImage=i,o.zoomWindow.css({"background-size":o.largeWidth+"px "+o.largeHeight+"px"}),o.zoomWindow.css({"background-size":o.largeWidth+"px "+o.largeHeight+"px"}),o.swapAction(e,i)},n.src=i},swapAction:function(e,i){var o=this,n=new Image;if(n.onload=function(){o.nzHeight=n.height,o.nzWidth=n.width,o.options.onImageSwapComplete(o.$elem),o.doneCallback()},n.src=e,o.currentZoomLevel=o.options.zoomLevel,o.options.maxZoomLevel=!1,"lens"==o.options.zoomType&&o.zoomLens.css({backgroundImage:"url('"+i+"')"}),"window"==o.options.zoomType&&o.zoomWindow.css({backgroundImage:"url('"+i+"')"}),"inner"==o.options.zoomType&&o.zoomWindow.css({backgroundImage:"url('"+i+"')"}),o.currentImage=i,o.options.imageCrossfade){var s=o.$elem,r=s.clone();o.$elem.attr("src",e),o.$elem.after(r),r.stop(!0).fadeOut(o.options.imageCrossfade,(function(){t(this).remove()})),o.$elem.width("auto").removeAttr("width"),o.$elem.height("auto").removeAttr("height"),s.fadeIn(o.options.imageCrossfade),o.options.tint&&"inner"!=o.options.zoomType&&(r=(s=o.zoomTintImage).clone(),o.zoomTintImage.attr("src",i),o.zoomTintImage.after(r),r.stop(!0).fadeOut(o.options.imageCrossfade,(function(){t(this).remove()})),s.fadeIn(o.options.imageCrossfade),o.zoomTint.css({height:o.$elem.height()}),o.zoomTint.css({width:o.$elem.width()})),o.zoomContainer.css("height",o.$elem.height()),o.zoomContainer.css("width",o.$elem.width()),"inner"!=o.options.zoomType||o.options.constrainType||(o.zoomWrap.parent().css("height",o.$elem.height()),o.zoomWrap.parent().css("width",o.$elem.width()),o.zoomWindow.css("height",o.$elem.height()),o.zoomWindow.css("width",o.$elem.width()))}else o.$elem.attr("src",e),o.options.tint&&(o.zoomTintImage.attr("src",i),o.zoomTintImage.attr("height",o.$elem.height()),o.zoomTintImage.css({height:o.$elem.height()}),o.zoomTint.css({height:o.$elem.height()})),o.zoomContainer.css("height",o.$elem.height()),o.zoomContainer.css("width",o.$elem.width());o.options.imageCrossfade&&(o.zoomWrap.css("height",o.$elem.height()),o.zoomWrap.css("width",o.$elem.width())),o.options.constrainType&&("height"==o.options.constrainType&&(o.zoomContainer.css("height",o.options.constrainSize),o.zoomContainer.css("width","auto"),o.options.imageCrossfade?(o.zoomWrap.css("height",o.options.constrainSize),o.zoomWrap.css("width","auto"),o.constwidth=o.zoomWrap.width()):(o.$elem.css("height",o.options.constrainSize),o.$elem.css("width","auto"),o.constwidth=o.$elem.width()),"inner"==o.options.zoomType&&(o.zoomWrap.parent().css("height",o.options.constrainSize),o.zoomWrap.parent().css("width",o.constwidth),o.zoomWindow.css("height",o.options.constrainSize),o.zoomWindow.css("width",o.constwidth)),o.options.tint&&(o.tintContainer.css("height",o.options.constrainSize),o.tintContainer.css("width",o.constwidth),o.zoomTint.css("height",o.options.constrainSize),o.zoomTint.css("width",o.constwidth),o.zoomTintImage.css("height",o.options.constrainSize),o.zoomTintImage.css("width",o.constwidth))),"width"==o.options.constrainType&&(o.zoomContainer.css("height","auto"),o.zoomContainer.css("width",o.options.constrainSize),o.options.imageCrossfade?(o.zoomWrap.css("height","auto"),o.zoomWrap.css("width",o.options.constrainSize),o.constheight=o.zoomWrap.height()):(o.$elem.css("height","auto"),o.$elem.css("width",o.options.constrainSize),o.constheight=o.$elem.height()),"inner"==o.options.zoomType&&(o.zoomWrap.parent().css("height",o.constheight),o.zoomWrap.parent().css("width",o.options.constrainSize),o.zoomWindow.css("height",o.constheight),o.zoomWindow.css("width",o.options.constrainSize)),o.options.tint&&(o.tintContainer.css("height",o.constheight),o.tintContainer.css("width",o.options.constrainSize),o.zoomTint.css("height",o.constheight),o.zoomTint.css("width",o.options.constrainSize),o.zoomTintImage.css("height",o.constheight),o.zoomTintImage.css("width",o.options.constrainSize))))},doneCallback:function(){this.options.loadingIcon&&this.spinner.hide(),this.nzOffset=this.$elem.offset(),this.nzWidth=this.$elem.width(),this.nzHeight=this.$elem.height(),this.currentZoomLevel=this.options.zoomLevel,this.widthRatio=this.largeWidth/this.nzWidth,this.heightRatio=this.largeHeight/this.nzHeight,"window"==this.options.zoomType&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.options.zoomWindowWidth<this.options.zoomWindowWidth?this.nzWidth:this.options.zoomWindowWidth/this.widthRatio,this.zoomLens&&(this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight)))},getCurrentImage:function(){return this.zoomImage},getGalleryList:function(){var e=this;return e.gallerylist=[],e.options.gallery?t("#"+e.options.gallery+" a").each((function(){var i="";t(this).data("zoom-image")?i=t(this).data("zoom-image"):t(this).data("image")&&(i=t(this).data("image")),i==e.zoomImage?e.gallerylist.unshift({href:""+i,title:t(this).find("img").attr("title")}):e.gallerylist.push({href:""+i,title:t(this).find("img").attr("title")})})):e.gallerylist.push({href:""+e.zoomImage,title:t(this).find("img").attr("title")}),e.gallerylist},changeZoomLevel:function(t){this.scrollingLock=!0,this.newvalue=parseFloat(t).toFixed(2),newvalue=parseFloat(t).toFixed(2),maxheightnewvalue=this.largeHeight/(this.options.zoomWindowHeight/this.nzHeight*this.nzHeight),maxwidthtnewvalue=this.largeWidth/(this.options.zoomWindowWidth/this.nzWidth*this.nzWidth),"inner"!=this.options.zoomType&&(maxheightnewvalue<=newvalue?(this.heightRatio=this.largeHeight/maxheightnewvalue/this.nzHeight,this.newvalueheight=maxheightnewvalue,this.fullheight=!0):(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,this.newvalueheight=newvalue,this.fullheight=!1),maxwidthtnewvalue<=newvalue?(this.widthRatio=this.largeWidth/maxwidthtnewvalue/this.nzWidth,this.newvaluewidth=maxwidthtnewvalue,this.fullwidth=!0):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1),"lens"==this.options.zoomType&&(maxheightnewvalue<=newvalue?(this.fullwidth=!0,this.newvaluewidth=maxheightnewvalue):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1))),"inner"==this.options.zoomType&&(maxheightnewvalue=parseFloat(this.largeHeight/this.nzHeight).toFixed(2),maxwidthtnewvalue=parseFloat(this.largeWidth/this.nzWidth).toFixed(2),newvalue>maxheightnewvalue&&(newvalue=maxheightnewvalue),newvalue>maxwidthtnewvalue&&(newvalue=maxwidthtnewvalue),maxheightnewvalue<=newvalue?(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,this.newvalueheight=newvalue>maxheightnewvalue?maxheightnewvalue:newvalue,this.fullheight=!0):(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,this.newvalueheight=newvalue>maxheightnewvalue?maxheightnewvalue:newvalue,this.fullheight=!1),maxwidthtnewvalue<=newvalue?(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue>maxwidthtnewvalue?maxwidthtnewvalue:newvalue,this.fullwidth=!0):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1)),scrcontinue=!1,"inner"==this.options.zoomType&&(this.nzWidth>this.nzHeight&&(this.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,this.fullwidth=this.fullheight=!0)),this.nzHeight>this.nzWidth&&(this.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,this.fullwidth=this.fullheight=!0))),"inner"!=this.options.zoomType&&(scrcontinue=!0),scrcontinue&&(this.zoomLock=0,this.changeZoom=!0,this.options.zoomWindowHeight/this.heightRatio<=this.nzHeight&&(this.currentZoomLevel=this.newvalueheight,"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({height:String(this.options.zoomWindowHeight/this.heightRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),this.options.zoomWindowWidth/this.widthRatio<=this.nzWidth&&("inner"!=this.options.zoomType&&this.newvaluewidth>this.newvalueheight&&(this.currentZoomLevel=this.newvaluewidth),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),"inner"==this.options.zoomType&&(this.changeBgSize=!0,this.nzWidth>this.nzHeight&&(this.currentZoomLevel=this.newvaluewidth),this.nzHeight>this.nzWidth&&(this.currentZoomLevel=this.newvaluewidth))),this.setPosition(this.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide(),self.zoomLens&&self.zoomLens.hide(),self.zoomTint&&self.zoomTint.hide()},changeState:function(t){"enable"==t&&(this.options.zoomEnabled=!0),"disable"==t&&(this.options.zoomEnabled=!1)}},t.fn.elevateZoom=function(i){return this.each((function(){var o=Object.create(e);o.init(i,this),t.data(this,"elevateZoom",o)}))},t.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:.1,minZ
2oomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:.4,gallery:!1,galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:t.noop,onZoomedImageLoaded:function(){},onImageSwap:t.noop,onImageSwapComplete:t.noop}},568:()=>{!function(t,e,i,o){var n=t(e);t.fn.lazyload=function(i){var s,r=this,a={threshold:0,failure_limit:0,event:"scroll.lazyload",effect:"show",container:e,data_attribute:"original",data_srcset:"srcset",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/gif;base64,R0lGODdhAQABAPAAAMPDwwAAACwAAAAAAQABAAACAkQBADs="};function l(){var e=0;r.each((function(){var i=t(this);if(!a.skip_invisible||i.is(":visible"))if(t.abovethetop(this,a)||t.leftofbegin(this,a));else if(t.belowthefold(this,a)||t.rightoffold(this,a)){if(++e>a.failure_limit)return!1}else i.trigger("appear"),e=0;else console.log("skip")}))}i&&(o!==i.failurelimit&&(i.failure_limit=i.failurelimit,delete i.failurelimit),o!==i.effectspeed&&(i.effect_speed=i.effectspeed,delete i.effectspeed),t.extend(a,i)),s=a.container===o||a.container===e?n:t(a.container);var c=t(e).scrollTop();return 0===a.event.indexOf("scroll")&&s.off(a.event).on(a.event,(function(){return t(this).scrollTop()>c+100||t(this).scrollTop()<c-100?(c=t(this).scrollTop(),l()):void 0})),this.each((function(){var e=this,i=t(e);e.loaded=!1,i.attr("src")!==o&&!1!==i.attr("src")||i.is("img")&&i.attr("src",a.placeholder),i.one("appear",(function(){if(!this.loaded){if(a.appear){var o=r.length;a.appear.call(e,o,a)}t("<img />").one("load",(function(){var o=i.attr("data-"+a.data_attribute),n=i.attr("data-"+a.data_srcset);o!=i.attr("src")&&i.is("img")&&(i.attr("src",o),null!=n&&i.attr("srcset",n)),e.loaded=!0;var s=t.grep(r,(function(t){return!t.loaded}));r=t(s);var l=t.grep(r,(function(e){return t(e).attr("data-"+a.data_attribute)==i.attr("data-"+a.data_attribute)}));if(t(l).each((function(){t(this).trigger("appear")})),a.load){var c=r.length;a.load.call(e,c,a)}})).attr({src:i.attr("data-"+a.data_attribute),srcset:i.attr("data-"+a.data_srcset)||""})}})),0!==a.event.indexOf("scroll")&&i.off(a.event).on(a.event,(function(){e.loaded||i.trigger("appear")}))})),n.off("resize.lazyload").on("resize.lazyload",(function(){l()})),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&n.on("pageshow",(function(e){e.originalEvent&&e.originalEvent.persisted&&r.each((function(){t(this).trigger("appear")}))})),t((function(){l()})),this},t.belowthefold=function(i,s){return(s.container===o||s.container===e?(e.innerHeight?e.innerHeight:n.height())+n.scrollTop():t(s.container).offset().top+t(s.container).height())<=t(i).offset().top-s.threshold},t.rightoffold=function(i,s){return(s.container===o||s.container===e?n.width()+n.scrollLeft():t(s.container).offset().left+t(s.container).width())<=t(i).offset().left-s.threshold},t.abovethetop=function(i,s){return(s.container===o||s.container===e?n.scrollTop():t(s.container).offset().top)>=t(i).offset().top+s.threshold+t(i).height()},t.leftofbegin=function(i,s){return(s.container===o||s.container===e?n.scrollLeft():t(s.container).offset().left)>=t(i).offset().left+s.threshold+t(i).width()},t.inviewport=function(e,i){return!(t.rightoffold(e,i)||t.leftofbegin(e,i)||t.belowthefold(e,i)||t.abovethetop(e,i))},t.extend(t.expr.pseudos,{"below-the-fold":function(e){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return t.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!t.rightoffold(e,{threshold:0})},"in-viewport":function(e){return t.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return t.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!t.rightoffold(e,{threshold:0})}})}(jQuery,window,document)},130:(t,e,i)=>{var o,n;o=[i(311)],void 0===(n=function(t){var e,i,o,n,s,r,a="Close",l="BeforeClose",c="MarkupParse",d="Open",p="Change",h="mfp",u="."+h,f="mfp-ready",m="mfp-removing",g="mfp-prevent-close",v=function(){},w=!!window.jQuery,y=t(window),b=function(t,i){e.ev.on(h+t+u,i)},x=function(e,i,o,n){var s=document.createElement("div");return s.className="mfp-"+e,o&&(s.innerHTML=o),n?i&&i.appendChild(s):(s=t(s),i&&s.appendTo(i)),s},_=function(i,o){e.ev.triggerHandler(h+i,o),e.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),e.st.callbacks[i]&&e.st.callbacks[i].apply(e,t.isArray(o)?o:[o]))},S=function(i){return i===r&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),r=i),e.currTemplate.closeBtn},k=function(){t.magnificPopup.instance||((e=new v).init(),t.magnificPopup.instance=e)};v.prototype={constructor:v,init:function(){var i=navigator.appVersion;e.isLowIE=e.isIE8=document.all&&!document.addEventListener,e.isAndroid=/android/gi.test(i),e.isIOS=/iphone|ipad|ipod/gi.test(i),e.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),o=t(document),e.popupsCache={}},open:function(i){var n;
2if(!1===i.isObj){e.items=i.items.toArray(),e.index=0;var r,a=i.items;for(n=0;n<a.length;n++)if((r=a[n]).parsed&&(r=r.el[0]),r===i.el[0]){e.index=n;break}}else e.items=t.isArray(i.items)?i.items:[i.items],e.index=i.index||0;if(!e.isOpen){e.types=[],s="",i.mainEl&&i.mainEl.length?e.ev=i.mainEl.eq(0):e.ev=o,i.key?(e.popupsCache[i.key]||(e.popupsCache[i.key]={}),e.currTemplate=e.popupsCache[i.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,i),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=x("bg").on("click"+u,(function(){e.close()})),e.wrap=x("wrap").attr("tabindex",-1).on("click"+u,(function(t){e._checkIfClose(t.target)&&e.close()})),e.container=x("container",e.wrap)),e.contentContainer=x("content"),e.st.preloader&&(e.preloader=x("preloader",e.container,e.st.tLoading));var l=t.magnificPopup.modules;for(n=0;n<l.length;n++){var p=l[n];p=p.charAt(0).toUpperCase()+p.slice(1),e["init"+p].call(e)}_("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(b(c,(function(t,e,i,o){i.close_replaceWith=S(o.type)})),s+=" mfp-close-btn-in"):e.wrap.append(S())),e.st.alignTop&&(s+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:y.scrollTop(),position:"absolute"}),(!1===e.st.fixedBgPos||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:o.height(),position:"absolute"}),e.st.enableEscapeKey&&o.on("keyup"+u,(function(t){27===t.keyCode&&e.close()})),y.on("resize"+u,(function(){e.updateSize()})),e.st.closeOnContentClick||(s+=" mfp-auto-cursor"),s&&e.wrap.addClass(s);var h=e.wH=y.height(),m={};if(e.fixedContentPos&&e._hasScrollBar(h)){var g=e._getScrollbarSize();g&&(m.marginRight=g)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):m.overflow="hidden");var v=e.st.mainClass;return e.isIE7&&(v+=" mfp-ie7"),v&&e._addClassToMFP(v),e.updateItemHTML(),_("BuildControls"),t("html").css(m),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||t(document.body)),e._lastFocusedEl=document.activeElement,setTimeout((function(){e.content?(e._addClassToMFP(f),e._setFocus()):e.bgOverlay.addClass(f),o.on("focusin"+u,e._onFocusIn)}),16),e.isOpen=!0,e.updateSize(h),_(d),i}e.updateItemHTML()},close:function(){e.isOpen&&(_(l),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(m),setTimeout((function(){e._close()}),e.st.removalDelay)):e._close())},_close:function(){_(a);var i=m+" "+f+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(i+=e.st.mainClass+" "),e._removeClassFromMFP(i),e.fixedContentPos){var n={marginRight:""};e.isIE7?t("body, html").css("overflow",""):n.overflow="",t("html").css(n)}o.off("keyup.mfp focusin"+u),e.ev.off(u),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&!0!==e.currTemplate[e.currItem.type]||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e.st.autoFocusLast&&e._lastFocusedEl&&t(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,_("AfterClose")},updateSize:function(t){if(e.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,o=window.innerHeight*i;e.wrap.css("height",o),e.wH=o}else e.wH=t||y.height();e.fixedContentPos||e.wrap.css("height",e.wH),_("Resize")},updateItemHTML:function(){var i=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),i.parsed||(i=e.parseEl(e.index));var o=i.type;if(_("BeforeChange",[e.currItem?e.currItem.type:"",o]),e.currItem=i,!e.currTemplate[o]){var s=!!e.st[o]&&e.st[o].markup;_("FirstMarkupParse",s),e.currTemplate[o]=!s||t(s)}n&&n!==i.type&&e.container.removeClass("mfp-"+n+"-holder");var r=e["get"+o.charAt(0).toUpperCase()+o.slice(1)](i,e.currTemplate[o]);e.appendContent(r,o),i.preloaded=!0,_(p,i),n=i.type,e.container.prepend(e.contentContainer),_("AfterChange")},appendContent:function(t,i){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&!0===e.currTemplate[i]?e.content.find(".mfp-close").length||e.content.append(S()):e.content=t:e.content="",_("BeforeAppend"),e.container.addClass("mfp-"+i+"-holder"),e.contentContainer.append(e.content)},parseEl:function(i){var o,n=e.items[i];if(n.tagName?n={el:t(n)}:(o=n.type,n={data:n,src:n.src}
2),n.el){for(var s=e.types,r=0;r<s.length;r++)if(n.el.hasClass("mfp-"+s[r])){o=s[r];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=o||e.st.type||"inline",n.index=i,n.parsed=!0,e.items[i]=n,_("ElementParse",n),e.items[i]},addGroup:function(t,i){var o=function(o){o.mfpEl=this,e._openClick(o,t,i)};i||(i={});var n="click.magnificPopup";i.mainEl=t,i.items?(i.isObj=!0,t.off(n).on(n,o)):(i.isObj=!1,i.delegate?t.off(n).on(n,i.delegate,o):(i.items=t,t.off(n).on(n,o)))},_openClick:function(i,o,n){if((void 0!==n.midClick?n.midClick:t.magnificPopup.defaults.midClick)||!(2===i.which||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey)){var s=void 0!==n.disableOn?n.disableOn:t.magnificPopup.defaults.disableOn;if(s)if(t.isFunction(s)){if(!s.call(e))return!0}else if(y.width()<s)return!0;i.type&&(i.preventDefault(),e.isOpen&&i.stopPropagation()),n.el=t(i.mfpEl),n.delegate&&(n.items=o.find(n.delegate)),e.open(n)}},updateStatus:function(t,o){if(e.preloader){i!==t&&e.container.removeClass("mfp-s-"+i),o||"loading"!==t||(o=e.st.tLoading);var n={status:t,text:o};_("UpdateStatus",n),t=n.status,o=n.text,e.preloader.html(o),e.preloader.find("a").on("click",(function(t){t.stopImmediatePropagation()})),e.container.addClass("mfp-s-"+t),i=t}},_checkIfClose:function(i){if(!t(i).hasClass(g)){var o=e.st.closeOnContentClick,n=e.st.closeOnBgClick;if(o&&n)return!0;if(!e.content||t(i).hasClass("mfp-close")||e.preloader&&i===e.preloader[0])return!0;if(i===e.content[0]||t.contains(e.content[0],i)){if(o)return!0}else if(n&&t.contains(document,i))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?o.height():document.body.scrollHeight)>(t||y.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(i){return i.target===e.wrap[0]||t.contains(e.wrap[0],i.target)?void 0:(e._setFocus(),!1)},_parseMarkup:function(e,i,o){var n;o.data&&(i=t.extend(o.data,i)),_(c,[e,i,o]),t.each(i,(function(i,o){if(void 0===o||!1===o)return!0;if((n=i.split("_")).length>1){var s=e.find(u+"-"+n[0]);if(s.length>0){var r=n[1];"replaceWith"===r?s[0]!==o[0]&&s.replaceWith(o):"img"===r?s.is("img")?s.attr("src",o):s.replaceWith(t("<img>").attr("src",o).attr("class",s.attr("class"))):s.attr(n[1],o)}}else e.find(u+"-"+i).html(o)}))},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:v.prototype,modules:[],open:function(e,i){return k(),(e=e?t.extend(!0,{},e):{}).isObj=!0,e.index=i||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,i){i.options&&(t.magnificPopup.defaults[e]=i.options),t.extend(this.proto,i.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},t.fn.magnificPopup=function(i){k();var o=t(this);if("string"==typeof i)if("open"===i){var n,s=w?o.data("magnificPopup"):o[0].magnificPopup,r=parseInt(arguments[1],10)||0;s.items?n=s.items[r]:(n=o,s.delegate&&(n=n.find(s.delegate)),n=n.eq(r)),e._openClick({mfpEl:n},o,s)}else e.isOpen&&e[i].apply(e,Array.prototype.slice.call(arguments,1));else i=t.extend(!0,{},i),w?o.data("magnificPopup",i):o[0].magnificPopup=i,e.addGroup(o,i);return o};var T,C,z,E="inline",O=function(){z&&(C.after(z.addClass(T)).detach(),z=null)};t.magnificPopup.registerModule(E,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(E),b(a+"."+E,(function(){O()}))},getInline:function(i,o){if(O(),i.src){var n=e.st.inline,s=t(i.src);if(s.length){var r=s[0].parentNode;r&&r.tagName&&(C||(T=n.hiddenClass,C=x(T),T="mfp-"+T),z=s.after(C).detach().removeClass(T)),e.updateStatus("ready")}else e.updateStatus("error",n.tNotFound),s=t("<div>");return i.inlineElement=s,s}return e.updateStatus("ready"),e._parseMarkup(o,{},i),o}}});var $,L="ajax",A=function(){$&&t(document.body).removeClass($)},I=function(){A(),e.req&&e.req.abort()};t.magnificPopup.registerModule(L,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(L),$=e.st.ajax.cursor,b(a+"."+L,I),b("BeforeChange."+L,I)},getAjax:function(i){$&&t(document.body).addClass($),e.updateStatus("loading");var o=t.extend({url:i.src,success:function(o,n,s){var r={data:o,xhr:s};_("ParseAjax",r),e.appendContent(t(r.data),L),i.finished=!0,A(),e._setFocus(),setTimeout((function(){e.wrap.addClass(f)}),16),e.updateStatus("ready"),_("AjaxContentAdded")},error:function(){A(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(o),""}}});var j,W=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;
2var o=e.st.image.titleSrc;if(o){if(t.isFunction(o))return o.call(e,i);if(i.el)return i.el.attr(o)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var i=e.st.image,o=".image";e.types.push("image"),b(d+o,(function(){"image"===e.currItem.type&&i.cursor&&t(document.body).addClass(i.cursor)})),b(a+o,(function(){i.cursor&&t(document.body).removeClass(i.cursor),y.off("resize"+u)})),b("Resize"+o,e.resizeImage),e.isLowIE&&b("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,j&&clearInterval(j),t.isCheckingImgSize=!1,_("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,o=t.img[0];!function n(s){j&&clearInterval(j),j=setInterval((function(){return o.naturalWidth>0?void e._onImageHasSize(t):(i>200&&clearInterval(j),void(3==++i?n(10):40===i?n(50):100===i&&n(500)))}),s)}(1)},getImage:function(i,o){var n=0,s=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",r.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},r=e.st.image,a=o.find(".mfp-img");if(a.length){var l=document.createElement("img");l.className="mfp-img",i.el&&i.el.find("img").length&&(l.alt=i.el.find("img").attr("alt")),i.img=t(l).on("load.mfploader",(function t(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,_("ImageLoadComplete")):200>++n?setTimeout(t,100):s())})).on("error.mfploader",s),l.src=i.src,a.is("img")&&(i.img=i.img.clone()),(l=i.img[0]).naturalWidth>0?i.hasSize=!0:l.width||(i.hasSize=!1)}return e._parseMarkup(o,{title:W(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?(j&&clearInterval(j),i.loadError?(o.addClass("mfp-loading"),e.updateStatus("error",r.tError.replace("%url%",i.src))):(o.removeClass("mfp-loading"),e.updateStatus("ready")),o):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,o.addClass("mfp-loading"),e.findImageSize(i)),o)}}});var P;t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,i=e.st.zoom,o=".zoom";if(i.enabled&&e.supportsTransition){var n,s,r=i.duration,c=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),o="all "+i.duration/1e3+"s "+i.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return n["-webkit-"+s]=n["-moz-"+s]=n["-o-"+s]=n[s]=o,e.css(n),e},d=function(){e.content.css("visibility","visible")};b("BuildControls"+o,(function(){if(e._allowZoom()){if(clearTimeout(n),e.content.css("visibility","hidden"),!(t=e._getItemToZoom()))return void d();(s=c(t)).css(e._getOffset()),e.wrap.append(s),n=setTimeout((function(){s.css(e._getOffset(!0)),n=setTimeout((function(){d(),setTimeout((function(){s.remove(),t=s=null,_("ZoomAnimationEnded")}),16)}),r)}),16)}})),b(l+o,(function(){if(e._allowZoom()){if(clearTimeout(n),e.st.removalDelay=r,!t){if(!(t=e._getItemToZoom()))return;s=c(t)}s.css(e._getOffset(!0)),e.wrap.append(s),e.content.css("visibility","hidden"),setTimeout((function(){s.css(e._getOffset())}),16)}})),b(a+o,(function(){e._allowZoom()&&(d(),s&&s.remove(),t=null)}))}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(i){var o,n=(o=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),s=parseInt(o.css("padding-top"),10),r=parseInt(o.css("padding-bottom"),10);n.top-=t(window).scrollTop()-s;var a={width:o.width(),height:(w?o.innerHeight():o[0].offsetHeight)-r-s};return void 0===P&&(P=void 0!==document.createElement("p").style.MozTransform),P?a["-moz-transform"]=a.transform="translate("+n.left+"px,"+n.top+"px)":(a.left=n.left,a.top=n.top),a}}});var M="iframe",H=function(t){if(e.currTemplate[M]){var i=e.currTemplate[M].find("iframe");i.length&&(t||(i[0].src="//about:blank"),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(M,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(M),b("BeforeChange",(function(t,e,
2i){e!==i&&(e===M?H():i===M&&H(!0))})),b(a+"."+M,(function(){H()}))},getIframe:function(i,o){var n=i.src,s=e.st.iframe;t.each(s.patterns,(function(){return n.indexOf(this.index)>-1?(this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1):void 0}));var r={};return s.srcAction&&(r[s.srcAction]=n),e._parseMarkup(o,r,i),e.updateStatus("ready"),o}}});var D=function(t){var i=e.items.length;return t>i-1?t-i:0>t?i+t:t},B=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=e.st.gallery,n=".mfp-gallery";return e.direction=!0,!(!i||!i.enabled)&&(s+=" mfp-gallery",b(d+n,(function(){i.navigateByImgClick&&e.wrap.on("click"+n,".mfp-img",(function(){return e.items.length>1?(e.next(),!1):void 0})),o.on("keydown"+n,(function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()}))})),b("UpdateStatus"+n,(function(t,i){i.text&&(i.text=B(i.text,e.currItem.index,e.items.length))})),b(c+n,(function(t,o,n,s){var r=e.items.length;n.counter=r>1?B(i.tCounter,s.index,r):""})),b("BuildControls"+n,(function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var o=i.arrowMarkup,n=e.arrowLeft=t(o.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(g),s=e.arrowRight=t(o.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(g);n.click((function(){e.prev()})),s.click((function(){e.next()})),e.container.append(n.add(s))}})),b(p+n,(function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout((function(){e.preloadNearbyImages(),e._preloadTimeout=null}),16)})),void b(a+n,(function(){o.off(n),e.wrap.off("click"+n),e.arrowRight=e.arrowLeft=null})))},next:function(){e.direction=!0,e.index=D(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=D(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,o=Math.min(i[0],e.items.length),n=Math.min(i[1],e.items.length);for(t=1;t<=(e.direction?n:o);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?o:n);t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=D(i),!e.items[i].preloaded){var o=e.items[i];o.parsed||(o=e.parseEl(i)),_("LazyLoad",o),"image"===o.type&&(o.img=t('<img class="mfp-img" />').on("load.mfploader",(function(){o.hasSize=!0})).on("error.mfploader",(function(){o.hasSize=!0,o.loadError=!0,_("LazyLoadError",o)})).attr("src",o.src)),o.preloaded=!0}}}});var N="retina";t.magnificPopup.registerModule(N,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,(function(t){return"@2x"+t}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;(i=isNaN(i)?i():i)>1&&(b("ImageHasSize."+N,(function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})})),b("ElementParse."+N,(function(e,o){o.src=t.replaceSrc(o,i)})))}}}}),k()}.apply(e,o))||(t.exports=n)},968:()=>{"use strict";!function(t){function e(){var t=s();t!==r&&(r=t,c.trigger("orientationchange"))}function i(e,i,o,n){var s=o.type;o.type=i,t.event.dispatch.call(e,o,n),o.type=s}t.attrFn=t.attrFn||{};var o="ontouchstart"in window,n={tap_pixel_range:5,swipe_h_threshold:50,swipe_v_threshold:50,taphold_threshold:750,doubletap_int:500,touch_capable:o,orientation_support:"orientation"in window&&"onorientationchange"in window,startevent:o?"touchstart":"mousedown",endevent:o?"touchend":"mouseup",moveevent:o?"touchmove":"mousemove",tapevent:o?"tap":"click",
2scrollevent:o?"touchmove":"scroll",hold_timer:null,tap_timer:null};t.isTouchCapable=function(){return n.touch_capable},t.getStartEvent=function(){return n.startevent},t.getEndEvent=function(){return n.endevent},t.getMoveEvent=function(){return n.moveevent},t.getTapEvent=function(){return n.tapevent},t.getScrollEvent=function(){return n.scrollevent},t.each(["tapstart","tapend","tapmove","tap","tap2","tap3","tap4","singletap","doubletap","taphold","swipe","swipeup","swiperight","swipedown","swipeleft","swipeend","scrollstart","scrollend","orientationchange"],(function(e,i){t.fn[i]=function(t){return t?this.on(i,t):this.trigger(i)},t.attrFn[i]=!0})),t.event.special.tapstart={setup:function(){var e=this,o=t(e);o.on(n.startevent,(function t(s){if(o.data("callee",t),s.which&&1!==s.which)return!1;var r=s.originalEvent,a={position:{x:n.touch_capable?r.touches[0].screenX:s.screenX,y:n.touch_capable?r.touches[0].screenY:s.screenY},offset:{x:n.touch_capable?Math.round(r.changedTouches[0].pageX-(o.offset()?o.offset().left:0)):Math.round(s.pageX-(o.offset()?o.offset().left:0)),y:n.touch_capable?Math.round(r.changedTouches[0].pageY-(o.offset()?o.offset().top:0)):Math.round(s.pageY-(o.offset()?o.offset().top:0))},time:Date.now(),target:s.target};return i(e,"tapstart",s,a),!0}))},remove:function(){t(this).off(n.startevent,t(this).data.callee)}},t.event.special.tapmove={setup:function(){var e=this,o=t(e);o.on(n.moveevent,(function t(s){o.data("callee",t);var r=s.originalEvent,a={position:{x:n.touch_capable?r.touches[0].screenX:s.screenX,y:n.touch_capable?r.touches[0].screenY:s.screenY},offset:{x:n.touch_capable?Math.round(r.changedTouches[0].pageX-(o.offset()?o.offset().left:0)):Math.round(s.pageX-(o.offset()?o.offset().left:0)),y:n.touch_capable?Math.round(r.changedTouches[0].pageY-(o.offset()?o.offset().top:0)):Math.round(s.pageY-(o.offset()?o.offset().top:0))},time:Date.now(),target:s.target};return i(e,"tapmove",s,a),!0}))},remove:function(){t(this).off(n.moveevent,t(this).data.callee)}},t.event.special.tapend={setup:function(){var e=this,o=t(e);o.on(n.endevent,(function t(s){o.data("callee",t);var r=s.originalEvent,a={position:{x:n.touch_capable?r.changedTouches[0].screenX:s.screenX,y:n.touch_capable?r.changedTouches[0].screenY:s.screenY},offset:{x:n.touch_capable?Math.round(r.changedTouches[0].pageX-(o.offset()?o.offset().left:0)):Math.round(s.pageX-(o.offset()?o.offset().left:0)),y:n.touch_capable?Math.round(r.changedTouches[0].pageY-(o.offset()?o.offset().top:0)):Math.round(s.pageY-(o.offset()?o.offset().top:0))},time:Date.now(),target:s.target};return i(e,"tapend",s,a),!0}))},remove:function(){t(this).off(n.endevent,t(this).data.callee)}},t.event.special.taphold={setup:function(){var e,o=this,s=t(o),r={x:0,y:0},a=0,l=0;s.on(n.startevent,(function t(c){if(c.which&&1!==c.which)return!1;s.data("tapheld",!1),e=c.target;var d=c.originalEvent,p=Date.now(),h={x:n.touch_capable?d.touches[0].screenX:c.screenX,y:n.touch_capable?d.touches[0].screenY:c.screenY},u={x:n.touch_capable?d.touches[0].pageX-d.touches[0].target.offsetLeft:c.offsetX,y:n.touch_capable?d.touches[0].pageY-d.touches[0].target.offsetTop:c.offsetY};r.x=c.originalEvent.targetTouches?c.originalEvent.targetTouches[0].pageX:c.pageX,r.y=c.originalEvent.targetTouches?c.originalEvent.targetTouches[0].pageY:c.pageY,a=r.x,l=r.y;var f=s.parent().data("threshold")?s.parent().data("threshold"):s.data("threshold"),m=void 0!==f&&!1!==f&&parseInt(f)?parseInt(f):n.taphold_threshold;return n.hold_timer=window.setTimeout((function(){var f=r.x-a,m=r.y-l;if(c.target==e&&(r.x==a&&r.y==l||f>=-n.tap_pixel_range&&f<=n.tap_pixel_range&&m>=-n.tap_pixel_range&&m<=n.tap_pixel_range)){s.data("tapheld",!0);var g=Date.now(),v={x:n.touch_capable?d.touches[0].screenX:c.screenX,y:n.touch_capable?d.touches[0].screenY:c.screenY},w={x:n.touch_capable?Math.round(d.changedTouches[0].pageX-(s.offset()?s.offset().left:0)):Math.round(c.pageX-(s.offset()?s.offset().left:0)),y:n.touch_capable?Math.round(d.changedTouches[0].pageY-(s.offset()?s.offset().top:0)):Math.round(c.pageY-(s.offset()?s.offset().top:0))},y={startTime:p,endTime:g,startPosition:h,startOffset:u,endPosition:v,endOffset:w,duration:g-p,target:c.target};s.data("callee1",t),i(o,"taphold",c,y)}}),m),!0})).on(n.endevent,(function t(){s.data("callee2",t),s.data("tapheld",!1),window.clearTimeout(n.hold_timer)})).on(n.moveevent,(function t(e){s.data("callee3",t),a=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageX:e.pageX,l=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageY:e.pageY}))},remove:function(){t(this).off(n.startevent,t(this).data.callee1).off(n.endevent,t(this).data.callee2).off(n.moveevent,t(this).data.callee3)}},t.event.special.doubletap={setup:function(){var e,o,s=this,r=t(s),a=null,l=!1;r.on(n.startevent,(function e(i){return!(i.which&&1!==i.which||(r.data("doubletapped",!1),i.target,r.data("callee1",e),o=i.originalEvent,a||(a={position:{x:n.touch_capable?o.touches[0].screenX:i.screenX,y:n.touch_capable?o.touches[0].screenY:i.screenY},offset:{x:n.touch_capable?Math.round(o.changedTouches[0].pageX-(r.offset()?r.offset().left:0)):Math.round(i.pageX-(r.offset()?r.offset().left:0)),y:n.touch_capable?Math.round(o.changedTouches[0].pageY-(r.offset()?r.offset().top:0)):Math.round(i.pageY-(r.offset()?r.offset().top:0))},time:Date.now(),target:i.target,element:i.originalEvent.srcElement,index:t(i.target).index()}),0))})).on(n.endevent,(function c(d){var p=Date.now(),h=p-(r.data("lastTouch")||p+1);if(window.clearTimeout(e),r.data("callee2",c),h<n.doubletap_int&&t(d.target).index()==a.index&&100<h){r.data("doubletapped",!0),window.clearTimeout(n.tap_timer);var u={position:{x:n.touch_capable?d.originalEvent.changedTouches[0].screenX:d.screenX,y:n.touch_capable?d.originalEvent.changedTouches[0].screenY:d.screenY},offset:{x:n.touch_capable?Math.round(o.changedTouches[0].pageX-(r.offset()?r.offset().left:0)):Math.round(d.pageX-(r.offset()?r.offset().left:0)),y:n.touch_capable?Math.round(o.changedTouches[0].pageY-(r.offset()?r.offset().top:0)):Math.round(d.pageY-(r.offset()?r.offset().top:0))},time:Date.now(),target:d.target,element:d.originalEvent.srcElement,index:t(d.target).index()},f={firstTap:a,secondTap:u,interval:u.time-a.time};l||(i(s,"doubletap",d,f),a=null),l=!0,window.setTimeout((function(){l=!1}),n.doubletap_int)}else r.data("lastTouch",p),e=window.setTimeout((function(){a=null,window.clearTimeout(e)}),n.doubletap_int,[d]);r.data("lastTouch",p)}))},remove:function(){t(this).off(n.startevent,t(this).data.callee1).off(n.endevent,t(this).data.callee2)}},t.event.special.singletap={setup:function(){var e=this,o=t(e),s=null,r=null,a={x:0,y:0};o.on(n.startevent,(function t(e){return!(e.which&&1!==e.which||(r=Date.now(),s=e.target,o.data("callee1",t),a.x=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageX:e.pageX,a.y=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0].pageY:e.pageY,0))})).on(n.endevent,(function t(l){if(o.data("callee2",t),l.target==s){var c=l.originalEvent.changedTouches?l.originalEvent.changedTouches[0].pageX:l.pageX,d=l.originalEvent.changedTouches?l.originalEvent.changedTouches[0].pageY:l.pageY;n.tap_timer=window.setTimeout((function(){var t=a.x-c,s=a.y-d;if(!o.data("doubletapped")&&!o.data("tapheld")&&(a.x==c&&a.y==d||t>=-n.tap_pixel_range&&t<=n.tap_pixel_range&&s>=-n.tap_pixel_range&&s<=n.tap_pixel_range)){var p=l.originalEvent,h={position:{x:n.touch_capable?p.changedTouches[0].screenX:l.screenX,y:n.touch_capable?p.changedTouches[0].screenY:l.screenY},offset:{x:n.touch_capable?Math.round(p.changedTouches[0].pageX-(o.offset()?o.offset().left:0)):Math.round(l.pageX-(o.offset()?o.offset().left:0)),y:n.touch_capable?Math.round(p.changedTouches[0].pageY-(o.offset()?o.offset().top:0)):Math.round(l.pageY-(o.offset()?o.offset().top:0))},time:Date.now(),target:l.target};h.time-r<n.taphold_threshold&&i(e,"singletap",l,h)}}),n.doubletap_int)}}))},remove:function(){t(this).off(n.startevent,t(this).data.callee1).off(n.endevent,t(this).data.callee2)}},t.event.special.tap={setup:function(){var e,o,s=this,r=t(s),a=!1,l=null,c={x:0,y:0};r.on(n.startevent,(function t(i){return r.data("callee1",t),!(i.which&&1!==i.which||(a=!0,c.x=i.originalEvent.targetTouches?i.originalEvent.targetTouches[0].pageX:i.pageX,c.y=i.originalEvent.targetTouches?i.originalEvent.targetTouches[0].pageY:i.pageY,e=Date.now(),l=i.target,o=i.originalEvent.targetTouches?i.originalEvent.targetTouches:[i],0
2))})).on(n.endevent,(function t(d){r.data("callee2",t);var p=d.originalEvent.targetTouches?d.originalEvent.changedTouches[0].pageX:d.pageX,h=d.originalEvent.targetTouches?d.originalEvent.changedTouches[0].pageY:d.pageY,u=c.x-p,f=c.y-h;if(l==d.target&&a&&Date.now()-e<n.taphold_threshold&&(c.x==p&&c.y==h||u>=-n.tap_pixel_range&&u<=n.tap_pixel_range&&f>=-n.tap_pixel_range&&f<=n.tap_pixel_range)){for(var m,g=d.originalEvent,v=[],w=0;w<o.length;w++)m={position:{x:n.touch_capable?g.changedTouches[w].screenX:d.screenX,y:n.touch_capable?g.changedTouches[w].screenY:d.screenY},offset:{x:n.touch_capable?Math.round(g.changedTouches[w].pageX-(r.offset()?r.offset().left:0)):Math.round(d.pageX-(r.offset()?r.offset().left:0)),y:n.touch_capable?Math.round(g.changedTouches[w].pageY-(r.offset()?r.offset().top:0)):Math.round(d.pageY-(r.offset()?r.offset().top:0))},time:Date.now(),target:d.target},v.push(m);i(s,"tap",d,v)}}))},remove:function(){t(this).off(n.startevent,t(this).data.callee1).off(n.endevent,t(this).data.callee2)}},t.event.special.swipe={setup:function(){var e,i=t(this),o=!1,s=!1,r={x:0,y:0},a={x:0,y:0};i.on(n.startevent,(function s(l){(i=t(l.currentTarget)).data("callee1",s),r.x=l.originalEvent.targetTouches?l.originalEvent.targetTouches[0].pageX:l.pageX,r.y=l.originalEvent.targetTouches?l.originalEvent.targetTouches[0].pageY:l.pageY,a.x=r.x,a.y=r.y,o=!0;var c=l.originalEvent;e={position:{x:n.touch_capable?c.touches[0].screenX:l.screenX,y:n.touch_capable?c.touches[0].screenY:l.screenY},offset:{x:n.touch_capable?Math.round(c.changedTouches[0].pageX-(i.offset()?i.offset().left:0)):Math.round(l.pageX-(i.offset()?i.offset().left:0)),y:n.touch_capable?Math.round(c.changedTouches[0].pageY-(i.offset()?i.offset().top:0)):Math.round(l.pageY-(i.offset()?i.offset().top:0))},time:Date.now(),target:l.target}})),i.on(n.moveevent,(function l(c){(i=t(c.currentTarget)).data("callee2",l),a.x=c.originalEvent.targetTouches?c.originalEvent.targetTouches[0].pageX:c.pageX,a.y=c.originalEvent.targetTouches?c.originalEvent.targetTouches[0].pageY:c.pageY;var d,p=i.parent().data("xthreshold")?i.parent().data("xthreshold"):i.data("xthreshold"),h=i.parent().data("ythreshold")?i.parent().data("ythreshold"):i.data("ythreshold"),u=void 0!==p&&!1!==p&&parseInt(p)?parseInt(p):n.swipe_h_threshold,f=void 0!==h&&!1!==h&&parseInt(h)?parseInt(h):n.swipe_v_threshold;if(r.y>a.y&&r.y-a.y>f&&(d="swipeup"),r.x<a.x&&a.x-r.x>u&&(d="swiperight"),r.y<a.y&&a.y-r.y>f&&(d="swipedown"),r.x>a.x&&r.x-a.x>u&&(d="swipeleft"),null!=d&&o){r.x=0,r.y=0,a.x=0,a.y=0,o=!1;var m=c.originalEvent,g={position:{x:n.touch_capable?m.touches[0].screenX:c.screenX,y:n.touch_capable?m.touches[0].screenY:c.screenY},offset:{x:n.touch_capable?Math.round(m.changedTouches[0].pageX-(i.offset()?i.offset().left:0)):Math.round(c.pageX-(i.offset()?i.offset().left:0)),y:n.touch_capable?Math.round(m.changedTouches[0].pageY-(i.offset()?i.offset().top:0)):Math.round(c.pageY-(i.offset()?i.offset().top:0))},time:Date.now(),target:c.target},v=Math.abs(e.position.x-g.position.x),w=Math.abs(e.position.y-g.position.y),y={startEvnt:e,endEvnt:g,direction:d.replace("swipe",""),xAmount:v,yAmount:w,duration:g.time-e.time};s=!0,i.trigger("swipe",y).trigger(d,y)}})),i.on(n.endevent,(function r(a){var l="";if((i=t(a.currentTarget)).data("callee3",r),s){var c=i.data("xthreshold"),d=i.data("ythreshold"),p=void 0!==c&&!1!==c&&parseInt(c)?parseInt(c):n.swipe_h_threshold,h=void 0!==d&&!1!==d&&parseInt(d)?parseInt(d):n.swipe_v_threshold,u=a.originalEvent,f={position:{x:n.touch_capable?u.changedTouches[0].screenX:a.screenX,y:n.touch_capable?u.changedTouches[0].screenY:a.screenY},offset:{x:n.touch_capable?Math.round(u.changedTouches[0].pageX-(i.offset()?i.offset().left:0)):Math.round(a.pageX-(i.offset()?i.offset().left:0)),y:n.touch_capable?Math.round(u.changedTouches[0].pageY-(i.offset()?i.offset().top:0)):Math.round(a.pageY-(i.offset()?i.offset().top:0))},time:Date.now(),target:a.target};e.position.y>f.position.y&&e.position.y-f.position.y>h&&(l="swipeup"),e.position.x<f.position.x&&f.position.x-e.position.x>p&&(l="swiperight"),e.position.y<f.position.y&&f.position.y-e.position.y>h&&(l="swipedown"),e.position.x>f.position.x&&e.position.x-f.position.x>p&&(l="swipeleft");var m=Math.abs(e.position.x-f.position.x),g=Math.abs(e.position.y-f.position.y),v={startEvnt:e,endEvnt:f,direction:l.replace("swipe",""),xAmount:m,yAmount:g,duration:f.time-e.time};i.trigger("swipeend",v)}o=!1,s=!1}))},remove:function(){t(this).off(n.startevent,t(this).data.callee1).off(n.moveevent,t(this).data.callee2).off(n.endevent,t(this).data.callee3)}},t.event.special.scrollstart={setup:function(){function e(t,e){i(r,(o=e)?"scrollstart":"scrollend",t)}var o,s,r=this,a=t(r);a.on(n.scrollevent,(function t(i){a.data("callee",t),o||e(i,!0),clearTimeout(s),s=setTimeout((function(){e(i,!1)}),50)}))},remove:function(){t(this).off(n.scrollevent,t(this).data.callee)}};var s,r,a,l,c=t(window),d={0:!0,180:!0};if(n.orientation_support){var p=window.innerWidth||c.width(),h=window.innerHeight||c.height();a=p>h&&p-h>50,l=d[window.orientation],(a&&l||!a&&!l)&&(d={90:!0,"-90":!0})}t.event.special.orientationchange={setup:function(){return!n.orientation_support&&(r=s(),c.on("throttledresize",e),!0)},teardown:function(){return!n.orientation_support&&(c.off("throttledresize",e),!0)},add:function(t){var e=t.handler;t.handler=function(t){return t.orientation=s(),e.apply(this,arguments)}}},t.event.special.orientationchange.orientation=s=function(){var t=document.documentElement;return(n.orientation_support?d[window.orientation]:t&&1.1>t.clientWidth/t.clientHeight)?"portrait":"landscape"},t.event.special.throttledresize={setup:function(){t(this).on("resize",g)},teardown:function(){t(this).off("resize",g)}};var u,f,m,g=function(){f=Date.now(),(m=f-v)>=250?(v=f,t(this).trigger("throttledresize")):(u&&window.clearTimeout(u),u=window.setTimeout(e,250-m))},v=0;t.each({scrollend:"scrollstart",swipeup:"swipe",swiperight:"swipe",swipedown:"swipe",swipeleft:"swipe",swipeend:"swipe",tap2:"tap"},(function(e,i){t.event.special[e]={setup:function(){t(this).on(i,t.noop)}}}))}(jQuery)},259:()=>{!function(t){var e=function(e,i){var o=t.extend({},t.fn.nivoSlider.defaults,i),n={currentSlide:0,currentImage:"",totalSlides:0,running:!1,paused:!1,stop:!1,controlNavEl:!1},s=t(e);s.data("nivo:vars",n).addClass("nivoSlider");var r=s.children();r.each((function(){var e=t(this),i="";e.is("img")||(e.is("a")&&(e.addClass("nivo-imageLink"),i=e),e=e.find("img:first"));var o=0===o?e.attr("width"):e.width(),s=0===s?e.attr("height"):e.height();""!==i&&i.css("display","none"),e.css("display","none"),n.totalSlides++})),o.randomStart&&(o.startSlide=Math.floor(Math.random()*n.totalSlides)),o.startSlide>0&&(o.startSlide>=n.totalSlides&&(o.startSlide=n.totalSlides-1),n.currentSlide=o.startSlide),t(r[n.currentSlide]).is("img")?n.currentImage=t(r[n.currentSlide]):n.currentImage=t(r[n.currentSlide]).find("img:first"),t(r[n.currentSlide]).is("a")&&t(r[n.currentSlide]).css("display","block");var a=t("<img/>").addClass("nivo-main-image");a.attr("src",n.currentImage.attr(o.src)).attr("width",n.currentImage.attr("width")).attr("height",n.currentImage.attr("height")).attr("alt",n.currentImage.attr("alt")),s.append(a),t(window).on("resize",(function(){s.children("img").width(s.width()),a.attr("src",n.currentImage.attr(o.src)),a.stop().height("auto"),t(".nivo-slice").remove(),t(".nivo-box").remove()})),s.append(t('<div class="nivo-caption"></div>'));var l=function(e){var i=t(".nivo-caption",s);if(""!=n.currentImage.attr("data-title")&&null!=n.currentImage.attr("data-title")){var o=n.currentImage.attr("data-title");"#"==o.substr(0,1)&&(o=t(o).html()),"block"==i.css("display")?i.stop().fadeOut(e.animSpeed,(function(){setTimeout((function(){i.html(o),i.stop().fadeIn(e.animSpeed)}),e.animSpeed)})):setTimeout((function(){i.html(o),i.stop().fadeIn(e.animSpeed)}),e.animSpeed)}else i.stop().fadeOut(e.animSpeed)};l(o);var c=0;if(!o.manualAdvance&&r.length>1&&(c=setInterval((function(){f(s,r,o,!1)}),o.pauseTime)),o.directionNav&&(s.append('<div class="nivo-directionNav"><a class="nivo-prevNav"><i class="fa fa-arrow-circle-left" aria-hidden="true"></i></a><a class="nivo-nextNav"><i class="fa fa-arrow-circle-right" aria-hidden="true"></i></a></div>'),t(s).on("click","a.nivo-prevNav",(function(){if(n.running)return!1;clearInterval(c),c="",n.currentSlide-=2,f(s,r,o,"prev")})),t(s).on("click","a.nivo-nextNav",(function(){if(n.running)return!1;clearInterval(c),c="",f(s,r,o,"next")}))),o.controlNav){n.controlNavEl=t('<div class="nivo-controlNav"></div>'),s.append(n.controlNavEl);for(var d=0;d<r.length;d++)if(o.controlNavThumbs){n.controlNavEl.addClass("nivo-thumbs-enabled");var p=r.eq(d);p.is("img")||(p=p.find("img:first")),p.attr("data-thumb")&&n.controlNavEl.append('<a class="nivo-control" rel="'+d+'"><img src="'+p.attr("data-thumb")+'" alt="" /></a>')}else n.controlNavEl.append('<a class="nivo-control" rel="'+d+'">'+(d+1)+"</a>");t("a:eq("+n.currentSlide+")",n.controlNavEl).addClass("active"),t("a",n.controlNavEl).on("click",(function(){return!n.running&&!t(this).hasClass("active")&&(clearInterval(c),c="",a.attr("src",n.currentImage.attr(o.src)),n.currentSlide=t(this).attr("rel")-1,void f(s,r,o,"control"))}))}o.pauseOnHover&&s.on("mouseenter",(function(){n.paused=!0,clearInterval(c),c=""})).on("mouseleave",(function(){n.paused=!1,""!==c||o.manualAdvance||(c=setInterval((function(){f(s,r,o,!1)}),o.pauseTime))})),s.on("nivo:animFinished",(function(){a.attr("src",n.currentImage.attr(o.src)),n.running=!1,t(r).each((function(){t(this).is("a")&&t(this).css("display","none")})),t(r[n.currentSlide]).is("a")&&t(r[n.currentSlide]).css("display","block"),""!==c||n.paused||o.manualAdvance||(c=setInterval((function(){f(s,r,o,!1)}),o.pauseTime)),o.afterChange.call(this)}));var h=function(e,i,o){t(o.currentImage).parent().is("a")&&t(o.currentImage).parent().css("display","block"),t('img[src="'+o.currentImage.attr(i.src)+'"]',e).not(".nivo-main-image,.nivo-control img").width(e.width()).css("visibility","hidden").show();for(var n=t('img[src="'+o.currentImage.attr(i.src)+'"]',e).not(".nivo-main-image,.nivo-control img").parent().is("a")?t('img[src="'+o.currentImage.attr(i.src)+'"]',e).not(".nivo-main-image,.nivo-control img").parent().height():t('img[src="'+o.currentImage.attr(i.src)+'"]',e).not(".nivo-main-image,.nivo-control img").height(),s=0;
2s<i.slices;s++){var r=Math.round(e.width()/i.slices);s===i.slices-1?e.append(t('<div class="nivo-slice" name="'+s+'"><img src="'+o.currentImage.attr(i.src)+'" alt="" style="position:absolute; width:'+e.width()+"px; height:auto; display:block !important; top:0; left:-"+(r+s*r-r)+'px;" width="'+o.currentImage.attr("width")+'" height="'+o.currentImage.attr("height")+'" /></div>').css({left:r*s+"px",width:e.width()-r*s+"px",height:n+"px",opacity:"0",overflow:"hidden"})):e.append(t('<div class="nivo-slice" name="'+s+'"><img src="'+o.currentImage.attr(i.src)+'" alt="" style="position:absolute; width:'+e.width()+"px; height:auto; display:block !important; top:0; left:-"+(r+s*r-r)+'px;" width="'+o.currentImage.attr("width")+'" height="'+o.currentImage.attr("height")+'" /></div>').css({left:r*s+"px",width:r+"px",height:n+"px",opacity:"0",overflow:"hidden"}))}t(".nivo-slice",e).height(n),a.stop().animate({height:t(o.currentImage).height()},i.animSpeed)},u=function(e,i,o){t(o.currentImage).parent().is("a")&&t(o.currentImage).parent().css("display","block"),t('img[src="'+o.currentImage.attr(i.src)+'"]',e).not(".nivo-main-image,.nivo-control img").width(e.width()).css("visibility","hidden").show();for(var n=Math.round(e.width()/i.boxCols),s=Math.round(t('img[src="'+o.currentImage.attr(i.src)+'"]',e).not(".nivo-main-image,.nivo-control img").height()/i.boxRows),r=0;r<i.boxRows;r++)for(var l=0;l<i.boxCols;l++)l===i.boxCols-1?(e.append(t('<div class="nivo-box" name="'+l+'" rel="'+r+'"><img src="'+o.currentImage.attr(i.src)+'" alt="" style="position:absolute; width:'+e.width()+"px; height:auto; display:block; top:-"+s*r+"px; left:-"+n*l+'px;" width="'+o.currentImage.attr("width")+'" height="'+o.currentImage.attr("height")+'" /></div>').css({opacity:0,left:n*l+"px",top:s*r+"px",width:e.width()-n*l+"px"})),t('.nivo-box[name="'+l+'"]',e).height(t('.nivo-box[name="'+l+'"] img',e).height()+"px")):(e.append(t('<div class="nivo-box" name="'+l+'" rel="'+r+'"><img src="'+o.currentImage.attr(i.src)+'" alt="" style="position:absolute; width:'+e.width()+"px; height:auto; display:block; top:-"+s*r+"px; left:-"+n*l+'px;" width="'+o.currentImage.attr("width")+'" height="'+o.currentImage.attr("height")+'" /></div>').css({opacity:0,left:n*l+"px",top:s*r+"px",width:n+"px"})),t('.nivo-box[name="'+l+'"]',e).height(t('.nivo-box[name="'+l+'"] img',e).height()+"px"));a.stop().animate({height:t(o.currentImage).height()},i.animSpeed)},f=function(e,i,o,n){var s=e.data("nivo:vars");if(s&&s.currentSlide===s.totalSlides-1&&o.lastSlide.call(this),(!s||s.stop)&&!n)return!1;o.beforeChange.call(this),n?("prev"===n&&a.attr("src",s.currentImage.attr(o.src)),"next"===n&&a.attr("src",s.currentImage.attr(o.src))):a.attr("src",s.currentImage.attr(o.src)),s.currentSlide++,s.currentSlide===s.totalSlides&&(s.currentSlide=0,o.slideshowEnd.call(this)),s.currentSlide<0&&(s.currentSlide=s.totalSlides-1),t(i[s.currentSlide]).is("img")?s.currentImage=t(i[s.currentSlide]):s.currentImage=t(i[s.currentSlide]).find("img:first"),o.controlNav&&(t("a",s.controlNavEl).removeClass("active"),t("a:eq("+s.currentSlide+")",s.controlNavEl).addClass("active")),l(o),t(".nivo-slice",e).remove(),t(".nivo-box",e).remove();var r=o.effect,c="";"random"===o.effect&&(c=new Array("sliceDownRight","sliceDownLeft","sliceUpRight","sliceUpLeft","sliceUpDown","sliceUpDownLeft","fold","fade","boxRandom","boxRain","boxRainReverse","boxRainGrow","boxRainGrowReverse"),void 0===(r=c[Math.floor(Math.random()*(c.length+1))])&&(r="fade")),-1!==o.effect.indexOf(",")&&(c=o.effect.split(","),void 0===(r=c[Math.floor(Math.random()*c.length)])&&(r="fade")),s.currentImage.attr("data-transition")&&(r=s.currentImage.attr("data-transition")),s.running=!0;var d=0,p=0,f="",g="",v="",w="";if("sliceDown"===r||"sliceDownRight"===r||"sliceDownLeft"===r)h(e,o,s),d=0,p=0,f=t(".nivo-slice",e),"sliceDownLeft"===r&&(f=t(".nivo-slice",e)._reverse()),f.each((function(){var i=t(this);i.css({top:"0px"}),p===o.slices-1?setTimeout((function(){i.animate({opacity:"1.0"},o.animSpeed,"",(function(){e.trigger("nivo:animFinished")}))}),100+d):setTimeout((function(){i.animate({opacity:"1.0"},o.animSpeed)}),100+d),d+=50,p++}));else if("sliceUp"===r||"sliceUpRight"===r||"sliceUpLeft"===r)h(e,o,s),d=0,p=0,f=t(".nivo-slice",e),"sliceUpLeft"===r&&(f=t(".nivo-slice",e)._reverse()),f.each((function(){var i=t(this);i.css({bottom:"0px"}),p===o.slices-1?setTimeout((function(){i.animate({opacity:"1.0"},o.animSpeed,"",(function(){e.trigger("nivo:animFinished")}))}),100+d):setTimeout((function(){i.animate({opacity:"1.0"},o.animSpeed)}),100+d),d+=50,p++}));else if("sliceUpDown"===r||"sliceUpDownRight"===r||"sliceUpDownLeft"===r){h(e,o,s),d=0,p=0;var y=0;
2f=t(".nivo-slice",e),"sliceUpDownLeft"===r&&(f=t(".nivo-slice",e)._reverse()),f.each((function(){var i=t(this);0===p?(i.css("top","0px"),p++):(i.css("bottom","0px"),p=0),y===o.slices-1?setTimeout((function(){i.animate({opacity:"1.0"},o.animSpeed,"",(function(){e.trigger("nivo:animFinished")}))}),100+d):setTimeout((function(){i.animate({opacity:"1.0"},o.animSpeed)}),100+d),d+=50,y++}))}else if("fold"===r)h(e,o,s),d=0,p=0,t(".nivo-slice",e).each((function(){var i=t(this),n=i.width();i.css({top:"0px",width:"0px"}),p===o.slices-1?setTimeout((function(){i.animate({width:n,opacity:"1.0"},o.animSpeed,"",(function(){e.trigger("nivo:animFinished")}))}),100+d):setTimeout((function(){i.animate({width:n,opacity:"1.0"},o.animSpeed)}),100+d),d+=50,p++}));else if("fade"===r)h(e,o,s),(g=t(".nivo-slice:first",e)).css({width:e.width()+"px"}),g.animate({opacity:"1.0"},2*o.animSpeed,"",(function(){e.trigger("nivo:animFinished")}));else if("slideInRight"===r)h(e,o,s),(g=t(".nivo-slice:first",e)).css({width:"0px",opacity:"1"}),g.animate({width:e.width()+"px"},2*o.animSpeed,"",(function(){e.trigger("nivo:animFinished")}));else if("slideInLeft"===r)h(e,o,s),(g=t(".nivo-slice:first",e)).css({width:"0px",opacity:"1",left:"",right:"0px"}),g.animate({width:e.width()+"px"},2*o.animSpeed,"",(function(){g.css({left:"0px",right:""}),e.trigger("nivo:animFinished")}));else if("boxRandom"===r)u(e,o,s),v=o.boxCols*o.boxRows,p=0,d=0,(w=m(t(".nivo-box",e))).each((function(){var i=t(this);p===v-1?setTimeout((function(){i.animate({opacity:"1"},o.animSpeed,"",(function(){e.trigger("nivo:animFinished")}))}),100+d):setTimeout((function(){i.animate({opacity:"1"},o.animSpeed)}),100+d),d+=20,p++}));else if("boxRain"===r||"boxRainReverse"===r||"boxRainGrow"===r||"boxRainGrowReverse"===r){u(e,o,s),v=o.boxCols*o.boxRows,p=0,d=0;var b=0,x=0,_=[];_[b]=[],w=t(".nivo-box",e),"boxRainReverse"!==r&&"boxRainGrowReverse"!==r||(w=t(".nivo-box",e)._reverse()),w.each((function(){_[b][x]=t(this),++x===o.boxCols&&(b++,x=0,_[b]=[])}));for(var S=0;S<2*o.boxCols;S++){for(var k=S,T=0;T<o.boxRows;T++)k>=0&&k<o.boxCols&&(function(i,n,s,a,l){var c=t(_[i][n]),d=c.width(),p=c.height();"boxRainGrow"!==r&&"boxRainGrowReverse"!==r||c.width(0).height(0),a===l-1?setTimeout((function(){c.animate({opacity:"1",width:d,height:p},o.animSpeed/1.3,"",(function(){e.trigger("nivo:animFinished")}))}),100+s):setTimeout((function(){c.animate({opacity:"1",width:d,height:p},o.animSpeed/1.3)}),100+s)}(T,k,d,p,v),p++),k--;d+=100}}},m=function(t){for(var e,i,o=t.length;o;e=parseInt(Math.random()*o,10),i=t[--o],t[o]=t[e],t[e]=i);return t},g=function(t){this.console&&void 0!==console.log&&console.log(t)};return this.stop=function(){t(e).data("nivo:vars").stop||(t(e).data("nivo:vars").stop=!0,g("Stop Slider"))},this.start=function(){t(e).data("nivo:vars").stop&&(t(e).data("nivo:vars").stop=!1,g("Start Slider"))},o.afterLoad.call(this),this};t.fn.nivoSlider=function(i){return this.each((function(o,n){var s=t(this);if(s.data("nivoslider"))return s.data("nivoslider");var r=new e(this,i);s.data("nivoslider",r)}))},t.fn.nivoSlider.defaults={src:"src",effect:"random",slices:15,boxCols:8,boxRows:4,animSpeed:500,pauseTime:3e3,startSlide:0,directionNav:!0,controlNav:!0,controlNavThumbs:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next",randomStart:!1,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}},t.fn._reverse=[].reverse}(jQuery)},356:()=>{!function(t){t.fn.scrollbox=function(e){return(e=t.extend({linear:!1,startDelay:2,delay:3,step:5,speed:32,switchItems:1,direction:"vertical",distance:"auto",autoPlay:!0,onMouseOverPause:!0,paused:!1,queue:null,listElement:"ul",listItemElement:"li",infiniteLoop:!0,switchAmount:0,afterForward:null,afterBackward:null,triggerStackable:!1},e)).scrollOffset="vertical"===e.direction?"scrollTop":"scrollLeft",e.queue&&(e.queue=t("#"+e.queue)),this.each((function(){var i,o,n,s,r,a,l,c,d,p=t(this),h=null,u=null,f=!1,m=0,g=0;e.onMouseOverPause&&(p.bind("mouseover",(function(){f=!0})),p.bind("mouseout",(function(){f=!1}))),i=p.children(e.listElement+":first-child"),!1===e.infiniteLoop&&0===e.switchAmount&&(e.switchAmount=i.children().length),a=function(){var n,r,a,l,c;if(!f&&(n=i.children(e.listItemElement+":first-child"),l="auto"!==e.distance?e.distance:"vertical"===e.direction?n.outerHeight(!0):n.outerWidth(!0),e.linear?a=Math.min(p[0][e.scrollOffset]+e.step,l):(c=Math.max(3,parseInt(.3*(l-p[0][e.scrollOffset]),10)),a=Math.min(p[0][e.scrollOffset]+c,l)),p[0][e.scrollOffset]=a,a>=l)){for(r=0;r<e.switchItems;r++)e.queue&&e.queue.find(e.listItemElement).length>0?(i.append(e.queue.find(e.listItemElement)[0]),i.children(e.listItemElement+":first-child").remove()):i.append(i.children(e.listItemElement+":first-child")),++m;if(p[0][e.scrollOffset]=0,clearInterval(h),h=null,t.isFunction(e.afterForward)&&e.afterForward.call(p,{switchCount:m,currentFirstChild:i.children(e.listItemElement+":first-child")}),e.triggerStackable&&0!==g)return void o();if(!1===e.infiniteLoop&&m>=e.switchAmount)return;e.autoPlay&&(u=setTimeout(s,1e3*e.delay))}},l=function(){if(!f){var n,r,a,l,c;if(0===p[0][e.scrollOffset]){for(r=0;r<e.switchItems;r++)i.children(e.listItemElement+":last-child").insertBefore(i.children(e.listItemElement+":first-child"));n=i.children(e.listItemElement+":first-child"),l="auto"!==e.distance?e.distance:"vertical"===e.direction?n.height():n.width(),p[0][e.scrollOffset]=l}if(e.linear?a=Math.max(p[0][e.scrollOffset]-e.step,0):(c=Math.max(3,parseInt(.3*p[0][e.scrollOffset],10)),a=Math.max(p[0][e.scrollOffset]-c,0)),p[0][e.scrollOffset]=a,0===a){if(--m,clearInterval(h),h=null,t.isFunction(e.afterBackward)&&e.afterBackward.call(p,{switchCount:m,currentFirstChild:i.children(e.listItemElement+":first-child")}),e.triggerStackable&&0!==g)return void o();e.autoPlay&&(u=setTimeout(s,1e3*e.delay))}}},o=function(){0!==g&&(g>0?(g--,u=setTimeout(s,0)):(g++,u=setTimeout(n,0)))},s=function(){clearInterval(h),h=setInterval(a,e.speed)},n=function(){clearInterval(h),h=setInterval(l,e.speed)},c=function(){e.autoPlay=!0,f=!1,clearInterval(h),h=setInterval(a,e.speed)},d=function(){f=!0},r=function(t){e.delay=t||e.delay,clearTimeout(u),e.autoPlay&&(u=setTimeout(s,1e3*e.delay))},e.autoPlay&&(u=setTimeout(s,1e3*e.startDelay)),p.bind("resetClock",(function(t){r(t)})),p.bind("forward",(function(){e.triggerStackable?null!==h?g++:s():(clearTimeout(u),s())})),p.bind("backward",(function(){e.triggerStackable?null!==h?g--:n():(clearTimeout(u),n())})),p.bind("pauseHover",(function(){d()})),p.bind("forwardHover",(function(){c()})),p.bind("speedUp",(function(t,i){"undefined"===i&&(i=Math.max(1,parseInt(e.speed/2,10))),e.speed=i})),p.bind("speedDown",(function(t,i){"undefined"===i&&(i=2*e.speed),e.speed=i})),p.bind("updateConfig",(function(i,o){e=t.extend(e,o)}))}))}}(jQuery)},489:(t,e,i)=>{var o,n;function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}o=[i(311)],void 0===(n=function(t){var e={},i=function(e){var i=[],o=!1,n=e.dir&&"left"===e.dir?"scrollLeft":"scrollTop";return this.each((function(){var e=t(this);if(this!==document&&this!==window)return!document.scrollingElement||this!==document.documentElement&&this!==document.body?void(e[n]()>0?i.push(this):(e[n](1),o=e[n]()>0,o&&i.push(this),e[n](0))):(i.push(document.scrollingElement),!1)})),i.length||this.each((function(){this===document.documentElement&&"smooth"===t(this).css("scrollBehavior")&&(i=[this]),i.length||"BODY"!==this.nodeName||(i=[this])}
2)),"first"===e.el&&i.length>1&&(i=[i[0]]),i},o=/^([\-\+]=)(\d+)/;t.fn.extend({scrollable:function(t){var e=i.call(this,{dir:t});return this.pushStack(e)},firstScrollable:function(t){var e=i.call(this,{el:"first",dir:t});return this.pushStack(e)},smoothScroll:function(e,i){if("options"===(e=e||{}))return i?this.each((function(){var e=t(this),o=t.extend(e.data("ssOpts")||{},i);t(this).data("ssOpts",o)})):this.first().data("ssOpts");var o=t.extend({},t.fn.smoothScroll.defaults,e),n=function(e){var i=function(t){return t.replace(/(:|\.|\/)/g,"\\$1")},n=this,s=t(this),r=t.extend({},o,s.data("ssOpts")||{}),a=o.exclude,l=r.excludeWithin,c=0,d=0,p=!0,h={},u=t.smoothScroll.filterPath(location.pathname),f=t.smoothScroll.filterPath(n.pathname),m=location.hostname===n.hostname||!n.hostname,g=r.scrollTarget||f===u,v=i(n.hash);if(v&&!t(v).length&&(p=!1),r.scrollTarget||m&&g&&v){for(;p&&c<a.length;)s.is(i(a[c++]))&&(p=!1);for(;p&&d<l.length;)s.closest(l[d++]).length&&(p=!1)}else p=!1;p&&(r.preventDefault&&e.preventDefault(),t.extend(h,r,{scrollTarget:r.scrollTarget||v,link:n}),t.smoothScroll(h))};return null!==e.delegateSelector?this.off("click.smoothscroll",e.delegateSelector).on("click.smoothscroll",e.delegateSelector,n):this.off("click.smoothscroll").on("click.smoothscroll",n),this}});var n=function(t){var e={relative:""},i="string"==typeof t&&o.exec(t);return"number"==typeof t?e.px=t:i&&(e.relative=i[1],e.px=parseFloat(i[2])||0),e};t.smoothScroll=function(i,o){if("options"===i&&"object"==s(o))return t.extend(e,o);var r,a,l,c,d=n(i),p=0,h="offset",u="scrollTop",f={},m={};d.px?r=t.extend({link:null},t.fn.smoothScroll.defaults,e):((r=t.extend({link:null},t.fn.smoothScroll.defaults,i||{},e)).scrollElement&&(h="position","static"===r.scrollElement.css("position")&&r.scrollElement.css("position","relative")),o&&(d=n(o))),u="left"===r.direction?"scrollLeft":u,r.scrollElement?(a=r.scrollElement,d.px||/^(?:HTML|BODY)$/.test(a[0].nodeName)||(p=a[u]())):a=t("html, body").firstScrollable(r.direction),r.beforeScroll.call(a,r),c=d.px?d:{relative:"",px:t(r.scrollTarget)[h]()&&t(r.scrollTarget)[h]()[r.direction]||0},f[u]=c.relative+(c.px+p+r.offset),"auto"===(l=r.speed)&&(l=Math.abs(f[u]-a[u]())/r.autoCoefficient),m={duration:l,easing:r.easing,complete:function(){r.afterScroll.call(r.link,r)}},r.step&&(m.step=r.step),a.length?a.stop().animate(f,m):r.afterScroll.call(r.link,r)},t.smoothScroll.version="2.1.2",t.smoothScroll.filterPath=function(t){return(t=t||"").replace(/^\//,"").replace(/(?:index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},t.fn.smoothScroll.defaults={exclude:[],excludeWithin:[],offset:0,direction:"top",delegateSelector:null,scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficient:2,preventDefault:!0}}.apply(e,o))||(t.exports=n)},25:(t,e,i)=>{var o,n;function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}o=[i(311)],void 0===(n=function(t){var e=Array.prototype.slice,i=Array.prototype.splice,o={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:"",widthFromWrapper:!0,responsiveWidth:!1,zIndex:"auto"},n=t(window),r=t(document),a=[],l=n.height(),c=function(){for(var e=n.scrollTop(),i=r.height(),o=i-l,s=e>o?o-e:0,c=0,d=a.length;c<d;c++){var p=a[c],h=p.stickyWrapper.offset().top-p.topSpacing-s;if(p.stickyWrapper.css("height",p.stickyElement.outerHeight()),e<=h)null!==p.currentTop&&(p.stickyElement.css({width:"",position:"",top:""}),p.stickyElement.parent().removeClass(p.className),p.stickyElement.trigger("sticky-end",[p]),p.currentTop=null);else{var u,f=i-p.stickyElement.outerHeight()-p.topSpacing-p.bottomSpacing-e-s;f<0?f+=p.topSpacing:f=p.topSpacing,p.currentTop!==f&&(p.getWidthFrom?u=t(p.getWidthFrom).width()||null:p.widthFromWrapper&&(u=p.stickyWrapper.width()),null==u&&(u=p.stickyElement.width()),p.stickyElement.css("width",u).css("position","fixed").css("top",f),p.stickyElement.parent().addClass(p.className),null===p.currentTop?p.stickyElement.trigger("sticky-start",[p]):p.stickyElement.trigger("sticky-update",[p]),p.currentTop===p.topSpacing&&p.currentTop>f||null===p.currentTop&&f<p.topSpacing?p.stickyElement.trigger("sticky-bottom-reached",[p]):null!==p.currentTop&&f===p.topSpacing&&p.currentTop<f&&p.stickyElement.trigger("sticky-bottom-unreached",[p]),p.currentTop=f);var m=p.stickyWrapper.parent();p.stickyElement.offset().top+p.stickyElement.outerHeight()>=m.offset().top+m.outerHeight()&&p.stickyElement.offset().top<=p.topSpacing?p.stickyElement.css("position","absolute").css("top","").css("bottom",0):p.stickyElement.css("position","fixed").css("top",f).css("bottom","")}}},d=function(){l=n.height();for(var e=0,i=a.length;e<i;e++){var o=a[e],s=null;o.getWidthFrom?o.responsiveWidth&&(s=t(o.getWidthFrom).width()):o.widthFromWrapper&&(s=o.stickyWrapper.width()),null!=s&&o.stickyElement.css("width",s)}},p={init:function(e){return this.each((function(){var i=t.extend({},o,e),n=t(this),s=n.attr("id"),r=s?s+"-"+o.wrapperClassName:o.wrapperClassName,l=t("<div></div>").attr("id",r).addClass(i.wrapperClassName);n.wrapAll((function(){if(0==t(this).parent("#"+r).length)return l}));var c=n.parent();i.center&&c.css({width:n.outerWidth(),marginLeft:"auto",marginRight:"auto"}),"right"===n.css("float")&&n.css({float:"none"}).parent().css({float:"right"}),i.stickyElement=n,i.stickyWrapper=c,i.currentTop=null,a.push(i),p.setWrapperHeight(this),p.setupChangeListeners(this)}))},setWrapperHeight:function(e){var i=t(e),o=i.parent();o&&o.css("height",i.outerHeight())},setupChangeListeners:function(t){window.MutationObserver?new window.MutationObserver((function(e){(e[0].addedNodes.length||e[0].removedNodes.length)&&p.setWrapperHeight(t)})).observe(t,{subtree:!0,childList:!0}):window.addEventListener?(t.addEventListener("DOMNodeInserted",(function(){p.setWrapperHeight(t)}),!1),t.addEventListener("DOMNodeRemoved",(function(){p.setWrapperHeight(t)}),!1)):window.attachEvent&&(t.attachEvent("onDOMNodeInserted",(function(){p.setWrapperHeight(t)})),t.attachEvent("onDOMNodeRemoved",(function(){p.setWrapperHeight(t)})))},update:c,unstick:function(e){return this.each((function(){for(var e=t
2(this),o=-1,n=a.length;n-- >0;)a[n].stickyElement.get(0)===this&&(i.call(a,n,1),o=n);-1!==o&&(e.unwrap(),e.css({width:"",position:"",top:"",float:""}))}))}};window.addEventListener?(window.addEventListener("scroll",c,!1),window.addEventListener("resize",d,!1)):window.attachEvent&&(window.attachEvent("onscroll",c),window.attachEvent("onresize",d)),t.fn.sticky=function(i){return p[i]?p[i].apply(this,e.call(arguments,1)):"object"!==s(i)&&i?void t.error("Method "+i+" does not exist on jQuery.sticky"):p.init.apply(this,arguments)},t.fn.unstick=function(i){return p[i]?p[i].apply(this,e.call(arguments,1)):"object"!==s(i)&&i?void t.error("Method "+i+" does not exist on jQuery.sticky"):p.unstick.apply(this,arguments)},t((function(){setTimeout(c,0)}))}.apply(e,o))||(t.exports=n)},625:(t,e,i)=>{var o,n,s;function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}!function(a){"use strict";n=[i(311)],o=function(t){var e,i=window.Slick||{};(e=0,i=function(i,o){var n,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(i),appendDots:t(i),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" data-role="none" role="button" tabindex="0" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=t(i),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,n=t(i).data("slick")||{},s.options=t.extend({},s.defaults,o,n),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,void 0!==document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=t.proxy(s.autoPlay,s),s.autoPlayClear=t.proxy(s.autoPlayClear,s),s.autoPlayIterator=t.proxy(s.autoPlayIterator,s),s.changeSlide=t.proxy(s.changeSlide,s),s.clickHandler=t.proxy(s.clickHandler,s),s.selectHandler=t.proxy(s.selectHandler,s),s.setPosition=t.proxy(s.setPosition,s),s.swipeHandler=t.proxy(s.swipeHandler,s),s.dragHandler=t.proxy(s.dragHandler,s),s.keyHandler=t.proxy(s.keyHandler,s),s.instanceUid=e++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},i.prototype.addSlide=i.prototype.slickAdd=function(e,i,o){var n=this;if("boolean"==typeof i)o=i,i=null;else if(i<0||i>=n.slideCount)return!1;n.unload(),"number"==typeof i?0===i&&0===n.$slides.length?t(e).appendTo(n.$slideTrack):o?t(e).insertBefore(n.$slides.eq(i)):t(e).insertAfter(n.$slides.eq(i)):!0===o?t(e).prependTo(n.$slideTrack):t(e).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each((function(e,i){t(i).attr("data-slick-index",e)})),n.$slidesCache=n.$slides,n.reinit()},i.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},i.prototype.animateSlide=function(e,i){var o={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(e=-e),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,i):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,i):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),t({animStart:n.currentLeft}).animate({animStart:e},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),!1===n.options.vertical?(o[n.animType]="translate("+t+"px, 0px)",n.$slideTrack.css(o)):(o[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(o))},complete:function(){i&&i.call()}})):(n.applyTransition(),e=Math.ceil(e),!1===n.options.vertical?o[n.animType]="translate3d("+e+"px, 0px, 0px)":o[n.animType]="translate3d(0px,"+e+"px, 0px)",n.$slideTrack.css(o),i&&setTimeout((function(){n.disableTransition(),i.call()}),n.options.speed))},i.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e&&null!==e&&(e=t(e).not(this.$slider)),e},i.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"===r(i)&&i.each((function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)}))},i.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},i.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},i.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},i.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;
vendor: 5,144 bytes, line 2
2t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},i.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},i.prototype.buildDots=function(){var e,i,o=this;if(!0===o.options.dots&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)i.append(t("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=i.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},i.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each((function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")})),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},i.prototype.buildRows=function(){var t,e,i,o,n,s,r,a=this;if(o=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>1){for(r=a.options.slidesPerRow*a.options.rows,n=Math.ceil(s.length/r),t=0;t<n;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var d=t*r+(e*a.options.slidesPerRow+i);s.get(d)&&c.appendChild(s.get(d))}l.appendChild(c)}o.appendChild(l)}a.$slider.empty().append(o),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},i.prototype.checkResponsive=function(e,i){var o,n,s,r=this,a=!1,l=r.$slider.width(),c=window.innerWidth||t(window).width();if("window"===r.respondTo?s=c:"slider"===r.respondTo?s=l:"min"===r.respondTo&&(s=Math.min(c,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(o in n=null,r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?s<r.breakpoints[o]&&(n=r.breakpoints[o]):s>r.breakpoints[o]&&(n=r.breakpoints[o]));null!==n?null!==r.activeBreakpoint?(n!==r.activeBreakpoint||i)&&(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[n]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=n):(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[n]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=n):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),a=n),e||!1===a||r.$slider.trigger("breakpoint",[r,a])}},i.prototype.changeSlide=function(e,i){var o,n,s=this,r=t(e.currentTarget);switch(r.is("a")&&e.preventDefault(),r.is("li")||(r=r.closest("li")),o=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,e.data.message){case"previous":n=0===o?s.options.slidesToScroll:s.options.slidesToShow-o,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-n,!1,i);break;case"next":n=0===o?s.options.slidesToScroll:o,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+n,!1,i);break;case"index":var a=0===e.data.index?0:e.data.index||r.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(a),!1,i),r.children().trigger("focus");break;default:return}},i.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var o in e){if(t<e[o]){t=i;break}i=e[o]}return t},i.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.
2slick",t.proxy(e.interrupt,e,!1)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},i.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},i.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(t))},i.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},i.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){t(this).attr("style",t(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},i.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},i.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout((function(){i.disableTransition(t),e.call()}),i.options.speed))},i.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},i.prototype.filterSlides=i.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},i.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",(function(i){i.stopImmediatePropagation();var o=t(this);setTimeout((function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())}),0)}))},i.prototype.getCurrent=i.prototype.slickCurrentSlide=function(){return this.currentSlide},i.prototype.getDotCount=function(){var t=this,e=0,i=0,o=0;if(!0===t.options.infinite)for(;e<t.slideCount;)++o,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)o=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++o,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else o=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return o-1},i.prototype.getLeft=function(t){var e,i,o,n=this,s=0;return n.slideOffset=0,i=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=i*n.options.slidesToShow*-1),n.slideCount%n.options.slidesToScroll!=0&&t+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(t>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(t-n.slideCount))*n.slideWidth*-1,s=(n.options.slidesToShow-(t-n.slideCount))*i*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,s=n.slideCount%n.options.slidesToScroll*i*-1))):t+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(t+n.options.slidesToShow-n.slideCount)*n.slideWidth,s=(t+n.options.slidesToShow-n.slideCount)*i),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,s=0),!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?t*n.slideWidth*-1+n.slideOffset:t*i*-1+s,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},i.prototype.getOption=i.prototype.slickGetOption=function(t){return this.options[t]},i.prototype.getNavigableIndexes=function(){var t,e=this,i=0,o=0,n=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)n.push(i),i=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},i.prototype.getSlick=function(){return this},i.prototype.getSlideCount=function(){var e,i,o=this;return i=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each((function(n,s){if(s.offsetLeft-i+t(s).outerWidth()/2>-1*o.swipeLeft)return e=s,!1})),Math.abs(t(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},i.prototype.goTo=i.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:
2parseInt(t)}},e)},i.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},i.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each((function(e){t(this).attr({role:"option"})})),null!==e.$dots&&e.$dots.find("li").each((function(i){t(this).attr({id:"slick-slide"+e.instanceUid+i})})).end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},i.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide))},i.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.slick",t.proxy(e.interrupt,e,!1))},i.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},i.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
2,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition)},i.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},i.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},i.prototype.lazyLoad=function(){var e,i,o=this;function n(e){t("img[data-lazy]",e).each((function(){var e=t(this),i=t(this).attr("data-lazy"),n=document.createElement("img");n.onload=function(){e.attr("src",i).removeAttr("data-lazy").removeClass("slick-loading"),o.$slider.trigger("lazyLoaded",[o,e,i])},n.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,e,i])},n.src=i}))}!0===o.options.centerMode?!0===o.options.infinite?i=(e=o.currentSlide+(o.options.slidesToShow/2+1))+o.options.slidesToShow+2:(e=Math.max(0,o.currentSlide-(o.options.slidesToShow/2+1)),i=o.options.slidesToShow/2+1+2+o.currentSlide):(e=o.options.infinite?o.options.slidesToShow+o.currentSlide:o.currentSlide,i=Math.ceil(e+o.options.slidesToShow),!0===o.options.fade&&(e>0&&e--,i<=o.slideCount&&i++)),n(o.$slider.find(".slick-slide").slice(e,i)),o.slideCount<=o.options.slidesToShow?n(o.$slider.find(".slick-slide")):o.currentSlide>=o.slideCount-o.options.slidesToShow?n(o.$slider.find(".slick-cloned").slice(0,o.options.slidesToShow)):0===o.currentSlide&&n(o.$slider.find(".slick-cloned").slice(-1*o.options.slidesToShow))},i.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},i.prototype.next=i.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},i.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},i.prototype.pause=i.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},i.prototype.play=i.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},i.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&e.initADA())},i.prototype.prev=i.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},i.prototype.preventDefault=function(t){t.preventDefault()},i.prototype.progressiveLazyLoad=function(e){e=e||1;var i,o,n,s=this,r=t("img[data-lazy]",s.$slider);r.length?(i=r.first(),o=i.attr("data-lazy"),(n=document.createElement("img")).onload=function(){i.attr("src",o).removeAttr("data-lazy").removeClass("slick-loading"),!0===s.options.adaptiveHeight&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,i,o]),s.progressiveLazyLoad()},n.onerror=function(){e<3?setTimeout((function(){s.progressiveLazyLoad(e+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,i,o]),s.progressiveLazyLoad())},n.src=o):s.$slider.trigger("allImagesLoaded",[s])},i.prototype.refresh=function(e){var i,o,n=this;o=n.slideCount-n.options.slidesToShow,!n.options.infinite&&n.currentSlide>o&&(n.currentSlide=o),n.slideCount<=n.options.slidesToShow&&(n.currentSlide=0),i=n.currentSlide,n.destroy(!0),t.extend(n,n.initials,{currentSlide:i}),n.init(),e||n.changeSlide({data:{message:"index",index:i}},!1)},i.prototype.registerBreakpoints=function(){var e,i,o,n=this,s=n.options.responsive||null;if("array"===t.type(s)&&s.length){for(e in n.respondTo=n.options.respondTo||"window",
2s)if(o=n.breakpoints.length-1,i=s[e].breakpoint,s.hasOwnProperty(e)){for(;o>=0;)n.breakpoints[o]&&n.breakpoints[o]===i&&n.breakpoints.splice(o,1),o--;n.breakpoints.push(i),n.breakpointSettings[i]=s[e].settings}n.breakpoints.sort((function(t,e){return n.options.mobileFirst?t-e:e-t}))}},i.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},i.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout((function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()}),50))},i.prototype.removeSlide=i.prototype.slickRemove=function(t,e,i){var o=this;if(t="boolean"==typeof t?!0===(e=t)?0:o.slideCount-1:!0===e?--t:t,o.slideCount<1||t<0||t>o.slideCount-1)return!1;o.unload(),!0===i?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(t).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},i.prototype.setCSS=function(t){var e,i,o=this,n={};!0===o.options.rtl&&(t=-t),e="left"==o.positionProp?Math.ceil(t)+"px":"0px",i="top"==o.positionProp?Math.ceil(t)+"px":"0px",n[o.positionProp]=t,!1===o.transformsEnabled?o.$slideTrack.css(n):(n={},!1===o.cssTransitions?(n[o.animType]="translate("+e+", "+i+")",o.$slideTrack.css(n)):(n[o.animType]="translate3d("+e+", "+i+", 0px)",o.$slideTrack.css(n)))},i.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=t.listWidth/t.options.slidesToShow,t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},i.prototype.setFade=function(){var e,i=this;i.$slides.each((function(o,n){e=i.slideWidth*o*-1,!0===i.options.rtl?t(n).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}
2):t(n).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},i.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},i.prototype.setOption=i.prototype.slickSetOption=function(){var e,i,o,n,s,r=this,a=!1;if("object"===t.type(arguments[0])?(o=arguments[0],a=arguments[1],s="multiple"):"string"===t.type(arguments[0])&&(o=arguments[0],n=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)r.options[o]=n;else if("multiple"===s)t.each(o,(function(t,e){r.options[t]=e}));else if("responsive"===s)for(i in n)if("array"!==t.type(r.options.responsive))r.options.responsive=[n[i]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===n[i].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(n[i])}a&&(r.unload(),r.reinit())},i.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},i.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},i.prototype.setSlideClasses=function(t){var e,i,o,n,s=this;i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(t).addClass("slick-current"),!0===s.options.centerMode?(e=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(t>=e&&t<=s.slideCount-1-e?s.$slides.slice(t-e,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=s.options.slidesToShow+t,i.slice(o-e+1,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(t).addClass("slick-center")):t>=0&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(n=s.slideCount%s.options.slidesToShow,o=!0===s.options.infinite?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?i.slice(o-(s.options.slidesToShow-n),o+n).addClass("slick-active").attr("aria-hidden","false"):i.slice(o,o+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===s.options.lazyLoad&&s.lazyLoad()},i.prototype.setupInfinite=function(){var e,i,o,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(i=null,n.slideCount>n.options.slidesToShow)){for(o=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-o;e-=1)i=e-1,t(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(e=0;e<o;e+=1)i=e,t(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each((function(){t(this).attr("id","")}))}},i.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},i.prototype.selectHandler=function(e){var i=this,o=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),n=parseInt(o.attr("data-slick-index"));if(n||(n=0),i.slideCount<=i.options.slidesToShow)return i.setSlideClasses(n),void i.asNavFor(n);i.slideHandler(n)}
2,i.prototype.slideHandler=function(t,e,i){var o,n,s,r,a,l=null,c=this;if(e=e||!1,(!0!==c.animating||!0!==c.options.waitForAnimate)&&!(!0===c.options.fade&&c.currentSlide===t||c.slideCount<=c.options.slidesToShow))if(!1===e&&c.asNavFor(t),o=t,l=c.getLeft(o),r=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?r:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(t<0||t>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(o=c.currentSlide,!0!==i?c.animateSlide(r,(function(){c.postSlide(o)})):c.postSlide(o));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(t<0||t>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(o=c.currentSlide,!0!==i?c.animateSlide(r,(function(){c.postSlide(o)})):c.postSlide(o));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),n=o<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+o:o>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:o-c.slideCount:o,c.animating=!0,s=c.currentSlide,c.currentSlide=n,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(a=(a=c.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(c.currentSlide),c.$slider.trigger("beforeChange",[c,c.currentSlide,n]),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==i?(c.fadeSlideOut(s),c.fadeSlide(n,(function(){c.postSlide(n)}))):c.postSlide(n),void c.animateHeight();!0!==i?c.animateSlide(l,(function(){c.postSlide(n)})):c.postSlide(n)}},i.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},i.prototype.swipeDirection=function(){var t,e,i,o,n=this;return t=n.touchObject.startX-n.touchObject.curX,e=n.touchObject.startY-n.touchObject.curY,i=Math.atan2(e,t),(o=Math.round(180*i/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?!1===n.options.rtl?"left":"right":o>=135&&o<=225?!1===n.options.rtl?"right":"left":!0===n.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},i.prototype.swipeEnd=function(t){var e,i,o=this;if(o.dragging=!1,o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(i=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=i&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,i]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},i.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},i.prototype.swipeMove=function(t){var e,i,o,n,s,r=this;return s=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!r.dragging||s&&1!==s.length)&&(e=r.getLeft(r.currentSlide),r.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,r.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curX-r.touchObject.startX,2))),!0===r.options.verticalSwiping&&(r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curY-r.touchObject.startY,2)))),"vertical"!==(i=r.swipeDirection())?(void 0!==t.originalEvent&&r.touchObject.swipeLength>4&&t.preventDefault(),n=(!1===r.options.rtl?1:-1)*(r.touchObject.curX>r.touchObject.startX?1:-1),!0===r.options.verticalSwiping&&(n=r.touchObject.curY>r.touchObject.startY?1:-1),o=r.touchObject.swipeLength,r.touchObject.edgeHit=!1,!1===r.options.infinite&&(0===r.currentSlide&&"right"===i||r.currentSlide>=r.getDotCount()&&"left"===i)&&(o=r.touchObject.swipeLength*r.options.edgeFriction,r.touchObject.edgeHit=!0),!1===r.options.vertical?r.swipeLeft=e+o*n:r.swipeLeft=e+o*(r.$list.height()/r.listWidth)*n,!0===r.options.verticalSwiping&&(r.swipeLeft=e+o*n),!0!==r.options.fade&&!1!==r.options.touchMove&&(!0===r.animating?(r.swipeLeft=null,!1):void r.setCSS(r.swipeLeft))):void 0)},i.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},i.prototype.unfilterSlides=i.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},i.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
2,i.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},i.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},i.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},i.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,e,o=this,n=arguments[0],s=Array.prototype.slice.call(arguments,1),a=o.length;for(t=0;t<a;t++)if("object"==r(n)||void 0===n?o[t].slick=new i(o[t],n):e=o[t].slick[n].apply(o[t].slick,s),void 0!==e)return e;return o}},void 0===(s=o.apply(e,n))||(t.exports=s)}()},679:(t,e,i)=>{var o,n,s;n=[i(311)],void 0===(s="function"==typeof(o=function(t){"use strict";var e=0;t.fn.TouchSpin=function(i){var o={min:0,max:100,initval:"",replacementval:"",firstclickvalueifempty:null,step:1,decimals:0,stepinterval:100,forcestepdivisibility:"round",stepintervaldelay:500,verticalbuttons:!1,verticalup:"+",verticaldown:"-",verticalupclass:"",verticaldownclass:"",prefix:"",postfix:"",prefix_extraclass:"",postfix_extraclass:"",booster:!0,boostat:10,maxboostedstep:!1,mousewheel:!0,buttondown_class:"btn btn-primary",buttonup_class:"btn btn-primary",buttondown_txt:"-",buttonup_txt:"+",callback_before_calculation:function(t){return t},callback_after_calculation:function(t){return t}},n={min:"min",max:"max",initval:"init-val",replacementval:"replacement-val",firstclickvalueifempty:"first-click-value-if-empty",step:"step",decimals:"decimals",stepinterval:"step-interval",verticalbuttons:"vertical-buttons",verticalupclass:"vertical-up-class",verticaldownclass:"vertical-down-class",forcestepdivisibility:"force-step-divisibility",stepintervaldelay:"step-interval-delay",prefix:"prefix",postfix:"postfix",prefix_extraclass:"prefix-extra-class",postfix_extraclass:"postfix-extra-class",booster:"booster",boostat:"boostat",maxboostedstep:"max-boosted-step",mousewheel:"mouse-wheel",buttondown_class:"button-down-class",buttonup_class:"button-up-class",buttondown_txt:"button-down-txt",buttonup_txt:"button-up-txt"};return this.each((function(){var s,r,a,l,c,d,p,h,u,f,m,g,v,w,y,b=t(this),x=b.data(),_=0,S=!1;function k(){""===s.prefix&&(r=c.prefix.detach()),""===s.postfix&&(a=c.postfix.detach())}function T(){var t,e,i;""!==(t=s.callback_before_calculation(b.val()))?s.decimals>0&&"."===t||(e=parseFloat(t),isNaN(e)&&(e=""!==s.replacementval?s.replacementval:0),i=e,e.toString()!==t&&(i=e),null!==s.min&&e<s.min&&(i=s.min),null!==s.max&&e>s.max&&(i=s.max),i=function(t){switch(s.forcestepdivisibility){case"round":return(Math.round(t/s.step)*s.step).toFixed(s.decimals);case"floor":return(Math.floor(t/s.step)*s.step).toFixed(s.decimals);case"ceil":return(Math.ceil(t/s.step)*s.step).toFixed(s.decimals);default:return t.toFixed(s.decimals)}}(i),Number(t).toString()!==i.toString()&&(b.val(i),b.trigger("change"))):""!==s.replacementval&&(b.val(s.replacementval),b.trigger("change"))}function C(){if(s.booster){var t=Math.pow(2,Math.floor(_/s.boostat))*s.step;return s.maxboostedstep&&t>s.maxboostedstep&&(t=s.maxboostedstep,d=Math.round(d/t)*t),Math.max(s.step,t)}return s.step}function z(){return"number"==typeof s.firstclickvalueifempty?s.firstclickvalueifempty:(s.min+s.max)/2}function E(){T();var t,e=d=parseFloat(s.callback_before_calculation(c.input.val()));isNaN(d)?d=z():(t=C(),d+=t),null!==s.max&&d>s.max&&(d=s.max,b.trigger("touchspin.on.max"),A()),c.input.val(s.callback_after_calculation(Number(d).toFixed(s.decimals))),e!==d&&b.trigger("change")}function O(){T();var t,e=d=parseFloat(s.callback_before_calculation(c.input.val()));isNaN(d)?d=z():(t=C(),d-=t),null!==s.min&&d<s.min&&(d=s.min,b.trigger("touchspin.on.min"),A()),c.input.val(s.callback_after_calculation(Number(d).toFixed(s.decimals))),e!==d&&b.trigger("change")}function $(){A(),_=0,S="down",b.trigger("touchspin.on.startspin"),b.trigger("touchspin.on.startdownspin"),u=setTimeout((function(){p=setInterval((function(){_++,O()}),s.stepinterval)}),s.stepintervaldelay)}function L(){A(),_=0,S="up",b.trigger("touchspin.on.startspin"),b.trigger("touchspin.on.startupspin"),f=setTimeout((function(){h=setInterval((function(){_++,E()}),s.stepinterval)}),s.stepintervaldelay)}function A(){switch(clearTimeout(u),clearTimeout(f),clearInterval(p),clearInterval(h),S){case"up":b.trigger("touchspin.on.stopupspin"),b.trigger("touchspin.on.stopspin");break;case"down":b.trigger("touchspin.on.stopdownspin"),b.trigger("touchspin.on.stopspin")}_=0,S=!1}b.data("alreadyinitialized")||(b.data("alreadyinitialized",!0),e
2+=1,b.data("spinnerid",e),b.is("input")?(s=t.extend({},o,x,(y={},t.each(n,(function(t,e){var i="bts-"+e;b.is("[data-"+i+"]")&&(y[t]=b.data(i))})),y),i),""!==s.initval&&""===b.val()&&b.val(s.initval),T(),m=b.val(),g=b.parent(),""!==m&&(m=s.callback_after_calculation(Number(m).toFixed(s.decimals))),b.data("initvalue",m).val(m),b.addClass("form-control"),g.hasClass("input-group")?function(e){e.addClass("bootstrap-touchspin");var i,o,n=b.prev(),r=b.next(),a='<span class="input-group-addon input-group-prepend bootstrap-touchspin-prefix input-group-prepend bootstrap-touchspin-injected"><span class="input-group-text">'+s.prefix+"</span></span>",c='<span class="input-group-addon input-group-append bootstrap-touchspin-postfix input-group-append bootstrap-touchspin-injected"><span class="input-group-text">'+s.postfix+"</span></span>";n.hasClass("input-group-btn")||n.hasClass("input-group-prepend")?(i='<button class="'+s.buttondown_class+' bootstrap-touchspin-down bootstrap-touchspin-injected" type="button">'+s.buttondown_txt+"</button>",n.append(i)):(i='<span class="input-group-btn input-group-prepend bootstrap-touchspin-injected"><button class="'+s.buttondown_class+' bootstrap-touchspin-down" type="button">'+s.buttondown_txt+"</button></span>",t(i).insertBefore(b)),r.hasClass("input-group-btn")||r.hasClass("input-group-append")?(o='<button class="'+s.buttonup_class+' bootstrap-touchspin-up bootstrap-touchspin-injected" type="button">'+s.buttonup_txt+"</button>",r.prepend(o)):(o='<span class="input-group-btn input-group-append bootstrap-touchspin-injected"><button class="'+s.buttonup_class+' bootstrap-touchspin-up" type="button">'+s.buttonup_txt+"</button></span>",t(o).insertAfter(b)),t(a).insertBefore(b),t(c).insertAfter(b),l=e}(g):(w="",b.hasClass("input-sm")&&(w="input-group-sm"),b.hasClass("input-lg")&&(w="input-group-lg"),v=s.verticalbuttons?'<div class="input-group '+w+' bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-addon input-group-prepend bootstrap-touchspin-prefix"><span class="input-group-text">'+s.prefix+'</span></span><span class="input-group-addon bootstrap-touchspin-postfix input-group-append"><span class="input-group-text">'+s.postfix+'</span></span><span class="input-group-btn-vertical"><button class="'+s.buttondown_class+" bootstrap-touchspin-up "+s.verticalupclass+'" type="button">'+s.verticalup+'</button><button class="'+s.buttonup_class+" bootstrap-touchspin-down "+s.verticaldownclass+'" type="button">'+s.verticaldown+"</button></span></div>":'<div class="input-group bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-btn input-group-prepend"><button class="'+s.buttondown_class+' bootstrap-touchspin-down" type="button">'+s.buttondown_txt+'</button></span><span class="input-group-addon bootstrap-touchspin-prefix input-group-prepend"><span class="input-group-text">'+s.prefix+'</span></span><span class="input-group-addon bootstrap-touchspin-postfix input-group-append"><span class="input-group-text">'+s.postfix+'</span></span><span class="input-group-btn input-group-append"><button class="'+s.buttonup_class+' bootstrap-touchspin-up" type="button">'+s.buttonup_txt+"</button></span></div>",l=t(v).insertBefore(b),t(".bootstrap-touchspin-prefix",l).after(b),b.hasClass("input-sm")?l.addClass("input-group-sm"):b.hasClass("input-lg")&&l.addClass("input-group-lg")),c={down:t(".bootstrap-touchspin-down",l),up:t(".bootstrap-touchspin-up",l),input:t("input",l),prefix:t(".bootstrap-touchspin-prefix",l).addClass(s.prefix_extraclass),postfix:t(".bootstrap-touchspin-postfix",l).addClass(s.postfix_extraclass)},k(),b.on("keydown.touchspin",(function(t){var e=t.keyCode||t.which;38===e?("up"!==S&&(E(),L()),t.preventDefault()):40===e&&("down"!==S&&(O(),$()),t.preventDefault())})),b.on("keyup.touchspin",(function(t){var e=t.keyCode||t.which;(38===e||40===e)&&A()})),b.on("blur.touchspin",(function(){T(),b.val(s.callback_after_calculation(b.val()))})),c.down.on("keydown",(function(t){var e=t.keyCode||t.which;32!==e&&13!==e||("down"!==S&&(O(),$()),t.preventDefault())})),c.down.on("keyup.touchspin",(function(t){var e=t.keyCode||t.which;32!==e&&13!==e||A()})),c.up.on("keydown.touchspin",(function(t){var e=t.keyCode||t.which;32!==e&&13!==e||("up"!==S&&(E(),L()),t.preventDefault())})),c.up.on("keyup.touchspin",(function(t){var e=t.keyCode||t.which;32!==e&&13!==e||A()})),c.down.on("mousedown.touchspin",(function(t){c.down.off("touchstart.touchspin"),b.is(":disabled")||(O(),$(),t.preventDefault(),t.stopPropagation())})),c.down.on("touchstart.touchspin",(function(t){c.down.off("mousedown.touchspin"),b.is(":disabled")||(O(),$(),t.preventDefault(),t.stopPropagation())})),c.up.on("mousedown.touchspin",(function(t){c.up.off("touchstart.touchspin"),b.is(":disabled")||(E(),L(),t.preventDefault(),t.stopPropagation())})),c.up.on("touchstart.touchspin",(function(t){c.up.off("mousedown.touchspin"),b.is(":disabled")||(E(),L(),t.preventDefault(),t.stopPropagation())})),c.up.on("mouseup.touchspin mouseout.touchspin touchleave.touchspin touchend.touchspin touchcancel.touchspin",(function(t){S&&
2(t.stopPropagation(),A())})),c.down.on("mouseup.touchspin mouseout.touchspin touchleave.touchspin touchend.touchspin touchcancel.touchspin",(function(t){S&&(t.stopPropagation(),A())})),c.down.on("mousemove.touchspin touchmove.touchspin",(function(t){S&&(t.stopPropagation(),t.preventDefault())})),c.up.on("mousemove.touchspin touchmove.touchspin",(function(t){S&&(t.stopPropagation(),t.preventDefault())})),b.on("mousewheel.touchspin DOMMouseScroll.touchspin",(function(t){if(s.mousewheel&&b.is(":focus")){var e=t.originalEvent.wheelDelta||-t.originalEvent.deltaY||-t.originalEvent.detail;t.stopPropagation(),t.preventDefault(),e<0?O():E()}})),b.on("touchspin.destroy",(function(){var e;e=b.parent(),A(),b.off(".touchspin"),e.hasClass("bootstrap-touchspin-injected")?(b.siblings().remove(),b.unwrap()):(t(".bootstrap-touchspin-injected",e).remove(),e.removeClass("bootstrap-touchspin")),b.data("alreadyinitialized",!1)})),b.on("touchspin.uponce",(function(){A(),E()})),b.on("touchspin.downonce",(function(){A(),O()})),b.on("touchspin.startupspin",(function(){L()})),b.on("touchspin.startdownspin",(function(){$()})),b.on("touchspin.stopspin",(function(){A()}
2)),b.on("touchspin.updatesettings",(function(e,i){!function(e){(function(e){s=t.extend({},s,e),e.postfix&&(0===b.parent().find(".bootstrap-touchspin-postfix").length&&a.insertAfter(b),b.parent().find(".bootstrap-touchspin-postfix .input-group-text").text(e.postfix)),e.prefix&&(0===b.parent().find(".bootstrap-touchspin-prefix").length&&r.insertBefore(b),b.parent().find(".bootstrap-touchspin-prefix .input-group-text").text(e.prefix)),k()})(e),T();var i=c.input.val();""!==i&&(i=Number(s.callback_before_calculation(c.input.val())),c.input.val(s.callback_after_calculation(Number(i).toFixed(s.decimals))))}(i)}))):console.log("Must be an input."))}))}})?o.apply(e,n):o)||(t.exports=s)},666:function(t,e,i){t.exports=function(t){"use strict";const e=function(t){if(t&&t.__esModule)return t;const e=Object.create(null);if(t)for(const i in t)if("default"!==i){const o=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>t[i]})}return e.default=t,Object.freeze(e)}(t),i="transitionend",o=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},n=t=>{const e=o(t);return e&&document.querySelector(e)?e:null},s=t=>{const e=o(t);return e?document.querySelector(e):null},r=t=>{t.dispatchEvent(new Event(i))},a=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),l=t=>a(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,c=(t,e,i)=>
vendor: 1,943 bytes, line 2
2{Object.keys(i).forEach((o=>{const n=i[o],s=e[o],r=s&&a(s)?"element":null==(l=s)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(n).test(r))throw new TypeError(`${t.toUpperCase()}: Option "${o}" provided type "${r}" but expected type "${n}".`)}))},d=t=>!(!a(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),p=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),h=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h(t.parentNode):null},u=()=>{},f=t=>{t.offsetHeight},m=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},g=[],v=()=>"rtl"===document.documentElement.dir,w=t=>{var e;e=()=>{const e=m();if(e){const i=t.NAME,o=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=o,t.jQueryInterface)}},"loading"===document.readyState?(g.length||document.addEventListener("DOMContentLoaded",(()=>{g.forEach((t=>t()))})),g.push(e)):e()},y=t=>{"function"==typeof t&&t()},b=(t,e,o=!0)=>{if(!o)return void y(t);const n=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const o=Number.parseFloat(e),n=Number.parseFloat(i);return o||n?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let s=!1;const a=({target:o})=>{o===e&&(s=!0,e.removeEventListener(i,a),y(t))};e.addEventListener(i,a),setTimeout((()=>{s||r(e)}),n)},x=(t,e,i,o)=>{let n=t.indexOf(e);if(-1===n)return t[!i&&o?t.length-1:0];const s=t.length;return n+=i?1:-1,o&&(n=(n+s)%s),t[Math.max(0,Math.min(n,s-1))]},_=/[^.]*(?=\..*)\.|.*/,S=/\..*/,k=/::\d+$/,T={};let C=1;
vendor: 2,977 bytes, line 2
2const z={mouseenter:"mouseover",mouseleave:"mouseout"},E=/^(mouseenter|mouseleave)/i,O=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function $(t,e){return e&&`${e}::${C++}`||t.uidEvent||C++}function L(t){const e=$(t);return t.uidEvent=e,T[e]=T[e]||{},T[e]}function A(t,e,i=null){const o=Object.keys(t);for(let n=0,s=o.length;n<s;n++){const s=t[o[n]];if(s.originalHandler===e&&s.delegationSelector===i)return s}return null}function I(t,e,i){const o="string"==typeof e,n=o?i:e;let s=P(t);return O.has(s)||(s=t),[o,n,s]}function j(t,e,i,o,n){if("string"!=typeof e||!t)return;if(i||(i=o,o=null),E.test(e)){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};o?o=t(o):i=t(i)}const[s,r,a]=I(e,i,o),l=L(t),c=l[a]||(l[a]={}),d=A(c,r,s?i:null);if(d)return void(d.oneOff=d.oneOff&&n);const p=$(r,e.replace(_,"")),h=s?function(t,e,i){return function o(n){const s=t.querySelectorAll(e);for(let{target:r}=n;r&&r!==this;r=r.parentNode)for(let a=s.length;a--;)if(s[a]===r)return n.delegateTarget=r,o.oneOff&&M.off(t,n.type,e,i),i.apply(r,[n]);return null}}(t,i,o):function(t,e){return function i(o){return o.delegateTarget=t,i.oneOff&&M.off(t,o.type,e),e.apply(t,[o])}}(t,i);h.delegationSelector=s?i:null,h.originalHandler=r,h.oneOff=n,h.uidEvent=p,c[p]=h,t.addEventListener(a,h,s)}function W(t,e,i,o,n){const s=A(e[i],o,n);s&&(t.removeEventListener(i,s,Boolean(n)),delete e[i][s.uidEvent])}function P(t){return t=t.replace(S,""),z[t]||t}const M={on(t,e,i,o){j(t,e,i,o,!1)},one(t,e,i,o){j(t,e,i,o,!0)},off(t,e,i,o){if("string"!=typeof e||!t)return;const[n,s,r]=I(e,i,o),a=r!==e,l=L(t),c=e.startsWith(".");if(void 0!==s){if(!l||!l[r])return;return void W(t,l,r,s,n?i:null)}c&&Object.keys(l).forEach((i=>{!function(t,e,i,o){const n=e[i]||{};Object.keys(n).forEach((s=>{if(s.includes(o)){const o=n[s];W(t,e,i,o.originalHandler,o.delegationSelector)}}))}(t,l,i,e.slice(1))}));const d=l[r]||{};Object.keys(d).forEach((i=>{const o=i.replace(k,"");if(!a||e.includes(o)){const e=d[i];W(t,l,r,e.originalHandler,e.delegationSelector)}}))},trigger(t,e,i){if("string"!=typeof e||!t)return null;const o=m(),n=P(e),s=e!==n,r=O.has(n);let a,l=!0,c=!0,d=!1,p=null;return s&&o&&(a=o.Event(e,i),o(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),d=a.isDefaultPrevented()),r?(p=document.createEvent("HTMLEvents"),p.initEvent(n,l,!0)):p=new CustomEvent(e,{bubbles:l,cancelable:!0}
2),void 0!==i&&Object.keys(i).forEach((t=>{Object.defineProperty(p,t,{get:()=>i[t]})})),d&&p.preventDefault(),c&&t.dispatchEvent(p),p.defaultPrevented&&void 0!==a&&a.preventDefault(),p}},H=new Map,D={set(t,e,i){H.has(t)||H.set(t,new Map);const o=H.get(t);o.has(e)||0===o.size?o.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,e)=>H.has(t)&&H.get(t).get(e)||null,remove(t,e){if(!H.has(t))return;const i=H.get(t);i.delete(e),0===i.size&&H.delete(t)}};class B{constructor(t){(t=l(t))&&(this._element=t,D.set(this._element,this.constructor.DATA_KEY,this))}dispose(){D.remove(this._element,this.constructor.DATA_KEY),M.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((t=>{this[t]=null}))}_queueCallback(t,e,i=!0){b(t,e,i)}static getInstance(t){return D.get(l(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const N=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;M.on(document,i,`[data-bs-dismiss="${o}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),p(this))return;const n=s(this)||this.closest(`.${o}`);t.getOrCreateInstance(n)[e]()}))};class F extends B{static get NAME(){return"alert"}close(){if(M.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),M.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=F.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}N(F,"close"),w(F);const R='[data-bs-toggle="button"]';class q extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=q.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}function Y(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function X(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}M.on(document,"click.bs.button.data-api",R,(t=>{t.preventDefault();const e=t.target.closest(R);q.getOrCreateInstance(e).toggle()})),w(q);const U={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${X(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${X(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter((t=>t.startsWith("bs"))).forEach((i=>{let o=i.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=Y(t.dataset[i])})),e},getDataAttribute:(t,e)=>Y(t.getAttribute(`data-bs-${X(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},Z={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let o=t.parentNode;for(;o&&o.nodeType===Node.ELEMENT_NODE&&3!==o.nodeType;)o.matches(e)&&i.push(o),o=o.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(", ");return this.find(e,t).filter((t=>!p(t)&&d(t)))}},V="carousel",G={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Q={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},K="next",J="prev",tt="left",et="right",it={ArrowLeft:et,ArrowRight:tt},ot="slid.bs.carousel",nt="active",st=".active.carousel-item";class rt extends B{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=Z.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return G}static get NAME(){return V}next(){this._slide(K)}nextWhenVisible(){!document.hidden&&d(this._element)&&this.next()}prev(){this._slide(J)}pause(t){t||(this._isPaused=!0),Z.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(r(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=Z.findOne(st,this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void M.one(this._element,ot,(()=>this.to(t)));if(e===t)return this.pause(),void this.cycle();const i=t>e?K:J;this._slide(i,this._items[t])}_getConfig(t){return t={...G,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},c(V,t,Q),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?et:tt)}_addEventListeners(){this._config.keyboard&&M.on(this._element,"keydown.bs.carousel",(t=>
2this._keydown(t))),"hover"===this._config.pause&&(M.on(this._element,"mouseenter.bs.carousel",(t=>this.pause(t))),M.on(this._element,"mouseleave.bs.carousel",(t=>this.cycle(t)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>this._pointerEvent&&("pen"===t.pointerType||"touch"===t.pointerType),e=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},i=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},o=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((t=>this.cycle(t)),500+this._config.interval))};Z.find(".carousel-item img",this._element).forEach((t=>{M.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()))})),this._pointerEvent?(M.on(this._element,"pointerdown.bs.carousel",(t=>e(t))),M.on(this._element,"pointerup.bs.carousel",(t=>o(t))),this._element.classList.add("pointer-event")):(M.on(this._element,"touchstart.bs.carousel",(t=>e(t))),M.on(this._element,"touchmove.bs.carousel",(t=>i(t))),M.on(this._element,"touchend.bs.carousel",(t=>o(t))))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=it[t.key];e&&(t.preventDefault(),this._slide(e))}_getItemIndex(t){return this._items=t&&t.parentNode?Z.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const i=t===K;return x(this._items,e,i,this._config.wrap)}_triggerSlideEvent(t,e){const i=this._getItemIndex(t),o=this._getItemIndex(Z.findOne(st,this._element));return M.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:o,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=Z.findOne(".active",this._indicatorsElement);e.classList.remove(nt),e.removeAttribute("aria-current");const i=Z.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e<i.length;e++)if(Number.parseInt(i[e].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){i[e].classList.add(nt),i[e].setAttribute("aria-current","true");break}}}_updateInterval(){const t=this._activeElement||Z.findOne(st,this._element);if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,e){const i=this._directionToOrder(t),o=Z.findOne(st,this._element),n=this._getItemIndex(o),s=e||this._getItemByOrder(i,o),r=this._getItemIndex(s),a=Boolean(this._interval),l=i===K,c=l?"carousel-item-start":"carousel-item-end",d=l?"carousel-item-next":"carousel-item-prev",p=this._orderToDirection(i);if(s&&s.classList.contains(nt))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(s,p).defaultPrevented)return;if(!o||!s)return;this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(s),this._activeElement=s;const h=()=>{M.trigger(this._element,ot,{relatedTarget:s,direction:p,from:n,to:r})};if(this._element.classList.contains("slide")){s.classList.add(d),f(s),o.classList.add(c),s.classList.add(c);const t=()=>{s.classList.remove(c,d),s.classList.add(nt),o.classList.remove(nt,d,c),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(t,o,!0)}else o.classList.remove(nt),s.classList.add(nt),this._isSliding=!1,h();a&&this.cycle()}_directionToOrder(t){return[et,tt].includes(t)?v()?t===tt?J:K:t===tt?K:J:t}_orderToDirection(t){return[K,J].includes(t)?v()?t===J?tt:et:t===J?et:tt:t}static carouselInterface(t,e){const i=rt.getOrCreateInstance(t,e);let{_config:o}=i;"object"==typeof e&&(o={...o,...e});const n="string"==typeof e?e:o.slide;if("number"==typeof e)i.to(e);else if("string"==typeof n){if(void 0===i[n])throw new TypeError(`No method named "${n}"`);i[n]()}else o.interval&&o.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each((function(){rt.carouselInterface(this,t)}))}static dataApiClickHandler(t){const e=s(this);if(!e||!e.classList.contains("carousel"))return;const i={...U.getDataAttributes(e),...U.getDataAttributes(this)},o=this.getAttribute("data-bs-slide-to");o&&(i.interval=!1),rt.carouselInterface(e,i),o&&rt.getInstance(e).to(o),t.preventDefault()}}M.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",rt.dataApiClickHandler),M.on(window,"load.bs.carousel.data-api",(()=>{const t=Z.find('[data-bs-ride="carousel"]');for(let e=0,i=t.length;e<i;e++)rt.carouselInterface(t[e],rt.getInstance(t[e]))})),w(rt);const at="collapse",lt={toggle:!0,parent:null},ct={toggle:"boolean",parent:"(null|element)"},dt="show",pt="collapse",ht="collapsing",ut="collapsed",ft=":scope .collapse .collapse",mt='[data-bs-toggle="collapse"]';class gt extends B{constructor(t,e){super(t),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=[];const i=Z.find(mt);for(let t=0,e=i.length;t<e;t++){const e=i[t],o=n(e),s=Z.find(o).filter((t=>t===this._element));null!==o&&s.length&&(this._selector=o,this._triggerArray.push(e))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return lt}static get NAME(){return at}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t,e=[];if(this._config.parent){const t=Z.find(ft,this._config.parent);e=Z.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((e=>!t.includes(e)))}const i=Z.findOne(this._selector);if(e.length){const o=e.find((t=>i!==t));if(t=o?gt.getInstance(o):null,t&&t._isTransitioning)return}if(M.trigger(this._element,"show.bs.collapse").defaultPrevented)return;e.forEach((e=>{i!==e&&gt.getOrCreateInstance(e,{toggle:!1}).hide(),t||D.set(e,"bs.collapse",null)}));const o=this._getDimension();this._element.classList.remove(pt),this._element.classList.add(ht),this._element.style[o]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${o[0].toUpperCase()+o.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(pt,dt),this._element.style[o]="",M.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[o]=`${this._element[n]}px`}
2hide(){if(this._isTransitioning||!this._isShown())return;if(M.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,f(this._element),this._element.classList.add(ht),this._element.classList.remove(pt,dt);const e=this._triggerArray.length;for(let t=0;t<e;t++){const e=this._triggerArray[t],i=s(e);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(ht),this._element.classList.add(pt),M.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(dt)}_getConfig(t){return(t={...lt,...U.getDataAttributes(this._element),...t}).toggle=Boolean(t.toggle),t.parent=l(t.parent),c(at,t,ct),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=Z.find(ft,this._config.parent);Z.find(mt,this._config.parent).filter((e=>!t.includes(e))).forEach((t=>{const e=s(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}))}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach((t=>{e?t.classList.remove(ut):t.classList.add(ut),t.setAttribute("aria-expanded",e)}))}static jQueryInterface(t){return this.each((function(){const e={};"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1);const i=gt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}M.on(document,"click.bs.collapse.data-api",mt,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=n(this);Z.find(e).forEach((t=>{gt.getOrCreateInstance(t,{toggle:!1}).toggle()}))})),w(gt);const vt="dropdown",wt="Escape",yt="Space",bt="ArrowUp",xt="ArrowDown",_t=new RegExp("ArrowUp|ArrowDown|Escape"),St="click.bs.dropdown.data-api",kt="keydown.bs.dropdown.data-api",Tt="show",Ct='[data-bs-toggle="dropdown"]',zt=".dropdown-menu",Et=v()?"top-end":"top-start",Ot=v()?"top-start":"top-end",$t=v()?"bottom-end":"bottom-start",Lt=v()?"bottom-start":"bottom-end",At=v()?"left-start":"right-start",It=v()?"right-start":"left-start",jt={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},Wt={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Pt extends B{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return jt}static get DefaultType(){return Wt}static get NAME(){return vt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(p(this._element)||this._isShown(this._menu))return;const t={relatedTarget:this._element};if(M.trigger(this._element,"show.bs.dropdown",t).defaultPrevented)return;const e=Pt.getParentFromElement(this._element);this._inNavbar?U.setDataAttribute(this._menu,"popper","none"):this._createPopper(e),"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((t=>M.on(t,"mouseover",u))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Tt),this._element.classList.add(Tt),M.trigger(this._element,"shown.bs.dropdown",t)}hide(){if(p(this._element)||!this._isShown(this._menu))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){M.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>M.off(t,"mouseover",u))),this._popper&&this._popper.destroy(),this._menu.classList.remove(Tt),this._element.classList.remove(Tt),this._element.setAttribute("aria-expanded","fal
2se"),U.removeDataAttribute(this._menu,"popper"),M.trigger(this._element,"hidden.bs.dropdown",t))}_getConfig(t){if(t={...this.constructor.Default,...U.getDataAttributes(this._element),...t},c(vt,t,this.constructor.DefaultType),"object"==typeof t.reference&&!a(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${vt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(t){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let i=this._element;"parent"===this._config.reference?i=t:a(this._config.reference)?i=l(this._config.reference):"object"==typeof this._config.reference&&(i=this._config.reference);const o=this._getPopperConfig(),n=o.modifiers.find((t=>"applyStyles"===t.name&&!1===t.enabled));this._popper=e.createPopper(i,this._menu,o),n&&U.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(Tt)}_getMenuElement(){return Z.next(this._element,zt)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return At;if(t.classList.contains("dropstart"))return It;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Ot:Et:e?Lt:$t}
2_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const i=Z.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(d);i.length&&x(i,e,t===xt,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=Pt.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(t&&(2===t.button||"keyup"===t.type&&"Tab"!==t.key))return;const e=Z.find(Ct);for(let i=0,o=e.length;i<o;i++){const o=Pt.getInstance(e[i]);if(!o||!1===o._config.autoClose)continue;if(!o._isShown())continue;const n={relatedTarget:o._element};if(t){const e=t.composedPath(),i=e.includes(o._menu);if(e.includes(o._element)||"inside"===o._config.autoClose&&!i||"outside"===o._config.autoClose&&i)continue;if(o._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;"click"===t.type&&(n.clickEvent=t)}o._completeHide(n)}}static getParentFromElement(t){return s(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?t.key===yt||t.key!==wt&&(t.key!==xt&&t.key!==bt||t.target.closest(zt)):!_t.test(t.key))return;const e=this.classList.contains(Tt);if(!e&&t.key===wt)return;if(t.preventDefault(),t.stopPropagation(),p(this))return;const i=this.matches(Ct)?this:Z.prev(this,Ct)[0],o=Pt.getOrCreateInstance(i);if(t.key!==wt)return t.key===bt||t.key===xt?(e||o.show(),void o._selectMenuItem(t)):void(e&&t.key!==yt||Pt.clearMenus());o.hide()}}M.on(document,kt,Ct,Pt.dataApiKeydownHandler),M.on(document,kt,zt,Pt.dataApiKeydownHandler),M.on(document,St,Pt.clearMenus),M.on(document,"keyup.bs.dropdown.data-api",Pt.clearMenus),M.on(document,St,Ct,(function(t){t.preventDefault(),Pt.getOrCreateInstance(this).toggle()})),w(Pt);const Mt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ht=".sticky-top";class Dt{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(e=>e+t)),this._setElementAttributes(Mt,"paddingRight",(e=>e+t)),this._setElementAttributes(Ht,"marginRight",(e=>e-t))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const o=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+o)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t)[e];t.style[e]=`${i(Number.parseFloat(n))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(Mt,"paddingRight"),this._resetElementAttributes(Ht,"marginRight")}_saveInitialAttribute(t,e){const i=t.style[e];i&&U.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=U.getDataAttribute(t,e);void 0===i?t.style.removeProperty(e):(U.removeDataAttribute(t,e),t.style[e]=i)}))}_applyManipulationCallback(t,e){a(t)?e(t):Z.find(t,this._element).forEach(e)}isOverflowing(){return this.getWidth()>0}}const Bt={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Nt={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Ft="show",Rt="mousedown.bs.backdrop";class qt{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&f(this._getElement()),this._getElement().classList.add(Ft),this._emulateAnimation((()=>{y(t)}))):y(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(Ft),this._emulateAnimation((()=>{this.dispose(),y(t)}))):y(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return(t={...Bt,..."object"==typeof t?t:{}}).rootElement=l(t.rootElement),c("backdrop",t,Nt),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),M.on(this._getElement(),Rt,(()=>{y(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(M.off(this._element,Rt),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){b(t,this._getElement(),this._config.isAnimated)}}const Yt={trapElement:null,autofocus:!0},Xt={trapElement:"element",autofocus:"boolean"},Ut=".bs.focustrap",Zt="backward";class Vt{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),M.off(document,Ut),M.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),M.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,M.off(document,Ut))}_handleFocusin(t){const{target:e}=t,{trapElement:i}=this._config;if(e===document||e===i||i.contains(e))return;const o=Z.focusableChildren(i);0===o.length?i.focus():this._lastTabNavDirection===Zt?o[o.length-1].focus():o[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Zt:"forward")}_getConfig(t){return t={...Yt,..."object"==typeof t?t:{}},c("focustrap",t,Xt),t}}const Gt="modal",Qt="Escape",Kt={backdrop:!0,keyboard:!0,focus:!0},Jt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},te="hidden.bs.modal",ee="show.bs.modal",ie="resize.bs.modal",oe="click.dismiss.bs.modal",ne="keydown.dismiss.bs.modal",se="mousedown.dismiss.bs.modal",re="modal-open",ae="show",le="modal-static";class ce extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=Z.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new Dt}static get Default(){return Kt}static get NAME(){return Gt}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||M.trigger(this._element,ee,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(re),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),M.on(this._dialog,se,(()=>{M.one(this._element,"mouseup.dismiss.bs.modal",(t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(t))))}
2hide(){if(!this._isShown||this._isTransitioning)return;if(M.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const t=this._isAnimated();t&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(ae),M.off(this._element,oe),M.off(this._dialog,se),this._queueCallback((()=>this._hideModal()),this._element,t)}dispose(){[window,this._dialog].forEach((t=>M.off(t,".bs.modal"))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new qt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Vt({trapElement:this._element})}_getConfig(t){return t={...Kt,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},c(Gt,t,Jt),t}_showElement(t){const e=this._isAnimated(),i=Z.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),e&&f(this._element),this._element.classList.add(ae),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,M.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,e)}_setEscapeEvent(){this._isShown?M.on(this._element,ne,(t=>{this._config.keyboard&&t.key===Qt?(t.preventDefault(),this.hide()):this._config.keyboard||t.key!==Qt||this._triggerBackdropTransition()})):M.off(this._element,ne)}_setResizeEvent(){this._isShown?M.on(window,ie,(()=>this._adjustDialog())):M.off(window,ie)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(re),this._resetAdjustments(),this._scrollBar.reset(),M.trigger(this._element,te)}))}_showBackdrop(t){M.on(this._element,oe,(t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(M.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:t,scrollHeight:e,style:i}=this._element,o=e>document.documentElement.clientHeight;!o&&"hidden"===i.overflowY||t.contains(le)||(o||(i.overflowY="hidden"),t.add(le),this._queueCallback((()=>{t.remove(le),o||this._queueCallback((()=>{i.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;(!i&&t&&!v()||i&&!t&&v())&&(this._element.style.paddingLeft=`${e}px`),(i&&!t&&!v()||!i&&t&&v())&&(this._element.style.paddingRight=`${e}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=ce.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}M.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=s(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),M.one(e,ee,(t=>{t.defaultPrevented||M.one(e,te,(()=>{d(this)&&this.focus()}))}));const i=Z.findOne(".modal.show");i&&ce.getInstance(i).hide(),ce.getOrCreateInstance(e).toggle(this)})),N(ce),w(ce);const de="offcanvas",pe={backdrop:!0,keyboard:!0,scroll:!1},he={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},ue="show",fe=".offcanvas.show",me="hidden.bs.offcanvas";class ge extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return de}static get Default(){return pe}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||M.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new Dt).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ue),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),M.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(M.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(ue),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new Dt).reset(),M.trigger(this._element,me)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t={...pe,...U.getDataAttributes(this._element),..."object"==typeof t?t:{}},c(de,t,he),t}_initializeBackDrop(){return new qt({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Vt({trapElement:this._element})}_addEventListeners(){M.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()}))}static jQueryInterface(t){return this.each((function(){const e=ge.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
2amed "${t}"`);e[t](this)}}))}}M.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=s(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),p(this))return;M.one(e,me,(()=>{d(this)&&this.focus()}));const i=Z.findOne(fe);i&&i!==e&&ge.getInstance(i).hide(),ge.getOrCreateInstance(e).toggle(this)})),M.on(window,"load.bs.offcanvas.data-api",(()=>Z.find(fe).forEach((t=>ge.getOrCreateInstance(t).show())))),N(ge),w(ge);const ve=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),we=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,be=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i))return!ve.has(i)||Boolean(we.test(t.nodeValue)||ye.test(t.nodeValue));const o=e.filter((t=>t instanceof RegExp));for(let t=0,e=o.length;t<e;t++)if(o[t].test(i))return!0;return!1};function xe(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const o=(new window.DOMParser).parseFromString(t,"text/html"),n=[].concat(...o.body.querySelectorAll("*"));for(let t=0,i=n.length;t<i;t++){const i=n[t],o=i.nodeName.toLowerCase();if(!Object.keys(e).includes(o)){i.remove();continue}const s=[].concat(...i.attributes),r=[].concat(e["*"]||[],e[o]||[]);s.forEach((t=>{be(t,r)||i.removeAttribute(t.nodeName)}))}return o.body.innerHTML}const _e="tooltip",Se=new Set(["sanitize","allowList","sanitizeFn"]),ke={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Te={AUTO:"auto",TOP:"top",RIGHT:v()?"left":"right",BOTTOM:"bottom",LEFT:v()?"right":"left"},Ce={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},ze={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Ee="fade",Oe="show",$e="show",Le="out",Ae=".tooltip-inner",Ie=".modal",je="hide.bs.modal",We="hover",Pe="focus";class Me extends B{constructor(t,i){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(i),this.tip=null,this._setListeners()}static get Default(){return Ce}static get NAME(){return _e}static get Event(){return ze}static get DefaultType(){return ke}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(Oe))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),M.off(this._element.closest(Ie),je,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=M.trigger(this._element,this.constructor.Event.SHOW),i=h(this._element),o=null===i?this._element.ownerDocument.documentElement.contains(this._element):i.contains(this._element);if(t.defaultPrevented||!o)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(Ae).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),s=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME);n.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this._config.animation&&n.classList.add(Ee);const r="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,a=this._getAttachment(r);this._addAttachmentClass(a);const{container:l}=this._config;D.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.append(n),M.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update(
2):this._popper=e.createPopper(this._element,n,this._getPopperConfig(a)),n.classList.add(Oe);const c=this._resolvePossibleFunction(this._config.customClass);c&&n.classList.add(...c.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>{M.on(t,"mouseover",u)}));const d=this.tip.classList.contains(Ee);this._queueCallback((()=>{const t=this._hoverState;this._hoverState=null,M.trigger(this._element,this.constructor.Event.SHOWN),t===Le&&this._leave(null,this)}),this.tip,d)}hide(){if(!this._popper)return;const t=this.getTipElement();if(M.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(Oe),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((t=>M.off(t,"mouseover",u))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const e=this.tip.classList.contains(Ee);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==$e&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),M.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,e),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(Ee,Oe),this.tip=e,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),Ae)}_sanitizeAndSetContent(t,e,i){const o=Z.findOne(i,t);e||!o?this.setElementContent(o,e):o.remove()}setElementContent(t,e){if(null!==t)return a(e)?(e=l(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=xe(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){const t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(t)}`)}_getAttachment(t){return Te[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((t=>{if("click"===t)M.on(this._element,this.constructor.Event.CLICK,this._config.selector,(t=>this.toggle(t)));else if("manual"!==t){const e=t===We?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=t===We?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;M.on(this._element,e,this._config.selector,(t=>this._enter(t))),M.on(this._element,i,this._config.selector,(t=>this._leave(t)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},M.on(this._element.closest(Ie),je,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?Pe:We]=!0),e.getTipElement().classList.contains(Oe)||e._hoverState===$e?e._hoverState=$e:(clearTimeout(e._timeout),e._hoverState=$e,e._config.delay&&e._config.delay.show?e._timeout=setTimeout((()=>{e._hoverState===$e&&e.show()}),e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?Pe:We]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=Le,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout((()=>{e._hoverState===Le&&e.hide()}),e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=U.getDataAttributes(this._element);return Object.keys(e).forEach((t=>{Se.has(t)&&delete e[t]})),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:l(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),c(_e,t,this.constructor.DefaultType),t.sanitize&&(t.template=xe(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=t.getAttribute("class").match(e);null!==i&&i.length>0&&i.map((t=>
2t.trim())).forEach((e=>t.classList.remove(e)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each((function(){const e=Me.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}w(Me);const He={...Me.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},De={...Me.DefaultType,content:"(string|element|function)"},Be={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Ne extends Me{static get Default(){return He}static get NAME(){return"popover"}static get Event(){return Be}static get DefaultType(){return De}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(t){return this.each((function(){const e=Ne.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}w(Ne);const Fe="scrollspy",Re={offset:10,method:"auto",target:""},qe={offset:"number",method:"string",target:"(string|element)"},Ye="active",Xe=".nav-link, .list-group-item, .dropdown-item",Ue="position";class Ze extends B{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,M.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return Re}static get NAME(){return Fe}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":Ue,e="auto"===this._config.method?t:this._config.method,i=e===Ue?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),Z.find(Xe,this._config.target).map((t=>{const o=n(t),s=o?Z.findOne(o):null;if(s){const t=s.getBoundingClientRect();if(t.width||t.height)return[U[e](s).top+i,o]}return null})).filter((t=>t)).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){M.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(t){return(t={...Re,...U.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=l(t.target)||document.documentElement,c(Fe,t,qe),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=Xe.split(",").map((e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`)),i=Z.findOne(e.join(","),this._config.target);i.classList.add(Ye),i.classList.contains("dropdown-item")?Z.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(Ye):Z.parents(i,".nav, .list-group").forEach((t=>{Z.prev(t,".nav-link, .list-group-item").forEach((t=>t.classList.add(Ye))),Z.prev(t,".nav-item").forEach((t=>{Z.children(t,".nav-link").forEach((t=>t.classList.add(Ye)))}))})),M.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){Z.find(Xe,this._config.target).filter((t=>
2t.classList.contains(Ye))).forEach((t=>t.classList.remove(Ye)))}static jQueryInterface(t){return this.each((function(){const e=Ze.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}M.on(window,"load.bs.scrollspy.data-api",(()=>{Z.find('[data-bs-spy="scroll"]').forEach((t=>new Ze(t)))})),w(Ze);const Ve="active",Ge="fade",Qe="show",Ke=".active",Je=":scope > li > .active";class ti extends B{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Ve))return;let t;const e=s(this._element),i=this._element.closest(".nav, .list-group");if(i){const e="UL"===i.nodeName||"OL"===i.nodeName?Je:Ke;t=Z.find(e,i),t=t[t.length-1]}const o=t?M.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(M.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==o&&o.defaultPrevented)return;this._activate(this._element,i);const n=()=>{M.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),M.trigger(this._element,"shown.bs.tab",{relatedTarget:t})};e?this._activate(e,e.parentNode,n):n()}_activate(t,e,i){const o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?Z.children(e,Ke):Z.find(Je,e))[0],n=i&&o&&o.classList.contains(Ge),s=()=>this._transitionComplete(t,o,i);o&&n?(o.classList.remove(Qe),this._queueCallback(s,t,!0)):s()}_transitionComplete(t,e,i){if(e){e.classList.remove(Ve);const t=Z.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove(Ve),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add(Ve),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),f(t),t.classList.contains(Ge)&&t.classList.add(Qe);let o=t.parentNode;if(o&&"LI"===o.nodeName&&(o=o.parentNode),o&&o.classList.contains("dropdown-menu")){const e=t.closest(".dropdown");e&&Z.find(".dropdown-toggle",e).forEach((t=>t.classList.add(Ve))),t.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(t){return this.each((function(){const e=ti.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}M.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),p(this)||ti.getOrCreateInstance(this).show()})),w(ti);const ei="toast",ii="hide",oi="show",ni="showing",si={animation:"boolean",autohide:"boolean",delay:"number"},ri={animation:!0,autohide:!0,delay:5e3};class ai extends B{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return si}static get Default(){return ri}static get NAME(){return ei}show(){M.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(ii),f(this._element),this._element.classList.add(oi),this._element.classList.add(ni),this._queueCallback((()=>{this._element.classList.remove(ni),M.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(oi)&&(M.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(ni),this._queueCallback((()=>{this._element.classList.add(ii),this._element.classList.remove(ni),this._element.classList.remove(oi),M.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(oi)&&this._element.classList.remove(oi),super.dispose()}_getConfig(t){return t={...ri,...U.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},c(ei,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){M.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),M.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),M.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),M.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=ai.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
2amed "${t}"`);e[t](this)}}))}}return N(ai),w(ai),{Alert:F,Button:q,Carousel:rt,Collapse:gt,Dropdown:Pt,Modal:ce,Offcanvas:ge,Popover:Ne,ScrollSpy:Ze,Tab:ti,Toast:ai,Tooltip:Me}}(i(750))},187:t=>{"use strict";var e,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(t,e,i){return Function.prototype.apply.call(t,e,i)};e=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var n=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise((function(i,o){function n(i){t.removeListener(e,s),o(i)}function s(){"function"==typeof t.removeListener&&t.removeListener("error",n),i([].slice.call(arguments))}m(t,e,s,{once:!0}),"error"!==e&&function(t,e,i){"function"==typeof t.on&&m(t,"error",e,{once:!0})}(t,n)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var r=10;function a(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function c(t,e,i,o){var n,s,r,c;if(a(i),void 0===(s=t._events)?(s=t._events=Object.create(null),t._eventsCount=0):(void 0!==s.newListener&&(t.emit("newListener",e,i.listener?i.listener:i),s=t._events),r=s[e]),void 0===r)r=s[e]=i,++t._eventsCount;else if("function"==typeof r?r=s[e]=o?[i,r]:[r,i]:o?r.unshift(i):r.push(i),(n=l(t))>0&&r.length>n&&!r.warned){r.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=t,d.type=e,d.count=r.length,c=d,console&&console.warn&&console.warn(c)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,i){var o={fired:!1,wrapFn:void 0,target:t,type:e,listener:i},n=d.bind(o);return n.listener=i,o.wrapFn=n,n}function h(t,e,i){var o=t._events;if(void 0===o)return[];var n=o[e];return void 0===n?[]:"function"==typeof n?i?[n.listener||n]:[n]:i?function(t){for(var e=new Array(t.length),i=0;i<e.length;++i)e[i]=t[i].listener||t[i];return e}(n):f(n,n.length)}function u(t){var e=this._events;if(void 0!==e){var i=e[t];if("function"==typeof i)return 1;if(void 0!==i)return i.length}return 0}function f(t,e){for(var i=new Array(e),o=0;o<e;++o)i[o]=t[o];return i}function m(t,e,i,o){if("function"==typeof t.on)o.once?t.once(e,i):t.on(e,i);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function n(s){o.once&&t.removeEventListener(e,n),i(s)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(t){if("number"!=typeof t||t<0||n(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");r=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||n(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(t){for(var e=[],i=1;i<arguments.length;i++)e.push(arguments[i]);var n="error"===t,s=this._events;if(void 0!==s)n=n&&void 0===s.error;else if(!n)return!1;if(n){var r;if(e.length>0&&(r=e[0]),r instanceof Error)throw r;var a=new Error("Unhandled error."+(r?" ("+r.message+")":""));throw a.context=r,a}var l=s[t];if(void 0===l)return!1;if("function"==typeof l)o(l,this,e);else{var c=l.length,d=f(l,c);for(i=0;i<c;++i)o(d[i],this,e)}return!0},s.prototype.addListener=function(t,e){return c(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return c(this,t,e,!0)},s.prototype.once=function(t,e){return a(e),this.on(t,p(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return a(e),this.prependListener(t,p(this,t,e)),this},s.prototype.removeListener=function(t,e){var i,o,n,s,r;if(a(e),void 0===(o=this._events))return this;if(void 0===(i=o[t]))return this;if(i===e||i.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit
2("removeListener",t,i.listener||e));else if("function"!=typeof i){for(n=-1,s=i.length-1;s>=0;s--)if(i[s]===e||i[s].listener===e){r=i[s].listener,n=s;break}if(n<0)return this;0===n?i.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(i,n),1===i.length&&(o[t]=i[0]),void 0!==o.removeListener&&this.emit("removeListener",t,r||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,i,o;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[t]),this;if(0===arguments.length){var n,s=Object.keys(i);for(o=0;o<s.length;++o)"removeListener"!==(n=s[o])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=i[t]))this.removeListener(t,e);else if(void 0!==e)for(o=e.length-1;o>=0;o--)this.removeListener(t,e[o]);return this},s.prototype.listeners=function(t){return h(this,t,!0)},s.prototype.rawListeners=function(t){return h(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):u.call(t,e)},s.prototype.listenerCount=u,s.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},801:(t,e,i)=>{var o=i(79),n=i(672);void 0===n.Tether&&(n.Tether=o),t.exports=o},672:(t,e,i)=>{"use strict";t.exports=function(){if("object"==typeof globalThis)return globalThis;var t;try{t=this||new Function("return this")()}catch(t){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==i.g)return i.g}return t}()},604:t=>{t.exports=function t(e,i,o){function n(r,a){if(!i[r]){if(!e[r]){if(s)return s(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var c=i[r]={exports:{}};e[r][0].call(c.exports,(function(t){return n(e[r][1][t]||t)}),c,c.exports,t,e,i,o)}return i[r].exports}for(var s=void 0,r=0;r<o.length;r++)n(o[r]);return n}({1:[function(t,e,i){e.exports=function(t){var e,i,o,n=-1;if(t.lines.length>1&&"flex-start"===t.style.alignContent)for(e=0;o=t.lines[++n];)o.crossStart=e,e+=o.cross;else if(t.lines.length>1&&"flex-end"===t.style.alignContent)for(e=t.flexStyle.crossSpace;o=t.lines[++n];)o.crossStart=e,e+=o.cross;else if(t.lines.length>1&&"center"===t.style.alignContent)for(e=t.flexStyle.crossSpace/2;o=t.lines[++n];)o.crossStart=e,e+=o.cross;else if(t.lines.length>1&&"space-between"===t.style.alignContent)for(i=t.flexStyle.crossSpace/(t.lines.length-1),e=0;o=t.lines[++n];)o.crossStart=e,e+=o.cross+i;else if(t.lines.length>1&&"space-around"===t.style.alignContent)for(e=(i=2*t.flexStyle.crossSpace/(2*t.lines.length))/2;o=t.lines[++n];)o.crossStart=e,e+=o.cross+i;else for(i=t.flexStyle.crossSpace/t.lines.length,e=t.flexStyle.crossInnerBefore;o=t.lines[++n];)o.crossStart=e,o.cross+=i,e+=o.cross}},{}],2:[function(t,e,i){e.exports=function(t){for(var e,i=-1;line=t.lines[++i];)for(e=-1;child=line.children[++e];){var o=child.style.alignSelf;"auto"===o&&(o=t.style.alignItems),"flex-start"===o?child.flexStyle.crossStart=line.crossStart:"flex-end"===o?child.flexStyle.crossStart=line.crossStart+line.cross-child.flexStyle.crossOuter:"center"===o?child.flexStyle.crossStart=line.crossStart+(line.cross-child.flexStyle.crossOuter)/2:(child.flexStyle.crossStart=line.crossStart,child.flexStyle.crossOuter=line.cross,child.flexStyle.cross=child.flexStyle.crossOuter-child.flexStyle.crossBefore-child.flexStyle.crossAfter)}}},{}],3:[function(t,e,i){e.exports=function(t,e){var i="row"===e||"row-reverse"===e,o=t.mainAxis;o?i&&"inline"===o||!i&&"block"===o||(t.flexStyle={main:t.flexStyle.cross,cross:t.flexStyle.main,mainOffset:t.flexStyle.crossOffset,crossOffset:t.flexStyle.mainOffset,mainBefore:t.flexStyle.crossBefore,mainAfter:t.flexStyle.crossAfter,crossBefore:t.flexStyle.mainBefore,crossAfter:t.flexStyle.mainAfter,mainInnerBefore:t.flexStyle.crossInnerBefore,mainInnerAfter:t.flexStyle.crossInnerAfter,crossInnerBefore:t.flexStyle.mainInnerBefore,crossInnerAfter:t.flexStyle.mainInnerAfter,mainBorderBefore:t.flexStyle.crossBorderBefore,mainBorderAfter:t.flexStyle.crossBorderAfter,crossBorderBefore:t.flexStyle.mainBorderBefore,crossBorderAfter:t.flexStyle.mainBorderAfter}):(t.flexStyle=i?{main:t.style.width,cross:t.style.height,mainOffset:t.style.offsetWidth,crossOffset:t.style.offsetHeight,mainBefore:t.style.marginLeft,mainAfter:t.style.marginRight,crossBefore:t.style.marginTop,crossAfter:t.style.marginBottom,mainInnerBefore:t.style.paddingLeft,mainInnerAfter:t.style.paddingRight,crossInnerBefore:t.style.paddingTop,crossInnerAfter:t.style.paddingBottom,mainBorderBefore:t.style.borderLeftWidth,mainBorderAfter:t.style.borderRightWidth,crossBorderBefore:t.style.borderTopWidth,crossBorderAfter:t.style.borderBottomWidth}:{main:t.style.height,cross:t.style.width,mainOffset:t.style.offsetHeight,crossOffset:t.style.offsetWidth,mainBefore:t.style.marginTop,mainAfter:t.style.marginBottom,crossBefore:t.style.marginLeft,crossAfter:t.style.marginRight,mainInnerBefore:t.style.paddingTop,mainInnerAfter:t.style.paddingBottom,crossInnerBefore:t.style.paddingLeft,crossInnerAfter:t.style.paddingRight,mainBorderBefore:t.style.borderTopWidth,mainBorderAfter:t.style.borderBottomWidth,crossBorderBefore:t.style.borderLeftWidth,crossBorderAfter:t.style.borderRightWidth},"content-box"===t.style.boxSizing&&("number"==typeof t.flexStyle.main&&(t.flexStyle.main+=t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter),"number"==typeof t.flexStyle.cross&&(t.flexStyle.cross+=t.flexStyle.crossInnerBefore+t.flexStyle.crossInnerAfter+t.flexStyle.crossBorderBefore+t.flexStyle.crossBorderAfter))),t.mainAxis=i?"inline":"block",t.crossAxis=i?"block":"inl
vendor: 4,721 bytes, line 2
2ine","number"==typeof t.style.flexBasis&&(t.flexStyle.main=t.style.flexBasis+t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter),t.flexStyle.mainOuter=t.flexStyle.main,t.flexStyle.crossOuter=t.flexStyle.cross,"auto"===t.flexStyle.mainOuter&&(t.flexStyle.mainOuter=t.flexStyle.mainOffset),"auto"===t.flexStyle.crossOuter&&(t.flexStyle.crossOuter=t.flexStyle.crossOffset),"number"==typeof t.flexStyle.mainBefore&&(t.flexStyle.mainOuter+=t.flexStyle.mainBefore),"number"==typeof t.flexStyle.mainAfter&&(t.flexStyle.mainOuter+=t.flexStyle.mainAfter),"number"==typeof t.flexStyle.crossBefore&&(t.flexStyle.crossOuter+=t.flexStyle.crossBefore),"number"==typeof t.flexStyle.crossAfter&&(t.flexStyle.crossOuter+=t.flexStyle.crossAfter)}},{}],4:[function(t,e,i){var o=t("../reduce");e.exports=function(t){if(t.mainSpace>0){var e=o(t.children,(function(t,e){return t+parseFloat(e.style.flexGrow)}),0);e>0&&(t.main=o(t.children,(function(i,o){return"auto"===o.flexStyle.main?o.flexStyle.main=o.flexStyle.mainOffset+parseFloat(o.style.flexGrow)/e*t.mainSpace:o.flexStyle.main+=parseFloat(o.style.flexGrow)/e*t.mainSpace,o.flexStyle.mainOuter=o.flexStyle.main+o.flexStyle.mainBefore+o.flexStyle.mainAfter,i+o.flexStyle.mainOuter}),0),t.mainSpace=0)}}},{"../reduce":12}],5:[function(t,e,i){var o=t("../reduce");e.exports=function(t){if(t.mainSpace<0){var e=o(t.children,(function(t,e){return t+parseFloat(e.style.flexShrink)}),0);e>0&&(t.main=o(t.children,(function(i,o){return o.flexStyle.main+=parseFloat(o.style.flexShrink)/e*t.mainSpace,o.flexStyle.mainOuter=o.flexStyle.main+o.flexStyle.mainBefore+o.flexStyle.mainAfter,i+o.flexStyle.mainOuter}),0),t.mainSpace=0)}}},{"../reduce":12}],6:[function(t,e,i){var o=t("../reduce");e.exports=function(t){var e;t.lines=[e={main:0,cross:0,children:[]}];for(var i,n=-1;i=t.children[++n];)"nowrap"===t.style.flexWrap||0===e.children.length||"auto"===t.flexStyle.main||t.flexStyle.main-t.flexStyle.mainInnerBefore-t.flexStyle.mainInnerAfter-t.flexStyle.mainBorderBefore-t.flexStyle.mainBorderAfter>=e.main+i.flexStyle.mainOuter?(e.main+=i.flexStyle.mainOuter,e.cross=Math.max(e.cross,i.flexStyle.crossOuter)):t.lines.push(e={main:i.flexStyle.mainOuter,cross:i.flexStyle.crossOuter,children:[]}),e.children.push(i);t.flexStyle.mainLines=o(t.lines,(function(t,e){return Math.max(t,e.main)}),0),t.flexStyle.crossLines=o(t.lines,(function(t,e){return t+e.cross}),0),"auto"===t.flexStyle.main&&(t.flexStyle.main=Math.max(t.flexStyle.mainOffset,t.flexStyle.mainLines+t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter)),"auto"===t.flexStyle.cross&&(t.flexStyle.cross=Math.max(t.flexStyle.crossOffset,t.flexStyle.crossLines+t.flexStyle.crossInnerBefore+t.flexStyle.crossInnerAfter+t.flexStyle.crossBorderBefore+t.flexStyle.crossBorderAfter)),t.flexStyle.crossSpace=t.flexStyle.cross-t.flexStyle.crossInnerBefore-t.flexStyle.crossInnerAfter-t.flexStyle.crossBorderBefore-t.flexStyle.crossBorderAfter-t.flexStyle.crossLines,t.flexStyle.mainOuter=t.flexStyle.main+t.flexStyle.mainBefore+t.flexStyle.mainAfter,t.flexStyle.crossOuter=t.flexStyle.cross+t.flexStyle.crossBefore+t.flexStyle.crossAfter}},{"../reduce":12}],7:[function(t,e,i){e.exports=function(e){for(var i,o=-1;i=e.children[++o];)t("./flex-direction")(i,e.style.flexDirection);t("./flex-direction")(e,e.style.flexDirection),t("./order")(e),t("./flexbox-lines")(e),t("./align-content")(e),o=-1;for(var n;n=e.lines[++o];)n.mainSpace=e.flexStyle.main-e.flexStyle.mainInnerBefore-e.flexStyle.mainInnerAfter-e.flexStyle.mainBorderBefore-e.flexStyle.mainBorderAfter-n.main,t("./flex-grow")(n),t("./flex-shrink")(n),t("./margin-main")(n),t("./margin-cross")(n),t("./justify-content")(n,e.style.justifyContent,e);t("./align-items")(e)}},{"./align-content":1,"./align-items":2,"./flex-direction":3,"./flex-grow":4,"./flex-shrink":5,"./flexbox-lines":6,"./justify-content":8,"./margin-cross":9,"./margin-main":10,"./order":11}],8:[function(t,e,i){e.exports=function(t,e,i){var o,n,s,r=i.flexStyle.mainInnerBefore,a=-1;if("flex-end"===e)for(o=t.mainSpace,o+=r;s=t.children[++a];)s.flexStyle.mainStart=o,o+=s.flexStyle.mainOuter;else if("center"===e)for(o=t.mainSpace/2,o+=r;s=t.children[++a];)s.flexStyle.mainStart=o,o+=s.flexStyle.mainOuter;else if("space-between"===e)for(n=t.mainSpace/(t.children.length-1),o=0,o+=r;s=t.children[++a];)s.flexStyle.mainStart=o,o+=s.flexStyle.mainOuter+n;else if("space-around"===e)for(o=(n=2*t.mainSpace/(2*t.children.length))/2,o+=r;s=t.children[++a];)s.flexStyle.mainStart=o,o+=s.flexStyle.mainOuter+n;else for(o=0,o+=r;s=t.children[++a];)s.flexStyle.mainStart=o,o+=s.flexStyle.mainOuter}},{}
2],9:[function(t,e,i){e.exports=function(t){for(var e,i=-1;e=t.children[++i];){var o=0;"auto"===e.flexStyle.crossBefore&&++o,"auto"===e.flexStyle.crossAfter&&++o;var n=t.cross-e.flexStyle.crossOuter;"auto"===e.flexStyle.crossBefore&&(e.flexStyle.crossBefore=n/o),"auto"===e.flexStyle.crossAfter&&(e.flexStyle.crossAfter=n/o),"auto"===e.flexStyle.cross?e.flexStyle.crossOuter=e.flexStyle.crossOffset+e.flexStyle.crossBefore+e.flexStyle.crossAfter:e.flexStyle.crossOuter=e.flexStyle.cross+e.flexStyle.crossBefore+e.flexStyle.crossAfter}}},{}],10:[function(t,e,i){e.exports=function(t){for(var e,i=0,o=-1;e=t.children[++o];)"auto"===e.flexStyle.mainBefore&&++i,"auto"===e.flexStyle.mainAfter&&++i;if(i>0){for(o=-1;e=t.children[++o];)"auto"===e.flexStyle.mainBefore&&(e.flexStyle.mainBefore=t.mainSpace/i),"auto"===e.flexStyle.mainAfter&&(e.flexStyle.mainAfter=t.mainSpace/i),"auto"===e.flexStyle.main?e.flexStyle.mainOuter=e.flexStyle.mainOffset+e.flexStyle.mainBefore+e.flexStyle.mainAfter:e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter;t.mainSpace=0}}},{}],11:[function(t,e,i){var o=/^(column|row)-reverse$/;e.exports=function(t){t.children.sort((function(t,e){return t.style.order-e.style.order||t.index-e.index})),o.test(t.style.flexDirection)&&t.children.reverse()}},{}],12:[function(t,e,i){e.exports=function(t,e,i){for(var o=t.length,n=-1;++n<o;)n in t&&(i=e(i,t[n],n));return i}},{}],13:[function(t,e,i){var o=t("./read"),n=t("./write"),s=t("./readAll"),r=t("./writeAll");e.exports=function(t){r(s(t))},e.exports.read=o,e.exports.write=n,e.exports.readAll=s,e.exports.writeAll=r},{"./read":15,"./readAll":16,"./write":17,"./writeAll":18}],14:[function(t,e,i){function o(t,e){s.style.cssText="border:none!important;clip:rect(0 0 0 0)!important;display:block!important;font-size:1em!important;height:0!important;margin:0!important;padding:0!important;position:relative!important;width:"+t+"!important",e.parentNode.insertBefore(s,e.nextSibling);var i=s.offsetWidth;return e.parentNode.removeChild(s),i}e.exports=function(t,e,i){var s=t[e],l=String(s).match(n);if(!l){var c=e.match(a);return c?"none"===t["border"+c[1]+"Style"]?0:r[s]||0:s}var d=l[1],p=l[2];return"px"===p?1*d:"cm"===p?.3937*d*96:"in"===p?96*d:"mm"===p?.3937*d*96/10:"pc"===p?12*d*96/72:"pt"===p?96*d/72:"rem"===p?16*d:o(s,i)};var n=/^([-+]?\d*\.?\d+)(%|[a-z]+)$/,s=document.createElement("div"),r={medium:4,none:0,thick:6,thin:2},a=/^border(Bottom|Left|Right|Top)Width$/},{}],15:[function(t,e,i){function o(t,e){for(var i;i=n.exec(e);){var o=i[1].toLowerCase().replace(/-[a-z]/g,(function(t){return t.slice(1).toUpperCase()}));t[o]=i[2]}}e.exports=function(t){var e={alignContent:"stretch",alignItems:"stretch",alignSelf:"auto",borderBottomStyle:"none",borderBottomWidth:0,borderLeftStyle:"none",borderLeftWidth:0,borderRightStyle:"none",borderRightWidth:0,borderTopStyle:"none",borderTopWidth:0,boxSizing:"content-box",display:"inline",flexBasis:"auto",flexDirection:"row",flexGrow:0,flexShrink:1,flexWrap:"nowrap",justifyContent:"flex-start",height:"auto",marginTop:0,marginRight:0,marginLeft:0,marginBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,paddingBottom:0,maxHeight:"none",maxWidth:"none",minHeight:0,minWidth:0,order:0,position:"static",width:"auto"};if(t instanceof Element){var i=t.hasAttribute("data-style"),n=i?t.getAttribute("data-style"):t.getAttribute("style")||"";i||t.setAttribute("data-style",n),function(t,e){for(var i in t)i in e&&!s.test(i)&&(t[i]=e[i])}(e,window.getComputedStyle&&getComputedStyle(t)||{});var a=t.currentStyle||{};for(var l in function(t,e){for(var i in t)if(i in e)t[i]=e[i];else{var o=i.replace(/[A-Z]/g,"-$&").toLowerCase();o in e&&(t[i]=e[o])}"-js-display"in e&&(t.display=e["-js-display"])}(e,a),o(e,n),e)e[l]=r(e,l,t);var c=t.getBoundingClientRect();e.offsetHeight=c.height||t.offsetHeight,e.offsetWidth=c.width||t.offsetWidth}return{element:t,style:e}};var n=/([^\s:;]+)\s*:\s*([^;]+?)\s*(;|$)/g,s=/^(alignSelf|height|width)$/,r=t("./getComputedLength")},{"./getComputedLength":14}],16:[function(t,e,i){function o(t,e){for(var i,r=n(t),a=[],l=-1;i=t.childNodes[++l];){var c=3===i.nodeType&&!/^\s*$/.test(i.nodeValue);if(r&&c){var d=i;(i=t.insertBefore(document.createElement("flex-item"),d)).appendChild(d)}if(i instanceof Element){var p=o(i,e);if(r){var h=i.style;h.display="inline-block",h.position="absolute",p.style=s(i).style,a.push(p)}}}var u={element:t,children:a};return r&&(u.style=s(t).style,e.push(u)),u}function n(t){var e=t instanceof Element,i=e&&t.getAttribute("data-style"),o=e&&t.currentStyle&&t.currentStyle["-js-display"];return r.test(i)||a.test(o)}
2e.exports=function(t){var e=[];return o(t,e),e};var s=t("../read"),r=/(^|;)\s*display\s*:\s*(inline-)?flex\s*(;|$)/i,a=/^(inline-)?flex$/i},{"../read":15}],17:[function(t,e,i){function o(t){return"string"==typeof t?t:Math.max(t,0)+"px"}e.exports=function(t){n(t);var e=t.element.style,i="inline"===t.mainAxis?["main","cross"]:["cross","main"];e.boxSizing="content-box",e.display="block",e.position="relative",e.width=o(t.flexStyle[i[0]]-t.flexStyle[i[0]+"InnerBefore"]-t.flexStyle[i[0]+"InnerAfter"]-t.flexStyle[i[0]+"BorderBefore"]-t.flexStyle[i[0]+"BorderAfter"]),e.height=o(t.flexStyle[i[1]]-t.flexStyle[i[1]+"InnerBefore"]-t.flexStyle[i[1]+"InnerAfter"]-t.flexStyle[i[1]+"BorderBefore"]-t.flexStyle[i[1]+"BorderAfter"]);for(var s,r=-1;s=t.children[++r];){var a=s.element.style,l="inline"===s.mainAxis?["main","cross"]:["cross","main"];a.boxSizing="content-box",a.display="block",a.position="absolute","auto"!==s.flexStyle[l[0]]&&(a.width=o(s.flexStyle[l[0]]-s.flexStyle[l[0]+"InnerBefore"]-s.flexStyle[l[0]+"InnerAfter"]-s.flexStyle[l[0]+"BorderBefore"]-s.flexStyle[l[0]+"BorderAfter"])),"auto"!==s.flexStyle[l[1]]&&(a.height=o(s.flexStyle[l[1]]-s.flexStyle[l[1]+"InnerBefore"]-s.flexStyle[l[1]+"InnerAfter"]-s.flexStyle[l[1]+"BorderBefore"]-s.flexStyle[l[1]+"BorderAfter"])),a.top=o(s.flexStyle[l[1]+"Start"]),a.left=o(s.flexStyle[l[0]+"Start"]),a.marginTop=o(s.flexStyle[l[1]+"Before"]),a.marginRight=o(s.flexStyle[l[0]+"After"]),a.marginBottom=o(s.flexStyle[l[1]+"After"]),a.marginLeft=o(s.flexStyle[l[0]+"Before"])}};var n=t("../flexbox")},{"../flexbox":7}],18:[function(t,e,i){e.exports=function(t){for(var e,i=-1;e=t[++i];)o(e)};var o=t("../write")},{"../write":17}]},{},[13])(13)},669:(t,e,i)=>{var o,n,s,r;r=function(t){"use strict";function e(e){return!e||void 0!==e.allowPageScroll||void 0===e.swipe&&void 0===e.swipeStatus||(e.allowPageScroll=c),void 0!==e.click&&void 0===e.tap&&(e.tap=e.click),e||(e={}),e=t.extend({},t.fn.swipe.defaults,e),this.each((function(){var o=t(this),n=o.data(z);n||(n=new i(this,e),o.data(z,n))}))}function i(e,i){function E(e){if(!(!0===_t.data(z+"_intouch")||t(e.target).closest(i.excludedElements,_t).length>0)){var a=e.originalEvent?e.originalEvent:e;if(!a.pointerType||"mouse"!=a.pointerType||0!=i.fallbackToMouseEvents){var l,c=a.touches,d=c?c[0]:a;return St=b,c?kt=c.length:!1!==i.preventDefaultEvents&&e.preventDefault(),ht=0,ut=null,ft=null,bt=null,mt=0,gt=0,vt=0,wt=1,yt=0,(p={})[o]=et(o),p[n]=et(n),p[s]=et(s),p[r]=et(r),xt=p,V(),K(0,d),!c||kt===i.fingers||i.fingers===w||N()?(Ct=st(),2==kt&&(K(1,c[1]),gt=vt=ot(Tt[0].start,Tt[1].start)),(i.swipeStatus||i.pinchStatus)&&(l=W(a,St))):l=!1,!1===l?(W(a,St=S),l):(i.hold&&(At=setTimeout(t.proxy((function(){_t.trigger("hold",[a.target]),i.hold&&(l=i.hold.call(_t,a,a.target))}),this),i.longTapThreshold)),Q(!0),null)}}var p}function O(e){var p,h,u,f,m=e.originalEvent?e.originalEvent:e;if(St!==_&&St!==S&&!G()){var y,b=m.touches,k=J(b?b[0]:m);if(zt=st(),b&&(kt=b.length),i.hold&&clearTimeout(At),St=x,2==kt&&(0==gt?(K(1,b[1]),gt=vt=ot(Tt[0].start,Tt[1].start)):(J(b[1]),vt=ot(Tt[0].end,Tt[1].end),Tt[0].end,Tt[1].end,bt=1>wt?l:a),wt=(vt/gt*1).toFixed(2),yt=Math.abs(gt-vt)),kt===i.fingers||i.fingers===w||!b||N()){if(ut=nt(k.start,k.end),function(t,e){if(!1!==i.preventDefaultEvents)if(i.allowPageScroll===c)t.preventDefault();else{var a=i.allowPageScroll===d;switch(e){case o:(i.swipeLeft&&a||!a&&i.allowPageScroll!=g)&&t.preventDefault();break;case n:(i.swipeRight&&a||!a&&i.allowPageScroll!=g)&&t.preventDefault();break;case s:(i.swipeUp&&a||!a&&i.allowPageScroll!=v)&&t.preventDefault();break;case r:(i.swipeDown&&a||!a&&i.allowPageScroll!=v)&&t.preventDefault()}}}(e,ft=nt(k.last,k.end)),u=k.start,f=k.end,ht=Math.round(Math.sqrt(Math.pow(f.x-u.x,2)+Math.pow(f.y-u.y,2))),mt=it(),function(t,e){t!=c&&(e=Math.max(e,tt(t)),xt[t].distance=e)}(ut,ht),y=W(m,St),!i.triggerOnTouchEnd||i.triggerOnTouchLeave){var T=!0;if(i.triggerOnTouchLeave){var C={left:(h=(p=t(p=this)).offset()).left,right:h.left+p.outerWidth(),top:h.top,bottom:h.top+p.outerHeight()};T=function(t,e){return t.x>e.left&&t.x<e.right&&t.y>e.top&&t.y<e.bottom}(k.end,C)}!i.triggerOnTouchEnd&&T?St=j(x):i.triggerOnTouchLeave&&!T&&(St=j(_)),St!=S&&St!=_||W(m,St)}}else W(m,St=S);!1===y&&W(m,St=S)}}function $(t){var e=t.originalEvent?t.originalEvent:t,o=e.touches;if(o){if(o.length&&!G())return function(t){Et=st(),Ot=t.touches.length+1}(e),!0;if(o.length&&G())return!0}return G()&&(kt=Ot),zt=st(),mt=it(),H()||!M()?W(e,St=S):i.triggerOnTouchEnd||!1===i.triggerOnTouchEnd&&St===x?(!1!==i.preventDefaultEvents&&!1!==t.cancelable&&t.preventDefault(),W(e,St=_)):!i.triggerOnTouchEnd&&X()?P(e,St=_,u):St===x&&W(e,St=S),Q(!1),null}function L(){kt=0,zt=0,Ct=0,gt=0,vt=0,wt=1,V(),Q(!1)}function A(t){var e=t.originalEvent?t.originalEvent:t;i.triggerOnTouchLeave&&W(e,St=j(_))}function I(){_t.off(at,E),_t.off(pt,L),_t.off(lt,O),_t.off(ct,$),dt&&_t.off(dt,A),Q(!1)}function j(t){var e=t,o=D(),n=M(),s=H();return!o||s?e=S:!n||t!=x||i.triggerOnTouchEnd&&!i.triggerOnTouchLeave?!n&&t==_&&i.triggerOnTouchLeave&&(e=S):e=_,e}function W(t,e){var o,n=t.touches;
2return(!(!F()||!R())||R())&&(o=P(t,e,p)),(!(!B()||!N())||N())&&!1!==o&&(o=P(t,e,h)),Z()&&U()&&!1!==o?o=P(t,e,f):mt>i.longTapThreshold&&y>ht&&i.longTap&&!1!==o?o=P(t,e,m):!(1!==kt&&k||!(isNaN(ht)||ht<i.threshold)||!X())&&!1!==o&&(o=P(t,e,u)),e===S&&L(),e===_&&(n&&n.length||L()),o}function P(e,c,d){var g;if(d==p){if(_t.trigger("swipeStatus",[c,ut||null,ht||0,mt||0,kt,Tt,ft]),i.swipeStatus&&!1===(g=i.swipeStatus.call(_t,e,c,ut||null,ht||0,mt||0,kt,Tt,ft)))return!1;if(c==_&&F()){if(clearTimeout(Lt),clearTimeout(At),_t.trigger("swipe",[ut,ht,mt,kt,Tt,ft]),i.swipe&&!1===(g=i.swipe.call(_t,e,ut,ht,mt,kt,Tt,ft)))return!1;switch(ut){case o:_t.trigger("swipeLeft",[ut,ht,mt,kt,Tt,ft]),i.swipeLeft&&(g=i.swipeLeft.call(_t,e,ut,ht,mt,kt,Tt,ft));break;case n:_t.trigger("swipeRight",[ut,ht,mt,kt,Tt,ft]),i.swipeRight&&(g=i.swipeRight.call(_t,e,ut,ht,mt,kt,Tt,ft));break;case s:_t.trigger("swipeUp",[ut,ht,mt,kt,Tt,ft]),i.swipeUp&&(g=i.swipeUp.call(_t,e,ut,ht,mt,kt,Tt,ft));break;case r:_t.trigger("swipeDown",[ut,ht,mt,kt,Tt,ft]),i.swipeDown&&(g=i.swipeDown.call(_t,e,ut,ht,mt,kt,Tt,ft))}}}if(d==h){if(_t.trigger("pinchStatus",[c,bt||null,yt||0,mt||0,kt,wt,Tt]),i.pinchStatus&&!1===(g=i.pinchStatus.call(_t,e,c,bt||null,yt||0,mt||0,kt,wt,Tt)))return!1;if(c==_&&B())switch(bt){case a:_t.trigger("pinchIn",[bt||null,yt||0,mt||0,kt,wt,Tt]),i.pinchIn&&(g=i.pinchIn.call(_t,e,bt||null,yt||0,mt||0,kt,wt,Tt));break;case l:_t.trigger("pinchOut",[bt||null,yt||0,mt||0,kt,wt,Tt]),i.pinchOut&&(g=i.pinchOut.call(_t,e,bt||null,yt||0,mt||0,kt,wt,Tt))}}return d==u?c!==S&&c!==_||(clearTimeout(Lt),clearTimeout(At),U()&&!Z()?($t=st(),Lt=setTimeout(t.proxy((function(){$t=null,_t.trigger("tap",[e.target]),i.tap&&(g=i.tap.call(_t,e,e.target))}),this),i.doubleTapThreshold)):($t=null,_t.trigger("tap",[e.target]),i.tap&&(g=i.tap.call(_t,e,e.target)))):d==f?c!==S&&c!==_||(clearTimeout(Lt),clearTimeout(At),$t=null,_t.trigger("doubletap",[e.target]),i.doubleTap&&(g=i.doubleTap.call(_t,e,e.target))):d==m&&(c!==S&&c!==_||(clearTimeout(Lt),$t=null,_t.trigger("longtap",[e.target]),i.longTap&&(g=i.longTap.call(_t,e,e.target)))),g}function M(){var t=!0;return null!==i.threshold&&(t=ht>=i.threshold),t}function H(){var t=!1;return null!==i.cancelThreshold&&null!==ut&&(t=tt(ut)-ht>=i.cancelThreshold),t}function D(){return!(i.maxTimeThreshold&&mt>=i.maxTimeThreshold)}function B(){var t=q(),e=Y(),o=null===i.pinchThreshold||yt>=i.pinchThreshold;return t&&e&&o}function N(){return!!(i.pinchStatus||i.pinchIn||i.pinchOut)}function F(){var t=D(),e=M(),i=q(),o=Y();return!H()&&o&&i&&e&&t}function R(){return!!(i.swipe||i.swipeStatus||i.swipeLeft||i.swipeRight||i.swipeUp||i.swipeDown)}function q(){return kt===i.fingers||i.fingers===w||!k}function Y(){return 0!==Tt[0].end.x}function X(){return!!i.tap}function U(){return!!i.doubleTap}function Z(){if(null==$t)return!1;var t=st();return U()&&t-$t<=i.doubleTapThreshold}function V(){Et=0,Ot=0}function G(){var t=!1;return Et&&st()-Et<=i.fingerReleaseThreshold&&(t=!0),t}function Q(t){_t&&(!0===t?(_t.on(lt,O),_t.on(ct,$),dt&&_t.on(dt,A)):(_t.off(lt,O,!1),_t.off(ct,$,!1),dt&&_t.off(dt,A,!1)),_t.data(z+"_intouch",!0===t))}function K(t,e){var i={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return i.start.x=i.last.x=i.end.x=e.pageX||e.clientX,i.start.y=i.last.y=i.end.y=e.pageY||e.clientY,Tt[t]=i,i}function J(t){var e=void 0!==t.identifier?t.identifier:0,i=function(t){return Tt[t]||null}(e);return null===i&&(i=K(e,t)),i.last.x=i.end.x,i.last.y=i.end.y,i.end.x=t.pageX||t.clientX,i.end.y=t.pageY||t.clientY,i}function tt(t){return xt[t]?xt[t].distance:void 0}function et(t){return{direction:t,distance:0}}function it(){return zt-Ct}function ot(t,e){var i=Math.abs(t.x-e.x),o=Math.abs(t.y-e.y);return Math.round(Math.sqrt(i*i+o*o))}function nt(t,e){if(a=e,(i=t).x==a.x&&i.y==a.y)return c;var i,a,l=function(t,e){var i=t.x-e.x,o=e.y-t.y,n=Math.atan2(o,i),s=Math.round(180*n/Math.PI);return 0>s&&(s=360-Math.abs(s)),s}(t,e);return 45>=l&&l>=0||360>=l&&l>=315?o:l>=135&&225>=l?n:l>45&&135>l?r:s}function st(){return(new Date).getTime()}i=t.extend({},i);var rt=k||C||!i.fallbackToMouseEvents,at=rt?C?T?"MSPointerDown":"pointerdown":"touchstart":"mousedown",lt=rt?C?T?"MSPointerMove":"pointermove":"touchmove":"mousemove",ct=rt?C?T?"MSPointerUp":"pointerup":"touchend":"mou
2seup",dt=rt?C?"mouseleave":null:"mouseleave",pt=C?T?"MSPointerCancel":"pointercancel":"touchcancel",ht=0,ut=null,ft=null,mt=0,gt=0,vt=0,wt=1,yt=0,bt=0,xt=null,_t=t(e),St="start",kt=0,Tt={},Ct=0,zt=0,Et=0,Ot=0,$t=0,Lt=null,At=null;try{_t.on(at,E),_t.on(pt,L)}catch(e){t.error("events not supported "+at+","+pt+" on jQuery.swipe")}this.enable=function(){return this.disable(),_t.on(at,E),_t.on(pt,L),_t},this.disable=function(){return I(),_t},this.destroy=function(){I(),_t.data(z,null),_t=null},this.option=function(e,o){if("object"==typeof e)i=t.extend(i,e);else if(void 0!==i[e]){if(void 0===o)return i[e];i[e]=o}else{if(!e)return i;t.error("Option "+e+" does not exist on jQuery.swipe.options")}return null}}var o="left",n="right",s="up",r="down",a="in",l="out",c="none",d="auto",p="swipe",h="pinch",u="tap",f="doubletap",m="longtap",g="horizontal",v="vertical",w="all",y=10,b="start",x="move",_="end",S="cancel",k="ontouchstart"in window,T=window.navigator.msPointerEnabled&&!window.PointerEvent&&!k,C=(window.PointerEvent||window.navigator.msPointerEnabled)&&!k,z="TouchSwipe";t.fn.swipe=function(i){var o=t(this),n=o.data(z);if(n&&"string"==typeof i){if(n[i])return n[i].apply(n,Array.prototype.slice.call(arguments,1));t.error("Method "+i+" does not exist on jQuery.swipe")}else if(n&&"object"==typeof i)n.option.apply(n,arguments);else if(!(n||"object"!=typeof i&&i))return e.apply(this,arguments);return o},t.fn.swipe.version="1.6.18",t.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0},t.fn.swipe.phases={PHASE_START:b,PHASE_MOVE:x,PHASE_END:_,PHASE_CANCEL:S},t.fn.swipe.directions={LEFT:o,RIGHT:n,UP:s,DOWN:r,IN:a,OUT:l},t.fn.swipe.pageScroll={NONE:c,HORIZONTAL:g,VERTICAL:v,AUTO:d},t.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:w}},i.amdO.jQuery?(n=[i(311)],void 0===(s="function"==typeof(o=r)?o.apply(e,n):o)||(t.exports=s)):r(t.exports?i(311):jQuery)},76:t=>{var e=function(t){"use strict";var e,i=Object.prototype,o=i.hasOwnProperty,n=Object.defineProperty||function(t,e,i){t[e]=i.value},s="function"==typeof Symbol?Symbol:{},r=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function c(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,i){return t[e]=i}}function d(t,e,i,o){var s=e&&e.prototype instanceof g?e:g,r=Object.create(s.prototype),a=new O(o||[]);return n(r,"_invoke",{value:T(t,i,a)}),r}function p(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var h="suspendedStart",u="executing",f="completed",m={};function g(){}function v(){}function w(){}var y={};c(y,r,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b($([])));x&&x!==i&&o.call(x,r)&&(y=x);var _=w.prototype=g.prototype=Object.create(y);function S(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function i(n,s,r,a){var l=p(t[n],t,s);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&o.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,r,a)}),(function(t){i("throw",t,r,a)})):e.resolve(d).then((function(t){c.value=t,r(c)}),(function(t){return i("throw",t,r,a)}))}a(l.arg)}var s;n(this,"_invoke",{value:function(t,o){function n(){return new e((function(e,n){i(t,o,e,n)}))}return s=s?s.then(n,n):n()}})}function T(t,e,i){var o=h;return function(n,s){if(o===u)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw s;return L()}for(i.method=n,i.arg=s;;){var r=i.delegate;if(r){var a=C(r,i);if(a){if(a===m)continue;return a}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(o===h)throw o=f,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o=u;var l=p(t,e,i);if("normal"===l.type){if(o=i.done?f:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(o=f,i.method="throw",i.arg=l.arg)}}}function C(t,i){var o=t.iterator[i.method];if(o===e){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&
vendor: 4,412 bytes, line 2
2(i.method="return",i.arg=e,C(t,i),"throw"===i.method))return m;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=p(o,t.iterator,i.arg);if("throw"===n.type)return i.method="throw",i.arg=n.arg,i.delegate=null,m;var s=n.arg;return s?s.done?(i[t.resultName]=s.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,m):s:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,m)}function z(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(z,this),this.reset(!0)}function $(t){if(t){var i=t[r];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,s=function i(){for(;++n<t.length;)if(o.call(t,n))return i.value=t[n],i.done=!1,i;return i.value=e,i.done=!0,i};return s.next=s}}return{next:L}}function L(){return{value:e,done:!0}}return v.prototype=w,n(_,"constructor",{value:w,configurable:!0}),n(w,"constructor",{value:v,configurable:!0}),v.displayName=c(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,c(t,l,"GeneratorFunction")),t.prototype=Object.create(_),t},t.awrap=function(t){return{__await:t}},S(k.prototype),c(k.prototype,a,(function(){return this})),t.AsyncIterator=k,t.async=function(e,i,o,n,s){void 0===s&&(s=Promise);var r=new k(d(e,i,o,n),s);return t.isGeneratorFunction(i)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},S(_),c(_,l,"Generator"),c(_,r,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),i=[];for(var o in e)i.push(o);return i.reverse(),function t(){for(;i.length;){var o=i.pop();if(o in e)return t.value=o,t.done=!1,t}return t.done=!0,t}},t.values=$,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var i in this)"t"===i.charAt(0)&&o.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function n(o,n){return a.type="throw",a.arg=t,i.next=o,n&&(i.method="next",i.arg=e),!!n}for(var s=this.tryEntries.length-1;s>=0;--s){var r=this.tryEntries[s],a=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var l=o.call(r,"catchLoc"),c=o.call(r,"finallyLoc");if(l&&c){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(l){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var s=n;break}}s&&("break"===t||"continue"===t)&&s.tryLoc<=e&&e<=s.finallyLoc&&(s=null);var r=s?s.completion:{};return r.type=t,r.arg=e,s?(this.method="next",this.next=s.finallyLoc,m):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),E(i),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var o=i.completion;if("throw"===o.type){var n=o.arg;E(i)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,i,o){return this.delegate={iterator:$(t),resultName:i,nextLoc:o},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}
2,975:(t,e,i)=>{var o;!function(){"use strict";var n={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function s(t){return a(c(t),arguments)}function r(t,e){return s.apply(null,[t].concat(e||[]))}function a(t,e){var i,o,r,a,l,c,d,p,h,u=1,f=t.length,m="";for(o=0;o<f;o++)if("string"==typeof t[o])m+=t[o];else if("object"==typeof t[o]){if((a=t[o]).keys)for(i=e[u],r=0;r<a.keys.length;r++){if(null==i)throw new Error(s('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[r],a.keys[r-1]));i=i[a.keys[r]]}else i=a.param_no?e[a.param_no]:e[u++];if(n.not_type.test(a.type)&&n.not_primitive.test(a.type)&&i instanceof Function&&(i=i()),n.numeric_arg.test(a.type)&&"number"!=typeof i&&isNaN(i))throw new TypeError(s("[sprintf] expecting number but found %T",i));switch(n.number.test(a.type)&&(p=i>=0),a.type){case"b":i=parseInt(i,10).toString(2);break;case"c":i=String.fromCharCode(parseInt(i,10));break;case"d":case"i":i=parseInt(i,10);break;case"j":i=JSON.stringify(i,null,a.width?parseInt(a.width):0);break;case"e":i=a.precision?parseFloat(i).toExponential(a.precision):parseFloat(i).toExponential();break;case"f":i=a.precision?parseFloat(i).toFixed(a.precision):parseFloat(i);break;case"g":i=a.precision?String(Number(i.toPrecision(a.precision))):parseFloat(i);break;case"o":i=(parseInt(i,10)>>>0).toString(8);break;case"s":i=String(i),i=a.precision?i.substring(0,a.precision):i;break;case"t":i=String(!!i),i=a.precision?i.substring(0,a.precision):i;break;case"T":i=Object.prototype.toString.call(i).slice(8,-1).toLowerCase(),i=a.precision?i.substring(0,a.precision):i;break;case"u":i=parseInt(i,10)>>>0;break;case"v":i=i.valueOf(),i=a.precision?i.substring(0,a.precision):i;break;case"x":i=(parseInt(i,10)>>>0).toString(16);break;case"X":i=(parseInt(i,10)>>>0).toString(16).toUpperCase()}n.json.test(a.type)?m+=i:(!n.number.test(a.type)||p&&!a.sign?h="":(h=p?"+":"-",i=i.toString().replace(n.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",d=a.width-(h+i).length,l=a.width&&d>0?c.repeat(d):"",m+=a.align?h+i+l:"0"===c?h+l+i:l+h+i)}return m}var l=Object.create(null);function c(t){if(l[t])return l[t];for(var e,i=t,o=[],s=0;i;){if(null!==(e=n.text.exec(i)))o.push(e[0]);else if(null!==(e=n.modulo.exec(i)))o.push("%");else{if(null===(e=n.placeholder.exec(i)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){s|=1;var r=[],a=e[2],c=[];if(null===(c=n.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(r.push(c[1]);""!==(a=a.substring(c[0].length));)if(null!==(c=n.key_access.exec(a)))r.push(c[1]);else{if(null===(c=n.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");r.push(c[1])}e[2]=r}else s|=2;if(3===s)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");o.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}i=i.substring(e[0].length)}return l[t]=o}e.sprintf=s,e.vsprintf=r,"undefined"!=typeof window&&(window.sprintf=s,window.vsprintf=r,void 0===(o=function(){return{sprintf:s,vsprintf:r}}.call(e,i,e,t))||(t.exports=o))}()},79:(t,e,i)=>{"use strict";function o(t,e){return o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},o(t,e)}function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t){return"string"==typeof t}function r(t){return void 0===t}function a(t,e){e.split(" ").forEach((function(e){e.trim()&&t.classList.add(e)}))}function l(t,e,i){return void 0===t&&(t=""),r(e)||r(e[t])?i?i+"-"+t:t:!1===e[t]?"":e[t]}function c(t,e){e.split(" ").forEach((function(e){e.trim()&&t.classList.remove(e)}))}function d(t,e,i){i.forEach((function(i){-1===e.indexOf(i)&&t.classList.contains(i)&&c(t,i)})),e.forEach((function(e){t.classList.contains(e)||a(t,e)}))}i.r(e),i.d(e,{default:()=>U});var p=[];function h(t){p.push(t)}function u(){for(var t;t=p.pop();)t()}var f=null;function m(t){void 0===t&&(t={});var e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEac
2h((function(e){if(e)for(var i in e)({}).hasOwnProperty.call(e,i)&&(t[i]=e[i])})),t}function g(){if(f)return f;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");m(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var o=t.offsetWidth;i===o&&(o=e.clientWidth),document.body.removeChild(e);var n=i-o;return f={width:n,height:n}}var v,w=(v=0,function(){return++v}),y={},b=null;function x(t,e){var i;e===document?(i=document,e=document.documentElement):i=e.ownerDocument;var o=i.documentElement,n=_(e),s=function(t){var e=b;e&&t.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",w()),m(e.style,{top:0,left:0,position:"absolute"}),t.appendChild(e),b=e);var i=e.getAttribute("data-tether-id");return r(y[i])&&(y[i]=_(e),h((function(){delete y[i]}))),y[i]}(t);return n.top-=s.top,n.left-=s.left,r(n.width)&&(n.width=document.body.scrollWidth-n.left-n.r
vendor: 12,487 bytes, line 2
2ight),r(n.height)&&(n.height=document.body.scrollHeight-n.top-n.bottom),n.top=n.top-o.clientTop,n.left=n.left-o.clientLeft,n.right=i.body.clientWidth-n.width-n.left,n.bottom=i.body.clientHeight-n.height-n.top,n}function _(t){var e=t.getBoundingClientRect(),i={};for(var o in e)i[o]=e[o];try{if(t.ownerDocument!==document){var n=t.ownerDocument.defaultView.frameElement;if(n){var s=_(n);i.top+=s.top,i.bottom+=s.top,i.left+=s.left,i.right+=s.left}}}catch(t){}return i}var S={position:function(t){var e=this,i=t.top,o=t.left,n=this.cache("element-bounds",(function(){return x(e.element)})),s=n.height,r=n.width,a=this.getTargetBounds(),c=i+s,p=o+r,u=[];i<=a.bottom&&c>=a.top&&["left","right"].forEach((function(t){var e=a[t];e!==o&&e!==p||u.push(t)})),o<=a.right&&p>=a.left&&["top","bottom"].forEach((function(t){var e=a[t];e!==i&&e!==c||u.push(t)}));var f=this.options,m=f.classes,g=f.classPrefix;return this.all.push(l("abutted",m,g)),["left","top","right","bottom"].forEach((function(t){e.all.push(l("abutted",m,g)+"-"+t)})),u.length&&this.add.push(l("abutted",m,g)),u.forEach((function(t){e.add.push(l("abutted",m,g)+"-"+t)})),h((function(){!1!==e.options.addTargetClasses&&d(e.target,e.add,e.all),d(e.element,e.add,e.all)})),!0}},k=["left","top","right","bottom"],T={position:function(t){var e=this,i=t.top,o=t.left,n=t.targetAttachment;if(!this.options.constraints)return!0;var a=this.cache("element-bounds",(function(){return x(e.bodyElement,e.element)})),c=a.height,p=a.width;if(0===p&&0===c&&!r(this.lastSize)){var u=this.lastSize;p=u.width,c=u.height}var f=this.cache("target-bounds",(function(){return e.getTargetBounds()})),g=f.height,v=f.width,w=this.options,y=w.classes,b=w.classPrefix,_=function(t,e,i){var o=[l("pinned",t,e),l("out-of-bounds",t,e)];return i.forEach((function(t){var e=t.outOfBoundsClass,i=t.pinnedClass;e&&o.push(e),i&&o.push(i)})),o.forEach((function(t){["left","top","right","bottom"].forEach((function(e){o.push(t+"-"+e)}))})),o}(y,b,this.options.constraints),S=[],T=m({},n),C=m({},this.attachment);return this.options.constraints.forEach((function(t){var a,d,h=t.to,u=t.attachment,f=t.pin;if(r(u)&&(u=""),u.indexOf(" ")>=0){var m=u.split(" ");d=m[0],a=m[1]}else a=d=u;var w=function(t,e,i){if(!i)return null;if("scrollParent"===i?i=e.scrollParents[0]:"window"===i&&(i=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),i===document&&(i=i.documentElement),!r(i.nodeType)){var o=i,n=x(t,i),s=n,a=getComputedStyle(i);if(i=[s.left,s.top,n.width+s.left,n.height+s.top],o.ownerDocument!==document){var l=o.ownerDocument.defaultView;i[0]+=l.pageXOffset,i[1]+=l.pageYOffset,i[2]+=l.pageXOffset,i[3]+=l.pageYOffset}k.forEach((function(t,e){"Top"===(t=t[0].toUpperCase()+t.substr(1))||"Left"===t?i[e]+=parseFloat(a["border"+t+"Width"]):i[e]-=parseFloat(a["border"+t+"Width"])}))}return i}(e.bodyElement,e,h);"target"!==d&&"both"!==d||(i<w[1]&&"top"===T.top&&(i+=g,T.top="bottom"),i+c>w[3]&&"bottom"===T.top&&(i-=g,T.top="top")),"together"===d&&(i=function(t,e,i,o,n,s){return"top"===t.top&&("bottom"===e.top&&s<i[1]?(s+=n,t.top="bottom",s+=o,e.top="top"):"top"===e.top&&s+o>i[3]&&s-(o-n)>=i[1]&&(s-=o-n,t.top="bottom",e.top="bottom")),"bottom"===t.top&&("top"===e.top&&s+o>i[3]?(s-=n,t.top="top",s-=o,e.top="bottom"):"bottom"===e.top&&s<i[1]&&s+(2*o-n)<=i[3]&&(s+=o-n,t.top="top",e.top="top")),"middle"===t.top&&(s+o>i[3]&&"top"===e.top?(s-=o,e.top="bottom"):s<i[1]&&"bottom"===e.top&&(s+=o,e.top="top")),s}(T,C,w,c,g,i)),"target"!==a&&"both"!==a||(o<w[0]&&"left"===T.left&&(o+=v,T.left="right"),o+p>w[2]&&"right"===T.left&&(o-=v,T.left="left")),"together"===a&&(o=function(t,e,i,o,n,s){return s<i[0]&&"left"===t.left?"right"===e.left?(s+=n,t.left="right",s+=o,e.left="left"):"left"===e.left&&(s+=n,t.left="right",s-=o,e.left="right"):s+o>i[2]&&"right"===t.left?"left"===e.left?(s-=n,t.left="left",s-=o,e.left="right"):"right"===e.left&&(s-=n,t.left="left",s+=o,e.left="left"):"center"===t.left&&(s+o>i[2]&&"left"===e.left?(s-=o,e.left="right"):s<i[0]&&"right"===e.left&&(s+=o,e.left="left")),s}(T,C,w,p,v,o)),"element"!==d&&"both"!==d||(i<w[1]&&"bottom"===C.top&&(i+=c,C.top="top"),i+c>w[3]&&"top"===C.top&&(i-=c,C.top="bottom")),"element"!==a&&"both"!==a||(o<w[0]&&("right"===C.left?(o+=p,C.left="left"):"center"===C.left&&(o+=p/2,C.left="left")),o+p>w[2]&&("left"===C.left?(o-=p,C.left="right"):"center"===C.left&&(o-=p/2,C.left="right"))),s(f)?f=f.split(",").map((function(t){return t.trim()})):!0===f&&(f=["top","left","right","bottom"]);var _,z=[],E=[];o=function(t,e,i,o,n,s){return t<e[0]&&(o.indexOf("left")>=0?(t=e[0],n.push("left")):s.push("left")),t+i>e[2]&&(o.indexOf("right")>=0?(t=e[2]-i,n.push("right")):s.push("right")),t}(o,w,p,f=f||[],z,E),i=function(t,e,i,o,n,s){return t<e[1]&&(o.indexOf("top")>=0?(t=e[1],n.push("top")):s.push("top")),t+i>e[3]&&(o.indexOf("bottom")>=0?(t=e[3]-i,n.push("bottom")):s.push("bottom")),t}(i,w,c,f,z,E),z.length&&(_=r(e.options.pinnedClass)?l("pinned",y,b):e.options.pinnedClass,S.push(_),z.forEach((function(t){S.push(_+"-"+t)}))),function(t,e,i,o,n){var s;t.length&&(s=r(n)?l("out-of-bounds",i,o):n,e.push(s),t.forEach((function(t){e.push(s+"-"+t)})))}(E,S,y,b,e.options.outOfBoundsClass),(z.indexOf("left")>=0||z.indexOf("right")>=0)&&(C.left=T.left=!1),(z.indexOf("top")>=0||z.indexOf("bottom")>=0)&&(C.top=T.top=!1),T.top===n.top&&T.left===n.left&&C.top===e.attachment.top&&C.left===e.attachment.left||(e.updateAttachClasses(C,T),e.trigger("update",{attachment:C,targetAttachment:T}))})),h((function(){!1!==e.options.addTargetClasses&&d(e.target,S,_),d(e.element,S,_)})),{top:i,left:o}}},C={position:function(t){var e=t.top,i=t.left;if(this.options.shift){var o,n,r=this.options.shift;if("function"==typeof r&&(r=r.call(this,{top:e,left:i})),s(r)){(r=r.split(" "))[1]=r[1]||r[0];var a=r;o=a[0],n=a[1],o=parseFloat(o,10),n=parseFloat(n,10)}else{var l=[r.top,r.left];o=l[0],n=l[1]}return{top:e+=o,left:i+=n}}}},z=function(){function t(){}var e=t.prototype;return e.on=function(t,e,i,o){return void 0===o&&(o=!1),r(this.bindings)&&(this.bindings={}),r(this.bindings[t])&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:i,once:o}),this},e.once=function(t,e,i){return this.on(t,e,i,!0)},e.off=function(t,e){var i=this;return r(this.bindings)||r(this.bindings[t])||(r(e)?delete this.bindings[t]:this.bindings[t].forEach((function(o,n){o.handler===e&&i.bindings[t].splice(n,1)}))),this},e.trigger=function(t){for(var e=this,i=arguments.length,o=new Array(i>1?i-1:0),n=1;n<i;n++)o[n-1]=arguments[n];return!r(this.bindings)&&this.bindings[t]&&this.bindings[t].forEach((function(i,n){var s=i.ctx,r=i.handler,a=i.once,l=s||e;r.apply(l,o),a&&e.bindings[t].splice(n,1)})),this},t}(),E={center:"center",left:"right",right:"left"},O={middle:"middle",top:"bottom",bottom:"top"},$={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"};function L(){for(var t={top:0,left:0},e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];return i.forEach((function(e){var i=e.top,o=e.left;s(i)&&(i=parseFloat(i)),s(o)&&(o=parseFloat(o)),t.top+=i,t.left+=o})),t}function A(t){var e=t.left,i=t.top;return r($[t.left])||(e=$[t.left]),r($[t.top])||(i=$[t.top]),{left:e,top:i}}function I(t,e){return s(t.left)&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left)/100*e.width),s(t.top)&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top)/100*e.height),t}function j(t){var e=t.split(" ");return{top:e[0],left:e[1]}}function W(t){return t.offsetParent||document.documentElement}var P,M,H,D,B={modules:[T,S,C]},N=function(){if(r(document))return"";for(var t=document.createElement("div"),e=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],i=0;i<e.length;++i){var o=e[i];if(void 0!==t.style[o])return o}}(),F=[],R=function(){F.forEach((function(t){t.position(!1)})),u()};function q(){return performance.now()}P=null,M=null,H=null,D=function t(){if(!r(M)&&M>16)return M=Math.min(M-16,250),void(H=setTimeout(t,250));!r(P)&&q()-P<10||(null!=H&&(clearTimeout(H),H=null),P=q(),R(),M=q()-P)},r(window)||r(window.addEventListener)||["resize","scroll","touchmove"].forEach((function(t){window.addEventListener(t,D)}));var Y=function(t){var e,i;function p(e){var i;return(i=t.call(this)||this).position=i.position.bind(n(i)),F.push(n(i)),i.history=[],i.setOptions(e,!1),B.modules.forEach((function(t){r(t.initialize)||t.initialize.call(n(i))})),i.position(),i}i=t,(e=p).prototype=Object.create(i.prototype),e.prototype.constructor=e,o(e,i);var f=p.prototype;return f.setOptions=function(t,e){var i=this;void 0===e&&(e=!0);var o={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether",bodyElement:document.body};this.options=m(o,t);var n=this.options,a=n.element,l=n.target,c=n.targetModifier,d=n.bodyElement;if(this.element=a,this.target=l,this.targetModifier=c,"string"==typeof d&&(d=document.querySelector(d)),this.bodyElement=d,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(t){if(r(i[t]))throw new Error("Tether Error: Both element and target must be defined");r(i[t].jquery)?s(i[t])&&(i[t]=document.querySelector(i[t])):i[t]=i[t][0]})),this._addClasses(),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=j(this.options.targetAttachment),this.attachment=j(this.options.attachment),this.offset=j(this.options.offset),this.targetOffset=j(this.options.targetOffset),r(this.scrollParents)||this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=function(t){var e=(getComputedStyle(t)||{}).position,i=[];if("fixed"===e)return[t];for(var o=t;(o=o.parentNode)&&o&&1===o.nodeType;){var n=void 0;try{n=getComputedStyle(o)}catch(t){}if(r(n)||null===n)return i.push(o),i;var s=n,a=s.overflow,l=s.overflowX,c=s.overflowY;/(auto|scroll|overlay)/.test(a+c+l)&&("absolute"!==e||["relative","absolute","fixed"].indexOf(n.position)>=0)&&i.push(o)}return i.push(t.ownerDocument.body),t.ownerDocument!==document&&i.push(t.ownerDocument.defaultView),i}(this.target),!1!==this.options.enabled&&this.enable(e)},f.getTargetBounds=function(){return r(this.targetModifier)?x(this.bodyElement,this.target):"visible"===this.targetModifier?function(t,e){if(e===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var i=x(t,e),o={height:i.height,width:i.width,top:i.top,left:i.left};return o.height=Math.min(o.height,i.height-(pageYOffset-i.top)),o.height=Math.min(o.height,i.height-(i.top+i.height-(pageYOffset+innerHeight))),o.height=Math.min(innerHeight,o.height),o.height-=2,o.width=Math.min(o.width,i.width-(pageXOffset-i.left)),o.width=Math.min(o.width,i.width-(i.left+i.width-(pageXOffset+innerWidth))),o.width=Math.min(innerWidth,o.width),o.width-=2,o.top<pageYOffset&&(o.top=pageYOffset),o.left<pageXOffset&&(o.left=pageXOffset),o}(this.bodyElement,this.target):"scroll-handle"===this.targetModifier?function(t,e){var i,o=e.scrollTop,n=e===document.body;n?(e=document.documentElement,i={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):i=x(t,e);var s=getComputedStyle(e),r=0;(e.scrollWidth>e.clientWidth||[s.overflow,s.overflowX].indexOf("scroll")>=0||!n)&&(r=15);var a=i.height-parseFloat(s.borderTopWidth)-parseFloat(s.borderBottomWidth)-r,l={width:15,height:.975*a*(a/e.scrollHeight),left:i.left+i.width-parseFloat(s.borderLeftWidth)-15},c=0;a<408&&n&&(c=-11e-5*Math.pow(a,2)-.00727*a+22.58),n||(l.height=Math.max(l.height,24));var d=o/(e.scrollHeight-a);return l.top=d*(a-l.height-c)+i.top+parseFloat(s.borderTopWidth),n&&(l.height=Math.max(l.height,24)),l}(this.bodyElement,this.target):void 0},f.clearCache=function(){this._cache={}},f.cache=function(t,e){return r(this._cache)&&(this._cache={}),r(this._cache[t])&&(this._cache[t]=e.call(this)),this._cache[t]},f.enable=function(t){var e=this;void 0===t&&(t=!0);var i=this.options,o=i.classes,n=i.classPrefix;!1!==this.options.addTargetClasses&&a(this.target,l("enabled",o,n)),a(this.element,l("enabled",o,n)),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()},f.disable=function(){var t=this,e=this.options,i=e.classes,o=e.classPrefix;c(this.target,l("enabled",i,o)),c(this.element,l("enabled",i,o)),this.enabled=!1,r(this.scrollParents)||this.scrollParents.forEac
2h((function(e){e&&e.removeEventListener&&e.removeEventListener("scroll",t.position)}))},f.destroy=function(){var t,e=this;this.disable(),this._removeClasses(),F.forEach((function(t,i){t===e&&F.splice(i,1)})),0===F.length&&(t=this.bodyElement,b&&t.removeChild(b),b=null)},f.updateAttachClasses=function(t,e){var i=this;t=t||this.attachment,e=e||this.targetAttachment;var o=this.options,n=o.classes,s=o.classPrefix;!r(this._addAttachClasses)&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),r(this._addAttachClasses)&&(this._addAttachClasses=[]),this.add=this._addAttachClasses,t.top&&this.add.push(l("element-attached",n,s)+"-"+t.top),t.left&&this.add.push(l("element-attached",n,s)+"-"+t.left),e.top&&this.add.push(l("target-attached",n,s)+"-"+e.top),e.left&&this.add.push(l("target-attached",n,s)+"-"+e.left),this.all=[],["left","top","bottom","right","middle","center"].forEach((function(t){i.all.push(l("element-attached",n,s)+"-"+t),i.all.push(l("target-attached",n,s)+"-"+t)})),h((function(){r(i._addAttachClasses)||(d(i.element,i._addAttachClasses,i.all),!1!==i.options.addTargetClasses&&d(i.target,i._addAttachClasses,i.all),delete i._addAttachClasses)}))},f.position=function(t){var e=this;if(void 0===t&&(t=!0),this.enabled){this.clearCache();var i=function(t,e){var i=t.left,o=t.top;return"auto"===i&&(i=E[e.left]),"auto"===o&&(o=O[e.top]),{left:i,top:o}}(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,i);var o=this.cache("element-bounds",(function(){return x(e.bodyElement,e.element)})),n=o.width,s=o.height;if(0!==n||0!==s||r(this.lastSize))this.lastSize={width:n,height:s};else{var a=this.lastSize;n=a.width,s=a.height}var l=this.cache("target-bounds",(function(){return e.getTargetBounds()})),c=l,d=I(A(this.attachment),{width:n,height:s}),p=I(A(i),c),h=I(this.offset,{width:n,height:s}),f=I(this.targetOffset,c);d=L(d,h),p=L(p,f);for(var m=l.left+p.left-d.left,v=l.top+p.top-d.top,w=0;w<B.modules.length;++w){var y=B.modules[w].position.call(this,{left:m,top:v,targetAttachment:i,targetPos:l,elementPos:o,offset:d,targetOffset:p,manualOffset:h,manualTargetOffset:f,scrollbarSize:b,attachment:this.attachment});if(!1===y)return!1;r(y)||"object"!=typeof y||(v=y.top,m=y.left)}var b,_={page:{top:v,left:m},viewport:{top:v-pageYOffset,bottom:pageYOffset-v-s+innerHeight,left:m-pageXOffset,right:pageXOffset-m-n+innerWidth}},S=this.target.ownerDocument,k=S.defaultView;if(k.innerHeight>S.documentElement.clientHeight&&(b=this.cache("scrollbar-size",g),_.viewport.bottom-=b.height),k.innerWidth>S.documentElement.clientWidth&&(b=this.cache("scrollbar-size",g),_.viewport.right-=b.width),-1!==["","static"].indexOf(S.body.style.position)&&-1!==["","static"].indexOf(S.body.parentElement.style.position)||(_.page.bottom=S.body.scrollHeight-v-s,_.page.right=S.body.scrollWidth-m-n),!r(this.options.optimizations)&&!1!==this.options.optimizations.moveElement&&r(this.targetModifier)){var T=this.cache("target-offsetparent",(function(){return W(e.target)})),C=this.cache("target-offsetparent-bounds",(function(){return x(e.bodyElement,T)})),z=getComputedStyle(T),$=C,j={};if(["Top","Left","Bottom","Right"].forEach((function(t){j[t.toLowerCase()]=parseFloat(z["border"+t+"Width"])})),C.right=S.body.scrollWidth-C.left-$.width+j.right,C.bottom=S.body.scrollHeight-C.top-$.height+j.bottom,_.page.top>=C.top+j.top&&_.page.bottom>=C.bottom&&_.page.left>=C.left+j.left&&_.page.right>=C.right){var P=T.scrollLeft,M=T.scrollTop;_.offset={top:_.page.top-C.top+M-j.top,left:_.page.left-C.left+P-j.left}}}return this.move(_),this.history.unshift(_),this.history.length>3&&this.history.pop(),t&&u(),!0}},f.move=function(t){var e=this;if(!r(this.element.parentNode)){var i,o,n,s={};for(var a in t)for(var l in s[a]={},t[a]){for(var c=!1,d=0;d<this.history.length;++d){var p=this.history[d];if(!(r(p[a])||(i=p[a][l],o=t[a][l],n=void 0,void 0===n&&(n=1),i+n>=o&&o>=i-n))){c=!0;break}}c||(s[a][l]=!0)}var u={top:"",left:"",right:"",bottom:""},f=function(t,i){var o,n;!1!==(r(e.options.optimizations)?null:e.options.optimizations.gpu)?(t.top?(u.top=0,o=i.top):(u.bottom=0,o=-i.bottom),t.left?(u.left=0,n=i.left):(u.right=0,n=-i.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(n=Math.round(n*devicePixelRatio)/devicePixelRatio,o=Math.round(o*devicePixelRatio)/devicePixelRatio),u[N]="translateX("+n+"px) translateY("+o+"px)","msTransform"!==N&&(u[N]+=" translateZ(0)")):(t.top?u.top=i.top+"px":u.bottom=i.bottom+"px",t.left?u.left=i.left+"px":u.right=i.right+"px")},g=!0;!r(this.options.optimizations)&&!1===this.options.optimizations.allowPositionFixed&&(g=!1);var v,w,y=!1;if((s.page.top||s.page.bottom)&&(s.page.left||s.page.right))u.position="absolute",f(s.page,t.page);else if(g&&(s.viewport.top||s.viewport.bottom)&&(s.viewport.left||s.viewport.right))u.position="fixed",f(s.viewport,t.viewport);else if(!r(s.offset)&&s.offset.top&&s.offset.left){u.position="absolute";var b=this.cache("target-offsetparent",(function(){return W(e.target)}));W(this.element)!==b&&h((function(){e.element.parentNode.removeChild(e.element),b.appendChild(e.element)})),f(s.offset,t.offset),y=!0}else u.position="absolute",f({top:!0,left:!0},t.page);if(!y)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var x=!0,_=this.element.parentNode;_&&1===_.nodeType&&"BODY"!==_.tagName&&(void 0,((w=(v=_).ownerDocument).fullscreenElement||w.webkitFullscreenElement||w.mozFullScreenElement||w.msFullscreenElement)!==v);){if("static"!==getComputedStyle(_).position){x=!1;break}_=_.parentNode}x||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var S={},k=!1;for(var T in u){var C=u[T];this.element.style[T]!==C&&(k=!0,S[T]=C)}k&&h((function(){m(e.element.style,S),e.trigger("repositioned")}))}},f._addClasses=function(){var t=this.options,e=t.classes,i=t.classPrefix;a(this.element,l("element",e,i)),!1!==this.options.addTargetClasses&&a(this.target,l("target",e,i))},f._removeClasses=function(){var t=this,e=this.options,i=e.classes,o=e.classPrefix;c(this.element,l("element",i,o)),!1!==this.options.addTargetClasses&&c(this.target,l("target",i,o)),this.all.forEach((function(e){t.element.classList.remove(e),t.target.classList.remove(e)}))},p}(z);Y.modules=[],B.position=R;var X=m(Y,B);X.modules.push({initialize:function(){var t=this,e=this.options,i=e.classes,o=e.classPrefix;this.markers={},["target","element"].forEach((function(e){var n=document.createElement("div");n.className=l(e+"-marker",i,o);var s=document.createElement("div");s.className=l("marker-dot",i,o),n.appendChild(s),t[e].appendChild(n),t.markers[e]={dot:s,el:n}}))},position:function(t){var e={element:t.manualOffset,target:t.manualTargetOffset};for(var i in e){var o=e[i];for(var n in o){var r,a=o[n];(!s(a)||-1===a.indexOf("%")&&-1===a.indexOf("px"))&&(a+="px"),this.markers[i]&&(null==(r=this.markers[i].dot)?void 0:r.style[n])!==a&&(this.markers[i].dot.style[n]=a)}}return!0}});const U=X},311:t=>{"use strict";
2t.exports=jQuery}},e={};function i(o){var n=e[o];if(void 0!==n)return n.exports;var s=e[o]={exports:{}};return t[o].call(s.exports,s,s.exports,i),s.exports}i.amdO={},i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";i(801),i(666),i(604),i(679),i(669);const t=prestashop;var e,o=i.n(t),n=i(311),s=i.n(n);function r(t,e){var i=e.children().detach();e.empty().append(t.children().detach()),t.append(i)}function a(t){t?s()("*[id^='_desktop_']").each((function(t,e){var i=s()("#".concat(e.id.replace("_desktop_","_mobile_")));i.length&&r(s()(e),i)})):s()("*[id^='_mobile_']").each((function(t,e){var i=s()("#".concat(e.id.replace("_mobile_","_desktop_")));i.length&&r(s()(e),i)})),o().emit("responsive update",{mobile:t})}function l(t){t?s()("*[id^='_desktop_']").each((function(t,e){var i=s()("#".concat(e.id.replace("_desktop_","_tablet_")));i.length&&r(s()(e),i)})):s()("*[id^='_tablet_']").each((function(t,e){var i=s()("#".concat(e.id.replace("_tablet_","_desktop_")));i.length&&r(s()(e),i)}))}function c(t){var e=s()(".js-toggle-linklist-mobile").find("h3, h4, .h4");t?e.each((function(t,e){var i=s()(e).next();i.length&&(s()(e).addClass("toggle-linklist-title"),i.hide(),s()(e).on("click",(function(){i.stop().slideToggle()})))})):e.each((function(t,e){var i=s()(e).next();i.length&&(s()(e).off("click"),s()(e).removeClass("toggle-linklist-title"),i.show())}))}function d(t){var e=s()(".js-toggle-block-mobile");t?e.each((function(t,e){var i=s()(e).next();i.length&&(s()(e).addClass("toggle-block-title is-hide"),i.hide(),s()(e).on("click",(function(){i.stop().slideToggle(),s()(e).toggleClass("is-hide")})))})):e.each((function(t,e){var i=s()(e).next();i.length&&(s()(e).off("click"),s()(e).removeClass("toggle-block-title is-hide"),i.show())}))}function p(){s().each(s()("input.js-add-to-cart-quantity"),(function(t,e){s()(e).makeTouchSpin()}))}function h(){if("undefined"!=typeof varGetFinalDateMiniatureController){var t={};s()(".js-product-countdown-miniature").each((function(){t[s()(this).data("id-product")]=s()(this).data("specific-prices-to")})),s().isEmptyObject(t)||s().ajax({type:"GET",url:varGetFinalDateMiniatureController,data:{"specific-prices-to":JSON.stringify(t)},dataType:"json",success:function(t){s()(".js-product-countdown-miniature").each((function(){var e=s()(this);if(e.data("id-product")in t){e.html(t[e.data("id-product")]),setTimeout((function(){e.slideDown()}),500);var i=e.find("[data-final-date]");i.countdown(i.data("final-date")).on("update.countdown",(function(t){t.offset.totalDays<=0?i.html(t.strftime(i.data("short-format"))):i.html(t.strftime(i.data("format")))})).on("finish.countdown",(function(){i.parent().addClass("expired").html(i.data("expired"))}))}}))},error:function(t){console.log(t)}})}}function u(t){"in"==t?s()(".js-pending-query").fadeIn():s()(".js-pending-query").fadeOut()}function f(){if("undefined"!=typeof varProductCommentGradeController){var t=[];s()(".js-product-comment").each((function(){t.push(s()(this).data("id-product"))})),t.length&&s().ajax({type:"POST",url:varProductCommentGradeController,data:{ajax:!0,idProducts:JSON.stringify(t)},success:function(t){var e=!1;try{e=JSON.parse(t)}catch(t){}e&&s()(".js-product-comment").each((function(){var t=s()(this),i=t.data("id-product");i in e&&(s()(".grade-stars",t).rating({grade:e[i].average_grade,starWidth:16}),s()(".comments-nb",t).html("("+e[i].comments_nb+")"),t.slideDown())}))},error:function(t){console.log(t)}})}}function m(t){"in"==t?s()(".js-product-refresh-pending-query").fadeIn():s()(".js-product-refresh-pending-query").fadeOut()}function g(){s()("#product .zoomWrapper .js-main-zoom").css("position","static").unwrap(),s()("#product .zoomContainer").remove(),s()("#product .js-enable-zoom-image .js-main-zoom").elevateZoom({zoomType:"inner",gallery:"js-zoom-gallery",galleryActiveClass:"selected",imageCrossfade:!0,cursor:"crosshair",easing:!0,easingDuration:300,zoomWindowFadeIn:500,zoomWindowFadeOut:300})}function v(){var t=s()("#js_mfp_gallery");if(t.length){var e=t.data("text-close"),i=t.data("text-prev"),o=t.data("text-next");s()(".js_mfp_gallery_item").magnificPopup({type:"image",tClose:e,tLoa
2ding:'<div class="uil-spin-css"><div><div></div></div><div><div></div></div><div><div></div></div><div><div></div></div><div><div></div></div><div><div></div></div><div><div></div></div><div><div></div></div></div>',removalDelay:500,mainClass:"mfp-fade",closeOnBgClick:!0,gallery:{enabled:!0,tPrev:i,tNext:o,tCounter:"%curr% / %total%"},image:{verticalFit:!1,titleSrc:function(t){return t.el.attr("data-title")?"<span>"+t.el.attr("data-title")+"</span>":""}}}),s()(".js-mfp-button").on("click",(function(){s()(".js_mfp_gallery_item").filter('[data-id-image="'+s()("#js-zoom-gallery .js-thumb.selected").data("id-image")+'"]').trigger("click")}))}}function w(){s()(".js-cover-image .js-thumb").on("click",(function(t){s()(".js-thumb.selected").removeClass("selected"),s()(t.currentTarget).addClass("selected"),s()(".js-qv-product-cover").prop("src",s()(t.currentTarget).data("image"))}))}function y(){s()(".js-product-thumbs-scrollbox").makeFlexScrollBox(),s()(".js-mobile-images-scrollbox").makeFlexScrollBox()}function b(){s()(o().themeSelectors.fileInput).on("change",(function(t){var e=s()(t.currentTarget)[0],i=e?e.files[0]:null;e&&i&&s()(e).prev().text(i.name)}))}function x(){var t=s()(".js-product-attributes-source"),e=s()(".js-product-attributes-destination"),i=s()(".js-product-availability-source"),o=s()(".js-product-availability-destination");e.empty(),t.length&&e.html(t.html()),o.empty(),i.length&&o.html(i.html())}o().themeSelectors={product:{tabs:".tabs .nav-link",activeNavClass:"js-product-nav-active",activeTabClass:"js-product-tab-active",activeTabs:".tabs .nav-link.active, .js-product-nav-active",imagesModal:".js-product-images-modal",thumb:".js-thumb",thumbContainer:".thumb-container, .js-thumb-container",arrows:".js-arrows",selected:".selected, .js-thumb-selected",modalProductCover:".js-modal-product-cover",cover:".
2js-qv-product-cover",customizationModal:".js-customization-modal"},listing:{searchFilterToggler:"#search_filter_toggler, .js-search-toggler",searchFiltersWrapper:"#search_filters_wrapper",searchFilterControls:"#search_filter_controls",searchFilters:"#search_filters",activeSearchFilters:"#js-active-search-filters",listTop:"#js-product-list-top",product:".js-product",list:"#js-product-list",listBottom:"#js-product-list-bottom",listHeader:"#js-product-list-header",searchFiltersClearAll:".js-search-filters-clear-all",searchLink:".js-search-link"},order:{returnForm:"#order-return-form, .js-order-return-form"},arrowDown:".arrow-down, .js-arrow-down",arrowUp:".arrow-up, .js-arrow-up",clear:".clear",fileInput:".js-file-input",contentWrapper:"#content-wrapper, .js-content-wrapper",footer:"#footer, .js-footer",modalContent:".js-modal-content",modal:"#modal, .js-checkout-modal",touchspin:".js-touchspin",checkout:{termsLink:".js-terms a",giftCheckbox:".js-gift-checkbox",imagesLink:".card-block .cart-summary-products p a, .js-show-details",carrierExtraContent:".carrier-extra-content, .js-carrier-extra-content",btn:".checkout a"},cart:{productLineQty:".js-cart-line-product-quantity",quickview:".quickview",touchspin:".bootstrap-touchspin",promoCode:"#promo-code",displayPromo:".display-promo",promoCodeButton:".promo-code-button",discountCode:".js-discount .code",discountName:"[name=discount_name]",actions:'[data-link-action="delete-from-cart"], [data-link-action="remove-voucher"]'},notifications:{dangerAlert:"#notifications article.alert-danger",container:"#notifications .notifications-container"},passwordPolicy:{template:"#password-feedback",hint:".js-hint-password",container:".password-strength-feedback",strengthText:".password-strength-text",requirementScore:".password-requirements-score",requirementLength:".password-requirements-length",requirementScoreIcon:".password-requirements-score i",requirementLengthIcon:".password-requirements-length i",progressBar:".progress-bar",inputColumn:".js-input-column"}},s()(document).ready((function(){o().emit("themeSelectorsInit")})),i(886),o().responsive=o().responsive||{},o().responsive.min_width=768,o().responsive.tablet_min_width=992,o().responsive.scrollbar_width=function(){var t=document.createElement("p");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.visibility="hidden",e.style.width="200px",e.style.height="150px",e.style.overflow="hidden",e.appendChild(t),document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var o=t.offsetWidth;return i==o&&(o=e.clientWidth),document.body.removeChild(e),i-o}(),o().responsive.current_width=window.innerWidth,s()(document).ready((function(){o().responsive.mobile=o().responsive.current_width<o().responsive.min_width,o().responsive.tablet=o().responsive.current_width<o().responsive.tablet_min_width,o().responsive.mobile&&(a(o().responsive.mobile),d(o().responsive.mobile)),o().responsive.tablet&&(l(o().responsive.tablet),c(o().responsive.tablet))})),s()(window).on("resize",(function(){var t=o().responsive.current_width,e=o().responsive.min_width,i=o().responsive.tablet_min_width,n=window.innerWidth,s=t>=e&&n<e||t<e&&n>=e,r=t>=i&&n<i||t<i&&n>=i;o().responsive.current_width=n,o().responsive.mobile=o().responsive.current_width<o().responsive.min_width,o().responsive.tablet=o().responsive.current_width<o().responsive.tablet_min_width,s&&(a(o().responsive.mobile),d(o().responsive.mobile)),r&&(l(o().responsive.tablet),c(o().responsive.tablet))})),s()(document).ready((function(){var t,e,i;1===s()("body#checkout").length&&(s()(".js-terms a").on("click",(function(t){t.preventDefault();var e=s()(t.target).attr("href");e&&(e+="?content_only=1",s().get(e,(function(t){s()(".js-modal-content").html(s()(t).find(".page-cms").contents()),s()(".js-checkout-modal").modal("show")})).fail((function(t){o().emit("handleError",{eventType:"clickTerms",resp:t})})))})),s()(".js-gift-checkbox").on("click",(function(){s()("#gift").slideToggle()})),e=s()("#checkout-guest-form"),i=s()("#checkout-login-form"),e.length&&e.has(".help-block").length&&(i.hide(),e.show()),s()("body").on("click",".js-switch-personal-form",(function(t){var e=s()(s()(this).attr("href"));return s()(this).closest(".personal-form").fadeOut(400,(function(){e.fadeIn()})),!1})),s()("body").hasClass("a-mobile-device")&&s()("html").animate({scrollTop:s()(".checkout-step-order").offset().top-20},"slow"),t=function(){s()(".js-checkoutStepOrderBox [data-step-part-id]").each((function(){s()(this).removeClass("current reachable unreachable complete");var t=s()("#"+s()(this).data("step-part-id"));t.hasClass("-current")&&s()(this).addClass("current"),t.hasClass("-reachable")&&s()(this).addClass("reachable"),t.hasClass("-unreachable")&&s()(this).addClass("unreachable"),t.hasClass("-complete")&&s()(this).addClass("complete")}
2))},s()(".js-stepPart").each((function(){s()(".js-checkoutStepOrderBox").append(s()(this).html())})),t(),o().on("changedCheckoutStep",(function(e){t()})),s()("[data-step-part-id]").on("click",(function(){s()("#"+s()(this).data("step-part-id")).trigger("click")}))),o().on("updatedDeliveryForm",(function(t){void 0!==t.deliveryOption&&0!==t.deliveryOption.length&&(s()(".js-carrier-extra-content").hide(),t.deliveryOption.next(".js-carrier-extra-content").show())}))})),s()(document).ready((function(){s()("body#order-detail")&&s()("".concat(o().themeSelectors.order.returnForm," table thead input[type=checkbox]")).on("click",(function(){var t=s()(this).prop("checked");s()("".concat(o().themeSelectors.order.returnForm," table tbody input[type=checkbox]")).each((function(e,i){s()(i).prop("checked",t)}))}))})),s()(document).ready((function(){var t,e;t="#product_display_control a",e=window.localStorage||window.sessionStorage,s()("body").on("click",t,(function(i){i.preventDefault();var o=s()(this).data("view");s()(t).removeClass("selected"),s()(this).addClass("selected"),s()(".js-product-list-view").removeClass("grid list table-view").addClass(o);try{e.setItem("productListView",o)}catch(t){console.log("Can not cache productListView")}})),e.productListView?s()(t+'[data-view="'+e.productListView+'"]').trigger("click"):s()(t+".selected").trigger("click");var i=window.location.href;s()(o().themeSelectors.listing.list).length&&window.addEventListener("popstate",(function(t){var e=t.state;window.location.href=e&&e.current_url?e.current_url:i}))})),s()(window).on("load",(function(){var t,e;!function(){s()("body").on("click",'[data-link-action="quickview"]',(function(t){s()(this).find(".js-waitting-quickview").length||s()(this).append('<div class="js-waitting-quickview page-loading-overlay quickview-loading"><div class="page-loading-backdrop"><span class="uil-spin-css"><span><span></span></span><span><span></span></span><span><span></span></span><span><span></span></span><span><span></span></span><span><span></span></span><span><span></span></span><span><span></span></span></span></div></div>'),s()(this).addClass("disabled")})),o().on("clickQuickView",(function(e){var i={action:"quickview",id_product:e.dataset.idProduct,id_product_attribute:e.dataset.idProductAttribute};s().post(o().urls.pages.product,i,null,"json").then((function(e){s()("body").append(e.quickview_html);var i=s()("#quickview-modal-"+e.product.id+"-"+e.product.id_product_attribute);i.modal("show"),t(i),i.on("hidden.bs.modal",(function(){i.remove()})),s()('[data-link-action="quickview"]').removeClass("disabled")})).fail((function(t){o().emit("handleError",{eventType:"clickQuickView",resp:t})}))}));var t=function(t){var e=t.find(".js-product-thumbs-scrollbox"),i=t.find(".js-thumb"),o=t.find(".js-qv-product-cover"),n=t.find("#quantity_wanted"),r=t.find(".js-product-attributes-source"),a=t.find(".js-product-attributes-destination"),l=t.find(".js-product-availability-source"),c=t.find(".js-product-availability-destination");"undefined"!=typeof varGetFinalDateController&&setTimeout((function(){t.find(".js-product-countdown").runCountdown({specificPricesTo:t.find(".js-product-countdown").attr("data-specific-prices-to"),getFinalDateController:varGetFinalDateController})}),300),a.empty(),r.length&&a.html(r.html()),c.empty(),l.length&&c.html(l.html()),i.on("click",(function(t){i.removeClass("selected"),s()(t.currentTarget).addClass("selected"),o.attr("src",s()(t.currentTarget).data("image"))})),setTimeout((function(){e.makeFlexScrollBox()}),500),n.makeTouchSpin()}}(),!1===o().configuration.is_catalog&&s()("body").on("click",".js-ajax-add-to-cart",(function(t){t.preventDefault();var e=s()(this);e.find(".js-waitting-addtocart").length||s()(this).append('<div class="js-waitting-addtocart page-loading-overlay add-to-cart-loading"><div class="page-loading-backdrop"><span class="uil-spin-css"><span><span></span></span><span><span></span></span><span><span></span></span><span><span></span></span><span><span></span></span><span><span></span></span><span><span></span></span><span><span></span></span></span></div></div>'),e.removeClass("added").addClass("disabled");var i=o().urls.pages.cart,n="id_product="+e.data("id-product")+"&id_product_attribute="+e.data("id-product-attribute")+"&add=1&action=update&token="+o().static_token,r=1,a=e.closest(".
2js-product-miniature").find(".js-add-to-cart-quantity");return a.length&&parseInt(a.val())>1&&(r=parseInt(a.val())),n=n+"&qty="+r,s().post(i,n,null,"json").then((function(t){o().emit("updateCart",{reason:{idProduct:t.id_product,idProductAttribute:t.id_product_attribute,linkAction:"add-to-cart"},resp:t}),t.success&&("undefined"!=typeof varPSAjaxCart&&varPSAjaxCart?e.addClass("added"):window.location.href=o().urls.pages.cart+"?action=show"),t.hasError&&(s()(".js-modal-message-text").text(t.errors[0]),s()(".js-modal-message").modal("show"))})).fail((function(t){o().emit("handleError",{eventType:"addProductToCart",resp:t})})),!1})),h(),s()("body").on("click","#search_filter_toggler",(function(){s()("#_mobile_search_filters").stop().slideToggle()})),s()("#search_filter_controls .ok").on("click",(function(){s()("#_mobile_search_filters").stop().slideUp()})),p(),t=window.localStorage||window.sessionStorage,e=function(t){if(void 0!==t.target.dataset.searchUrl)return t.target.dataset.searchUrl;if(void 0===s()(t.target).parent()[0].dataset.searchUrl)throw new Error("Can not parse search URL");return s()(t.target).parent()[0].dataset.searchUrl},s()("body").on("change","#search_filters input[data-search-url]",(function(t){o().emit("updateFacets",e(t))})),s()("body").on("click",".js-search-filters-clear-all",(function(t){o().emit("updateFacets",e(t))})),s()("body").on("click",".js-search-link",(function(t){t.preventDefault(),o().emit("updateFacets",s()(t.target).closest("a").get(0).href)})),s()("body").on("change","#search_filters select",(function(t){var e=s()(t.target).closest("form");o().emit("updateFacets","?"+e.serialize())})),o().on("updateFacets",(function(){u("in")})),o().on("updateProductList",(function(e){!function(t){s()(o().themeSelectors.listing.searchFilters).replaceWith(t.rendered_facets),s()(o().themeSelectors.listing.activeSearchFilters).replaceWith(t.rendered_active_filters),s()(o().themeSelectors.listing.listTop).replaceWith(t.rendered_products_top),s()(o().themeSelectors.listing.list).replaceWith(t.rendered_products),s()(o().themeSelectors.listing.listBottom).replaceWith(t.rendered_products_bottom)}(e),t&&t.productListView&&s()('#product_display_control a[data-view="'+t.productListView+'"]').trigger("click"),setTimeout((function(){p(),u("out"),h(),f()}),200),s()("#js-filter-scroll-here").length&&s().smoothScroll({scrollTarget:"#js-filter-scroll-here",offset:-75})})),setTimeout((function(){f()}),300)})),s()(document).ready((function(){var t;(t=s()(o().selectors.quantityWanted)).makeTouchSpin(),s()(o().themeSelectors.touchspin).off("touchstart.touchspin"),t.on("focusout",(function(){(""===t.val()||t.val()<t.attr("min"))&&(t.val(t.attr("min")),t.trigger("change"))})),s()("body").on("change keyup",o().selectors.quantityWanted,(function(e){""!==t.val()&&(s()(e.currentTarget).trigger("touchspin.stopspin"),o().emit("updateProduct",{eventType:"updatedProductQuantity",event:e}))})),b(),g(),v(),w(),y(),x(),s()('.js-product-accordions [data-toggle="collapse"]').on("click",(function(){s()(this).closest(".panel").toggleClass("active")})),s()("body").on("change",".product-variants *[name]",(function(){m("in")})),o().on("updatedProduct",(function(t){b(),g(),w(),y(),x(),t&&t.product_minimal_quantity&&s()(o().selectors.quantityWanted).trigger("touchspin.updatesettings",{min:parseInt(t.product_minimal_quantity,10)}),s()("#js_mfp_gallery").replaceWith(t.product_images_modal),v(),m("out"),s()('[data-button-action="add-to-cart"]').is(":disabled")?s()(".product-add-to-cart").addClass("add-to-cart-disabled"):s()(".product-add-to-cart").removeClass("add-to-cart-disabled")})),s()("body").off("click",'[data-button-action="add-to-cart"]'),s()("body").on("click",'[data-button-action="add-to-cart"]',(function(t){t.preventDefault();var e,i=s()(this);if(s()("#quantity_wanted").val()>s()("[data-stock]").data("stock")&&0===s()("[data-allow-oosp]").data("allow-oosp").length)i.attr("disabled","disabled");else{var n=s()(t.target).closest("form"),r=n.serialize()+"&add=1&action=update",a=n.attr("action"),l=function(t){t.parents(".product-add-to-cart").first().find(".product-minimal-quantity").addClass("error"),t.parent().find("label").addClass("error")},c=n.find("input[min]");if(e=!0,c.each((function(t,i){var o=s()(i),n=parseInt(o.attr("min"),10);n&&o.val()<n&&(l(o),e=!1)})),!e)return void l(c);i.removeClass("added").addClass("disabled"),s().post(a,r,null,"json").then((function(t){o().emit("updateCart",{reason:{idProduct:t.id_product,idProductAttribute:t.id_product_attribute,idCustomization:t.id_customization,linkAction:"add-to-cart",cart:t.cart},resp:t}),t.success&&("undefined"!=typeof varPSAjaxCart&&varPSAjaxCart?i.addClass("added"):window.location.href=o().urls.pages.cart+"?action=show")})).fail((function(t){o().emit("handleError",{eventType:"addProductToCart",resp:t})}))}}))})),s()(window).on("resize",(function(){clearTimeout(e),e=setTimeout((function(){g()}),250)})),o().cart=o().cart||{},o().cart.active_inputs=null;var _='input[name="product-quantity-spin"]',S=!1,k=!1,T="",C=function(t){var e=t.hasError,i=t.errors;S=null!=e&&e;var o=null!=i?i:"";T=o instanceof Array?o.join(" "):o,k=!0};function z(){s().each(s()(_),(function(t,e){s()(e).makeTouchSpin()})),s()(o().themeSelectors.touchspin).off("touchstart.touchspin"),function(){var t=s()(o().themeSelectors.checkout.btn);if((s()(o().themeSelectors.notifications.dangerAlert).length||""!==T&&!S)&&t.addClass("disabled"),""!==T){var e='<article class="alert alert-danger" role="alert" data-alert="danger"><ul><li>'+T+"</li></ul></article>";s()(o().themeSelectors.notifications.container).html(e),T="",k=!1,S&&t.removeClass("disabled")}else!S&&k&&(S=!1,k=!1,s()(o().themeSelectors.notifications.container).html(""),t.removeClass("disabled"))}()}var E=function(t){return!window.shouldPreventModal||(t.preventDefault(),!1)};s()(document).ready((function(){var t=o().themeSelectors.cart.productLineQty,e=[];o().on("updateCart",(function(){s()(o().themeSelectors.cart.quickview).modal("hide")})),o().on("updatedCart",(function(){window.shouldPreventModal=!1,s()(o().themeSelectors.product.customizationModal).on("show.bs.modal",(function(t){E(t)})),z()})),z();var i=s()("body");function n(t){var e,i,o=t.split("-"),n="";for(e=0;e<o.length;e++)i=o[e],0!==e&&(i=i.substring(0,1).toUpperCase()+i.substring(1)),n+=i;return n}var r=function(){for(;e.length>0;)e.pop().abort()};function a(t){var i=s()(t.currentTarget),n=i.data("update-url"),a=i.attr("value"),l=i.val();if(l!=parseInt(l,10)||l<0||isNaN(l))return window.shouldPreventModal=!1,void i.val(a);var c,d,p=l-a;0!=p&&("0"===l?i.closest(".product-line-actions").find('[data-link-action="delete-from-cart"]').click():(i.attr("value",l),function(t,i,n){r(),window.shouldPreventModal=!0,s()(".js-cart-update-quantity").fadeIn(),s().ajax({url:t,method:"POST",data:i,dataType:"json",beforeSend:function(t){e.push(t)}}).then((function(t){if(C(t),n.val(t.quantity),t.hasError)s()(".js-cart-update-voucher, .js-cart-update-quantity").fadeOut(),s()(".js-modal-message-text").text(t.errors[0]),s()(".js-modal-message").modal("show");else{var e=n&&n.dataset?n.dataset:t;o().emit("updateCart",{reason:e,resp:t})}})).fail((function(t){o().emit("handleError",{eventType:"updateProductQuantityInCart",resp:t})}))}(n,(c=p,{ajax:"1",qty:Math.abs(c),action:"update",op:(d=c,d>0?"up":"down")}),i)))}s()(o().themeSelectors.product.customizationModal).on("show.bs.modal",(function(t){E(t)})),i.on("click",o().themeSelectors.cart.actions,(function(i){r(),window.shouldPreventModal=!0,i.preventDefault();var a=s()(i.currentTarget),l=i.currentTarget.dataset,c=function(e,i){if(!function(t){return"on.startupspin"===t||"on.startdownspin"===t}(i))return{url:e.attr("href"),type:n(e.data("link-action"))};var s,r=function(e){var i=e.parents(o().themeSelectors.cart.touchspin).find(t);return i.is(":focus")?null:i}(e);return!!r&&(s=function(t){return"on.startupspin"===t}(i)?{url:r.data("up-url"),type:"increaseProductQuantity"}:{url:r.data("down-url"),type:"decreaseProductQuantity"},s)}(a,i.namespace);c&&("removeVoucher"==c.type?s()(".js-cart-update-voucher").fadeIn():s()(".js-cart-update-quantity").fadeIn(),s().ajax({url:c.url,method:"POST",data:{ajax:"1",action:"update"},dataType:"json",beforeSend:function(t){e.push(t)}}).then((function(t){var e,i=(e=a,s()(e.parents(o().themeSelectors.cart.touchspin).find("input")));C(t),i.val(t.quantity),t.hasError?(s()(".js-cart-update-voucher, .js-cart-update-quantity").fadeOut(),s()(".js-modal-message-text").text(t.errors[0]),s()(".js-modal-message").modal("show")):o().emit("updateCart",{reason:l,resp:t})})).fail((function(t){o().emit("handleError",{eventType:"updateProductInCart",resp:t,cartAction:c.type})})))})),i.on("touchspin.on.stopspin",_,function(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return function(){for(var o=arguments.length,n=new Array(o),s=0;s<o;s++)n[s]=arguments[s];clearTimeout(e),e=setTimeout((function(){t.apply(this,n)}),i)}}(a)),i.on("focusout keyup",t,(function(t){return"keyup"===t.type?(13===t.keyCode&&(k=!0,a(t)),!1):(k||a(t),!1)})),i.on("click",o().themeSelectors.cart.discountCode,(function(t){t.stopPropagation();var e=s()(t.currentTarget);return s()("[name=discount_name]").val(e.text()),!1})),s()("body").off("submit",'[data-link-action="add-voucher"]'),s()("body").on("submit",'[data-link-action="add-voucher"]',(function(t){t.preventDefault();var e=s()(t.currentTarget),i=e.attr("action");0===e.find("[name=action]").length&&(e.append(s()("<input>",{type:"hidden",name:"ajax",value:1})),e.append(s()("<input>",{type:"hidden",name:"action",value:"update"}))),s()(".js-cart-update-voucher").fadeIn(),s().post(i,e.serialize(),null,"json").then((function(e){e.hasError?(s()(".js-cart-update-voucher, .js-cart-update-quantity").fadeOut(),s()(".js-error").show().find(".js-error-text").text(e.errors[0])):o().emit("updateCart",{reason:t.target.dataset,resp:e})})).fail((function(t){o().emit("handleError",{eventType:"updateCart",resp:t})}))}))})),i(46),i(356),i(625),i(489),i(25),i(259),i(228),i(818),i(130),i(681),i(568),i(968),i(193);var O=i(187),L=i.n(O),A=i(975);function I(t,e,i,o,n,s,r){try{var a=t[s](r),l=a.value}catch(t){return void i(t)}a.done?e(l):Promise.resolve(l).then(o,n)}i(76);var j=prestashop.themeSelectors.passwordPolicy,W=function(t){switch(t){case 0:case 1:return{color:"bg-danger"};case 2:return{color:"bg-warning"};case 3:case 4:return{color:"bg-success"};default:throw new Error("Invalid password strength indicator.")}},P=function(){var t,e=(t=regeneratorRuntime.mark((function t(e,i,o){var n,s,r,a,l,c,d,p,h,u,f,m;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=window,s=n.prestashop,r=e.value,a=i.querySelector(j.requirementScoreIcon),t.next=5,s.checkPasswordScore(r);case 5:l=t.sent,c=W(l.score),d=r.length,p=[],$(e).popover("dispose"),i.style.display=""===r?"none":"block",""!==l.feedback.warning&&l.feedback.warning in o&&p.push(o[l.feedback.warning]),l.feedback.suggestions.forEach((function(t){t in o&&p.push(o[t])})),$(e).popover({html:!0,placement:"top",content:p.join("<br/>")}).popover("show"),h=d>=parseInt(e.dataset.minlength,10)&&d<=parseInt(e.dataset.maxlength,10),u=parseInt(e.dataset.minscore,10)<=l.score,i.querySelector(j.requirementLengthIcon).classList.toggle("text-success",h),a.classList.toggle("text-success",u),e.classList.remove("border-success","border-danger"),e.classList.add(u&&h?"border-success":"border-danger"),e.classList.add("form-control","border"),f=20*l.score+20,(m=i.querySelector(j.progressBar))&&(m.style.width="".concat(f,"%"),m.classList.remove("bg-success","bg-danger","bg-warning"),m.classList.add(c.color));case 24:case"end":return t.stop()}}),t)})),function(){var e=this,i=arguments;return new Promise((function(o,n){var s=t.apply(e,i);function r(t){I(s,o,n,r,a,"next",t)}function a(t){I(s,o,n,r,a,"throw",t)}r(void 0)}))});return function(t,i,o){return e.apply(this,arguments)}}();for(var M in o().blockcart=o().blockcart||{},o().blockcart.showModal=function(t){function e(){return s()("#blockcart-modal")}var i=e();i.length&&i.remove(),s()("body").append(t),(i=e()).modal("show").on("hidden.bs.modal",(function(t){o().emit("updateProduct",{reason:t.currentTarget.dataset,event:t})}))},s()(document).ready((function(){var t=!1;"1"==prestashop.language.is_rtl&&(t=!0),function(t){var e=".js-featuredproducts-slider, .js-newproducts-slider, .js-s
2pecialproducts-slider, .js-bestsellerproducts-slider";s()(e).slick({slidesToShow:5,slidesToScroll:5,adaptiveHeight:!0,infinite:!0,speed:1e3,autoplay:!1,dots:!1,arrows:!0,draggable:!1,rtl:t,responsive:[{breakpoint:1220,settings:{slidesToShow:4,slidesToScroll:4}},{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:2}}]}),s()(e).on("beforeChange",(function(t,i,o,n){s()(e).find(".slick-active img.js-lazy").trigger("appear")}))}(t),function(t){var e=".js-crossselling-slider, .js-viewedproduct-slider, .js-accessories-slider, .js-category-products-slider";s()(e).slick({slidesToShow:6,slidesToScroll:6,adaptiveHeight:!0,infinite:!0,speed:1e3,autoplay:!1,dots:!1,arrows:!0,draggable:!1,rtl:t,responsive:[{breakpoint:1220,settings:{slidesToShow:4,slidesToScroll:4}},{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:2}}]}),s()(e).on("beforeChange",(function(t,i,o,n){s()(e).find(".slick-active img.js-lazy").trigger("appear")}))}(t),s()(".js-product-page-mobile-slider").each((function(){s()(this).on("scroll",(function(){s()(this).scrollLeft()&&s()("img.js-lazy",s()(this)).trigger("appear")}))}))})),i(957),i(212),i(554),i(167),i(808),i(988),i(52),i(831),i(77),i(800),i(501),i(997),i(57),L().prototype)o()[M]=L().prototype[M];s()(document).ready((function(){!function(t){var e,i=document.querySelector(t),o=null==i?void 0:i.querySelector(j.inputColumn),n=null==i?void 0:i.querySelector("input"),s=document.createElement("div"),r=document.querySelector(j.template);if(r&&i&&o&&n&&(s.innerHTML=r.innerHTML,o.append(s),e=i.querySelector(j.container))){var a=document.querySelector(j.hint);if(a){var l=JSON.parse(a.innerHTML),c=e.querySelector(j.requirementLength),d=e.querySelector(j.requirementScore),p=null==c?void 0:c.querySelector("span"),h=null==d?void 0:d.querySelector("span");p&&c&&c.dataset.translation&&(p.innerText=(0,A.sprintf)(c.dataset.translation,n.dataset.minlength,n.dataset.maxlength)),h&&d&&d.dataset.translation&&(h.innerText=(0,A.sprintf)(d.dataset.translation,l[n.dataset.minscore])),n.addEventListener("keyup",(function(){P(n,e,l)})),n.addEventListener("blur",(function(){$(n).popover("dispose")}))}}i||new Error("The password policy elements are undefined.")}(".field-password-policy")}))})()})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.