vendor: 5,594 bytes, lines 1-2
1/*! For license information please see vendors.bundle.js.LICENSE.txt */ 2(self.webpackChunktimely=self.webpackChunktimely||[]).push([[96],{2739(e,t,n){"use strict";n.d(t,{Bd:()=>r});var r=/^(299|337|488|781|806)$/.test(n.j)?"undefined"!=typeof window:null},6163(e,t,n){"use strict";var r=n(6540);if(/^(299|337|488|781|806)$/.test(n.j))var i=n(2739);const s=/^(299|337|488|781|806)$/.test(n.j)?function(e,t,n){if(!i.Bd)return[t,function(){}];var s=(0,r.useState)((function(){try{var r=sessionStorage.getItem(e);return"string"!=typeof r?(sessionStorage.setItem(e,n?String(t):JSON.stringify(t)),t):n?r:JSON.parse(r||"null")}catch(e){return t}})),o=s[0],a=s[1];return(0,r.useEffect)((function(){try{var t=n?String(o):JSON.stringify(o);sessionStorage.setItem(e,t)}catch(e){}})),[o,a]}:null;n.d(t,["A",0,s])},7463(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<s(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var a=2*(r+1)-1,l=e[a],u=a+1,c=e[u];if(0>s(l,n))u<i&&0>s(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[a]=n,r=a);else{if(!(u<i&&0>s(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function s(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();t.unstable_now=function(){return a.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,v=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function x(e){if(v=!1,w(e),!m)if(null!==r(u))m=!0,D(E);else{var t=r(c);null!==t&&O(x,t.startTime-e)}}function E(e,n){m=!1,v&&(v=!1,y(C),C=-1),h=!0;var s=p;try{for(w(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!k());){var o=f.callback;if("function"==typeof o){f.callback=null,p=f.priorityLevel;var a=o(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof a?f.callback=a:f===r(u)&&i(u),w(n)}else i(u);f=r(u)}if(null!==f)var l=!0;else{var d=r(c);null!==d&&O(x,d.startTime-n),l=!1}return l}finally{f=null,p=s,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,T=!1,P=null,C=-1,j=5,M=-1;function k(){return!(t.unstable_now()-M<j)}function $(){if(null!==P){var e=t.unstable_now();M=e;var n=!0;try{n=P(!0,e)}finally{n?S():(T=!1,P=null)}}else T=!1}if("function"==typeof b)S=function(){b($)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,L=A.port2;A.port1.onmessage=$,S=function(){L.postMessage(null)}}else S=function(){g($,0)};function D(e){P=e,T||(T=!0,S())}function O(e,n){C=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,D(E))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,s){var o=t.unstable_now();switch("object"==typeof s&&null!==s?s="number"==typeof(s=s.delay)&&0<s?o+s:o:s=o,e){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:s,expirationTime:a=s+a,sortIndex:-1},s>o?(e.sortIndex=s,n(c,e),null===r(u)&&e===r(c)&&(v?(y(C),C=-1):v=!0,O(x,s-o))):(e.sortIndex=a,n(u,e),m||h||(m=!0,D(E))),e},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},9982(e,t,n){"use strict";e.exports=n(7463)},8493(e,t,n){"use strict";var r=n(6540);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=r.useState,o=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=s({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return a((function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})}),[e,n,t]),o((function(){return u(i)&&c({inst:i}),e((function(){u(i)&&c({inst:i})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},9888(e,t,n){"use strict";e.exports=n(8493)},6942(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];
2n&&(e=o(e,s(n)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},5361(e,t,n){"use strict";if(n.d(t,{__:()=>s}),/^(129|204|299|337|532|806)$/.test(n.j))var r=n(7193);function i(e,t,n){let{reference:i,floating:s}=e;const o=(0,r.TV)(t),a=(0,r.Dz)(t),l=(0,r.sq)(a),u=(0,r.C0)(t),c="y"===o,d=i.x+i.width/2-s.width/2,f=i.y+i.height/2-s.height/2,p=i[l]/2-s[l]/2;let h;switch(u){case"top":h={x:d,y:i.y-s.height};break;case"bottom":h={x:d,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-s.width,y:f};break;default:h={x:i.x,y:i.y}}const m=(0,r.Sg)(t);return m&&(h[a]+=p*("end"===m?1:-1)*(n&&c?-1:1)),h}async function s(e,t){var n;void 0===t&&(t={});const{x:i,y:s,platform:o,rects:a,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=(0,r._3)(t,e),m=(0,r.nI)(h),v=l[p?"floating"===f?"reference":"floating":f],g=(0,r.B1)(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),y="floating"===f?{x:i,y:s,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),w=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},x=(0,r.B1)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:u}):y);return{top:(g.top-x.top+m.top)/w.y,bottom:(x.bottom-g.bottom+m.bottom)/w.y,left:(g.left-x.left+m.left)/w.x,right:(x.right-g.right+m.right)/w.x}}const o=/^(129|204|299|337|532|806)$/.test(n.j)?new Set(["left","top"]):null;n.d(t,["BN",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:s,platform:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r._3)(e,t),d={x:n,y:i},f=await o.detectOverflow(t,c),p=(0,r.TV)(s),h=(0,r.PG)(p);let m=d[h],v=d[p];const g=(e,t)=>(0,r.qE)(t+f["y"===e?"top":"left"],t,t-f["y"===e?"bottom":"right"]);a&&(m=g(h,m)),l&&(v=g(p,v));const y=u.fn({...t,[h]:m,[p]:v});return{...y,data:{x:y.x-n,y:y.y-i,enabled:{[h]:a,[p]:l}}}}}},"Ej",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:i,platform:s,elements:o}=t,{apply:a=()=>{},...l}=(0,r._3)(e,t),u=await s.detectOverflow(t,l),c=(0,r.C0)(n),d=(0,r.Sg)(n),f="y"===(0,r.TV)(n),{width:p,height:h}=i.floating;let m,v;"top"===c||"bottom"===c?(m=c,v=d===(await(null==s.isRTL?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(v=c,m="end"===d?"top":"bottom");const g=h-u.top-u.bottom,y=p-u.left-u.right,b=(0,r.jk)(h-u[m],g),w=(0,r.jk)(p-u[v],y),x=t.middlewareData.shift,E=!x;let S=b,T=w;null!=x&&x.enabled.x&&(T=y),null!=x&&x.enabled.y&&(S=g),E&&!d&&(f?T=p-2*(0,r.T9)(u.left,u.right):S=h-2*(0,r.T9)(u.top,u.bottom)),await a({...t,availableWidth:T,availableHeight:S});const P=await s.getDimensions(o.floating);return p!==P.width||h!==P.height?{reset:{rects:!0}}:{}}}},"UE",0,e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:s,rects:o,platform:a,elements:l,middlewareData:u}=t,{element:c,padding:d=0}=(0,r._3)(e,t)||{};if(null==c)return{};const f=(0,r.nI)(d),p={x:n,y:i},h=(0,r.Dz)(s),m=(0,r.sq)(h),v=await a.getDimensions(c),g="y"===h,y=g?"top":"left",b=g?"bottom":"right",w=g?"clientHeight":"clientWidth",x=o.reference[m]+o.reference[h]-p[h]-o.floating[m],E=p[h]-o.reference[h],S=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let T=S?S[w]:0;T&&await(null==a.isElement?void 0:a.isElement(S))||(T=l.floating[w]||o.floating[m]);const P=x/2-E/2,C=T/2-v[m]/2-1,j=(0,r.jk)(f[y],C),M=(0,r.jk)(f[b],C),k=T-v[m]-M,$=T/2-v[m]/2+P,A=(0,r.qE)(j,$,k),L=!u.arrow&&null!=(0,r.Sg)(s)&&$!==A&&o.reference[m]/2-($<j?j:M)-v[m]/2<0,D=L?$<j?$-j:$-k:0;return{[h]:p[h]+D,data:{[h]:A,centerOffset:$-A-D,...L&&{alignmentOffset:D}},reset:L}}}),"UU",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:s,middlewareData:o,rects:a,initialPlacement:l,platform:u,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:v=!0,...g}=(0,r._3)(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const y=(0,r.C0)(s),b=(0,r.TV)(l),w=(0,r.C0)(l)===l,x=await(null==u.isRTL?void 0:u.isRTL(c.floating)),E=p||(w||!v?[(0,r.bV)(l)]:(0,r.WJ)(l)),S="none"!==m;!p&&S&&E.push(...(0,r.lP)(l,v,m,x));
2const T=[l,...E],P=await u.detectOverflow(t,g),C=[];let j=(null==(i=o.flip)?void 0:i.overflows)||[];if(d&&C.push(P[y]),f){const e=(0,r.w7)(s,a,x);C.push(P[e[0]],P[e[1]])}if(j=[...j,{placement:s,overflows:C}],!C.every((e=>e<=0))){var M,k;const e=((null==(M=o.flip)?void 0:M.index)||0)+1,t=T[e];if(t){if(!("alignment"===f&&b!==(0,r.TV)(t))||j.every((e=>(0,r.TV)(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:j},reset:{placement:t}}}let n=null==(k=j.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:k.placement;if(!n)switch(h){case"bestFit":{var $;const e=null==($=j.filter((e=>{if(S){const t=(0,r.TV)(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:$[0];e&&(n=e);break}case"initialPlacement":n=l}if(s!==n)return{reset:{placement:n}}}return{}}}},"cY",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:s,y:a,placement:l,middlewareData:u}=t,c=await async function(e,t){const{placement:n,platform:i,elements:s}=e,a=await(null==i.isRTL?void 0:i.isRTL(s.floating)),l=(0,r.C0)(n),u=(0,r.Sg)(n),c="y"===(0,r.TV)(n),d=o.has(l)?-1:1,f=a&&c?-1:1,p=(0,r._3)(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:v}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return u&&"number"==typeof v&&(m="end"===u?-1*v:v),c?{x:m*f,y:h*d}:{x:h*d,y:m*f}}(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(i=u.arrow)&&i.alignmentOffset?{}:{x:s+c.x,y:a+c.y,data:{...c,placement:l}}}}},"rD",0,async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:l}=n,u=l.detectOverflow?l:{...l,detectOverflow:s},c=await(null==l.isRTL?void 0:l.isRTL(t));let d=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:p}=i(d,r,c),h=r,m=0;const v={};for(let n=0;n<a.length;n++){const s=a[n];if(!s)continue;const{name:g,fn:y}=s,{x:b,y:w,data:x,reset:E}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:o,middlewareData:v,rects:d,platform:u,elements:{reference:e,floating:t}});f=null!=b?b:f,p=null!=w?w:p,v[g]={...v[g],...x},E&&m<50&&(m++,"object"==typeof E&&(E.placement&&(h=E.placement),E.rects&&(d=!0===E.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):E.rects),({x:f,y:p}=i(d,h,c))),n=-1)}return{x:f,y:p,placement:h,strategy:o,middlewareData:v}}])},8491(e,t,n){"use strict";if(n.d(t,{ll:()=>E}),/^(129|204|299|337|532|806)$/.test(n.j))var r=n(5361);if(/^(129|204|299|337|532|806)$/.test(n.j))var i=n(7193);
2if(/^(129|204|299|337|532|806)$/.test(n.j))var s=n(6635);function o(e){const t=(0,s.L9)(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=(0,s.sb)(e),a=o?e.offsetWidth:n,l=o?e.offsetHeight:r,u=(0,i.LI)(n)!==a||(0,i.LI)(r)!==l;return u&&(n=a,r=l),{width:n,height:r,$:u}}function a(e){return(0,s.vq)(e)?e:e.contextElement}function l(e){const t=a(e);if(!(0,s.sb)(t))return(0,i.Jx)(1);const n=t.getBoundingClientRect(),{width:r,height:l,$:u}=o(t);let c=(u?(0,i.LI)(n.width):n.width)/r,d=(u?(0,i.LI)(n.height):n.height)/l;return c&&Number.isFinite(c)||(c=1),d&&Number.isFinite(d)||(d=1),{x:c,y:d}}const u=/^(129|204|299|337|532|806)$/.test(n.j)?(0,i.Jx)(0):null;function c(e){const t=(0,s.zk)(e);return(0,s.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:u}function d(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),u=a(e);let d=(0,i.Jx)(1);t&&(r?(0,s.vq)(r)&&(d=l(r)):d=l(e));const f=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,s.zk)(e))&&t}(u,n,r)?c(u):(0,i.Jx)(0);let p=(o.left+f.x)/d.x,h=(o.top+f.y)/d.y,m=o.width/d.x,v=o.height/d.y;if(u){const e=(0,s.zk)(u),t=r&&(0,s.vq)(r)?(0,s.zk)(r):r;let n=e,i=(0,s._m)(n);for(;i&&r&&t!==n;){const e=l(i),t=i.getBoundingClientRect(),r=(0,s.L9)(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;p*=e.x,h*=e.y,m*=e.x,v*=e.y,p+=o,h+=a,n=(0,s.zk)(i),i=(0,s._m)(n)}}return(0,i.B1)({width:m,height:v,x:p,y:h})}function f(e,t){const n=(0,s.CP)(e).scrollLeft;return t?t.left+n:d((0,s.ep)(e)).left+n}function p(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-f(e,n),y:n.top+t.scrollTop}}function h(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=(0,s.zk)(e),r=(0,s.ep)(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,l=0,u=0;if(i){o=i.width,a=i.height;const e=(0,s.Tc)();(!e||e&&"fixed"===t)&&(l=i.offsetLeft,u=i.offsetTop)}const c=f(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else c<=25&&(o+=c);return{width:o,height:a,x:l,y:u}}(e,n);else if("document"===t)r=function(e){const t=(0,s.ep)(e),n=(0,s.CP)(e),r=e.ownerDocument.body,o=(0,i.T9)(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=(0,i.T9)(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+f(e);const u=-n.scrollTop;return"rtl"===(0,s.L9)(r).direction&&(l+=(0,i.T9)(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:l,y:u}}((0,s.ep)(e));else if((0,s.vq)(t))r=function(e,t){const n=d(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=(0,s.sb)(e)?l(e):(0,i.Jx)(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}}(t,n);else{const n=c(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,i.B1)(r)}function m(e,t){const n=(0,s.$4)(e);return!(n===t||!(0,s.vq)(n)||(0,s.eu)(n))&&("fixed"===(0,s.L9)(n).position||m(n,t))}function v(e,t,n){const r=(0,s.sb)(t),o=(0,s.ep)(t),a="fixed"===n,l=d(e,!0,a,t);let u={scrollLeft:0,scrollTop:0};const c=(0,i.Jx)(0);function h(){c.x=f(o)}if(r||!r&&!a)if(("body"!==(0,s.mq)(t)||(0,s.ZU)(o))&&(u=(0,s.CP)(t)),r){const e=d(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&h();a&&!r&&o&&h();const m=!o||r||a?(0,i.Jx)(0):p(o,u);return{x:l.left+u.scrollLeft-c.x-m.x,y:l.top+u.scrollTop-c.y-m.y,width:l.width,height:l.height}}function g(e){return"static"===(0,s.L9)(e).position}function y(e,t){if(!(0,s.sb)(e)||"fixed"===(0,s.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,s.ep)(e)===n&&(n=n.ownerDocument.body),n}function b(e,t){const n=(0,s.zk)(e);if((0,s.Tf)(e))return n;if(!(0,s.sb)(e)){let t=(0,s.$4)(e);for(;t&&!(0,s.eu)(t);){if((0,s.vq)(t)&&!g(t))return t;t=(0,s.$4)(t)}return n}let r=y(e,t);for(;r&&(0,s.Lv)(r)&&g(r);)r=y(r,t);return r&&(0,s.eu)(r)&&g(r)&&!(0,s.sQ)(r)?n:r||(0,s.gJ)(e)||n}const w=/^(129|204|299|337|532|806)$/.test(n.j)?{convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a="fixed"===o,u=(0,s.ep)(r),c=!!t&&(0,s.Tf)(t.floating);if(r===u||c&&a)return n;let f={scrollLeft:0,scrollTop:0},h=(0,i.Jx)(1);const m=(0,i.Jx)(0),v=(0,s.sb)(r);if((v||!v&&!a)&&(("body"!==(0,s.mq)(r)||(0,s.ZU)(u))&&(f=(0,s.CP)(r)),v)){const e=d(r);h=l(r),m.x=e.x+r.clientLeft,m.y=e.y+r.clientTop}const g=!u||v||a?(0,i.Jx)(0):p(u,f);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-f.scrollLeft*h.x+m.x+g.x,y:n.y*h.y-f.scrollTop*h.y+m.y+g.y}},getDocumentElement:s.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[..."clippingAncestors"===n?(0,s.Tf)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,s.v9)(e,[],!1).filter((e=>(0,s.vq)(e)&&"body"!==(0,s.mq)(e))),i=null;const o="fixed"===(0,s.L9)(e).position;let a=o?(0,s.$4)(e):e;for(;(0,s.vq)(a)&&!(0,s.eu)(a);){const t=(0,s.L9)(a),n=(0,s.sQ)(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||(0,s.ZU)(a)&&!n&&m(e,a))?r=r.filter((e=>e!==a)):i=t,a=(0,s.$4)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=h(t,a[0],o);let u=l.top,c=l.right,d=l.bottom,f=l.left;for(let e=1;e<a.length;e++){const n=h(t,a[e],o);u=(0,i.T9)(n.top,u),c=(0,i.jk)(n.right,c),d=(0,i.jk)(n.bottom,d),f=(0,i.T9)(n.left,f)}return{width:c-f,height:d-u,x:f,y:u}},getOffsetParent:b,getElementRects:async function(e){const t=this.getOffsetParent||b,n=this.getDimensions,r=await n(e.floating);return{reference:v(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=o(e);return{width:t,height:n}},getScale:l,isElement:s.vq,isRTL:function(e){return"rtl"===(0,s.L9)(e).direction}}:null;function x(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function E(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,p=a(e),h=o||l?[...p?(0,s.v9)(p):[],...t?(0,s.v9)(t):[]]:[];h.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)}));const m=p&&c?function(e,t){let n,r=null;const o=(0,s.ep)(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),a();const c=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=c;if(l||t(),!p||!h)return;const m={rootMargin:-(0,i.RI)(f)+"px "+-(0,i.RI)(o.clientWidth-(d+p))+"px "+-(0,i.RI)(o.clientHeight-(f+h))+"px "+-(0,i.RI)(d)+"px",threshold:(0,i.T9)(0,(0,i.jk)(1,u))||1};let v=!0;function g(t){const r=t[0].intersectionRatio;if(r!==u){if(!v)return s();r?s(!1,r):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==r||x(c,e.getBoundingClientRect())||s(),v=!1}try{r=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),a}(p,n):null;let v,g=-1,y=null;u&&(y=new ResizeObserver((e=>{let[r]=e;r&&r.target===p&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var e;null==(e=y)||e.observe(t)}))),n()})),p&&!f&&y.observe(p),t&&y.observe(t));let b=f?d(e):null;return f&&function t(){const r=d(e);b&&!x(b,r)&&n();b=r,v=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach((e=>{o&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)})),null==m||m(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(v)}}const S=/^(129|204|299|337|532|806)$/.test(n.j)?r.__:null,T=/^(129|204|299|337|532|806)$/.test(n.j)?r.cY:null,P=/^(129|204|299|337|532|806)$/.test(n.j)?r.BN:null,C=/^(129|204|299|337|532|806)$/.test(n.j)?r.UU:null,j=/^(129|204|299|337|532|806)$/.test(n.j)?r.Ej:null,M=/^(129|532)$/.test(n.j)?r.UE:null;n.d(t,["BN",0,P,"Ej",0,j,"UE",0,M,"UU",0,C,"__",0,S,"cY",0,T,"rD",0,(e,t,n)=>{const i=new Map,s={platform:w,...n},o={...s.platform,_c:i};return(0,r.rD)(e,t,{...s,platform:o})}])},4743(e,t,n){"use strict";if(n.d(t,{we:()=>d}),/^(129|204|299|337|532|806)$/.test(n.j))var r=n(8491);var i=n(6540),s=n(961),o=/^(129|204|299|337|532|806)$/.test(n.j)?"undefined"!=typeof document?i.useLayoutEffect:i.useEffect:null;function a(e,t){if(e===t)return!0;
vendor: 2,783 bytes, line 2
2if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){const n=i[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){const n=l(e);return Math.round(t*n)/n}function c(e){const t=i.useRef(e);return o((()=>{t.current=e})),t}function d(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[y,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,x]=i.useState(d);a(w,d)||x(d);const[E,S]=i.useState(null),[T,P]=i.useState(null),C=i.useCallback((e=>{e!==$.current&&($.current=e,S(e))}),[]),j=i.useCallback((e=>{e!==A.current&&(A.current=e,P(e))}),[]),M=p||E,k=h||T,$=i.useRef(null),A=i.useRef(null),L=i.useRef(y),D=null!=v,O=c(v),R=c(f),I=c(g),F=i.useCallback((()=>{if(!$.current||!A.current)return;const e={placement:t,strategy:n,middleware:w};R.current&&(e.platform=R.current),(0,r.rD)($.current,A.current,e).then((e=>{const t={...e,isPositioned:!1!==I.current};_.current&&!a(L.current,t)&&(L.current=t,s.flushSync((()=>{b(t)})))}))}),[w,t,n,R,I]);o((()=>{!1===g&&L.current.isPositioned&&(L.current.isPositioned=!1,b((e=>({...e,isPositioned:!1}))))}),[g]);const _=i.useRef(!1);o((()=>(_.current=!0,()=>{_.current=!1})),[]),o((()=>{if(M&&($.current=M),k&&(A.current=k),M&&k){if(O.current)return O.current(M,k,F);F()}}),[M,k,F,O,D]);const B=i.useMemo((()=>({reference:$,floating:A,setReference:C,setFloating:j})),[C,j]),V=i.useMemo((()=>({reference:M,floating:k})),[M,k]),N=i.useMemo((()=>{const e={position:n,left:0,top:0};if(!V.floating)return e;const t=u(V.floating,y.x),r=u(V.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...l(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,m,V.floating,y.x,y.y]);return i.useMemo((()=>({...y,update:F,refs:B,elements:V,floatingStyles:N})),[y,F,B,V,N])}n.d(t,["BN",0,(e,t)=>({...(0,r.BN)(e),options:[e,t]}),"Ej",0,(e,t)=>({...(0,r.Ej)(e),options:[e,t]}),"UU",0,(e,t)=>({...(0,r.UU)(e),options:[e,t]}),"cY",0,(e,t)=>({...(0,r.cY)(e),options:[e,t]})])},8689(e,t,n){"use strict";let r;n.d(t,{Zx:()=>B,bv:()=>F,we:()=>D});var i=n(6540);if(/^(129|204|299|337|532|806)$/.test(n.j))var s=n(4603);if(/^(129|204|299|337|532|806)$/.test(n.j))var o=n(7193);
2if(/^(129|204|299|337|532|806)$/.test(n.j))var a=n(6635);var l=n(961);if(/^(129|204|299|337|532|806)$/.test(n.j))var u=n(4743);if(/^(129|204|299|337|532|806)$/.test(n.j))var c=n(8491);const d={...r||(r=n.t(i,2))},f=d.useInsertionEffect,p=/^(129|204|299|337|532|806)$/.test(n.j)?f||(e=>e()):null;function h(e){const t=i.useRef((()=>{0}));return p((()=>{t.current=e})),i.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const m="ArrowUp",v="ArrowDown",g="ArrowLeft",y="ArrowRight";var b=/^(129|204|299|337|532|806)$/.test(n.j)?"undefined"!=typeof document?i.useLayoutEffect:i.useEffect:null;const w=[g,y],x=[m,v];let E=!1,S=0;const T=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+S++;const P=d.useId,C=/^(129|204|299|337|532|806)$/.test(n.j)?P||function(){const[e,t]=i.useState((()=>E?T():void 0));return b((()=>{null==e&&t(T())}),[]),i.useEffect((()=>{E=!0}),[]),e}:null;function j(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const M=/^(129|204|299|337|532|806)$/.test(n.j)?i.createContext(null):null,k=/^(129|204|299|337|532|806)$/.test(n.j)?i.createContext(null):null,$=()=>{var e;return(null==(e=i.useContext(M))?void 0:e.id)||null},A=()=>i.useContext(k);const L="data-floating-ui-focusable";function D(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,s=C(),o=i.useRef({}),[a]=i.useState((()=>j())),l=null!=$(),[u,c]=i.useState(r.reference),d=h(((e,t,r)=>{o.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)})),f=i.useMemo((()=>({setPositionReference:c})),[]),p=i.useMemo((()=>({reference:u||r.reference||null,floating:r.floating||null,domReference:r.reference})),[u,r.reference,r.floating]);return i.useMemo((()=>({dataRef:o,open:t,onOpenChange:d,elements:p,events:a,floatingId:s,refs:f})),[t,d,p,a,s,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,s=r.elements,[o,l]=i.useState(null),[c,d]=i.useState(null),f=(null==s?void 0:s.domReference)||o,p=i.useRef(null),m=A();b((()=>{f&&(p.current=f)}),[f]);const v=(0,u.we)({...e,elements:{...s,...c&&{reference:c}}}),g=i.useCallback((e=>{const t=(0,a.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;d(t),v.refs.setReference(t)}),[v.refs]),y=i.useCallback((e=>{((0,a.vq)(e)||null===e)&&(p.current=e,l(e)),((0,a.vq)(v.refs.reference.current)||null===v.refs.reference.current||null!==e&&!(0,a.vq)(e))&&v.refs.setReference(e)}),[v.refs]),w=i.useMemo((()=>({...v.refs,setReference:y,setPositionReference:g,domReference:p})),[v.refs,y,g]),x=i.useMemo((()=>({...v.elements,domReference:f})),[v.elements,f]),E=i.useMemo((()=>({...v,...r,refs:w,elements:x,nodeId:t})),[v,w,x,t,r]);return b((()=>{r.dataRef.current.floatingContext=E;const e=null==m?void 0:m.nodesRef.current.find((e=>e.id===t));e&&(e.context=E)})),i.useMemo((()=>({...v,context:E,refs:w,elements:x})),[v,w,x,E])}const O="active",R="selected";function I(e,t,n){const r=new Map,i="item"===n;let s=e;if(i&&e){const{[O]:t,[R]:n,...r}=e;s=r}return{..."floating"===n&&{tabIndex:-1,[L]:""},...s,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,s]=t;var o;i&&[O,R].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof s&&(null==(o=r.get(n))||o.push(s),e[n]=function(){for(var e,t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];return null==(e=r.get(n))?void 0:e.map((e=>e(...i))).find((e=>void 0!==e))})):e[n]=s)})),e):e),{})}}function F(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),s=i.useCallback((t=>I(t,e,"reference")),t),o=i.useCallback((t=>I(t,e,"floating")),n),a=i.useCallback((t=>I(t,e,"item")),r);return i.useMemo((()=>({getReferenceProps:s,getFloatingProps:o,getItemProps:a})),[s,o,a])}function _(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}function B(e,t){const{open:n,elements:r}
2=e,{enabled:o=!0,overflowRef:a,scrollRef:u,onChange:c}=t,d=h(c),f=i.useRef(!1),p=i.useRef(null),m=i.useRef(null);i.useEffect((()=>{if(!o)return;function e(e){if(e.ctrlKey||!t||null==a.current)return;const n=e.deltaY,r=a.current.top>=-.5,i=a.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,u=n<0?-1:1,c=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!i&&n<0?(e.preventDefault(),l.flushSync((()=>{d((e=>e+Math[c](n,o*u)))}))):/firefox/i.test((0,s.$t)())&&(t.scrollTop+=n))}const t=(null==u?void 0:u.current)||r.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{p.current=t.scrollTop,null!=a.current&&(m.current={...a.current})})),()=>{p.current=null,m.current=null,t.removeEventListener("wheel",e)}):void 0}),[o,n,r.floating,a,u,d]);const v=i.useMemo((()=>({onKeyDown(){f.current=!0},onWheel(){f.current=!1},onPointerMove(){f.current=!1},onScroll(){const e=(null==u?void 0:u.current)||r.floating;if(a.current&&e&&f.current){if(null!==p.current){const t=e.scrollTop-p.current;(a.current.bottom<-.5&&t<-1||a.current.top<-.5&&t>1)&&l.flushSync((()=>d((e=>e+t))))}requestAnimationFrame((()=>{p.current=e.scrollTop}))}}})),[r.floating,d,a,u]);return i.useMemo((()=>o?{floating:v}:{}),[o,v])}n.d(t,["vW",0,e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:i,offset:s=0,index:a=0,minItemsVisible:d=4,referenceOverflowThreshold:f=0,scrollRef:p,...h}=(0,o._3)(e,t),{rects:m,elements:{floating:v}}=t,g=n.current[a],y=(null==p?void 0:p.current)||v,b=v.clientTop||y.clientTop,w=0!==v.clientTop,x=0!==y.clientTop,E=v===y;if(!g)return{};const S={...t,...await(0,u.cY)(-g.offsetTop-v.clientTop-m.reference.height/2-g.offsetHeight/2-s).fn(t)},T=await(0,c.__)(_(S,y.scrollHeight+b+v.clientTop),h),P=await(0,c.__)(S,{...h,elementContext:"reference"}),C=(0,o.T9)(0,T.top),j=S.y+C,M=(y.scrollHeight>y.clientHeight?e=>e:o.LI)((0,o.T9)(0,y.scrollHeight+(w&&E||x?2*b:0)-C-(0,o.T9)(0,T.bottom)));if(y.style.maxHeight=M+"px",y.scrollTop=C,i){const e=y.offsetHeight<g.offsetHeight*(0,o.jk)(d,n.current.length)-1||P.top>=-f||P.bottom>=-f;l.flushSync((()=>i(e)))}return r&&(r.current=await(0,c.__)(_({...S,y:j},y.offsetHeight+b+v.clientTop),h)),{y:j}}})])},4603(e,t,n){"use strict";function r(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}n.d(t,{$t:()=>r})},6635(e,t,n){"use strict";function r(){return"undefined"!=typeof window}function i(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function s(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return!!r()&&(e instanceof Node||e instanceof s(e).Node)}function l(e){return!!r()&&(e instanceof Element||e instanceof s(e).Element)}function u(e){return!!r()&&(e instanceof HTMLElement||e instanceof s(e).HTMLElement)}function c(e){return!(!r()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof s(e).ShadowRoot)}function d(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=E(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function f(e){return/^(table|td|th)$/.test(i(e))}function p(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{$4:()=>T,CP:()=>S,L9:()=>E,Lv:()=>f,Tc:()=>w,Tf:()=>p,ZU:()=>d,_m:()=>j,ep:()=>o,eu:()=>x,gJ:()=>b,mq:()=>i,sQ:()=>y,sb:()=>u,v9:()=>C,vq:()=>l,zk:()=>s});const h=/transform|translate|scale|rotate|perspective|filter/,m=/paint|layout|strict|content/,v=e=>!!e&&"none"!==e;let g;function y(e){const t=l(e)?E(e):e;return v(t.transform)||v(t.translate)||v(t.scale)||v(t.rotate)||v(t.perspective)||!w()&&(v(t.backdropFilter)||v(t.filter))||h.test(t.willChange||"")||m.test(t.contain||"")}function b(e){let t=T(e);for(;u(t)&&!x(t);){if(y(t))return t;if(p(t))return null;t=T(t)}return null}function w(){return null==g&&(g="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),g}function x(e){return/^(html|body|#document)$/.test(i(e))}function E(e){return s(e).getComputedStyle(e)}function S(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function T(e){if("html"===i(e))return e;const t=e.assignedSlot||e.parentNode||c(e)&&e.host||o(e);return c(t)?t.host:t}function P(e){const t=T(e);return x(t)?(e.ownerDocument||e).body:u(t)&&d(t)?t:P(t)}
2function C(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=P(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=s(i);if(o){const e=j(a);return t.concat(a,a.visualViewport||[],d(i)?i:[],e&&n?C(e):[])}return t.concat(i,C(i,[],n))}function j(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},7193(e,t,n){"use strict";n.d(t,{B1:()=>C,C0:()=>c,Dz:()=>m,PG:()=>f,Sg:()=>d,TV:()=>h,WJ:()=>g,_3:()=>u,bV:()=>T,lP:()=>S,nI:()=>P,qE:()=>l,sq:()=>p,w7:()=>v});const r=Math.min,i=Math.max,s=Math.round,o=Math.floor,a=/^(129|204|299|337|532|806)$/.test(n.j)?{left:"right",right:"left",bottom:"top",top:"bottom"}:null;function l(e,t,n){return i(e,r(t,n))}function u(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function f(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function h(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function m(e){return f(h(e))}function v(e,t,n){void 0===n&&(n=!1);const r=d(e),i=m(e),s=p(i);let o="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=T(o)),[o,T(o)]}function g(e){const t=T(e);return[y(e),t,y(t)]}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const b=/^(129|204|299|337|532|806)$/.test(n.j)?["left","right"]:null,w=/^(129|204|299|337|532|806)$/.test(n.j)?["right","left"]:null,x=/^(129|204|299|337|532|806)$/.test(n.j)?["top","bottom"]:null,E=/^(129|204|299|337|532|806)$/.test(n.j)?["bottom","top"]:null;function S(e,t,n,r){const i=d(e);let s=function(e,t,n){switch(e){case"top":case"bottom":return n?t?w:b:t?b:w;case"left":case"right":return t?x:E;default:return[]}}(c(e),"start"===n,r);return i&&(s=s.map((e=>e+"-"+i)),t&&(s=s.concat(s.map(y)))),s}function T(e){const t=c(e);return a[t]+e.slice(t.length)}function P(e){return"number"!=typeof e?function(e){var t,n,r,i;return{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}}(e):{top:e,right:e,bottom:e,left:e}}function C(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}n.d(t,["Jx",0,e=>({x:e,y:e}),"LI",0,s,"RI",0,o,"T9",0,i,"jk",0,r])},9124(e,t,n){"use strict";n.d(t,{MM:()=>d,VY:()=>h,rU:()=>f});var r=n(6540);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134|299)$/.test(n.j))var i=n(5015);var s=n(6339),o=n(8975),a=n(5448),l=n(6206);let u=(0,r.createContext)(null);function c(){let e=(0,r.useContext)(u);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,c),e}return e}function d(){var e,t;return null!=(t=null==(e=(0,r.useContext)(u))?void 0:e.value)?t:void 0}function f(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=(0,i._)((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),s=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value})),[n,e.slot,e.name,e.props,e.value]);return r.createElement(u.Provider,{value:s},e.children)}),[t])]}u.displayName="DescriptionContext";let p=(0,l.FX)((function(e,t){let n=(0,r.useId)(),i=(0,a._)(),{id:u=`headlessui-description-${n}`,...d}=e,f=c(),p=(0,o.P)(t);(0,s.s)((()=>f.register(u)),[u,f.register]);let h=i||!1,m=(0,r.useMemo)((()=>({...f.slot,disabled:h})),[f.slot,h]),v={ref:p,...f.props,id:u};return(0,l.Ci)()({ourProps:v,theirProps:d,slot:m,defaultTag:"p",name:f.name||"Description"})})),h=Object.assign(p,{})},5805(e,t,n){"use strict";n.d(t,{lG:()=>he,Xi:()=>fe,Lj:()=>de});var r=n(6540),i=n(4586),s=n(8084),o=n(4322);var a=n(5015),l=n(7575),u=n(6339);var c=n(3674),d=n(2625),f=n(4156),p=n(4032),h=n(6984),m=n(4335),v=n(8975),g=n(7442),y=n(3149),b=n(6717),w=n(5897),x=n(6206),E=n(9124),S=n(6992),T=n(4610),P=n(2903),C=n(4e3);function j(e,t){let n=(0,r.useRef)([]),i=(0,a._)(e);(0,r.useEffect)((()=>{let e=[...n.current];for(let[r,s]of t.entries())if(n.current[r]!==s){let r=i(t,e);return n.current=t,r}}),[i,...t])}var M=n(9528);var k=n(4122);let $=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}((()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||$[0]===e.target)return;let t=e.target;t=t.closest(k.Uo),$.unshift(null!=t?t:e.target),$=$.filter((e=>null!=e&&e.isConnected)),$.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}
2));var A=n(2924);function L(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var D,O=((D=O||{})[D.None=0]="None",D[D.InitialFocus=1]="InitialFocus",D[D.TabLock=2]="TabLock",D[D.FocusLock=4]="FocusLock",D[D.RestoreFocus=8]="RestoreFocus",D[D.AutoFocus=16]="AutoFocus",D);let R=(0,x.FX)((function(e,t){let n=(0,r.useRef)(null),i=(0,v.P)(n,t),{initialFocus:l,initialFocusFallback:u,containers:c,features:d=15,...p}=e;(0,m.g)()||(d=0);let h=(0,f.g)(n);!function(e,{ownerDocument:t}){let n=!!(8&e),i=function(e=!0){let t=(0,r.useRef)($.slice());return j((([e],[n])=>{!0===n&&!1===e&&(0,A._)((()=>{t.current.splice(0)})),!1===n&&!0===e&&(t.current=$.slice())}),[e,$,t]),(0,a._)((()=>{var e;return null!=(e=t.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(n);j((()=>{n||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&(0,k.pW)(i())}),[n]),(0,P.X)((()=>{n&&(0,k.pW)(i())}))}(d,{ownerDocument:h});let g=function(e,{ownerDocument:t,container:n,initialFocus:i,initialFocusFallback:s}){let a=(0,r.useRef)(null),l=(0,o.S)(!!(1&e),"focus-trap#initial-focus"),u=(0,T.a)();return j((()=>{if(0===e)return;if(!l)return void(null!=s&&s.current&&(0,k.pW)(s.current));let r=n.current;r&&(0,A._)((()=>{if(!u.current)return;let n=null==t?void 0:t.activeElement;if(null!=i&&i.current){if((null==i?void 0:i.current)===n)return void(a.current=n)}else if(r.contains(n))return void(a.current=n);if(null!=i&&i.current)(0,k.pW)(i.current);else{if(16&e){if((0,k.CU)(r,k.BD.First|k.BD.AutoFocus)!==k.Me.Error)return}else if((0,k.CU)(r,k.BD.First)!==k.Me.Error)return;if(null!=s&&s.current&&((0,k.pW)(s.current),(null==t?void 0:t.activeElement)===s.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}a.current=null==t?void 0:t.activeElement}))}),[s,l,e]),a}(d,{ownerDocument:h,container:n,initialFocus:l,initialFocusFallback:u});!function(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:i}){let o=(0,T.a)(),a=!!(4&e);(0,s.M)(null==t?void 0:t.defaultView,"focus",(e=>{if(!a||!o.current)return;let t=L(r);n.current instanceof HTMLElement&&t.add(n.current);let s=i.current;if(!s)return;let l=e.target;l&&l instanceof HTMLElement?F(t,l)?(i.current=l,(0,k.pW)(l)):(e.preventDefault(),e.stopPropagation(),(0,k.pW)(s)):(0,k.pW)(i.current)}),!0)}(d,{ownerDocument:h,container:n,containers:c,previousActiveElement:g});let y=(0,C.u)(),b=(0,a._)((e=>{let t=n.current;t&&(0,w.Y)(y.current,{[C.O.Forwards]:()=>{(0,k.CU)(t,k.BD.First,{skipElements:[e.relatedTarget,u]})},[C.O.Backwards]:()=>{(0,k.CU)(t,k.BD.Last,{skipElements:[e.relatedTarget,u]})}})})),E=(0,o.S)(!!(2&d),"focus-trap#tab-lock"),D=(0,S.L)(),O=(0,r.useRef)(!1),R={ref:i,onKeyDown(e){"Tab"==e.key&&(O.current=!0,D.requestAnimationFrame((()=>{O.current=!1})))},onBlur(e){if(!(4&d))return;let t=L(c);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(F(t,r)||(O.current?(0,k.CU)(n.current,(0,w.Y)(y.current,{[C.O.Forwards]:()=>k.BD.Next,[C.O.Backwards]:()=>k.BD.Previous})|k.BD.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,k.pW)(e.target)))}},I=(0,x.Ci)();return r.createElement(r.Fragment,null,E&&r.createElement(M.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:M.u.Focusable}),I({ourProps:R,theirProps:p,defaultTag:"div",name:"FocusTrap"}),E&&r.createElement(M.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:M.u.Focusable}))})),I=Object.assign(R,{features:O});function F(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var _=n(8302),B=n(4424),V=n(2464),N=n(6421);function H(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:Y)!==r.Fragment||1===r.Children.count(e.children)}let z=(0,r.createContext)(null);z.displayName="TransitionContext";var W=(e=>(e.Visible="visible",e.Hidden="hidden",e))(W||{});let U=(0,r.createContext)(null);function G(e){return"children"in e?G(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function q(e,t){let n=(0,B.Y)(e),i=(0,r.useRef)([]),s=(0,T.a)(),o=(0,S.L)(),l=(0,a._)(((e,t=x.mK.Hidden)=>{let r=i.current.findIndex((({el:t})=>t===e));-1!==r&&((0,w.Y)(t,{[x.mK.Unmount](){i.current.splice(r,1)},[x.mK.Hidden](){i.current[r].state="hidden"}}),o.microTask((()=>{var e;!G(i)&&s.current&&(null==(e=n.current)||e.call(n))})))})),u=(0,a._)((e=>{let t=i.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):i.current.push({el:e,state:"visible"}),()=>l(e,x.mK.Unmount)})),c=(0,r.useRef)([]),d=(0,r.useRef)(Promise.resolve()),f=(0,r.useRef)({enter:[],leave:[]}
2),p=(0,a._)(((e,n,r)=>{c.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(f.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?d.current=d.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),h=(0,a._)(((e,t,n)=>{Promise.all(f.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:i,register:u,unregister:l,onStart:p,onStop:h,wait:d,chains:f})),[u,l,i,p,h,f,d])}U.displayName="NestingContext";let Y=r.Fragment,X=x.Ac.RenderStrategy;let K=(0,x.FX)((function(e,t){let{show:n,appear:i=!1,unmount:s=!0,...o}=e,l=(0,r.useRef)(null),c=H(e),d=(0,v.P)(...c?[l,t]:null===t?[]:[t]);(0,m.g)();let f=(0,y.O_)();if(void 0===n&&null!==f&&(n=(f&y.Uw.Open)===y.Uw.Open),void 0===n)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[p,h]=(0,r.useState)(n?"visible":"hidden"),g=q((()=>{n||h("hidden")})),[b,w]=(0,r.useState)(!0),E=(0,r.useRef)([n]);(0,u.s)((()=>{!1!==b&&E.current[E.current.length-1]!==n&&(E.current.push(n),w(!1))}),[E,n]);let S=(0,r.useMemo)((()=>({show:n,appear:i,initial:b})),[n,i,b]);(0,u.s)((()=>{n?h("visible"):!G(g)&&null!==l.current&&h("hidden")}),[n,g]);let T={unmount:s},P=(0,a._)((()=>{var t;b&&w(!1),null==(t=e.beforeEnter)||t.call(e)})),C=(0,a._)((()=>{var t;b&&w(!1),null==(t=e.beforeLeave)||t.call(e)})),j=(0,x.Ci)();return r.createElement(U.Provider,{value:g},r.createElement(z.Provider,{value:S},j({ourProps:{...T,as:r.Fragment,children:r.createElement(Z,{ref:d,...T,...o,beforeEnter:P,beforeLeave:C})},theirProps:{},defaultTag:r.Fragment,features:X,visible:"visible"===p,name:"Transition"})))})),Z=(0,x.FX)((function(e,t){var n,i;let{transition:s=!0,beforeEnter:o,afterEnter:l,beforeLeave:c,afterLeave:d,enter:f,enterFrom:p,enterTo:h,entered:g,leave:b,leaveFrom:E,leaveTo:S,...T}=e,[P,C]=(0,r.useState)(null),j=(0,r.useRef)(null),M=H(e),k=(0,v.P)(...M?[j,t,C]:null===t?[]:[t]),$=null==(n=T.unmount)||n?x.mK.Unmount:x.mK.Hidden,{show:A,appear:L,initial:D}=function(){let e=(0,r.useContext)(z);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[O,R]=(0,r.useState)(A?"visible":"hidden"),I=function(){let e=(0,r.useContext)(U);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:F,unregister:_}=I;(0,u.s)((()=>F(j)),[F,j]),(0,u.s)((()=>
2{if($===x.mK.Hidden&&j.current)return A&&"visible"!==O?void R("visible"):(0,w.Y)(O,{hidden:()=>_(j),visible:()=>F(j)})}),[O,j,F,_,A,$]);let B=(0,m.g)();(0,u.s)((()=>{if(M&&B&&"visible"===O&&null===j.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[j,O,B,M]);let W=D&&!L,K=L&&A&&D,Z=(0,r.useRef)(!1),Q=q((()=>{Z.current||(R("hidden"),_(j))}),I),J=(0,a._)((e=>{Z.current=!0;let t=e?"enter":"leave";Q.onStart(j,t,(e=>{"enter"===e?null==o||o():"leave"===e&&(null==c||c())}))})),ee=(0,a._)((e=>{let t=e?"enter":"leave";Z.current=!1,Q.onStop(j,t,(e=>{"enter"===e?null==l||l():"leave"===e&&(null==d||d())})),"leave"===t&&!G(Q)&&(R("hidden"),_(j))}));(0,r.useEffect)((()=>{M&&s||(J(A),ee(A))}),[A,M,s]);let te=!(!s||!M||!B||W),[,ne]=(0,V.p)(te,P,A,{start:J,end:ee}),re=(0,x.oE)({ref:k,className:(null==(i=(0,N.x)(T.className,K&&f,K&&p,ne.enter&&f,ne.enter&&ne.closed&&p,ne.enter&&!ne.closed&&h,ne.leave&&b,ne.leave&&!ne.closed&&E,ne.leave&&ne.closed&&S,!ne.transition&&A&&g))?void 0:i.trim())||void 0,...(0,V.B)(ne)}),ie=0;"visible"===O&&(ie|=y.Uw.Open),"hidden"===O&&(ie|=y.Uw.Closed),ne.enter&&(ie|=y.Uw.Opening),ne.leave&&(ie|=y.Uw.Closing);let se=(0,x.Ci)();return r.createElement(U.Provider,{value:Q},r.createElement(y.El,{value:ie},se({ourProps:re,theirProps:T,defaultTag:Y,features:X,visible:"visible"===O,name:"Transition.Child"})))})),Q=(0,x.FX)((function(e,t){let n=null!==(0,r.useContext)(z),i=null!==(0,y.O_)();return r.createElement(r.Fragment,null,!n&&i?r.createElement(K,{ref:t,...e}):r.createElement(Z,{ref:t,...e}))})),J=Object.assign(K,{Child:Q,Root:K});var ee,te=((ee=te||{})[ee.Open=0]="Open",ee[ee.Closed=1]="Closed",ee),ne=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(ne||{});let re={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ie=(0,r.createContext)(null);function se(e){let t=(0,r.useContext)(ie);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,se),t}return t}function oe(e,t){return(0,w.Y)(t.type,re,e,t)}ie.displayName="DialogContext";let ae=(0,x.FX)((function(e,t){let n=(0,r.useId)(),{id:w=`headlessui-dialog-${n}`,open:S,onClose:T,initialFocus:P,role:C="dialog",autoFocus:j=!0,__demoMode:M=!1,unmount:k=!1,...$}=e,A=(0,r.useRef)(!1);C="dialog"===C||"alertdialog"===C?C:(A.current||(A.current=!0,console.warn(`Invalid role [${C}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let L=(0,y.O_)();void 0===S&&null!==L&&(S=(L&y.Uw.Open)===y.Uw.Open);let D=(0,r.useRef)(null),R=(0,v.P)(D,t),F=(0,f.g)(D),B=S?0:1,[V,N]=(0,r.useReducer)(oe,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),H=(0,a._)((()=>T(!1))),z=(0,a._)((e=>N({type:0,id:e}))),W=!!(0,m.g)()&&0===B,[U,G]=(0,_.k2)(),q={get current(){var e;return null!=(e=V.panelRef.current)?e:D.current}},Y=(0,p.xA)(),{resolveContainers:X}=(0,p.iq)({mainTreeNode:Y,portals:U,defaultContainers:[q]}),K=null!==L&&(L&y.Uw.Closing)===y.Uw.Closing;(0,l.v)(!M&&!K&&W,{allowed:(0,a._)((()=>{var e,t;return[null!=(t=null==(e=D.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]})),disallowed:(0,a._)((()=>{var e;return[null!=(e=null==Y?void 0:Y.closest("body > *:not(#headlessui-portal-root)"))?e:null]}))}),(0,d.j)(W,X,(e=>{e.preventDefault(),H()})),function(e,t=("undefined"!=typeof document?document.defaultView:null),n){let r=(0,o.S)(e,"escape");(0,s.M)(t,"keydown",(e=>{r&&(e.defaultPrevented||e.key===i.D.Escape&&n(e))}))}(W,null==F?void 0:F.defaultView,(e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),H()})),(0,h.K)(!M&&!K&&W,F,X),(0,c.O)(W,D,H);let[Z,Q]=(0,E.rU)(),J=(0,r.useMemo)((()=>[{dialogState:B,close:H,setTitleId:z,unmount:k},V]),[B,V,H,z,k]),ee=(0,r.useMemo)((()=>({open:0===B})),[B]),te={ref:R,id:w,role:C,tabIndex:-1,"aria-modal":M?void 0:0===B||void 0,"aria-labelledby":V.titleId,"aria-describedby":Z,unmount:k},ne=!function(){var e;let[t]=(0,r.useState)((()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null)),[n,i]=(0,r.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,u.s)((()=>
2{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){i(e.matches)}}),[t]),n}(),re=O.None;W&&!M&&(re|=O.RestoreFocus,re|=O.TabLock,j&&(re|=O.AutoFocus),ne&&(re|=O.InitialFocus));let se=(0,x.Ci)();return r.createElement(y.$x,null,r.createElement(b.a,{force:!0},r.createElement(_.ZL,null,r.createElement(ie.Provider,{value:J},r.createElement(_.Ee,{target:D},r.createElement(b.a,{force:!1},r.createElement(Q,{slot:ee},r.createElement(G,null,r.createElement(I,{initialFocus:P,initialFocusFallback:D,containers:X,features:re},r.createElement(g.e,{value:H},se({ourProps:te,theirProps:$,slot:ee,defaultTag:le,features:ue,visible:0===B,name:"Dialog"})))))))))))})),le="div",ue=x.Ac.RenderStrategy|x.Ac.Static;let ce=(0,x.FX)((function(e,t){let{transition:n=!1,open:i,...s}=e,o=(0,y.O_)(),a=e.hasOwnProperty("open")||null!==o,l=e.hasOwnProperty("onClose");if(!a&&!l)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!a)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!l)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!o&&"boolean"!=typeof e.open)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return void 0===i&&!n||s.static?r.createElement(p.H5,null,r.createElement(ae,{ref:t,open:i,...s})):r.createElement(p.H5,null,r.createElement(J,{show:i,transition:n,unmount:s.unmount},r.createElement(ae,{ref:t,...s})))})),de=(0,x.FX)((function(e,t){let n=(0,r.useId)(),{id:i=`headlessui-dialog-panel-${n}`,transition:s=!1,...o}=e,[{dialogState:l,unmount:u},c]=se("Dialog.Panel"),d=(0,v.P)(t,c.panelRef),f=(0,r.useMemo)((()=>({open:0===l})),[l]),p={ref:d,id:i,onClick:(0,a._)((e=>{e.stopPropagation()}))},h=s?Q:r.Fragment,m=s?{unmount:u}:{},g=(0,x.Ci)();return r.createElement(h,{...m},g({ourProps:p,theirProps:o,slot:f,defaultTag:"div",name:"Dialog.Panel"}))})),fe=(0,x.FX)((function(e,t){let{transition:n=!1,...i}=e,[{dialogState:s,unmount:o}]=se("Dialog.Backdrop"),a=(0,r.useMemo)((()=>({open:0===s})),[s]),l={ref:t,"aria-hidden":!0},u=n?Q:r.Fragment,c=n?{unmount:o}:{},d=(0,x.Ci)();return r.createElement(u,{...c},d({ourProps:l,theirProps:i,slot:a,defaultTag:"div",name:"Dialog.Backdrop"}))})),pe=(0,x.FX)((function(e,t){let n=(0,r.useId)(),{id:i=`headlessui-dialog-title-${n}`,...s}=e,[{dialogState:o,setTitleId:a}]=se("Dialog.Title"),l=(0,v.P)(t);(0,r.useEffect)((()=>(a(i),()=>a(null))),[i,a]);let u=(0,r.useMemo)((()=>({open:0===o})),[o]),c={ref:l,id:i};return(0,x.Ci)()({ourProps:c,theirProps:s,slot:u,defaultTag:"h2",name:"Dialog.Title"})})),he=Object.assign(ce,{Panel:de,Title:pe,Description:E.VY})},4586(e,t,n){"use strict";n.d(t,{D:()=>i});var r,i=((r=i||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},540(e,t,n){"use strict";n.d(t,{JU:()=>m,b0:()=>p,o2:()=>f,vd:()=>d});var r=n(6540),i=n(5015),s=n(6339),o=n(8975),a=n(5448),l=n(5953),u=n(6206);let c=(0,r.createContext)(null);function d(){let e=(0,r.useContext)(c);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,d),e}return e}function f(e){var t,n,i;let s=null!=(n=null==(t=(0,r.useContext)(c))?void 0:t.value)?n:void 0;return(null!=(i=null==e?void 0:e.length)?i:0)>0?[s,...e].filter(Boolean).join(" "):s}function p({inherit:e=!1}={}){let t=f(),[n,s]=(0,r.useState)([]),o=e?[t,...n].filter(Boolean):n;return[o.length>0?o.join(" "):void 0,(0,r.useMemo)((()=>function(e){let t=(0,i._)((e=>(s((t=>[...t,e])),()=>s((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),n=(0,r.useMemo)((()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value})),[t,e.slot,e.name,e.props,e.value]);return r.createElement(c.Provider,{value:n},e.children)}),[s])]}c.displayName="LabelContext";let h=(0,u.FX)((function(e,t){var n;let c=(0,r.useId)(),f=d(),p=(0,l.q)(),h=(0,a._)(),{id:m=`headlessui-label-${c}`,htmlFor:v=(null!=p?p:null==(n=f.props)?void 0:n.htmlFor),passive:g=!1,...y}=e,b=(0,o.P)(t);(0,s.s)((()=>f.register(m)),[m,f.register]);let w=(0,i._)((e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),f.props&&"onClick"in f.props&&"function"==typeof f.props.onClick&&f.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}})),x=h||!1,E=(0,r.useMemo)((()=>({...f.slot,disabled:x})),[f.slot,x]),S={ref:b,...f.props,id:m,htmlFor:v,onClick:w};return g&&("onClick"in S&&(delete S.htmlFor,delete S.onClick),"onClick"in y&&delete y.onClick),(0,u.Ci)()({ourProps:S,the
2irProps:y,slot:E,defaultTag:v?"label":"div",name:f.name||"Label"})})),m=Object.assign(h,{})},8887(e,t,n){"use strict";n.d(t,{WF:()=>ve,go:()=>de,h7:()=>he,wh:()=>pe});var r=n(6133),i=n(6638),s=n(6540),o=n(961),a=n(4867);function l(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}function u(e=l){return(0,s.useCallback)(((t,n)=>{if("string"==typeof e){let r=e;return(null==t?void 0:t[r])===(null==n?void 0:n[r])}return e(t,n)}),[e])}var c=n(5015);var d=n(9781),f=n(6992),p=n(3321),h=n(7575),m=n(6339),v=n(4424),g=n(3674),y=n(2625),b=n(4156),w=n(9821),x=n(6984),E=n(8975),S=n(7980),T=n(9185),P=n(2464),C=n(5448),j=n(1306),M=n(3660),k=n(6206),$=n(9528);let A=(0,s.createContext)(null);function L({children:e}){let t=(0,s.useContext)(A);if(!t)return s.createElement(s.Fragment,null,e);let{target:n}=t;return n?(0,o.createPortal)(s.createElement(s.Fragment,null,e),n):null}function D({data:e,form:t,disabled:n,onReset:r,overrides:i}){let[o,a]=(0,s.useState)(null),l=(0,f.L)();return(0,s.useEffect)((()=>{if(r&&o)return l.addEventListener(o,"reset",r)}),[o,t,r]),s.createElement(L,null,s.createElement(O,{setForm:a,formId:t}),(0,M.h)(e).map((([e,r])=>s.createElement($.j,{features:$.u.Hidden,...(0,k.oE)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:e,value:r,...i})}))))}function O({setForm:e,formId:t}){return(0,s.useEffect)((()=>{if(t){let n=document.getElementById(t);n&&e(n)}}),[e,t]),t?null:s.createElement($.j,{features:$.u.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let n=t.closest("form");n&&e(n)}})}function R(e,t){let[n,r]=(0,s.useState)(t);return!e&&n!==t&&r(t),e?n:t}var I,F=n(5953),_=n(3149),B=n(9685),V=n(8342),N=n(2599),H=n(4122),z=n(5897),W=n(2211),U=n(9124),G=n(4586),q=n(540),Y=n(8302),X=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(X||{}),K=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(K||{}),Z=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Z||{}),Q=((I=Q||{})[I.OpenListbox=0]="OpenListbox",I[I.CloseListbox=1]="CloseListbox",I[I.GoToOption=2]="GoToOption",I[I.Search=3]="Search",I[I.ClearSearch=4]="ClearSearch",I[I.RegisterOption=5]="RegisterOption",I[I.UnregisterOption=6]="UnregisterOption",I[I.SetButtonElement=7]="SetButtonElement",I[I.SetOptionsElement=8]="SetOptionsElement",I);function J(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,H.wl)(t(e.options.slice()),(e=>e.dataRef.current.domRef.current)),i=n?r.indexOf(n):null;return-1===i&&(i=null),{options:r,activeOptionIndex:i}}let ee={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex((e=>n(e.dataRef.current.value)));return-1!==r&&(t=r),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var n,r,i,s,o;if(e.dataRef.current.disabled||1===e.listboxState)return e;let a={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===V.B.Nothing)return{...a,activeOptionIndex:null};if(t.focus===V.B.Specific)return{...a,activeOptionIndex:e.options.findIndex((e=>e.id===t.id))};if(t.focus===V.B.Previous){let n=e.activeOptionIndex;if(null!==n){let s=e.options[n].dataRef.current.domRef,o=(0,V.X)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==o){let t=e.options[o].dataRef.current.domRef;if((null==(r=s.current)?void 0:r.previousElementSibling)===t.current||null===(null==(i=t.current)?void 0:i.previousElementSibling))return{...a,activeOptionIndex:o}}}}else if(t.focus===V.B.Next){let n=e.activeOptionIndex;if(null!==n){let r=e.options[n].dataRef.current.domRef,i=(0,V.X)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==i){let t=e.options[i].dataRef.current.domRef;if((null==(s=r.current)?void 0:s.nextElementSibling)===t.current||null===(null==(o=t.current)?void 0:o.nextElementSibling))return{...a,activeOptionIndex:i}}}}let l=J(e),u=(0,V.X)(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...a,...l,activeOptionIndex:u}},3:(e,t)=>
2{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find((e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))})),s=i?e.options.indexOf(i):-1;return-1===s||s===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:s,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=J(e,(e=>[...e,n]));return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=J(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},te=(0,s.createContext)(null);function ne(e){let t=(0,s.useContext)(te);if(null===t){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ne),t}return t}te.displayName="ListboxActionsContext";let re=(0,s.createContext)(null);function ie(e){let t=(0,s.useContext)(re);if(null===t){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ie),t}return t}function se(e,t){return(0,z.Y)(t.type,ee,e,t)}re.displayName="ListboxDataContext";let oe=s.Fragment;let ae=(0,s.createContext)(!1),le=k.Ac.RenderStrategy|k.Ac.Static;let ue=s.Fragment;let ce=(0,k.FX)((function(e,t){var n;let r=(0,C._)(),{value:i,defaultValue:o,form:a,name:l,onChange:d,by:p,invalid:h=!1,disabled:v=r||!1,horizontal:g=!1,multiple:b=!1,__demoMode:w=!1,...x}=e;const S=g?"horizontal":"vertical";let T=(0,E.P)(t),P=function(e){let[t]=(0,s.useState)(e);return t}(o),[M=(b?[]:void 0),$]=function(e,t,n){let[r,i]=(0,s.useState)(n),o=void 0!==e,a=(0,s.useRef)(o),l=(0,s.useRef)(!1),u=(0,s.useRef)(!1);return!o||a.current||l.current?!o&&a.current&&!u.current&&(u.current=!0,a.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,a.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[o?e:r,(0,c._)((e=>(o||i(e),null==t?void 0:t(e))))]}(i,d,P),[A,L]=(0,s.useReducer)(se,{dataRef:(0,s.createRef)(),listboxState:w?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:w}),O=(0,s.useRef)({static:!1,hold:!1}),R=(0,s.useRef)(new Map),I=u(p),F=(0,s.useCallback)((e=>(0,z.Y)(B.mode,{1:()=>M.some((t=>I(t,e))),0:()=>I(M,e)})),[M]),B=(0,s.useMemo)((()=>({...A,value:M,disabled:v,invalid:h,mode:b?1:0,orientation:S,compare:I,isSelected:F,optionsPropsRef:O,listRef:R})),[M,v,h,b,A,R]);(0,m.s)((()=>{A.dataRef.current=B}),[B]);let N=0===B.listboxState;(0,y.j)(N,[B.buttonElement,B.optionsElement],((e,t)=>{var n;L({type:1}),(0,H.Bm)(t,H.MZ.Loose)||(e.preventDefault(),null==(n=B.buttonElement)||n.focus())}));let W=(0,s.useMemo)((()=>({open:0===B.listboxState,disabled:v,invalid:h,value:M})),[B,v,M,h]),U=(0,c._)((e=>{let t=B.options.find((t=>t.id===e));t&&J(t.dataRef.current.value)})),G=(0,c._)((()=>{if(null!==B.activeOptionIndex){let{dataRef:e,id:t}=B.options[B.activeOptionIndex];J(e.current.value),L({type:2,focus:V.B.Specific,id:t})}})),Y=(0,c._)((()=>L({type:0}))),X=(0,c._)((()=>L({type:1}))),K=(0,f.L)(),Z=(0,c._)(((e,t,n)=>{K.dispose(),K.microTask((()=>e===V.B.Specific?L({type:2,focus:V.B.Specific,id:t,trigger:n}):L({type:2,focus:e,trigger:n})))})),Q=(0,c._)(((e,t)=>(L({type:5,id:e,dataRef:t}),()=>L({type:6,id:e})))),J=(0,c._)((e=>(0,z.Y)(B.mode,{0:()=>null==$?void 0:$(e),1(){let t=B.value.slice(),n=t.findIndex((t=>I(t,e)));return-1===n?t.push(e):t.splice(n,1),null==$?void 0:$(t)}}))),ee=(0,c._)((e=>L({type:3,value:e}))),ne=(0,c._)((()=>L({type:4}))),ie=(0,c._)((e=>{L({type:7,element:e})})),ae=(0,c._)((e=>{L({type:8,element:e})})),le=(0,s.useMemo)((()=>({onChange:J,registerOption:Q,goToOption:Z,closeListbox:X,openListbox:Y,selectActiveOption:G,selectOption:U,search:ee,clearSearch:ne,setButtonElement:ie,setOptionsElement:ae})),[]),[ue,ce]=(0,q.b0)({inherit:!0}),de={ref:T},fe=(0,s.useCallback)((()=>
2{if(void 0!==P)return null==$?void 0:$(P)}),[$,P]),pe=(0,k.Ci)();return s.createElement(ce,{value:ue,props:{htmlFor:null==(n=B.buttonElement)?void 0:n.id},slot:{open:0===B.listboxState,disabled:v}},s.createElement(j.St,null,s.createElement(te.Provider,{value:le},s.createElement(re.Provider,{value:B},s.createElement(_.El,{value:(0,z.Y)(B.listboxState,{0:_.Uw.Open,1:_.Uw.Closed})},null!=l&&null!=M&&s.createElement(D,{disabled:v,data:{[l]:M},form:a,onReset:fe}),pe({ourProps:de,theirProps:x,slot:W,defaultTag:oe,name:"Listbox"}))))))})),de=(0,k.FX)((function(e,t){var n;let l=ie("Listbox.Button"),u=ne("Listbox.Button"),d=(0,s.useId)(),f=(0,F.q)(),{id:p=f||`headlessui-listbox-button-${d}`,disabled:h=l.disabled||!1,autoFocus:m=!1,...v}=e,g=(0,E.P)(t,(0,j.Xc)(),u.setButtonElement),y=(0,j.TI)(),b=(0,c._)((e=>{switch(e.key){case G.D.Enter:(0,M.q)(e.currentTarget);break;case G.D.Space:case G.D.ArrowDown:e.preventDefault(),(0,o.flushSync)((()=>u.openListbox())),l.value||u.goToOption(V.B.First);break;case G.D.ArrowUp:e.preventDefault(),(0,o.flushSync)((()=>u.openListbox())),l.value||u.goToOption(V.B.Last)}})),x=(0,c._)((e=>{if(e.key===G.D.Space)e.preventDefault()})),S=(0,c._)((e=>{var t;if((0,B.l)(e.currentTarget))return e.preventDefault();0===l.listboxState?((0,o.flushSync)((()=>u.closeListbox())),null==(t=l.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),u.openListbox())})),T=(0,c._)((e=>e.preventDefault())),P=(0,q.o2)([p]),C=(0,U.MM)(),{isFocusVisible:$,focusProps:A}=(0,r.o)({autoFocus:m}),{isHovered:L,hoverProps:D}=(0,i.M)({isDisabled:h}),{pressed:O,pressProps:R}=(0,a.Z)({disabled:h}),I=(0,s.useMemo)((()=>({open:0===l.listboxState,active:O||0===l.listboxState,disabled:h,invalid:l.invalid,value:l.value,hover:L,focus:$,autofocus:m})),[l.listboxState,l.value,h,L,$,O,l.invalid,m]),_=(0,k.v6)(y(),{ref:g,id:p,type:(0,w.c)(e,l.buttonElement),"aria-haspopup":"listbox","aria-controls":null==(n=l.optionsElement)?void 0:n.id,"aria-expanded":0===l.listboxState,"aria-labelledby":P,"aria-describedby":C,disabled:h||void 0,autoFocus:m,onKeyDown:b,onKeyUp:x,onKeyPress:T,onClick:S},A,D,R);return(0,k.Ci)()({ourProps:_,theirProps:v,slot:I,defaultTag:"button",name:"Listbox.Button"})})),fe=q.JU,pe=(0,k.FX)((function(e,t){var n,r;let i=(0,s.useId)(),{id:a=`headlessui-listbox-options-${i}`,anchor:l,portal:u=!1,modal:m=!0,transition:v=!1,...y}=e,w=(0,j.zn)(l),[S,T]=(0,s.useState)(null);w&&(u=!0);let C=ie("Listbox.Options"),M=ne("Listbox.Options"),$=(0,b.g)(C.optionsElement),A=(0,_.O_)(),[L,D]=(0,P.p)(v,S,null!==A?(A&_.Uw.Open)===_.Uw.Open:0===C.listboxState);(0,g.O)(L,C.buttonElement,M.closeListbox);let O=!C.__demoMode&&(m&&0===C.listboxState);(0,x.K)(O,$);let I=!C.__demoMode&&(m&&0===C.listboxState);(0,h.v)(I,{allowed:(0,s.useCallback)((()=>[C.buttonElement,C.optionsElement]),[C.buttonElement,C.optionsElement])});let F=0!==C.listboxState,B=!(0,d.Y)(F,C.buttonElement)&&L,N=R(L&&1===C.listboxState,C.value),U=(0,c._)((e=>C.compare(N,e))),q=(0,s.useMemo)((()=>{var e;if(null==w||null==(e=null==w?void 0:w.to)||!e.includes("selection"))return null;let t=C.options.findIndex((e=>U(e.dataRef.current.value)));return-1===t&&(t=0),t}),[w,C.options]),X=(()=>{if(null==w)return;if(null===q)return{...w,inner:void 0};let e=Array.from(C.listRef.current.values());return{...w,inner:{listRef:{current:e},index:q}}})(),[K,Z]=(0,j.UF)(X),Q=(0,j.G3)(),J=(0,E.P)(t,w?K:null,M.setOptionsElement,T),ee=(0,f.L)();(0,s.useEffect)((()=>{var e;let t=C.optionsElement;t&&0===C.listboxState&&t!==(null==(e=(0,W.T)(t))?void 0:e.activeElement)&&(null==t||t.focus({preventScroll:!0}))}),[C.listboxState,C.optionsElement]);let te=(0,c._)((e=>{var t,n;switch(ee.dispose(),e.key){case G.D.Space:if(""!==C.searchQuery)return e.preventDefault(),e.stopPropagation(),M.search(e.key);case G.D.Enter:if(e.preventDefault(),e.stopPropagation(),null!==C.activeOptionIndex){let{dataRef:e}=C.options[C.activeOptionIndex];M.onChange(e.current.value)}0===C.mode&&((0,o.flushSync)((()=>M.closeListbox())),null==(t=C.buttonElement)||t.focus({preventScroll:!0}));break;case(0,z.Y)(C.orientation,{vertical:G.D.ArrowDown,horizontal:G.D.ArrowRight}):return e.preventDefault(),e.stopPropagation(),M.goToOption(V.B.Next);case(0,z.Y)(C.orientation,{vertical:G.D.ArrowUp,horizontal:G.D.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),M.goToOption(V.B.Previous);case G.D.Home:case G.D.PageUp:return e.preventDefault(),e.stopPropagation(),M.goToOption(V.B.First);case G.D.End:case G.D.PageDown:return e.preventDefault(),e.stopPropagation(),M.goToOption(V.B.Last);case G.D.Escape:return e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>M.closeListbox())),void(null==(n=C.buttonElement)||n.focus({preventScroll:!0}));case G.D.Tab:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>M.closeListbox())),(0,H.p9)(C.buttonElement,e.shiftKey?H.BD.Previous:H.BD.Next);break;
2default:1===e.key.length&&(M.search(e.key),ee.setTimeout((()=>M.clearSearch()),350))}})),se=null==(n=C.buttonElement)?void 0:n.id,oe=(0,s.useMemo)((()=>({open:0===C.listboxState})),[C.listboxState]),ae=(0,k.v6)(w?Q():{},{id:a,ref:J,"aria-activedescendant":null===C.activeOptionIndex||null==(r=C.options[C.activeOptionIndex])?void 0:r.id,"aria-multiselectable":1===C.mode||void 0,"aria-labelledby":se,"aria-orientation":C.orientation,onKeyDown:te,role:"listbox",tabIndex:0===C.listboxState?0:void 0,style:{...y.style,...Z,"--button-width":(0,p.L)(C.buttonElement,!0).width},...(0,P.B)(D)}),ue=(0,k.Ci)();return s.createElement(Y.ZL,{enabled:!!u&&(e.static||L)},s.createElement(re.Provider,{value:1===C.mode?C:{...C,isSelected:U}},ue({ourProps:ae,theirProps:y,slot:oe,defaultTag:"div",features:le,visible:B,name:"Listbox.Options"})))})),he=(0,k.FX)((function(e,t){let n=(0,s.useId)(),{id:r=`headlessui-listbox-option-${n}`,disabled:i=!1,value:a,...l}=e,u=!0===(0,s.useContext)(ae),d=ie("Listbox.Option"),f=ne("Listbox.Option"),p=null!==d.activeOptionIndex&&d.options[d.activeOptionIndex].id===r,h=d.isSelected(a),g=(0,s.useRef)(null),y=(0,S.q)(g),b=(0,v.Y)({disabled:i,value:a,domRef:g,get textValue(){return y()}}),w=(0,E.P)(t,g,(e=>{e?d.listRef.current.set(r,e):d.listRef.current.delete(r)}));(0,m.s)((()=>
2{if(!d.__demoMode&&0===d.listboxState&&p&&0!==d.activationTrigger)return(0,N.e)().requestAnimationFrame((()=>{var e,t;null==(t=null==(e=g.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}))}),[g,p,d.__demoMode,d.listboxState,d.activationTrigger,d.activeOptionIndex]),(0,m.s)((()=>{if(!u)return f.registerOption(r,b)}),[b,r,u]);let x=(0,c._)((e=>{var t;if(i)return e.preventDefault();f.onChange(a),0===d.mode&&((0,o.flushSync)((()=>f.closeListbox())),null==(t=d.buttonElement)||t.focus({preventScroll:!0}))})),P=(0,c._)((()=>{if(i)return f.goToOption(V.B.Nothing);f.goToOption(V.B.Specific,r)})),C=(0,T.J)(),j=(0,c._)((e=>{C.update(e),!i&&(p||f.goToOption(V.B.Specific,r,0))})),M=(0,c._)((e=>{C.wasMoved(e)&&(i||p||f.goToOption(V.B.Specific,r,0))})),$=(0,c._)((e=>{C.wasMoved(e)&&(i||p&&f.goToOption(V.B.Nothing))})),A=(0,s.useMemo)((()=>({active:p,focus:p,selected:h,disabled:i,selectedOption:h&&u})),[p,h,i,u]),L=u?{}:{id:r,ref:w,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":h,disabled:void 0,onClick:x,onFocus:P,onPointerEnter:j,onMouseEnter:j,onPointerMove:M,onMouseMove:M,onPointerLeave:$,onMouseLeave:$},D=(0,k.Ci)();return!h&&u?null:D({ourProps:L,theirProps:l,slot:A,defaultTag:"div",name:"Listbox.Option"})})),me=(0,k.FX)((function(e,t){let{options:n,placeholder:r,...i}=e,o={ref:(0,E.P)(t)},a=ie("ListboxSelectedOption"),l=(0,s.useMemo)((()=>({})),[]),u=void 0===a.value||null===a.value||1===a.mode&&Array.isArray(a.value)&&0===a.value.length,c=(0,k.Ci)();return s.createElement(ae.Provider,{value:!0},c({ourProps:o,theirProps:{...i,children:s.createElement(s.Fragment,null,r&&u?r:n)},slot:l,defaultTag:ue,name:"ListboxSelectedOption"}))})),ve=Object.assign(ce,{Button:de,Label:fe,Options:pe,Option:he,SelectedOption:me})},5360(e,t,n){"use strict";n.d(t,{W1:()=>ne,IU:()=>K,Dr:()=>Q,c:()=>Z});var r=n(6133),i=n(6638),s=n(6540),o=n(961),a=n(4867),l=n(9781),u=n(6992),c=n(3321),d=n(5015),f=n(7575),p=n(6339),h=n(3674),m=n(2625),v=n(4156),g=n(9821),y=n(6984),b=n(8975),w=n(7980),x=n(9185),E=n(2464),S=n(2211);var T,P,C=n(1306),j=n(3149),M=n(9685),k=n(8342),$=n(2599),A=n(4122),L=n(5897),D=n(6206),O=n(9124),R=n(4586),I=n(540),F=n(8302),_=((P=_||{})[P.Open=0]="Open",P[P.Closed=1]="Closed",P),B=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(B||{}),V=((T=V||{})[T.OpenMenu=0]="OpenMenu",T[T.CloseMenu=1]="CloseMenu",T[T.GoToItem=2]="GoToItem",T[T.Search=3]="Search",T[T.ClearSearch=4]="ClearSearch",T[T.RegisterItem=5]="RegisterItem",T[T.UnregisterItem=6]="UnregisterItem",T[T.SetButtonElement=7]="SetButtonElement",T[T.SetItemsElement=8]="SetItemsElement",T);function N(e,t=e=>e){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,A.wl)(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),i=n?r.indexOf(n):null;return-1===i&&(i=null),{items:r,activeItemIndex:i}}let H={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n,r,i,s,o;if(1===e.menuState)return e;let a={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===k.B.Nothing)return{...a,activeItemIndex:null};if(t.focus===k.B.Specific)return{...a,activeItemIndex:e.items.findIndex((e=>e.id===t.id))};if(t.focus===k.B.Previous){let n=e.activeItemIndex;if(null!==n){let s=e.items[n].dataRef.current.domRef,o=(0,k.X)(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==o){let t=e.items[o].dataRef.current.domRef;if((null==(r=s.current)?void 0:r.previousElementSibling)===t.current||null===(null==(i=t.current)?void 0:i.previousElementSibling))return{...a,activeItemIndex:o}}}}else if(t.focus===k.B.Next){let n=e.activeItemIndex;if(null!==n){let r=e.items[n].dataRef.current.domRef,i=(0,k.X)(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==i){let t=e.items[i].dataRef.current.domRef;if((null==(s=r.current)?void 0:s.nextElementSibling)===t.current||null===(null==(o=t.current)?void 0:o.nextElementSibling))return{...a,activeItemIndex:i}}}}
2let l=N(e),u=(0,k.X)(t,{resolveItems:()=>l.items,resolveActiveIndex:()=>l.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...a,...l,activeItemIndex:u}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled})),s=i?e.items.indexOf(i):-1;return-1===s||s===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:s,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=N(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...n}},6:(e,t)=>{let n=N(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.itemsElement===t.element?e:{...e,itemsElement:t.element}},z=(0,s.createContext)(null);function W(e){let t=(0,s.useContext)(z);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,W),t}return t}function U(e,t){return(0,L.Y)(t.type,H,e,t)}z.displayName="MenuContext";let G=s.Fragment;let q=D.Ac.RenderStrategy|D.Ac.Static;let Y=s.Fragment;let X=(0,D.FX)((function(e,t){let{__demoMode:n=!1,...r}=e,i=(0,s.useReducer)(U,{__demoMode:n,menuState:n?0:1,buttonElement:null,itemsElement:null,items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:o,itemsElement:a,buttonElement:l},u]=i,c=(0,b.P)(t);(0,m.j)(0===o,[l,a],((e,t)=>{u({type:1}),(0,A.Bm)(t,A.MZ.Loose)||(e.preventDefault(),null==l||l.focus())}));let f=(0,d._)((()=>{u({type:1})})),p=(0,s.useMemo)((()=>({open:0===o,close:f})),[o,f]),h={ref:c},v=(0,D.Ci)();return s.createElement(C.St,null,s.createElement(z.Provider,{value:i},s.createElement(j.El,{value:(0,L.Y)(o,{0:j.Uw.Open,1:j.Uw.Closed})},v({ourProps:h,theirProps:r,slot:p,defaultTag:G,name:"Menu"}))))})),K=(0,D.FX)((function(e,t){var n;let l=(0,s.useId)(),{id:u=`headlessui-menu-button-${l}`,disabled:c=!1,autoFocus:f=!1,...p}=e,[h,m]=W("Menu.Button"),v=(0,C.TI)(),y=(0,b.P)(t,(0,C.Xc)(),(0,d._)((e=>m({type:7,element:e})))),w=(0,d._)((e=>{switch(e.key){case R.D.Space:case R.D.Enter:case R.D.ArrowDown:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>m({type:0}))),m({type:2,focus:k.B.First});break;case R.D.ArrowUp:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>m({type:0}))),m({type:2,focus:k.B.Last})}})),x=(0,d._)((e=>{if(e.key===R.D.Space)e.preventDefault()})),E=(0,d._)((e=>{var t;if((0,M.l)(e.currentTarget))return e.preventDefault();c||(0===h.menuState?((0,o.flushSync)((()=>m({type:1}))),null==(t=h.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),m({type:0})))})),{isFocusVisible:S,focusProps:T}=(0,r.o)({autoFocus:f}),{isHovered:P,hoverProps:j}=(0,i.M)({isDisabled:c}),{pressed:$,pressProps:A}=(0,a.Z)({disabled:c}),L=(0,s.useMemo)((()=>({open:0===h.menuState,active:$||0===h.menuState,disabled:c,hover:P,focus:S,autofocus:f})),[h,P,S,$,c,f]),O=(0,D.v6)(v(),{ref:y,id:u,type:(0,g.c)(e,h.buttonElement),"aria-haspopup":"menu","aria-controls":null==(n=h.itemsElement)?void 0:n.id,"aria-expanded":0===h.menuState,disabled:c||void 0,autoFocus:f,onKeyDown:w,onKeyUp:x,onClick:E},T,j,A);return(0,D.Ci)()({ourProps:O,theirProps:p,slot:L,defaultTag:"button",name:"Menu.Button"})})),Z=(0,D.FX)((function(e,t){var n,r;let i=(0,s.useId)(),{id:a=`headlessui-menu-items-${i}`,anchor:m,portal:g=!1,modal:w=!0,transition:x=!1,...T}
2=e,P=(0,C.zn)(m),[M,$]=W("Menu.Items"),[L,O]=(0,C.UF)(P),I=(0,C.G3)(),[_,B]=(0,s.useState)(null),V=(0,b.P)(t,P?L:null,(0,d._)((e=>$({type:8,element:e}))),B),N=(0,v.g)(M.itemsElement);P&&(g=!0);let H=(0,j.O_)(),[z,U]=(0,E.p)(x,_,null!==H?(H&j.Uw.Open)===j.Uw.Open:0===M.menuState);(0,h.O)(z,M.buttonElement,(()=>{$({type:1})}));let G=!M.__demoMode&&(w&&0===M.menuState);(0,y.K)(G,N);let Y=!M.__demoMode&&(w&&0===M.menuState);(0,f.v)(Y,{allowed:(0,s.useCallback)((()=>[M.buttonElement,M.itemsElement]),[M.buttonElement,M.itemsElement])});let X=0!==M.menuState,K=!(0,l.Y)(X,M.buttonElement)&&z;(0,s.useEffect)((()=>{let e=M.itemsElement;e&&0===M.menuState&&e!==(null==N?void 0:N.activeElement)&&e.focus({preventScroll:!0})}),[M.menuState,M.itemsElement,N]),function(e,{container:t,accept:n,walk:r}){let i=(0,s.useRef)(n),o=(0,s.useRef)(r);(0,s.useEffect)((()=>{i.current=n,o.current=r}),[n,r]),(0,p.s)((()=>{if(!t||!e)return;let n=(0,S.T)(t);if(!n)return;let r=i.current,s=o.current,a=Object.assign((e=>r(e)),{acceptNode:r}),l=n.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,a,!1);for(;l.nextNode();)s(l.currentNode)}),[t,e,i,o])}(0===M.menuState,{container:M.itemsElement,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let Z=(0,u.L)(),Q=(0,d._)((e=>{var t,n,r;switch(Z.dispose(),e.key){case R.D.Space:if(""!==M.searchQuery)return e.preventDefault(),e.stopPropagation(),$({type:3,value:e.key});case R.D.Enter:if(e.preventDefault(),e.stopPropagation(),$({type:1}),null!==M.activeItemIndex){let{dataRef:e}=M.items[M.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,A.Fh)(M.buttonElement);break;case R.D.ArrowDown:return e.preventDefault(),e.stopPropagation(),$({type:2,focus:k.B.Next});case R.D.ArrowUp:return e.preventDefault(),e.stopPropagation(),$({type:2,focus:k.B.Previous});case R.D.Home:case R.D.PageUp:return e.preventDefault(),e.stopPropagation(),$({type:2,focus:k.B.First});case R.D.End:case R.D.PageDown:return e.preventDefault(),e.stopPropagation(),$({type:2,focus:k.B.Last});case R.D.Escape:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>$({type:1}))),null==(r=M.buttonElement)||r.focus({preventScroll:!0});break;case R.D.Tab:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>$({type:1}))),(0,A.p9)(M.buttonElement,e.shiftKey?A.BD.Previous:A.BD.Next);break;default:1===e.key.length&&($({type:3,value:e.key}),Z.setTimeout((()=>$({type:4})),350))}})),J=(0,d._)((e=>{if(e.key===R.D.Space)e.preventDefault()})),ee=(0,s.useMemo)((()=>({open:0===M.menuState})),[M.menuState]),te=(0,D.v6)(P?I():{},{"aria-activedescendant":null===M.activeItemIndex||null==(n=M.items[M.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=M.buttonElement)?void 0:r.id,id:a,onKeyDown:Q,onKeyUp:J,role:"menu",tabIndex:0===M.menuState?0:void 0,ref:V,style:{...T.style,...O,"--button-width":(0,c.L)(M.buttonElement,!0).width},...(0,E.B)(U)}),ne=(0,D.Ci)();return s.createElement(F.ZL,{enabled:!!g&&(e.static||z)},ne({ourProps:te,theirProps:T,slot:ee,defaultTag:"div",features:q,visible:K,name:"Menu.Items"}))})),Q=(0,D.FX)((function(e,t){let n=(0,s.useId)(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...o}=e,[a,l]=W("Menu.Item"),u=null!==a.activeItemIndex&&a.items[a.activeItemIndex].id===r,c=(0,s.useRef)(null),f=(0,b.P)(t,c);(0,p.s)((()=>{if(!a.__demoMode&&0===a.menuState&&u&&0!==a.activationTrigger)return(0,$.e)().requestAnimationFrame((()=>{var e,t;null==(t=null==(e=c.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}))}),[a.__demoMode,c,u,a.menuState,a.activationTrigger,a.activeItemIndex]);let h=(0,w.q)(c),m=(0,s.useRef)({disabled:i,domRef:c,get textValue(){return h()}});(0,p.s)((()=>{m.current.disabled=i}),[m,i]),(0,p.s)((()=>(l({type:5,id:r,dataRef:m}),()=>l({type:6,id:r}))),[m,r]);let v=(0,d._)((()=>{l({type:1})})),g=(0,d._)((e=>{if(i)return e.preventDefault();l({type:1}),(0,A.Fh)(a.buttonElement)})),y=(0,d._)((()=>{if(i)return l({type:2,focus:k.B.Nothing});l({type:2,focus:k.B.Specific,id:r})})),E=(0,x.J)(),S=(0,d._)((e=>{E.update(e),!i&&(u||l({type:2,focus:k.B.Specific,id:r,trigger:0}))})),T=(0,d._)((e=>{E.wasMoved(e)&&(i||u||l({type:2,focus:k.B.Specific,id:r,trigger:0}))})),P=(0,d._)((e=>{E.wasMoved(e)&&(i||u&&l({type:2,focus:k.B.Nothing}))})),[C,j]=(0,I.b0)(),[M,L]=(0,O.rU)(),R=(0,s.useMemo)((()=>({active:u,focus:u,disabled:i,close:v})),[u,i,v]),F={id:r,ref:f,role:"menuitem",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-labelledby":C,"aria-describedby":M,disabled:void 0,onClick:g,onFocus:y,onPointerEnter:S,onMouseEnter:S,onPointerMove:T,onMouseMove:T,onPointerLeave:P,onMouseLeave:P},_=(0,D.Ci)();return s.createElement(j,null,s.createElement(L,null,_({ourProps:F,theirProps:o,slot:R,defaultTag:Y,name:"Menu.Item"})))})),J=(0,D.FX)((function(e,t){let[n,r]=(0,I.b0)(),i=e,o={ref:t,"aria-labelledby":n,role:"group"},a=(0,D.Ci)();
2return s.createElement(r,null,a({ourProps:o,theirProps:i,slot:{},defaultTag:"div",name:"Menu.Section"}))})),ee=(0,D.FX)((function(e,t){let n=(0,s.useId)(),{id:r=`headlessui-menu-heading-${n}`,...i}=e,o=(0,I.vd)();(0,p.s)((()=>o.register(r)),[r,o.register]);let a={id:r,ref:t,role:"presentation",...o.props};return(0,D.Ci)()({ourProps:a,theirProps:i,slot:{},defaultTag:"header",name:"Menu.Heading"})})),te=(0,D.FX)((function(e,t){let n=e,r={ref:t,role:"separator"};return(0,D.Ci)()({ourProps:r,theirProps:n,slot:{},defaultTag:"div",name:"Menu.Separator"})})),ne=Object.assign(X,{Button:K,Items:Z,Item:Q,Section:J,Heading:ee,Separator:te})},4408(e,t,n){"use strict";n.d(t,{AM:()=>ee,QT:()=>Q,YT:()=>Z,ut:()=>X});var r,i,s=n(6133),o=n(6638),a=n(6540),l=n(4867),u=n(3321),c=n(5015),d=n(8084),f=n(6339),p=n(4424),h=n(3674),m=n(2625),v=n(4156),g=n(9821),y=n(4032),b=n(6984),w=n(8975),x=n(4e3),E=n(2464),S=n(7442),T=n(1306),P=n(9528),C=n(3149),j=n(9685),M=n(4122),k=n(5897),$=n(2211),A=n(6206),L=n(4586),D=n(8302),O=((i=O||{})[i.Open=0]="Open",i[i.Closed=1]="Closed",i),R=((r=R||{})[r.TogglePopover=0]="TogglePopover",r[r.ClosePopover=1]="ClosePopover",r[r.SetButton=2]="SetButton",r[r.SetButtonId=3]="SetButtonId",r[r.SetPanel=4]="SetPanel",r[r.SetPanelId=5]="SetPanelId",r);let I={0:e=>({...e,popoverState:(0,k.Y)(e.popoverState,{0:1,1:0}),__demoMode:!1}),1:e=>1===e.popoverState?e:{...e,popoverState:1,__demoMode:!1},2:(e,t)=>e.button===t.button?e:{...e,button:t.button},3:(e,t)=>
2e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},4:(e,t)=>e.panel===t.panel?e:{...e,panel:t.panel},5:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},F=(0,a.createContext)(null);function _(e){let t=(0,a.useContext)(F);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,_),t}return t}F.displayName="PopoverContext";let B=(0,a.createContext)(null);function V(e){let t=(0,a.useContext)(B);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,V),t}return t}B.displayName="PopoverAPIContext";let N=(0,a.createContext)(null);function H(){return(0,a.useContext)(N)}N.displayName="PopoverGroupContext";let z=(0,a.createContext)(null);function W(e,t){return(0,k.Y)(t.type,I,e,t)}z.displayName="PopoverPanelContext";let U=A.Ac.RenderStrategy|A.Ac.Static;function G(e,t){let n=(0,a.useId)(),{id:r=`headlessui-popover-backdrop-${n}`,transition:i=!1,...s}=e,[{popoverState:o},l]=_("Popover.Backdrop"),[u,d]=(0,a.useState)(null),f=(0,w.P)(t,d),p=(0,C.O_)(),[h,m]=(0,E.p)(i,u,null!==p?(p&C.Uw.Open)===C.Uw.Open:0===o),v=(0,c._)((e=>{if((0,j.l)(e.currentTarget))return e.preventDefault();l({type:1})})),g=(0,a.useMemo)((()=>({open:0===o})),[o]),y={ref:f,id:r,"aria-hidden":!0,onClick:v,...(0,E.B)(m)};return(0,A.Ci)()({ourProps:y,theirProps:s,slot:g,defaultTag:"div",features:U,visible:h,name:"Popover.Backdrop"})}let q=A.Ac.RenderStrategy|A.Ac.Static;let Y=(0,A.FX)((function(e,t){var n;let{__demoMode:r=!1,...i}=e,s=(0,a.useRef)(null),o=(0,w.P)(t,(0,w.a)((e=>{s.current=e}))),l=(0,a.useRef)([]),u=(0,a.useReducer)(W,{__demoMode:r,popoverState:r?0:1,buttons:l,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,a.createRef)(),afterPanelSentinel:(0,a.createRef)(),afterButtonSentinel:(0,a.createRef)()}),[{popoverState:f,button:h,buttonId:g,panel:b,panelId:x,beforePanelSentinel:E,afterPanelSentinel:P,afterButtonSentinel:j},$]=u,L=(0,v.g)(null!=(n=s.current)?n:h),O=(0,a.useMemo)((()=>{if(!h||!b)return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(h))^Number(null==e?void 0:e.contains(b)))return!0;let e=(0,M.iq)(),t=e.indexOf(h),n=(t+e.length-1)%e.length,r=(t+1)%e.length,i=e[n],s=e[r];return!b.contains(i)&&!b.contains(s)}),[h,b]),R=(0,p.Y)(g),I=(0,p.Y)(x),_=(0,a.useMemo)((()=>({buttonId:R,panelId:I,close:()=>$({type:1})})),[R,I,$]),V=H(),N=null==V?void 0:V.registerPopover,U=(0,c._)((()=>{var e;return null!=(e=null==V?void 0:V.isFocusWithinPopoverGroup())?e:(null==L?void 0:L.activeElement)&&((null==h?void 0:h.contains(L.activeElement))||(null==b?void 0:b.contains(L.activeElement)))}));(0,a.useEffect)((()=>null==N?void 0:N(_)),[N,_]);let[G,q]=(0,D.k2)(),Y=(0,y.xA)(h),X=(0,y.iq)({mainTreeNode:Y,portals:G,defaultContainers:[h,b]});(0,d.M)(null==L?void 0:L.defaultView,"focus",(e=>{var t,n,r,i,s,o;e.target!==window&&e.target instanceof HTMLElement&&0===f&&(U()||h&&b&&(X.contains(e.target)||null!=(n=null==(t=E.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(i=null==(r=P.current)?void 0:r.contains)&&i.call(r,e.target)||null!=(o=null==(s=j.current)?void 0:s.contains)&&o.call(s,e.target)||$({type:1})))}),!0),(0,m.j)(0===f,X.resolveContainers,((e,t)=>{$({type:1}),(0,M.Bm)(t,M.MZ.Loose)||(e.preventDefault(),null==h||h.focus())}));let K=(0,c._)((e=>{$({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:h:h;null==t||t.focus()})),Z=(0,a.useMemo)((()=>({close:K,isPortalled:O})),[K,O]),Q=(0,a.useMemo)((()=>({open:0===f,close:K})),[f,K]),J={ref:o},ee=(0,A.Ci)();return a.createElement(y.H5,{node:Y},a.createElement(T.St,null,a.createElement(z.Provider,{value:null},a.createElement(F.Provider,{value:u},a.createElement(B.Provider,{value:Z},a.createElement(S.e,{value:K},a.createElement(C.El,{value:(0,k.Y)(f,{0:C.Uw.Open,1:C.Uw.Closed})},a.createElement(q,null,ee({ourProps:J,theirProps:i,slot:Q,defaultTag:"div",name:"Popover"})))))))))})),X=(0,A.FX)((function(e,t){let n=(0,a.useId)(),{id:r=`headlessui-popover-button-${n}`,disabled:i=!1,autoFocus:u=!1,...d}=e,[f,p]=_("Popover.Button"),{isPortalled:h}=V("Popover.Button"),m=(0,a.useRef)(null),y=`headlessui-focus-sentinel-${(0,a.useId)()}`,b=H(),E=null==b?void 0:b.closeOthers,S=null!==(0,a.useContext)(z);(0,a.useEffect)((()=>
2{if(!S)return p({type:3,buttonId:r}),()=>{p({type:3,buttonId:null})}}),[S,r,p]);let[C]=(0,a.useState)((()=>Symbol())),$=(0,w.P)(m,t,(0,T.Xc)(),(0,c._)((e=>{if(!S){if(e)f.buttons.current.push(C);else{let e=f.buttons.current.indexOf(C);-1!==e&&f.buttons.current.splice(e,1)}f.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&p({type:2,button:e})}}))),D=(0,w.P)(m,t),O=(0,v.g)(m),R=(0,c._)((e=>{var t,n,r;if(S){if(1===f.popoverState)return;switch(e.key){case L.D.Space:case L.D.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),p({type:1}),null==(r=f.button)||r.focus()}}else switch(e.key){case L.D.Space:case L.D.Enter:e.preventDefault(),e.stopPropagation(),1===f.popoverState&&(null==E||E(f.buttonId)),p({type:0});break;case L.D.Escape:if(0!==f.popoverState)return null==E?void 0:E(f.buttonId);if(!m.current||null!=O&&O.activeElement&&!m.current.contains(O.activeElement))return;e.preventDefault(),e.stopPropagation(),p({type:1})}})),I=(0,c._)((e=>{S||e.key===L.D.Space&&e.preventDefault()})),F=(0,c._)((e=>{var t,n;(0,j.l)(e.currentTarget)||i||(S?(p({type:1}),null==(t=f.button)||t.focus()):(e.preventDefault(),e.stopPropagation(),1===f.popoverState&&(null==E||E(f.buttonId)),p({type:0}),null==(n=f.button)||n.focus()))})),B=(0,c._)((e=>{e.preventDefault(),e.stopPropagation()})),{isFocusVisible:N,focusProps:W}=(0,s.o)({autoFocus:u}),{isHovered:U,hoverProps:G}=(0,o.M)({isDisabled:i}),{pressed:q,pressProps:Y}=(0,l.Z)({disabled:i}),X=0===f.popoverState,K=(0,a.useMemo)((()=>({open:X,active:q||X,disabled:i,hover:U,focus:N,autofocus:u})),[X,U,N,q,i,u]),Z=(0,g.c)(e,f.button),Q=S?(0,A.v6)({ref:D,type:Z,onKeyDown:R,onClick:F,disabled:i||void 0,autoFocus:u},W,G,Y):(0,A.v6)({ref:$,id:f.buttonId,type:Z,"aria-expanded":0===f.popoverState,"aria-controls":f.panel?f.panelId:void 0,disabled:i||void 0,autoFocus:u,onKeyDown:R,onKeyUp:I,onClick:F,onMouseDown:B},W,G,Y),J=(0,x.u)(),ee=(0,c._)((()=>{let e=f.panel;e&&(0,k.Y)(J.current,{[x.O.Forwards]:()=>(0,M.CU)(e,M.BD.First),[x.O.Backwards]:()=>(0,M.CU)(e,M.BD.Last)})===M.Me.Error&&(0,M.CU)((0,M.iq)().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),(0,k.Y)(J.current,{[x.O.Forwards]:M.BD.Next,[x.O.Backwards]:M.BD.Previous}),{relativeTo:f.button})})),te=(0,A.Ci)();return a.createElement(a.Fragment,null,te({ourProps:Q,theirProps:d,slot:K,defaultTag:"button",name:"Popover.Button"}),X&&!S&&h&&a.createElement(P.j,{id:y,ref:f.afterButtonSentinel,features:P.u.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:ee}))})),K=(0,A.FX)(G),Z=(0,A.FX)(G),Q=(0,A.FX)((function(e,t){let n=(0,a.useId)(),{id:r=`headlessui-popover-panel-${n}`,focus:i=!1,anchor:s,portal:o=!1,modal:l=!1,transition:d=!1,...p}=e,[m,g]=_("Popover.Panel"),{close:y,isPortalled:S}=V("Popover.Panel"),j=`headlessui-focus-sentinel-before-${n}`,$=`headlessui-focus-sentinel-after-${n}`,O=(0,a.useRef)(null),R=(0,T.zn)(s),[I,F]=(0,T.UF)(R),N=(0,T.G3)();R&&(o=!0);let[H,W]=(0,a.useState)(null),U=(0,w.P)(O,t,R?I:null,(0,c._)((e=>g({type:4,panel:e}))),W),G=(0,v.g)(O);(0,f.s)((()=>(g({type:5,panelId:r}),()=>{g({type:5,panelId:null})})),[r,g]);let Y=(0,C.O_)(),[X,K]=(0,E.p)(d,H,null!==Y?(Y&C.Uw.Open)===C.Uw.Open:0===m.popoverState);(0,h.O)(X,m.button,(()=>{g({type:1})}));let Z=!m.__demoMode&&(l&&X);(0,b.K)(Z,G);let Q=(0,c._)((e=>{var t;if(e.key===L.D.Escape){if(0!==m.popoverState||!O.current||null!=G&&G.activeElement&&!O.current.contains(G.activeElement))return;e.preventDefault(),e.stopPropagation(),g({type:1}),null==(t=m.button)||t.focus()}}));(0,a.useEffect)((()=>{var t;e.static||1===m.popoverState&&(null==(t=e.unmount)||t)&&g({type:4,panel:null})}),[m.popoverState,e.unmount,e.static,g]),(0,a.useEffect)((()=>{if(m.__demoMode||!i||0!==m.popoverState||!O.current)return;let e=null==G?void 0:G.activeElement;O.current.contains(e)||(0,M.CU)(O.current,M.BD.First)}),[m.__demoMode,i,O.current,m.popoverState]);let J=(0,a.useMemo)((()=>({open:0===m.popoverState,close:y})),[m.popoverState,y]),ee=(0,A.v6)(R?N():{},{ref:U,id:r,onKeyDown:Q,onBlur:i&&0===m.popoverState?e=>{var t,n,r,i,s;let o=e.relatedTarget;o&&O.current&&(null!=(t=O.current)&&t.contains(o)||(g({type:1}),(null!=(r=null==(n=m.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,o)||null!=(s=null==(i=m.afterPanelSentinel.current)?void 0:i.contains)&&s.call(i,o))&&o.focus({preventScroll:!0})))}:void 0,tabIndex:-1,style:{...p.style,...F,"--button-width":(0,u.L)(m.button,!0).width},...(0,E.B)(K)}),te=(0,x.u)(),ne=(0,c._)((()=>{let e=O.current;e&&(0,k.Y)(te.current,{[x.O.Forwards]:()=>{var t;(0,M.CU)(e,M.BD.First)===M.Me.Error&&(null==(t=m.afterPanelSentinel.current)||t.focu
2s())},[x.O.Backwards]:()=>{var e;null==(e=m.button)||e.focus({preventScroll:!0})}})})),re=(0,c._)((()=>{let e=O.current;e&&(0,k.Y)(te.current,{[x.O.Forwards]:()=>{if(!m.button)return;let e=(0,M.iq)(),t=e.indexOf(m.button),n=e.slice(0,t+1),r=[...e.slice(t+1),...n];for(let e of r.slice())if("true"===e.dataset.headlessuiFocusGuard||null!=H&&H.contains(e)){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}(0,M.CU)(r,M.BD.First,{sorted:!1})},[x.O.Backwards]:()=>{var t;(0,M.CU)(e,M.BD.Previous)===M.Me.Error&&(null==(t=m.button)||t.focus())}})})),ie=(0,A.Ci)();return a.createElement(C.$x,null,a.createElement(z.Provider,{value:r},a.createElement(B.Provider,{value:{close:y,isPortalled:S}},a.createElement(D.ZL,{enabled:!!o&&(e.static||X)},X&&S&&a.createElement(P.j,{id:j,ref:m.beforePanelSentinel,features:P.u.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:ne}),ie({ourProps:ee,theirProps:p,slot:J,defaultTag:"div",features:q,visible:X,name:"Popover.Panel"}),X&&S&&a.createElement(P.j,{id:$,ref:m.afterPanelSentinel,features:P.u.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:re})))))})),J=(0,A.FX)((function(e,t){let n=(0,a.useRef)(null),r=(0,w.P)(n,t),[i,s]=(0,a.useState)([]),o=(0,c._)((e=>{s((t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t}))})),l=(0,c._)((e=>(s((t=>[...t,e])),()=>o(e)))),u=(0,c._)((()=>{var e;let t=(0,$.T)(n);if(!t)return!1;let r=t.activeElement;return!(null==(e=n.current)||!e.contains(r))||i.some((e=>{var n,i;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(i=t.getElementById(e.panelId.current))?void 0:i.contains(r))}))})),d=(0,c._)((e=>{for(let t of i)t.buttonId.current!==e&&t.close()})),f=(0,a.useMemo)((()=>({registerPopover:l,unregisterPopover:o,isFocusWithinPopoverGroup:u,closeOthers:d})),[l,o,u,d]),p=(0,a.useMemo)((()=>({})),[]),h=e,m={ref:r},v=(0,A.Ci)();return a.createElement(y.H5,null,a.createElement(N.Provider,{value:f},v({ourProps:m,theirProps:h,slot:p,defaultTag:"div",name:"Popover.Group"})))})),ee=Object.assign(Y,{Button:X,Backdrop:Z,Overlay:K,Panel:Q,Group:J})},8302(e,t,n){"use strict";n.d(t,{Ee:()=>x,ZL:()=>E,k2:()=>b});var r=n(6540),i=n(961);if(/^(4(38|65|82)|7(81|89|92)|(55|89|92)9|17|204|285|691|883)$/.test(n.j))var s=n(5015);var o=n(6339),a=n(2903),l=n(4156),u=n(4335),c=n(8975),d=n(6717),f=n(9851),p=n(6206);let h=r.Fragment,m=(0,p.FX)((function(e,t){let n=e,s=(0,r.useRef)(null),m=(0,c.P)((0,c.a)((e=>{s.current=e})),t),v=(0,l.g)(s),b=function(e){let t=(0,d.S)(),n=(0,r.useContext)(g),i=(0,l.g)(e),[s,o]=(0,r.useState)((()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(f._.isServer)return null;let r=null==i?void 0:i.getElementById("headlessui-portal-root");if(r)return r;if(null===i)return null;let s=i.createElement("div");return s.setAttribute("id","headlessui-portal-root"),i.body.appendChild(s)}));return(0,r.useEffect)((()=>{null!==s&&(null!=i&&i.body.contains(s)||null==i||i.body.appendChild(s))}),[s,i]),(0,r.useEffect)((()=>{t||null!==n&&o(n.current)}),[n,o,t]),s}(s),[w]=(0,r.useState)((()=>{var e;return f._.isServer?null:null!=(e=null==v?void 0:v.createElement("div"))?e:null})),x=(0,r.useContext)(y),E=(0,u.g)();(0,o.s)((()=>{!b||!w||b.contains(w)||(w.setAttribute("data-headlessui-portal",""),b.appendChild(w))}),[b,w]),(0,o.s)((()=>{if(w&&x)return x.register(w)}),[x,w]),(0,a.X)((()=>{var e;!b||!w||(w instanceof Node&&b.contains(w)&&b.removeChild(w),b.childNodes.length<=0&&(null==(e=b.parentElement)||e.removeChild(b)))}));let S=(0,p.Ci)();return E&&b&&w?(0,i.createPortal)(S({ourProps:{ref:m},theirProps:n,slot:{},defaultTag:h,name:"Portal"}),w):null}));let v=r.Fragment,g=(0,r.createContext)(null);let y=(0,r.createContext)(null);function b(){let e=(0,r.useContext)(y),t=(0,r.useRef)([]),n=(0,s._)((n=>(t.current.push(n),e&&e.register(n),()=>i(n)))),i=(0,s._)((n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)})),o=(0,r.useMemo)((()=>({register:n,unregister:i,portals:t})),[n,i,t]);return[t,(0,r.useMemo)((()=>function({children:e}){return r.createElement(y.Provider,{value:o},e)}),[o])]}let w=(0,p.FX)((function(e,t){let n=(0,c.P)(t),{enabled:i=!0,...s}=e,o=(0,p.Ci)();return i?r.createElement(m,{...s,ref:n}):o({ourProps:{ref:n},theirProps:s,slot:{},defaultTag:h,name:"Portal"})})),x=(0,p.FX)((function(e,t){let{target:n,...i}=e,s={ref:(0,c.P)(t)},o=(0,p.Ci)();return r.createElement(g.Provider,{value:n},o({ourProps:s,theirProps:i,defaultTag:v,name:"Popover.Group"}))})),E=Object.assign(w,{Group:x})},1848(e,t,n){"use strict";n.d(t,{oz:()=>H,fu:()=>_,wb:()=>B,Kp:()=>N,T2:()=>V});var r=n(6133),i=n(6638),s=n(6540),o=n(4867),a=n(5015),l=n(6339),u=n(4424),c=n(9821),d=n(8975),f=n(4610),p=n(9528);function h({onFocus:e}
2){let[t,n]=(0,s.useState)(!0),r=(0,f.a)();return t?s.createElement(p.j,{as:"button",type:"button",features:p.u.Focusable,onFocus:t=>{t.preventDefault();let i,s=50;i=requestAnimationFrame((function t(){if(s--<=0)i&&cancelAnimationFrame(i);else if(e()){if(cancelAnimationFrame(i),!r.current)return;n(!1)}else i=requestAnimationFrame(t)}))}}):null}var m=n(4122),v=n(5897),g=n(2924),y=n(2211),b=n(6206);const w=s.createContext(null);function x({children:e}){let t=s.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let i=null!=(n=r.get(t))?n:0;return r.set(t,i+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return s.createElement(w.Provider,{value:t},e)}function E(e){let t=s.useContext(w);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=s.useId(),[r,i]=t.current.get(e,n);return s.useEffect((()=>i),[]),r}var S,T,P,C=n(4586),j=((P=j||{})[P.Forwards=0]="Forwards",P[P.Backwards=1]="Backwards",P),M=((T=M||{})[T.Less=-1]="Less",T[T.Equal=0]="Equal",T[T.Greater=1]="Greater",T),k=((S=k||{})[S.SetSelectedIndex=0]="SetSelectedIndex",S[S.RegisterTab=1]="RegisterTab",S[S.UnregisterTab=2]="UnregisterTab",S[S.RegisterPanel=3]="RegisterPanel",S[S.UnregisterPanel=4]="UnregisterPanel",S);let $={0(e,t){var n;let r=(0,m.wl)(e.tabs,(e=>e.current)),i=(0,m.wl)(e.panels,(e=>e.current)),s=r.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),o={...e,tabs:r,panels:i};if(t.index<0||t.index>r.length-1){let n=(0,v.Y)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,v.Y)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===s.length)return o;let i=(0,v.Y)(n,{0:()=>r.indexOf(s[0]),1:()=>r.indexOf(s[s.length-1])});return{...o,selectedIndex:-1===i?e.selectedIndex:i}}let a=r.slice(0,t.index),l=[...r.slice(t.index),...a].find((e=>s.includes(e)));if(!l)return o;let u=null!=(n=r.indexOf(l))?n:e.selectedIndex;return-1===u&&(u=e.selectedIndex),{...o,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=(0,m.wl)([...e.tabs,t.tab],(e=>e.current)),i=e.selectedIndex;return e.info.current.isControlled||(i=r.indexOf(n),-1===i&&(i=e.selectedIndex)),{...e,tabs:r,selectedIndex:i}},2:(e,t)=>({...e,tabs:e.tabs.filter((e=>e!==t.tab))}),3:(e,t)=>
2e.panels.includes(t.panel)?e:{...e,panels:(0,m.wl)([...e.panels,t.panel],(e=>e.current))},4:(e,t)=>({...e,panels:e.panels.filter((e=>e!==t.panel))})},A=(0,s.createContext)(null);function L(e){let t=(0,s.useContext)(A);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,L),t}return t}A.displayName="TabsDataContext";let D=(0,s.createContext)(null);function O(e){let t=(0,s.useContext)(D);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,O),t}return t}function R(e,t){return(0,v.Y)(t.type,$,e,t)}D.displayName="TabsActionsContext";let I=b.Ac.RenderStrategy|b.Ac.Static;let F=(0,b.FX)((function(e,t){var n,u;let f=(0,s.useId)(),{id:p=`headlessui-tabs-tab-${f}`,disabled:h=!1,autoFocus:w=!1,...x}=e,{orientation:S,activation:T,selectedIndex:P,tabs:j,panels:M}=L("Tab"),k=O("Tab"),$=L("Tab"),[A,D]=(0,s.useState)(null),R=(0,s.useRef)(null),I=(0,d.P)(R,t,D);(0,l.s)((()=>k.registerTab(R)),[k,R]);let F=E("tabs"),_=j.indexOf(R);-1===_&&(_=F);let B=_===P,V=(0,a._)((e=>{var t;let n=e();if(n===m.Me.Success&&"auto"===T){let e=null==(t=(0,y.T)(R))?void 0:t.activeElement,n=$.tabs.findIndex((t=>t.current===e));-1!==n&&k.change(n)}return n})),N=(0,a._)((e=>{let t=j.map((e=>e.current)).filter(Boolean);if(e.key===C.D.Space||e.key===C.D.Enter)return e.preventDefault(),e.stopPropagation(),void k.change(_);switch(e.key){case C.D.Home:case C.D.PageUp:return e.preventDefault(),e.stopPropagation(),V((()=>(0,m.CU)(t,m.BD.First)));case C.D.End:case C.D.PageDown:return e.preventDefault(),e.stopPropagation(),V((()=>(0,m.CU)(t,m.BD.Last)))}return V((()=>(0,v.Y)(S,{vertical:()=>e.key===C.D.ArrowUp?(0,m.CU)(t,m.BD.Previous|m.BD.WrapAround):e.key===C.D.ArrowDown?(0,m.CU)(t,m.BD.Next|m.BD.WrapAround):m.Me.Error,horizontal:()=>e.key===C.D.ArrowLeft?(0,m.CU)(t,m.BD.Previous|m.BD.WrapAround):e.key===C.D.ArrowRight?(0,m.CU)(t,m.BD.Next|m.BD.WrapAround):m.Me.Error})))===m.Me.Success?e.preventDefault():void 0})),H=(0,s.useRef)(!1),z=(0,a._)((()=>{var e;H.current||(H.current=!0,null==(e=R.current)||e.focus({preventScroll:!0}),k.change(_),(0,g._)((()=>{H.current=!1})))})),W=(0,a._)((e=>{e.preventDefault()})),{isFocusVisible:U,focusProps:G}=(0,r.o)({autoFocus:w}),{isHovered:q,hoverProps:Y}=(0,i.M)({isDisabled:h}),{pressed:X,pressProps:K}=(0,o.Z)({disabled:h}),Z=(0,s.useMemo)((()=>({selected:B,hover:q,active:X,focus:U,autofocus:w,disabled:h})),[B,q,U,X,w,h]),Q=(0,b.v6)({ref:I,onKeyDown:N,onMouseDown:W,onClick:z,id:p,role:"tab",type:(0,c.c)(e,A),"aria-controls":null==(u=null==(n=M[_])?void 0:n.current)?void 0:u.id,"aria-selected":B,tabIndex:B?0:-1,disabled:h||void 0,autoFocus:w},G,Y,K);return(0,b.Ci)()({ourProps:Q,theirProps:x,slot:Z,defaultTag:"button",name:"Tabs.Tab"})})),_=(0,b.FX)((function(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:i=!1,onChange:o,selectedIndex:c=null,...f}=e;const p=r?"vertical":"horizontal",v=i?"manual":"auto";let g=null!==c,y=(0,u.Y)({isControlled:g}),w=(0,d.P)(t),[E,S]=(0,s.useReducer)(R,{info:y,selectedIndex:null!=c?c:n,tabs:[],panels:[]}),T=(0,s.useMemo)((()=>({selectedIndex:E.selectedIndex})),[E.selectedIndex]),P=(0,u.Y)(o||(()=>{})),C=(0,u.Y)(E.tabs),j=(0,s.useMemo)((()=>({orientation:p,activation:v,...E})),[p,v,E]),M=(0,a._)((e=>(S({type:1,tab:e}),()=>S({type:2,tab:e})))),k=(0,a._)((e=>(S({type:3,panel:e}),()=>S({type:4,panel:e})))),$=(0,a._)((e=>{L.current!==e&&P.current(e),g||S({type:0,index:e})})),L=(0,u.Y)(g?e.selectedIndex:E.selectedIndex),O=(0,s.useMemo)((()=>({registerTab:M,registerPanel:k,change:$})),[]);(0,l.s)((()=>{S({type:0,index:null!=c?c:n})}),[c]),(0,l.s)((()=>
2{if(void 0===L.current||E.tabs.length<=0)return;let e=(0,m.wl)(E.tabs,(e=>e.current));e.some(((e,t)=>E.tabs[t]!==e))&&$(e.indexOf(E.tabs[L.current]))}));let I={ref:w},F=(0,b.Ci)();return s.createElement(x,null,s.createElement(D.Provider,{value:O},s.createElement(A.Provider,{value:j},j.tabs.length<=0&&s.createElement(h,{onFocus:()=>{var e,t;for(let n of C.current)if(0===(null==(e=n.current)?void 0:e.tabIndex))return null==(t=n.current)||t.focus(),!0;return!1}}),F({ourProps:I,theirProps:f,slot:T,defaultTag:"div",name:"Tabs"}))))})),B=(0,b.FX)((function(e,t){let{orientation:n,selectedIndex:r}=L("Tab.List"),i=(0,d.P)(t),o=(0,s.useMemo)((()=>({selectedIndex:r})),[r]),a=e,l={ref:i,role:"tablist","aria-orientation":n};return(0,b.Ci)()({ourProps:l,theirProps:a,slot:o,defaultTag:"div",name:"Tabs.List"})})),V=(0,b.FX)((function(e,t){let{selectedIndex:n}=L("Tab.Panels"),r=(0,d.P)(t),i=(0,s.useMemo)((()=>({selectedIndex:n})),[n]),o=e,a={ref:r};return(0,b.Ci)()({ourProps:a,theirProps:o,slot:i,defaultTag:"div",name:"Tabs.Panels"})})),N=(0,b.FX)((function(e,t){var n,i,o,a;let u=(0,s.useId)(),{id:c=`headlessui-tabs-panel-${u}`,tabIndex:f=0,...h}=e,{selectedIndex:m,tabs:v,panels:g}=L("Tab.Panel"),y=O("Tab.Panel"),w=(0,s.useRef)(null),x=(0,d.P)(w,t);(0,l.s)((()=>y.registerPanel(w)),[y,w]);let S=E("panels"),T=g.indexOf(w);-1===T&&(T=S);let P=T===m,{isFocusVisible:C,focusProps:j}=(0,r.o)(),M=(0,s.useMemo)((()=>({selected:P,focus:C})),[P,C]),k=(0,b.v6)({ref:x,id:c,role:"tabpanel","aria-labelledby":null==(i=null==(n=v[T])?void 0:n.current)?void 0:i.id,tabIndex:P?f:-1},j),$=(0,b.Ci)();return P||null!=(o=h.unmount)&&!o||null!=(a=h.static)&&a?$({ourProps:k,theirProps:h,slot:M,defaultTag:"div",features:I,visible:P,name:"Tabs.Panel"}):s.createElement(p.j,{"aria-hidden":"true",...k})})),H=Object.assign(F,{Group:_,List:B,Panels:V,Panel:N})},3154(e,t,n){"use strict";n.d(t,{M:()=>l});var r=n(2599),i=n(1321);function s(){let e;return{before({doc:t}){var n;let r=t.documentElement,i=null!=(n=t.defaultView)?n:window;e=Math.max(0,i.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,i=Math.max(0,r.clientWidth-r.offsetWidth),s=Math.max(0,e-i);n.style(r,"paddingRight",`${s}px`)}}}var o=n(2157);function a(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let l=(0,i.y)((()=>new Map),{PUSH(e,t){var n;let i=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,r.e)(),meta:new Set};return i.count++,i.meta.add(t),this.set(e,i),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let i={doc:e,d:t,meta:a(n)},l=[(0,o.un)()?{before({doc:e,d:t,meta:n}){function i(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=(0,r.e)();n.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>n.dispose()))))}let s=null!=(n=window.scrollY)?n:window.pageYOffset,o=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),s=e.querySelector(r);s&&!i(s)&&(o=s)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(i(e.target)){let n=e.target;for(;n.parentElement&&i(n.parentElement);)n=n.parentElement;t.style(n,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(i(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;s!==t&&window.scrollTo(0,s),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)}))}))}}:{},s(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];l.forEach((({before:e})=>null==e?void 0:e(i))),l.forEach((({after:e})=>null==e?void 0:e(i)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});l.subscribe((()=>{let e=l.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&l.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&l.dispatch("TEARDOWN",n)}}))},1912(e,t,n){"use strict";if(n.d(t,{G:()=>o}),!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var r=n(5050);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var i=n(6339);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var s=n(3154);function o(e,t,n=()=>({containers:[]})){let o=(0,r.P)(s.M),a=t?o.get(t):void 0,l=!!a&&a.count>0;return(0,i.s)((()=>
2{if(t&&e)return s.M.dispatch("PUSH",t,n),()=>s.M.dispatch("POP",t,n)}),[e,t]),l}},4867(e,t,n){"use strict";n.d(t,{Z:()=>a});var r=n(6540);if(/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var i=n(2211);if(/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var s=n(6992);if(/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var o=n(5015);function a({disabled:e=!1}={}){let t=(0,r.useRef)(null),[n,a]=(0,r.useState)(!1),l=(0,s.L)(),u=(0,o._)((()=>{t.current=null,a(!1),l.dispose()})),c=(0,o._)((e=>{if(l.dispose(),null===t.current){t.current=e.currentTarget,a(!0);{let n=(0,i.T)(e.currentTarget);l.addEventListener(n,"pointerup",u,!1),l.addEventListener(n,"pointermove",(e=>{if(t.current){let n=function(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}(e);a(function(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}(n,t.current.getBoundingClientRect()))}}),!1),l.addEventListener(n,"pointercancel",u,!1)}}}));return{pressed:n,pressProps:e?{}:{onPointerDown:c,onPointerUp:u,onClick:u}}}},9781(e,t,n){"use strict";n.d(t,{Y:()=>s});var r=n(6540);if(/^(129|299|337|532|806)$/.test(n.j))var i=n(6339);function s(e,t){let n=(0,r.useRef)({left:0,top:0});if((0,i.s)((()=>{if(!t)return;let e=t.getBoundingClientRect();e&&(n.current=e)}),[e,t]),null==t||!e||t===document.activeElement)return!1;let s=t.getBoundingClientRect();return s.top!==n.current.top||s.left!==n.current.left}},6992(e,t,n){"use strict";n.d(t,{L:()=>s});var r=n(6540);if(!/^(4(05|44|88)|5(24|52|94)|7(1|98|99)|134)$/.test(n.j))var i=n(2599);function s(){let[e]=(0,r.useState)(i.e);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}},8419(e,t,n){"use strict";n.d(t,{z:()=>s});var r=n(6540);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var i=n(4424);function s(e,t,n,s){let o=(0,i.Y)(n);(0,r.useEffect)((()=>{if(e)return document.addEventListener(t,n,s),()=>document.removeEventListener(t,n,s);function n(e){o.current(e)}}),[e,t,s])}},3321(e,t,n){"use strict";n.d(t,{L:()=>s});var r=n(6540);if(/^(129|204|299|337|532|806)$/.test(n.j))var i=n(6339);function s(e,t=!1){let[n,s]=(0,r.useReducer)((()=>({})),{}),o=(0,r.useMemo)((()=>function(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}(e)),[e,n]);return(0,i.s)((()=>{if(!e)return;let t=new ResizeObserver(s);return t.observe(e),()=>{t.disconnect()}}),[e]),t?{width:`${o.width}px`,height:`${o.height}px`}:o}},8084(e,t,n){"use strict";n.d(t,{M:()=>s});var r=n(6540);if(/^(4(38|65|82)|7(81|89|92)|(55|89|92)9|17|204|285|691|883)$/.test(n.j))var i=n(4424);function s(e,t,n,s){let o=(0,i.Y)(n);(0,r.useEffect)((()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}),[e,t,s])}},5015(e,t,n){"use strict";n.d(t,{_:()=>s});var r=n(6540);if(!/^(4(05|44|88)|5(24|52|94)|7(1|98|99)|134)$/.test(n.j))var i=n(4424);let s=function(e){let t=(0,i.Y)(e);return r.useCallback(((...e)=>t.current(...e)),[t])}},1992(e,t,n){"use strict";n.d(t,{D:()=>i});var r=n(6540);function i(e=0){let[t,n]=(0,r.useState)(e),i=(0,r.useCallback)((e=>n(e)),[t]),s=(0,r.useCallback)((e=>n((t=>t|e))),[t]),o=(0,r.useCallback)((e=>(t&e)===e),[t]),a=(0,r.useCallback)((e=>n((t=>t&~e))),[n]),l=(0,r.useCallback)((e=>n((t=>t^e))),[n]);return{flags:t,setFlag:i,addFlag:s,hasFlag:o,removeFlag:a,toggleFlag:l}}},7575(e,t,n){"use strict";if(n.d(t,{v:()=>d}),!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var r=n(2599);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var i=n(2211);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var s=n(4322);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var o=n(6339);let a=new Map,l=new Map;function u(e){var t;let n=null!=(t=l.get(e))?t:0;return l.set(e,n+1),0!==n||(a.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>c(e)}function c(e){var t;let n=null!=(t=l.get(e))?t:1;if(1===n?l.delete(e):l.set(e,n-1),1!==n)return;let r=a.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,a.delete(e))}function d(e,{allowed:t,disallowed:n}={}){let a=(0,s.S)(e,"inert-others");(0,o.s)((()=>{var e,s;if(!a)return;let o=(0,r.e)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&o.add(u(t));let l=null!=(s=null==t?void 0:t())?s:[];for(let e of l){if(!e)continue;let t=(0,i.T)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)l.some((t=>e.contains(t)))||o.add(u(e));n=n.parentElement}}return o.dispose}),[a,t,n])}},4610(e,t,n){"use strict";n.d(t,{a:()=>s});var r=n(6540);if(!/^(4(05|44|88)|5(24|32|52|94)|7(1|98|99)|129|134|299|337|806)$/.test(n.j))var i=n(6339);function s(){let e=(0,r.useRef)(!1);return(0,i.s)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}},4322(e,t,n){"use strict";n.d(t,{S:()=>u});var r=n(6540);class i extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}var s=n(1321),o=n(6339),a=n(5050);let l=new i((()=>(0,s.y)((()=>[]),{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let n=this.slice();return n.splice(t,1),n}})));function u(e,t){let n=l.get(t),i=(0,r.useId)(),s=(0,a.P)(n);if((0,o.s)((()=>
2{if(e)return n.dispatch("ADD",i),()=>n.dispatch("REMOVE",i)}),[n,e]),!e)return!1;let u=s.indexOf(i),c=s.length;return-1===u&&(u=c,c+=1),u===c-1}},6339(e,t,n){"use strict";n.d(t,{s:()=>s});var r=n(6540);if(!/^(4(05|44|88)|5(24|52|94)|7(1|98|99)|134)$/.test(n.j))var i=n(9851);let s=(e,t)=>{i._.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},4424(e,t,n){"use strict";n.d(t,{Y:()=>s});var r=n(6540);if(!/^(4(05|44|88)|5(24|52|94)|7(1|98|99)|134)$/.test(n.j))var i=n(6339);function s(e){let t=(0,r.useRef)(e);return(0,i.s)((()=>{t.current=e}),[e]),t}},3674(e,t,n){"use strict";n.d(t,{O:()=>o});var r=n(6540);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var i=n(2599);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var s=n(4424);function o(e,t,n){let o=(0,s.Y)((e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()}));(0,r.useEffect)((()=>{if(!e)return;let n=null===t?null:t instanceof HTMLElement?t:t.current;if(!n)return;let r=(0,i.e)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver((()=>o.current(n)));e.observe(n),r.add((()=>e.disconnect()))}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver((()=>o.current(n)));e.observe(n),r.add((()=>e.disconnect()))}return()=>r.dispose()}),[t,o,e])}},2903(e,t,n){"use strict";n.d(t,{X:()=>o});var r=n(6540);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var i=n(2924);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var s=n(5015);function o(e){let t=(0,s._)(e),n=(0,r.useRef)(!1);(0,r.useEffect)((()=>(n.current=!1,()=>{n.current=!0,(0,i._)((()=>{n.current&&t()}))})),[t])}},2625(e,t,n){"use strict";n.d(t,{j:()=>c});var r=n(6540);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var i=n(4122);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var s=n(2157);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var o=n(8419);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var a=n(4322);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var l=n(4424);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var u=n(5074);function c(e,t,n){let c=(0,a.S)(e,"outside-click"),d=(0,l.Y)(n),f=(0,r.useCallback)((function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null===r||!r.getRootNode().contains(r)||!r.isConnected)return;let s=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of s)if(null!==t&&(t.contains(r)||e.composed&&e.composedPath().includes(t)))return;return!(0,i.Bm)(r,i.MZ.Loose)&&-1!==r.tabIndex&&e.preventDefault(),d.current(e,r)}),[d,t]),p=(0,r.useRef)(null);(0,o.z)(c,"pointerdown",(e=>{var t,n;p.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target}),!0),(0,o.z)(c,"mousedown",(e=>{var t,n;p.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target}),!0),(0,o.z)(c,"click",(e=>{(0,s.Fr)()||p.current&&(f(e,(()=>p.current)),p.current=null)}),!0);let h=(0,r.useRef)({x:0,y:0});(0,o.z)(c,"touchstart",(e=>{h.current.x=e.touches[0].clientX,h.current.y=e.touches[0].clientY}),!0),(0,o.z)(c,"touchend",(e=>{let t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY;if(!(Math.abs(t-h.current.x)>=30||Math.abs(n-h.current.y)>=30))return f(e,(()=>e.target instanceof HTMLElement?e.target:null))}),!0),(0,u.M)(c,"blur",(e=>f(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}},4156(e,t,n){"use strict";n.d(t,{g:()=>s});var r=n(6540);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var i=n(2211);function s(...e){return(0,r.useMemo)((()=>(0,i.T)(...e)),[...e])}},9821(e,t,n){"use strict";n.d(t,{c:()=>i});var r=n(6540);function i(e,t){return(0,r.useMemo)((()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";return"string"==typeof r&&"button"===r.toLowerCase()||"BUTTON"===(null==t?void 0:t.tagName)&&!t.hasAttribute("type")?"button":void 0}),[e.type,e.as,t])}},4032(e,t,n){"use strict";n.d(t,{H5:()=>c,iq:()=>l,xA:()=>d});var r=n(6540);if(/^(4(38|65|82)|7(81|89|92)|(55|89|92)9|17|204|285|691|883)$/.test(n.j))var i=n(9528);if(/^(4(38|65|82)|7(81|89|92)|(55|89|92)9|17|204|285|691|883)$/.test(n.j))var s=n(2211);if(/^(4(38|65|82)|7(81|89|92)|(55|89|92)9|17|204|285|691|883)$/.test(n.j))var o=n(5015);if(/^(4(38|65|82)|7(81|89|92)|(55|89|92)9|17|204|285|691|883)$/.test(n.j))var a=n(4156);function l({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=(0,a.g)(n),i=(0,o._)((()=>{var i,s;let o=[];for(let t of e)null!==t&&(t instanceof HTMLElement?o.push(t):"current"in t&&t.current instanceof HTMLElement&&o.push(t.current));if(null!=t&&t.current)for(let e of t.current)o.push(e);for(let e of null!=(i=null==r?void 0:r.querySelectorAll("html > *, body > *"))?i:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(s=null==n?void 0:n.getRootNode())?void 0:s.host))||o.some((t=>e.contains(t)))||o.push(e));return o}
2));return{resolveContainers:i,contains:(0,o._)((e=>i().some((t=>t.contains(e)))))}}let u=(0,r.createContext)(null);function c({children:e,node:t}){let[n,o]=(0,r.useState)(null),a=d(null!=t?t:n);return r.createElement(u.Provider,{value:a},e,null===a&&r.createElement(i.j,{features:i.u.Hidden,ref:e=>{var t,n;if(e)for(let r of null!=(n=null==(t=(0,s.T)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&r instanceof HTMLElement&&null!=r&&r.contains(e)){o(r);break}}}))}function d(e=null){var t;return null!=(t=(0,r.useContext)(u))?t:e}},6984(e,t,n){"use strict";if(n.d(t,{K:()=>s}),!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var r=n(1912);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var i=n(4322);function s(e,t,n=()=>[document.body]){let s=(0,i.S)(e,"scroll-lock");(0,r.G)(s,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}}))}},4335(e,t,n){"use strict";let r;n.d(t,{g:()=>o});var i=n(6540);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var s=n(9851);function o(){let e=function(){let e="undefined"==typeof document;return(r||(r=n.t(i,2))).useSyncExternalStore((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,o]=i.useState(s._.isHandoffComplete);return t&&!1===s._.isHandoffComplete&&o(!1),i.useEffect((()=>{!0!==t&&o(!0)}),[t]),i.useEffect((()=>s._.handoff()),[]),!e&&t}},5050(e,t,n){"use strict";n.d(t,{P:()=>i});var r=n(6540);function i(e){return(0,r.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}},8975(e,t,n){"use strict";n.d(t,{P:()=>a,a:()=>o});var r=n(6540);if(!/^(4(05|44|88)|5(24|52|94)|7(1|98|99)|134)$/.test(n.j))var i=n(5015);let s=Symbol();function o(e,t=!0){return Object.assign(e,{[s]:t})}function a(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=(0,i._)((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[s])))?void 0:n}},4e3(e,t,n){"use strict";n.d(t,{O:()=>o,u:()=>a});var r=n(6540);if(/^(4(38|65|82)|7(81|89|92)|(55|89|92)9|17|204|285|691|883)$/.test(n.j))var i=n(5074);var s,o=((s=o||{})[s.Forwards=0]="Forwards",s[s.Backwards=1]="Backwards",s);function a(){let e=(0,r.useRef)(0);return(0,i.M)(!0,"keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}},7980(e,t,n){"use strict";n.d(t,{q:()=>o});var r=n(6540);if(/^(129|299|337|532|806)$/.test(n.j))var i=n(7338);if(/^(129|299|337|532|806)$/.test(n.j))var s=n(5015);function o(e){let t=(0,r.useRef)(""),n=(0,r.useRef)("");return(0,s._)((()=>{let r=e.current;if(!r)return"";let s=r.innerText;if(t.current===s)return n.current;let o=(0,i.D)(r).trim().toLowerCase();return t.current=s,n.current=o,o}))}},9185(e,t,n){"use strict";n.d(t,{J:()=>s});var r=n(6540);function i(e){return[e.screenX,e.screenY]}function s(){let e=(0,r.useRef)([-1,-1]);return{wasMoved(t){let n=i(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=i(t)}}}},2464(e,t,n){"use strict";n.d(t,{B:()=>f,p:()=>p});var r,i,s=n(6540);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var o=n(2599);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var a=n(6992);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var l=n(1992);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var u=n(6339);"undefined"!=typeof process&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&"test"===(null==(r=null==process?void 0:process.env)?void 0:r.NODE_ENV)&&void 0===(null==(i=null==Element?void 0:Element.prototype)?void 0:i.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join("\n")),[]});var c,d=((c=d||{})[c.None=0]="None",c[c.Closed=1]="Closed",c[c.Enter=2]="Enter",c[c.Leave=4]="Leave",c);function f(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t}
2function p(e,t,n,r){let[i,c]=(0,s.useState)(n),{hasFlag:d,addFlag:f,removeFlag:p}=(0,l.D)(e&&i?3:0),h=(0,s.useRef)(!1),m=(0,s.useRef)(!1),v=(0,a.L)();return(0,u.s)((()=>{var i;if(e)return n&&c(!0),t?(null==(i=null==r?void 0:r.start)||i.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:i}){let s=(0,o.e)();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return void n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:i}),s.nextFrame((()=>{n(),s.requestAnimationFrame((()=>{s.add(function(e,t){var n,r;let i=(0,o.e)();if(!e)return i.dispose;let s=!1;i.add((()=>{s=!0}));let a=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter((e=>e instanceof CSSTransition)))?r:[];return 0===a.length?(t(),i.dispose):(Promise.allSettled(a.map((e=>e.finished))).then((()=>{s||t()})),i.dispose)}(e,r))}))})),s.dispose}(t,{inFlight:h,prepare(){m.current?m.current=!1:m.current=h.current,h.current=!0,!m.current&&(n?(f(3),p(4)):(f(4),p(2)))},run(){m.current?n?(p(3),f(4)):(p(4),f(3)):n?p(1):f(1)},done(){var e;m.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(h.current=!1,p(7),n||c(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})):void(n&&f(3))}),[e,n,t,v]),e?[i,{closed:d(1),enter:d(2),leave:d(4),transition:d(2)||d(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}},5074(e,t,n){"use strict";n.d(t,{M:()=>s});var r=n(6540);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var i=n(4424);function s(e,t,n,s){let o=(0,i.Y)(n);(0,r.useEffect)((()=>{if(e)return window.addEventListener(t,n,s),()=>window.removeEventListener(t,n,s);function n(e){o.current(e)}}),[e,t,s])}},7442(e,t,n){"use strict";n.d(t,{e:()=>s});var r=n(6540);let i=(0,r.createContext)((()=>{}));function s({value:e,children:t}){return r.createElement(i.Provider,{value:e},t)}},5448(e,t,n){"use strict";n.d(t,{_:()=>s});var r=n(6540);let i=(0,r.createContext)(void 0);function s(){return(0,r.useContext)(i)}},1306(e,t,n){"use strict";if(n.d(t,{G3:()=>m,St:()=>g,TI:()=>h,UF:()=>v,Xc:()=>p,zn:()=>f}),/^(129|204|299|337|532|806)$/.test(n.j))var r=n(8689);if(/^(129|204|299|337|532|806)$/.test(n.j))var i=n(8491);if(/^(129|204|299|337|532|806)$/.test(n.j))var s=n(4743);var o=n(6540);if(/^(129|204|299|337|532|806)$/.test(n.j))var a=n(6992);if(/^(129|204|299|337|532|806)$/.test(n.j))var l=n(5015);if(/^(129|204|299|337|532|806)$/.test(n.j))var u=n(6339);let c=(0,o.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});c.displayName="FloatingContext";let d=(0,o.createContext)(null);function f(e){return(0,o.useMemo)((()=>e?"string"==typeof e?{to:e}:e:null),[e])}function p(){return(0,o.useContext)(c).setReference}function h(){return(0,o.useContext)(c).getReferenceProps}function m(){let{getFloatingProps:e,slot:t}=(0,o.useContext)(c);return(0,o.useCallback)(((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor})),[e,t])}function v(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,o.useContext)(d),n=(0,o.useMemo)((()=>e),[JSON.stringify(e,((e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t}))]);(0,u.s)((()=>{null==t||t(null!=n?n:null)}),[t,n]);let r=(0,o.useContext)(c);return(0,o.useMemo)((()=>[r.setFloating,e?r.styles:{}]),[r.setFloating,e,r.styles])}d.displayName="PlacementContext";function g({children:e,enabled:t=!0}){let[n,a]=(0,o.useState)(null),[f,p]=(0,o.useState)(0),h=(0,o.useRef)(null),[m,v]=(0,o.useState)(null);!function(e){(0,u.s)((()=>
2{if(!e)return;let t=new MutationObserver((()=>{let t=window.getComputedStyle(e).maxHeight,n=parseFloat(t);if(isNaN(n))return;let r=parseInt(t);isNaN(r)||n!==r&&(e.style.maxHeight=`${Math.ceil(n)}px`)}));return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}}),[e])}(m);let g=t&&null!==n&&null!==m,{to:b="bottom",gap:w=0,offset:x=0,padding:E=0,inner:S}=function(e,t){var n,r,i;let s=y(null!=(n=null==e?void 0:e.gap)?n:"var(--anchor-gap, 0)",t),o=y(null!=(r=null==e?void 0:e.offset)?r:"var(--anchor-offset, 0)",t),a=y(null!=(i=null==e?void 0:e.padding)?i:"var(--anchor-padding, 0)",t);return{...e,gap:s,offset:o,padding:a}}(n,m),[T,P="center"]=b.split(" ");(0,u.s)((()=>{g&&p(0)}),[g]);let{refs:C,floatingStyles:j,context:M}=(0,r.we)({open:g,placement:"selection"===T?"center"===P?"bottom":`bottom-${P}`:"center"===P?`${T}`:`${T}-${P}`,strategy:"absolute",transform:!1,middleware:[(0,s.cY)({mainAxis:"selection"===T?0:w,crossAxis:x}),(0,s.BN)({padding:E}),"selection"!==T&&(0,s.UU)({padding:E}),"selection"===T&&S?(0,r.vW)({...S,padding:E,overflowRef:h,offset:f,minItemsVisible:4,referenceOverflowThreshold:E,onFallbackChange(e){var t,n;if(!e)return;let r=M.elements.floating;if(!r)return;let i=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,s=Math.min(4,r.childElementCount),o=0,a=0;for(let e of null!=(n=null==(t=M.elements.floating)?void 0:t.childNodes)?n:[])if(e instanceof HTMLElement){let t=e.offsetTop,n=t+e.clientHeight+i,l=r.scrollTop,u=l+r.clientHeight;if(!(t>=l&&n<=u)){a=Math.max(0,Math.min(n,u)-Math.max(t,l)),o=e.clientHeight;break}s--}s>=1&&p((e=>{let t=o*s-a+i;return e>=t?e:t}))}}):null,(0,s.Ej)({padding:E,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:i.ll}),[k=T,$=P]=M.placement.split("-");"selection"===T&&(k="selection");let A=(0,o.useMemo)((()=>({anchor:[k,$].filter(Boolean).join(" ")})),[k,$]),L=(0,r.Zx)(M,{overflowRef:h,onChange:p}),{getReferenceProps:D,getFloatingProps:O}=(0,r.bv)([L]),R=(0,l._)((e=>{v(e),C.setFloating(e)}));return o.createElement(d.Provider,{value:a},o.createElement(c.Provider,{value:{setFloating:R,setReference:C.setReference,styles:j,getReferenceProps:D,getFloatingProps:O,slot:A}},e))}function y(e,t,n=void 0){let r=(0,a.L)(),i=(0,l._)(((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let i=w(e,t);return[i,n=>{let s=b(e);{let o=s.map((e=>window.getComputedStyle(t).getPropertyValue(e)));r.requestAnimationFrame((function a(){r.nextFrame(a);let l=!1;for(let[e,n]of s.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(o[e]!==r){o[e]=r,l=!0;break}}if(!l)return;let u=w(e,t);i!==u&&(n(u),i=u)}))}return r.dispose}]}return[n,null]})),s=(0,o.useMemo)((()=>i(e,t)[0]),[e,t]),[c=s,d]=(0,o.useState)();return(0,u.s)((()=>{let[n,r]=i(e,t);if(d(n),r)return r(d)}),[e,t]),c}function b(e){let t=/var\((.*)\)/.exec(e);if(t){let e=t[1].indexOf(",");if(-1===e)return[t[1]];let n=t[1].slice(0,e).trim(),r=t[1].slice(e+1).trim();return r?[n,...b(r)]:[n]}return[]}function w(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}},9528(e,t,n){"use strict";n.d(t,{j:()=>o,u:()=>s});var r=n(6206);var i,s=((i=s||{})[i.None=1]="None",i[i.Focusable=2]="Focusable",i[i.Hidden=4]="Hidden",i);let o=(0,r.FX)((function(e,t){var n;let{features:i=1,...s}=e,o={ref:t,"aria-hidden":!(2&~i)||(null!=(n=s["aria-hidden"])?n:void 0),hidden:!(4&~i)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~i)&&!!(2&~i)&&{display:"none"}}};return(0,r.Ci)()({ourProps:o,theirProps:s,slot:{},defaultTag:"span",name:"Hidden"})}))},5953(e,t,n){"use strict";n.d(t,{q:()=>s});var r=n(6540);let i=(0,r.createContext)(void 0);function s(){return(0,r.useContext)(i)}},3149(e,t,n){"use strict";n.d(t,{$x:()=>u,El:()=>l,O_:()=>a,Uw:()=>o});var r=n(6540);let i=(0,r.createContext)(null);i.displayName="OpenClosedContext";var s,o=((s=o||{})[s.Open=1]="Open",s[s.Closed=2]="Closed",s[s.Closing=4]="Closing",s[s.Opening=8]="Opening",s);function a(){return(0,r.useContext)(i)}function l({value:e,children:t}){return r.createElement(i.Provider,{value:e},t)}function u({children:e}){return r.createElement(i.Provider,{value:null},e)}},6717(e,t,n){"use strict";n.d(t,{S:()=>s,a:()=>o});var r=n(6540);let i=(0,r.createContext)(!1);function s(){return(0,r.useContext)(i)}function o(e){return r.createElement(i.Provider,{value:e.force},e.children)}},9685(e,t,n){"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{l:()=>r})},8342(e,t,n){"use strict";n.d(t,{B:()=>i,X:()=>s});var r,i=((r=i||{})[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r);function s(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:-1===i&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}}
2,6421(e,t,n){"use strict";function r(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}n.d(t,{x:()=>r})},2599(e,t,n){"use strict";if(n.d(t,{e:()=>i}),!/^(4(05|44|88)|5(24|52|94)|7(1|98|99)|134)$/.test(n.j))var r=n(2924);function i(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add((()=>e.removeEventListener(n,r,i)))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return(0,r._)((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=i();return e(t),this.add((()=>t.dispose()))},add:t=>(e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}},9851(e,t,n){"use strict";n.d(t,{_:()=>s});var r=Object.defineProperty,i=(e,t,n)=>(((e,t,n)=>{t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let s=new class{constructor(){i(this,"current",this.detect()),i(this,"handoffState","pending"),i(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},4122(e,t,n){"use strict";if(n.d(t,{BD:()=>d,Bm:()=>v,CU:()=>S,Fh:()=>g,MZ:()=>m,Me:()=>f,Uo:()=>o,iq:()=>h,p9:()=>E,pW:()=>b,wl:()=>x}),/^(129|337|532|806)$/.test(n.j))var r=n(2599);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var i=n(5897);if(!/^(4(05|44|88)|5(24|25|52|94)|7(1|98|99)|[39]92|134)$/.test(n.j))var s=n(2211);let o=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(","),a=["[data-autofocus]"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var l,u,c,d=((c=d||{})[c.First=1]="First",c[c.Previous=2]="Previous",c[c.Next=4]="Next",c[c.Last=8]="Last",c[c.WrapAround=16]="WrapAround",c[c.NoScroll=32]="NoScroll",c[c.AutoFocus=64]="AutoFocus",c),f=((u=f||{})[u.Error=0]="Error",u[u.Overflow=1]="Overflow",u[u.Success=2]="Success",u[u.Underflow=3]="Underflow",u),p=((l=p||{})[l.Previous=-1]="Previous",l[l.Next=1]="Next",l);function h(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(o)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var m=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(m||{});function v(e,t=0){var n;return e!==(null==(n=(0,s.T)(e))?void 0:n.body)&&(0,i.Y)(t,{0:()=>e.matches(o),1(){let t=e;for(;null!==t;){if(t.matches(o))return!0;t=t.parentElement}return!1}})}function g(e){let t=(0,s.T)(e);(0,r.e)().nextFrame((()=>{t&&!v(t.activeElement,0)&&b(e)}))}var y=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(y||{});function b(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let w=["textarea","input"].join(",");function x(e,t=e=>e){return e.slice().sort(((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let s=r.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function E(e,t){return S(h(),t,{relativeTo:e})}function S(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?x(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(a)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e):h(e);i.length>0&&o.length>1&&(o=o.filter((e=>!i.some((t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))))),r=null!=r?r:s.activeElement;let l,u=(()=>
2{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(r))-1;if(4&t)return Math.max(0,o.indexOf(r))+1;if(8&t)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},f=0,p=o.length;do{if(f>=p||f+p<=0)return 0;let e=c+f;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}l=o[e],null==l||l.focus(d),f+=u}while(l!==s.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,w))&&n}(l)&&l.select(),2}},3660(e,t,n){"use strict";function r(e={},t=null,n=[]){for(let[r,o]of Object.entries(e))s(n,i(t,r),o);return n}function i(e,t){return e?e+"["+t+"]":t}function s(e,t,n){if(Array.isArray(n))for(let[r,o]of n.entries())s(e,i(t,r.toString()),o);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,`${n}`]):null==n?e.push([t,""]):r(n,t,e)}function o(e){var t,n;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r){for(let t of r.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(n=r.requestSubmit)||n.call(r)}}n.d(t,{h:()=>r,q:()=>o})},7338(e,t,n){"use strict";n.d(t,{D:()=>s});let r=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function i(e){var t,n;let i=null!=(t=e.innerText)?t:"",s=e.cloneNode(!0);if(!(s instanceof HTMLElement))return i;let o=!1;for(let e of s.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),o=!0;let a=o?null!=(n=s.innerText)?n:"":i;return r.test(a)&&(a=a.replace(r,"")),a}function s(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():i(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return i(e).trim()}},5897(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}n.d(t,{Y:()=>r})},2924(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}n.d(t,{_:()=>r})},2211(e,t,n){"use strict";if(n.d(t,{T:()=>i}),!/^(4(05|44|88)|5(24|52|94)|7(1|98|99)|134)$/.test(n.j))var r=n(9851);function i(e){return r._.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},2157(e,t,n){"use strict";function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{Fr:()=>i,un:()=>r})},6206(e,t,n){"use strict";n.d(t,{Ac:()=>l,Ci:()=>c,FX:()=>m,mK:()=>u,oE:()=>v,v6:()=>h});var r=n(6540);if(!/^(4(05|44|88)|5(24|52|94)|7(1|98|99)|134)$/.test(n.j))var i=n(6421);if(!/^(4(05|44|88)|5(24|52|94)|7(1|98|99)|134)$/.test(n.j))var s=n(5897);var o,a,l=((a=l||{})[a.None=0]="None",a[a.RenderStrategy=1]="RenderStrategy",a[a.Static=2]="Static",a),u=((o=u||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function c(){let e=function(){let e=(0,r.useRef)([]),t=(0,r.useCallback)((t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)}),[]);return(...n)=>{if(!n.every((e=>null==e)))return e.current=n,t}}();return(0,r.useCallback)((t=>function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a,mergeRefs:l}){l=null!=l?l:f;let u=p(t,e);if(o)return d(u,n,r,a,l);let c=null!=i?i:0;if(2&c){let{static:e=!1,...t}=u;if(e)return d(t,n,r,a,l)}if(1&c){let{unmount:e=!0,...t}=u;return(0,s.Y)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,r,a,l)})}return d(u,n,r,a,l)}({mergeRefs:e,...t})),[e])}function d(e,t={},n,s,o){let{as:a=n,children:l,refName:u="ref",...c}=g(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},f="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let h={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)));if(e){h["data-headlessui-state"]=n.join(" ");for(let e of n)h[`data-${e}`]=""}}if(a===r.Fragment&&(Object.keys(v(c)).length>
20||Object.keys(v(h)).length>0)){if((0,r.isValidElement)(f)&&!(Array.isArray(f)&&f.length>1)){let e=f.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>(0,i.x)(t(...e),c.className):(0,i.x)(t,c.className),s=n?{className:n}:{},a=p(f.props,v(g(c,["ref"])));for(let e in h)e in a&&delete h[e];return(0,r.cloneElement)(f,Object.assign({},a,h,d,{ref:o(y(f),d.ref)},s))}if(Object.keys(v(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${s} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(v(c)).concat(Object.keys(v(h))).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"))}return(0,r.createElement)(a,Object.assign({},g(c,["ref"]),a!==r.Fragment&&d,a!==r.Fragment&&h),f)}function f(...e){return e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function p(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let e in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(n[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function h(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let e in n)Object.assign(t,{[e](...t){let r=n[e];for(let e of r)null==e||e(...t)}});return t}function m(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function v(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function g(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function y(e){return r.version.split(".")[0]>="19"?e.props.ref:e.ref}},1321(e,t,n){"use strict";function r(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...i){let s=t[e].call(n,...i);s&&(n=s,r.forEach((e=>e())))}}}n.d(t,{y:()=>r})},1456(e,t,n){"use strict";var r=n(6540);const i=204==n.j?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3"}))})):null,s=204==n.j?i:null;n.d(t,["A",0,s])},3211(e,t,n){"use strict";var r=n(6540);const i=/^(134|789)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))})):null,s=/^(134|789)$/.test(n.j)?i:null;n.d(t,["A",0,s])},4278(e,t,n){"use strict";var r=n(6540);const i=204==n.j?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}
2)):null,s=204==n.j?i:null;n.d(t,["A",0,s])},5813(e,t,n){"use strict";var r=n(6540);const i=532==n.j?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"}))})):null,s=532==n.j?i:null;n.d(t,["A",0,s])},2933(e,t,n){"use strict";var r=n(6540);const i=438==n.j?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))})):null,s=438==n.j?i:null;n.d(t,["A",0,s])},5410(e,t,n){"use strict";var r=n(6540);const i=/^(129|204|299|337|532|806)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))})):null,s=/^(129|204|299|337|532|806)$/.test(n.j)?i:null;n.d(t,["A",0,s])},3322(e,t,n){"use strict";var r=n(6540);const i=/^(13|20)4$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))})):null,s=/^(13|20)4$/.test(n.j)?i:null;n.d(t,["A",0,s])},4576(e,t,n){"use strict";var r=n(6540);const i=/^(5(24|25|32|52|94)|7(1|98|99)|[39]92|129|299|337|405|444|806)$/.test(n.j)?null:r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))})),s=/^(5(24|25|32|52|94)|7(1|98|99)|[39]92|129|299|337|405|444|806)$/.test(n.j)?null:i;n.d(t,["A",0,s])},9026(e,t,n){"use strict";var r=n(6540);const i=482==n.j?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M7.28 7.72a.75.75 0 0 1 0 1.06l-2.47 2.47H21a.75.75 0 0 1 0 1.5H4.81l2.47 2.47a.75.75 0 1 1-1.06 1.06l-3.75-3.75a.75.75 0 0 1 0-1.06l3.75-3.75a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))})):null,s=482==n.j?i:null;n.d(t,["A",0,s])},8863(e,t,n){"use strict";var r=n(6540);const i=/^((28|46|52)5|([379]9|53)2|129|17|337|488|781|806)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
2currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M16.72 7.72a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 0 1 0 1.06l-3.75 3.75a.75.75 0 1 1-1.06-1.06l2.47-2.47H3a.75.75 0 0 1 0-1.5h16.19l-2.47-2.47a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))})):null,s=/^((28|46|52)5|([379]9|53)2|129|17|337|488|781|806)$/.test(n.j)?i:null;n.d(t,["A",0,s])},328(e,t,n){"use strict";var r=n(6540);const i=/^((39|48|53|99)2|129|299|337|525|806)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z",clipRule:"evenodd"}))})):null,s=/^((39|48|53|99)2|129|299|337|525|806)$/.test(n.j)?i:null;n.d(t,["A",0,s])},497(e,t,n){"use strict";var r=n(6540);const i=/^(17|285|691)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z",clipRule:"evenodd"}))})):null,s=/^(17|285|691)$/.test(n.j)?i:null;n.d(t,["A",0,s])},8915(e,t,n){"use strict";var r=n(6540);const i=/^7(1|81|89)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z",clipRule:"evenodd"}))})):null,s=/^7(1|81|89)$/.test(n.j)?i:null;n.d(t,["A",0,s])},1409(e,t,n){"use strict";var r=n(6540);const i=482==n.j?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))})):null,s=482==n.j?i:null;n.d(t,["A",0,s])},1964(e,t,n){"use strict";var r=n(6540);const i=/^((39|53|99)2|204|337|444|525|781|806)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))})):null,s=/^((39|53|99)2|204|337|444|525|781|806)$/.test(n.j)?i:null;n.d(t,["A",0,s])},8186(e,t,n){"use strict";var r=n(6540);const i=482==n.j?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z"}))}
2)):null,s=482==n.j?i:null;n.d(t,["A",0,s])},9252(e,t,n){"use strict";var r=n(6540);const i=/^((28|46|52)5|([379]9|53)2|204|337|444|781|806)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))})):null,s=/^((28|46|52)5|([379]9|53)2|204|337|444|781|806)$/.test(n.j)?i:null;n.d(t,["A",0,s])},7120(e,t,n){"use strict";var r=n(6540);const i=299==n.j?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M1.5 7.125c0-1.036.84-1.875 1.875-1.875h6c1.036 0 1.875.84 1.875 1.875v3.75c0 1.036-.84 1.875-1.875 1.875h-6A1.875 1.875 0 0 1 1.5 10.875v-3.75Zm12 1.5c0-1.036.84-1.875 1.875-1.875h5.25c1.035 0 1.875.84 1.875 1.875v8.25c0 1.035-.84 1.875-1.875 1.875h-5.25a1.875 1.875 0 0 1-1.875-1.875v-8.25ZM3 16.125c0-1.036.84-1.875 1.875-1.875h5.25c1.036 0 1.875.84 1.875 1.875v2.25c0 1.035-.84 1.875-1.875 1.875h-5.25A1.875 1.875 0 0 1 3 18.375v-2.25Z",clipRule:"evenodd"}))})):null,s=299==n.j?i:null;n.d(t,["A",0,s])},3547(e,t,n){"use strict";var r=n(6540);const i=299==n.j?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.
2036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z",clipRule:"evenodd"}))})):null,s=299==n.j?i:null;n.d(t,["A",0,s])},2496(e,t,n){"use strict";var r=n(6540);const i=/^((39|53|99)2|129|337|525|691|806)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z",clipRule:"evenodd"}))})):null,s=/^((39|53|99)2|129|337|525|691|806)$/.test(n.j)?i:null;n.d(t,["A",0,s])},7770(e,t,n){"use strict";var r=n(6540);const i=/^(337|806)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M8.25 6.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM15.75 9.75a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM2.25 9.75a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM6.31 15.117A6.745 6.745 0 0 1 12 12a6.745 6.745 0 0 1 6.709 7.498.75.75 0 0 1-.372.568A12.696 12.696 0 0 1 12 21.75c-2.305 0-4.47-.612-6.337-1.
2684a.75.75 0 0 1-.372-.568 6.787 6.787 0 0 1 1.019-4.38Z",clipRule:"evenodd"}),r.createElement("path",{d:"M5.082 14.254a8.287 8.287 0 0 0-1.308 5.135 9.687 9.687 0 0 1-1.764-.44l-.115-.04a.563.563 0 0 1-.373-.487l-.01-.121a3.75 3.75 0 0 1 3.57-4.047ZM20.226 19.389a8.287 8.287 0 0 0-1.308-5.135 3.75 3.75 0 0 1 3.57 4.047l-.01.121a.563.563 0 0 1-.373.486l-.115.04c-.567.2-1.156.349-1.764.441Z"}))})):null,s=/^(337|806)$/.test(n.j)?i:null;n.d(t,["A",0,s])},395(e,t,n){"use strict";var r=n(6540);const i=/^(129|299|337|806)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z",clipRule:"evenodd"}))})):null,s=/^(129|299|337|806)$/.test(n.j)?i:null;n.d(t,["A",0,s])},6392(e,t,n){"use strict";var r=n(6540);const i=/^(337|806)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M4.5 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM14.25 8.625a3.375 3.375 0 1 1 6.75 0 3.375 3.375 0 0 1-6.75 0ZM1.5 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM17.25 19.128l-.001.144a2.25 2.25 0 0 1-.233.96 10.088 10.088 0 0 0 5.06-1.01.75.75 0 0 0 .42-.643 4.875 4.875 0 0 0-6.957-4.611 8.586 8.586 0 0 1 1.71 5.157v.003Z"}))})):null,s=/^(337|806)$/.test(n.j)?i:null;n.d(t,["A",0,s])},9060(e,t,n){"use strict";var r=n(6540);const i=204==n.j?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z",clipRule:"evenodd"}))})):null,s=204==n.j?i:null;n.d(t,["A",0,s])},8981(e,t,n){"use strict";var r=n(6540);const i=/^(285|465|781|792)$/.test(n.j)?r.forwardRef((function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))})):null,s=/^(285|465|781|792)$/.test(n.j)?i:null;n.d(t,["A",0,s])},6133(e,t,n){"use strict";if(n.d(t,{o:()=>a}),/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var r=n(3424);if(/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var i=n(8374);if(/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var s=n(9461);var o=n(6540);function a(e={}){let{autoFocus:t=!1,isTextInput:n,within:a}=e,l=(0,o.useRef)({isFocused:!1,isFocusVisible:t||(0,i.pP)()}),[u,c]=(0,o.useState)(!1),[d,f]=(0,o.useState)((()=>l.current.isFocused&&l.current.isFocusVisible)),p=(0,o.useCallback)((()=>f(l.current.isFocused&&l.current.isFocusVisible)),[]),h=(0,o.useCallback)((e=>{l.current.isFocused=e,c(e),p()}),[p]);(0,i.K7)((e=>{l.current.isFocusVisible=e,p()}),[],{isTextInput:n});let{focusProps:m}=(0,r.i)({isDisabled:a,onFocusChange:h}),{focusWithinProps:v}=(0,s.R)({isDisabled:!a,onFocusWithinChange:h});return{isFocused:u,isFocusVisible:d,focusProps:a?v:m}}},3424(e,t,n){"use strict";if(n.d(t,{i:()=>o}),/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var r=n(2894);var i=n(6540);if(/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var s=n(4836);function o(e){let{isDisabled:t,onFocus:n,onBlur:o,onFocusChange:a}=e;const l=(0,i.useCallback)((e=>{if(e.target===e.currentTarget)return o&&o(e),a&&a(!1),!0}),[o,a]),u=(0,r.y)(l),c=(0,i.useCallback)((e=>{const t=(0,s.T)(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),a&&a(!0),u(e))}),[a,n,u]);return{focusProps:{onFocus:!t&&(n||a||o)?c:void 0,onBlur:t||!o&&!a?void 0:l}}}},8374(e,t,n){"use strict";n.d(t,{pP:()=>w,K7:()=>E});var r=n(6821);var i=n(4836),s=n(6540);let o=null,a=new Set,l=new Map,u=!1,c=!1;const d={Tab:!0,Escape:!0};function f(e,t){for(let n of a)n(e,t)}function p(e){u=!0,function(e){return!(e.metaKey||!(0,r.cX)()&&e.altKey||e.ctrlKey||"Control"
2===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(o="keyboard",f("keyboard",e))}function h(e){o="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(u=!0,f("pointer",e))}function m(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||((0,r.m0)()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(u=!0,o="virtual")}function v(e){e.target!==window&&e.target!==document&&(u||c||(o="virtual",f("virtual",e)),u=!1,c=!1)}function g(){u=!1,c=!0}function y(e){if("undefined"==typeof window||l.get((0,i.m)(e)))return;const t=(0,i.m)(e),n=(0,i.T)(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){u=!0,r.apply(this,arguments)},n.addEventListener("keydown",p,!0),n.addEventListener("keyup",p,!0),n.addEventListener("click",m,!0),t.addEventListener("focus",v,!0),t.addEventListener("blur",g,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",h,!0),n.addEventListener("pointermove",h,!0),n.addEventListener("pointerup",h,!0)):(n.addEventListener("mousedown",h,!0),n.addEventListener("mousemove",h,!0),n.addEventListener("mouseup",h,!0)),t.addEventListener("beforeunload",(()=>{b(e)}),{once:!0}),l.set(t,{focus:r})}const b=(e,t)=>{const n=(0,i.m)(e),r=(0,i.T)(e);t&&r.removeEventListener("DOMContentLoaded",t),l.has(n)&&(n.HTMLElement.prototype.focus=l.get(n).focus,r.removeEventListener("keydown",p,!0),r.removeEventListener("keyup",p,!0),r.removeEventListener("click",m,!0),n.removeEventListener("focus",v,!0),n.removeEventListener("blur",g,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",h,!0),r.removeEventListener("pointermove",h,!0),r.removeEventListener("pointerup",h,!0)):(r.removeEventListener("mousedown",h,!0),r.removeEventListener("mousemove",h,!0),r.removeEventListener("mouseup",h,!0)),l.delete(n))};function w(){return"pointer"!==o}"undefined"!=typeof document&&function(e){const t=(0,i.T)(e);let n;"loading"!==t.readyState?y(e):(n=()=>{y(e)},t.addEventListener("DOMContentLoaded",n))}();const x=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function E(e,t,n){y(),(0,s.useEffect)((()=>{let t=(t,r)=>{(function(e,t,n){var r;const s="undefined"!=typeof window?(0,i.m)(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?(0,i.m)(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?(0,i.m)(null==n?void 0:n.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?(0,i.m)(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof s&&!x.has(null==n||null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof o||(null==n?void 0:n.target)instanceof a&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof l&&!d[n.key])})(!!(null==n?void 0:n.isTextInput),t,r)&&e(w())};return a.add(t),()=>{a.delete(t)}}),t)}},9461(e,t,n){"use strict";if(n.d(t,{R:()=>s}),/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var r=n(2894);var i=n(6540);function s(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:s,onFocusWithinChange:o}=e,a=(0,i.useRef)({isFocusWithin:!1}),l=(0,i.useCallback)((e=>{a.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(a.current.isFocusWithin=!1,n&&n(e),o&&o(!1))}),[n,o,a]),u=(0,r.y)(l),c=(0,i.useCallback)((e=>{a.current.isFocusWithin||document.activeElement!==e.target||(s&&s(e),o&&o(!0),a.current.isFocusWithin=!0,u(e))}),[s,o,u]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:l}}}},6638(e,t,n){"use strict";n.d(t,{M:()=>u});var r=n(6540);let i=!1,s=0;function o(){i=!0,setTimeout((()=>{i=!1}),50)}function a(e){"touch"===e.pointerType&&o()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",a):document.addEventListener("touchend",o),s++,()=>{s--,s>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",a):document.removeEventListener("touchend",o))}}function u(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:s,isDisabled:o}=e,[a,u]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(l,[]);let{hoverProps:d,triggerHoverEnd:f}=(0,r.useMemo)((()=>{let e=(e,r)=>{if(c.pointerType=r,o||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let i=e.currentTarget;c.target=i,t&&t({type:"hoverstart",target:i,pointerType:r}),n&&n(!0),u(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;s&&s({type:"hoverend",target:r,pointerType:t}),n&&n(!1),u(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{i&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(a.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||i||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:a,triggerHoverEnd:r}}),[t,n,s,o,c]);return(0,r.useEffect)((()=>{o&&f({currentTarget:c.target},c.pointerType)}),[o]),{hoverProps:d,isHovered:a}}},2894(e,t,n){"use strict";n.d(t,{y:()=>a});var r=n(6540);if(/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var i=n(2334);if(/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var s=n(7049);class o{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function a(e){let t=(0,r.useRef)({isFocused:!1,observer:null});(0,i.N)((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let n=(0,s.J)((t=>{null==e||e(t)}));return(0,r.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target,i=e=>{t.current.isFocused=!1,r.disabled&&n(new o("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver((()=>
2{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}})),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}}),[n])}},4836(e,t,n){"use strict";const r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document};n.d(t,["T",0,r,"m",0,e=>{if(e&&"window"in e&&e.window===e)return e;return r(e).defaultView||window}])},6821(e,t,n){"use strict";function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}function i(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function s(e){let t=null;return()=>(null==t&&(t=e()),t)}const o=s((function(){return i(/^Mac/i)})),a=s((function(){return i(/^iPhone/i)})),l=s((function(){return i(/^iPad/i)||o()&&navigator.maxTouchPoints>1})),u=s((function(){return a()||l()})),c=(s((function(){return o()||u()})),s((function(){return r(/AppleWebKit/i)&&!c()})),s((function(){return r(/Chrome/i)}))),d=s((function(){return r(/Android/i)}));s((function(){return r(/Firefox/i)}));n.d(t,["cX",0,o,"m0",0,d])},7049(e,t,n){"use strict";if(n.d(t,{J:()=>s}),/^((39|53|99)2|129|204|299|337|525|806)$/.test(n.j))var r=n(2334);var i=n(6540);function s(e){const t=(0,i.useRef)(null);return(0,r.N)((()=>{t.current=e}),[e]),(0,i.useCallback)(((...e)=>{const n=t.current;return null==n?void 0:n(...e)}),[])}},2334(e,t,n){"use strict";var r=n(6540);const i="undefined"!=typeof document?r.useLayoutEffect:()=>{};n.d(t,["N",0,i])},622(e,t,n){"use strict";function r(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}n.d(t,{F:()=>r})},2695(e,t,n){"use strict";n.d(t,{q:()=>i});let r=/^(78[19]|17|482)$/.test(n.j)?{}:null;function i(){return r}},6465(e,t,n){"use strict";if(/^(78[19]|17|482)$/.test(n.j))var r=n(3875);if(/^(78[19]|17|482)$/.test(n.j))var i=n(6514);if(/^(78[19]|17|482)$/.test(n.j))var s=n(5961);if(/^(78[19]|17|482)$/.test(n.j))var o=n(175);if(/^(78[19]|17|482)$/.test(n.j))var a=n(9220);if(/^(78[19]|17|482)$/.test(n.j))var l=n(622);if(/^(78[19]|17|482)$/.test(n.j))var u=n(9021);const c=/^(78[19]|17|482)$/.test(n.j)?{am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}:null,d=/^(78[19]|17|482)$/.test(n.j)?{G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return u.C.y(e,t)},Y:function(e,t,n,r){const i=(0,a.h)(e,r),s=i>0?i:1-i;if("YY"===t){const e=s%100;return(0,l.F)(e,2)}return"Yo"===t?n.ordinalNumber(s,{unit:"year"}):(0,l.F)(s,t.length)},R:function(e,t){const n=(0,s.p)(e);return(0,l.F)(n,t.length)},u:function(e,t){const n=e.getFullYear();return(0,l.F)(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,l.F)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,l.F)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return u.C.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,l.F)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=(0,o.N)(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):(0,l.F)(i,t.length)},I:function(e,t,n){const r=(0,i.s)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,l.F)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):u.C.d(e,t)},D:function(e,t,n){const i=(0,r.F)(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):(0,l.F)(i,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),s=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return(0,l.F)(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),s=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return(0,l.F)(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return(0,l.F)(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(i=12===r?c.noon:0===r?c.midnight:r/12>
2=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(i=r>=17?c.evening:r>=12?c.afternoon:r>=4?c.morning:c.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return u.C.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):u.C.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.F)(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.F)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):u.C.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):u.C.s(e,t)},S:function(e,t){return u.C.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return p(r);case"XXXX":case"XX":return h(r);default:return h(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return p(r);case"xxxx":case"xx":return h(r);default:return h(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+f(r,":");default:return"GMT"+h(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+f(r,":");default:return"GMT"+h(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return(0,l.F)(r,t.length)},T:function(e,t,n){const r=e.getTime();return(0,l.F)(r,t.length)}}:null;function f(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),s=r%60;return 0===s?n+String(i):n+String(i)+t+(0,l.F)(s,2)}function p(e,t){if(e%60==0){return(e>0?"-":"+")+(0,l.F)(Math.abs(e)/60,2)}return h(e,t)}function h(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+(0,l.F)(Math.trunc(r/60),2)+t+(0,l.F)(r%60,2)}n.d(t,["_",0,d])},9021(e,t,n){"use strict";if(/^(78[19]|17|482)$/.test(n.j))var r=n(622);const i=/^(78[19]|17|482)$/.test(n.j)?{y(e,t){const n=e.getFullYear(),i=n>0?n:1-n;return(0,r.F)("yy"===t?i%100:i,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):(0,r.F)(n+1,2)},d:(e,t)=>(0,r.F)(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.F)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.F)(e.getHours(),t.length),m:(e,t)=>(0,r.F)(e.getMinutes(),t.length),s:(e,t)=>(0,r.F)(e.getSeconds(),t.length),S(e,t){const n=t.length,i=e.getMilliseconds(),s=Math.trunc(i*Math.pow(10,n-3));return(0,r.F)(s,t.length)}}:null;n.d(t,["C",0,i])},6847(e,t,n){"use strict";const r=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},i=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},s=/^(78[19]|17|482)$/.test(n.j)?{p:i,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],s=n[1],o=n[2];if(!o)return r(e,t);let a;switch(s){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",r(s,t)).replace("{{time}}",i(o,t))}}:null;n.d(t,["m",0,s])},2596(e,t,n){"use strict";if(n.d(t,{G:()=>i}),/^(78[19]|17|482)$/.test(n.j))var r=n(2642);function i(e){const t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}},4611(e,t,n){"use strict";n.d(t,{Ss:()=>l,ef:()=>o,xM:()=>a});const r=/^D+$/,i=/^Y+$/,s=/^(78[19]|17|482)$/.test(n.j)?["D","DD","YY","YYYY"]:null;function o(e){return r.test(e)}function a(e){return i.test(e)}function l(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),s.includes(e))throw new RangeError(r)}}
2,2940(e,t,n){"use strict";Math.pow(10,8);n.d(t,["my",0,6048e5,"s0",0,36e5,"w4",0,864e5])},5840(e,t,n){"use strict";function r(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}n.d(t,{w:()=>r})},514(e,t,n){"use strict";if(n.d(t,{m:()=>o}),/^(78[19]|17|482)$/.test(n.j))var r=n(2940);if(/^(78[19]|17|482)$/.test(n.j))var i=n(1730);if(/^(78[19]|17|482)$/.test(n.j))var s=n(2596);function o(e,t){const n=(0,i.o)(e),o=(0,i.o)(t),a=+n-(0,s.G)(n),l=+o-(0,s.G)(o);return Math.round((a-l)/r.w4)}},876(e,t,n){"use strict";if(n.d(t,{GP:()=>m}),/^(78[19]|17|482)$/.test(n.j))var r=n(7348);if(/^(78[19]|17|482)$/.test(n.j))var i=n(2695);if(/^(78[19]|17|482)$/.test(n.j))var s=n(6465);if(/^(78[19]|17|482)$/.test(n.j))var o=n(6847);if(/^(78[19]|17|482)$/.test(n.j))var a=n(4611);if(/^(78[19]|17|482)$/.test(n.j))var l=n(1649);if(/^(78[19]|17|482)$/.test(n.j))var u=n(2642);const c=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,d=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,f=/^'([^]*?)'?$/,p=/''/g,h=/[a-zA-Z]/;function m(e,t,n){const f=(0,i.q)(),p=n?.locale??f.locale??r.c,m=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??f.firstWeekContainsDate??f.locale?.options?.firstWeekContainsDate??1,g=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??f.weekStartsOn??f.locale?.options?.weekStartsOn??0,y=(0,u.a)(e);if(!(0,l.f)(y))throw new RangeError("Invalid time value");let b=t.match(d).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,o.m[t])(e,p.formatLong)}return e})).join("").match(c).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:v(e)};if(s._[t])return{isToken:!0,value:e};if(t.match(h))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));p.localize.preprocessor&&(b=p.localize.preprocessor(y,b));const w={firstWeekContainsDate:m,weekStartsOn:g,locale:p};return b.map((r=>{if(!r.isToken)return r.value;const i=r.value;(!n?.useAdditionalWeekYearTokens&&(0,a.xM)(i)||!n?.useAdditionalDayOfYearTokens&&(0,a.ef)(i))&&(0,a.Ss)(i,t,String(e));return(0,s._[i[0]])(y,i,p.localize,w)})).join("")}function v(e){const t=e.match(f);return t?t[1].replace(p,"'"):e}},3875(e,t,n){"use strict";if(n.d(t,{F:()=>o}),/^(78[19]|17|482)$/.test(n.j))var r=n(514);if(/^(78[19]|17|482)$/.test(n.j))var i=n(6823);if(/^(78[19]|17|482)$/.test(n.j))var s=n(2642);function o(e){const t=(0,s.a)(e);return(0,r.m)(t,(0,i.D)(t))+1}},6514(e,t,n){"use strict";if(n.d(t,{s:()=>a}),/^(78[19]|17|482)$/.test(n.j))var r=n(2940);if(/^(78[19]|17|482)$/.test(n.j))var i=n(3787);if(/^(78[19]|17|482)$/.test(n.j))var s=n(7848);if(/^(78[19]|17|482)$/.test(n.j))var o=n(2642);function a(e){const t=(0,o.a)(e),n=+(0,i.b)(t)-+(0,s.w)(t);return Math.round(n/r.my)+1}},5961(e,t,n){"use strict";if(n.d(t,{p:()=>o}),/^(78[19]|17|482)$/.test(n.j))var r=n(5840);if(/^(78[19]|17|482)$/.test(n.j))var i=n(3787);if(/^(78[19]|17|482)$/.test(n.j))var s=n(2642);function o(e){const t=(0,s.a)(e),n=t.getFullYear(),o=(0,r.w)(e,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);const a=(0,i.b)(o),l=(0,r.w)(e,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);const u=(0,i.b)(l);return t.getTime()>=a.getTime()?n+1:t.getTime()>=u.getTime()?n:n-1}},175(e,t,n){"use strict";if(n.d(t,{N:()=>a}),/^(78[19]|17|482)$/.test(n.j))var r=n(2940);if(/^(78[19]|17|482)$/.test(n.j))var i=n(2528);if(/^(78[19]|17|482)$/.test(n.j))var s=n(7944);if(/^(78[19]|17|482)$/.test(n.j))var o=n(2642);function a(e,t){const n=(0,o.a)(e),a=+(0,i.k)(n,t)-+(0,s.b)(n,t);return Math.round(a/r.my)+1}},9220(e,t,n){"use strict";if(n.d(t,{h:()=>a}),/^(78[19]|17|482)$/.test(n.j))var r=n(5840);if(/^(78[19]|17|482)$/.test(n.j))var i=n(2528);if(/^(78[19]|17|482)$/.test(n.j))var s=n(2642);if(/^(78[19]|17|482)$/.test(n.j))var o=n(2695);function a(e,t){const n=(0,s.a)(e),a=n.getFullYear(),l=(0,o.q)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,c=(0,r.w)(e,0);c.setFullYear(a+1,0,u),c.setHours(0,0,0,0);const d=(0,i.k)(c,t),f=(0,r.w)(e,0);f.setFullYear(a,0,u),f.setHours(0,0,0,0);const p=(0,i.k)(f,t);return n.getTime()>=d.getTime()?a+1:n.getTime()>=p.getTime()?a:a-1}},2833(e,t,n){"use strict";function r(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}n.d(t,{$:()=>r})},1649(e,t,n){"use strict";if(n.d(t,{f:()=>s}),/^(78[19]|17|482)$/.test(n.j))var r=n(2833);if(/^(78[19]|17|482)$/.test(n.j))var i=n(2642);function s(e){if(!(0,r.$)(e)&&"number"!=typeof e)return!1;const t=(0,i.a)(e);return!isNaN(Number(t))}},7348(e,t,n){"use strict";if(/^(78[19]|17|482)$/.test(n.j))var r=n(1582);if(/^(78[19]|17|482)$/.test(n.j))var i=n(8923);
2if(/^(78[19]|17|482)$/.test(n.j))var s=n(3475);if(/^(78[19]|17|482)$/.test(n.j))var o=n(9951);if(/^(78[19]|17|482)$/.test(n.j))var a=n(8448);const l=/^(78[19]|17|482)$/.test(n.j)?{code:"en-US",formatDistance:r.B,formatLong:i.s,formatRelative:s.o,localize:o.k,match:a.Y,options:{weekStartsOn:0,firstWeekContainsDate:1}}:null;n.d(t,["c",0,l])},1582(e,t,n){"use strict";const r=/^(78[19]|17|482)$/.test(n.j)?{lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}}:null;n.d(t,["B",0,(e,t,n)=>{let i;const s=r[e];return i="string"==typeof s?s:1===t?s.one:s.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i}])},8923(e,t,n){"use strict";function r(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{s:()=>i});const i={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},3475(e,t,n){"use strict";const r=/^(78[19]|17|482)$/.test(n.j)?{lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"}:null;n.d(t,["o",0,(e,t,n,i)=>r[e]])},9951(e,t,n){"use strict";function r(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,i=n?.width?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{const t=e.defaultWidth,i=n?.width?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{k:()=>i});const i={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:r({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:r({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:r({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:r({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},8448(e,t,n){"use strict";function r(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(i);if(!s)return null;const o=s[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(a,(e=>e.test(o))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(a,(e=>e.test(o)));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;return{value:u,rest:t.slice(o.length)}}}n.d(t,{Y:()=>i});const i={ordinalNumber:(s={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const n=e.match(s.matchPattern);if(!n)return null;const r=n[0],i=e.match(s.parsePattern);if(!i)return null;let o=s.valueCallback?s.valueCallback(i[0]):i[0];return o=t.valueCallback?t.valueCallback(o):o,{value:o,rest:e.slice(r.length)}}),era:r({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:r({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:r({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:r({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:r({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};var s},4929(e,t,n){"use strict";if(n.d(t,{H:()=>i}),/^(78[19]|17)$/.test(n.j))var r=n(2940);function i(e,t){const n=t?.additionalDigits??2,i=function(e){const t={},n=e.split(s.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],s.timeZoneDelimiter.test(t.date)&&(t.date=e.split(s.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=s.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let p;if(i.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};
2const i=r[1]?parseInt(r[1]):null,s=r[2]?parseInt(r[2]):null;return{year:null===s?i:100*s,restDateString:e.slice((r[1]||r[2]).length)}}(i.date,n);p=function(e,t){if(null===t)return new Date(NaN);const n=e.match(o);if(!n)return new Date(NaN);const r=!!n[4],i=u(n[1]),s=u(n[2])-1,a=u(n[3]),l=u(n[4]),c=u(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,l,c)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const i=r.getUTCDay()||7,s=7*(t-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+s),r}(t,l,c):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(d[t]||(f(e)?29:28))}(t,s,a)&&function(e,t){return t>=1&&t<=(f(e)?366:365)}(t,i)?(e.setUTCFullYear(t,s,Math.max(i,a)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!p||isNaN(p.getTime()))return new Date(NaN);const h=p.getTime();let m,v=0;if(i.time&&(v=function(e){const t=e.match(a);if(!t)return NaN;const n=c(t[1]),i=c(t[2]),s=c(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,i,s))return NaN;return n*r.s0+6e4*i+1e3*s}(i.time),isNaN(v)))return new Date(NaN);if(!i.timezone){const e=new Date(h+v),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return m=function(e){if("Z"===e)return 0;const t=e.match(l);if(!t)return 0;const n="+"===t[1]?-1:1,i=parseInt(t[2]),s=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,s))return NaN;return n*(i*r.s0+6e4*s)}(i.timezone),isNaN(m)?new Date(NaN):new Date(h+v+m)}const s=/^(78[19]|17)$/.test(n.j)?{dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/}:null,o=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,a=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,l=/^([+-])(\d{2})(?::?(\d{2}))?$/;function u(e){return e?parseInt(e):1}function c(e){return e&&parseFloat(e.replace(",","."))||0}const d=/^(78[19]|17)$/.test(n.j)?[31,null,31,30,31,30,31,31,30,31,30,31]:null;function f(e){return e%400==0||e%4==0&&e%100!=0}}
2,1730(e,t,n){"use strict";if(n.d(t,{o:()=>i}),/^(78[19]|17|482)$/.test(n.j))var r=n(2642);function i(e){const t=(0,r.a)(e);return t.setHours(0,0,0,0),t}},3787(e,t,n){"use strict";if(n.d(t,{b:()=>i}),/^(78[19]|17|482)$/.test(n.j))var r=n(2528);function i(e){return(0,r.k)(e,{weekStartsOn:1})}},7848(e,t,n){"use strict";if(n.d(t,{w:()=>o}),/^(78[19]|17|482)$/.test(n.j))var r=n(5961);if(/^(78[19]|17|482)$/.test(n.j))var i=n(3787);if(/^(78[19]|17|482)$/.test(n.j))var s=n(5840);function o(e){const t=(0,r.p)(e),n=(0,s.w)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,i.b)(n)}},2528(e,t,n){"use strict";if(n.d(t,{k:()=>s}),/^(78[19]|17|482)$/.test(n.j))var r=n(2642);if(/^(78[19]|17|482)$/.test(n.j))var i=n(2695);function s(e,t){const n=(0,i.q)(),s=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=(0,r.a)(e),a=o.getDay(),l=(a<s?7:0)+a-s;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}},7944(e,t,n){"use strict";if(n.d(t,{b:()=>a}),/^(78[19]|17|482)$/.test(n.j))var r=n(5840);if(/^(78[19]|17|482)$/.test(n.j))var i=n(9220);if(/^(78[19]|17|482)$/.test(n.j))var s=n(2528);if(/^(78[19]|17|482)$/.test(n.j))var o=n(2695);function a(e,t){const n=(0,o.q)(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,l=(0,i.h)(e,t),u=(0,r.w)(e,0);u.setFullYear(l,0,a),u.setHours(0,0,0,0);return(0,s.k)(u,t)}},6823(e,t,n){"use strict";if(n.d(t,{D:()=>s}),/^(78[19]|17|482)$/.test(n.j))var r=n(2642);if(/^(78[19]|17|482)$/.test(n.j))var i=n(5840);function s(e){const t=(0,r.a)(e),n=(0,i.w)(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},2642(e,t,n){"use strict";function r(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}n.d(t,{a:()=>r})},4451(e,t,n){"use strict";if(n.d(t,{z:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(4192);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(5649);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(3896);function o(e,t,n){const o=(0,i.S)(e)?e:(0,r.OQ)(e);return o.start((0,s.f)("",o,t,n)),o.animation}},2350(e,t,n){"use strict";n.d(t,{m:()=>b});var r=n(200),i=n(2444),s=n(8347);function o(e,t){e.timeline=t,e.onfinish=null}var a=n(9330),l=n(9121),u=n(7200),c=n(8445),d=n(7001),f=n(5062),p=n(3757),h=n(8544);const m=new Set(["opacity","clipPath","filter","transform"]);var v=n(8707);const g=(0,n(4346).p)((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));const y={anticipate:u.b,backInOut:c.ZZ,circInOut:d.tn};class b extends p.i{constructor(e){super(e);const{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new f.K(i,((e,t)=>this.onKeyframesResolved(e,t)),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:r,ease:i,type:u,motionValue:c,name:d,startTime:f}=this.options;if(!c.owner||!c.owner.current)return!1;var p;if("string"==typeof i&&(0,l.n)()&&i in y&&(i=y[i]),p=this.options,(0,s.W)(p.type)||"spring"===p.type||!(0,a.yL)(p.ease)){const{onComplete:t,onUpdate:s,motionValue:o,element:a,...l}=this.options,c=function(e,t){const n=new h.o({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let s=0;for(;!r.done&&s<2e4;)r=n.sample(s),i.push(r.value),s+=10;return{times:void 0,keyframes:i,duration:s-10,ease:"linear"}}(e,l);1===(e=c.keyframes).length&&(e[1]=e[0]),n=c.duration,r=c.times,i=c.ease,u="keyframes"}const m=function(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:l="easeInOut",times:u}={}){const c={[t]:n};u&&(c.offset=u);const d=(0,a.TU)(l,i);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(c.owner.current,d,e,{...this.options,duration:n,times:r,ease:i});return m.startTime=null!=f?f:this.calcStartTime(),this.pendingTimeline?(o(m,this.pendingTimeline),this.pendingTimeline=void 0):m.onfinish=()=>{const{onComplete:n}=this.options;c.set((0,v.X)(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedProm
2ise()},{animation:m,duration:n,times:r,type:u,ease:i,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return(0,i.X)(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return(0,i.X)(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=(0,i.f)(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return r.l;const{animation:n}=t;o(n,e)}else this.pendingTimeline=e;return r.l}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:r,type:s,ease:o,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:l,element:u,...c}=this.options,d=new h.o({...c,keyframes:n,duration:r,type:s,ease:o,times:a,isGenerator:!0}),f=(0,i.f)(this.time);e.setWithVelocity(d.sample(f-10).value,d.sample(f).value,10)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o}=e;if(!(t&&t.owner&&t.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return g()&&n&&m.has(n)&&!a&&!l&&!r&&"mirror"!==i&&0!==s&&"inertia"!==o}}},3757(e,t,n){"use strict";if(n.d(t,{i:()=>l}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5487);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(3532);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(7519);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(8264);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(8707);class l{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=r.k.now(),this.options={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:s,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,i.q)(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=r.k.now(),this.hasAttemptedResolve=!0;const{name:n,type:i,velocity:l,delay:u,onComplete:c,onUpdate:d,isGenerator:f}=this.options;if(!f&&!(0,o.Q)(e,n,i,l)){if(s.d.current||!u)return d&&d((0,a.X)(e,this.options,t)),c&&c(),void this.resolveFinishedPromise();this.options.duration=0}const p=this.initPlayback(e,t);!1!==p&&(this._resolved={keyframes:e,finalKeyframe:t,...p},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise((e=>{this.resolveFinishedPromise=e}))}}},8544(e,t,n){"use strict";n.d(t,{o:()=>M});var r=n(2444),i=n(5605),s=n(8347),o=n(3532),a=n(1701),l=n(4747),u=n(4876),c=n(5358),d=n(9947);function f({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:f}){const p=e[0],h={done:!1,value:p},m=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let v=n*t;const g=p+v,y=void 0===o?g:o(g);y!==g&&(v=y-p);const b=e=>-v*Math.exp(-e/r),w=e=>y+b(e),x=e=>{const t=b(e),n=w(e);h.done=Math.abs(t)<=u,h.value=h.done?y:n};let E,S;const T=e=>{var t;(t=h.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(E=e,S=(0,c.o)({keyframes:[h.value,m(h.value)],velocity:(0,d.Y)(w,e,h.value),damping:i,stiffness:s,restDelta:u,restSpeed:f}))};return T(0),{calculatedDuration:null,next:e=>{let t=!1;return S||void 0!==E||(t=!0,x(e),T(e)),void 0!==E&&e>=E?S.next(e-E):(!t&&x(e),h)}}}var p=n(8094),h=n(9392),m=n(8532),v=n(885),g=n(1790),y=n(9020);function b(e,t){return e.map((()=>t||p.am)).splice(0,e.length-1)}function w({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(0,h.h)(r)?r.map(m.K):(0,m.K)(r),s={done:!1,value:t[0]},o=(0,y.A)(n&&n.length===t.length?n:(0,g.Z)(t),e),a=(0,v.G)(o,t,{ease:Array.isArray(i)?i:b(t,i)});return{calculatedDuration:e,next:t=>(s.value=a(t),s.done=t>=e,s)}}var x=n(3757),E=n(5487),S=n(7697);const T=e=>{const t=({timestamp:t})=>e(t);return{start:()=>S.Gt.update(t,!0),stop:()=>(0,S.WG)(t),now:()=>S.uv.isProcessing?S.uv.timestamp:E.k.now()}};var P=n(8707);const C={decay:f,inertia:f,tween:w,keyframes:w,spring:c.o},j=e=>e/100;class M extends x.i{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
2{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:r,keyframes:i}=this.options,s=(null==r?void 0:r.KeyframeResolver)||o.h;this.resolver=new s(i,((e,t)=>this.onKeyframesResolved(e,t)),t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:a=0}=this.options,c=(0,s.W)(t)?t:C[t]||w;let d,f;c!==w&&"number"!=typeof e[0]&&(d=(0,u.F)(j,(0,l.j)(e[0],e[1])),e=[0,100]);const p=c({...this.options,keyframes:e});"mirror"===o&&(f=c({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===p.calculatedDuration&&(p.calculatedDuration=(0,i.t)(p));const{calculatedDuration:h}=p,m=h+r;return{generator:p,mirroredGenerator:f,mapPercentToKeyframes:d,calculatedDuration:h,resolvedDuration:m,totalDuration:m*(n+1)-r}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:r,generator:i,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=n;if(null===this.startTime)return i.next(0);const{delay:f,repeat:p,repeatType:h,repeatDelay:m,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-f*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let b=this.currentTime,w=i;if(p){const e=Math.min(this.currentTime,c)/d;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,p+1);Boolean(t%2)&&("reverse"===h?(n=1-n,m&&(n-=m/d)):"mirror"===h&&(w=s)),b=(0,a.q)(0,1,n)*d}const x=y?{done:!1,value:l[0]}:w.next(b);o&&(x.value=o(x.value));let{done:E}=x;y||null===u||(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&E);return S&&void 0!==r&&(x.value=(0,P.X)(l,this.options,r)),v&&v(x.value),S&&this.finish(),x}get duration(){const{resolved:e}=this;return e?(0,r.X)(e.calculatedDuration):0}get time(){return(0,r.X)(this.currentTime)}set time(e){e=(0,r.f)(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,r.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=T,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}},8264(e,t,n){"use strict";if(n.d(t,{Q:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1597);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(8347);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(822);function o(e,t,n,o){const a=e[0];if(null===a)return!1;if("display"===t||"visibility"===t)return!0;const l=e[e.length-1],u=(0,s.P)(a,t),c=(0,s.P)(l,t);return(0,r.$)(u===c,`You are trying to animate ${t} from "${a}" to "${l}". ${a} is not an animatable value - to enable this animation set ${a} to a value animatable to ${l} via the \`style\` property.`),!(!u||!c)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||(0,i.W)(n))&&o)}},8707(e,t,n){"use strict";n.d(t,{X:()=>i});const r=e=>null!==e;function i(e,{repeat:t,repeatType:n="loop"},i){const s=e.filter(r),o=t&&"loop"!==n&&t%2==1?0:s.length-1;return o&&void 0!==i?i:s[o]}},7204(e,t,n){"use strict";const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};n.d(t,["s",0,r])},771(e,t,n){"use strict";if(n.d(t,{a:()=>u,p:()=>l}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1597);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(2444);
2if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(1701);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(7204);const a=.001;function l({duration:e=o.s.duration,bounce:t=o.s.bounce,velocity:n=o.s.velocity,mass:l=o.s.mass}){let c,d;(0,r.$)(e<=(0,i.f)(o.s.maxDuration),"Spring duration must be 10 seconds or less");let f=1-t;f=(0,s.q)(o.s.minDamping,o.s.maxDamping,f),e=(0,s.q)(o.s.minDuration,o.s.maxDuration,(0,i.X)(e)),f<1?(c=t=>{const r=t*f,i=r*e,s=r-n,o=u(t,f),l=Math.exp(-i);return a-s/o*l},d=t=>{const r=t*f*e,i=r*n+n,s=Math.pow(f,2)*Math.pow(t,2)*e,o=Math.exp(-r),l=u(Math.pow(t,2),f);return(-c(t)+a>0?-1:1)*((i-s)*o)/l}):(c=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,d=t=>Math.exp(-t*e)*(e*e*(n-t)));const p=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(c,d,5/e);if(e=(0,i.f)(e),isNaN(p))return{stiffness:o.s.stiffness,damping:o.s.damping,duration:e};{const t=Math.pow(p,2)*l;return{stiffness:t,damping:2*f*Math.sqrt(l*t),duration:e}}}function u(e,t){return e*Math.sqrt(1-t*t)}},5358(e,t,n){"use strict";if(n.d(t,{o:()=>p}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(2444);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(5605);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(2170);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(1701);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(9947);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(7204);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(771);const c=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:["duration","bounce"],d=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:["stiffness","damping","mass"];function f(e,t){return t.some((t=>void 0!==e[t]))}function p(e=l.s.visualDuration,t=l.s.bounce){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:p,restDelta:h}=n;const m=n.keyframes[0],v=n.keyframes[n.keyframes.length-1],g={done:!1,value:m},{stiffness:y,damping:b,mass:w,duration:x,velocity:E,isResolvedFromDuration:S}=function(e){let t={velocity:l.s.velocity,stiffness:l.s.stiffness,damping:l.s.damping,mass:l.s.mass,isResolvedFromDuration:!1,...e};if(!f(e,d)&&f(e,c))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),i=r*r,s=2*(0,o.q)(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:l.s.mass,stiffness:i,damping:s}}else{const n=(0,u.p)(e);t={...t,...n,mass:l.s.mass},t.isResolvedFromDuration=!0}return t}({...n,velocity:-(0,r.X)(n.velocity||0)}),T=E||0,P=b/(2*Math.sqrt(y*w)),C=v-m,j=(0,r.X)(Math.sqrt(y/w)),M=Math.abs(C)<5;let k;if(p||(p=M?l.s.restSpeed.granular:l.s.restSpeed.default),h||(h=M?l.s.restDelta.granular:l.s.restDelta.default),P<1){const e=(0,u.a)(j,P);k=t=>{const n=Math.exp(-P*j*t);return v-n*((T+P*j*C)/e*Math.sin(e*t)+C*Math.cos(e*t))}}else if(1===P)k=e=>v-Math.exp(-j*e)*(C+(T+j*C)*e);else{const e=j*Math.sqrt(P*P-1);k=t=>{const n=Math.exp(-P*j*t),r=Math.min(e*t,300);return v-n*((T+P*j*C)*Math.sinh(r)+e*C*Math.cosh(r))/e}}const $={calculatedDuration:S&&x||null,next:e=>{const t=k(e);if(S)g.done=e>=x;else{let n=0;P<1&&(n=0===e?(0,r.f)(T):(0,a.Y)(k,e,t));const i=Math.abs(n)<=p,s=Math.abs(v-t)<=h;g.done=i&&s}return g.value=g.done?v:t,g},toString:()=>{const e=Math.min((0,i.t)($),2e4),t=(0,s.K)((t=>$.next(e*t).value),e,30);return e+"ms "+t}};return $}},9947(e,t,n){"use strict";if(n.d(t,{Y:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(7052);function i(e,t,n){const i=Math.max(t-5,0);return(0,r.f)(n-e(i),t-i)}},3896(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(2854);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(5838);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(2444);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(7697);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(3627);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(7519);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(2350);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var c=n(8544);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var d=n(8707);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var f=n(7763);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var p=n(2959);n.d(t,["f",0,(e,t,n,h={},m,v)=>g=>{const y=(0,i.r)(h,e)||{},b=y.delay||h.delay||0;let{elapsed:w=0}=h;w-=(0,s.f)(b);let x={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...y,delay:-w,onUpdate:e=>
2{t.set(e),y.onUpdate&&y.onUpdate(e)},onComplete:()=>{g(),y.onComplete&&y.onComplete()},name:e,motionValue:t,element:v?void 0:m};(0,p.D)(y)||(x={...x,...(0,f.x)(e,x)}),x.duration&&(x.duration=(0,s.f)(x.duration)),x.repeatDelay&&(x.repeatDelay=(0,s.f)(x.repeatDelay)),void 0!==x.from&&(x.keyframes[0]=x.from);let E=!1;if((!1===x.type||0===x.duration&&!x.repeatDelay)&&(x.duration=0,0===x.delay&&(E=!0)),(l.d.current||a.W.skipAnimations)&&(E=!0,x.duration=0,x.delay=0),E&&!v&&void 0!==t.get()){const e=(0,d.X)(x.keyframes,y);if(void 0!==e)return o.Gt.update((()=>{x.onUpdate(e),x.onComplete()})),new r.P([])}return!v&&u.m.supports(x)?new u.m(x):new c.o(x)}])},4877(e,t,n){"use strict";if(n.d(t,{$:()=>d}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5838);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(237);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(8565);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(8733);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(2261);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(3896);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(7697);function c({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function d(e,t,{delay:n=0,transitionOverride:d,type:f}={}){var p;let{transition:h=e.getDefaultTransition(),transitionEnd:m,...v}=t;d&&(h=d);const g=[],y=f&&e.animationState&&e.animationState.getState()[f];for(const t in v){const s=e.getValue(t,null!==(p=e.latestValues[t])&&void 0!==p?p:null),d=v[t];if(void 0===d||y&&c(y,t))continue;const f={delay:n,...(0,r.r)(h||{},t)};let m=!1;if(window.MotionHandoffAnimation){const n=(0,a.P)(e);if(n){const e=window.MotionHandoffAnimation(n,t,u.Gt);null!==e&&(f.startTime=e,m=!0)}}(0,o.g)(e,t),s.start((0,l.f)(t,s,d,e.shouldReduceMotion&&i.$.has(t)?{type:!1}:f,e,m));const b=s.animation;b&&g.push(b)}return m&&Promise.all(g).then((()=>{u.Gt.update((()=>{m&&(0,s.U)(e,m)}))})),g}},3685(e,t,n){"use strict";if(n.d(t,{l:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(9156);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(4877);function s(e,t,n={}){var a;const l=(0,r.K)(e,t,"exit"===n.type?null===(a=e.presenceContext)||void 0===a?void 0:a.custom:void 0);let{transition:u=e.getDefaultTransition()||{}}=l||{};n.transitionOverride&&(u=n.transitionOverride);const c=l?()=>Promise.all((0,i.$)(e,l,n)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:l}=u;return function(e,t,n=0,r=0,i=1,a){const l=[],u=(e.variantChildren.size-1)*r,c=1===i?(e=0)=>e*r:(e=0)=>u-e*r;return Array.from(e.variantChildren).sort(o).forEach(((e,r)=>{e.notify("AnimationStart",t),l.push(s(e,t,{...a,delay:n+c(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(l)}(e,t,i+r,a,l,n)}:()=>Promise.resolve(),{when:f}=u;if(f){const[e,t]="beforeChildren"===f?[c,d]:[d,c];return e().then((()=>t()))}return Promise.all([c(),d(n.delay)])}function o(e,t){return e.sortNodePosition(t)}},2937(e,t,n){"use strict";if(n.d(t,{_:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(9156);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(4877);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(3685);function o(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map((t=>(0,s.l)(e,t,n)));o=Promise.all(r)}else if("string"==typeof t)o=(0,s.l)(e,t,n);else{const s="function"==typeof t?(0,r.K)(e,t,n.custom):t;o=Promise.all((0,i.$)(e,s,n))}return o.then((()=>{e.notify("AnimationComplete",t)}))}},6475(e,t,n){"use strict";const r="data-"+(0,n(285).I)("framerAppearId");n.d(t,["n",0,r])},2261(e,t,n){"use strict";if(n.d(t,{P:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6475);function i(e){return e.props[r.n]}},7763(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(892);const i=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{type:"spring",stiffness:500,damping:25,restSpeed:10},s=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{type:"keyframes",duration:.8},o=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{type:"keyframes",ease:[.25,.1,.35,1],duration:.3};n.d(t,["x",0,(e,{keyframes:t})=>t.length>2?s:r.f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:i:o])},822(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(4787);n.d(t,["P",0,(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!r.f.test(e)&&"0"!==e||e.startsWith("url(")))])},1039(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{N:()=>r})},6397(e,t,n){"use strict";n.d(t,["p",0,e=>Array.isArray(e)])},2959(e,t,n){"use strict";function r({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:
2o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}n.d(t,{D:()=>r})},1973(e,t,n){"use strict";n.d(t,{xQ:()=>s});var r=n(6540);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(4394);function s(e=!0){const t=(0,r.useContext)(i.t);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:s,register:o}=t,a=(0,r.useId)();(0,r.useEffect)((()=>{e&&o(a)}),[e]);const l=(0,r.useCallback)((()=>e&&s&&s(a)),[a,s,e]);return!n&&s?[!1,l]:[!0]}},3006(e,t,n){"use strict";const r=(0,n(6540).createContext)({});n.d(t,["L",0,r])},4921(e,t,n){"use strict";const r=(0,n(6540).createContext)({strict:!1});n.d(t,["Y",0,r])},987(e,t,n){"use strict";const r=(0,n(6540).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});n.d(t,["Q",0,r])},8032(e,t,n){"use strict";n.d(t,{z:()=>o});var r=n(6540);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(7160);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(1127);function o(e){const{initial:t,animate:n}=(0,s._)(e,(0,r.useContext)(i.A));return(0,r.useMemo)((()=>({initial:t,animate:n})),[a(t),a(n)])}function a(e){return Array.isArray(e)?e.join(" "):e}},7160(e,t,n){"use strict";const r=(0,n(6540).createContext)({});n.d(t,["A",0,r])},1127(e,t,n){"use strict";if(n.d(t,{_:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1806);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(210);function s(e,t){if((0,i.e)(e)){const{initial:t,animate:n}=e;return{initial:!1===t||(0,r.w)(t)?t:void 0,animate:(0,r.w)(n)?n:void 0}}return!1!==e.inherit?t:{}}},4394(e,t,n){"use strict";const r=(0,n(6540).createContext)(null);n.d(t,["t",0,r])},8946(e,t,n){"use strict";const r=(0,n(6540).createContext)({});n.d(t,["N",0,r])},7200(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(8445);n.d(t,["b",0,e=>(e*=2)<1?.5*(0,r.dg)(e):.5*(2-Math.pow(2,-10*(e-1)))])},8445(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(8298);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(6876);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(2325);const o=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:(0,r.A)(.33,1.53,.69,.99),a=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:(0,s.G)(o),l=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:(0,i.V)(a);n.d(t,["Sz",0,o,"ZZ",0,l,"dg",0,a])},7001(e,t,n){"use strict";var r=n(6876);const i=e=>1-Math.sin(Math.acos(e)),s=(0,n(2325).G)(i),o=(0,r.V)(i);n.d(t,["po",0,i,"tn",0,o,"yT",0,s])},8298(e,t,n){"use strict";if(n.d(t,{A:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(200);const i=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function s(e,t,n,s){if(e===t&&n===s)return r.l;const o=t=>function(e,t,n,r,s){let o,a,l=0;do{a=t+(n-t)/2,o=i(a,r,s)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++l<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:i(o(e),t,s)}},8094(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(8298);const i=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:(0,r.A)(.42,0,1,1),s=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:(0,r.A)(0,0,.58,1),o=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:(0,r.A)(.42,0,.58,1);n.d(t,["a6",0,i,"am",0,o,"vT",0,s])},6876(e,t,n){"use strict";n.d(t,["V",0,e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2])},2325(e,t,n){"use strict";n.d(t,["G",0,e=>t=>1-e(1-t)])},9392(e,t,n){"use strict";n.d(t,["h",0,e=>Array.isArray(e)&&"number"!=typeof e[0]])},8532(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1597);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(200);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(7373);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(7200);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(8445);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(7001);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(8298);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var c=n(8094);const d=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{linear:i.l,easeIn:c.a6,easeInOut:c.am,easeOut:c.vT,circIn:l.po,circInOut:l.tn,circOut:l.yT,backIn:a.dg,backInOut:a.ZZ,backOut:a.Sz,anticipate:o.b};n.d(t,["K",0,e=>{if((0,s.D)(e)){(0,r.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,s]=e;return(0,u.A)(t,n,i,s)}return"string"==typeof e?((0,r.V)(void 0!==d[e],`Invalid easing type '${e}'`),d[e]):e}])},1413(e,t,n){"use strict";function r(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}n.d(t,{k:()=>r})},1522(e,t,n){"use strict";if(n.d(t,{h:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1413);
2if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(2721);function s(e,t,n,s){return(0,r.k)(e,t,(0,i.F)(n),s)}},2721(e,t,n){"use strict";if(n.d(t,{e:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(2979);function i(e){return{point:{x:e.pageX,y:e.pageY}}}n.d(t,["F",0,e=>t=>(0,r.M)(t)&&e(t,i(t))])},6035(e,t,n){"use strict";if(n.d(t,{I:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(3627);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(3609);const s=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:["read","resolveKeyframes","update","preRender","render","postRender"];function o(e,t){let n=!1,o=!0;const a={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,u=s.reduce(((e,t)=>(e[t]=(0,i.n)(l),e)),{}),{read:c,resolveKeyframes:d,update:f,preRender:p,render:h,postRender:m}=u,v=()=>{const i=r.W.useManualTiming?a.timestamp:performance.now();n=!1,a.delta=o?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,c.process(a),d.process(a),f.process(a),p.process(a),h.process(a),m.process(a),a.isProcessing=!1,n&&t&&(o=!1,e(v))};return{schedule:s.reduce(((t,r)=>{const i=u[r];return t[r]=(t,r=!1,s=!1)=>(n||(n=!0,o=!0,a.isProcessing||e(v)),i.schedule(t,r,s)),t}),{}),cancel:e=>{for(let t=0;t<s.length;t++)u[s[t]].cancel(e)},state:a,steps:u}}},7697(e,t,n){"use strict";var r=n(200),i=n(6035);const{schedule:s,cancel:o,state:a,steps:l}=(0,i.I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0);n.d(t,["Gt",0,s,"PP",0,l,"WG",0,o,"uv",0,a])},6485(e,t,n){"use strict";var r=n(6035);const{schedule:i,cancel:s}=(0,r.I)(queueMicrotask,!1);n.d(t,["k",0,i])},3609(e,t,n){"use strict";function r(e){let t=new Set,n=new Set,r=!1,i=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(t){s.has(t)&&(l.schedule(t),e()),t(o)}const l={schedule:(e,i=!1,o=!1)=>{const a=o&&r?t:n;return i&&s.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),s.delete(e)},process:e=>{o=e,r?i=!0:(r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,i&&(i=!1,l.process(e)))}};return l}n.d(t,{n:()=>r})},5487(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(3627);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(7697);let s;function o(){s=void 0}const a=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{now:()=>(void 0===s&&a.set(i.uv.isProcessing||r.W.useManualTiming?i.uv.timestamp:performance.now()),s),set:e=>{s=e,queueMicrotask(o)}};n.d(t,["k",0,a])},5753(e,t,n){"use strict";n.d(t,{w:()=>j});var r=n(7981),i=n(200),s=n(1597),o=n(4024),a=n(9438),l=n(3988),u=n(1522),c=n(9776),d=n(2541),f=n(7329),p=n(2950),h=n(2721),m=n(583),v=n(1413),g=n(5803),y=n(5994),b=n(9636),w=n(3896),x=n(6211),E=n(8733),S=n(7697);const T=new WeakMap;class P{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,d.ge)(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new a.Q(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor((0,h.e)(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,o.W)(n),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,f.X)((e=>{let t=this.getAxisMotionValue(e).get()||0;if(b.KN.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=(0,g.CQ)(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),i&&S.Gt.postRender((()=>i(e,t))),(0,E.g)(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>
2{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:s}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:o}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(o),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&s(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>(0,f.X)((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:(0,x.s)(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&S.Gt.postRender((()=>i(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!C(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let s=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(s=(0,c.Zq)(s,this.constraints[e],this.elastic[e])),i.set(s)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,i=this.constraints;t&&(0,l.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&(0,c._c)(r.layoutBox,t),this.elastic=(0,c.my)(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&(0,f.X)((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(0,c.QX)(r.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!(0,l.X)(e))return!1;const n=e.current;(0,s.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=(0,p.L)(n,r.root,this.visualElement.getTransformPagePoint());let o=(0,c.iT)(r.layout.layoutBox,i);if(t){const e=t((0,m.pA)(o));this.hasMutatedConstraints=!!e,e&&(o=(0,m.FY)(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{},l=(0,f.X)((o=>{if(!C(o,t,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[o]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,d)}));return Promise.all(l).then(o)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return(0,E.g)(this.visualElement,e),n.start((0,w.f)(e,n,0,t,this.visualElement,!1))}stopAnimation(){(0,f.X)((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){(0,f.X)((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){(0,f.X)((t=>{const{drag:n}=this.getProps();if(!C(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:s}=r.layout.layoutBox[t];i.set(e[t]-(0,y.k)(n,s,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!(0,l.X)(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};(0,f.X)((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=(0,c.Yu)({min:n,max:n},this.constraints[e])}}));const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),(0,f.X)((t=>{if(!C(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:s}=this.constraints[t];n.set((0,y.k)(i,s,r[t]))}))}addListeners(){if(!this.visualElement.current)return;
2T.set(this.visualElement,this);const e=this.visualElement.current,t=(0,u.h)(e,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),n=()=>{const{dragConstraints:e}=this.getProps();(0,l.X)(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),S.Gt.read(n);const s=(0,v.k)(window,"resize",(()=>this.scalePositionWithinConstraints())),o=r.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,f.X)((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{s(),t(),i(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:s,dragMomentum:o}}}function C(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}class j extends r.X{constructor(e){super(e),this.removeGroupControls=i.l,this.removeListeners=i.l,this.controls=new P(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||i.l}unmount(){this.removeGroupControls(),this.removeListeners()}}},9776(e,t,n){"use strict";if(n.d(t,{QX:()=>p,Yu:()=>f,Zq:()=>a,_c:()=>u,iT:()=>d,my:()=>h}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(4509);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(5803);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(1701);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(5994);function a(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,o.k)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,o.k)(n,e,r.max):Math.min(e,n)),e}function l(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function u(e,{top:t,left:n,bottom:r,right:i}){return{x:l(e.x,n,i),y:l(e.y,t,r)}}function c(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function d(e,t){return{x:c(e.x,t.x),y:c(e.y,t.y)}}function f(e,t){let n=.5;const o=(0,i.CQ)(e),a=(0,i.CQ)(t);return a>o?n=(0,r.q)(t.min,t.max-o,e.min):o>a&&(n=(0,r.q)(e.min,e.max-a,t.min)),(0,s.q)(0,1,n)}function p(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}function h(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:m(e,"left","right"),y:m(e,"top","bottom")}}function m(e,t,n){return{min:v(e,t),max:v(e,n)}}function v(e,t){return"number"==typeof e?e:e[t]||0}},9587(e,t,n){"use strict";n.d(t,{c:()=>o});var r=n(1413),i=n(7981),s=n(4876);class o extends i.X{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,s.F)((0,r.k)(this.node.current,"focus",(()=>this.onFocus())),(0,r.k)(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},8581(e,t,n){"use strict";if(n.d(t,{e:()=>l}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6050);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(2721);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(7981);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(7697);function a(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const s=r["onHover"+n];s&&o.Gt.postRender((()=>s(t,(0,i.e)(t))))}class l extends(/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:s.X){mount(){const{current:e}=this.node;e&&(this.unmount=(0,r.P)(e,((e,t)=>
2(a(this.node,t,"Start"),e=>a(this.node,e,"End")))))}unmount(){}}},9438(e,t,n){"use strict";if(n.d(t,{Q:()=>c}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(2444);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(2979);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(1522);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(2721);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(2013);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(4876);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(7697);class c{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:c=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=p(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=(0,a.w)(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=u.uv;this.history.push({...r,timestamp:i});const{onStart:s,onMove:o}=this.handlers;t||(s&&s(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=d(t,this.transformPagePoint),u.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const s=p("pointercancel"===e.type?this.lastMoveEventInfo:d(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,s),r&&r(e,s)},!(0,i.M)(e))return;this.dragSnapToOrigin=c,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const f=d((0,o.e)(e),this.transformPagePoint),{point:h}=f,{timestamp:m}=u.uv;this.history=[{...h,timestamp:m}];const{onSessionStart:v}=t;v&&v(e,p(f,this.history)),this.removeListeners=(0,l.F)((0,s.h)(this.contextWindow,"pointermove",this.handlePointerMove),(0,s.h)(this.contextWindow,"pointerup",this.handlePointerUp),(0,s.h)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,u.WG)(this.updatePoint)}}function d(e,t){return t?{point:t(e.point)}:e}function f(e,t){return{x:e.x-t.x,y:e.y-t.y}}function p({point:e},t){return{point:e,delta:f(e,m(t)),offset:f(e,h(t)),velocity:v(t,.1)}}function h(e){return e[0]}function m(e){return e[e.length-1]}function v(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const s=m(e);for(;n>=0&&(i=e[n],!(s.timestamp-i.timestamp>(0,r.f)(t)));)n--;if(!i)return{x:0,y:0};const o=(0,r.X)(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const a={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}},983(e,t,n){"use strict";n.d(t,{f:()=>c});var r=n(9438),i=n(1522),s=n(7981),o=n(200),a=n(6211),l=n(7697);const u=e=>(t,n)=>{e&&l.Gt.postRender((()=>e(t,n)))};class c extends s.X{constructor(){super(...arguments),this.removePointerDownListener=o.l}onPointerDown(e){this.session=new r.Q(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:(0,a.s)(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:u(e),onStart:u(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&l.Gt.postRender((()=>r(e,t)))}}}mount(){this.removePointerDownListener=(0,i.h)(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},5750(e,t,n){"use strict";if(n.d(t,{H:()=>l}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(8220);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(2721);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(7981);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(7697);function a(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const s=r["onTap"+("End"===n?"":n)];s&&o.Gt.postRender((()=>s(t,(0,i.e)(t))))}class l extends(/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:s.X){mount(){const{current:e}=this.node;e&&(this.unmount=(0,r.c)(e,((e,t)=>
2(a(this.node,t,"Start"),(e,{success:t})=>a(this.node,e,t?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},7981(e,t,n){"use strict";n.d(t,{X:()=>r});class r{constructor(e){this.isMounted=!1,this.node=e}update(){}}},1e3(e,t,n){"use strict";n.d(t,{H:()=>s});var r=n(7981);let i=0;class s extends r.X{constructor(){super(...arguments),this.id=i++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}},781(e,t,n){"use strict";n.d(t,{j:()=>y});var r=n(1039),i=n(6397),s=n(7326),o=n(1806),a=n(9156),l=n(3031),u=n(2937),c=n(9791);const d=[...l.U].reverse(),f=l.U.length;function p(e){let t=function(e){return t=>Promise.all(t.map((({animation:t,options:n})=>(0,u._)(e,t,n))))}(e),n=v(),l=!0;const p=t=>(n,r)=>{var i;const s=(0,a.K)(e,r,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(s){const{transition:e,transitionEnd:t,...r}=s;n={...n,...r,...t}}return n};function m(a){const{props:u}=e,m=(0,c.V)(e.parent)||{},v=[],g=new Set;let y={},b=1/0;for(let t=0;t<f;t++){const c=d[t],f=n[c],w=void 0!==u[c]?u[c]:m[c],x=(0,o.w)(w),E=c===a?f.isActive:null;!1===E&&(b=t);let S=w===m[c]&&w!==u[c]&&x;if(S&&l&&e.manuallyAnimateOnMount&&(S=!1),f.protectedKeys={...y},!f.isActive&&null===E||!w&&!f.prevProp||(0,r.N)(w)||"boolean"==typeof w)continue;const T=h(f.prevProp,w);let P=T||c===a&&f.isActive&&!S&&x||t>b&&x,C=!1;const j=Array.isArray(w)?w:[w];let M=j.reduce(p(c),{});!1===E&&(M={});const{prevResolvedValues:k={}}=f,$={...k,...M},A=t=>{P=!0,g.has(t)&&(C=!0,g.delete(t)),f.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in $){const t=M[e],n=k[e];if(y.hasOwnProperty(e))continue;let r=!1;r=(0,i.p)(t)&&(0,i.p)(n)?!(0,s.a)(t,n):t!==n,r?null!=t?A(e):g.add(e):void 0!==t&&g.has(e)?A(e):f.protectedKeys[e]=!0}f.prevProp=w,f.prevResolvedValues=M,f.isActive&&(y={...y,...M}),l&&e.blockInitialAnimation&&(P=!1);P&&(!(S&&T)||C)&&v.push(...j.map((e=>({animation:e,options:{type:c}}))))}if(g.size){const t={};g.forEach((n=>{const r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null})),v.push({animation:t})}let w=Boolean(v.length);return!l||!1!==u.initial&&u.initial!==u.animate||e.manuallyAnimateOnMount||(w=!1),l=!1,w?t(v):Promise.resolve()}return{animateChanges:m,setActive:function(t,r){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;const s=m(t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=v(),l=!0}}}function h(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!(0,s.a)(t,e)}function m(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function v(){return{animate:m(!0),whileInView:m(),whileHover:m(),whileTap:m(),whileDrag:m(),whileFocus:m(),exit:m()}}var g=n(7981);class y extends g.X{constructor(e){super(e),e.animationState||(e.animationState=p(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();(0,r.N)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},225(e,t,n){"use strict";const r={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},i={};for(const e in r)i[e]={isEnabled:t=>r[e].some((e=>!!t[e]))};n.d(t,["B",0,i])}
2,8181(e,t,n){"use strict";n.d(t,{$:()=>b});var r=n(4848),i=n(6540),s=n(1973),o=n(3006),a=n(8946),l=n(8802),u=n(9636);function c(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const d={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!u.px.test(e))return e;e=parseFloat(e)}return`${c(e,t.target.x)}% ${c(e,t.target.y)}%`}};var f=n(5994),p=n(4787);const h={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=p.f.parse(e);if(i.length>5)return r;const s=p.f.createTransformer(e),o="number"!=typeof i[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=(0,f.k)(a,l,.5);return"number"==typeof i[2+o]&&(i[2+o]/=u),"number"==typeof i[3+o]&&(i[3+o]/=u),s(i)}};var m=n(6086),v=n(6485),g=n(7697);class y extends i.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;(0,m.$)(w),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",(()=>{this.safeToRemove()})),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),l.w.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,s=n.projection;return s?(s.isPresent=i,r||e.layoutDependency!==t||void 0===t?s.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?s.promote():s.relegate()||g.Gt.postRender((()=>{const e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),v.k.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function b(e){const[t,n]=(0,s.xQ)(),l=(0,i.useContext)(o.L);return(0,r.jsx)(y,{...e,layoutGroup:l,switchLayoutGroup:(0,i.useContext)(a.N),isPresent:t,safeToRemove:n})}const w={borderRadius:{...d,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:d,borderTopRightRadius:d,borderBottomLeftRadius:d,borderBottomRightRadius:d,boxShadow:h}},6867(e,t,n){"use strict";if(n.d(t,{Y:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(225);function i(e){for(const t in e)r.B[t]={...r.B[t],...e[t]}}},4495(e,t,n){"use strict";n.d(t,{x:()=>c});var r=n(7981);const i=new WeakMap,s=new WeakMap,o=e=>{const t=i.get(e.target);t&&t(e)},a=e=>{e.forEach(o)};function l(e,t,n){const r=function({root:e,...t}){const n=e||document;s.has(n)||s.set(n,{});const r=s.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(a,{root:e,...t})),r[i]}(t);return i.set(e,n),r.observe(e),()=>{i.delete(e),r.unobserve(e)}}const u={some:0,all:1};class c extends r.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,s={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:u[r]};return l(this.node.current,s,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),s=t?n:r;s&&s(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},5045(e,t,n){"use strict";n.d(t,{Z:()=>v});var r=n(4848),i=n(6540);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(3006);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(4921);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(987);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(7160);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(8032);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var c=n(6559);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var d=n(225);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var f=n(6867);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var p=n(6577);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var h=n(3345);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var m=n(6720);function v({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:s,Component:v}){var y,b;function w(e,f){let p;const y={...(0,i.useContext)(a.Q),...e,layoutId:g(e)},{isStatic:b}=y,w=(0,u.z)(e),x=s(e,b);if(!b&&c.B){!function(){(0,i.useContext)(o.Y).strict;0}();const e=function(e){const{drag:t,layout:n}=d.B;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
2(y);p=e.MeasureLayout,w.visualElement=(0,m.Y)(v,x,y,t,e.ProjectionNode)}return(0,r.jsxs)(l.A.Provider,{value:w,children:[p&&w.visualElement?(0,r.jsx)(p,{visualElement:w.visualElement,...y}):null,n(v,e,(0,h.J)(x,w.visualElement,f),x,b,w.visualElement)]})}e&&(0,f.Y)(e),w.displayName=`motion.${"string"==typeof v?v:`create(${null!==(b=null!==(y=v.displayName)&&void 0!==y?y:v.name)&&void 0!==b?b:""})`}`;const x=(0,i.forwardRef)(w);return x[p.o]=v,x}function g({layoutId:e}){const t=(0,i.useContext)(s.L).id;return t&&void 0!==e?t+"-"+e:e}},8708(e,t,n){"use strict";if(n.d(t,{z:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6086);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(892);function s(e,{layout:t,layoutId:n}){return i.f.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!r.H[e]||"opacity"===e)}},6577(e,t,n){"use strict";const r=Symbol.for("motionComponentSymbol");n.d(t,["o",0,r])},3345(e,t,n){"use strict";n.d(t,{J:()=>s});var r=n(6540);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(3988);function s(e,t,n){return(0,r.useCallback)((r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):(0,i.X)(n)&&(n.current=r))}),[t])}},6720(e,t,n){"use strict";n.d(t,{Y:()=>p});var r=n(6540);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(4394);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(7160);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(3797);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(4921);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(987);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(6475);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var c=n(6485);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var d=n(3988);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var f=n(8946);function p(e,t,n,p,m){var v,g;const{visualElement:y}=(0,r.useContext)(s.A),b=(0,r.useContext)(a.Y),w=(0,r.useContext)(i.t),x=(0,r.useContext)(l.Q).reducedMotion,E=(0,r.useRef)(null);p=p||b.renderer,!E.current&&p&&(E.current=p(e,{visualState:t,parent:y,props:n,presenceContext:w,blockInitialAnimation:!!w&&!1===w.initial,reducedMotionConfig:x}));const S=E.current,T=(0,r.useContext)(f.N);!S||S.projection||!m||"html"!==S.type&&"svg"!==S.type||function(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:h(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:Boolean(o)||a&&(0,d.X)(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(E.current,n,m,T);const P=(0,r.useRef)(!1);(0,r.useInsertionEffect)((()=>{S&&P.current&&S.update(n,w)}));const C=n[u.n],j=(0,r.useRef)(Boolean(C)&&!(null===(v=window.MotionHandoffIsComplete)||void 0===v?void 0:v.call(window,C))&&(null===(g=window.MotionHasOptimisedAnimation)||void 0===g?void 0:g.call(window,C)));return(0,o.E)((()=>{S&&(P.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),c.k.render(S.render),j.current&&S.animationState&&S.animationState.animateChanges())})),(0,r.useEffect)((()=>{S&&(!j.current&&S.animationState&&S.animationState.animateChanges(),j.current&&(queueMicrotask((()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,C)})),j.current=!1))})),S}function h(e){if(e)return!1!==e.options.allowProjection?e.projection:h(e.parent)}},4507(e,t,n){"use strict";var r=n(6540);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(1039);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(7160);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(4394);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(210);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(9328);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(9474);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var c=n(749);function d(e,t,n,r){const s={},o=r(e,{});for(const e in o)s[e]=(0,c.u)(o[e]);let{initial:u,animate:d}=e;const f=(0,a.e)(e),p=(0,a.O)(e);t&&p&&!f&&!1!==e.inherit&&(void 0===u&&(u=t.initial),void 0===d&&(d=t.animate));let h=!!n&&!1===n.initial;h=h||!1===u;const m=h?d:u;if(m&&"boolean"!=typeof m&&!(0,i.N)(m)){const t=Array.isArray(m)?m:[m];for(let n=0;n<t.length;n++){const r=(0,l.a)(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[h?t.length-1:0]}null!==t&&(s[e]=t)}for(const t in e)s[t]=e[t]}}}return s}n.d(t,["T",0,e=>(t,n)=>{const i=(0,r.useContext)(s.A),a=(0,r.useContext)(o.t),l=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,s){const o={latestValues:d(r,i,s,e),renderState:t()};return n&&(o.onMount=e=>n({props:r,current:e,...o}),o.onUpdate=e=>n(e)),o}(e,t,i,a);return n?l():(0,u.M)(l)}])},4760(e,t,n){"use strict";if(n.d(t,{v:()=>f}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(200);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(4509);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(7001);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(5994);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(9636);const l=["TopLeft","TopRight","BottomLeft","BottomRight"],u=l.length,c=e=>"string"==typeof e?parseFloat(e):e,d=e=>"number"==typeof e||a.px.test(e);function f(e,t,n,r,i,s){i?(e.opacity=(0,o.k)(0,void 0!==n.opacity?n.opacity:1,h(r)),e.opacityExit=(0,o.k)(void 0!==t.opacity?t.opacity:1,0,m(r))):s&&(e.opacity=(0,o.k)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<u;i++){const s=`border${l[i]}Radius`;let u=p(t,s),f=p(n,s);if(void 0===u&&void 0===f)continue;u||(u=0),f||(f=0);0===u||0===f||d(u)===d(f)?(e[s]=Math.max((0,o.k)(c(u),c(f),r),0),(a.KN.test(f)||a.KN.test(u))&&(e[s]+="
2%")):e[s]=f}(t.rotate||n.rotate)&&(e.rotate=(0,o.k)(t.rotate||0,n.rotate||0,r))}function p(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const h=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:v(0,.5,s.yT),m=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:v(.5,.95,r.l);function v(e,t,n){return r=>r<e?0:r>t?1:n((0,i.q)(e,t,r))}},583(e,t,n){"use strict";function r({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function i({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function s(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}n.d(t,{FY:()=>r,bS:()=>s,pA:()=>i})},2920(e,t,n){"use strict";function r(e,t){e.min=t.min,e.max=t.max}function i(e,t){r(e.x,t.x),r(e.y,t.y)}function s(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}n.d(t,{Hy:()=>i,xD:()=>s})},2195(e,t,n){"use strict";if(n.d(t,{OU:()=>d,Ql:()=>f,Ww:()=>h,hq:()=>s,o4:()=>l}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5994);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(877);function s(e,t,n){return n+t*(e-n)}function o(e,t,n,r,i){return void 0!==i&&(e=s(e,i,r)),s(e,n,r)+t}function a(e,t=0,n=1,r,i){e.min=o(e.min,t,n,r,i),e.max=o(e.max,t,n,r,i)}function l(e,{x:t,y:n}){a(e.x,t.translate,t.scale,t.originPoint),a(e.y,n.translate,n.scale,n.originPoint)}const u=.999999999999,c=1.0000000000001;function d(e,t,n,r=!1){const s=n.length;if(!s)return;let o,a;t.x=t.y=1;for(let u=0;u<s;u++){o=n[u],a=o.projectionDelta;const{visualElement:s}=o.options;s&&s.props.style&&"contents"===s.props.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&h(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,l(e,a)),r&&(0,i.HD)(o.latestValues)&&h(e,o.latestValues))}t.x<c&&t.x>u&&(t.x=1),t.y<c&&t.y>u&&(t.y=1)}function f(e,t){e.min=e.min+t,e.max=e.max+t}function p(e,t,n,i,s=.5){a(e,t,n,(0,r.k)(e.min,e.max,s),i)}function h(e,t){p(e.x,t.x,t.scaleX,t.scale,t.originX),p(e.y,t.y,t.scaleY,t.scale,t.originY)}},5803(e,t,n){"use strict";if(n.d(t,{CQ:()=>l,HQ:()=>u,N:()=>p,jA:()=>m,vb:()=>d}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5994);const i=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:.9999,s=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:1.0001,o=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:-.01,a=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:.01;function l(e){return e.max-e.min}function u(e,t,n){return Math.abs(e-t)<=n}function c(e,t,n,u=.5){e.origin=u,e.originPoint=(0,r.k)(t.min,t.max,e.origin),e.scale=l(n)/l(t),e.translate=(0,r.k)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=i&&e.scale<=s||isNaN(e.scale))&&(e.scale=1),(e.translate>=o&&e.translate<=a||isNaN(e.translate))&&(e.translate=0)}function d(e,t,n,r){c(e.x,t.x,n.x,r?r.originX:void 0),c(e.y,t.y,n.y,r?r.originY:void 0)}function f(e,t,n){e.min=n.min+t.min,e.max=e.min+l(t)}function p(e,t,n){f(e.x,t.x,n.x),f(e.y,t.y,n.y)}function h(e,t,n){e.min=t.min-n.min,e.max=e.min+l(t)}function m(e,t,n){h(e.x,t.x,n.x),h(e.y,t.y,n.y)}},9204(e,t,n){"use strict";if(n.d(t,{px:()=>c}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5994);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(9636);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(2195);function o(e,t,n,r,i){return e-=t,e=(0,s.hq)(e,1/n,r),void 0!==i&&(e=(0,s.hq)(e,1/i,r)),e}function a(e,t,[n,s,a],l,u){!function(e,t=0,n=1,s=.5,a,l=e,u=e){i.KN.test(t)&&(t=parseFloat(t),t=(0,r.k)(u.min,u.max,t/100)-u.min);if("number"!=typeof t)return;let c=(0,r.k)(l.min,l.max,s);e===l&&(c-=t),e.min=o(e.min,t,n,c,a),e.max=o(e.max,t,n,c,a)}(e,t[n],t[s],t[a],t.scale,l,u)}const l=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:["x","scaleX","originX"],u=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:["y","scaleY","originY"];function c(e,t,n,r){a(e.x,t,l,n?n.x:void 0,r?r.x:void 0),a(e.y,t,u,n?n.y:void 0,r?r.y:void 0)}},2541(e,t,n){"use strict";n.d(t,["ge",0,()=>({x:{min:0,max:0},y:{min:0,max:0}}),"xU",0,()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}})])},7858(e,t,n){"use strict";if(n.d(t,{XY:()=>s,cH:()=>c,mG:()=>u,t$:()=>d,zo:()=>a}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5803);function i(e){return 0===e.translate&&1===e.scale}function s(e){return i(e.x)&&i(e.y)}function o(e,t){return e.min===t.min&&e.max===t.max}function a(e,t){return o(e.x,t.x)&&o(e.y,t.y)}function l(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function u(e,t){return l(e.x,t.x)&&l(e.y,t.y)}function c(e){return(0,r.CQ)(e.x)/(0,r.CQ)(e.y)}function d(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}},6729(e,t,n){"use strict";n.d(t,{P:()=>ue});var r=n(200),i=n(5838),s=n(4451),o=n(2261),a=n(7697),l=n(6485),u=n(5487),c=n(482),d=n(1103),f=n(1701),p=n(
25153),h=n(5994),m=n(8713),v=n(749),g=n(4760),y=n(2920),b=n(2195),w=n(5803),x=n(9204),E=n(2541),S=n(7858),T=n(4342),P=n(6086),C=n(2515),j=n(7329),M=n(877),k=n(8802);const $={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},A="undefined"!=typeof window&&void 0!==window.MotionDebug,L=["","X","Y","Z"],D={visibility:"hidden"};let O=0;function R(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function I(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=(0,o.P)(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",a.Gt,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&I(r)}function F({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=O++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,A&&($.totalNodes=$.resolvedTargetDeltas=$.recalculatedProjection=0),this.nodes.forEach(V),this.nodes.forEach(q),this.nodes.forEach(Y),this.nodes.forEach(N),A&&window.MotionDebug.record($)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new d.Y)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new m.v),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,c.x)(t),this.instance=t;const{layoutId:r,layout:s,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(s||r)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=(0,p.c)(r,250),k.w.hasAnimatedSinceResize&&(k.w.hasAnimatedSinceResize=!1,this.nodes.forEach(G))}))}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||s)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const s=this.options.transition||o.getDefaultTransition()||ee,{onLayoutAnimationStart:a,onLayoutAnimationComplete:l}=o.getProps(),u=!this.targetLayout||!(0,S.mG)(this.targetLayout,r),c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...(0,i.r)(s,"layout"),onPlay:a,onComplete:l};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||G(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,a.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
2h(X),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&I(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(z);this.isUpdating||this.nodes.forEach(W),this.isUpdating=!1,this.nodes.forEach(U),this.nodes.forEach(_),this.nodes.forEach(B),this.clearAllSnapshots();const e=u.k.now();a.uv.delta=(0,f.q)(0,1e3/60,e-a.uv.timestamp),a.uv.timestamp=e,a.uv.isProcessing=!0,a.PP.update.process(a.uv),a.PP.preRender.process(a.uv),a.PP.render.process(a.uv),a.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,l.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(H),this.sharedNodes.forEach(K)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,a.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){a.Gt.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,E.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!(0,S.XY)(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||(0,M.HD)(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),re((r=n).x),re(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return(0,E.ge)();const n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(se))){const{scroll:e}=this.root;e&&((0,b.Ql)(n.x,e.offset.x),(0,b.Ql)(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n=(0,E.ge)();if((0,y.Hy)(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){const r=this.path[t],{scroll:i,options:s}=r;r!==this.root&&i&&s.layoutScroll&&(i.wasRoot&&(0,y.Hy)(n,e),(0,b.Ql)(n.x,i.offset.x),(0,b.Ql)(n.y,i.offset.y))}return n}applyTransform(e,t=!1){const n=(0,E.ge)();(0,y.Hy)(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,b.Ww)(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,M.HD)(r.latestValues)&&(0,b.Ww)(n,r.latestValues)}return(0,M.HD)(this.latestValues)&&(0,b.Ww)(n,this.latestValues),n}removeTransform(e){const t=(0,E.ge)();(0,y.Hy)(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!(0,M.HD)(n.latestValues))continue;(0,M.vk)(n.latestValues)&&n.updateSnapshot();const r=(0,E.ge)(),i=n.measurePageBox();(0,y.Hy)(r,i),(0,x.px)(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return(0,M.HD)(this.latestValues)&&(0,x.px)(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==a.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
2haredProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:i,layoutId:s}=this.options;if(this.layout&&(i||s)){if(this.resolvedRelativeTargetAt=a.uv.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,E.ge)(),this.relativeTargetOrigin=(0,E.ge)(),(0,w.jA)(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),(0,y.Hy)(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,E.ge)(),this.targetWithTransforms=(0,E.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,w.N)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):(0,y.Hy)(this.target,this.layout.layoutBox),(0,b.o4)(this.target,this.targetDelta)):(0,y.Hy)(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,E.ge)(),this.relativeTargetOrigin=(0,E.ge)(),(0,w.jA)(this.relativeTargetOrigin,this.target,e.target),(0,y.Hy)(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}A&&$.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!(0,M.vk)(this.parent.latestValues)&&!(0,M.vF)(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===a.uv.timestamp&&(r=!1),r)return;const{layout:i,layoutId:s}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!s)return;(0,y.Hy)(this.layoutCorrected,this.layout.layoutBox);const o=this.treeScale.x,l=this.treeScale.y;(0,b.OU)(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,E.ge)());const{target:u}=t;u?(this.projectionDelta&&this.prevProjectionDelta?((0,y.xD)(this.prevProjectionDelta.x,this.projectionDelta.x),(0,y.xD)(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,w.vb)(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===o&&this.treeScale.y===l&&(0,S.t$)(this.projectionDelta.x,this.prevProjectionDelta.x)&&(0,S.t$)(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),A&&$.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,E.xU)(),this.projectionDelta=(0,E.xU)(),this.projectionDeltaWithTransform=(0,E.xU)()}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},s=(0,E.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const o=(0,E.ge)(),a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(a&&!u&&!0===this.options.crossfade&&!this.path.some(J));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,f,p,h;Z(s.x,e.x,n),Z(s.y,e.y,n),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,w.jA)(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),l=this.relativeTarget,f=this.relativeTargetOrigin,p=o,h=n,Q(l.x,f.x,p.x,h),Q(l.y,f.y,p.y,h),d&&(0,S.zo)(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d=(0,E.ge)()),(0,y.Hy)(d,this.relativeTarget)),a&&(this.animationValues=i,(0,g.v)(i,r,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,a.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=a.Gt.update((()=>
2{k.w.hasAnimatedSinceResize=!0,this.currentAnimation=(0,s.z)(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&ie(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,E.ge)();const t=(0,w.CQ)(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=(0,w.CQ)(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}(0,y.Hy)(t,n),(0,b.Ww)(t,i),(0,w.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new T.P);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&R("z",e,r,this.animationValues);for(let t=0;t<L.length;t++)R(`rotate${L[t]}`,e,r,this.animationValues),R(`skew${L[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return D;const r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=(0,v.u)(null==e?void 0:e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;const s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,v.u)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,M.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=(0,C.I)(this.projectionDeltaWithTransform,this.treeScale,o),i&&(r.transform=i(o,r.transform));const{x:a,y:l}=this.projectionDelta;r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(n=null!==(t=o.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0;for(const e in P.H){if(void 0===o[e])continue;const{correct:t,applyTo:n}=P.H[e],i="none"===r.transform?o[e]:t(o[e],s);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=s===this?(0,v.u)(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
2resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(z),this.root.sharedNodes.clear()}}}function _(e){e.updateLayout()}function B(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,s=n.source!==e.layout.source;"size"===i?(0,j.X)((e=>{const r=s?n.measuredBox[e]:n.layoutBox[e],i=(0,w.CQ)(r);r.min=t[e].min,r.max=r.min+i})):ie(i,n.layoutBox,t)&&(0,j.X)((r=>{const i=s?n.measuredBox[r]:n.layoutBox[r],o=(0,w.CQ)(t[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)}));const o=(0,E.xU)();(0,w.vb)(o,t,n.layoutBox);const a=(0,E.xU)();s?(0,w.vb)(a,e.applyTransform(r,!0),n.measuredBox):(0,w.vb)(a,t,n.layoutBox);const l=!(0,S.XY)(o);let u=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:s}=r;if(i&&s){const o=(0,E.ge)();(0,w.jA)(o,n.layoutBox,i.layoutBox);const a=(0,E.ge)();(0,w.jA)(a,t,s.layoutBox),(0,S.mG)(o,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function V(e){A&&$.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function N(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function H(e){e.clearSnapshot()}function z(e){e.clearMeasurements()}function W(e){e.isLayoutDirty=!1}function U(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function G(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function q(e){e.resolveTargetDelta()}function Y(e){e.calcProjection()}function X(e){e.resetSkewAndRotation()}function K(e){e.removeLeadSnapshot()}function Z(e,t,n){e.translate=(0,h.k)(t.translate,0,n),e.scale=(0,h.k)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Q(e,t,n,r){e.min=(0,h.k)(t.min,n.min,r),e.max=(0,h.k)(t.max,n.max,r)}function J(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const ee={duration:.45,ease:[.4,0,.1,1]},te=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ne=te("applewebkit/")&&!te("chrome/")?Math.round:r.l;function re(e){e.min=ne(e.min),e.max=ne(e.max)}function ie(e,t,n){return"position"===e||"preserve-aspect"===e&&!(0,w.HQ)((0,S.cH)(t),(0,S.cH)(n),.2)}function se(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}var oe=n(1413);const ae=F({attachResizeListener:(e,t)=>(0,oe.k)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),le={current:void 0},ue=F({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!le.current){const e=new ae({});e.mount(window),e.setOptions({layoutScroll:!0}),le.current=e}return le.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)})},8802(e,t,n){"use strict";const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{hasAnimatedSinceResize:!0,hasEverUpdated:!1};n.d(t,["w",0,r])},4342(e,t,n){"use strict";if(n.d(t,{P:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5383);class i{constructor(){this.members=[]}add(e){(0,r.Kq)(this.members,e),e.scheduleRender()}remove(e){if((0,r.Ai)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}
2exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}},6086(e,t,n){"use strict";n.d(t,{$:()=>i});const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{};function i(e){Object.assign(r,e)}n.d(t,["H",0,r])},2515(e,t,n){"use strict";function r(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(null==n?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:i,rotateY:s,skewX:o,skewY:a}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(r+=`scale(${a}, ${l})`),r||"none"}n.d(t,{I:()=>r})},7329(e,t,n){"use strict";function r(e){return[e("x"),e("y")]}n.d(t,{X:()=>r})},877(e,t,n){"use strict";function r(e){return void 0===e||1===e}function i({scale:e,scaleX:t,scaleY:n}){return!r(e)||!r(t)||!r(n)}function s(e){return i(e)||o(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function o(e){return a(e.x)||a(e.y)}function a(e){return e&&"0%"!==e}n.d(t,{HD:()=>s,vF:()=>o,vk:()=>i})},2950(e,t,n){"use strict";if(n.d(t,{L:()=>o,m:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(583);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(2195);function s(e,t){return(0,r.FY)((0,r.bS)(e.getBoundingClientRect(),t))}function o(e,t,n){const r=s(e,n),{scroll:o}=t;return o&&((0,i.Ql)(r.x,o.offset.x),(0,i.Ql)(r.y,o.offset.y)),r}},1071(e,t,n){"use strict";function r(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy(((...t)=>e(...t)),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}n.d(t,{I:()=>r})},8624(e,t,n){"use strict";n.d(t,{G:()=>P});var r=n(781),i=n(1e3);const s={animation:{Feature:r.j},exit:{Feature:i.H}};var o=n(5753),a=n(983),l=n(8181),u=n(6729);const c={pan:{Feature:a.f},drag:{Feature:o.w,ProjectionNode:u.P,MeasureLayout:l.$}};var d=n(8581),f=n(9587),p=n(5750);const h={inView:{Feature:n(4495).x},tap:{Feature:p.H},focus:{Feature:f.c},hover:{Feature:d.e}},m={layout:{ProjectionNode:u.P,MeasureLayout:l.$}};var v=n(5045),g=n(1511),y=n(9),b=n(3574),w=n(8868);function x(e,t){return function(n,{forwardMotionProps:r}={forwardMotionProps:!1}){const i={...(0,g.Q)(n)?y.X:b.S,preloadedFeatures:e,useRender:(0,w.o)(r),createVisualElement:t,Component:n};return(0,v.Z)(i)}}var E=n(6540),S=n(8406),T=n(4302);const P=x({...s,...h,...c,...m},((e,t)=>(0,g.Q)(e)?new T.l(t):new S.M(t,{allowProjection:e!==E.Fragment})))},7211(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1071);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(8624);const s=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:(0,r.I)(i.G);n.d(t,["P",0,s])},5062(e,t,n){"use strict";n.d(t,{K:()=>v});var r=n(8299);var i=n(237),s=n(4787),o=n(5563);const a=new Set(["auto","none","0"]);var l=n(3532),u=n(1597),c=n(8657),d=n(6639);const f=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function p(e,t,n=1){(0,u.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=function(e){const t=f.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${null!=n?n:r}`,i]}(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const e=s.trim();return(0,c.i)(e)?parseFloat(e):e}return(0,d.p)(i)?p(i,t,n+1):i}var h=n(4387),m=n(5963);class v extends l.h{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,d.p)(r))){const i=p(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!i.$.has(n)||2!==e.length)return;const[r,s]=e,o=(0,m.n)(r),a=(0,m.n)(s);if(o!==a)if((0,h.E4)(o)&&(0,h.E4)(a))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)("number"==typeof(i=e[t])?0===i:null===i||"none"===i||"0"===i||(0,r.$)(i))&&n.push(t);var i;n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){const t=e[i];"string"==typeof t&&!a.has(t)&&(0,s.V)(t).values.length&&(r=e[i]),i++}if(r&&n)for(const i of t)e[i]=(0,o.J)(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=h.Hr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=h.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
2h((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}},7291(e,t,n){"use strict";n.d(t,{b:()=>C});var r=n(5487),i=n(225),s=n(2541),o=n(8657),a=n(8299),l=n(5180),u=n(147),c=n(8713),d=n(4192),f=n(4787),p=n(5649),h=n(5563),m=n(4133),v=n(892),g=n(544),y=n(210),b=n(3532),w=n(5132),x=n(9328),E=n(7697);const S=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class T{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=b.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=r.k.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,E.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:u,onUpdate:c}=o;this.onUpdate=c,this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=Boolean(s),this.isControllingVariants=(0,y.e)(t),this.isVariantNode=(0,y.O)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in f){const t=f[e];void 0!==l[e]&&(0,p.S)(t)&&t.set(l[e],!1)}}mount(e){this.current=e,g.C.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),u.r.current||(0,l.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||u.O.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){g.C.delete(this.current),this.projection&&this.projection.unmount(),(0,E.WG)(this.notifyUpdate),(0,E.WG)(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=v.f.has(e),r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&E.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),i=t.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{r(),i(),s&&s(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in i.B){const t=i.B[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,s.ge)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<S.length;t++){const n=S[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=(0,w.U)(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
2addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,d.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&((0,o.i)(r)||(0,a.$)(r))?r=parseFloat(r):!(0,m.t)(r)&&f.f.test(t)&&(r=(0,h.J)(e,t)),this.setBaseTarget(e,(0,p.S)(r)?r.get():r)),(0,p.S)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let r;if("string"==typeof n||"object"==typeof n){const i=(0,x.a)(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);i&&(r=i[e])}if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||(0,p.S)(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new c.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}var P=n(5062);class C extends T{constructor(){super(...arguments),this.KeyframeResolver=P.K}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;(0,p.S)(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}},8868(e,t,n){"use strict";n.d(t,{o:()=>u});var r=n(6540);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(3679);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(6350);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(1511);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(3288);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(5649);function u(e=!1){return(t,n,u,{latestValues:c},d)=>{const f=((0,o.Q)(t)?a.u:i.b)(n,c,d,t),p=(0,s.J)(n,"string"==typeof t,e),h=t!==r.Fragment?{...p,...f,ref:u}:{},{children:m}=n,v=(0,r.useMemo)((()=>(0,l.S)(m)?m.get():m),[m]);return(0,r.createElement)(t,{...h,children:v})}}},285(e,t,n){"use strict";n.d(t,["I",0,e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()])},6350(e,t,n){"use strict";n.d(t,{J:()=>a});const r=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function i(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||r.has(e)}let s=e=>!i(e);try{(o=require("@emotion/is-prop-valid").default)&&(s=e=>e.startsWith("on")?!i(e):o(e))}catch(e){}var o;function a(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(s(o)||!0===n&&i(o)||!t&&!i(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}},6639(e,t,n){"use strict";const r=e=>t=>"string"==typeof t&&t.startsWith(e),i=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:r("--"),s=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:r("var(--"),o=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;n.d(t,["j",0,i,"p",0,e=>!!s(e)&&o.test(e.split("/*")[0].trim())])},1511(e,t,n){"use strict";if(n.d(t,{Q:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(107);function i(e){return"string"==typeof e&&!e.includes("-")&&!!(r.J.indexOf(e)>-1||/[A-Z]/u.test(e))}},482(e,t,n){"use strict";function r(e){return e instanceof SVGElement&&"svg"!==e.tagName}n.d(t,{x:()=>r})},4387(e,t,n){"use strict";if(n.d(t,{W9:()=>c}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5453);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(9636);var s=n(892);const o=(e,t)=>parseFloat(e.split(", ")[t]),a=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return o(i[1],t);{const t=r.match(/^matrix\((.+)\)$/u);return t?o(t[1],e):0}},l=new Set(["x","y","z"]),u=s.U.filter((e=>!l.has(e)));function c(e){const t=[];return u.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t}const d={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:a(4,13),y:a(5,14)};d.translateX=d.x,d.translateY=d.y,n.d(t,["E4",0,e=>e===r.ai||e===i.px,"Hr",0,d])},5563(e,t,n){"use strict";if(n.d(t,{J:()=>
2o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(4787);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(9543);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(6022);function o(e,t){let n=(0,s.D)(e);return n!==i.p&&(n=r.f),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},6022(e,t,n){"use strict";var r=n(578),i=n(9543);const s={...n(8614).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:i.p,WebkitFilter:i.p};n.d(t,["D",0,e=>s[e]])},5963(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5453);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(9636);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(3284);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(536);const a=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:[r.ai,i.px,i.KN,i.uj,i.vw,i.vh,o.q];n.d(t,["T",0,a,"n",0,e=>a.find((0,s.w)(e))])},4133(e,t,n){"use strict";var r=n(578),i=n(4787),s=n(5963);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(3284);const a=[...s.T,r.y,i.f];n.d(t,["t",0,e=>a.find((0,o.w)(e))])},6766(e,t,n){"use strict";n.d(t,["e",0,(e,t)=>t&&"number"==typeof e?t.transform(e):e])},8614(e,t,n){"use strict";n.d(t,{W:()=>l});var r=n(5453),i=n(9636);const s={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,backgroundPositionX:i.px,backgroundPositionY:i.px},o={rotate:i.uj,rotateX:i.uj,rotateY:i.uj,rotateZ:i.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:i.uj,skewX:i.uj,skewY:i.uj,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:r.X4,originX:i.gQ,originY:i.gQ,originZ:i.px},a={...r.ai,transform:Math.round},l={...s,...o,zIndex:a,size:i.px,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:a}},3284(e,t,n){"use strict";n.d(t,["w",0,e=>t=>t.test(e)])},536(e,t,n){"use strict";const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{test:e=>"auto"===e,parse:e=>e};n.d(t,["q",0,r])},8406(e,t,n){"use strict";n.d(t,{M:()=>d});var r=n(2950),i=n(7291),s=n(6639),o=n(6022),a=n(6320),l=n(892),u=n(6207),c=n(657);class d extends i.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(e,t){if(l.f.has(t)){const e=(0,o.D)(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=((0,s.j)(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,r.m)(e,t)}build(e,t,n){(0,a.O)(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,c.x)(e,t,n)}}},3574(e,t,n){"use strict";var r=n(4507),i=n(657),s=n(9580);const o={useVisualState:(0,r.T)({scrapeMotionValuesFromProps:i.x,createRenderState:s.d})};n.d(t,["S",0,o])},3679(e,t,n){"use strict";n.d(t,{b:()=>c,o:()=>l});var r=n(6540);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(8708);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(5649);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(6320);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(9580);function l(e,t,n){for(const r in t)(0,s.S)(t[r])||(0,i.z)(r,n)||(e[r]=t[r])}function u(e,t){const n={};return l(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,r.useMemo)((()=>{const n=(0,a.d)();return(0,o.O)(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),n}function c(e,t){const n={},r=u(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTa
2p||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}},6320(e,t,n){"use strict";if(n.d(t,{O:()=>l}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6639);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(6766);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(8614);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(3122);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(892);function l(e,t,n){const{style:l,vars:u,transformOrigin:c}=e;let d=!1,f=!1;for(const e in t){const n=t[e];if(a.f.has(e))d=!0;else if((0,r.j)(e))u[e]=n;else{const t=(0,i.e)(n,s.W[e]);e.startsWith("origin")?(f=!0,c[e]=t):l[e]=t}}if(t.transform||(d||n?l.transform=(0,o.d)(t,e.transform,n):l.transform&&(l.transform="none")),f){const{originX:e="50%",originY:t="50%",originZ:n=0}=c;l.transformOrigin=`${e} ${t} ${n}`}}},3122(e,t,n){"use strict";if(n.d(t,{d:()=>l}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6766);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(8614);var s=n(892);const o=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=s.U.length;function l(e,t,n){let l="",u=!0;for(let c=0;c<a;c++){const a=s.U[c],d=e[a];if(void 0===d)continue;let f=!0;if(f="number"==typeof d?d===(a.startsWith("scale")?1:0):0===parseFloat(d),!f||n){const e=(0,r.e)(d,i.W[a]);if(!f){u=!1;l+=`${o[a]||a}(${e}) `}n&&(t[a]=e)}}return l=l.trim(),n?l=n(t,u?"":l):u&&(l="none"),l}},9580(e,t,n){"use strict";n.d(t,["d",0,()=>({style:{},transform:{},transformOrigin:{},vars:{}})])},237(e,t,n){"use strict";var r=n(892);const i=new Set(["width","height","top","left","right","bottom",...r.U]);n.d(t,["$",0,i])},892(e,t,n){"use strict";const r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r);n.d(t,["U",0,r,"f",0,i])},6207(e,t,n){"use strict";function r(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}n.d(t,{e:()=>r})},657(e,t,n){"use strict";if(n.d(t,{x:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(8708);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(5649);function s(e,t,n){var s;const{style:o}=e,a={};for(const l in o)((0,i.S)(o[l])||t.style&&(0,i.S)(t.style[l])||(0,r.z)(l,e)||void 0!==(null===(s=null==n?void 0:n.getValue(l))||void 0===s?void 0:s.liveStyle))&&(a[l]=o[l]);return a}},544(e,t,n){"use strict";const r=new WeakMap;n.d(t,["C",0,r])},4302(e,t,n){"use strict";n.d(t,{l:()=>p});var r=n(2541),i=n(7291),s=n(285),o=n(6022),a=n(892),l=n(897),u=n(9202),c=n(4844),d=n(4138),f=n(8784);class p extends i.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.ge}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(a.f.has(t)){const e=(0,o.D)(t);return e&&e.default||0}return t=u.e.has(t)?t:(0,s.I)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,f.x)(e,t,n)}
2build(e,t,n){(0,l.B)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){(0,d.d)(e,t,n,r)}mount(e){this.isSVGTag=(0,c.n)(e.tagName),super.mount(e)}}},9(e,t,n){"use strict";var r=n(7697),i=n(4507),s=n(892),o=n(897),a=n(6979),l=n(4844),u=n(4138),c=n(8784);const d=["x","y","width","height","cx","cy","r"],f={useVisualState:(0,i.T)({scrapeMotionValuesFromProps:c.x,createRenderState:a.s,onUpdate:({props:e,prevProps:t,current:n,renderState:i,latestValues:a})=>{if(!n)return;let c=!!e.drag;if(!c)for(const e in a)if(s.f.has(e)){c=!0;break}if(!c)return;let f=!t;if(t)for(let n=0;n<d.length;n++){const r=d[n];e[r]!==t[r]&&(f=!0)}f&&r.Gt.read((()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(n,i),r.Gt.render((()=>{(0,o.B)(i,a,(0,l.n)(n.tagName),e.transformTemplate),(0,u.d)(n,i)}))}))}})};n.d(t,["X",0,f])},107(e,t,n){"use strict";const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];n.d(t,["J",0,r])},3288(e,t,n){"use strict";n.d(t,{u:()=>l});var r=n(6540);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(3679);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(897);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(6979);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(4844);function l(e,t,n,l){const u=(0,r.useMemo)((()=>{const n=(0,o.s)();return(0,s.B)(n,t,(0,a.n)(l),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};(0,i.o)(t,e.style,e),u.style={...t,...u.style}}return u}},897(e,t,n){"use strict";if(n.d(t,{B:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6320);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(599);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(2666);function o(e,{attrX:t,attrY:n,attrScale:o,originX:a,originY:l,pathLength:u,pathSpacing:c=1,pathOffset:d=0,...f},p,h){if((0,r.O)(e,f,h),p)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:v,dimensions:g}=e;m.transform&&(g&&(v.transform=m.transform),delete m.transform),g&&(void 0!==a||void 0!==l||v.transform)&&(v.transformOrigin=(0,s.w)(g,void 0!==a?a:.5,void 0!==l?l:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==o&&(m.scale=o),void 0!==u&&(0,i.C)(m,u,c,d,!1)}},9202(e,t,n){"use strict";const r=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);n.d(t,["e",0,r])},6979(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(9580);n.d(t,["s",0,()=>({...(0,r.d)(),attrs:{}})])},4844(e,t,n){"use strict";n.d(t,["n",0,e=>"string"==typeof e&&"svg"===e.toLowerCase()])},599(e,t,n){"use strict";if(n.d(t,{C:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(9636);const i=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{offset:"stroke-dashoffset",array:"stroke-dasharray"},s=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{offset:"strokeDashoffset",array:"strokeDasharray"};function o(e,t,n=1,o=0,a=!0){e.pathLength=1;const l=a?i:s;e[l.offset]=r.px.transform(-o);const u=r.px.transform(t),c=r.px.transform(n);e[l.array]=`${u} ${c}`}},4138(e,t,n){"use strict";if(n.d(t,{d:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(285);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(6207);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(9202);function o(e,t,n,o){(0,i.e)(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(s.e.has(n)?n:(0,r.I)(n),t.attrs[n])}},8784(e,t,n){"use strict";if(n.d(t,{x:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5649);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(892);
2if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(657);function o(e,t,n){const o=(0,s.x)(e,t,n);for(const n in e)if((0,r.S)(e[n])||(0,r.S)(t[n])){o[-1!==i.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return o}},2666(e,t,n){"use strict";if(n.d(t,{w:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(9636);function i(e,t,n){return"string"==typeof e?e:r.px.transform(t+n*e)}function s(e,t,n){return`${i(t,e.x,e.width)} ${i(n,e.y,e.height)}`}},3532(e,t,n){"use strict";if(n.d(t,{h:()=>d,q:()=>c}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(4387);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(7697);const s=new Set;let o=!1,a=!1;function l(){if(a){const e=Array.from(s).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=(0,r.W9)(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}a=!1,o=!1,s.forEach((e=>e.complete())),s.clear()}function u(){s.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(a=!0)}))}function c(){u(),l()}class d{constructor(e,t,n,r,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(s.add(this),o||(o=!0,i.Gt.read(u),i.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i<e.length;i++)if(null===e[i])if(0===i){const i=null==r?void 0:r.get(),s=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){const r=n.readValue(t,s);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=s),r&&void 0===i&&r.set(e[0])}else e[i]=e[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),s.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,s.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},1710(e,t,n){"use strict";n.d(t,["u",0,(e,t)=>e.depth-t.depth])},1103(e,t,n){"use strict";if(n.d(t,{Y:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5383);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(1710);class s{constructor(){this.children=[],this.isDirty=!1}add(e){(0,r.Kq)(this.children,e),this.isDirty=!0}remove(e){(0,r.Ai)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(i.u),this.isDirty=!1,this.children.forEach(e)}}},9791(e,t,n){"use strict";if(n.d(t,{V:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1806);var i=n(3031);const s=i._.length;function o(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&o(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<s;n++){const s=i._[n],o=e.props[s];((0,r.w)(o)||!1===o)&&(t[s]=o)}return t}},210(e,t,n){"use strict";if(n.d(t,{O:()=>a,e:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1039);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(1806);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(3031);function o(e){return(0,r.N)(e.animate)||s._.some((t=>(0,i.w)(e[t])))}function a(e){return Boolean(o(e)||e.variants)}},1806(e,t,n){"use strict";function r(e){return"string"==typeof e||Array.isArray(e)}n.d(t,{w:()=>r})},5132(e,t,n){"use strict";if(n.d(t,{U:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(4192);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(5649);function s(e,t,n){for(const s in t){const o=t[s],a=n[s];if((0,i.S)(o))e.addValue(s,o);else if((0,i.S)(a))e.addValue(s,(0,r.OQ)(o,{owner:e}));else if(a!==o)if(e.hasValue(s)){const t=e.getValue(s);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(s);e.addValue(s,(0,r.OQ)(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}},9156(e,t,n){"use strict";if(n.d(t,{K:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(9328);function i(e,t,n){const i=e.getProps();return(0,r.a)(i,t,void 0!==n?n:i.custom,e)}},9328(e,t,n){"use strict";function r(e){const t=[{},{}];
2return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function i(e,t,n,i){if("function"==typeof t){const[s,o]=r(i);t=t(void 0!==n?n:e.custom,s,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[s,o]=r(i);t=t(void 0!==n?n:e.custom,s,o)}return t}n.d(t,{a:()=>i})},8565(e,t,n){"use strict";if(n.d(t,{U:()=>a}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(8608);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(4192);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(9156);function o(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,i.OQ)(n))}function a(e,t){const n=(0,s.K)(e,t);let{transitionEnd:i={},transition:a={},...l}=n||{};l={...l,...i};for(const t in l){o(e,t,(0,r.K)(l[t]))}}},3031(e,t,n){"use strict";const r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...r];n.d(t,["U",0,r,"_",0,i])},3627(e,t,n){"use strict";const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{skipAnimations:!1,useManualTiming:!1};n.d(t,["W",0,r])},5383(e,t,n){"use strict";function r(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{Ai:()=>i,Kq:()=>r})},1701(e,t,n){"use strict";n.d(t,["q",0,(e,t,n)=>n>t?t:n<e?e:n])},5153(e,t,n){"use strict";if(n.d(t,{c:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5487);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(7697);function s(e,t){const n=r.k.now(),s=({timestamp:r})=>{const o=r-n;o>=t&&((0,i.WG)(s),e(o-t))};return i.Gt.read(s,!0),()=>(0,i.WG)(s)}},2013(e,t,n){"use strict";n.d(t,{w:()=>i});const r=(e,t)=>Math.abs(e-t);function i(e,t){const n=r(e.x,t.x),i=r(e.y,t.y);return Math.sqrt(n**2+i**2)}},6211(e,t,n){"use strict";n.d(t,["s",0,({current:e})=>e?e.ownerDocument.defaultView:null])},6539(e,t,n){"use strict";function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function i({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let s=0,o=0,a=0;if(t/=100){const i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;s=r(l,i,e+1/3),o=r(l,i,e),a=r(l,i,e-1/3)}else s=o=a=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*a),alpha:i}}n.d(t,{a:()=>i})},885(e,t,n){"use strict";if(n.d(t,{G:()=>u}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1597);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(200);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(4509);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(1701);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(4747);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(4876);function u(e,t,{clamp:n=!0,ease:u,mixer:c}={}){const d=e.length;if((0,r.V)(d===t.length,"Both input and output ranges must be the same length"),1===d)return()=>t[0];if(2===d&&t[0]===t[1])return()=>t[1];const f=e[0]===e[1];e[0]>e[d-1]&&(e=[...e].reverse(),t=[...t].reverse());const p=function(e,t,n){const r=[],s=n||a.j,o=e.length-1;for(let n=0;n<o;n++){let o=s(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||i.l:t;o=(0,l.F)(e,o)}r.push(o)}return r}(t,u,c),h=p.length,m=n=>{if(f&&n<e[0])return t[0];let r=0;if(h>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const i=(0,s.q)(e[r],e[r+1],n);return p[r](i)};return n?t=>m((0,o.q)(e[0],e[d-1],t)):m}},6559(e,t,n){"use strict";const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:"undefined"!=typeof window;n.d(t,["B",0,r])},8657(e,t,n){"use strict";n.d(t,["i",0,e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)])},3988(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}n.d(t,{X:()=>r})},8299(e,t,n){"use strict";n.d(t,["$",0,e=>/^0[^.\s]+$/u.test(e)])},6402(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5994);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(1597);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(6539);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(1785);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(5116);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(7392);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(3580);const c=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},d=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:[o.u,a.B,l.V];function f(e){const t=(n=e,d.find((e=>e.test(n))));var n;if((0,i.$)(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let r=t.parse(e);return t===l.V&&(r=(0,s.a)(r)),r}n.d(t,["i",0,(e,t)=>{const n=f(e),i=f(t);if(!n||!i)return(0,u.O)(e,t);const s={...n};return e=>(s.red=c(n.red,i.red,e),s.green=c(n.green,i.green,e),s.blue=c(n.blue,i.blue,e),s.alpha=(0,r.k)(n.alpha,i.alpha,e),a.B.transform(s))}])},2439(e,t,n){"use strict";if(n.d(t,{W_:()=>p}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5994);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(6402);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(4876);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(1597);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(578);
2if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(4787);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(6639);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var c=n(2309);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var d=n(3580);function f(e,t){return n=>(0,r.k)(e,t,n)}function p(e){return"number"==typeof e?f:"string"==typeof e?(0,u.p)(e)?d.O:a.y.test(e)?i.i:v:Array.isArray(e)?h:"object"==typeof e?a.y.test(e)?i.i:m:d.O}function h(e,t){const n=[...e],r=n.length,i=e.map(((e,n)=>p(e)(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function m(e,t){const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=p(e[i])(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const v=(e,t)=>{const n=l.f.createTransformer(t),r=(0,l.V)(e),i=(0,l.V)(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?c.Q.has(e)&&!i.values.length||c.Q.has(t)&&!r.values.length?(0,c.v)(e,t):(0,s.F)(h(function(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],a=e.indexes[o][i[o]],l=null!==(n=e.values[a])&&void 0!==n?n:0;r[s]=l,i[o]++}return r}(r,i),i.values),n):((0,o.$)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),(0,d.O)(e,t))}},3580(e,t,n){"use strict";function r(e,t){return n=>n>0?t:e}n.d(t,{O:()=>r})},4747(e,t,n){"use strict";if(n.d(t,{j:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(2439);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(5994);function s(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return(0,i.k)(e,t,n);return(0,r.W_)(e)(e,t)}},5994(e,t,n){"use strict";n.d(t,["k",0,(e,t,n)=>e+(t-e)*n])},2309(e,t,n){"use strict";n.d(t,{v:()=>i});const r=new Set(["none","hidden"]);function i(e,t){return r.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}n.d(t,["Q",0,r])},1790(e,t,n){"use strict";if(n.d(t,{Z:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1124);function i(e){const t=[0];return(0,r.f)(t,e.length-1),t}},1124(e,t,n){"use strict";if(n.d(t,{f:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(4509);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(5994);function s(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const o=(0,r.q)(0,t,s);e.push((0,i.k)(n,1,o))}}},9020(e,t,n){"use strict";function r(e,t){return e.map((e=>e*t))}n.d(t,{A:()=>r})},4876(e,t,n){"use strict";const r=(e,t)=>n=>t(e(n));n.d(t,["F",0,(...e)=>e.reduce(r)])},5180(e,t,n){"use strict";if(n.d(t,{U:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6559);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(147);function s(){if(i.r.current=!0,r.B)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>i.O.current=e.matches;e.addListener(t),t()}else i.O.current=!1}},147(e,t,n){"use strict";const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{current:null},i=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{current:!1};n.d(t,["O",0,r,"r",0,i])},8608(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6397);n.d(t,["B",0,e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),"K",0,e=>(0,r.p)(e)?e[e.length-1]||0:e])},7326(e,t,n){"use strict";function r(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}n.d(t,{a:()=>r})},8713(e,t,n){"use strict";if(n.d(t,{v:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5383);class i{constructor(){this.subscriptions=[]}add(e){return(0,r.Kq)(this.subscriptions,e),()=>(0,r.Ai)(this.subscriptions,e)}
2notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},9474(e,t,n){"use strict";n.d(t,{M:()=>i});var r=n(6540);function i(e){const t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},7519(e,t,n){"use strict";const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{current:!1};n.d(t,["d",0,r])},3797(e,t,n){"use strict";var r=n(6540);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(6559);const s=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:i.B?r.useLayoutEffect:r.useEffect;n.d(t,["E",0,s])},7052(e,t,n){"use strict";function r(e,t){return t?e*(1e3/t):0}n.d(t,{f:()=>r})},4192(e,t,n){"use strict";if(n.d(t,{OQ:()=>u}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5487);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(8713);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(7052);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(7697);const a=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{current:void 0};class l{constructor(e,t={}){this.version="12.0.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=r.k.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=r.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new i.v);const n=this.events[e].add(t);return"change"===e?()=>{n(),o.Gt.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=r.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(e,t){return new l(e,t)}},1785(e,t,n){"use strict";var r=n(5116);const i={test:(0,n(6841).$)("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.B.transform};n.d(t,["u",0,i])},7392(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5453);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(9636);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(9525);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(6841);const a=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+i.KN.transform((0,s.a)(t))+", "+i.KN.transform((0,s.a)(n))+", "+(0,s.a)(r.X4.transform(o))+")"};n.d(t,["V",0,a])},578(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1785);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(7392);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(5116);const o=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{test:e=>s.B.test(e)||r.u.test(e)||i.V.test(e),parse:e=>s.B.test(e)?s.B.parse(e):i.V.test(e)?i.V.parse(e):r.u.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?s.B.transform(e):i.V.transform(e)};n.d(t,["y",0,o])},5116(e,t,n){"use strict";var r=n(1701),i=n(5453);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(9525);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(6841);const a={...i.ai,transform:e=>Math.round((e=>(0,r.q)(0,255,e))(e))},l=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+a.transform(e)+", "+a.transform(t)+", "+a.transform(n)+", "+(0,s.a)(i.X4.transform(r))+")"};n.d(t,["B",0,l])}
2,6841(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(9624);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(1002);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(2043);n.d(t,["$",0,(e,t)=>n=>Boolean("string"==typeof n&&s.F.test(n)&&n.startsWith(e)||t&&!(0,i.u)(n)&&Object.prototype.hasOwnProperty.call(n,t)),"q",0,(e,t,n)=>i=>{if("string"!=typeof i)return i;const[s,o,a,l]=i.match(r.S);return{[e]:parseFloat(s),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}])},9543(e,t,n){"use strict";var r=n(4787),i=n(9624);const s=new Set(["brightness","contrast","saturate","opacity"]);function o(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(i.S)||[];if(!r)return e;const o=n.replace(r,"");let a=s.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+o+")"}const a=/\b([a-z-]*)\(.*?\)/gu,l={...r.f,getAnimatableNone:e=>{const t=e.match(a);return t?t.map(o).join(" "):e}};n.d(t,["p",0,l])},4787(e,t,n){"use strict";if(n.d(t,{V:()=>c}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(578);
2if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(2215);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(9624);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(9525);const a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function c(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},s=[];let o=0;const c=t.replace(u,(e=>(r.y.test(e)?(i.color.push(o),s.push(l),n.push(r.y.parse(e))):e.startsWith("var(")?(i.var.push(o),s.push("var"),n.push(e)):(i.number.push(o),s.push(a),n.push(parseFloat(e))),++o,"${}"))).split("${}");return{values:n,split:c,indexes:i,types:s}}function d(e){return c(e).values}function f(e){const{split:t,types:n}=c(e),i=t.length;return e=>{let s="";for(let u=0;u<i;u++)if(s+=t[u],void 0!==e[u]){const t=n[u];s+=t===a?(0,o.a)(e[u]):t===l?r.y.transform(e[u]):e[u]}return s}}const p=e=>"number"==typeof e?0:e;const h=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(s.S))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(i.n))||void 0===n?void 0:n.length)||0)>0},parse:d,createTransformer:f,getAnimatableNone:function(e){const t=d(e);return f(e)(t.map(p))}};n.d(t,["f",0,h])},5453(e,t,n){"use strict";var r=n(1701);const i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},s={...i,transform:e=>(0,r.q)(0,1,e)},o={...i,default:1};n.d(t,["X4",0,s,"ai",0,i,"hs",0,o])},9636(e,t,n){"use strict";const r=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:r("deg"),s=r("%"),o=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:r("px"),a=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:r("vh"),l=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:r("vw"),u={...s,parse:e=>s.parse(e)/100,transform:e=>s.transform(100*e)};n.d(t,["KN",0,s,"gQ",0,u,"px",0,o,"uj",0,i,"vh",0,a,"vw",0,l])},2215(e,t,n){"use strict";n.d(t,["n",0,/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu])},9624(e,t,n){"use strict";n.d(t,["S",0,/-?(?:\d+(?:\.\d+)?|\.\d+)/gu])},1002(e,t,n){"use strict";function r(e){return null==e}n.d(t,{u:()=>r})},9525(e,t,n){"use strict";n.d(t,["a",0,e=>Math.round(1e5*e)/1e5])},2043(e,t,n){"use strict";n.d(t,["F",0,/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu])},8733(e,t,n){"use strict";if(n.d(t,{g:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(7186);function i(e,t){const n=e.getValue("willChange");if((0,r.k)(n))return n.add(t)}},7186(e,t,n){"use strict";if(n.d(t,{k:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(5649);function i(e){return Boolean((0,r.S)(e)&&e.add)}},5649(e,t,n){"use strict";n.d(t,["S",0,e=>Boolean(e&&e.getVelocity)])},749(e,t,n){"use strict";if(n.d(t,{u:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(8608);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(5649);function s(e){const t=(0,i.S)(e)?e.get():e;return(0,r.B)(t)?t.toValue():t}},8619(e,t,n){"use strict";if(n.d(t,{e:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(215);class i{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map((e=>"finished"in e?e.finished:e)))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map((n=>(0,r.J)()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0));return()=>
2{n.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}},2854(e,t,n){"use strict";if(n.d(t,{P:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(8619);class i extends(/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:r.e){then(e,t){return Promise.all(this.animations).then(e).catch(t)}}},5605(e,t,n){"use strict";n.d(t,{t:()=>r});function r(e){let t=0;let n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}},8347(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,{W:()=>r})},5838(e,t,n){"use strict";function r(e,t){return e?e[t]||e.default||e:void 0}n.d(t,{r:()=>r})},9330(e,t,n){"use strict";if(n.d(t,{TU:()=>u,yL:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(7373);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(9121);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(2170);function o(e){return Boolean("function"==typeof e&&(0,i.n)()||!e||"string"==typeof e&&(e in l||(0,i.n)())||(0,r.D)(e)||Array.isArray(e)&&e.every(o))}const a=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,l=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:a([0,.65,.55,1]),circOut:a([.55,0,1,.45]),backIn:a([.31,.01,.66,-.59]),backOut:a([.33,1.53,.69,.99])};function u(e,t){return e?"function"==typeof e&&(0,i.n)()?(0,s.K)(e,t):(0,r.D)(e)?a(e):Array.isArray(e)?e.map((e=>u(e,t)||l.easeOut)):l[e]:void 0}},2170(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(4509);n.d(t,["K",0,(e,t,n=10)=>{let i="";const s=Math.max(Math.round(t/n),2);for(let t=0;t<s;t++)i+=e((0,r.q)(0,s-1,t))+", ";return`linear(${i.substring(0,i.length-2)})`}])},6874(e,t,n){"use strict";n.d(t,{D:()=>i});const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{x:!1,y:!1};function i(){return r.x||r.y}n.d(t,["I",0,r])},4024(e,t,n){"use strict";if(n.d(t,{W:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6874);function i(e){return"x"===e||"y"===e?r.I[e]?null:(r.I[e]=!0,()=>{r.I[e]=!1}):r.I.x||r.I.y?null:(r.I.x=r.I.y=!0,()=>{r.I.x=r.I.y=!1})}},6050(e,t,n){"use strict";if(n.d(t,{P:()=>o}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6874);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(3185);function s(e){return!("touch"===e.pointerType||(0,r.D)())}function o(e,t,n={}){const[r,o,a]=(0,i.V)(e,n),l=e=>{if(!s(e))return;const{target:n}=e,r=t(n,e);if("function"!=typeof r||!n)return;const i=e=>{s(e)&&(r(e),n.removeEventListener("pointerleave",i))};n.addEventListener("pointerleave",i,o)};return r.forEach((e=>{e.addEventListener("pointerenter",l,o)})),a}},8220(e,t,n){"use strict";if(n.d(t,{c:()=>d}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(6874);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(2878);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var s=n(2979);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var o=n(3185);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var a=n(4767);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var l=n(1353);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var u=n(785);function c(e){return(0,s.M)(e)&&!(0,r.D)()}function d(e,t,n={}){const[r,s,d]=(0,o.V)(e,n),f=e=>{const r=e.currentTarget;if(!c(e)||u.Q.has(r))return;u.Q.add(r);const o=t(r,e),a=(e,t)=>{window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",d),c(e)&&u.Q.has(r)&&(u.Q.delete(r),"function"==typeof o&&o(e,{success:t}))},l=e=>{a(e,n.useGlobalTarget||(0,i.w)(r,e.target))},d=e=>{a(e,!1)};window.addEventListener("pointerup",l,s),window.addEventListener("pointercancel",d,s)};return r.forEach((e=>{(0,a.c)(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0);(n.useGlobalTarget?window:e).addEventListener("pointerdown",f,s),e.addEventListener("focus",(e=>
2(0,l.s)(e,s)),s)})),d}},4767(e,t,n){"use strict";n.d(t,{c:()=>i});const r=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function i(e){return r.has(e.tagName)||-1!==e.tabIndex}},1353(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(785);function i(e){return t=>{"Enter"===t.key&&e(t)}}function s(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}n.d(t,["s",0,(e,t)=>{const n=e.currentTarget;if(!n)return;const o=i((()=>{if(r.Q.has(n))return;s(n,"down");const e=i((()=>{s(n,"up")}));n.addEventListener("keyup",e,t),n.addEventListener("blur",(()=>s(n,"cancel")),t)}));n.addEventListener("keydown",o,t),n.addEventListener("blur",(()=>n.removeEventListener("keydown",o)),t)}])},785(e,t,n){"use strict";const r=new WeakSet;n.d(t,["Q",0,r])},2878(e,t,n){"use strict";const r=(e,t)=>!!t&&(e===t||r(e,t.parentElement));n.d(t,["w",0,r])},2979(e,t,n){"use strict";n.d(t,["M",0,e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary])},3185(e,t,n){"use strict";if(n.d(t,{V:()=>i}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(3497);function i(e,t){const n=(0,r.K)(e),i=new AbortController;return[n,{passive:!0,...t,signal:i.signal},()=>i.abort()]}},7373(e,t,n){"use strict";n.d(t,["D",0,e=>Array.isArray(e)&&"number"==typeof e[0]])},3497(e,t,n){"use strict";function r(e,t,n){var r;if(e instanceof Element)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);const s=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:i.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}n.d(t,{K:()=>r})},2435(e,t,n){"use strict";const r=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:{linearEasing:void 0};n.d(t,["e",0,r])},9121(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(1620);const i=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:(0,r.J)((()=>{try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing");n.d(t,["n",0,i])},1620(e,t,n){"use strict";if(n.d(t,{J:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(4346);if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var i=n(2435);function s(e,t){const n=(0,r.p)(e);return()=>{var e;return null!==(e=i.e[t])&&void 0!==e?e:n()}}},215(e,t,n){"use strict";if(!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(4346);const i=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:(0,r.p)((()=>void 0!==window.ScrollTimeline));n.d(t,["J",0,i])},1597(e,t,n){"use strict";if(n.d(t,{$:()=>i,V:()=>s}),!/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j))var r=n(200);let i=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:r.l,s=/^(4(05|38|44|82|88)|5(24|52|94)|7(1|98|99)|204|883)$/.test(n.j)?null:r.l},4346(e,t,n){"use strict";function r(e){let t;return()=>(void 0===t&&(t=e()),t)}n.d(t,{p:()=>r})},200(e,t,n){"use strict";n.d(t,["l",0,e=>e])},4509(e,t,n){"use strict";n.d(t,["q",0,(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r}])},2444(e,t,n){"use strict";n.d(t,["X",0,e=>e/1e3,"f",0,e=>1e3*e])},2558(e,t,n){"use strict";n.d(t,{m:()=>V});var r=n(6540);function i(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=i(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const s=function(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=i(e))&&(r&&(r+=" "),r+=t);return r};var o=n(961),a=n(8491);const l={core:!1,base:!1};function u({css:e,id:t="react-tooltip-base-styles",type:n="base",ref:r,state:i={}}){if(!e||"undefined"==typeof document||(void 0!==i[n]?i[n]:l[n]))return;if("core"===n&&"undefined"!=typeof process&&process.env&&process.env.REACT_TOOLTIP_DISABLE_CORE_STYLES)return;if("base"===n&&"undefined"!=typeof process&&process.env&&process.env.REACT_TOOLTIP_DISABLE_BASE_STYLES)return;"core"===n&&(t="react-tooltip-core-styles"),r||(r={});const{insertAt:s}=r;if(document.getElementById(t))return;const o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.id=t,a.type="text/css","top"===s&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e)),void 0!==i[n]?i[n]=!0:l[n]=!0}const c=(0,a.UU)({fallbackAxisSideDirection:"start"}),d=(0,a.BN)({padding:5}),f=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:i=10,strategy:s="absolute",middlewares:o=[(0,a.cY)(Number(i)),c,d],border:l,arrowSize:u=8})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const f=[...o];return n?(f.push((0,a.UE)({element:n,padding:5})),(0,a.rD)(e,t,{placement:r,strategy:s,middleware:f}).then((({x:e,y:t,placement:n,middlewareData:r})=>{var i,s;const o={left:`${e}px`,top:`${t}px`,border:l},{x:a,y:c}=null!==(i=r.arrow)&&void 0!==i?i:{x:0,y:0},d=null!==(s={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==s?s:"bottom",f=l&&{borderBottom:l,borderRight:l};let p=0;if(l){const e=`${l}`.match(/(\d+)px/);p=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:o,tooltipArrowStyles:{left:null!=a?`${a}px`:"",top:null!=c?`${c}px`:"",right:"",bottom:"",...f,[d]:`-${u/2+p-1}px`},place:n}}))):(0,a.rD)(e,t,{placement:"bottom",strategy:s,middleware:f}).then((({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})))},p=(e,t,n)=>{let r=null,i=e;const s=function(...e){r||(i.apply(this,e),r=setTimeout((()=>{r=null}),t))};return s.cancel=()=>{r&&(clearTimeout(r),r=null)},s.setCallback=e=>{i=e},s},h=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const n=t.getPropertyValue(e);return"auto"===n||"scroll"===n}))},m=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(h(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},v="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,g=e=>{e.current&&(clearTimeout(e.current),e.current=null)};var y={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",content:"core-styles-module_content__BRKdB",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},b={tooltip:"styles-module_tooltip__mnnfp",content:"styles-module_content__ydYdI",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const w=new Map;let x=null;function E(e){const t=e.match(/^\[data-tooltip-id=(['"])((?:\\.|(?!\1).)*)\1\]$/);return t?t[2].replace(/\\(['"])/g,"$1"):null}function S(e){try{return{anchors:Array.from(document.querySelectorAll(e)),error:null}}catch(e){return{anchors:[],error:e instanceof Error?e:new Error(String(e))}}}function T(e,t){var n,r,i,s;const o=S(e),a=null!==(r=null===(n=o.error)||void 0===n?void 0:n.message)&&void 0!==r?r:null,l=null!==(s=null===(i=t.error)||void 0===i?void 0:i.message)&&void 0!==s?s:null;if(u=t.anchors,c=o.anchors,u.length===c.length&&u.every(((e,t)=>e===c[t]))&&a===l)return;var u,c;const d={...t,anchors:o.anchors,error:o.error};
2w.set(e,d),function(e){e.subscribers.forEach((t=>t(e.anchors,e.error)))}(d)}let P=!1,C=null,j=!1;function M(){x||"undefined"==typeof MutationObserver||(x=new MutationObserver((e=>{const t=function(e){var t;if(w.size<=4)return null;const n=new Set;for(const r of e)if("attributes"!==r.type)if("childList"!==r.type);else{const e=e=>{var t,r;for(let i=0;i<e.length;i++){const s=e[i];if(s.nodeType!==Node.ELEMENT_NODE)continue;const o=s,a=null===(t=o.getAttribute)||void 0===t?void 0:t.call(o,"data-tooltip-id");a&&n.add(a);const l=null===(r=o.querySelectorAll)||void 0===r?void 0:r.call(o,"[data-tooltip-id]");if(l){if(l.length>50)return!0;for(let e=0;e<l.length;e++){const t=l[e].getAttribute("data-tooltip-id");t&&n.add(t)}}}return!1};if(e(r.addedNodes)||e(r.removedNodes))return null}else{const e=r.target,i=null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"data-tooltip-id");i&&n.add(i),r.oldValue&&n.add(r.oldValue)}return n}(e);!function(e){if(e?(C||(C=new Set),e.forEach((e=>C.add(e)))):j=!0,P)return;P=!0;const t=()=>{P=!1;const e=j,t=C;var n;
2j=!1,C=null,e?w.forEach(((e,t)=>{T(t,e)})):t&&t.size>0&&(n=t,w.forEach(((e,t)=>{(null===e.tooltipId||n.has(e.tooltipId))&&T(t,e)})))};"function"==typeof requestAnimationFrame?requestAnimationFrame(t):Promise.resolve().then(t)}(t)})),x.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}))}function k(e,t){let n=w.get(e);if(!n){const t=S(e);n={anchors:t.anchors,error:t.error,subscribers:new Set,tooltipId:E(e)},w.set(e,n)}return n.subscribers.add(t),M(),t([...n.anchors],n.error),()=>{const n=w.get(e);n&&(n.subscribers.delete(t),0===n.subscribers.size&&w.delete(e),0===w.size&&x&&(x.disconnect(),x=null))}}const $=new Map;function A(e,t){return`${e}:${t?"capture":"bubble"}`}function L(e,t,n={}){const r=Boolean(n.capture),i=A(e,r),s=function(e,t){const n=A(e,t);let r=$.get(n);if(!r){const i=new Set,s=e=>{i.forEach((t=>{t(e)}))};r={handlers:i,dispatch:s,eventType:e,capture:t},$.set(n,r),document.addEventListener(e,s,{capture:t})}return r}(e,r);return s.handlers.add(t),()=>{s.handlers.delete(t),0===s.handlers.size&&($.delete(i),document.removeEventListener(e,s.dispatch,{capture:r}))}}let D=null;var O=(0,r.memo)((({forwardRef:e,id:t,className:n,classNameArrow:i,variant:l="dark",portalRoot:u,anchorSelect:c,place:d="top",offset:h=10,openOnClick:w=!1,positionStrategy:x="absolute",middlewares:E,wrapper:S,delayShow:T=0,delayHide:P=0,autoClose:C,float:j=!1,hidden:M=!1,noArrow:$=!1,clickable:A=!1,openEvents:O,closeEvents:R,globalCloseEvents:I,imperativeModeOnly:F,style:_,position:B,afterShow:V,afterHide:N,disableTooltip:H,content:z,contentWrapperRef:W,isOpen:U,defaultIsOpen:G=!1,setIsOpen:q,previousActiveAnchor:Y,activeAnchor:X,setActiveAnchor:K,border:Z,opacity:Q,arrowColor:J,arrowSize:ee=8,role:te="tooltip"})=>{var ne;const re=(0,r.useRef)(null),ie=(0,r.useRef)(null),se=(0,r.useRef)(null),oe=(0,r.useRef)(null),ae=(0,r.useRef)(null),le=(0,r.useRef)(null),[ue,ce]=(0,r.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[de,fe]=(0,r.useState)(!1),[pe,he]=(0,r.useState)(!1),[me,ve]=(0,r.useState)(null),ge=(0,r.useRef)(!1),ye=(0,r.useRef)(null),be=(0,r.useRef)(!1),we=(0,r.useRef)(!1),xe=(0,r.useRef)({getBoundingClientRect:()=>({x:0,y:0,width:0,height:0,top:0,left:0,right:0,bottom:0})});v((()=>(we.current=!0,()=>{we.current=!1})),[]);const Ee=(0,r.useCallback)((e=>{we.current&&(e&&he(!0),setTimeout((()=>{we.current&&(null==q||q(e),void 0===U&&fe(e))}),10))}),[U,q]);(0,r.useEffect)((()=>{if(t){if(de){n(Y);const r=e(X),i=[...new Set([...r,t])].filter(Boolean).join(" ");null==X||X.setAttribute("aria-describedby",i)}else n(X);return()=>{n(X),n(Y)}}function e(e){var t;return(null===(t=null==e?void 0:e.getAttribute("aria-describedby"))||void 0===t?void 0:t.split(" "))||[]}function n(n){const r=e(n).filter((e=>e!==t));r.length?null==n||n.setAttribute("aria-describedby",r.join(" ")):null==n||n.removeAttribute("aria-describedby")}}),[X,de,t,Y]),(0,r.useEffect)((()=>{if(void 0===U)return()=>null;U&&he(!0);const e=setTimeout((()=>{fe(U)}),10);return()=>{clearTimeout(e)}}),[U]),(0,r.useEffect)((()=>{if(de!==ge.current)if(g(le),ge.current=de,de)null==V||V();else{if(null===D){const e=getComputedStyle(document.body);D=(e=>{const t=e.match(/^([\d.]+)(m?s)$/);if(!t)return 0;const[,n,r]=t;return Number(n)*("ms"===r?1:1e3)})(e.getPropertyValue("--rt-transition-show-delay"))}const e=D;le.current=setTimeout((()=>{he(!1),ve(null),null==N||N()}),e+25)}}),[N,V,de]),(0,r.useEffect)((()=>(g(ae),!de||!C||C<=0||(ae.current=setTimeout((()=>{Ee(!1)}),C)),()=>{g(ae)})),[X,C,Ee,de]);const Se=(0,r.useCallback)((e=>{we.current&&ce((t=>t.place===e.place&&t.tooltipStyles.left===e.tooltipStyles.left&&t.tooltipStyles.top===e.tooltipStyles.top&&t.tooltipStyles.border===e.tooltipStyles.border&&t.tooltipArrowStyles.left===e.tooltipArrowStyles.left&&t.tooltipArrowStyles.top===e.tooltipArrowStyles.top&&t.tooltipArrowStyles.right===e.tooltipArrowStyles.right&&t.tooltipArrowStyles.bottom===e.tooltipArrowStyles.bottom&&t.tooltipArrowStyles.borderBottom===e.tooltipArrowStyles.borderBottom&&t.tooltipArrowStyles.borderRight===e.tooltipArrowStyles.borderRight?t:e))}),[]),Te=(0,r.useRef)(pe);Te.current=pe;const Pe=(0,r.useCallback)(((e=T)=>{se.current&&clearTimeout(se.current),Te.current?Ee(!0):se.current=setTimeout((()=>{Ee(!0)}),e)}),[T,Ee]),Ce=(0,r.useCallback)(((e=P)=>{oe.current&&clearTimeout(oe.current),oe.current=setTimeout((()=>{be.current||Ee(!1)}),e)}),[P,Ee]),je=(0,r.useCallback)((({x:e,y:t})=>{var n;xe.current.getBoundingClientRect=()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t}),f({place:null!==(n=null==me?void 0:me.place)&&void 0!==n?n:d,offset:h,elementReference:xe.current,tooltipReference:re.current,tooltipArrowReference:ie.current,strategy:x,middlewares:E,border:Z,arrowSize:ee}).then((e=>{Se(e)}))}),[null==me?void 0:me.place,d,h,x,E,Z,ee,Se]),Me=(0,r.useCallback)((()=>{var e,t;const n=null!==(e=null==me?void 0:me.position)&&void 0!==e?e:B;n?je(n):j?ye.current&&je(ye.current):(null==X?void 0:X.isConnected)&&f({place:null!==(t=null==me?void 0:me.place)&&void 0!==t?t:d,offset:h,elementReference:X,tooltipReference:re.current,tooltipArrowReference:ie.current,strategy:x,middlewares:E,border:Z,arrowSize:ee}).then((e=>{we.current&&Se(e)}))}),[null==me?void 0:me.position,null==me?void 0:me.place,B,j,X,d,h,x,E,Z,je,Se,ee]),ke=(0,r.useCallback)((()=>{he(!1),Ee(!1),K(null),g(se),g(oe),g(ae)}),[Ee,K]),$e=pe||G||Boolean(U)||Boolean(X)||Boolean(null==me?void 0:me.anchorSelect),{anch
2orElements:Ae,selector:Le}=(({id:e,anchorSelect:t,imperativeAnchorSelect:n,activeAnchor:i,disableTooltip:s,onActiveAnchorRemoved:o,trackAnchors:a})=>{const[l,u]=(0,r.useState)([]),[c,d]=(0,r.useState)(null),f=(0,r.useRef)(null),p=(0,r.useMemo)((()=>(({id:e,anchorSelect:t,imperativeAnchorSelect:n})=>{var r;let i=null!==(r=null!=n?n:t)&&void 0!==r?r:"";return!i&&e&&(i=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),i})({id:e,anchorSelect:t,imperativeAnchorSelect:n})),[e,t,n]),h=(0,r.useMemo)((()=>l.filter((e=>!(null==s?void 0:s(e))))),[l,s]),m=(0,r.useMemo)((()=>{if(!i||!p)return!1;try{return i.matches(p)}catch(e){return!1}}),[i,p,h]);return(0,r.useEffect)((()=>p&&a?k(p,((e,t)=>{u(e),d(t)})):(u([]),void d(null))),[p,a]),(0,r.useEffect)((()=>{c&&f.current!==p&&(f.current=p)}),[p,c]),(0,r.useEffect)((()=>{i&&(i.isConnected&&(h.includes(i)||m)||o())}),[i,h,m,o]),{anchorElements:h,selector:p}})({id:t,anchorSelect:c,imperativeAnchorSelect:null==me?void 0:me.anchorSelect,activeAnchor:X,disableTooltip:H,onActiveAnchorRemoved:ke,trackAnchors:$e});(({activeAnchor:e,anchorElements:t,anchorSelector:n,clickable:i,closeEvents:s,delayHide:o,delayShow:l,disableTooltip:u,float:c,globalCloseEvents:d,handleHideTooltipDelayed:f,handleShow:h,handleShowTooltipDelayed:v,handleTooltipPosition:y,hoveringTooltip:b,imperativeModeOnly:w,lastFloatPosition:x,openEvents:E,openOnClick:S,rendered:T,setActiveAnchor:P,show:C,tooltipHideDelayTimerRef:j,tooltipRef:M,tooltipShowDelayTimerRef:k,updateTooltipPosition:$})=>{const A=(0,r.useRef)(p((e=>{}),50)),D=(0,r.useRef)(p((()=>{}),50)),O=(0,r.useRef)(null),R=(0,r.useRef)(null),I=(0,r.useRef)(null),F=(0,r.useRef)(null);e!==I.current&&(I.current=e,O.current=m(e));const _=M.current;_!==F.current&&(F.current=_,R.current=m(_));const B=S||(null==E?void 0:E.click)||(null==E?void 0:E.dblclick)||(null==E?void 0:E.mousedown),V=(0,r.useMemo)((()=>{const e=E?{...E}:{mouseenter:!0,focus:!0,click:!1,dblclick:!1,mousedown:!1};return!E&&S&&Object.assign(e,{mouseenter:!1,focus:!1,click:!0}),w&&Object.assign(e,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),e}),[E,S,w]),N=(0,r.useMemo)((()=>{const e=s?{...s}:{mouseleave:!0,blur:!0,click:!1,dblclick:!1,mouseup:!1};return!s&&S&&Object.assign(e,{mouseleave:!1,blur:!1}),w&&Object.assign(e,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),e}),[s,S,w]),H=(0,r.useMemo)((()=>{const e=d?{...d}:{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:B||!1};return w&&Object.assign(e,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1}),e}),[d,B,w]),z=(0,r.useRef)(e);z.current=e;const W=(0,r.useRef)(C);W.current=C;const U=(0,r.useRef)(t);U.current=t;const G=(0,r.useRef)(h);G.current=h;const q=(0,r.useRef)(y);q.current=y;const Y=(0,r.useRef)($);Y.current=$;const X=(0,r.useRef)((()=>null)),K=(0,r.useRef)((()=>{})),Z=(0,r.useRef)((()=>{})),Q=n?function(e){const t=e.match(/^\[data-tooltip-id=(['"])((?:\\.|(?!\1).)*)\1\]$/);return t?t[2].replace(/\\(['"])/g,"$1"):null}(n):null;X.current=e=>{var t,r;if(!(e instanceof Element&&e.isConnected))return null;const i=e;if(Q){const e=function(e,t){let n=e;for(;n;){const e=n.dataset;if((null==e?void 0:e.tooltipId)===t)return n;n=n.parentElement}return null}(i,Q);if(e&&!(null==u?void 0:u(e)))return e}else if(n)try{const e=null!==(t=i.matches(n)?i:i.closest(n))&&void 0!==t?t:null;if(e&&!(null==u?void 0:u(e)))return e}catch(e){return null}return null!==(r=U.current.find((e=>e===i||e.contains(i))))&&void 0!==r?r:null},K.current=e=>{e&&(e.isConnected?(null==u?void 0:u(e))||(l&&z.current&&e!==z.current?(k.current&&clearTimeout(k.current),k.current=setTimeout((()=>{P(e),h(!0)}),l)):(P(e),l?v():h(!0)),j.current&&clearTimeout(j.current)):P(null))},Z.current=()=>{i?f(o||100):o?f():h(!1),k.current&&clearTimeout(k.current)};const J=A.current,ee=D.current;J.setCallback((e=>K.current(e))),ee.setCallback((()=>Z.current())),(0,r.useEffect)((()=>{const e=[],t=(t,n,r)=>{e.push(L(t,n,r))},n=e=>{var t;return Boolean((null==e?void 0:e.target)instanceof Node&&(null===(t=z.current)||void 0===t?void 0:t.contains(e.target)))},r=e=>{ee.cancel(),J(e)},s=()=>{J.cancel(),ee()},o=()=>{t("mouseover",(e=>{const t=X.current(e.target);t&&X.current(e.relatedTarget)!==t&&r(t)}))},a=()=>{t("mouseout",(e=>{const t=X.current(e.target);if(!t&&!n(e))return;const r=e.relatedTarget,i=t||z.current;r instanceof Node&&(null==i?void 0:i.contains(r))||s()}))};V.mouseenter&&o(),N.mouseleave&&a(),V.mouseover&&o(),N.mouseout&&a(),V.focus&&t("focusin",(e=>{r(X.current(e.target))})),(V.mouseenter||V.mouseover||V.focus)&&t("touchstart",(e=>{r(X.current(e.target))})),N.blur&&t("focusout",(e=>{const t=X.current(e.target);if(!t&&!n(e))return;const r=e.relatedTarget,i=t||z.current;r instanceof Node&&(null==i?void 0:i.contains(r))||s()}));const l=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],u=["click","dblclick","mousedown","mouseup"],d=e=>{var t;const n=X.current(null!==(t=null==e?void 0:e.target)&&void 0!==t?t:null);n&&(W.current&&z.current===n||K.current(n))},f=e=>{W.current&&n(e)&&Z.current()};
2Object.entries(V).forEach((([e,n])=>{n&&!l.includes(e)&&u.includes(e)&&t(e,d,{capture:!0})})),Object.entries(N).forEach((([e,n])=>{n&&!l.includes(e)&&u.includes(e)&&t(e,f,{capture:!0})})),c&&t("pointermove",(e=>{const t=z.current;if(!t)return;if(X.current(e.target)!==t)return;const n=e,r={x:n.clientX,y:n.clientY};q.current(r),x.current=r}));const p=M.current,h=()=>{b.current=!0},m=()=>{b.current=!1,Z.current()},v=i&&(N.mouseout||N.mouseleave);return v&&(null==p||p.addEventListener("mouseover",h),null==p||p.addEventListener("mouseout",m)),()=>{e.forEach((e=>e())),v&&(null==p||p.removeEventListener("mouseover",h),null==p||p.removeEventListener("mouseout",m)),J.cancel(),ee.cancel()}}),[V,N,c,i,T]),(0,r.useEffect)((()=>{const t=()=>{G.current(!1),g(k)},n=R.current,r=O.current;H.scroll&&(window.addEventListener("scroll",t),null==r||r.addEventListener("scroll",t),null==n||n.addEventListener("scroll",t));let i=null;H.resize?window.addEventListener("resize",t):e&&M.current&&(i=(0,a.ll)(e,M.current,(()=>Y.current()),{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const s=e=>{"Escape"===e.key&&G.current(!1)};H.escape&&window.addEventListener("keydown",s);const o=e=>{var t,n;if(!W.current)return;const r=e.target;r instanceof Node&&r.isConnected&&((null===(t=M.current)||void 0===t?void 0:t.contains(r))||(null===(n=z.current)||void 0===n?void 0:n.contains(r))||U.current.some((e=>null==e?void 0:e.contains(r)))||(G.current(!1),g(k)))};return H.clickOutsideAnchor&&window.addEventListener("click",o),()=>{H.scroll&&(window.removeEventListener("scroll",t),null==r||r.removeEventListener("scroll",t),null==n||n.removeEventListener("scroll",t)),H.resize&&window.removeEventListener("resize",t),i&&i(),H.escape&&window.removeEventListener("keydown",s),H.clickOutsideAnchor&&window.removeEventListener("click",o)}}),[H,e])})({activeAnchor:X,anchorElements:Ae,anchorSelector:Le,clickable:A,closeEvents:R,delayHide:P,delayShow:T,disableTooltip:H,float:j,globalCloseEvents:I,handleHideTooltipDelayed:Ce,handleShow:Ee,handleShowTooltipDelayed:Pe,handleTooltipPosition:je,hoveringTooltip:be,imperativeModeOnly:F,lastFloatPosition:ye,openEvents:O,openOnClick:w,rendered:pe,setActiveAnchor:K,show:de,tooltipHideDelayTimerRef:oe,tooltipRef:re,tooltipShowDelayTimerRef:se,updateTooltipPosition:Me});const De=(0,r.useRef)(Me);De.current=Me,(0,r.useEffect)((()=>{pe&&Me()}),[pe,Me]),(0,r.useEffect)((()=>{if(!pe||!(null==W?void 0:W.current))return()=>null;let e=null;const t=new ResizeObserver((()=>{e&&clearTimeout(e),e=setTimeout((()=>{we.current&&De.current(),e=null}),0)}));return t.observe(W.current),()=>{t.disconnect(),e&&clearTimeout(e)}}),[z,W,pe]),(0,r.useEffect)((()=>{var e;if(!G&&!Boolean(U))return;const t=(()=>{if(!X||!(null==me?void 0:me.anchorSelect))return!1;try{return X.matches(me.anchorSelect)}catch(e){return!1}})();if(!X||!Ae.includes(X)){if(t)return;K(null!==(e=Ae[0])&&void 0!==e?e:null)}}),[X,Ae,G,null==me?void 0:me.anchorSelect,U,pe,K]),(0,r.useEffect)((()=>(G&&Ee(!0),()=>{g(se),g(oe),g(ae),g(le)})),[G,Ee]),(0,r.useEffect)((()=>{se.current&&(g(se),Pe(T))}),[T,Pe]);const Oe=null!==(ne=null==me?void 0:me.content)&&void 0!==ne?ne:z,Re=null!=Oe,Ie=de&&void 0!==ue.tooltipStyles.left,Fe=(0,r.useMemo)((()=>({..._,...ue.tooltipStyles,opacity:void 0!==Q&&Ie?Q:void 0})),[_,ue.tooltipStyles,Q,Ie]),_e=(0,r.useMemo)((()=>J?`linear-gradient(to right bottom, transparent 50%, ${J} 50%)`:void 0),[J]),Be=(0,r.useMemo)((()=>({...ue.tooltipArrowStyles,background:_e,"--rt-arrow-size":`${ee}px`})),[ue.tooltipArrowStyles,_e,ee]);(0,r.useImperativeHandle)(e,(()=>({open:e=>{let t=null;if(null==e?void 0:e.anchorSelect){try{t=document.querySelector(e.anchorSelect)}catch(e){return}if(!t)return}t&&K(t),ve(null!=e?e:null),(null==e?void 0:e.delay)?Pe(e.delay):Ee(!0)},close:e=>{(null==e?void 0:e.delay)?Ce(e.delay):Ee(!1)},activeAnchor:X,place:ue.place,isOpen:Boolean(pe&&!M&&Re&&Ie)}))),(0,r.useEffect)((()=>()=>{g(se),g(oe),g(ae),g(le)}),[]);const Ve=pe&&!M&&Re?r.createElement(S,{id:t,role:te,className:s("react-tooltip",y.tooltip,b.tooltip,b[l],n,`react-tooltip__place-${ue.place}`,y[Ie?"show":"closing"],Ie?"react-tooltip__show":"react-tooltip__closing","fixed"===x&&y.fixed,A&&y.clickable),onTransitionEnd:e=>{g(le),de||"opacity"!==e.propertyName||(he(!1),ve(null),null==N||N())},style:Fe,ref:re},r.createElement(S,{className:s("react-tooltip-content-wrapper",y.content,b.content)},Oe),r.createElement(S,{className:s("react-tooltip-arrow",y.arrow,b.arrow,i,$&&y.noArrow),style:Be,ref:ie})):null;return Ve?u?(0,o.createPortal)(Ve,u):Ve:null}));const R=new Map;let I=null;const F={attributes:!0,childList:!1,subtree:!1};function _(e,t){const n=(I||(I=new MutationObserver((e=>{var t;for(const n of e){if("attributes"!==n.type||!(null===(t=n.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))continue;const e=n.target,r=R.get(e);r&&r.forEach((t=>t(e)))}}))),I);let r=R.get(e);return r||(r=new Set,R.set(e,r),n.observe(e,F)),r.add(t),()=>{const r=R.get(e);r&&(r.delete(t),0===r.size&&(R.delete(e),0===R.size?n.disconnect():(n.disconnect(),R.forEach(((e,t)=>{n.observe(t,F)})))))}}const B=r.forwardRef((({id:e,anchorSelect:t,content:n,render:i,className:o,classNameArrow:a,variant:l="dark",portalRoot:u,place:c="top",offset:d=10,wrapper:f="div",children:p=null,openOnClick:h=!1,positionStrategy:m="absolute",middlewares:v,delayShow:g=0,delayHide:y=0,autoClose:b,float:w=!1,hidden:x=!1,noArrow:E=!1,clickable:S=!1,openEvents:T,closeEvents:P,globalCloseEvents:C,imperativeModeOnly:j=!1,style:M,position:k,isOpen:$,defaultIsOpen:A=!1,disableStyleInjection:L=!1,border:D,opacity:R,arrowColor:I,arrowSize:F,setIsOpen:B,afterShow:V,afterHide:N,disableTooltip:H,role:z="tooltip"},W)=>{var U,G,q,Y,X,K,Z,Q;const[J,ee]=(0,r.useState)(null),[te,ne]=(0,r.useState)({}),re=(0,r.useRef)(null),ie=(0,r.useRef)(L),se=(0,r.useCallback)((e=>{ee((t=>((null==e?void 0:e.isSameNode(t))||(re.current=t),e)))}),[]),oe=e=>{const t=null==e?void 0:e.getAttributeNames().reduce(((t,n)=>{var r;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t}),{});return t};(0,r.useEffect)((()=>{ie.current}),[L]),(0,r.useEffect)((()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===L,disableBase:L}}))}),[]),(0,r.useEffect)((()=>
2{if(!J)return ne({}),()=>{};const e=e=>{const t=oe(e);ne((e=>{const n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every((n=>t[n]===e[n]))?e:t}))};return e(J),_(J,e)}),[J,t]),(0,r.useEffect)((()=>{}),[D,R,null==M?void 0:M.border,null==M?void 0:M.opacity]);const ae=J?oe(J):te,le=null!==(U=ae.content)&&void 0!==U?U:n,ue=null!==(G=ae.place)&&void 0!==G?G:c,ce=null!==(q=ae.variant)&&void 0!==q?q:l,de=null==ae.offset?d:Number(ae.offset),fe=null!==(Y=ae.wrapper)&&void 0!==Y?Y:f,pe=null!==(X=ae["position-strategy"])&&void 0!==X?X:m,he=null==ae["delay-show"]?g:Number(ae["delay-show"]),me=null==ae["delay-hide"]?y:Number(ae["delay-hide"]),ve=null==ae["auto-close"]?b:Number(ae["auto-close"]),ge=null==ae.float?w:"true"===ae.float,ye=null==ae.hidden?x:"true"===ae.hidden,be=null!==(K=ae["class-name"])&&void 0!==K?K:null;let we=p;const xe=(0,r.useRef)(null);if(i){const e=i({content:null!==(Q=null!==(Z=ae.content)&&void 0!==Z?Z:le)&&void 0!==Q?Q:null,activeAnchor:J});we=e?r.createElement("div",{ref:xe,className:"react-tooltip-content-wrapper"},e):null}else null!=le&&(we=le);const Ee={forwardRef:W,id:e,anchorSelect:t,className:s(o,be),classNameArrow:a,content:we,contentWrapperRef:xe,portalRoot:u,place:ue,variant:ce,offset:de,wrapper:fe,openOnClick:h,positionStrategy:pe,middlewares:v,delayShow:he,delayHide:me,autoClose:ve,float:ge,hidden:ye,noArrow:E,clickable:S,openEvents:T,closeEvents:P,globalCloseEvents:C,imperativeModeOnly:j,style:M,position:k,isOpen:$,defaultIsOpen:A,border:D,opacity:R,arrowColor:I,arrowSize:F,setIsOpen:B,afterShow:V,afterHide:N,disableTooltip:H,activeAnchor:J,previousActiveAnchor:re.current,setActiveAnchor:se,role:z};return r.createElement(O,{...Ee})}));var V=(0,r.memo)(B);"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||u({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1;-webkit-backface-visibility:hidden;backface-visibility:hidden}.core-styles-module_content__BRKdB{position:relative;z-index:1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out;will-change:opacity}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in;will-change:opacity}",type:"core"}),e.detail.disableBase||u({css:"\n.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;width:max-content}.styles-module_content__ydYdI{background:inherit;border-radius:inherit;padding:8px 16px}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})}))},8832(e,t,n){"use strict";if(n.d(t,{A:()=>i}),929==n.j)var r=n(2375);function i({swiper:e,extendParams:t,on:n,emit:i,params:s}){let o,a;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,u,c,d,f,p,h,m=s&&s.autoplay?s.autoplay.delay:3e3,v=s&&s.autoplay?s.autoplay.delay:3e3,g=(new Date).getTime();function y(t){e&&!e.destroyed&&e.wrapperEl&&t.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",y),h||t.detail&&t.detail.bySwiperTouchMove||P())}const b=()=>{if(e.destroyed||!e.autoplay.running)return;
vendor: 4,144 bytes, line 2
2e.autoplay.paused?u=!0:u&&(v=l,u=!1);const t=e.autoplay.paused?l:g+v-(new Date).getTime();e.autoplay.timeLeft=t,i("autoplayTimeLeft",t,t/m),a=requestAnimationFrame((()=>{b()}))},w=()=>{let t=e.params.autoplay.delay;const n=(()=>{let t;if(t=e.virtual&&e.params.virtual.enabled?e.slides.find((e=>e.classList.contains("swiper-slide-active"))):e.slides[e.activeIndex],!t)return;return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(n)&&n>0&&(t=n),t},x=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),b();let n=t;void 0===n&&(n=w(),m=n,v=n),l=n;const r=e.params.speed,s=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(r,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,r,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(r,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,r,!0,!0),i("autoplay")),e.params.cssMode&&(g=(new Date).getTime(),requestAnimationFrame((()=>{x()}))))};return n>0?(clearTimeout(o),o=setTimeout((()=>{s()}),n)):requestAnimationFrame((()=>{s()})),n},E=()=>{g=(new Date).getTime(),e.autoplay.running=!0,x(),i("autoplayStart")},S=()=>{e.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(a),i("autoplayStop")},T=(t,n)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(o),t||(p=!0);const r=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",y):P()};if(e.autoplay.paused=!0,n)return void r();const s=l||e.params.autoplay.delay;l=s-((new Date).getTime()-g),e.isEnd&&l<0&&!e.params.loop||(l<0&&(l=0),r())},P=()=>{e.isEnd&&l<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(g=(new Date).getTime(),p?(p=!1,x(l)):x(),e.autoplay.paused=!1,i("autoplayResume"))},C=()=>{if(e.destroyed||!e.autoplay.running)return;const t=(0,r.g)();"hidden"===t.visibilityState&&(p=!0,T(!0)),"visible"===t.visibilityState&&P()},j=t=>{"mouse"===t.pointerType&&(p=!0,h=!0,e.animating||e.autoplay.paused||T(!0))},M=t=>{"mouse"===t.pointerType&&(h=!1,e.autoplay.paused&&P())};n("init",(()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",j),e.el.addEventListener("pointerleave",M)),(0,r.g)().addEventListener("visibilitychange",C),E())})),n("destroy",(()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",j),e.el.removeEventListener("pointerleave",M)),(0,r.g)().removeEventListener("visibilitychange",C),e.autoplay.running&&S()})),n("_freeModeStaticRelease",(()=>{(d||p)&&P()})),n("_freeModeNoMomentumRelease",(()=>{e.params.autoplay.disableOnInteraction?S():T(!0,!0)})),n("beforeTransitionStart",((t,n,r)=>{!e.destroyed&&e.autoplay.running&&(r||!e.params.autoplay.disableOnInteraction?T(!0,!0):S())})),n("sliderFirstMove",(()=>{!e.destroyed&&e.autoplay.running&&(e.params.autoplay.disableOnInteraction?S():(c=!0,d=!1,p=!1,f=setTimeout((()=>{p=!0,d=!0,T(!0)}),200)))})),n("touchEnd",(()=>{if(!e.destroyed&&e.autoplay.running&&c){if(clearTimeout(f),clearTimeout(o),e.params.autoplay.disableOnInteraction)return d=!1,void(c=!1);d&&e.params.cssMode&&P(),d=!1,c=!1}})),n("slideChange",(()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(l=w(),m=w())})),Object.assign(e.autoplay,{start:E,stop:S,pause:T,resume:P})}},6971(e,t,n){"use strict";if(n.d(t,{A:()=>a}),/^(482|929)$/.test(n.j))var r=n(9761);if(/^(482|929)$/.test(n.j))var i=n(2708);if(/^(482|929)$/.test(n.j))var s=n(8996);if(/^(482|929)$/.test(n.j))var o=n(7044);function a({swiper:e,extendParams:t,on:n}){t({fadeEffect:{crossFade:!1}});(0,r.e)({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:t}=e,n=e.params.fadeEffect;for(let r=0;r<t.length;r+=1){const t=e.slides[r];let s=-t.swiperSlideOffset;e.params.virtualTranslate||(s-=e.translate);let o=0;e.isHorizontal()||(o=s,s=0);const a=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t.progress),0):1+Math.min(Math.max(t.progress,-1),0),l=(0,i.e)(n,t);l.style.opacity=a,l.style.transform=`translate3d(${s}px, ${o}px, 0px)`}},setTransition:t=>{const n=e.slides.map((e=>(0,o.g)(e)));
vendor: 4,161 bytes, line 2
2n.forEach((e=>{e.style.transitionDuration=`${t}ms`})),(0,s.e)({swiper:e,duration:t,transformElements:n,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},3385(e,t,n){"use strict";if(n.d(t,{A:()=>o}),/^(17|285|691)$/.test(n.j))var r=n(8706);if(/^(17|285|691)$/.test(n.j))var i=n(7044);const s=/^(17|285|691)$/.test(n.j)?'<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>':null;function o({swiper:e,extendParams:t,on:n,emit:o}){function a(t){let n;return t&&"string"==typeof t&&e.isElement&&(n=e.el.querySelector(t)||e.hostEl.querySelector(t),n)?n:(t&&("string"==typeof t&&(n=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&n&&n.length>1&&1===e.el.querySelectorAll(t).length?n=e.el.querySelector(t):n&&1===n.length&&(n=n[0])),t&&!n?t:n)}function l(t,n){const r=e.params.navigation;(t=(0,i.m)(t)).forEach((t=>{t&&(t.classList[n?"add":"remove"](...r.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=n),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](r.lockClass))}))}function u(){const{nextEl:t,prevEl:n}=e.navigation;if(e.params.loop)return l(n,!1),void l(t,!1);l(n,e.isBeginning&&!e.params.rewind),l(t,e.isEnd&&!e.params.rewind)}function c(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),o("navigationPrev"))}function d(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),o("navigationNext"))}function f(){const t=e.params.navigation;if(e.params.navigation=(0,r.c)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;let n=a(t.nextEl),o=a(t.prevEl);Object.assign(e.navigation,{nextEl:n,prevEl:o}),n=(0,i.m)(n),o=(0,i.m)(o);const l=(n,r)=>{if(n){if(t.addIcons&&n.matches(".swiper-button-next,.swiper-button-prev")&&!n.querySelector("svg")){const e=document.createElement("div");(0,i.s)(e,s),n.appendChild(e.querySelector("svg")),e.remove()}n.addEventListener("click","next"===r?d:c)}!e.enabled&&n&&n.classList.add(...t.lockClass.split(" "))};n.forEach((e=>l(e,"next"))),o.forEach((e=>l(e,"prev")))}function p(){let{nextEl:t,prevEl:n}=e.navigation;t=(0,i.m)(t),n=(0,i.m)(n);const r=(t,n)=>{t.removeEventListener("click","next"===n?d:c),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach((e=>r(e,"next"))),n.forEach((e=>r(e,"prev")))}t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:s},n("init",(()=>{!1===e.params.navigation.enabled?h():(f(),u())})),n("toEdge fromEdge lock unlock",(()=>{u()})),n("destroy",(()=>{p()})),n("enable disable",(()=>{let{nextEl:t,prevEl:n}=e.navigation;t=(0,i.m)(t),n=(0,i.m)(n),e.enabled?u():[...t,...n].filter((e=>!!e)).forEach((t=>t.classList.add(e.params.navigation.lockClass)))})),n("click",((t,n)=>{let{nextEl:r,prevEl:s}=e.navigation;r=(0,i.m)(r),s=(0,i.m)(s);const a=n.target;let l=s.includes(a)||r.includes(a);if(e.isElement&&!l){const e=n.path||n.composedPath&&n.composedPath();e&&(l=e.find((e=>r.includes(e)||s.includes(e))))}if(e.params.navigation.hideOnClick&&!l){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===a||e.pagination.el.contains(a)))return;let t;r.length?t=r[0].classList.contains(e.params.navigation.hiddenClass):s.length&&(t=s[0].classList.contains(e.params.navigation.hiddenClass)),o(!0===t?"navigationShow":"navigationHide"),[...r,...s].filter((e=>
2!!e)).forEach((t=>t.classList.toggle(e.params.navigation.hiddenClass)))}}));const h=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),f(),u()},disable:h,update:u,init:f,destroy:p})}},7083(e,t,n){"use strict";if(n.d(t,{A:()=>o}),/^(17|285|691)$/.test(n.j))var r=n(7643);if(/^(17|285|691)$/.test(n.j))var i=n(8706);if(/^(17|285|691)$/.test(n.j))var s=n(7044);function o({swiper:e,extendParams:t,on:n,emit:o}){const a="swiper-pagination";let l;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let u=0;function c(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function d(t,n){const{bulletActiveClass:r}=e.params.pagination;t&&(t=t[("prev"===n?"previous":"next")+"ElementSibling"])&&(t.classList.add(`${r}-${n}`),(t=t[("prev"===n?"previous":"next")+"ElementSibling"])&&t.classList.add(`${r}-${n}-${n}`))}function f(t){const n=t.target.closest((0,r.c)(e.params.pagination.bulletClass));if(!n)return;t.preventDefault();const i=(0,s.j)(n)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===i)return;const t=(o=e.realIndex,a=i,l=e.slides.length,(a%=l)==1+(o%=l)?"next":a===o-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i);var o,a,l}function p(){const t=e.rtl,n=e.params.pagination;if(c())return;let i,a,f=e.pagination.el;f=(0,s.m)(f);const p=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,h=e.params.loop?Math.ceil(p/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(a=e.previousRealIndex||0,i=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(i=e.snapIndex,a=e.previousSnapIndex):(a=e.previousIndex||0,i=e.activeIndex||0),"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const r=e.pagination.bullets;let o,c,p;if(n.dynamicBullets&&(l=(0,s.i)(r[0],e.isHorizontal()?"width":"height",!0),f.forEach((t=>{t.style[e.isHorizontal()?"width":"height"]=l*(n.dynamicMainBullets+4)+"px"})),n.dynamicMainBullets>1&&void 0!==a&&(u+=i-(a||0),u>n.dynamicMainBullets-1?u=n.dynamicMainBullets-1:u<0&&(u=0)),o=Math.max(i-u,0),c=o+(Math.min(r.length,n.dynamicMainBullets)-1),p=(c+o)/2),r.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${n.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),f.length>1)r.forEach((t=>{const r=(0,s.j)(t);r===i?t.classList.add(...n.bulletActiveClass.split(" ")):e.isElement&&t.setAttribute("part","bullet"),n.dynamicBullets&&(r>=o&&r<=c&&t.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),r===o&&d(t,"prev"),r===c&&d(t,"next"))}));else{const t=r[i];if(t&&t.classList.add(...n.bulletActiveClass.split(" ")),e.isElement&&r.forEach(((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")})),n.dynamicBullets){const e=r[o],t=r[c];for(let e=o;e<=c;e+=1)r[e]&&r[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),s=(l*i-l)/2-p*l,o=t?"right":"left";r.forEach((t=>{t.style[e.isHorizontal()?o:"top"]=`${s}px`}))}}f.forEach(((t,a)=>{if("fraction"===n.type&&(t.querySelectorAll((0,r.c)(n.currentClass)).forEac
vendor: 5,496 bytes, line 2
2h((e=>{e.textContent=n.formatFractionCurrent(i+1)})),t.querySelectorAll((0,r.c)(n.totalClass)).forEach((e=>{e.textContent=n.formatFractionTotal(h)}))),"progressbar"===n.type){let s;s=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const o=(i+1)/h;let a=1,l=1;"horizontal"===s?a=o:l=o,t.querySelectorAll((0,r.c)(n.progressbarFillClass)).forEach((t=>{t.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${l})`,t.style.transitionDuration=`${e.params.speed}ms`}))}"custom"===n.type&&n.renderCustom?((0,s.s)(t,n.renderCustom(e,i+1,h)),0===a&&o("paginationRender",t)):(0===a&&o("paginationRender",t),o("paginationUpdate",t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](n.lockClass)}))}function h(){const t=e.params.pagination;if(c())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let i=e.pagination.el;i=(0,s.m)(i);let a="";if("bullets"===t.type){let r=e.params.loop?Math.ceil(n/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&r>n&&(r=n);for(let n=0;n<r;n+=1)t.renderBullet?a+=t.renderBullet.call(e,n,t.bulletClass):a+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],i.forEach((n=>{"custom"!==t.type&&(0,s.s)(n,a||""),"bullets"===t.type&&e.pagination.bullets.push(...n.querySelectorAll((0,r.c)(t.bulletClass)))})),"custom"!==t.type&&o("paginationRender",i[0])}function m(){e.params.pagination=(0,i.c)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let n;"string"==typeof t.el&&e.isElement&&(n=e.el.querySelector(t.el)),n||"string"!=typeof t.el||(n=[...document.querySelectorAll(t.el)]),n||(n=t.el),n&&0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(n)&&n.length>1&&(n=[...e.el.querySelectorAll(t.el)],n.length>1&&(n=n.find((t=>(0,s.d)(t,".swiper")[0]===e.el)))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(e.pagination,{el:n}),n=(0,s.m)(n),n.forEach((n=>{"bullets"===t.type&&t.clickable&&n.classList.add(...(t.clickableClass||"").split(" ")),n.classList.add(t.modifierClass+t.type),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.classList.add(`${t.modifierClass}${t.type}-dynamic`),u=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.classList.add(t.progressbarOppositeClass),t.clickable&&n.addEventListener("click",f),e.enabled||n.classList.add(t.lockClass)})))}function v(){const t=e.params.pagination;if(c())return;let n=e.pagination.el;n&&(n=(0,s.m)(n),n.forEach((n=>{n.classList.remove(t.hiddenClass),n.classList.remove(t.modifierClass+t.type),n.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(n.classList.remove(...(t.clickableClass||"").split(" ")),n.removeEventListener("click",f))}))),e.pagination.bullets&&e.pagination.bullets.forEach((e=>e.classList.remove(...t.bulletActiveClass.split(" "))))}n("changeDirection",(()=>{if(!e.pagination||!e.pagination.el)return;const t=e.params.pagination;let{el:n}=e.pagination;n=(0,s.m)(n),n.forEach((n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)}))})),n("init",(()=>{!1===e.params.pagination.enabled?g():(m(),h(),p())})),n("activeIndexChange",(()=>{void 0===e.snapIndex&&p()})),n("snapIndexChange",(()=>{p()})),n("snapGridLengthChange",(()=>{h(),p()})),n("destroy",(()=>{v()})),n("enable disable",(()=>{let{el:t}=e.pagination;t&&(t=(0,s.m)(t),t.forEach((t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass))))})),n("lock unlock",(()=>{p()})),n("click",((t,n)=>{const r=n.target,i=(0,s.m)(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&i&&i.length>0&&!r.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&r===e.navigation.nextEl||e.navigation.prevEl&&r===e.navigation.prevEl))return;const t=i[0].classList.contains(e.params.pagination.hiddenClass);o(!0===t?"paginationShow":"paginationHide"),i.forEach((t=>t.classList.toggle(e.params.pagination.hiddenClass)))}}));const g=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=(0,s.m)(t),t.forEach((t=>t.classList.add(e.params.pagination.paginationDisabledClass)))),v()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=(0,s.m)(t),t.forEach((t=>t.classList.remove(e.params.pagination.paginationDisabledClass)))),m(),h(),p()},disable:g,render:h,update:p,init:m,destroy:v})}},7643(e,t,n){"use strict";function r(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}n.d(t,{c:()=>r})},8706(e,t,n){"use strict";if(n.d(t,{c:()=>i}),/^(17|285|691)$/.test(n.j))var r=n(7044);function i(e,t,n,i){return e.params.createElements&&Object.keys(i).forEac
2h((s=>{if(!n[s]&&!0===n.auto){let o=(0,r.e)(e.el,`.${i[s]}`)[0];o||(o=(0,r.c)("div",i[s]),o.className=i[s],e.el.append(o)),n[s]=o,t[s]=o}})),n}},9761(e,t,n){"use strict";function r(e){const{effect:t,swiper:n,on:r,setTranslate:i,setTransition:s,overwriteParams:o,perspective:a,recreateShadows:l,getEffectParams:u}=e;let c;r("beforeInit",(()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),a&&a()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const e=o?o():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)})),r("setTranslate _virtualUpdated",(()=>{n.params.effect===t&&i()})),r("setTransition",((e,r)=>{n.params.effect===t&&s(r)})),r("transitionEnd",(()=>{if(n.params.effect===t&&l){if(!u||!u().slideShadows)return;n.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),l()}})),r("virtualUpdate",(()=>{n.params.effect===t&&(n.slides.length||(c=!0),requestAnimationFrame((()=>{c&&n.slides&&n.slides.length&&(i(),c=!1)})))}))}n.d(t,{e:()=>r})},2708(e,t,n){"use strict";if(n.d(t,{e:()=>i}),/^(482|929)$/.test(n.j))var r=n(7044);function i(e,t){const n=(0,r.g)(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}},8996(e,t,n){"use strict";if(n.d(t,{e:()=>i}),/^(482|929)$/.test(n.j))var r=n(7044);function i({swiper:e,duration:t,transformElements:n,allSlides:i}){const{activeIndex:s}=e;if(e.params.virtualTranslate&&0!==t){let t,o=!1;t=i?n:n.filter((t=>{const n=t.classList.contains("swiper-slide-transform")?(t=>{if(!t.parentElement)return e.slides.find((e=>e.shadowRoot&&e.shadowRoot===t.parentNode));return t.parentElement})(t):t;return e.getSlideIndex(n)===s})),t.forEach((t=>{(0,r.o)(t,(()=>{if(o)return;if(!e||e.destroyed)return;o=!0,e.animating=!1;const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(t)}))}))}}},2375(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(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]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])}))}n.d(t,{a:()=>l,g:()=>o});const s=/^(17|285|482|691|929)$/.test(n.j)?{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:""}}:null;function o(){const e="undefined"!=typeof document?document:{};return i(e,s),e}const a=/^(17|285|482|691|929)$/.test(n.j)?{document:s,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)}}:null;function l(){const e="undefined"!=typeof window?window:{};return i(e,a),e}},6727(e,t,n){"use strict";if(n.d(t,{a:()=>l,b:()=>u,d:()=>c,e:()=>o,i:()=>s,n:()=>a,u:()=>f,w:()=>d}),/^(17|285|482|691|929)$/.test(n.j))var r=n(7044);const i=/^(17|285|482|691|929)$/.test(n.j)?["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesB
2ounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"]:null;function s(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function o(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]:s(t[n])&&s(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:o(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 u(e={}){return e.scrollbar&&void 0===e.scrollbar.el}function c(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(" ")}function d(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function f({swiper:e,slides:t,passedParams:n,changedParams:i,nextEl:o,prevEl:a,scrollbarEl:l,paginationEl:u}){const c=i.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:d,pagination:f,navigation:p,scrollbar:h,virtual:m,thumbs:v}=e;let g,y,b,w,x,E,S,T;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&d.thumbs&&(!d.thumbs.swiper||d.thumbs.swiper.destroyed)&&(g=!0),i.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(y=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||u)&&(d.pagination||!1===d.pagination)&&f&&!f.el&&(b=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||l)&&(d.scrollbar||!1===d.scrollbar)&&h&&!h.el&&(w=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||o)&&(d.navigation||!1===d.navigation)&&p&&!p.prevEl&&!p.nextEl&&(x=!0);const P=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),d[t].prevEl=void 0,d[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),d[t].el=void 0,e[t].el=void 0))};if(i.includes("loop")&&e.isElement&&(d.loop&&!n.loop?E=!0:!d.loop&&n.loop?S=!0:T=!0),c.forEach((e=>{if(s(d[e])&&s(n[e]))Object.assign(d[e],n[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in n[e])||n[e].enabled||P(e);else{const t=n[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?d[e]=n[e]:!1===t&&P(e)}})),c.includes("controller")&&!y&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),i.includes("children")&&t&&m&&d.virtual.enabled?(m.slides=t,m.update(!0)):i.includes("virtual")&&m&&d.virtual.enabled&&(t&&(m.slides=t),m.update(!0)),i.includes("children")&&t&&d.loop&&(T=!0),g){v.init()&&v.update(!0)}y&&(e.controller.control=d.controller.control),b&&(!e.isElement||u&&"string"!=typeof u||((u=document.createElement("div")).classList.add("swiper-pagination"),u.part.add("pagination"),e.el.appendChild(u)),u&&(d.pagination.el=u),f.init(),f.render(),f.update(
vendor: 13,437 bytes, line 2
2)),w&&(!e.isElement||l&&"string"!=typeof l||((l=document.createElement("div")).classList.add("swiper-scrollbar"),l.part.add("scrollbar"),e.el.appendChild(l)),l&&(d.scrollbar.el=l),h.init(),h.updateSize(),h.setTranslate()),x&&(e.isElement&&(o&&"string"!=typeof o||((o=document.createElement("div")).classList.add("swiper-button-next"),(0,r.s)(o,e.navigation.arrowSvg),o.part.add("button-next"),e.el.appendChild(o)),a&&"string"!=typeof a||((a=document.createElement("div")).classList.add("swiper-button-prev"),(0,r.s)(a,e.navigation.arrowSvg),a.part.add("button-prev"),e.el.appendChild(a))),o&&(d.navigation.nextEl=o),a&&(d.navigation.prevEl=a),p.init(),p.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&e.changeDirection(n.direction,!1),(E||T)&&e.loopDestroy(),(S||T)&&e.loopCreate(),e.update()}n.d(t,["p",0,i])},7044(e,t,n){"use strict";if(n.d(t,{b:()=>c,c:()=>v,d:()=>x,e:()=>p,g:()=>f,h:()=>o,i:()=>S,j:()=>w,l:()=>a,m:()=>T,n:()=>s,o:()=>E,q:()=>b,r:()=>y,s:()=>P,t:()=>g,u:()=>d,v:()=>m,w:()=>h,x:()=>u,y:()=>i}),/^(17|285|482|691|929)$/.test(n.j))var r=n(2375);function i(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function s(e,t=0){return setTimeout(e,t)}function o(){return Date.now()}function a(e,t="x"){const n=(0,r.a)();let i,s,o;const a=function(e){const t=(0,r.a)();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?(s=a.transform||a.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===s?"":s)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=o.toString().split(",")),"x"===t&&(s=n.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(s=n.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),s||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function u(...e){const t=Object(e[0]);for(let r=1;r<e.length;r+=1){const i=e[r];if(null!=i&&(n=i,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const e=Object.keys(Object(i)).filter((e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e));for(let n=0,r=e.length;n<r;n+=1){const r=e[n],s=Object.getOwnPropertyDescriptor(i,r);void 0!==s&&s.enumerable&&(l(t[r])&&l(i[r])?i[r].__swiper__?t[r]=i[r]:u(t[r],i[r]):!l(t[r])&&l(i[r])?(t[r]={},i[r].__swiper__?t[r]=i[r]:u(t[r],i[r])):t[r]=i[r])}}}var n;return t}function c(e,t,n){e.style.setProperty(t,n)}function d({swiper:e,targetPosition:t,side:n}){const i=(0,r.a)(),s=-e.translate;let o,a=null;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const u=t>s?"next":"prev",c=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,d=()=>{o=(new Date).getTime(),null===a&&(a=o);const r=Math.max(Math.min((o-a)/l,1),0),u=.5-Math.cos(r*Math.PI)/2;let f=s+u*(t-s);if(c(f,t)&&(f=t),e.wrapperEl.scrollTo({[n]:f}),c(f,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:f})})),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(d)};d()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function p(e,t=""){const n=(0,r.a)(),i=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter((e=>e.matches(t))):i}function h(e,t){const n=(0,r.a)();let i=t.contains(e);if(!i&&n.HTMLSlotElement&&t instanceof HTMLSlotElement){i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))}return i}function m(e){try{return void console.warn(e)}catch(e){}}function v(e,t=[]){const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:function(e=""){return e.trim().split(" ").filter((e=>!!e.trim()))}(t)),n}function g(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function y(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function b(e,t){return(0,r.a)().getComputedStyle(e,null).getPropertyValue(t)}function w(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function x(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function E(e,t){t&&e.addEventListener("transitionend",(function n(r){r.target===e&&(t.call(e,r),e.removeEventListener("transitionend",n))}))}function S(e,t,n){const i=(0,r.a)();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function T(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}function P(e,t=""){"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}},3180(e,t,n){"use strict";n.d(t,{RC:()=>q,qr:()=>Y});var r=n(6540),i=n(2375),s=n(7044);let o,a,l;function u(){return o||(o=function(){const e=(0,i.a)(),t=(0,i.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),o}function c(e={}){return a||(a=function({userAgent:e}={}){const t=u(),n=(0,i.a)(),r=n.navigator.platform,s=e||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,l=n.screen.height,c=s.match(/(Android);?[\s\/]+([\d.]+)?/);let d=s.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const f=s.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let m="MacIntel"===r;return!d&&m&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(d=s.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),m=!1),c&&!h&&(o.os="android",o.android=!0),(d||p||f)&&(o.os="ios",o.ios=!0),o}(e)),a}function d(){return l||(l=function(){const e=(0,i.a)(),t=c();let n=!1;function r(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(r()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,r]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));n=e<16||16===e&&r<2}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=r();return{isSafari:n||o,needPerspectiveFix:n,need3dFix:o||s&&t.ios,isWebView:s}}()),l}var f={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;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(!r.eventsListeners||r.destroyed)return r;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(!n.eventsListeners||n.destroyed)return n;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.eventsListeners||t.destroyed)return t;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||n.destroyed?n: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||t.destroyed)return t;if(!t.eventsListeners)return t;let n,r,i;"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);return(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}};const p=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const h=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const m=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&!t.lazyPreloaderManaged&&t.remove())}))),t&&!t.lazyPreloaderManaged&&t.remove()}},v=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},g=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=i,s=[n-t];return s.push(...Array.from({length:t}).map(((e,t)=>n+r+t))),void e.slides.forEach(((t,n)=>{s.includes(t.column)&&v(e,n)}))}const s=i+r-1;if(e.params.rewind||e.params.loop)for(let r=i-t;r<=s+t;r+=1){const t=(r%n+n)%n;(t<i||t>s)&&v(e,t)}else for(let r=Math.max(i-t,0);r<=Math.min(s+t,n-1);r+=1)r!==i&&(r>s||r<i)&&v(e,r)};var y={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.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:r.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt((0,s.q)(r,"padding-left")||0,10)-parseInt((0,s.q)(r,"padding-right")||0,10),n=n-parseInt((0,s.q)(r,"padding-top")||0,10)-parseInt((0,s.q)(r,"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,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=(0,s.e)(i,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:c.length;let f=[];const p=[],h=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,y=e.slidesGrid.length,b=e.size-m-v;let w=n.spaceBetween,x=-m,E=0,S=0;if(void 0===b)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*b:"string"==typeof w&&(w=parseFloat(w)),e.virtualSize=-w-m-v,c.forEach((e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),n.centeredSlides&&n.cssMode&&((0,s.b)(r,"--swiper-centered-offset-before",""),(0,s.b)(r,"--swiper-centered-offset-after","")),n.cssMode&&((0,s.b)(r,"--swiper-slides-offset-before",`${m}px`),(0,s.b)(r,"--swiper-slides-offset-after",`${v}px`));const T=n.grid&&n.grid.rows>1&&e.grid;let P;T?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const C="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let r=0;r<d;r+=1){P=0;const i=c[r];if(!i||(T&&e.grid.updateSlide(r,i,c),"none"!==(0,s.q)(i,"display"))){if(l&&"auto"===n.slidesPerView)n.virtual.slidesPerViewAutoSlideSize&&(P=n.virtual.slidesPerViewAutoSlideSize),P&&i&&(n.roundLengths&&(P=Math.floor(P)),i.style[e.getDirectionLabel("width")]=`${P}px`);else if("auto"===n.slidesPerView){C&&(i.style[e.getDirectionLabel("width")]="");const r=getComputedStyle(i),o=i.style.transform,a=i.style.webkitTransform;if(o&&(i.style.transform="none"),a&&(i.style.webkitTransform="none"),n.roundLengths)P=e.isHorizontal()?(0,s.i)(i,"width",!0):(0,s.i)(i,"height",!0);else{const e=t(r,"width"),n=t(r,"padding-left"),s=t(r,"padding-right"),o=t(r,"margin-left"),a=t(r,"margin-right"),l=r.getPropertyValue("box-sizing");if(l&&"border-box"===l)P=e+o+a;else{const{clientWidth:t,offsetWidth:r}=i;P=e+n+s+o+a+(r-t)}}o&&(i.style.transform=o),a&&(i.style.webkitTransform=a),n.roundLengths&&(P=Math.floor(P))}else P=(b-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(P=Math.floor(P)),i&&(i.style[e.getDirectionLabel("width")]=`${P}px`);
vendor: 16,224 bytes, line 2
2i&&(i.swiperSlideSize=P),h.push(P),n.centeredSlides?(x=x+P/2+E/2+w,0===E&&0!==r&&(x=x-b/2-w),0===r&&(x=x-b/2-w),Math.abs(x)<.001&&(x=0),n.roundLengths&&(x=Math.floor(x)),S%n.slidesPerGroup==0&&f.push(x),p.push(x)):(n.roundLengths&&(x=Math.floor(x)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&f.push(x),p.push(x),x=x+P+w),e.virtualSize+=P+w,E=P,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,b)+v,o&&a&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width=`${e.virtualSize+w}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+w}px`),T&&e.grid.updateWrapperSize(P,f),!n.centeredSlides){const t="auto"!==n.slidesPerView&&n.slidesPerView%1!=0,r=n.snapToSlideEdge&&!n.loop&&("auto"===n.slidesPerView||t);let i=f.length;if(r){let e;if("auto"===n.slidesPerView){e=1;let t=0;for(let n=h.length-1;n>=0&&(t+=h[n]+(n<h.length-1?w:0),t<=b);n-=1)e=h.length-n}else e=Math.floor(n.slidesPerView);i=Math.max(d-e,0)}const s=[];for(let t=0;t<f.length;t+=1){let o=f[t];n.roundLengths&&(o=Math.floor(o)),r?t<=i&&s.push(o):f[t]<=e.virtualSize-b&&s.push(o)}f=s,Math.floor(e.virtualSize-b)-Math.floor(f[f.length-1])>1&&(r||f.push(e.virtualSize-b))}if(l&&n.loop){const t=h[0]+w;if(n.slidesPerGroup>1){const r=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),i=t*n.slidesPerGroup;for(let e=0;e<r;e+=1)f.push(f[f.length-1]+i)}for(let r=0;r<e.virtual.slidesBefore+e.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&f.push(f[f.length-1]+t),p.push(p[p.length-1]+t),e.virtualSize+=t}if(0===f.length&&(f=[0]),0!==w){const t=e.isHorizontal()&&o?"marginLeft":e.getDirectionLabel("marginRight");c.filter(((e,t)=>!(n.cssMode&&!n.loop)||t!==c.length-1)).forEach((e=>{e.style[t]=`${w}px`}))}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(w||0)})),e-=w;const t=e>b?e-b:0;f=f.map((e=>e<=0?-m:e>t?t+v:e))}if(n.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(w||0)})),e-=w,e<b){const t=(b-e)/2;f.forEach(((e,n)=>{f[n]=e-t})),p.forEach(((e,n)=>{p[n]=e+t}))}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,s.b)(r,"--swiper-centered-offset-before",-f[0]+"px"),(0,s.b)(r,"--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))}if(d!==u&&e.emit("slidesLengthChange"),f.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,r=e.el.classList.contains(t);d<=n.maxBackfaceHiddenSlides?r||e.el.classList.add(t):r&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>r?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{n.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!r)break;n.push(o(e))}else n.push(o(t.activeIndex));for(i=0;i<n.length;i+=1)if(void 0!==n[i]){const e=n[i].offsetHeight;s=e>s?e:s}(s||0===s)&&(t.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:s}=t;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;i&&(o=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<r.length;e+=1){const l=r[e];let u=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(u-=r[0].swiperSlideOffset);const c=(o+(n.centeredSlides?t.minTranslate():0)-u)/(l.swiperSlideSize+a),d=(o-s[0]+(n.centeredSlides?t.minTranslate():0)-u)/(l.swiperSlideSize+a),f=-(o-u),h=f+t.slidesSizesGrid[e],m=f>=0&&f<=t.size-t.slidesSizesGrid[e],v=f>=0&&f<t.size-1||h>1&&h<=t.size||f<=0&&h>=t.size;v&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),p(l,v,n.slideVisibleClass),p(l,m,n.slideFullyVisibleClass),l.progress=i?-c:c,l.originalProgress=i?-d:d}},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:s,isEnd:o,progressLoop:a}=t;const l=s,u=o;if(0===r)i=0,s=!0,o=!0;else{i=(e-t.minTranslate())/r;const n=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;s=n||i<=0,o=a||i>=1,n&&(i=0),a&&(i=1)}if(n.loop){const n=t.getSlideIndexByData(0),r=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[n],s=t.slidesGrid[r],o=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);a=l>=i?(l-i)/o:(l+o-s)/o,a>1&&(a-=1)}Object.assign(t,{progress:i,progressLoop:a,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(l&&!s||u&&!o)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,o=e.virtual&&n.virtual.enabled,a=e.grid&&n.grid&&n.grid.rows>1,l=e=>(0,s.e)(r,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let u,c,d;if(o)if(n.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),u=l(`[data-swiper-slide-index="${t}"]`)}else u=l(`[data-swiper-slide-index="${i}"]`);else a?(u=t.find((e=>e.column===i)),d=t.find((e=>e.column===i+1)),c=t.find((e=>e.column===i-1))):u=t[i];u&&(a||(d=(0,s.r)(u,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=t[0]),c=(0,s.t)(u,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach((e=>{h(e,e===u,n.slideActiveClass),h(e,e===d,n.slideNextClass),h(e,e===c,n.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,snapIndex:a}=t;let l,u=e;const c=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===u&&(u=function(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let i;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?r>=t[e]&&r<t[e+1]-(t[e+1]-t[e])/2?i=e:r>=t[e]&&r<t[e+1]&&(i=e+1):r>=t[e]&&(i=e);return n.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(t)),r.indexOf(n)>=0)l=r.indexOf(n);else{const e=Math.min(i.slidesPerGroupSkip,u);l=e+Math.floor((u-e)/i.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),u===s&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(u===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=c(u));const d=t.grid&&i.grid&&i.grid.rows>1;let f;if(t.virtual&&i.virtual.enabled)f=i.loop?c(u):u;else if(d){const e=t.slides.find((e=>e.column===u));let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),f=Math.floor(n/i.grid.rows)}else if(t.slides[u]){const e=t.slides[u].getAttribute("data-swiper-slide-index");f=e?parseInt(e,10):u}else f=u;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:o,realIndex:f,previousIndex:s,activeIndex:u}),t.initialized&&g(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==f&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!i&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(i=e)}));let s,o=!1;if(i)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===i){o=!0,s=e;break}if(!i||!o)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=s,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var b={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=(0,s.l)(i,e);return o+=this.cssOverflowAdjustment(),n&&(o=-o),o||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,wrapperEl:s,progress:o}=n;let a,l=0,u=0;n.isHorizontal()?l=r?-e:e:u=e,i.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:u,i.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-u:i.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():u-=n.cssOverflowAdjustment(),s.style.transform=`translate3d(${l}px, ${u}px, 0px)`);const c=n.maxTranslate()-n.minTranslate();a=0===c?0:(e-n.minTranslate())/c,a!==o&&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:a,wrapperEl:l}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const u=o.minTranslate(),c=o.maxTranslate();let d;if(d=r&&e>u?u:r&&e<c?c:e,o.updateProgress(d),a.cssMode){const e=o.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-d;else{if(!o.support.smoothScroll)return(0,s.u)({swiper:o,targetPosition:-d,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(d),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(d),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,n&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}};function w({swiper:e,runCallbacks:t,direction:n,step:r}){const{activeIndex:i,previousIndex:s}=e;let o=n;o||(o=i>s?"next":i<s?"prev":"reset"),e.emit(`transition${r}`),t&&"reset"===o?e.emit(`slideResetTransition${r}`):t&&i!==s&&(e.emit(`slideChangeTransition${r}`),"next"===o?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`))}var x={slideTo:function(e=0,t,n=!0,r,i){"string"==typeof e&&(e=parseInt(e,10));const o=this;let a=e;a<0&&(a=0);const{params:l,snapGrid:u,slidesGrid:c,previousIndex:f,activeIndex:p,rtlTranslate:h,wrapperEl:m,enabled:v}=o;if(!v&&!r&&!i||o.destroyed||o.animating&&l.preventInteractionOnTransition)return!1;void 0===t&&(t=o.params.speed);const g=Math.min(o.params.slidesPerGroupSkip,a);let y=g+Math.floor((a-g)/o.params.slidesPerGroup);y>=u.length&&(y=u.length-1);const b=-u[y];if(l.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*b),n=Math.floor(100*c[e]),r=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<r-(r-n)/2?a=e:t>=n&&t<r&&(a=e+1):t>=n&&(a=e)}if(o.initialized&&a!==p){if(!o.allowSlideNext&&(h?b>o.translate&&b>o.minTranslate():b<o.translate&&b<o.minTranslate()))return!1;if(!o.allowSlidePrev&&b>o.translate&&b>o.maxTranslate()&&(p||0)!==a)return!1}let w;a!==(f||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(b),w=a>p?"next":a<p?"prev":"reset";const x=o.virtual&&o.params.virtual.enabled;if(!(x&&i)&&(h&&-b===o.translate||!h&&b===o.translate))return o.updateActiveIndex(a),l.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==l.effect&&o.setTranslate(b),"reset"!==w&&(o.transitionStart(n,w),o.transitionEnd(n,w)),!1;if(l.cssMode){const e=o.isHorizontal(),n=h?b:-b;if(0===t)x&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),x&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{m[e?"scrollLeft":"scrollTop"]=n}))):m[e?"scrollLeft":"scrollTop"]=n,x&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1}));else{if(!o.support.smoothScroll)return(0,s.u)({swiper:o,targetPosition:n,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}const E=d().isSafari;return x&&!i&&E&&o.isElement&&o.virtual.update(!1,!1,a),o.setTransition(t),o.setTranslate(b),o.updateActiveIndex(a),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.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,w))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,n=!0,r){if("string"==typeof e){e=parseInt(e,10)}const i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);const s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o+=i.virtual.slidesBefore;else{let e;if(s){const t=o*i.params.grid.rows;e=i.slides.find((e=>1*e.getAttribute("data-swiper-slide-index")===t)).column}else e=i.getSlideIndexByData(o);const t=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:n,slidesOffsetBefore:a,slidesOffsetAfter:l}=i.params,u=n||!!a||!!l;let c=i.params.slidesPerView;"auto"===c?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2==0&&(c+=1));let d=t-e<c;if(u&&(d=d||e<Math.ceil(c/2)),r&&u&&"auto"!==i.params.slidesPerView&&!s&&(d=!1),d){const n=u?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?i.realIndex:void 0})}if(s){const e=o*i.params.grid.rows;o=i.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)).column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame((()=>{i.slideTo(o,t,n,r)})),i},slideNext:function(e,t=!0,n){const r=this,{enabled:i,params:s,animating:o}=r;if(!i||r.destroyed)return r;void 0===e&&(e=r.params.speed);let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<s.slidesPerGroupSkip?1:a,u=r.virtual&&s.virtual.enabled;if(s.loop){if(o&&!u&&s.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&s.cssMode)return requestAnimationFrame((()=>{r.slideTo(r.activeIndex+l,e,t,n)})),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t=!0,n){const r=this,{params:i,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;void 0===e&&(e=r.params.speed);const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const f=d(a?r.translate:-r.translate),p=s.map((e=>d(e))),h=i.freeMode&&i.freeMode.enabled;let m=s[p.indexOf(f)-1];if(void 0===m&&(i.cssMode||h)){let e;
vendor: 13,157 bytes, line 2
2s.forEach(((t,n)=>{f>=t&&(e=n)})),void 0!==e&&(m=h?s[e]:s[e>0?e-1:e])}let v=0;if(void 0!==m&&(v=o.indexOf(m),v<0&&(v=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(v=v-r.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),i.rewind&&r.isBeginning){const i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame((()=>{r.slideTo(v,e,t,n)})),!0):r.slideTo(v,e,t,n)},slideReset:function(e,t=!0,n){const r=this;if(!r.destroyed)return void 0===e&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)},slideToClosest:function(e,t=!0,n,r=.5){const i=this;if(i.destroyed)return;void 0===e&&(e=i.params.speed);let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/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&&(s+=i.params.slidesPerGroup)}else{const e=i.snapGrid[a-1];l-e<=(i.snapGrid[a]-e)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.getSlideIndexWhenGrid(e.clickedIndex);const a=e.isElement?"swiper-slide":`.${t.slideClass}`,l=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(i):o>(l?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),o=e.getSlideIndex((0,s.e)(n,`${a}[data-swiper-slide-index="${i}"]`)[0]),(0,s.n)((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}};var E={loopCreate:function(e,t){const n=this,{params:r,slidesEl:i}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const o=()=>{(0,s.e)(i,`.${r.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},a=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||a)&&(()=>{const e=(0,s.e)(i,`.${r.slideBlankClass}`);e.forEach((e=>{e.remove()})),e.length>0&&(n.recalcSlides(),n.updateSlides())})();const l=r.slidesPerGroup*(a?r.grid.rows:1),u=n.slides.length%l!=0,c=a&&n.slides.length%r.grid.rows!=0,d=e=>{for(let t=0;t<e;t+=1){const e=n.isElement?(0,s.c)("swiper-slide",[r.slideBlankClass]):(0,s.c)("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(e)}};if(u){if(r.loopAddBlankSlides){d(l-n.slides.length%l),n.recalcSlides(),n.updateSlides()}else(0,s.v)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(c){if(r.loopAddBlankSlides){d(r.grid.rows-n.slides.length%r.grid.rows),n.recalcSlides(),n.updateSlides()}else(0,s.v)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();const f=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:f?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:r,activeSlideIndex:i,initial:o,byController:a,byMousewheel:l}={}){const u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:f,slidesEl:p,params:h}=u,{centeredSlides:m,slidesOffsetBefore:v,slidesOffsetAfter:g,initialSlide:y}=h,b=m||!!v||!!g;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&h.virtual.enabled)return t&&(b||0!==u.snapIndex?b&&u.snapIndex<h.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=d,u.allowSlideNext=f,void u.emit("loopFix");let w=h.slidesPerView;"auto"===w?w=u.slidesPerViewDynamic():(w=Math.ceil(parseFloat(h.slidesPerView,10)),b&&w%2==0&&(w+=1));const x=h.slidesPerGroupAuto?w:h.slidesPerGroup;let E=b?Math.max(x,Math.ceil(w/2)):x;E%x!=0&&(E+=x-E%x),E+=h.loopAdditionalSlides,u.loopedSlides=E;const S=u.grid&&h.grid&&h.grid.rows>1;c.length<w+E||"cards"===u.params.effect&&c.length<w+2*E?(0,s.v)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):S&&"row"===h.grid.fill&&(0,s.v)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const T=[],P=[],C=S?Math.ceil(c.length/h.grid.rows):c.length,j=o&&C-y<w&&!b;let M=j?y:u.activeIndex;void 0===i?i=u.getSlideIndex(c.find((e=>e.classList.contains(h.slideActiveClass)))):M=i;const k="next"===n||!n,$="prev"===n||!n;let A=0,L=0;const D=(S?c[i].column:i)+(b&&void 0===r?-w/2+.5:0);if(D<E){A=Math.max(E-D,x);for(let e=0;e<E-D;e+=1){const t=e-Math.floor(e/C)*C;if(S){const e=C-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&T.push(t)}else T.push(C-t-1)}}else if(D+w>C-E){L=Math.max(D-(C-2*E),x),j&&(L=Math.max(L,w-C+y+1));for(let e=0;e<L;e+=1){const t=e-Math.floor(e/C)*C;S?c.forEach(((e,n)=>{e.column===t&&P.push(n)})):P.push(t)}}if(u.__preventObserver__=!0,requestAnimationFrame((()=>{u.__preventObserver__=!1})),"cards"===u.params.effect&&c.length<w+2*E&&(P.includes(i)&&P.splice(P.indexOf(i),1),T.includes(i)&&T.splice(T.indexOf(i),1)),$&&T.forEach((e=>{c[e].swiperLoopMoveDOM=!0,p.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),k&&P.forEach((e=>{c[e].swiperLoopMoveDOM=!0,p.append(c[e]),c[e].swiperLoopMoveDOM=!1})),u.recalcSlides(),"auto"===h.slidesPerView?u.updateSlides():S&&(T.length>0&&$||P.length>0&&k)&&u.slides.forEach(((e,t)=>{u.grid.updateSlide(t,e,u.slides)})),h.watchSlidesProgress&&u.updateSlidesOffset(),t)if(T.length>0&&$){if(void 0===e){const e=u.slidesGrid[M],t=u.slidesGrid[M+A]-e;l?u.setTranslate(u.translate-t):(u.slideTo(M+Math.ceil(A),0,!1,!0),r&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else if(r){const e=S?T.length/h.grid.rows:T.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(P.length>0&&k)if(void 0===e){const e=u.slidesGrid[M],t=u.slidesGrid[M-L]-e;l?u.setTranslate(u.translate-t):(u.slideTo(M-L,0,!1,!0),r&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else{const e=S?P.length/h.grid.rows:P.length;u.slideTo(u.activeIndex-e,0,!1,!0)}if(u.allowSlidePrev=d,u.allowSlideNext=f,u.controller&&u.controller.control&&!a){const s={slideRealIndex:e,direction:n,setTranslate:r,activeSlideIndex:i,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach((e=>{!e.destroyed&&e.params.loop&&e.loopFix({...s,slideTo:e.params.slidesPerView===h.slidesPerView&&t})})):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...s,slideTo:u.controller.control.params.slidesPerView===h.slidesPerView&&t})}u.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;r[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),r.forEach((e=>{n.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function S(e,t,n){const r=(0,i.a)(),{params:s}=e,o=s.edgeSwipeDetection,a=s.edgeSwipeThreshold;return!o||!(n<=a||n>=r.innerWidth-a)||"prevent"===o&&(t.preventDefault(),!0)}function T(e){const t=this,n=(0,i.g)();let r=e;r.originalEvent&&(r=r.originalEvent);const o=t.touchEventsData;if("pointerdown"===r.type){if(null!==o.pointerId&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(o.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void S(t,r,r.targetTouches[0].pageX);const{params:a,touches:l,enabled:u}=t;if(!u)return;if(!a.simulateTouch&&"mouse"===r.pointerType)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let c=r.target;if("wrapper"===a.touchEventsTarget&&!(0,s.w)(c,t.wrapperEl))return;if("which"in r&&3===r.which)return;if("button"in r&&r.button>0)return;if(o.isTouched&&o.isMoved)return;const d=!!a.noSwipingClass&&""!==a.noSwipingClass,f=r.composedPath?r.composedPath():r.path;d&&r.target&&r.target.shadowRoot&&f&&(c=f[0]);const p=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,h=!(!r.target||!r.target.shadowRoot);if(a.noSwiping&&(h?function(e,t=this){return function t(n){if(!n||n===(0,i.g)()||n===(0,i.a)())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(p,c):c.closest(p)))return void(t.allowClick=!0);if(a.swipeHandler&&!c.closest(a.swipeHandler))return;l.currentX=r.pageX,l.currentY=r.pageY;const m=l.currentX,v=l.currentY;if(!S(t,r,m))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=m,l.startY=v,o.touchStartTime=(0,s.h)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(o.allowThresholdMove=!1);let g=!0;c.matches(o.focusableElements)&&(g=!1,"SELECT"===c.nodeName&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==c&&("mouse"===r.pointerType||"mouse"!==r.pointerType&&!c.matches(o.focusableElements))&&n.activeElement.blur();const y=g&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!y||c.isContentEditable||r.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function P(e){const t=(0,i.g)(),n=this,r=n.touchEventsData,{params:o,touches:a,rtlTranslate:l,enabled:u}=n;if(!u)return;if(!o.simulateTouch&&"mouse"===e.pointerType)return;let c,d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type){if(null!==r.touchId)return;if(d.pointerId!==r.pointerId)return}if("touchmove"===d.type){if(c=[...d.changedTouches].find((e=>e.identifier===r.touchId)),!c||c.identifier!==r.touchId)return}else c=d;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",d));const f=c.pageX,p=c.pageY;if(d.preventedByNestedSwiper)return a.startX=f,void(a.startY=p);if(!n.allowTouchMove)return d.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(a,{startX:f,startY:p,currentX:f,currentY:p}),r.touchStartTime=(0,s.h)()));if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(p<a.startY&&n.translate<=n.maxTranslate()||p>a.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else{if(l&&(f>a.startX&&-n.translate<=n.maxTranslate()||f<a.startX&&-n.translate>=n.minTranslate()))return;if(!l&&(f<a.startX&&n.translate<=n.maxTranslate()||f>a.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==d.target&&"mouse"!==d.pointerType&&t.activeElement.blur(),t.activeElement&&d.target===t.activeElement&&d.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);r.allowTouchCallbacks&&n.emit("touchMove",d),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=f,a.currentY=p;const h=a.currentX-a.startX,m=a.currentY-a.startY;if(n.params.threshold&&Math.sqrt(h**2+m**2)<n.params.threshold)return;if(void 0===r.isScrolling){let e;n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:h*h+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,r.isScrolling=n.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",d),void 0===r.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(r.startMoving=!0)),r.isScrolling||"touchmove"===d.type&&r.preventTouchMoveFromPointerMove)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&d.cancelable&&d.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&d.stopPropagation();let v=n.isHorizontal()?h:m,g=n.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;o.oneWayMovement&&(v=Math.abs(v)*(l?1:-1),g=Math.abs(g)*(l?1:-1)),a.diff=v,v*=o.touchRatio,l&&(v=-v,g=-g);const y=n.touchesDirection;n.swipeDirection=v>0?"prev":"next",n.touchesDirection=g>0?"prev":"next";const b=n.params.loop&&!o.cssMode,w="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!r.isMoved){if(b&&w&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
vendor: 2,162 bytes, line 2
2n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!o.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",d)}if((new Date).getTime(),!1!==o._loopSwapReset&&r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&b&&w&&Math.abs(v)>=1)return Object.assign(a,{startX:f,startY:p,currentX:f,currentY:p,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);n.emit("sliderMove",d),r.isMoved=!0,r.currentTranslate=v+r.startTranslate;let x=!0,E=o.resistanceRatio;if(o.touchReleaseOnEdges&&(E=0),v>0?(b&&w&&r.allowThresholdMove&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==o.slidesPerView&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(x=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+v)**E))):v<0&&(b&&w&&r.allowThresholdMove&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==o.slidesPerView&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===o.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(x=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-v)**E))),x&&(d.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),o.threshold>0){if(!(Math.abs(v)>o.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);
vendor: 4,933 bytes, line 2
2if(!r.allowThresholdMove)return r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,void(a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function C(e){const t=this,n=t.touchEventsData;let r,i=e;i.originalEvent&&(i=i.originalEvent);if("touchend"===i.type||"touchcancel"===i.type){if(r=[...i.changedTouches].find((e=>e.identifier===n.touchId)),!r||r.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(i.pointerId!==n.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)){if(!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:o,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===i.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",i),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);o.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=(0,s.h)(),f=d-n.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),f<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(n.lastClickTime=(0,s.h)(),(0,s.n)((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===a.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let p;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,p=o.followFinger?l?t.translate:-t.translate:-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const h=p>=-t.maxTranslate()&&!t.params.loop;let m=0,v=t.slidesSizesGrid[0];for(let e=0;e<u.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){const t=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==u[e+t]?(h||p>=u[e]&&p<u[e+t])&&(m=e,v=u[e+t]-u[e]):(h||p>=u[e])&&(m=e,v=u[u.length-1]-u[u.length-2])}let g=null,y=null;o.rewind&&(t.isBeginning?y=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const b=(p-u[m])/v,w=m<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(f>o.longSwipesMs){if(!o.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?g:m+w):t.slideTo(m)),"prev"===t.swipeDirection&&(b>1-o.longSwipesRatio?t.slideTo(m+w):null!==y&&b<0&&Math.abs(b)>o.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!o.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(m+w):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==g?g:m+w),"prev"===t.swipeDirection&&t.slideTo(null!==y?y:m))}}function j(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;if(!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a)e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);else{const t=o?e.virtual.slides:e.slides;e.slideTo(t.length-1,0,!1,!0)}e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function M(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function k(){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 s=e.maxTranslate()-e.minTranslate();i=0===s?0:(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function $(e){const t=this;m(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update(
vendor: 5,572 bytes, line 2
2)}function A(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const L=(e,t)=>{const n=(0,i.g)(),{params:r,el:s,wrapperEl:o,device:a}=e,l=!!r.nested,u="on"===t?"addEventListener":"removeEventListener",c=t;s&&"string"!=typeof s&&(n[u]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),s[u]("touchstart",e.onTouchStart,{passive:!1}),s[u]("pointerdown",e.onTouchStart,{passive:!1}),n[u]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[u]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[u]("touchend",e.onTouchEnd,{passive:!0}),n[u]("pointerup",e.onTouchEnd,{passive:!0}),n[u]("pointercancel",e.onTouchEnd,{passive:!0}),n[u]("touchcancel",e.onTouchEnd,{passive:!0}),n[u]("pointerout",e.onTouchEnd,{passive:!0}),n[u]("pointerleave",e.onTouchEnd,{passive:!0}),n[u]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&s[u]("click",e.onClick,!0),r.cssMode&&o[u]("scroll",e.onScroll),r.updateOnWindowResize?e[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",j,!0):e[c]("observerUpdate",j,!0),s[u]("load",e.onLoad,{capture:!0}))};const D=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var O={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",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,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function R(e,t){return function(n={}){const r=Object.keys(n)[0],i=n[r];"object"==typeof i&&null!==i?(!0===e[r]&&(e[r]={enabled:!0}),"navigation"===r&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),r in e&&"enabled"in i?("object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),(0,s.x)(t,n)):(0,s.x)(t,n)):(0,s.x)(t,n)}}const I={eventsEmitter:f,update:y,translate:b,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),w({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),w({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:x,loop:E,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=T.bind(e),e.onTouchMove=P.bind(e),e.onTouchEnd=C.bind(e),e.onDocumentTouchStart=A.bind(e),t.cssMode&&(e.onScroll=k.bind(e)),e.onClick=M.bind(e),e.onLoad=$.bind(e),L(e,"on")},detachEvents:function(){L(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:o}=e,a=r.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const l=(0,i.g)(),u="window"!==r.breakpointsBase&&r.breakpointsBase?"container":r.breakpointsBase,c=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:l.querySelector(r.breakpointsBase),d=e.getBreakp
vendor: 14,429 bytes, line 2
2oint(a,u,c);if(!d||e.currentBreakpoint===d)return;const f=(d in a?a[d]:void 0)||e.originalParams,p=D(e,r),h=D(e,f),m=e.params.grabCursor,v=f.grabCursor,g=r.enabled;p&&!h?(o.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&h&&(o.classList.add(`${r.containerModifierClass}grid`),(f.grid.fill&&"column"===f.grid.fill||!f.grid.fill&&"column"===r.grid.fill)&&o.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!v?e.unsetGrabCursor():!m&&v&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===f[t])return;const n=r[t]&&r[t].enabled,i=f[t]&&f[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()}));const y=f.direction&&f.direction!==r.direction,b=r.loop&&(f.slidesPerView!==r.slidesPerView||y),w=r.loop;y&&n&&e.changeDirection(),(0,s.x)(e.params,f);const x=e.params.enabled,E=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),g&&!x?e.disable():!g&&x&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",f),n&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!w&&E?(e.loopCreate(t),e.updateSlides()):w&&!E&&e.loopDestroy()),e.emit("breakpoint",f)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let r=!1;const s=(0,i.a)(),o="window"===t?s.innerHeight:n.clientHeight,a=Object.keys(e).map((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}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const{point:i,value:o}=a[e];"window"===t?s.matchMedia(`(min-width: ${o}px)`).matches&&(r=i):o<=n.clientWidth&&(r=i)}return r||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}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:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:s}=e,o=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,{"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:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},F={};class _{constructor(...e){let t,n;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=(0,s.x)({},n),t&&!n.el&&(n.el=t);const r=(0,i.g)();if(n.el&&"string"==typeof n.el&&r.querySelectorAll(n.el).length>1){const e=[];return r.querySelectorAll(n.el).forEach((t=>{const r=(0,s.x)({},n,{el:t});e.push(new _(r))})),e}const o=this;o.__swiper__=!0,o.support=u(),o.device=c({userAgent:n.userAgent}),o.browser=d(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],n.modules&&Array.isArray(n.modules)&&n.modules.forEach((e=>{"function"==typeof e&&o.modules.indexOf(e)<0&&o.modules.push(e)}));const a={};o.modules.forEach((e=>{e({params:n,swiper:o,extendParams:R(n,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const l=(0,s.x)({},O,a);return o.params=(0,s.x)({},l,F,n),o.originalParams=(0,s.x)({},o.params),o.passedParams=(0,s.x)({},n),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,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:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{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"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,r=(0,s.e)(t,`.${n.slideClass}, swiper-slide`),i=(0,s.j)(r[0]);return(0,s.j)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=(0,s.e)(e,`.${t.slideClass}, swiper-slide`)}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 t.destroyed?"":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.forEach((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:s,size:o,activeIndex:a}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[a]?Math.ceil(r[a].swiperSlideSize):0;for(let n=a+1;n<r.length;n+=1)r[n]&&!e&&(t+=Math.ceil(r[n].swiperSlideSize),l+=1,t>o&&(e=!0));for(let n=a-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=a+1;e<r.length;e+=1){(t?i[e]+s[e]-i[a]<o:i[e]-i[a]<o)&&(l+=1)}else for(let e=a-1;e>=0;e-=1){i[a]-i[e]<o&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&m(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=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.classList.remove(`${n.params.containerModifierClass}${r}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(r())}return(0,s.e)(n,r())[0]})();return!i&&t.params.createElements&&(i=(0,s.c)("div",t.params.wrapperClass),n.append(i),(0,s.e)(n,`.${t.params.slideClass}`).forEach((e=>{i.append(e)}))),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===(0,s.q)(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===(0,s.q)(n,"direction")),wrongRTL:"-webkit-box"===(0,s.q)(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach((e=>{e.complete?m(t,e):e.addEventListener("load",(e=>{m(t,e.target)}))})),g(t),t.initialized=!0,g(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){const n=this,{params:r,el:i,wrapperEl:o,slides:a}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach((e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),(0,s.y)(n)),n.destroyed=!0),null}static extendDefaults(e){(0,s.x)(F,e)}static get extendedDefaults(){return F}static get defaults(){return O}static installModule(e){_.prototype.__modules__||(_.prototype.__modules__=[]);const t=_.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>_.installModule(e))),_):(_.installModule(e),_)}}Object.keys(I).forEach((e=>{Object.keys(I[e]).forEach((t=>{_.prototype[t]=I[e][t]}))})),_.use([function({swiper:e,on:t,emit:n}){const r=(0,i.a)();let s=null,o=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(s=new ResizeObserver((t=>{o=r.requestAnimationFrame((()=>{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||a()}))})),s.observe(e.el)):(r.addEventListener("resize",a),r.addEventListener("orientationchange",l))})),t("destroy",(()=>{o&&r.cancelAnimationFrame(o),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",l)}))},function({swiper:e,extendParams:t,on:n,emit:r}){const o=[],a=(0,i.a)(),l=(t,n={})=>{const i=new(a.MutationObserver||a.WebkitMutationObserver)((t=>{if(e.__preventObserver__)return;if(1===t.length)return void r("observerUpdate",t[0]);const n=function(){r("observerUpdate",t[0])};a.requestAnimationFrame?a.requestAnimationFrame(n):a.setTimeout(n,0)}));i.observe(t,{attributes:void 0===n.attributes||n.attributes,childList:e.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),o.push(i)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=(0,s.d)(e.hostEl);for(let e=0;e<t.length;e+=1)l(t[e])}l(e.hostEl,{childList:e.params.observeSlideChildren}),l(e.wrapperEl,{attributes:!1})}})),n("destroy",(()=>{o.forEach((e=>{e.disconnect()})),o.splice(0,o.length)}))}]);var B=n(6727);function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V.apply(this,arguments)}function N(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function H(e){const t=[];return r.Children.toArray(e).forEach((e=>{N(e)?t.push(e):e.props&&e.props.children&&H(e.props.children).forEac
vendor: 5,600 bytes, line 2
2h((e=>t.push(e)))})),t}function z(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return r.Children.toArray(e).forEach((e=>{if(N(e))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=H(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 W(e,t){return"undefined"==typeof window?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}const U=(0,r.createContext)(null),G=(0,r.createContext)(null),q=(0,r.forwardRef)((({className:e,tag:t="div",wrapperTag:n="div",children:i,onSwiper:s,...o}={},a)=>{let l=!1;const[u,c]=(0,r.useState)("swiper"),[d,f]=(0,r.useState)(null),[p,h]=(0,r.useState)(!1),m=(0,r.useRef)(!1),v=(0,r.useRef)(null),g=(0,r.useRef)(null),y=(0,r.useRef)(null),b=(0,r.useRef)(null),w=(0,r.useRef)(null),x=(0,r.useRef)(null),E=(0,r.useRef)(null),S=(0,r.useRef)(null),{params:T,passedParams:P,rest:C,events:j}=function(e={},t=!0){const n={on:{}},r={},i={};(0,B.e)(n,O),n._emitClasses=!0,n.init=!1;const s={},o=B.p.map((e=>e.replace(/_/,""))),a=Object.assign({},e);return Object.keys(a).forEach((a=>{void 0!==e[a]&&(o.indexOf(a)>=0?(0,B.i)(e[a])?(n[a]={},i[a]={},(0,B.e)(n[a],e[a]),(0,B.e)(i[a],e[a])):(n[a]=e[a],i[a]=e[a]):0===a.search(/on[A-Z]/)&&"function"==typeof e[a]?t?r[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:n.on[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:s[a]=e[a])})),["navigation","pagination","scrollbar"].forEach((e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]})),{params:n,passedParams:i,rest:s,events:r}}(o),{slides:M,slots:k}=z(i),$=()=>{h(!p)};Object.assign(T.on,{_containerClasses(e,t){c(t)}});const A=()=>{Object.assign(T.on,j),l=!0;const e={...T};if(delete e.wrapperClass,g.current=new _(e),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=M;const e={cache:!1,slides:M,renderExternal:f,renderExternalUpdate:!1};(0,B.e)(g.current.params.virtual,e),(0,B.e)(g.current.originalParams.virtual,e)}};v.current||A(),g.current&&g.current.on("_beforeBreakpoint",$);return(0,r.useEffect)((()=>()=>{g.current&&g.current.off("_beforeBreakpoint",$)})),(0,r.useEffect)((()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)})),W((()=>{if(a&&(a.current=v.current),v.current)return g.current.destroyed&&A(),function({el:e,nextEl:t,prevEl:n,paginationEl:r,scrollbarEl:i,swiper:s},o){(0,B.n)(o)&&t&&n&&(s.params.navigation.nextEl=t,s.originalParams.navigation.nextEl=t,s.params.navigation.prevEl=n,s.originalParams.navigation.prevEl=n),(0,B.a)(o)&&r&&(s.params.pagination.el=r,s.originalParams.pagination.el=r),(0,B.b)(o)&&i&&(s.params.scrollbar.el=i,s.originalParams.scrollbar.el=i),s.init(e)}({el:v.current,nextEl:w.current,prevEl:x.current,paginationEl:E.current,scrollbarEl:S.current,swiper:g.current},T),s&&!g.current.destroyed&&s(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}}),[]),W((()=>{!l&&j&&g.current&&Object.keys(j).forEach((e=>{g.current.on(e,j[e])}));const e=function(e,t,n,r,i){const s=[];if(!t)return s;const o=e=>{s.indexOf(e)<0&&s.push(e)};if(n&&r){const e=r.map(i),t=n.map(i);e.join("")!==t.join("")&&o("children"),r.length!==n.length&&o("children")}return B.p.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,""))).forEach((n=>{if(n in e&&n in t)if((0,B.i)(e[n])&&(0,B.i)(t[n])){const r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?o(n):(r.forEach((r=>{e[n][r]!==t[n][r]&&o(n)})),i.forEach((r=>{e[n][r]!==t[n][r]&&o(n)})))}else e[n]!==t[n]&&o(n)})),s}(P,y.current,M,b.current,(e=>e.key));return y.current=P,b.current=M,e.length&&g.current&&!g.current.destroyed&&(0,B.u)({swiper:g.current,slides:M,passedParams:P,changedParams:e,nextEl:w.current,prevEl:x.current,scrollbarEl:S.current,paginationEl:E.current}),()=>{j&&g.current&&Object.keys(j).forEach((e=>{g.current.off(e,j[e])}))}})),W((()=>{var e;!(e=g.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[d]),r.createElement(t,V({ref:v,className:(0,B.d)(`${u}${e?` ${e}`:""}`)},C),r.createElement(G.Provider,{value:g.current},k["container-start"],r.createElement(n,{className:(0,B.w)(T.wrapperClass)},k["wrapper-start"],T.virtual?function(e,t,n){if(!n)return null;const i=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},s=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:o,to:a}=n,l=e.params.loop?-t.length:0,u=e.params.loop?2*t.length:t.length,c=[];for(let e=l;e<u;e+=1)e>=o&&e<=a&&c.push(t[i(e)]);return c.map(((t,n)=>r.cloneElement(t,{swiper:e,style:s,key:t.props.virtualIndex||t.key||`slide-${n}`})))}(g.current,M,d):M.map(((e,t)=>r.cloneElement(e,{swiper:g.current,swiperSlideIndex:t}))),k["wrapper-end"]),(0,B.n)(T)&&r.createElement(r.Fragment,null,r.createElement("div",{ref:x,className:"swiper-button-prev"}),r.createElement("div",{ref:w,className:"swiper-button-next"})),(0,B.b)(T)&&r.createElement("div",{ref:S,className:"swiper-scrollbar"}),(0,B.a)(T)&&r.createElement("div",{ref:E,className:"swiper-pagination"}),k["container-end"]))}));q.displayName="Swiper";const Y=(0,r.forwardRef)((({tag:e="div",children:t,className:n="",swiper:i,zoom:s,lazy:o,virtualIndex:a,swiperSlideIndex:l,...u}={},c)=>{const d=(0,r.useRef)(null),[f,p]=(0,r.useState)("swiper-slide"),[h,m]=(0,r.useState)(!1);function v(e,t,n){t===d.current&&p(n)}W((()=>
2{if(void 0!==l&&(d.current.swiperSlideIndex=l),c&&(c.current=d.current),d.current&&i){if(!i.destroyed)return i.on("_slideClass",v),()=>{i&&i.off("_slideClass",v)};"swiper-slide"!==f&&p("swiper-slide")}})),W((()=>{i&&d.current&&!i.destroyed&&p(i.getSlideClasses(d.current))}),[i]);const g={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isFullyVisible:f.indexOf("swiper-slide-fully-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},y=()=>"function"==typeof t?t(g):t;return r.createElement(e,V({ref:d,className:(0,B.d)(`${f}${n?` ${n}`:""}`),"data-swiper-slide-index":a,onLoad:()=>{m(!0)}},u),s&&r.createElement(U.Provider,{value:g},r.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof s?s:void 0},y(),o&&!h&&r.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}}))),!s&&r.createElement(U.Provider,{value:g},y(),o&&!h&&r.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}})))}));Y.displayName="SwiperSlide"},8772(e,t,n){"use strict";n.d(t,{A:()=>re});var r=n(6540),i=n(9888);const s=()=>{},o=s(),a=Object,l=e=>e===o,u=e=>"function"==typeof e,c=(e,t)=>({...e,...t}),d=new WeakMap;let f=0;const p=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let i,s;if(a(e)!==e||r||n==RegExp)i=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(i=d.get(e),i)return i;if(i=++f+"~",d.set(e,i),n==Array){for(i="@",s=0;s<e.length;s++)i+=p(e[s])+",";d.set(e,i)}if(n==a){i="#";const t=a.keys(e).sort();for(;!l(s=t.pop());)l(e[s])||(i+=s+":"+p(e[s])+",");d.set(e,i)}}return i},h=new WeakMap,m={},v={},g="undefined",y=typeof window!=g,b=typeof document!=g,w=(e,t)=>{const n=h.get(e);return[()=>!l(t)&&e.get(t)||m,r=>{if(!l(t)){const i=e.get(t);t in v||(v[t]=i),n[5](t,c(i,r),i||m)}},n[6],()=>!l(t)&&t in v?v[t]:!l(t)&&e.get(t)||m]};let x=!0;const[E,S]=y&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[s,s],T={isOnline:()=>x,isVisible:()=>{const e=b&&document.visibilityState;return l(e)||"hidden"!==e}},P={initFocus:e=>(b&&document.addEventListener("visibilitychange",e),E("focus",e),()=>{b&&document.removeEventListener("visibilitychange",e),S("focus",e)}),initReconnect:e=>{const t=()=>{x=!0,e()},n=()=>{x=!1};
2return E("online",t),E("offline",n),()=>{S("online",t),S("offline",n)}}},C=!r.useId,j=!y||"Deno"in window,M=e=>y&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1),k=j?r.useEffect:r.useLayoutEffect,$="undefined"!=typeof navigator&&navigator.connection,A=!j&&$&&(["slow-2g","2g"].includes($.effectiveType)||$.saveData),L=e=>{if(u(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?p(e):"",t]};let D=0;const O=()=>++D;var R=3,I=0,F=2,_=1;async function B(...e){const[t,n,r,i]=e,s=c({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{});let a=s.populateCache;const d=s.rollbackOnError;let f=s.optimisticData;const p=s.throwOnError;if(u(n)){const e=n,r=[],i=t.keys();for(const n of i)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(m))}return m(n);async function m(n){const[i]=L(n);if(!i)return;const[c,m]=w(t,i),[v,g,y,b]=h.get(t),x=()=>{const e=v[i];return(u(s.revalidate)?s.revalidate(c().data,n):!1!==s.revalidate)&&(delete y[i],delete b[i],e&&e[0])?e[0](2).then((()=>c().data)):c().data};if(e.length<3)return x();let E,S=r;const T=O();g[i]=[T,0];const P=!l(f),C=c(),j=C.data,M=C._c,k=l(M)?j:M;if(P&&(f=u(f)?f(k,j):f,m({data:f,_c:k})),u(S))try{S=S(k)}catch(e){E=e}if(S&&u(S.then)){if(S=await S.catch((e=>{E=e})),T!==g[i][0]){if(E)throw E;return S}E&&P&&(e=>"function"==typeof d?d(e):!1!==d)(E)&&(a=!0,m({data:k,_c:o}))}if(a&&!E)if(u(a)){const e=a(S,k);m({data:e,error:o,_c:o})}else m({data:S,error:o,_c:o});if(g[i][1]=O(),Promise.resolve(x()).then((()=>{m({_c:o})})),!E)return S;if(p)throw E}}const V=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},N=(e,t)=>{if(!h.has(e)){const n=c(P,t),r={},i=B.bind(o,e);let a=s;const l={},u=(e,t)=>{const n=l[e]||[];return l[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},d=(t,n,r)=>{e.set(t,n);const i=l[t];if(i)for(const e of i)e(n,r)},f=()=>{if(!h.has(e)&&(h.set(e,[r,{},{},{},i,d,u]),!j)){const t=n.initFocus(setTimeout.bind(o,V.bind(o,r,0))),i=n.initReconnect(setTimeout.bind(o,V.bind(o,r,1)));a=()=>{t&&t(),i&&i(),h.delete(e)}}};return f(),[e,i,f,a]}return[e,h.get(e)[4]]},[H,z]=N(new Map),W=c({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:(e,t,n,r,i)=>{const s=n.errorRetryCount,o=i.retryCount,a=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;!l(s)&&o>s||setTimeout(r,a,i)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:A?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:A?5e3:3e3,compare:(e,t)=>p(e)==p(t),isPaused:()=>!1,cache:H,mutate:z,fallback:{}},T),U=(e,t)=>{const n=c(e,t);if(t){const{use:r,fallback:i}=e,{use:s,fallback:o}=t;r&&s&&(n.use=r.concat(s)),i&&o&&(n.fallback=c(i,o))}return n},G=(0,r.createContext)({}),q=y&&window.__SWR_DEVTOOLS_USE__,Y=q?window.__SWR_DEVTOOLS_USE__:[],X=e=>u(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],K=()=>c(W,(0,r.useContext)(G)),Z=Y.concat((e=>(t,n,r)=>e(t,n&&((...e)=>{const[r]=L(t),[,,,i]=h.get(H);if(r.startsWith("$inf$"))return n(...e);const s=i[r];return l(s)?n(...e):(delete i[r],s)}),r)));q&&(window.__SWR_DEVTOOLS_REACT__=r);const Q=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),J={dedupe:!0};a.defineProperty((e=>{const{value:t}=e,n=(0,r.useContext)(G),i=u(t),s=(0,r.useMemo)((()=>i?t(n):t),[i,n,t]),a=(0,r.useMemo)((()=>i?s:U(n,s)),[i,n,s]),l=s&&s.provider,d=(0,r.useRef)(o);l&&!d.current&&(d.current=N(l(a.cache||H),s));const f=d.current;return f&&(a.cache=f[0],a.mutate=f[1]),k((()=>
2{if(f)return f[2]&&f[2](),f[3]}),[]),(0,r.createElement)(G.Provider,c(e,{value:a}))}),"defaultValue",{value:W});const ee=(te=(e,t,n)=>{const{cache:s,compare:a,suspense:d,fallbackData:f,revalidateOnMount:p,revalidateIfStale:m,refreshInterval:v,refreshWhenHidden:g,refreshWhenOffline:y,keepPreviousData:b}=n,[x,E,S,T]=h.get(s),[P,$]=L(e),A=(0,r.useRef)(!1),D=(0,r.useRef)(!1),V=(0,r.useRef)(P),N=(0,r.useRef)(t),H=(0,r.useRef)(n),z=()=>H.current,W=()=>z().isVisible()&&z().isOnline(),[U,G,q,Y]=w(s,P),X=(0,r.useRef)({}).current,K=l(f)?n.fallback[P]:f,Z=(e,t)=>{for(const n in X){const r=n;if("data"===r){if(!a(e[r],t[r])){if(!l(e[r]))return!1;if(!a(le,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},ee=(0,r.useMemo)((()=>{const e=!!P&&!!t&&(l(p)?!z().isPaused()&&!d&&(!!l(m)||m):p),n=t=>{const n=c(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=U(),i=Y(),s=n(r),o=r===i?s:n(i);let a=s;return[()=>{const e=n(U());return Z(e,a)?(a.data=e.data,a.isLoading=e.isLoading,a.isValidating=e.isValidating,a.error=e.error,a):(a=e,e)},()=>o]}),[s,P]),te=(0,i.useSyncExternalStore)((0,r.useCallback)((e=>q(P,((t,n)=>{Z(n,t)||e()}))),[s,P]),ee[0],ee[1]),ne=!A.current,re=x[P]&&x[P].length>0,ie=te.data,se=l(ie)?K:ie,oe=te.error,ae=(0,r.useRef)(se),le=b?l(ie)?ae.current:ie:se,ue=!(re&&!l(oe))&&(ne&&!l(p)?p:!z().isPaused()&&(d?!l(se)&&m:l(se)||m)),ce=!!(P&&t&&ne&&ue),de=l(te.isValidating)?ce:te.isValidating,fe=l(te.isLoading)?ce:te.isLoading,pe=(0,r.useCallback)((async e=>{const t=N.current;if(!P||!t||D.current||z().isPaused())return!1;let r,i,s=!0;const c=e||{},d=!S[P]||!c.dedupe,f=()=>C?!D.current&&P===V.current&&A.current:P===V.current,p={isValidating:!1,isLoading:!1},h=()=>{G(p)},m=()=>{const e=S[P];e&&e[1]===i&&delete S[P]},v={isValidating:!0};l(U().data)&&(v.isLoading=!0);try{if(d&&(G(v),n.loadingTimeout&&l(U().data)&&setTimeout((()=>{s&&f()&&z().onLoadingSlow(P,n)}),n.loadingTimeout),S[P]=[t($),O()]),[r,i]=S[P],r=await r,d&&setTimeout(m,n.dedupingInterval),!S[P]||S[P][1]!==i)return d&&f()&&z().onDiscarded(P),!1;p.error=o;const e=E[P];if(!l(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return h(),d&&f()&&z().onDiscarded(P),!1;const u=U().data;p.data=a(u,r)?u:r,d&&f()&&z().onSuccess(r,P,n)}catch(e){m();const t=z(),{shouldRetryOnError:n}=t;t.isPaused()||(p.error=e,d&&f()&&(t.onError(e,P,t),(!0===n||u(n)&&n(e))&&(z().revalidateOnFocus&&z().revalidateOnReconnect&&!W()||t.onErrorRetry(e,P,t,(e=>{const t=x[P];t&&t[0]&&t[0](R,e)}),{retryCount:(c.retryCount||0)+1,dedupe:!0}))))}return s=!1,h(),!0}),[P,s]),he=(0,r.useCallback)(((...e)=>B(s,V.current,...e)),[]);if(k((()=>{N.current=t,H.current=n,l(ie)||(ae.current=ie)})),k((()=>
2{if(!P)return;const e=pe.bind(o,J);let t=0;const n=((e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}})(P,x,((n,r={})=>{if(n==I){const n=Date.now();z().revalidateOnFocus&&n>t&&W()&&(t=n+z().focusThrottleInterval,e())}else if(n==_)z().revalidateOnReconnect&&W()&&e();else{if(n==F)return pe();if(n==R)return pe(r)}}));return D.current=!1,V.current=P,A.current=!0,G({_k:$}),ue&&(l(se)||j?e():M(e)),()=>{D.current=!0,n()}}),[P]),k((()=>{let e;function t(){const t=u(v)?v(U().data):v;t&&-1!==e&&(e=setTimeout(n,t))}function n(){U().error||!g&&!z().isVisible()||!y&&!z().isOnline()?t():pe(J).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[v,g,y,P]),(0,r.useDebugValue)(le),d&&l(se)&&P){if(!C&&j)throw new Error("Fallback data is required when using suspense in SSR.");N.current=t,H.current=n,D.current=!1;const e=T[P];if(!l(e)){const t=he(e);Q(t)}if(!l(oe))throw oe;{const e=pe(J);l(le)||(e.status="fulfilled",e.value=!0),Q(e)}}return{mutate:he,get data(){return X.data=!0,le},get error(){return X.error=!0,oe},get isValidating(){return X.isValidating=!0,de},get isLoading(){return X.isLoading=!0,fe}}},function(...e){const t=K(),[n,r,i]=X(e),s=U(t,i);let o=te;const{use:a}=s,l=(a||[]).concat(Z);for(let e=l.length;e--;)o=l[e](o);return o(n,r||s.fetcher||null,s)});var te;const ne=C?e=>{e()}:r.startTransition,re=((e,t)=>(...n)=>{const[r,i,s]=X(n),o=(s.use||[]).concat(t);return e(r,i,{...s,use:o})})(ee,(()=>(e,t,n={})=>{const{mutate:i}=K(),s=(0,r.useRef)(e),a=(0,r.useRef)(t),l=(0,r.useRef)(n),u=(0,r.useRef)(0),[d,f,p]=(e=>{const[,t]=(0,r.useState)({}),n=(0,r.useRef)(!1),i=(0,r.useRef)(e),s=(0,r.useRef)({data:!1,error:!1,isValidating:!1}),o=(0,r.useCallback)((e=>{let r=!1;const o=i.current;for(const t in e){const n=t;o[n]!==e[n]&&(o[n]=e[n],s.current[n]&&(r=!0))}r&&!n.current&&t({})}),[]);return k((()=>(n.current=!1,()=>{n.current=!0}))),[i,s.current,o]})({data:o,error:o,isMutating:!1}),h=d.current,m=(0,r.useCallback)((async(e,t)=>{const[n,r]=L(s.current);if(!a.current)throw new Error("Canât trigger the mutation: missing fetcher.");if(!n)throw new Error("Canât trigger the mutation: missing key.");const o=c(c({populateCache:!1,throwOnError:!0},l.current),t),d=O();u.current=d,p({isMutating:!0});try{const t=await i(n,a.current(r,{arg:e}),c(o,{throwOnError:!0}));return u.current<=d&&(ne((()=>p({data:t,isMutating:!1,error:void 0}))),null==o.onSuccess||o.onSuccess.call(o,t,n,o)),t}catch(e){if(u.current<=d&&(ne((()=>p({error:e,isMutating:!1}))),null==o.onError||o.onError.call(o,e,n,o),o.throwOnError))throw e}}),[]),v=(0,r.useCallback)((()=>{u.current=O(),p({data:o,error:o,isMutating:!1})}),[]);return k((()=>{s.current=e,a.current=t,l.current=n})),{trigger:m,reset:v,get data(){return f.data=!0,h.data},get error(){return f.error=!0,h.error},get isMutating(){return f.isMutating=!0,h.isMutating}}}))},8879(e,t,n){"use strict";let r;n.d(t,{BpQ:()=>w,Bqr:()=>E,FsL:()=>L,Ikc:()=>k,Rpp:()=>y,Ru6:()=>b,YjP:()=>A,aig:()=>M,euz:()=>j,hq:()=>x,lqM:()=>$,sYn:()=>T,xLC:()=>D,z6Y:()=>g,zMY:()=>C});const i=482==n.j?{lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0}:null;function s(e){return e||r?{lang:e?.lang??r?.lang,message:e?.message,abortEarly:e?.abortEarly??r?.abortEarly,abortPipeEarly:e?.abortPipeEarly??r?.abortPipeEarly}:i}let o,a,l;function u(e){return o?.get(e)}function c(e){return a?.get(e)}function d(e,t){return l?.get(e)?.get(t)}function f(e){const t=typeof e;return"string"===t?`"${e}"`:"number"===t||"bigint"===t||"boolean"===t?`${e}`:"object"===t||"function"===t?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function p(e,t,n,r,i){const s=i&&"input"in i?i.input:n.value,o=i?.expected??e.expects??null,a=i?.received??f(s),l={kind:e.kind,type:e.type,input:s,expected:o,received:a,message:`Invalid ${t}: ${o?`Expected ${o} but r`:"R"}eceived ${a}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},p="schema"===e.kind,h=i?.message??e.message??d(e.reference,l.lang)??(p?c(l.lang):null)??r.message??u(l.lang);void 0!==h&&(l.message="function"==typeof h?h(l):h),p&&(n.typed=!1),n.issues?n.issues.push(l):n.issues=[l]}const h=482==n.j?new WeakMap:null;function m(e){let t=h.get(e);return t||(t={version:1,vendor:"valibot",validate:t=>e["~run"]({value:t},s())},h.set(e,t)),t}Error;const v=/^[\w+-]+(?:\.[\w+-]+)*@[\da-z]+(?:[.-][\da-z]+)*\.[a-z]{2,}$/iu;
2function g(e,t){return{kind:"validation",type:"check",reference:g,async:!1,expects:null,requirement:e,message:t,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&p(this,"input",e,t),e}}}function y(e){return{kind:"validation",type:"email",reference:y,expects:null,async:!1,requirement:v,message:e,"~run"(e,t){return e.typed&&!this.requirement.test(e.value)&&p(this,"email",e,t),e}}}function b(e,t){return{kind:"validation",type:"max_length",reference:b,async:!1,expects:`<=${e}`,requirement:e,message:t,"~run"(e,t){return e.typed&&e.value.length>this.requirement&&p(this,"length",e,t,{received:`${e.value.length}`}),e}}}function w(e,t){return{kind:"validation",type:"min_length",reference:w,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(e,t){return e.typed&&e.value.length<this.requirement&&p(this,"length",e,t,{received:`${e.value.length}`}),e}}}function x(e){return{kind:"validation",type:"non_empty",reference:x,async:!1,expects:"!0",message:e,"~run"(e,t){return e.typed&&0===e.value.length&&p(this,"length",e,t,{received:"0"}),e}}}function E(){return{kind:"transformation",type:"trim",reference:E,async:!1,"~run":e=>(e.value=e.value.trim(),e)}}function S(e,t,n){return"function"==typeof e.fallback?e.fallback(t,n):e.fallback}function T(e,t){return{...e,"~run"(n,r){const i=n.issues&&[...n.issues];if((n=e["~run"](n,r)).issues)for(const e of n.issues)if(!i?.includes(e)){let r=n.value;for(const n of t){const t=r[n],i={type:"unknown",origin:"value",input:r,key:n,value:t};if(e.path?e.path.push(i):e.path=[i],!t)break;r=t}}return n}}}function P(e,t,n){return"function"==typeof e.default?e.default(t,n):e.default}function C(e){return{kind:"schema",type:"boolean",reference:C,expects:"boolean",async:!1,message:e,get"~standard"(){return m(this)},"~run"(e,t){return"boolean"==typeof e.value?e.typed=!0:p(this,"type",e,t),e}}}function j(e,t){return{kind:"schema",type:"literal",reference:j,expects:f(e),async:!1,literal:e,message:t,get"~standard"(){return m(this)},"~run"(e,t){return e.value===this.literal?e.typed=!0:p(this,"type",e,t),e}}}function M(e){return{kind:"schema",type:"number",reference:M,expects:"number",async:!1,message:e,get"~standard"(){return m(this)},"~run"(e,t){return"number"!=typeof e.value||isNaN(e.value)?p(this,"type",e,t):e.typed=!0,e}}}function k(e,t){return{kind:"schema",type:"object",reference:k,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return m(this)},"~run"(e,t){const n=e.value;if(n&&"object"==typeof n){e.typed=!0,e.value={};for(const r in this.entries){const i=this.entries[r];if(r in n||("exact_optional"===i.type||"optional"===i.type||"nullish"===i.type)&&void 0!==i.default){const s=r in n?n[r]:P(i),o=i["~run"]({value:s},t);if(o.issues){const i={type:"object",origin:"value",input:n,key:r,value:s};for(const t of o.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value[r]=o.value}else if(void 0!==i.fallback)e.value[r]=S(i);else if("exact_optional"!==i.type&&"optional"!==i.type&&"nullish"!==i.type&&(p(this,"key",e,t,{input:void 0,expected:`"${r}"`,path:[{type:"object",origin:"key",input:n,key:r,value:n[r]}]}),t.abortEarly))break}}else p(this,"type",e,t);return e}}}function $(e,t){return{kind:"schema",type:"optional",reference:$,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return m(this)},"~run"(e,t){return void 0===e.value&&(void 0!==this.default&&(e.value=P(this,e,t)),void 0===e.value)?(e.typed=!0,e):this.wrapped["~run"](e,t)}}}function A(e){return{kind:"schema",type:"string",reference:A,expects:"string",async:!1,message:e,get"~standard"(){return m(this)},"~run"(e,t){return"string"==typeof e.value?e.typed=!0:p(this,"type",e,t),e}}}function L(...e){return{...e[0],pipe:e,get"~standard"(){return m(this)},"~run"(t,n){for(const r of e)if("metadata"!==r.kind){if(t.issues&&("schema"===r.kind||"transformation"===r.kind)){t.typed=!1;break}t.issues&&(n.abortEarly||n.abortPipeEarly)||(t=r["~run"](t,n))}return t}}}function D(e,t,n){const r=e["~run"]({value:t},s(n));return{typed:r.typed,success:!r.issues,output:r.value,issues:r.issues}}}}]); 3//# sourceMappingURL=vendors.bundle.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.