(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9393],{94824:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)throw s;return[2]}))}))}))}},68950:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regularExpressions=void 0,t.regularExpressions={username:/^(?=.{3,30}$)([\s]*[\u0020\u0021\u0023-\u0026\u0028-\u003B\u003D\u003F-\uFFFF]?)*$/,email:/^.+@.+\.?.*$/i,emailStrong:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,password:/^((?!.*[\u0022\u0027\u003C\u003E])[\u0021-\u007Eа-яА-ЯÀÈÌÒÙàèìòùÁÉÍÓÚÝáéíóúýÂÊÎÔÛâêîôûÃÑÕãñõÄËÏÖÜŸäëïöüÿŸ¡¿çÇŒœßØøÅ寿ÞþÐð\d]{6,40})$/i,astralSymbols:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,contactNumber:/^\+?[\d\-\)\(]{5,17}$/,website:/^((https?):\/\/)?(((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-fA-F]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-fA-F]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-fA-F]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-fA-F]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-fA-F]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/}},68884:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]{if(!t){const e="Popup window failed to open! Please check your browser settings";return console.debug(e),s(e)}const a=()=>i.safeCloseWindow(t),l=o.watchWindowIfClosed(t,(()=>(n({canceled:!0}),a()))),c=()=>{l(),a()},u=r.subscribeForAuthenticationResponse(e,(e=>(u(),function(e){return!(!e.errors&&!e.error)}(e)?(n(e),c()):e.authProvider?(n({ok:!0,data:e}),c()):(n(Object.assign({error:"No authentication provider in respnse!"},e)),c()))))}))}},82083:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOpenWindowFeatures=void 0,t.getOpenWindowFeatures=(e={width:520,height:500})=>{const t=(({width:e,height:t})=>{let n=250,r=250;try{n=window.top.outerWidth/2+(window.top.screenX-e/2),r=window.top.outerHeight/2+(window.top.screenY-t/2)}catch(e){}return{left:n,top:r}})(e);return`scrollbars=yes,resizable=yes,toolbar=no,location=no,titlebar=no, left=${t.left}, top=${t.top}, width=${e.width}, height=${e.height}`}},93326:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(42463),t)},79927:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.safeCloseWindow=void 0,t.safeCloseWindow=function(e){e&&!e.closed&&e.close&&e.close()}},67970:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeForAuthenticationResponse=void 0,t.subscribeForAuthenticationResponse=function(e,t){const n=function(e,t){const n=`[socialAuth][messageListener][${e}]`;return r=>{r.origin===window.origin||"http://jest.local"===window.origin?(r.data.authProvider&&r.data.authProvider===e&&(console.debug(n,"Provider matched",r.data),t(r.data)),r.data.authProvider||(console.debug(n,"No provider, seems like error, accepting for all listeners!",r.data),t(r.data))):console.debug(n,`event origin is not secure, origin: ${r.origin}`,r.data)}}(e,t);return window.addEventListener("message",n,!1),()=>{window.removeEventListener("message",n)}}},7427:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watchWindowIfClosed=void 0,t.watchWindowIfClosed=(e,t,n=100)=>{let r=!1;const i=()=>{if(!r)return!e||e.closed?(t(),void(r=!0)):void setTimeout(i,n)};return i(),()=>{r=!0}}},12297:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAuthenticationStateDto=void 0,t.getAuthenticationStateDto=(e,t)=>Object.assign(Object.assign({pn:e},t.state),{redirect_uri:t.redirectURL})},28054:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.facebookAuthenticate=t.generageFacebookPopupUrl=void 0;const r=n(93326),i=n(82083),o=n(12297),s=n(39920),a={width:450,height:450},l="facebook";t.generageFacebookPopupUrl=e=>{const t=encodeURIComponent(s.encodeState(o.getAuthenticationStateDto(l,e))),n=encodeURIComponent(e.redirectURL);return`https://www.facebook.com/dialog/oauth?response_type=code&scope=email&display=popup&client_id=${e.clientId}&redirect_uri=${n}&state=${t}`},t.facebookAuthenticate=e=>{const n=t.generageFacebookPopupUrl(e),o=window.open(n,l,i.getOpenWindowFeatures(a));return r.getAuthenticationResponse(l,o)}},98894:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.googleAuthenticate=t.generageGooglePopupUrl=void 0;const r=n(93326),i=n(82083),o=n(12297),s=n(39920),a="google";t.generageGooglePopupUrl=e=>{const t=encodeURIComponent(s.encodeState(o.getAuthenticationStateDto(a,e))),n=encodeURIComponent(e.redirectURL);return`https://accounts.google.com/o/oauth2/auth?response_type=code&scope=email%20profile&client_id=${e.clientId}&redirect_uri=${n}&state=${t}`},t.googleAuthenticate=function(e){const n=t.generageGooglePopupUrl(e),o=window.open(n,a,i.getOpenWindowFeatures());return r.getAuthenticationResponse(a,o)}},89570:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.twitchAuthenticate=t.generateTwitchPopupUrl=void 0;const r=n(93326),i=n(82083),o=n(12297),s=n(39920),a="twitch";t.generateTwitchPopupUrl=e=>{const t=encodeURIComponent(s.encodeState(o.getAuthenticationStateDto(a,e))),n=encodeURIComponent(e.redirectURL);return`https://id.twitch.tv/oauth2/authorize?response_type=code&scope=user%3Aread%3Aemail&client_id=${e.clientId}&redirect_uri=${n}&state=${t}`},t.twitchAuthenticate=function(e){const n=t.generateTwitchPopupUrl(e),o=window.open(n,a,i.getOpenWindowFeatures());return r.getAuthenticationResponse(a,o)}},39920:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeState=void 0,t.encodeState=function(e){return window.btoa(encodeURIComponent(JSON.stringify(e)))}},56323:function(e,t,n){"use strict";t.qv=t.DF=t.ad=t.Ly=void 0;var r=n(2916);Object.defineProperty(t,"Ly",{enumerable:!0,get:function(){return r.sessionTypes}});var i=n(28054);Object.defineProperty(t,"ad",{enumerable:!0,get:function(){return i.facebookAuthenticate}});var o=n(98894);Object.defineProperty(t,"DF",{enumerable:!0,get:function(){return o.googleAuthenticate}});var s=n(89570);Object.defineProperty(t,"qv",{enumerable:!0,get:function(){return s.twitchAuthenticate}});n(59793)},17211:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return e instanceof r(e).Element||e instanceof Element}function o(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,{fi:function(){return le}});var a=Math.max,l=Math.min,c=Math.round;function u(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(o(e)&&t){var s=e.offsetHeight,a=e.offsetWidth;a>0&&(r=c(n.width)/a||1),s>0&&(i=c(n.height)/s||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function d(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function p(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return u(f(e)).left+d(e).scrollLeft}function g(e){return r(e).getComputedStyle(e)}function m(e){var t=g(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function v(e,t,n){void 0===n&&(n=!1);var i,s,a=o(t),l=o(t)&&function(e){var t=e.getBoundingClientRect(),n=c(t.width)/e.offsetWidth||1,r=c(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),g=f(t),v=u(e,l),w={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(a||!a&&!n)&&(("body"!==p(t)||m(g))&&(w=(i=t)!==r(i)&&o(i)?{scrollLeft:(s=i).scrollLeft,scrollTop:s.scrollTop}:d(i)),o(t)?((b=u(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):g&&(b.x=h(g))),{x:v.left+w.scrollLeft-b.x,y:v.top+w.scrollTop-b.y,width:v.width,height:v.height}}function w(e){var t=u(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function b(e){return"html"===p(e)?e:e.assignedSlot||e.parentNode||(s(e)?e.host:null)||f(e)}function y(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:o(e)&&m(e)?e:y(b(e))}function A(e,t){var n;void 0===t&&(t=[]);var i=y(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),s=r(i),a=o?[s].concat(s.visualViewport||[],m(i)?i:[]):i,l=t.concat(a);return o?l:l.concat(A(b(a)))}function E(e){return["table","td","th"].indexOf(p(e))>=0}function x(e){return o(e)&&"fixed"!==g(e).position?e.offsetParent:null}function C(e){for(var t=r(e),n=x(e);n&&E(n)&&"static"===g(n).position;)n=x(n);return n&&("html"===p(n)||"body"===p(n)&&"static"===g(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&o(e)&&"fixed"===g(e).position)return null;var n=b(e);for(s(n)&&(n=n.host);o(n)&&["html","body"].indexOf(p(n))<0;){var r=g(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var S="top",I="bottom",O="right",T="left",M="auto",_=[S,I,O,T],k="start",P="end",D="viewport",B="popper",F=_.reduce((function(e,t){return e.concat([t+"-"+k,t+"-"+P])}),[]),L=[].concat(_,[M]).reduce((function(e,t){return e.concat([t,t+"-"+k,t+"-"+P])}),[]),j=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function R(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}var z={placement:"bottom",modifiers:[],strategy:"absolute"};function Q(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function W(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?N(i):null,s=i?U(i):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case S:t={x:a,y:n.y-r.height};break;case I:t={x:a,y:n.y+n.height};break;case O:t={x:n.x+n.width,y:l};break;case T:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?H(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case k:t[c]=t[c]-(n[u]/2-r[u]/2);break;case P:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V(e){var t,n=e.popper,i=e.popperRect,o=e.placement,s=e.variation,a=e.offsets,l=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,h=e.isFixed,m=a.x,v=void 0===m?0:m,w=a.y,b=void 0===w?0:w,y="function"==typeof p?p({x:v,y:b}):{x:v,y:b};v=y.x,b=y.y;var A=a.hasOwnProperty("x"),E=a.hasOwnProperty("y"),x=T,M=S,_=window;if(d){var k=C(n),D="clientHeight",B="clientWidth";k===r(n)&&"static"!==g(k=f(n)).position&&"absolute"===l&&(D="scrollHeight",B="scrollWidth"),(o===S||(o===T||o===O)&&s===P)&&(M=I,b-=(h&&k===_&&_.visualViewport?_.visualViewport.height:k[D])-i.height,b*=u?1:-1),o!==T&&(o!==S&&o!==I||s!==P)||(x=O,v-=(h&&k===_&&_.visualViewport?_.visualViewport.width:k[B])-i.width,v*=u?1:-1)}var F,L=Object.assign({position:l},d&&q),j=!0===p?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:c(t*r)/r||0,y:c(n*r)/r||0}}({x:v,y:b}):{x:v,y:b};return v=j.x,b=j.y,u?Object.assign({},L,((F={})[M]=E?"0":"",F[x]=A?"0":"",F.transform=(_.devicePixelRatio||1)<=1?"translate("+v+"px, "+b+"px)":"translate3d("+v+"px, "+b+"px, 0)",F)):Object.assign({},L,((t={})[M]=E?b+"px":"",t[x]=A?v+"px":"",t.transform="",t))}var Y={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,(function(e){return Y[e]}))}var Z={start:"end",end:"start"};function K(e){return e.replace(/start|end/g,(function(e){return Z[e]}))}function J(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&s(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function te(e,t){return t===D?ee(function(e){var t=r(e),n=f(e),i=t.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;return i&&(o=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,l=i.offsetTop)),{width:o,height:s,x:a+h(e),y:l}}(e)):i(t)?function(e){var t=u(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ee(function(e){var t,n=f(e),r=d(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=a(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=a(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+h(e),c=-r.scrollTop;return"rtl"===g(i||n).direction&&(l+=a(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:l,y:c}}(f(e)))}function ne(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function re(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ie(e,t){void 0===t&&(t={});var n=t,r=n.placement,s=void 0===r?e.placement:r,c=n.boundary,d=void 0===c?"clippingParents":c,h=n.rootBoundary,m=void 0===h?D:h,v=n.elementContext,w=void 0===v?B:v,y=n.altBoundary,E=void 0!==y&&y,x=n.padding,T=void 0===x?0:x,M=ne("number"!=typeof T?T:re(T,_)),k=w===B?"reference":B,P=e.rects.popper,F=e.elements[E?k:w],L=function(e,t,n){var r="clippingParents"===t?function(e){var t=A(b(e)),n=["absolute","fixed"].indexOf(g(e).position)>=0&&o(e)?C(e):e;return i(n)?t.filter((function(e){return i(e)&&J(e,n)&&"body"!==p(e)})):[]}(e):[].concat(t),s=[].concat(r,[n]),c=s[0],u=s.reduce((function(t,n){var r=te(e,n);return t.top=a(r.top,t.top),t.right=l(r.right,t.right),t.bottom=l(r.bottom,t.bottom),t.left=a(r.left,t.left),t}),te(e,c));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}(i(F)?F:F.contextElement||f(e.elements.popper),d,m),j=u(e.elements.reference),R=W({reference:j,element:P,strategy:"absolute",placement:s}),z=ee(Object.assign({},P,R)),Q=w===B?z:j,$={top:L.top-Q.top+M.top,bottom:Q.bottom-L.bottom+M.bottom,left:L.left-Q.left+M.left,right:Q.right-L.right+M.right},G=e.modifiersData.offset;if(w===B&&G){var N=G[s];Object.keys($).forEach((function(e){var t=[O,I].indexOf(e)>=0?1:-1,n=[S,I].indexOf(e)>=0?"y":"x";$[e]+=N[n]*t}))}return $}function oe(e,t,n){return a(e,l(t,n))}function se(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ae(e){return[S,O,I,T].some((function(t){return e[t]>=0}))}var le=$({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,s=void 0===o||o,a=i.resize,l=void 0===a||a,c=r(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach((function(e){e.addEventListener("scroll",n.update,G)})),l&&c.addEventListener("resize",n.update,G),function(){s&&u.forEach((function(e){e.removeEventListener("scroll",n.update,G)})),l&&c.removeEventListener("resize",n.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=W({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:N(t.placement),variation:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,V(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,V(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];o(i)&&p(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});o(r)&&p(r)&&(Object.assign(r.style,s),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,s=L.reduce((function(e,n){return e[n]=function(e,t,n){var r=N(e),i=[T,S].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[T,O].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,o),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,v=N(m),w=l||(v!==m&&h?function(e){if(N(e)===M)return[];var t=X(e);return[K(e),t,K(t)]}(m):[X(m)]),b=[m].concat(w).reduce((function(e,n){return e.concat(N(n)===M?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?L:l,u=U(r),d=u?a?F:F.filter((function(e){return U(e)===u})):_,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=ie(e,{placement:n,boundary:i,rootBoundary:o,padding:s})[N(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:g}):n)}),[]),y=t.rects.reference,A=t.rects.popper,E=new Map,x=!0,C=b[0],P=0;P=0,z=R?"width":"height",Q=ie(t,{placement:D,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),$=R?j?O:T:j?I:S;y[z]>A[z]&&($=X($));var G=X($),H=[];if(o&&H.push(Q[B]<=0),a&&H.push(Q[$]<=0,Q[G]<=0),H.every((function(e){return e}))){C=D,x=!1;break}E.set(D,H)}if(x)for(var W=function(e){var t=b.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},q=h?3:1;q>0&&"break"!==W(q);q--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,s=n.altAxis,c=void 0!==s&&s,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.padding,h=n.tether,g=void 0===h||h,m=n.tetherOffset,v=void 0===m?0:m,b=ie(t,{boundary:u,rootBoundary:d,padding:f,altBoundary:p}),y=N(t.placement),A=U(t.placement),E=!A,x=H(y),M="x"===x?"y":"x",_=t.modifiersData.popperOffsets,P=t.rects.reference,D=t.rects.popper,B="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,F="number"==typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(_){if(o){var R,z="y"===x?S:T,Q="y"===x?I:O,$="y"===x?"height":"width",G=_[x],W=G+b[z],q=G-b[Q],V=g?-D[$]/2:0,Y=A===k?P[$]:D[$],X=A===k?-D[$]:-P[$],Z=t.elements.arrow,K=g&&Z?w(Z):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=J[z],te=J[Q],ne=oe(0,P[$],K[$]),re=E?P[$]/2-V-ne-ee-F.mainAxis:Y-ne-ee-F.mainAxis,se=E?-P[$]/2+V+ne+te+F.mainAxis:X+ne+te+F.mainAxis,ae=t.elements.arrow&&C(t.elements.arrow),le=ae?"y"===x?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(R=null==L?void 0:L[x])?R:0,ue=G+se-ce,de=oe(g?l(W,G+re-ce-le):W,G,g?a(q,ue):q);_[x]=de,j[x]=de-G}if(c){var pe,fe="x"===x?S:T,he="x"===x?I:O,ge=_[M],me="y"===M?"height":"width",ve=ge+b[fe],we=ge-b[he],be=-1!==[S,T].indexOf(y),ye=null!=(pe=null==L?void 0:L[M])?pe:0,Ae=be?ve:ge-P[me]-D[me]-ye+F.altAxis,Ee=be?ge+P[me]+D[me]-ye-F.altAxis:we,xe=g&&be?function(e,t,n){var r=oe(e,t,n);return r>n?n:r}(Ae,ge,Ee):oe(g?Ae:ve,ge,g?Ee:we);_[M]=xe,j[M]=xe-ge}t.modifiersData[r]=j}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=N(n.placement),l=H(a),c=[T,O].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(e,t){return ne("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:re(e,_))}(i.padding,n),d=w(o),p="y"===l?S:T,f="y"===l?I:O,h=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],m=C(o),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=h/2-g/2,y=u[p],A=v-d[c]-u[f],E=v/2-d[c]/2+b,x=oe(y,E,A),M=l;n.modifiersData[r]=((t={})[M]=x,t.centerOffset=x-E,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&J(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=ie(t,{elementContext:"reference"}),a=ie(t,{altBoundary:!0}),l=se(s,r),c=se(a,i,o),u=ae(l),d=ae(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]})},20640:function(e,t,n){"use strict";var r=n(11742),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,s,a,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(s=r(),a=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),a.selectNodeContents(c),l.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(a):l.removeAllRanges()),c&&document.body.removeChild(c),s()}return u}},27003:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(19013),i=n(24262),o=n(13882);function s(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}var a=864e5;function l(e,t){(0,o.Z)(2,arguments);var n=s(e),r=s(t),l=n.getTime()-(0,i.Z)(n),c=r.getTime()-(0,i.Z)(r);return Math.round((l-c)/a)}function c(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function u(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,r.Z)(t),s=c(n,i),a=Math.abs(l(n,i));n.setDate(n.getDate()-s*a);var u=Number(c(n,i)===-s),d=s*(a-u);return 0===d?0:d}},13680:function(e){var t,n,r,i,o,s;function a(e,t,n,r,i,o){var s,a,l,c,u,d,p,f,h,g,m,v,w,b;for(h=0;h=0;g--)l=a*m+s*v+c*w+u*b,u=c,c=l,s=a,a=e[d],t[p]=n[f]+c,d--,f--,p-=o}}e.exports=function(e,l,c,u){if(u){var d=new Uint16Array(e.length),p=new Float32Array(Math.max(l,c)),f=function(e){e<.5&&(e=.5);var a=Math.exp(.527076)/e,l=Math.exp(-a),c=Math.exp(-2*a),u=(1-l)*(1-l)/(1+2*a*l-c);return t=u,n=u*(a-1)*l,r=u*(a+1)*l,i=-u*c,o=2*l,s=-c,new Float32Array([t,n,r,i,o,s,(t+n)/(1-o-s),(r+i)/(1-o-s)])}(u);a(e,d,p,f,l,c),a(d,e,p,f,c,l)}}},35717:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},70151:function(e,t,n){var r=n(278),i=n(73480);e.exports=function(e){return i(r(e))}},25127:function(e,t,n){var r=n(73480),i=n(52628);e.exports=function(e){return r(i(e))}},73480:function(e,t,n){var r=n(69877);e.exports=function(e,t){var n=-1,i=e.length,o=i-1;for(t=void 0===t?i:t;++n>2),i=0,o=0,s=0;s>16&255,r[o++]=i>>8&255,r[o++]=255&i),i=i<<6|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(s));var a=n%4*6;return 0===a?(r[o++]=i>>16&255,r[o++]=i>>8&255,r[o++]=255&i):18===a?(r[o++]=i>>10&255,r[o++]=i>>2&255):12===a&&(r[o++]=i>>4&255),r}},63429:function(e){"use strict";e.exports=function(e,t,n){for(var r,i,o,s,a,l=t*n,c=new Uint16Array(l),u=0;u=i&&r>=o?r:i>=o&&i>=r?i:o,s=r<=i&&r<=o?r:i<=o&&i<=r?i:o,c[u]=257*(a+s)>>1;return c}},93615:function(e,t,n){"use strict";e.exports={name:"unsharp_mask",fn:n(98487),wasm_fn:n(11725),wasm_src:n(3377)}},98487:function(e,t,n){"use strict";var r=n(13680),i=n(63429);e.exports=function(e,t,n,o,s,a){var l,c,u,d,p,f,h,g,m,v,w,b,y;if(!(0===o||s<.5)){s>2&&(s=2);var A=i(e,t,n),E=new Uint16Array(A);r(E,t,n,s);for(var x=o/100*4096+.5|0,C=257*a|0,S=t*n,I=0;I=C&&(l=e[y=4*I],c=e[y+1],u=e[y+2],f=257*((g=l>=c&&l>=u?l:c>=l&&c>=u?c:u)+(h=l<=c&&l<=u?l:c<=l&&c<=u?c:u))>>1,h===g?d=p=0:(p=f<=32767?4095*(g-h)/(g+h)|0:4095*(g-h)/(510-g-h)|0,d=l===g?65535*(c-u)/(6*(g-h))|0:c===g?21845+(65535*(u-l)/(6*(g-h))|0):43690+(65535*(l-c)/(6*(g-h))|0)),(f+=x*b+2048>>12)>65535?f=65535:f<0&&(f=0),0===p?l=c=u=f>>8:(m=2*f-(v=f<=32767?f*(4096+p)+2048>>12:f+((65535-f)*p+2048>>12))>>8,v>>=8,l=(w=d+21845&65535)>=43690?m:w>=32767?m+(6*(v-m)*(43690-w)+32768>>16):w>=10922?v:m+(6*(v-m)*w+32768>>16),c=(w=65535&d)>=43690?m:w>=32767?m+(6*(v-m)*(43690-w)+32768>>16):w>=10922?v:m+(6*(v-m)*w+32768>>16),u=(w=d-21845&65535)>=43690?m:w>=32767?m+(6*(v-m)*(43690-w)+32768>>16):w>=10922?v:m+(6*(v-m)*w+32768>>16)),e[y]=l,e[y+1]=c,e[y+2]=u)}}},11725:function(e){"use strict";e.exports=function(e,t,n,r,i,o){if(!(0===r||i<.5)){i>2&&(i=2);var s=t*n,a=4*s,l=2*s,c=2*s,u=4*Math.max(t,n),d=a,p=d+l,f=p+c,h=f+c,g=h+u,m=this.__instance("unsharp_mask",a+l+2*c+u+32,{exp:Math.exp}),v=new Uint32Array(e.buffer);new Uint32Array(this.__memory.buffer).set(v);var w=m.exports.hsl_l16||m.exports._hsl_l16;w(0,d,t,n),(w=m.exports.blurMono16||m.exports._blurMono16)(d,p,f,h,g,t,n,i),(w=m.exports.unsharp||m.exports._unsharp)(0,0,d,p,t,n,r,o),v.set(new Uint32Array(this.__memory.buffer,0,s))}}},3377:function(e){"use strict";e.exports="AGFzbQEAAAABMQZgAXwBfGACfX8AYAZ/f39/f38AYAh/f39/f39/fQBgBH9/f38AYAh/f39/f39/fwACGQIDZW52A2V4cAAAA2VudgZtZW1vcnkCAAEDBgUBAgMEBQQEAXAAAAdMBRZfX2J1aWxkX2dhdXNzaWFuX2NvZWZzAAEOX19nYXVzczE2X2xpbmUAAgpibHVyTW9ubzE2AAMHaHNsX2wxNgAEB3Vuc2hhcnAABQkBAAqJEAXZAQEGfAJAIAFE24a6Q4Ia+z8gALujIgOaEAAiBCAEoCIGtjgCECABIANEAAAAAAAAAMCiEAAiBbaMOAIUIAFEAAAAAAAA8D8gBKEiAiACoiAEIAMgA6CiRAAAAAAAAPA/oCAFoaMiArY4AgAgASAEIANEAAAAAAAA8L+gIAKioiIHtjgCBCABIAQgA0QAAAAAAADwP6AgAqKiIgO2OAIIIAEgBSACoiIEtow4AgwgASACIAegIAVEAAAAAAAA8D8gBqGgIgKjtjgCGCABIAMgBKEgAqO2OAIcCwu3AwMDfwR9CHwCQCADKgIUIQkgAyoCECEKIAMqAgwhCyADKgIIIQwCQCAEQX9qIgdBAEgiCA0AIAIgAC8BALgiDSADKgIYu6IiDiAJuyIQoiAOIAq7IhGiIA0gAyoCBLsiEqIgAyoCALsiEyANoqCgoCIPtjgCACACQQRqIQIgAEECaiEAIAdFDQAgBCEGA0AgAiAOIBCiIA8iDiARoiANIBKiIBMgAC8BALgiDaKgoKAiD7Y4AgAgAkEEaiECIABBAmohACAGQX9qIgZBAUoNAAsLAkAgCA0AIAEgByAFbEEBdGogAEF+ai8BACIIuCINIAu7IhGiIA0gDLsiEqKgIA0gAyoCHLuiIg4gCrsiE6KgIA4gCbsiFKKgIg8gAkF8aioCALugqzsBACAHRQ0AIAJBeGohAiAAQXxqIQBBACAFQQF0ayEHIAEgBSAEQQF0QXxqbGohBgNAIAghAyAALwEAIQggBiANIBGiIAO4Ig0gEqKgIA8iECAToqAgDiAUoqAiDyACKgIAu6CrOwEAIAYgB2ohBiAAQX5qIQAgAkF8aiECIBAhDiAEQX9qIgRBAUoNAAsLCwvfAgIDfwZ8AkAgB0MAAAAAWw0AIARE24a6Q4Ia+z8gB0MAAAA/l7ujIgyaEAAiDSANoCIPtjgCECAEIAxEAAAAAAAAAMCiEAAiDraMOAIUIAREAAAAAAAA8D8gDaEiCyALoiANIAwgDKCiRAAAAAAAAPA/oCAOoaMiC7Y4AgAgBCANIAxEAAAAAAAA8L+gIAuioiIQtjgCBCAEIA0gDEQAAAAAAADwP6AgC6KiIgy2OAIIIAQgDiALoiINtow4AgwgBCALIBCgIA5EAAAAAAAA8D8gD6GgIgujtjgCGCAEIAwgDaEgC6O2OAIcIAYEQCAFQQF0IQogBiEJIAIhCANAIAAgCCADIAQgBSAGEAIgACAKaiEAIAhBAmohCCAJQX9qIgkNAAsLIAVFDQAgBkEBdCEIIAUhAANAIAIgASADIAQgBiAFEAIgAiAIaiECIAFBAmohASAAQX9qIgANAAsLC7wBAQV/IAMgAmwiAwRAQQAgA2shBgNAIAAoAgAiBEEIdiIHQf8BcSECAn8gBEH/AXEiAyAEQRB2IgRB/wFxIgVPBEAgAyIIIAMgAk8NARoLIAQgBCAHIAIgA0kbIAIgBUkbQf8BcQshCAJAIAMgAk0EQCADIAVNDQELIAQgByAEIAMgAk8bIAIgBUsbQf8BcSEDCyAAQQRqIQAgASADIAhqQYECbEEBdjsBACABQQJqIQEgBkEBaiIGDQALCwvTBgEKfwJAIAazQwAAgEWUQwAAyEKVu0QAAAAAAADgP6CqIQ0gBSAEbCILBEAgB0GBAmwhDgNAQQAgAi8BACADLwEAayIGQQF0IgdrIAcgBkEASBsgDk8EQCAAQQJqLQAAIQUCfyAALQAAIgYgAEEBai0AACIESSIJRQRAIAYiCCAGIAVPDQEaCyAFIAUgBCAEIAVJGyAGIARLGwshCAJ/IAYgBE0EQCAGIgogBiAFTQ0BGgsgBSAFIAQgBCAFSxsgCRsLIgogCGoiD0GBAmwiEEEBdiERQQAhDAJ/QQAiCSAIIApGDQAaIAggCmsiCUH/H2wgD0H+AyAIayAKayAQQYCABEkbbSEMIAYgCEYEQCAEIAVrQf//A2wgCUEGbG0MAQsgBSAGayAGIARrIAQgCEYiBhtB//8DbCAJQQZsbUHVqgFBqtUCIAYbagshCSARIAcgDWxBgBBqQQx1aiIGQQAgBkEAShsiBkH//wMgBkH//wNIGyEGAkACfwJAIAxB//8DcSIFBEAgBkH//wFKDQEgBUGAIGogBmxBgBBqQQx2DAILIAZBCHYiBiEFIAYhBAwCCyAFIAZB//8Dc2xBgBBqQQx2IAZqCyIFQQh2IQcgBkEBdCAFa0EIdiIGIQQCQCAJQdWqAWpB//8DcSIFQanVAksNACAFQf//AU8EQEGq1QIgBWsgByAGa2xBBmxBgIACakEQdiAGaiEEDAELIAchBCAFQanVAEsNACAFIAcgBmtsQQZsQYCAAmpBEHYgBmohBAsCfyAGIgUgCUH//wNxIghBqdUCSw0AGkGq1QIgCGsgByAGa2xBBmxBgIACakEQdiAGaiAIQf//AU8NABogByIFIAhBqdUASw0AGiAIIAcgBmtsQQZsQYCAAmpBEHYgBmoLIQUgCUGr1QJqQf//A3EiCEGp1QJLDQAgCEH//wFPBEBBqtUCIAhrIAcgBmtsQQZsQYCAAmpBEHYgBmohBgwBCyAIQanVAEsEQCAHIQYMAQsgCCAHIAZrbEEGbEGAgAJqQRB2IAZqIQYLIAEgBDoAACABQQFqIAU6AAAgAUECaiAGOgAACyADQQJqIQMgAkECaiECIABBBGohACABQQRqIQEgC0F/aiILDQALCwsL"},7563:function(e){"use strict";var t;e.exports=function(){if(void 0!==t)return t;if(t=!1,"undefined"==typeof WebAssembly)return t;try{var e=new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,127,1,127,3,2,1,0,5,3,1,0,1,7,8,1,4,116,101,115,116,0,0,10,16,1,14,0,32,0,65,1,54,2,0,32,0,40,2,0,11]),n=new WebAssembly.Module(e);return 0!==new WebAssembly.Instance(n,{}).exports.test(4)&&(t=!0),t}catch(e){}return t}},56740:function(e,t,n){"use strict";const r=n(27418),i=n(18034),o=n(16156),s=n(2610),a=n(62422),l=n(40452),c=n(61448),u=n(22892),d={};let p=!1;try{"undefined"!=typeof navigator&&navigator.userAgent&&(p=navigator.userAgent.indexOf("Safari")>=0)}catch(e){}let f=1;"undefined"!=typeof navigator&&(f=Math.min(navigator.hardwareConcurrency||1,4));const h={tile:1024,concurrency:f,features:["js","wasm","ww"],idle:2e3},g={quality:3,alpha:!1,unsharpAmount:0,unsharpRadius:0,unsharpThreshold:0};let m,v;function w(){return{value:i(l),destroy:function(){if(this.value.terminate(),"undefined"!=typeof window){let e=window.URL||window.webkitURL||window.mozURL||window.msURL;e&&e.revokeObjectURL&&this.value.objectURL&&e.revokeObjectURL(this.value.objectURL)}}}}function b(e){if(!(this instanceof b))return new b(e);this.options=r({},h,e||{});let t=`lk_${this.options.concurrency}`;this.__limit=d[t]||a.limiter(this.options.concurrency),d[t]||(d[t]=this.__limit),this.features={js:!1,wasm:!1,cib:!1,ww:!1},this.__workersPool=null,this.__requested_features=[],this.__mathlib=null}b.prototype.init=function(){if(this.__initPromise)return this.__initPromise;if(!1!==m&&!0!==m&&(m=!1,"undefined"!=typeof ImageData&&"undefined"!=typeof Uint8ClampedArray))try{new ImageData(new Uint8ClampedArray(400),10,10),m=!0}catch(e){}!1!==v&&!0!==v&&(v=!1,"undefined"!=typeof ImageBitmap&&(ImageBitmap.prototype&&ImageBitmap.prototype.close?v=!0:this.debug("ImageBitmap does not support .close(), disabled")));let e=this.options.features.slice();if(e.indexOf("all")>=0&&(e=["cib","wasm","js","ww"]),this.__requested_features=e,this.__mathlib=new o(e),e.indexOf("ww")>=0&&"undefined"!=typeof window&&"Worker"in window)try{n(18034)((function(){})).terminate(),this.features.ww=!0;let e=`wp_${JSON.stringify(this.options)}`;d[e]?this.__workersPool=d[e]:(this.__workersPool=new s(w,this.options.idle),d[e]=this.__workersPool)}catch(e){}let t,i=this.__mathlib.init().then((e=>{r(this.features,e.features)}));return t=v?a.cib_support().then((t=>{this.features.cib&&e.indexOf("cib")<0?this.debug("createImageBitmap() resize supported, but disabled by config"):e.indexOf("cib")>=0&&(this.features.cib=t)})):Promise.resolve(!1),this.__initPromise=Promise.all([i,t]).then((()=>this)),this.__initPromise},b.prototype.resize=function(e,t,n){this.debug("Start resize...");let i=r({},g);if(isNaN(n)?n&&(i=r(i,n)):i=r(i,{quality:n}),i.toWidth=t.width,i.toHeight=t.height,i.width=e.naturalWidth||e.width,i.height=e.naturalHeight||e.height,0===t.width||0===t.height)return Promise.reject(new Error(`Invalid output size: ${t.width}x${t.height}`));i.unsharpRadius>2&&(i.unsharpRadius=2);let o=!1,s=null;i.cancelToken&&(s=i.cancelToken.then((e=>{throw o=!0,e}),(e=>{throw o=!0,e})));let l=Math.ceil(Math.max(3,2.5*i.unsharpRadius|0));return this.init().then((()=>{if(o)return s;if(this.features.cib){let n=t.getContext("2d",{alpha:Boolean(i.alpha)});return this.debug("Resize via createImageBitmap()"),createImageBitmap(e,{resizeWidth:i.toWidth,resizeHeight:i.toHeight,resizeQuality:a.cib_quality_name(i.quality)}).then((e=>{if(o)return s;if(!i.unsharpAmount)return n.drawImage(e,0,0),e.close(),n=null,this.debug("Finished!"),t;this.debug("Unsharp result");let r=document.createElement("canvas");r.width=i.toWidth,r.height=i.toHeight;let a=r.getContext("2d",{alpha:Boolean(i.alpha)});a.drawImage(e,0,0),e.close();let l=a.getImageData(0,0,i.toWidth,i.toHeight);return this.__mathlib.unsharp(l.data,i.toWidth,i.toHeight,i.unsharpAmount,i.unsharpRadius,i.unsharpThreshold),n.putImageData(l,0,0),l=a=r=n=null,this.debug("Finished!"),t}))}let n={};const d=e=>Promise.resolve().then((()=>this.features.ww?new Promise(((t,n)=>{let r=this.__workersPool.acquire();s&&s.catch((e=>n(e))),r.value.onmessage=e=>{r.release(),e.data.err?n(e.data.err):t(e.data.result)},r.value.postMessage({opts:e,features:this.__requested_features,preload:{wasm_nodule:this.__mathlib.__}},[e.src.buffer])})):this.__mathlib.resizeAndUnsharp(e,n))),f=(e,t,n)=>{let r,i,c;const f=t=>this.__limit((()=>{if(o)return s;let l;if(a.isCanvas(e))this.debug("Get tile pixel data"),l=r.getImageData(t.x,t.y,t.width,t.height);else{this.debug("Draw tile imageBitmap/image to temporary canvas");let r=document.createElement("canvas");r.width=t.width,r.height=t.height;let o=r.getContext("2d",{alpha:Boolean(n.alpha)});o.globalCompositeOperation="copy",o.drawImage(i||e,t.x,t.y,t.width,t.height,0,0,t.width,t.height),this.debug("Get tile pixel data"),l=o.getImageData(0,0,t.width,t.height),o=r=null}let u={src:l.data,width:t.width,height:t.height,toWidth:t.toWidth,toHeight:t.toHeight,scaleX:t.scaleX,scaleY:t.scaleY,offsetX:t.offsetX,offsetY:t.offsetY,quality:n.quality,alpha:n.alpha,unsharpAmount:n.unsharpAmount,unsharpRadius:n.unsharpRadius,unsharpThreshold:n.unsharpThreshold};return this.debug("Invoke resize math"),Promise.resolve().then((()=>d(u))).then((e=>{if(o)return s;let n;if(l=null,this.debug("Convert raw rgba tile result to ImageData"),m)n=new ImageData(new Uint8ClampedArray(e),t.toWidth,t.toHeight);else if(n=c.createImageData(t.toWidth,t.toHeight),n.data.set)n.data.set(e);else for(let t=n.data.length-1;t>=0;t--)n.data[t]=e[t];return this.debug("Draw tile"),p?c.putImageData(n,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth+1e-5,t.toInnerHeight+1e-5):c.putImageData(n,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth,t.toInnerHeight),null}))}));return Promise.resolve().then((()=>{if(c=t.getContext("2d",{alpha:Boolean(n.alpha)}),a.isCanvas(e))return r=e.getContext("2d",{alpha:Boolean(n.alpha)}),null;if(a.isImage(e))return v?(this.debug("Decode image via createImageBitmap"),createImageBitmap(e).then((e=>{i=e}))):null;throw new Error('".from" should be image or canvas')})).then((()=>{if(o)return s;this.debug("Calculate tiles");let e=u({width:n.width,height:n.height,srcTileSize:this.options.tile,toWidth:n.toWidth,toHeight:n.toHeight,destTileBorder:l}).map((e=>f(e)));function r(){i&&(i.close(),i=null)}return this.debug("Process tiles"),Promise.all(e).then((()=>(this.debug("Finished!"),r(),t)),(e=>{throw r(),e}))}))},h=(e,t,n,i)=>{if(o)return s;let a,[l,c]=e.shift(),u=0===e.length;return i=r({},i,{toWidth:l,toHeight:c,quality:u?i.quality:Math.min(1,i.quality)}),u||(a=document.createElement("canvas"),a.width=l,a.height=c),f(t,u?n:a,i).then((()=>u?n:(i.width=l,i.height=c,h(e,a,n,i))))};let g=c(i.width,i.height,i.toWidth,i.toHeight,this.options.tile,l);return h(g,e,t,i)}))},b.prototype.resizeBuffer=function(e){const t=r({},g,e);return this.init().then((()=>this.__mathlib.resizeAndUnsharp(t)))},b.prototype.toBlob=function(e,t,n){return t=t||"image/png",new Promise((r=>{if(e.toBlob)return void e.toBlob((e=>r(e)),t,n);const i=atob(e.toDataURL(t,n).split(",")[1]),o=i.length,s=new Uint8Array(o);for(let e=0;e=0,wasm:t.indexOf("wasm")>=0};i.call(this,n),this.features={js:n.js,wasm:n.wasm&&this.has_wasm},this.use(o),this.use(s)}r(a,i),a.prototype.resizeAndUnsharp=function(e,t){let n=this.resize(e,t);return e.unsharpAmount&&this.unsharp_mask(n,e.toWidth,e.toHeight,e.unsharpAmount,e.unsharpRadius,e.unsharpThreshold),n},e.exports=a},51727:function(e){"use strict";function t(e){return e<0?0:e>255?255:e}e.exports={convolveHorizontally:function(e,n,r,i,o,s){var a,l,c,u,d,p,f,h,g,m,v,w=0,b=0;for(g=0;g0;f--)u=u+(v=s[d++])*e[h+3]|0,c=c+v*e[h+2]|0,l=l+v*e[h+1]|0,a=a+v*e[h]|0,h=h+4|0;n[b+3]=t(u+8192>>14),n[b+2]=t(c+8192>>14),n[b+1]=t(l+8192>>14),n[b]=t(a+8192>>14),b=b+4*i|0}b=4*(g+1)|0,w=(g+1)*r*4|0}},convolveVertically:function(e,n,r,i,o,s){var a,l,c,u,d,p,f,h,g,m,v,w=0,b=0;for(g=0;g0;f--)u=u+(v=s[d++])*e[h+3]|0,c=c+v*e[h+2]|0,l=l+v*e[h+1]|0,a=a+v*e[h]|0,h=h+4|0;n[b+3]=t(u+8192>>14),n[b+2]=t(c+8192>>14),n[b+1]=t(l+8192>>14),n[b]=t(a+8192>>14),b=b+4*i|0}b=4*(g+1)|0,w=(g+1)*r*4|0}}}},37848:function(e){"use strict";e.exports="AGFzbQEAAAABFAJgBn9/f39/fwBgB39/f39/f38AAg8BA2VudgZtZW1vcnkCAAEDAwIAAQQEAXAAAAcZAghjb252b2x2ZQAACmNvbnZvbHZlSFYAAQkBAArmAwLBAwEQfwJAIANFDQAgBEUNACAFQQRqIRVBACEMQQAhDQNAIA0hDkEAIRFBACEHA0AgB0ECaiESAn8gBSAHQQF0IgdqIgZBAmouAQAiEwRAQQAhCEEAIBNrIRQgFSAHaiEPIAAgDCAGLgEAakECdGohEEEAIQlBACEKQQAhCwNAIBAoAgAiB0EYdiAPLgEAIgZsIAtqIQsgB0H/AXEgBmwgCGohCCAHQRB2Qf8BcSAGbCAKaiEKIAdBCHZB/wFxIAZsIAlqIQkgD0ECaiEPIBBBBGohECAUQQFqIhQNAAsgEiATagwBC0EAIQtBACEKQQAhCUEAIQggEgshByABIA5BAnRqIApBgMAAakEOdSIGQf8BIAZB/wFIG0EQdEGAgPwHcUEAIAZBAEobIAtBgMAAakEOdSIGQf8BIAZB/wFIG0EYdEEAIAZBAEobciAJQYDAAGpBDnUiBkH/ASAGQf8BSBtBCHRBgP4DcUEAIAZBAEobciAIQYDAAGpBDnUiBkH/ASAGQf8BSBtB/wFxQQAgBkEAShtyNgIAIA4gA2ohDiARQQFqIhEgBEcNAAsgDCACaiEMIA1BAWoiDSADRw0ACwsLIQACQEEAIAIgAyAEIAUgABAAIAJBACAEIAUgBiABEAALCw=="},61203:function(e,t,n){"use strict";e.exports={name:"resize",fn:n(25950),wasm_fn:n(79696),wasm_src:n(37848)}},25950:function(e,t,n){"use strict";const r=n(63007),i=n(51727).convolveHorizontally,o=n(51727).convolveVertically;e.exports=function(e){const t=e.src,n=e.width,s=e.height,a=e.toWidth,l=e.toHeight,c=e.scaleX||e.toWidth/e.width,u=e.scaleY||e.toHeight/e.height,d=e.offsetX||0,p=e.offsetY||0,f=e.dest||new Uint8Array(a*l*4),h=void 0===e.quality?3:e.quality,g=e.alpha||!1,m=r(h,n,a,c,d),v=r(h,s,l,u,p),w=new Uint8Array(a*s*4);return i(t,w,n,s,a,m),o(w,f,s,a,l,v),g||function(e,t,n){let r=3,i=t*n*4|0;for(;r>1]+=i(1-w),y=0;y0&&0===f[A];)A--;if(E=c+y,x=A-y+1,M[_++]=E,M[_++]=x,k)for(m=y;m<=A;m++)M[_++]=f[m];else M.set(f.subarray(y,A+1),_),_+=x}else M[_++]=0,M[_++]=0}return M}},8633:function(e){"use strict";e.exports=[{win:.5,filter:function(e){return e>=-.5&&e<.5?1:0}},{win:1,filter:function(e){if(e<=-1||e>=1)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*(.54+.46*Math.cos(t/1))}},{win:2,filter:function(e){if(e<=-2||e>=2)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*Math.sin(t/2)/(t/2)}},{win:3,filter:function(e){if(e<=-3||e>=3)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*Math.sin(t/3)/(t/3)}}]},79696:function(e,t,n){"use strict";const r=n(63007);let i=!0;try{i=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0]}catch(e){}function o(e,t,n){if(i)t.set(function(e){return new Uint8Array(e.buffer,0,e.byteLength)}(e),n);else for(let r=n,i=0;i>8&255}}e.exports=function(e){const t=e.src,n=e.width,i=e.height,s=e.toWidth,a=e.toHeight,l=e.scaleX||e.toWidth/e.width,c=e.scaleY||e.toHeight/e.height,u=e.offsetX||0,d=e.offsetY||0,p=e.dest||new Uint8Array(s*a*4),f=void 0===e.quality?3:e.quality,h=e.alpha||!1,g=r(f,n,s,l,u),m=r(f,i,a,c,d),v=this.__align(0+Math.max(t.byteLength,p.byteLength)),w=this.__align(v+i*s*4),b=this.__align(w+g.byteLength),y=b+m.byteLength,A=this.__instance("resize",y),E=new Uint8Array(this.__memory.buffer),x=new Uint32Array(this.__memory.buffer),C=new Uint32Array(t.buffer);return x.set(C),o(g,E,w),o(m,E,b),(A.exports.convolveHV||A.exports._convolveHV)(w,b,v,n,i,s,a),new Uint32Array(p.buffer).set(new Uint32Array(this.__memory.buffer,0,a*s)),h||function(e,t,n){let r=3,i=t*n*4|0;for(;rthis.release(e)),this.acquired[e.id]=e,e},t.prototype.release=function(e){delete this.acquired[e.id],e.lastUsed=Date.now(),this.available.push(e),0===this.timeoutId&&(this.timeoutId=setTimeout((()=>this.gc()),100))},t.prototype.gc=function(){const e=Date.now();this.available=this.available.filter((t=>!(e-t.lastUsed>this.idle&&(t.destroy(),1)))),0!==this.available.length?this.timeoutId=setTimeout((()=>this.gc()),100):this.timeoutId=0},e.exports=t},61448:function(e){"use strict";e.exports=function(e,t,n,r,i,o){let s=n/e,a=r/t,l=(2*o+2+1)/i;if(l>.5)return[[n,r]];let c=Math.ceil(Math.log(Math.min(s,a))/Math.log(l));if(c<=1)return[[n,r]];let u=[];for(let i=0;i=e.toWidth&&(a=e.toWidth-t),(i=s-e.destTileBorder)<0&&(i=0),i+(l=s+p+e.destTileBorder-i)>=e.toHeight&&(l=e.toHeight-i),f={toX:t,toY:i,toWidth:a,toHeight:l,toInnerX:o,toInnerY:s,toInnerWidth:d,toInnerHeight:p,offsetX:t/c-n(t/c),offsetY:i/u-n(i/u),scaleX:c,scaleY:u,x:n(t/c),y:n(i/u),width:r(a/c),height:r(l/u)},h.push(f);return h}},62422:function(e){"use strict";function t(e){return Object.prototype.toString.call(e)}e.exports.isCanvas=function(e){let n=t(e);return"[object HTMLCanvasElement]"===n||"[object Canvas]"===n},e.exports.isImage=function(e){return"[object HTMLImageElement]"===t(e)},e.exports.limiter=function(e){let t=0,n=[];function r(){t{n.push((()=>{e().then((e=>{i(e),t--,r()}),(e=>{o(e),t--,r()}))})),r()}))}},e.exports.cib_quality_name=function(e){switch(e){case 0:return"pixelated";case 1:return"low";case 2:return"medium"}return"high"},e.exports.cib_support=function(){return Promise.resolve().then((()=>{if("undefined"==typeof createImageBitmap||"undefined"==typeof document)return!1;let e=document.createElement("canvas");return e.width=100,e.height=100,createImageBitmap(e,0,0,100,100,{resizeWidth:10,resizeHeight:10,resizeQuality:"high"}).then((t=>{let n=10===t.width;return t.close(),e=null,n}))})).catch((()=>!1))}},40452:function(e,t,n){"use strict";e.exports=function(){const e=n(16156);let t;onmessage=function(n){let r=n.data.opts;t||(t=new e(n.data.features));let i=t.resizeAndUnsharp(r);postMessage({result:i},[i.buffer])}}},27011:function(e,t,n){e.exports=function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(e),i=n(t);function o(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,s),r=i.default.Children.only(t);return i.default.cloneElement(r,c(c({},n),{},{onClick:this.onClick}))}}])&&d(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(i.default.PureComponent);t.CopyToClipboard=v,m(v,"defaultProps",{onCopy:void 0,options:void 0})},74855:function(e,t,n){"use strict";var r=n(74300).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},73039:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return s(t,e),t},l=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i1&&n.props.draggableTrack){if(n.thumbRefs.some((function(t){var n;return null===(n=t.current)||void 0===n?void 0:n.contains(e.target)})))return;n.setState({draggedTrackPos:[e.clientX,e.clientY]},(function(){return n.onMove(e.clientX,e.clientY)}))}else{var r=(0,u.getClosestThumbIndex)(n.thumbRefs.map((function(e){return e.current})),e.clientX,e.clientY,n.props.direction);null===(t=n.thumbRefs[r].current)||void 0===t||t.focus(),n.setState({draggedThumbIndex:r},(function(){return n.onMove(e.clientX,e.clientY)}))}},n.onResize=function(){(0,u.translateThumbs)(n.getThumbs(),n.getOffsets(),n.props.rtl),n.calculateMarkOffsets()},n.onTouchStartTrack=function(e){var t;if(e.persist(),n.addTouchEvents(e.nativeEvent),n.props.values.length>1&&n.props.draggableTrack){if(n.thumbRefs.some((function(t){var n;return null===(n=t.current)||void 0===n?void 0:n.contains(e.target)})))return;n.setState({draggedTrackPos:[e.touches[0].clientX,e.touches[0].clientY]},(function(){return n.onMove(e.touches[0].clientX,e.touches[0].clientY)}))}else{var r=(0,u.getClosestThumbIndex)(n.thumbRefs.map((function(e){return e.current})),e.touches[0].clientX,e.touches[0].clientY,n.props.direction);null===(t=n.thumbRefs[r].current)||void 0===t||t.focus(),n.setState({draggedThumbIndex:r},(function(){return n.onMove(e.touches[0].clientX,e.touches[0].clientY)}))}},n.onMouseOrTouchStart=function(e){if(!n.props.disabled){var t=(0,u.isTouchEvent)(e);if(t||0===e.button){var r=n.getTargetIndex(e);-1!==r&&(t?n.addTouchEvents(e):n.addMouseEvents(e),n.setState({draggedThumbIndex:r,thumbZIndexes:n.state.thumbZIndexes.map((function(e,t){return t===r?Math.max.apply(Math,n.state.thumbZIndexes):e<=n.state.thumbZIndexes[r]?e:e-1}))}))}}},n.onMouseMove=function(e){e.preventDefault(),n.onMove(e.clientX,e.clientY)},n.onTouchMove=function(e){e.preventDefault(),n.onMove(e.touches[0].clientX,e.touches[0].clientY)},n.onKeyDown=function(e){var t=n.props,r=t.values,i=t.onChange,o=t.step,s=t.rtl,a=t.direction,l=n.state.isChanged,c=n.getTargetIndex(e.nativeEvent),h=s||a===d.Direction.Left||a===d.Direction.Down?-1:1;-1!==c&&(p.includes(e.key)?(e.preventDefault(),n.setState({draggedThumbIndex:c,isChanged:!0}),i((0,u.replaceAt)(r,c,n.normalizeValue(r[c]+h*("PageUp"===e.key?10*o:o),c)))):f.includes(e.key)?(e.preventDefault(),n.setState({draggedThumbIndex:c,isChanged:!0}),i((0,u.replaceAt)(r,c,n.normalizeValue(r[c]-h*("PageDown"===e.key?10*o:o),c)))):"Tab"===e.key?n.setState({draggedThumbIndex:-1},(function(){l&&n.fireOnFinalChange()})):l&&n.fireOnFinalChange())},n.onKeyUp=function(e){var t=n.state.isChanged;n.setState({draggedThumbIndex:-1},(function(){t&&n.fireOnFinalChange()}))},n.onMove=function(e,t){var r=n.state,i=r.draggedThumbIndex,o=r.draggedTrackPos,s=n.props,a=s.direction,l=s.min,c=s.max,p=s.onChange,f=s.values,h=s.step,g=s.rtl;if(-1===i&&-1===o[0]&&-1===o[1])return null;var m=n.trackRef.current;if(!m)return null;var v=m.getBoundingClientRect(),w=(0,u.isVertical)(a)?v.height:v.width;if(-1!==o[0]&&-1!==o[1]){var b=e-o[0],y=t-o[1],A=0;switch(a){case d.Direction.Right:case d.Direction.Left:A=b/w*(c-l);break;case d.Direction.Down:case d.Direction.Up:A=y/w*(c-l);break;default:(0,u.assertUnreachable)(a)}if(g&&(A*=-1),Math.abs(A)>=h/2){for(var E=0;Ec?A=c-f[E]:x=h/2&&p((0,u.replaceAt)(f,i,n.normalizeValue(S,i)))}},n.normalizeValue=function(e,t){var r=n.props,i=r.min,o=r.max,s=r.step,a=r.allowOverlap,l=r.values;return(0,u.normalizeValue)(e,t,i,o,s,a,l)},n.onEnd=function(e){if(e.preventDefault(),document.removeEventListener("mousemove",n.schdOnMouseMove),document.removeEventListener("touchmove",n.schdOnTouchMove),document.removeEventListener("mouseup",n.schdOnEnd),document.removeEventListener("touchend",n.schdOnEnd),document.removeEventListener("touchcancel",n.schdOnEnd),-1===n.state.draggedThumbIndex&&-1===n.state.draggedTrackPos[0]&&-1===n.state.draggedTrackPos[1])return null;n.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},(function(){n.fireOnFinalChange()}))},n.fireOnFinalChange=function(){n.setState({isChanged:!1});var e=n.props,t=e.onFinalChange,r=e.values;t&&t(r)},n.updateMarkRefs=function(e){if(!e.renderMark)return n.numOfMarks=void 0,void(n.markRefs=void 0);n.numOfMarks=(e.max-e.min)/n.props.step,n.markRefs=[];for(var t=0;t-1?"grabbing":this.props.draggableTrack?(0,u.isVertical)(this.props.direction)?"ns-resize":"ew-resize":1!==s.length||f?"inherit":"pointer"},onMouseDown:f?u.voidFn:this.onMouseDownTrack,onTouchStart:f?u.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:f,children:l(l([],v.map((function(t,n,r){return o({props:{style:e.props.direction===d.Direction.Left||e.props.direction===d.Direction.Right?{position:"absolute",left:"".concat(t[0],"px"),marginTop:"".concat(t[1],"px")}:{position:"absolute",top:"".concat(t[0],"px"),marginLeft:"".concat(t[1],"px")},key:"mark".concat(n),ref:e.markRefs[n]},index:n})})),!0),s.map((function(t,n){var i=e.state.draggedThumbIndex===n;return r({index:n,value:t,isDragged:i,props:{style:{position:"absolute",zIndex:m[n],cursor:f?"inherit":i?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:n,tabIndex:f?void 0:0,"aria-valuemax":p?c:s[n+1]||c,"aria-valuemin":p?a:s[n-1]||a,"aria-valuenow":t,draggable:!1,ref:e.thumbRefs[n],role:"slider",onKeyDown:f?u.voidFn:e.onKeyDown,onKeyUp:f?u.voidFn:e.onKeyUp}})})),!0)})},t.defaultProps={step:1,direction:d.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},t}(c.Component);t.default=h},94398:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.checkValuesAgainstBoundaries=t.relativeValue=t.useThumbOverlap=t.Direction=t.getTrackBackground=t.Range=void 0;var i=r(n(73039));t.Range=i.default;var o=n(91826);Object.defineProperty(t,"getTrackBackground",{enumerable:!0,get:function(){return o.getTrackBackground}}),Object.defineProperty(t,"useThumbOverlap",{enumerable:!0,get:function(){return o.useThumbOverlap}}),Object.defineProperty(t,"relativeValue",{enumerable:!0,get:function(){return o.relativeValue}}),Object.defineProperty(t,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return o.checkValuesAgainstBoundaries}});var s=n(26234);Object.defineProperty(t,"Direction",{enumerable:!0,get:function(){return s.Direction}})},26234:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Direction=void 0,(n=t.Direction||(t.Direction={})).Right="to right",n.Left="to left",n.Down="to bottom",n.Up="to top"},91826:function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;ie)return c;if(u&&ui)return i;if(e=n)throw new RangeError("min (".concat(t,") is equal/bigger than max (").concat(n,")"));if(en)throw new RangeError("value (".concat(e,") is bigger than max (").concat(n,")"))},t.checkValuesAgainstBoundaries=function(e,t,n){return en?n:e},t.checkInitialOverlap=function(e){if(!(e.length<2||e.slice(1).every((function(t,n){return e[n]<=t}))))throw new RangeError("values={[".concat(e,"]} needs to be sorted when allowOverlap={false}"))},t.getMargin=function(e){var t=window.getComputedStyle(e);return{top:parseInt(t["margin-top"],10),bottom:parseInt(t["margin-bottom"],10),left:parseInt(t["margin-left"],10),right:parseInt(t["margin-right"],10)}},t.getPaddingAndBorder=function(e){var t=window.getComputedStyle(e);return{top:parseInt(t["padding-top"],10)+parseInt(t["border-top-width"],10),bottom:parseInt(t["padding-bottom"],10)+parseInt(t["border-bottom-width"],10),left:parseInt(t["padding-left"],10)+parseInt(t["border-left-width"],10),right:parseInt(t["padding-right"],10)+parseInt(t["border-right-width"],10)}},t.translateThumbs=function(e,t,n){var r=n?-1:1;e.forEach((function(e,n){return a(e,r*t[n].x,t[n].y)}))},t.getClosestThumbIndex=function(e,t,n,r){for(var i=0,o=c(e[0],t,n,r),s=1;se?s:e}),e.getBoundingClientRect().width))};function c(e,t,n,r){var i=e.getBoundingClientRect(),o=i.left,a=i.top,l=i.width,c=i.height;return s(r)?Math.abs(n-(a+c/2)):Math.abs(t-(o+l/2))}t.useThumbOverlap=function(e,n,o,s,a,c){void 0===s&&(s=.1),void 0===a&&(a=" - "),void 0===c&&(c=function(e){return e});var u=(0,t.getStepDecimals)(s),d=(0,i.useState)({}),p=d[0],f=d[1],h=(0,i.useState)(c(n[o].toFixed(u))),g=h[0],m=h[1];return(0,i.useEffect)((function(){if(e){var t=e.getThumbs();if(t.length<1)return;var i={},s=e.getOffsets(),d=function(e,t,n,i,o,s,a){void 0===a&&(a=function(e){return e});var c=[],u=function(e){var d=l(n[e],i[e],o,s,a),p=t[e].x;t.forEach((function(t,f){var h=t.x,g=l(n[f],i[f],o,s,a);e!==f&&(p>=h&&p<=h+g||p+d>=h&&p+d<=h+g)&&(c.includes(f)||(c.push(e),c.push(f),c=r(r([],c,!0),[e,f],!1),u(f)))}))};return u(e),Array.from(new Set(c.sort()))}(o,s,t,n,a,u,c),p=c(n[o].toFixed(u));if(d.length){var h=d.reduce((function(e,t,n,i){return e.length?r(r([],e,!0),[s[i[n]].x],!1):[s[i[n]].x]}),[]);if(Math.min.apply(Math,h)===s[o].x){var g=[];d.forEach((function(e){g.push(n[e].toFixed(u))})),p=Array.from(new Set(g.sort((function(e,t){return parseFloat(e)-parseFloat(t)})))).map(c).join(a);var v=Math.min.apply(Math,h),w=Math.max.apply(Math,h),b=t[d[h.indexOf(w)]].getBoundingClientRect().width;i.left="".concat(Math.abs(v-(w+b))/2,"px"),i.transform="translate(-50%, 0)"}else i.visibility="hidden"}m(p),f(i)}}),[e,n]),[g,p]}},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},70885:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40181);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw i}}return o}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},42982:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(30907),i=n(40181);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},51801:function(e,t,n){"use strict";n.d(t,{t:function(){return v},o:function(){return b}});var r=n(67294),i=n(62051);function o(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function s(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>n.indexOf(e)<0)).forEach((n=>{void 0===e[n]?e[n]=t[n]:o(t[n])&&o(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:s(e[n],t[n]):e[n]=t[n]}))}function a(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function l(e={}){return e.pagination&&void 0===e.pagination.el}function c(e={}){return e.scrollbar&&void 0===e.scrollbar.el}function u(e=""){const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),n=[];return t.forEach((e=>{n.indexOf(e)<0&&n.push(e)})),n.join(" ")}const d=["modules","init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopFillGroupWithBlank","loopPreventsSlide","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"];function p(e,t){let n=t.slidesPerView;if(t.breakpoints){const e=i.ZP.prototype.getBreakpoint(t.breakpoints),r=e in t.breakpoints?t.breakpoints[e]:void 0;r&&r.slidesPerView&&(n=r.slidesPerView)}let r=Math.ceil(parseFloat(t.loopedSlides||n,10));return r+=t.loopAdditionalSlides,r>e.length&&(r=e.length),r}function f(e){const t=[];return r.Children.toArray(e).forEach((e=>{e.type&&"SwiperSlide"===e.type.displayName?t.push(e):e.props&&e.props.children&&f(e.props.children).forEach((e=>t.push(e)))})),t}function h(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return r.Children.toArray(e).forEach((e=>{if(e.type&&"SwiperSlide"===e.type.displayName)t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){const r=f(e.props.children);r.length>0?r.forEach((e=>t.push(e))):n["container-end"].push(e)}else n["container-end"].push(e)})),{slides:t,slots:n}}function g(e,t){return"undefined"==typeof window?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}function m(){return m=Object.assign||function(e){for(var t=1;t{let y=!1;const[A,E]=(0,r.useState)("swiper"),[x,C]=(0,r.useState)(null),[S,I]=(0,r.useState)(!1),O=(0,r.useRef)(!1),T=(0,r.useRef)(null),M=(0,r.useRef)(null),_=(0,r.useRef)(null),k=(0,r.useRef)(null),P=(0,r.useRef)(null),D=(0,r.useRef)(null),B=(0,r.useRef)(null),F=(0,r.useRef)(null),{params:L,passedParams:j,rest:R,events:z}=function(e={}){const t={on:{}},n={},r={};s(t,i.ZP.defaults),s(t,i.ZP.extendedDefaults),t._emitClasses=!0,t.init=!1;const a={},l=d.map((e=>e.replace(/_/,"")));return Object.keys(e).forEach((i=>{l.indexOf(i)>=0?o(e[i])?(t[i]={},r[i]={},s(t[i],e[i]),s(r[i],e[i])):(t[i]=e[i],r[i]=e[i]):0===i.search(/on[A-Z]/)&&"function"==typeof e[i]?n[`${i[2].toLowerCase()}${i.substr(3)}`]=e[i]:a[i]=e[i]})),["navigation","pagination","scrollbar"].forEach((e=>{!0===t[e]&&(t[e]={}),!1===t[e]&&delete t[e]})),{params:t,passedParams:r,rest:a,events:n}}(w),{slides:Q,slots:$}=h(f),G=()=>{I(!S)};if(Object.assign(L.on,{_containerClasses(e,t){E(t)}}),!T.current&&(Object.assign(L.on,z),y=!0,M.current=function(e){return new i.ZP(e)}(L),M.current.loopCreate=()=>{},M.current.loopDestroy=()=>{},L.loop&&(M.current.loopedSlides=p(Q,L)),M.current.virtual&&M.current.params.virtual.enabled)){M.current.virtual.slides=Q;const e={cache:!1,slides:Q,renderExternal:C,renderExternalUpdate:!1};s(M.current.params.virtual,e),s(M.current.originalParams.virtual,e)}return M.current&&M.current.on("_beforeBreakpoint",G),(0,r.useEffect)((()=>()=>{M.current&&M.current.off("_beforeBreakpoint",G)})),(0,r.useEffect)((()=>{!O.current&&M.current&&(M.current.emitSlidesClasses(),O.current=!0)})),g((()=>{if(b&&(b.current=T.current),T.current)return function({el:e,nextEl:t,prevEl:n,paginationEl:r,scrollbarEl:i,swiper:o},s){a(s)&&t&&n&&(o.params.navigation.nextEl=t,o.originalParams.navigation.nextEl=t,o.params.navigation.prevEl=n,o.originalParams.navigation.prevEl=n),l(s)&&r&&(o.params.pagination.el=r,o.originalParams.pagination.el=r),c(s)&&i&&(o.params.scrollbar.el=i,o.originalParams.scrollbar.el=i),o.init(e)}({el:T.current,nextEl:P.current,prevEl:D.current,paginationEl:B.current,scrollbarEl:F.current,swiper:M.current},L),v&&v(M.current),()=>{M.current&&!M.current.destroyed&&M.current.destroy(!0,!1)}}),[]),g((()=>{!y&&z&&M.current&&Object.keys(z).forEach((e=>{M.current.on(e,z[e])}));const e=function(e,t,n,r){const i=[];if(!t)return i;const s=e=>{i.indexOf(e)<0&&i.push(e)},a=r.map((e=>e.key)),l=n.map((e=>e.key));return a.join("")!==l.join("")&&s("children"),r.length!==n.length&&s("children"),d.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,""))).forEach((n=>{if(n in e&&n in t)if(o(e[n])&&o(t[n])){const r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?s(n):(r.forEach((r=>{e[n][r]!==t[n][r]&&s(n)})),i.forEach((r=>{e[n][r]!==t[n][r]&&s(n)})))}else e[n]!==t[n]&&s(n)})),i}(j,_.current,Q,k.current);return _.current=j,k.current=Q,e.length&&M.current&&!M.current.destroyed&&function({swiper:e,slides:t,passedParams:n,changedParams:r,nextEl:i,prevEl:a,scrollbarEl:l,paginationEl:c}){const u=r.filter((e=>"children"!==e&&"direction"!==e)),{params:d,pagination:p,navigation:f,scrollbar:h,virtual:g,thumbs:m}=e;let v,w,b,y,A;r.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(v=!0),r.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(w=!0),r.includes("pagination")&&n.pagination&&(n.pagination.el||c)&&(d.pagination||!1===d.pagination)&&p&&!p.el&&(b=!0),r.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||l)&&(d.scrollbar||!1===d.scrollbar)&&h&&!h.el&&(y=!0),r.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||i)&&(d.navigation||!1===d.navigation)&&f&&!f.prevEl&&!f.nextEl&&(A=!0),u.forEach((t=>{if(o(d[t])&&o(n[t]))s(d[t],n[t]);else{const i=n[t];!0!==i&&!1!==i||"navigation"!==t&&"pagination"!==t&&"scrollbar"!==t?d[t]=n[t]:!1===i&&e[r=t]&&(e[r].destroy(),"navigation"===r?(d[r].prevEl=void 0,d[r].nextEl=void 0,e[r].prevEl=void 0,e[r].nextEl=void 0):(d[r].el=void 0,e[r].el=void 0))}var r})),r.includes("children")&&g&&d.virtual.enabled?(g.slides=t,g.update(!0)):r.includes("children")&&e.lazy&&e.params.lazy.enabled&&e.lazy.load(),v&&m.init()&&m.update(!0),w&&(e.controller.control=d.controller.control),b&&(c&&(d.pagination.el=c),p.init(),p.render(),p.update()),y&&(l&&(d.scrollbar.el=l),h.init(),h.updateSize(),h.setTranslate()),A&&(i&&(d.navigation.nextEl=i),a&&(d.navigation.prevEl=a),f.init(),f.update()),r.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),r.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),r.includes("direction")&&e.changeDirection(n.direction,!1),e.update()}({swiper:M.current,slides:Q,passedParams:j,changedParams:e,nextEl:P.current,prevEl:D.current,scrollbarEl:F.current,paginationEl:B.current}),()=>{z&&M.current&&Object.keys(z).forEach((e=>{M.current.off(e,z[e])}))}})),g((()=>{var e;!(e=M.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[x]),r.createElement(t,m({ref:T,className:u(`${A}${e?` ${e}`:""}`)},R),$["container-start"],a(L)&&r.createElement(r.Fragment,null,r.createElement("div",{ref:D,className:"swiper-button-prev"}),r.createElement("div",{ref:P,className:"swiper-button-next"})),c(L)&&r.createElement("div",{ref:F,className:"swiper-scrollbar"}),l(L)&&r.createElement("div",{ref:B,className:"swiper-pagination"}),r.createElement(n,{className:"swiper-wrapper"},$["wrapper-start"],L.virtual?function(e,t,n){if(!n)return null;const i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`};return t.filter(((e,t)=>t>=n.from&&t<=n.to)).map((t=>r.cloneElement(t,{swiper:e,style:i})))}(M.current,Q,x):!L.loop||M.current&&M.current.destroyed?Q.map((e=>r.cloneElement(e,{swiper:M.current}))):function(e,t,n){const i=t.map(((t,n)=>r.cloneElement(t,{swiper:e,"data-swiper-slide-index":n})));function o(e,t,i){return r.cloneElement(e,{key:`${e.key}-duplicate-${t}-${i}`,className:`${e.props.className||""} ${n.slideDuplicateClass}`})}if(n.loopFillGroupWithBlank){const e=n.slidesPerGroup-i.length%n.slidesPerGroup;if(e!==n.slidesPerGroup)for(let t=0;t{t=i.length-s&&a.push(o(e,t,"append"))})),e&&(e.loopedSlides=s),[...a,...i,...l]}(M.current,Q,L),$["wrapper-end"]),$["container-end"])}));function w(){return w=Object.assign||function(e){for(var t=1;t{const c=(0,r.useRef)(null),[d,p]=(0,r.useState)("swiper-slide");function f(e,t,n){t===c.current&&p(n)}let h;g((()=>{if(l&&(l.current=c.current),c.current&&i){if(!i.destroyed)return i.on("_slideClass",f),()=>{i&&i.off("_slideClass",f)};"swiper-slide"!==d&&p("swiper-slide")}})),g((()=>{i&&c.current&&p(i.getSlideClasses(c.current))}),[i]),"function"==typeof t&&(h={isActive:d.indexOf("swiper-slide-active")>=0||d.indexOf("swiper-slide-duplicate-active")>=0,isVisible:d.indexOf("swiper-slide-visible")>=0,isDuplicate:d.indexOf("swiper-slide-duplicate")>=0,isPrev:d.indexOf("swiper-slide-prev")>=0||d.indexOf("swiper-slide-duplicate-prev")>=0,isNext:d.indexOf("swiper-slide-next")>=0||d.indexOf("swiper-slide-duplicate-next")>=0});const m=()=>"function"==typeof t?t(h):t;return r.createElement(e,w({ref:c,className:u(`${d}${n?` ${n}`:""}`),"data-swiper-slide-index":s},a),o?r.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof o?o:void 0},m()):m())}));b.displayName="SwiperSlide"},62051:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e={},t={}){Object.keys(t).forEach((n=>{void 0===e[n]?e[n]=t[n]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])}))}n.d(t,{W_:function(){return X},ZP:function(){return Y}});const o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function s(){const e="undefined"!=typeof document?document:{};return i(e,o),e}const a={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return i(e,a),e}class c extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function u(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...u(e)):t.push(e)})),t}function d(e,t){return Array.prototype.filter.call(e,t)}function p(e,t){const n=l(),r=s();let i=[];if(!t&&e instanceof c)return e;if(!e)return new c(i);if("string"==typeof e){const n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let e="div";0===n.indexOf("e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=u(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=u(e.map((e=>e.split(" "))));return d(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=u(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n=0;e-=1){const n=s[e];r&&n.listener===r||r&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===r?(o.removeEventListener(t,n.proxyListener,i),s.splice(e,1)):r||(o.removeEventListener(t,n.proxyListener,i),s.splice(e,1))}}}return this},trigger:function(...e){const t=l(),n=e[0].split(" "),r=e[1];for(let i=0;it>0)),i.dispatchEvent(n),i.dom7EventData=[],delete i.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function n(r){r.target===this&&(e.call(this,r),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=l();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=l(),t=s(),n=this[0],r=n.getBoundingClientRect(),i=t.body,o=n.clientTop||i.clientTop||0,a=n.clientLeft||i.clientLeft||0,c=n===e?e.scrollY:n.scrollTop,u=n===e?e.scrollX:n.scrollLeft;return{top:r.top+c-o,left:r.left+u-a}}return null},css:function(e,t){const n=l();let r;if(1===arguments.length){if("string"!=typeof e){for(r=0;r{e.apply(t,[t,n])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return p([]);if(e<0){const n=t+e;return p(n<0?[]:[this[n]])}return p([this[e]])},append:function(...e){let t;const n=s();for(let r=0;r=0;r-=1)this[n].insertBefore(i.childNodes[r],this[n].childNodes[0])}else if(e instanceof c)for(r=0;r0?e?this[0].nextElementSibling&&p(this[0].nextElementSibling).is(e)?p([this[0].nextElementSibling]):p([]):this[0].nextElementSibling?p([this[0].nextElementSibling]):p([]):p([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return p([]);for(;n.nextElementSibling;){const r=n.nextElementSibling;e?p(r).is(e)&&t.push(r):t.push(r),n=r}return p(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&p(t.previousElementSibling).is(e)?p([t.previousElementSibling]):p([]):t.previousElementSibling?p([t.previousElementSibling]):p([])}return p([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return p([]);for(;n.previousElementSibling;){const r=n.previousElementSibling;e?p(r).is(e)&&t.push(r):t.push(r),n=r}return p(t)},parent:function(e){const t=[];for(let n=0;n{Object.defineProperty(p.fn,e,{value:g[e],writable:!0})}));var m=p;function v(e,t=0){return setTimeout(e,t)}function w(){return Date.now()}function b(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function y(...e){const t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let i=1;in.indexOf(e)<0));for(let n=0,r=e.length;ni?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{o=(new Date).getTime(),null===s&&(s=o);const l=Math.max(Math.min((o-s)/a,1),0),c=.5-Math.cos(l*Math.PI)/2;let p=i+c*(t-i);if(u(p,t)&&(p=t),e.wrapperEl.scrollTo({[n]:p}),u(p,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:p})})),void r.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=r.requestAnimationFrame(d)};d()}let x,C,S;function I(){return x||(x=function(){const e=l(),t=s();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),x}var O={on(e,t,n){const r=this;if("function"!=typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once(e,t,n){const r=this;if("function"!=typeof t)return r;function i(...n){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(r,n)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if("function"!=typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit(...e){const t=this;if(!t.eventsListeners)return t;let n,r,i;return"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),i=t):(n=e[0].events,r=e[0].data,i=e[0].context||t),r.unshift(i),(Array.isArray(n)?n:n.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...r])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(i,r)}))})),t}},T={updateSize:function(){const e=this;let t,n;const r=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:r[0].clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:r[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),n=n-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const r=e.params,{$wrapperEl:i,size:o,rtlTranslate:s,wrongRTL:a}=e,l=e.virtual&&r.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=i.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:u.length;let p=[];const f=[],h=[];let g=r.slidesOffsetBefore;"function"==typeof g&&(g=r.slidesOffsetBefore.call(e));let m=r.slidesOffsetAfter;"function"==typeof m&&(m=r.slidesOffsetAfter.call(e));const v=e.snapGrid.length,w=e.slidesGrid.length;let b=r.spaceBetween,y=-g,E=0,x=0;if(void 0===o)return;"string"==typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*o),e.virtualSize=-b,s?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),r.centeredSlides&&r.cssMode&&(A(e.wrapperEl,"--swiper-centered-offset-before",""),A(e.wrapperEl,"--swiper-centered-offset-after",""));const C=r.grid&&r.grid.rows>1&&e.grid;let S;C&&e.grid.initSlides(d);const I="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>void 0!==r.breakpoints[e].slidesPerView)).length>0;for(let i=0;i1&&p.push(e.virtualSize-o)}if(0===p.length&&(p=[0]),0!==r.spaceBetween){const n=e.isHorizontal()&&s?"marginLeft":t("marginRight");u.filter(((e,t)=>!r.cssMode||t!==u.length-1)).css({[n]:`${b}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween;const t=e-o;p=p.map((e=>e<0?-g:e>t?t+m:e))}if(r.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween,e{p[n]=e-t})),f.forEach(((e,n)=>{f[n]=e+t}))}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){A(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),A(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}d!==c&&e.emit("slidesLengthChange"),p.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==w&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset()},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const s=e=>r?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each((e=>{n.push(e)}));else for(i=0;it.slides.length&&!r)break;n.push(s(e))}else n.push(s(t.activeIndex));for(i=0;io?e:o}(o||0===o)&&t.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n=0&&d1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(e),r.eq(e).addClass(n.slideVisibleClass)),a.progress=i?-c:c,a.originalProgress=i?-u:u}t.visibleSlides=m(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:s}=t;const a=o,l=s;0===r?(i=0,o=!0,s=!0):(i=(e-t.minTranslate())/r,o=i<=0,s=i>=1),Object.assign(t,{progress:i,isBeginning:o,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!a&&t.emit("reachBeginning toEdge"),s&&!l&&t.emit("reachEnd toEdge"),(a&&!o||l&&!s)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:r,activeIndex:i,realIndex:o}=e,s=e.virtual&&n.virtual.enabled;let a;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),a=s?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),a.addClass(n.slideActiveClass),n.loop&&(a.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let l=a.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let c=a.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:r,snapGrid:i,params:o,activeIndex:s,realIndex:a,snapIndex:l}=t;let c,u=e;if(void 0===u){for(let e=0;e=r[e]&&n=r[e]&&n=r[e]&&(u=e);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(i.indexOf(n)>=0)c=i.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/o.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),u===s)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:d,previousIndex:s,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),a!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,r=m(e).closest(`.${n.slideClass}`)[0];let i,o=!1;if(r)for(let e=0;eo?"next":i=l.length&&(m=l.length-1),(d||a.initialSlide||0)===(u||0)&&n&&o.emit("beforeSlideChangeStart");const v=-l[m];if(o.updateProgress(v),a.normalizeSlideIndex)for(let e=0;e=n&&t=n&&t=n&&(s=e)}if(o.initialized&&s!==d){if(!o.allowSlideNext&&vo.translate&&v>o.maxTranslate()&&(d||0)!==s)return!1}let w;if(w=s>d?"next":s{o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{if(!o.support.smoothScroll)return E({swiper:o,targetPosition:n,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(v),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,w),0===t?o.transitionEnd(n,w):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,w))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,r){const i=this;let o=e;return i.params.loop&&(o+=i.loopedSlides),i.slideTo(o,t,n,r)},slideNext:function(e=this.params.speed,t=!0,n){const r=this,{animating:i,enabled:o,params:s}=r;if(!o)return r;let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndexu(e)));let f=s[p.indexOf(d)-1];if(void 0===f&&i.cssMode){let e;s.forEach(((t,n)=>{d>=t&&(e=n)})),void 0!==e&&(f=s[e>0?e-1:e])}let h=0;return void 0!==f&&(h=a.indexOf(f),h<0&&(h=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(h=h-r.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),i.rewind&&r.isBeginning?r.slideTo(r.slides.length-1,e,t,n):r.slideTo(h,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,r=.5){const i=this;let o=i.activeIndex;const s=Math.min(i.params.slidesPerGroupSkip,o),a=s+Math.floor((o-s)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const e=i.snapGrid[a];l-e>(i.snapGrid[a+1]-e)*r&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[a-1];l-e<=(i.snapGrid[a]-e)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(m(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?oe.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),v((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),v((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}},k={loopCreate:function(){const e=this,t=s(),{params:n,$wrapperEl:r}=e,i=r.children().length>0?m(r.children()[0].parentNode):r;i.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=i.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){const e=n.slidesPerGroup-o.length%n.slidesPerGroup;if(e!==n.slidesPerGroup){for(let r=0;ro.length&&(e.loopedSlides=o.length);const a=[],l=[];o.each(((t,n)=>{const r=m(t);n=o.length-e.loopedSlides&&a.push(t),r.attr("data-swiper-slide-index",n)}));for(let e=0;e=0;e-=1)i.prepend(m(a[e].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:r,allowSlidePrev:i,allowSlideNext:o,snapGrid:s,rtlTranslate:a}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-s[t]-e.getTranslate();t=n.length-r&&(l=-n.length+t+r,l+=r,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)),e.allowSlidePrev=i,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};function P(e){const t=this,n=s(),r=l(),i=t.touchEventsData,{params:o,touches:a,enabled:c}=t;if(!c)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let u=e;u.originalEvent&&(u=u.originalEvent);let d=m(u.target);if("wrapper"===o.touchEventsTarget&&!d.closest(t.wrapperEl).length)return;if(i.isTouchEvent="touchstart"===u.type,!i.isTouchEvent&&"which"in u&&3===u.which)return;if(!i.isTouchEvent&&"button"in u&&u.button>0)return;if(i.isTouched&&i.isMoved)return;o.noSwipingClass&&""!==o.noSwipingClass&&u.target&&u.target.shadowRoot&&e.path&&e.path[0]&&(d=m(e.path[0]));const p=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!(!u.target||!u.target.shadowRoot);if(o.noSwiping&&(f?function(e,t=this){return function t(n){return n&&n!==s()&&n!==l()?(n.assignedSlot&&(n=n.assignedSlot),n.closest(e)||t(n.getRootNode().host)):null}(t)}(p,u.target):d.closest(p)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!d.closest(o.swipeHandler)[0])return;a.currentX="touchstart"===u.type?u.targetTouches[0].pageX:u.pageX,a.currentY="touchstart"===u.type?u.targetTouches[0].pageY:u.pageY;const h=a.currentX,g=a.currentY,v=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,b=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(v&&(h<=b||h>=r.innerWidth-b)){if("prevent"!==v)return;e.preventDefault()}if(Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=h,a.startY=g,i.touchStartTime=w(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==u.type){let e=!0;d.is(i.focusableElements)&&(e=!1),n.activeElement&&m(n.activeElement).is(i.focusableElements)&&n.activeElement!==d[0]&&n.activeElement.blur();const r=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!r||d[0].isContentEditable||u.preventDefault()}t.emit("touchStart",u)}function D(e){const t=s(),n=this,r=n.touchEventsData,{params:i,touches:o,rtlTranslate:a,enabled:l}=n;if(!l)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c));if(r.isTouchEvent&&"touchmove"!==c.type)return;const u="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),d="touchmove"===c.type?u.pageX:c.pageX,p="touchmove"===c.type?u.pageY:c.pageY;if(c.preventedByNestedSwiper)return o.startX=d,void(o.startY=p);if(!n.allowTouchMove)return n.allowClick=!1,void(r.isTouched&&(Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p}),r.touchStartTime=w()));if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(po.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(do.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&t.activeElement&&c.target===t.activeElement&&m(c.target).is(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;o.currentX=d,o.currentY=p;const f=o.currentX-o.startX,h=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(f**2+h**2)=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,r.isScrolling=n.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),void 0===r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation(),r.isMoved||(i.loop&&!i.cssMode&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)),n.emit("sliderMove",c),r.isMoved=!0;let g=n.isHorizontal()?f:h;o.diff=g,g*=i.touchRatio,a&&(g=-g),n.swipeDirection=g>0?"prev":"next",r.currentTranslate=g+r.startTranslate;let v=!0,b=i.resistanceRatio;if(i.touchReleaseOnEdges&&(b=0),g>0&&r.currentTranslate>n.minTranslate()?(v=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+g)**b)):g<0&&r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(g)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function B(e){const t=this,n=t.touchEventsData,{params:r,touches:i,rtlTranslate:o,slidesGrid:s,enabled:a}=t;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=w(),u=c-n.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),u<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=w(),v((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let d;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,r.cssMode)return;if(t.params.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});let p=0,f=t.slidesSizesGrid[0];for(let e=0;e=s[e]&&d=s[e]&&(p=e,f=s[s.length-1]-s[s.length-2])}const h=(d-s[p])/f,g=pr.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(h>=r.longSwipesRatio?t.slideTo(p+g):t.slideTo(p)),"prev"===t.swipeDirection&&(h>1-r.longSwipesRatio?t.slideTo(p+g):t.slideTo(p))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(p+g),"prev"===t.swipeDirection&&t.slideTo(p)):l.target===t.navigation.nextEl?t.slideTo(p+g):t.slideTo(p)}}function F(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function L(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function j(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();i=0===o?0:(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let R=!1;function z(){}const Q=(e,t)=>{const n=s(),{params:r,touchEvents:i,el:o,wrapperEl:a,device:l,support:c}=e,u=!!r.nested,d="on"===t?"addEventListener":"removeEventListener",p=t;if(c.touch){const t=!("touchstart"!==i.start||!c.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};o[d](i.start,e.onTouchStart,t),o[d](i.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:u}:u),o[d](i.end,e.onTouchEnd,t),i.cancel&&o[d](i.cancel,e.onTouchEnd,t)}else o[d](i.start,e.onTouchStart,!1),n[d](i.move,e.onTouchMove,u),n[d](i.end,e.onTouchEnd,!1);(r.preventClicks||r.preventClicksPropagation)&&o[d]("click",e.onClick,!0),r.cssMode&&a[d]("scroll",e.onScroll),r.updateOnWindowResize?e[p](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",F,!0):e[p]("observerUpdate",F,!0)};var $={attachEvents:function(){const e=this,t=s(),{params:n,support:r}=e;e.onTouchStart=P.bind(e),e.onTouchMove=D.bind(e),e.onTouchEnd=B.bind(e),n.cssMode&&(e.onScroll=j.bind(e)),e.onClick=L.bind(e),r.touch&&!R&&(t.addEventListener("touchstart",z),R=!0),Q(e,"on")},detachEvents:function(){Q(this,"off")}};const G=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var N={addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,$el:i,device:o,support:s}=e,a=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":!s.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides}],n.containerModifierClass);t.push(...a),i.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},U={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function H(e,t){return function(n={}){const r=Object.keys(n)[0],i=n[r];"object"==typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===e[r]&&(e[r]={auto:!0}),r in e&&"enabled"in i?(!0===e[r]&&(e[r]={enabled:!0}),"object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),y(t,n)):y(t,n)):y(t,n)}}const W={eventsEmitter:O,update:T,translate:{getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:r,$wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let o=function(e,t="x"){const n=l();let r,i,o;const s=function(e){const t=l();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===i?"":i)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),"x"===t&&(i=n.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=n.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}(i[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,$wrapperEl:o,wrapperEl:s,progress:a}=n;let l,c=0,u=0;n.isHorizontal()?c=r?-e:e:u=e,i.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),i.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-u:i.virtualTranslate||o.transform(`translate3d(${c}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:u;const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(e-n.minTranslate())/d,l!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,r=!0,i){const o=this,{params:s,wrapperEl:a}=o;if(o.animating&&s.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=r&&e>l?l:r&&e{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));s.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;en}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:N,images:{loadImage:function(e,t,n,r,i,o){const s=l();let a;function c(){o&&o()}m(e).parent("picture")[0]||e.complete&&i?c():t?(a=new s.Image,a.onload=c,a.onerror=c,r&&(a.sizes=r),n&&(a.srcset=n),t&&(a.src=t)):c()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n1){const e=[];return m(n.el).each((t=>{const r=y({},n,{el:t});e.push(new V(r))})),e}const r=this;r.__swiper__=!0,r.support=I(),r.device=function(e={}){return C||(C=function({userAgent:e}={}){const t=I(),n=l(),r=n.navigator.platform,i=e||n.navigator.userAgent,o={ios:!1,android:!1},s=n.screen.width,a=n.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/);let u=i.match(/(iPad).*OS\s([\d_]+)/);const d=i.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===r;let h="MacIntel"===r;return!u&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${a}`)>=0&&(u=i.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),h=!1),c&&!f&&(o.os="android",o.android=!0),(u||p||d)&&(o.os="ios",o.ios=!0),o}(e)),C}({userAgent:n.userAgent}),r.browser=(S||(S=function(){const e=l();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),S),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],n.modules&&Array.isArray(n.modules)&&r.modules.push(...n.modules);const i={};r.modules.forEach((e=>{e({swiper:r,extendParams:H(n,i),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})}));const o=y({},U,i);return r.params=y({},o,q,n),r.originalParams=y({},r.params),r.passedParams=y({},n),r.params&&r.params.on&&Object.keys(r.params.on).forEach((e=>{r.on(e,r.params.on[e])})),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=m,Object.assign(r,{enabled:r.params.enabled,el:t,classNames:[],slides:m(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:w(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:r,slidesGrid:i,slidesSizesGrid:o,size:s,activeIndex:a}=this;let l=1;if(n.centeredSlides){let e,t=r[a].swiperSlideSize;for(let n=a+1;ns&&(e=!0));for(let n=a-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>s&&(e=!0))}else if("current"===e)for(let e=a+1;e=0;e-=1)i[a]-i[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||r()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${r}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}mount(e){const t=this;if(t.mounted)return!0;const n=m(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=m(e.shadowRoot.querySelector(r()));return t.children=e=>n.children(e),t}return n.children(r())})();if(0===i.length&&t.params.createElements){const e=s().createElement("div");i=m(e),e.className=t.params.wrapperClass,n.append(e),n.children(`.${t.params.slideClass}`).each((e=>{i.append(e)}))}return Object.assign(t,{$el:n,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const n=this,{params:r,$el:i,$wrapperEl:o,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),s&&s.length&&s.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){y(q,e)}static get extendedDefaults(){return q}static get defaults(){return U}static installModule(e){V.prototype.__modules__||(V.prototype.__modules__=[]);const t=V.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>V.installModule(e))),V):(V.installModule(e),V)}}Object.keys(W).forEach((e=>{Object.keys(W[e]).forEach((t=>{V.prototype[t]=W[e][t]}))})),V.use([function({swiper:e,on:t,emit:n}){const r=l();let i=null;const o=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},s=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver((t=>{const{width:n,height:r}=e;let i=n,s=r;t.forEach((({contentBoxSize:t,contentRect:n,target:r})=>{r&&r!==e.el||(i=n?n.width:(t[0]||t).inlineSize,s=n?n.height:(t[0]||t).blockSize)})),i===n&&s===r||o()})),i.observe(e.el)):(r.addEventListener("resize",o),r.addEventListener("orientationchange",s))})),t("destroy",(()=>{i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",s)}))},function({swiper:e,extendParams:t,on:n,emit:r}){const i=[],o=l(),s=(e,t={})=>{const n=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(1===e.length)return void r("observerUpdate",e[0]);const t=function(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.push(n)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{i.forEach((e=>{e.disconnect()})),i.splice(0,i.length)}))}]);var Y=V;function X({swiper:e,extendParams:t,on:n,emit:r}){function i(t){let n;return t&&(n=m(t),e.params.uniqueNavElements&&"string"==typeof t&&n.length>1&&1===e.$el.find(t).length&&(n=e.$el.find(t))),n}function o(t,n){const r=e.params.navigation;t&&t.length>0&&(t[n?"addClass":"removeClass"](r.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=n),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](r.lockClass))}function a(){if(e.params.loop)return;const{$nextEl:t,$prevEl:n}=e.navigation;o(n,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function l(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&e.slidePrev()}function c(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&e.slideNext()}function u(){const t=e.params.navigation;if(e.params.navigation=function(e,t,n,r){const i=s();return e.params.createElements&&Object.keys(r).forEach((o=>{if(!n[o]&&!0===n.auto){let s=e.$el.children(`.${r[o]}`)[0];s||(s=i.createElement("div"),s.className=r[o],e.$el.append(s)),n[o]=s,t[o]=s}})),n}(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const n=i(t.nextEl),r=i(t.prevEl);n&&n.length>0&&n.on("click",c),r&&r.length>0&&r.on("click",l),Object.assign(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:r,prevEl:r&&r[0]}),e.enabled||(n&&n.addClass(t.lockClass),r&&r.addClass(t.lockClass))}function d(){const{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",c),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",l),n.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",(()=>{u(),a()})),n("toEdge fromEdge lock unlock",(()=>{a()})),n("destroy",(()=>{d()})),n("enable disable",(()=>{const{$nextEl:t,$prevEl:n}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),n("click",((t,n)=>{const{$nextEl:i,$prevEl:o}=e.navigation,s=n.target;if(e.params.navigation.hideOnClick&&!m(s).is(o)&&!m(s).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===s||e.pagination.el.contains(s)))return;let t;i?t=i.hasClass(e.params.navigation.hiddenClass):o&&(t=o.hasClass(e.params.navigation.hiddenClass)),r(!0===t?"navigationShow":"navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),o&&o.toggleClass(e.params.navigation.hiddenClass)}})),Object.assign(e.navigation,{update:a,init:u,destroy:d})}}}]);