PageSourceSearch

https://www.all-for-one.com/_next/static/chunks/503-b47f139f21d1d88b.js

js all-for-one.com collected 2026-10-02 03:39:20 UTC 148,248 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[503],{4988:function(t,e,i){i.d(e,{Z:function(){return b}});var n=function(){return(n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function r(t,e,i){if(i||2==arguments.length)for(var n,r=0,s=e.length;r<s;r++)!n&&r in e||(n||(n=Array.prototype.slice.call(e,0,r)),n[r]=e[r]);return t.concat(n||Array.prototype.slice.call(e))}function s(t){return Array.prototype.slice.call(t)}function o(t,e){var i=Math.floor(t);return i===e||i+1===e?t:e}function a(){return Date.now()}function l(t,e,i){if(e="data-keen-slider-"+e,null===i)return t.removeAttribute(e);t.setAttribute(e,i||"")}function u(t,e){return e=e||document,"function"==typeof t&&(t=t(e)),Array.isArray(t)?t:"string"==typeof t?s(e.querySelectorAll(t)):t instanceof HTMLElement?[t]:t instanceof NodeList?s(t):[]}function h(t){t.raw&&(t=t.raw),t.cancelable&&!t.defaultPrevented&&t.preventDefault()}function d(t){t.raw&&(t=t.raw),t.stopPropagation&&t.stopPropagation()}function c(){var t=[];return{add:function(e,i,n,r){e.addListener?e.addListener(n):e.addEventListener(i,n,r),t.push([e,i,n,r])},input:function(t,e,i,n){this.add(t,e,function(t){t.nativeEvent&&(t=t.nativeEvent);var e=t.changedTouches||[],n=t.targetTouches||[],r=t.detail&&t.detail.x?t.detail:null;return i({id:r?r.identifier?r.identifier:"i":n[0]?n[0]?n[0].identifier:"e":"d",idChanged:r?r.identifier?r.identifier:"i":e[0]?e[0]?e[0].identifier:"e":"d",raw:t,x:r&&r.x?r.x:n[0]?n[0].screenX:r?r.x:t.pageX,y:r&&r.y?r.y:n[0]?n[0].screenY:r?r.y:t.pageY})},n)},purge:function(){t.forEach(function(t){t[0].removeListener?t[0].removeListener(t[2]):t[0].removeEventListener(t[1],t[2],t[3])}),t=[]}}}function p(t,e,i){return Math.min(Math.max(t,e),i)}function f(t){return(t>0?1:0)-(t<0?1:0)||+t}function m(t){var e=t.getBoundingClientRect();return{height:o(e.height,t.offsetHeight),width:o(e.width,t.offsetWidth)}}function v(t,e,i,n){var r=t&&t[e];return null==r?i:n&&"function"==typeof r?r():r}function g(t){return Math.round(1e6*t)/1e6}function y(t){var e,i,n,r,s,o,a,l;function u(t){return 1-Math.pow(1-t,3)}function h(){return n?t.track.velocity():0}function d(t,e){void 0===e&&(e=1e3);var i=147e-9+(t=Math.abs(t))/e;return{dist:Math.pow(t,2)/i,dur:t/i}}function c(){var e=t.track.details;e&&(s=e.min,o=e.max,a=e.minIdx,l=e.maxIdx)}function m(){t.animator.stop()}t.on("updated",c),t.on("optionsChanged",c),t.on("created",c),t.on("dragStarted",function(){n=!1,m(),e=i=t.track.details.abs}),t.on("dragChecked",function(){n=!0}),t.on("dragEnded",function(){var n,c,v,g,y,x,w=t.options.mode;"snap"===w&&(n=t.track,v=(c=t.track.details).position,g=f(h()),(v>o||v<s)&&(g=0),y=e+g,0===c.slides[n.absToRel(y)].portion&&(y-=g),e!==i&&(y=i),f(n.idxToDist(y,!0))!==g&&(y+=g),y=p(y,a,l),x=n.idxToDist(y,!0),t.animator.start([{distance:x,duration:500,easing:function(t){return 1+--t*t*t*t*t}}])),"free"!==w&&"free-snap"!==w||function(){m();var e="free-snap"===t.options.mode,i=t.track,n=h();r=f(n);var c=t.track.details,v=[];if(n||!e){var g=d(n),y=g.dist,x=g.dur;if(x*=2,y*=r,e){var w=i.idxToDist(i.distToIdx(y),!0);w&&(y=w)}v.push({distance:y,duration:x,easing:u});var b=c.position,P=b+y;if(P<s||P>o){var S=P<s?s-b:o-b,T=0,A=n;if(f(S)===r){var C=Math.min(Math.abs(S)/Math.abs(y),1),M=(1-Math.pow(1-C,1/3))*x;v[0].earlyExit=M,A=n*(1-C)}else v[0].earlyExit=0,T+=S;var E=d(A,100),k=E.dist*r;t.options.rubberband&&(v.push({distance:k,duration:2*E.dur,easing:u}),v.push({distance:-k+T,duration:500,easing:u}))}t.animator.start(v)}else t.moveToIdx(p(c.abs,a,l),!0,{duration:500,easing:function(t){return 1+--t*t*t*t*t}})}()}),t.on("dragged",function(){i=t.track.details.abs})}function x(t){var e,i,n,r,s,o,a,l,m,v,g,y,x,w,b,P,S,T,A=c();function C(e){if(o&&l===e.id){var u=V(e);if(m){if(!k(e))return E(e);v=u,m=!1,t.emit("dragChecked")}if(P)return v=u;h(e);var c=function(e){if(S===-1/0&&T===1/0)return e;var n=t.track.details,o=n.length,a=n.position,l=p(e,S-a,T-a);if(0===o)return 0;if(!t.options.rubberband)return l;if(a<=T&&a>=S||a<S&&i>0||a>T&&i<0)return e;var u=Math.max(0,1-Math.abs((a<S?a-S:a-T)/o*(r*o))/s*2);return u*u*e}(a(v-u)/r*n);i=f(c);var x=t.track.details.position;(x>S&&x<T||x===S&&i>0||x===T&&i<0)&&d(e),g+=c,!y&&Math.abs(g*r)>5&&(y=!0),t.track.add(c),v=u,t.emit("dragged")}}function M(e){!o&&t.track.details&&t.track.details.length&&(g=0,o=!0,y=!1,m=!0,l=e.id,k(e),v=V(e),t.emit("dragStarted"))}function E(e){o&&l===e.idChanged&&(o=!1,t.emit("dragEnded"))}
1function k(t){var e=R(),i=e?t.y:t.x,n=e?t.x:t.y,r=void 0!==x&&void 0!==w&&Math.abs(w-n)<=Math.abs(x-i);return x=i,w=n,r}function V(t){return R()?t.y:t.x}function R(){return t.options.vertical}function D(){r=t.size,s=R()?window.innerHeight:window.innerWidth;var e=t.track.details;e&&(S=e.min,T=e.max)}function j(t){y&&(d(t),h(t))}function L(){if(A.purge(),t.options.drag&&!t.options.disabled){a="function"==typeof(r=t.options.dragSpeed||1)?r:function(t){return t*r},n=t.options.rtl?-1:1,D(),e=t.container,i="data-keen-slider-clickable",u("[".concat(i,"]:not([").concat(i,"=false])"),e).map(function(t){A.add(t,"dragstart",d),A.add(t,"mousedown",d),A.add(t,"touchstart",d)}),A.add(e,"dragstart",function(t){h(t)}),A.add(e,"click",j,{capture:!0}),A.input(e,"ksDragStart",M),A.input(e,"ksDrag",C),A.input(e,"ksDragEnd",E),A.input(e,"mousedown",M),A.input(e,"mousemove",C),A.input(e,"mouseleave",E),A.input(e,"mouseup",E),A.input(e,"touchstart",M,{passive:!0}),A.input(e,"touchmove",C,{passive:!1}),A.input(e,"touchend",E),A.input(e,"touchcancel",E),A.add(window,"wheel",function(t){o&&h(t)});var i,r,s="data-keen-slider-scrollable";u("[".concat(s,"]:not([").concat(s,"=false])"),t.container).map(function(t){var e;A.input(t,"touchstart",function(t){e=V(t),P=!0,b=!0},{passive:!0}),A.input(t,"touchmove",function(i){var n=R(),r=n?t.scrollHeight-t.clientHeight:t.scrollWidth-t.clientWidth,s=e-V(i),o=n?t.scrollTop:t.scrollLeft,a=n&&"scroll"===t.style.overflowY||!n&&"scroll"===t.style.overflowX;if(e=V(i),(s<0&&o>0||s>0&&o<r)&&b&&a)return P=!0;b=!1,h(i),P=!1}),A.input(t,"touchend",function(){P=!1})})}}t.on("updated",D),t.on("optionsChanged",L),t.on("created",L),t.on("destroyed",A.purge)}function w(t){var e,i,n=null;function r(e,i,n){t.animator.active?o(e,i,n):requestAnimationFrame(function(){return o(e,i,n)})}function s(){r(!1,!1,i)}function o(i,r,s){var o=0,a=t.size,h=t.track.details;if(h&&e){var d=h.slides;e.forEach(function(t,e){if(i)!n&&r&&l(t,null,s),u(t,null,s);else{if(!d[e])return;var h=d[e].size*a;!n&&r&&l(t,h,s),u(t,d[e].distance*a-o,s),o+=h}})}}function a(e){return"performance"===t.options.renderMode?Math.round(e):e}function l(t,e,i){var n=i?"height":"width";null!==e&&(e=a(e)+"px"),t.style["min-"+n]=e,t.style["max-"+n]=e}function u(t,e,i){if(null!==e){e=a(e);var n=i?e:0;e="translate3d(".concat(i?0:e,"px, ").concat(n,"px, 0)")}t.style.transform=e,t.style["-webkit-transform"]=e}function h(){e&&(o(!0,!0,i),e=null),t.on("detailsChanged",s,!0)}function d(){r(!1,!0,i)}function c(){h(),i=t.options.vertical,t.options.disabled||"custom"===t.options.renderMode||(n="auto"===v(t.options.slides,"perView",null),t.on("detailsChanged",s),(e=t.slides).length&&d())}t.on("created",c),t.on("optionsChanged",c),t.on("beforeOptionsChanged",function(){h()}),t.on("updated",d),t.on("destroyed",h)}var b=function(t,e,i){try{var s,o,h,d;return o=r([(s={drag:!0,mode:"snap",renderMode:"precision",rubberband:!0,selector:".keen-slider__slide"},function(e){var i,r,o,a,h,d,p=c();function f(t){var i;l(e.container,"reverse","rtl"!==(i=e.container,window.getComputedStyle(i,null).getPropertyValue("direction"))||t?null:""),l(e.container,"v",e.options.vertical&&!t?"":null),l(e.container,"disabled",e.options.disabled&&!t?"":null)}function g(){y()&&P()}function y(){var t=null;if(a.forEach(function(e){e.matches&&(t=e.__media)}),t===i)return!1;i||e.emit("beforeOptionsChanged"),i=t;var r=t?o.breakpoints[t]:o;return e.options=n(n({},o),r),f(),M(),E(),T(),!0}function x(){return e.options.trackConfig.length}function w(t){for(var l in i=!1,o=n(n({},s),t),p.purge(),r=e.size,a=[],o.breakpoints||[]){var u=window.matchMedia(l);u.__media=l,a.push(u),p.add(u,"change",g)}p.add(window,"orientationchange",C),p.add(window,"resize",A),y()}function b(t){e.animator.stop();var i=e.track.details;e.track.init(null!=t?t:i?i.abs:0)}function P(t){b(t),e.emit("optionsChanged")}function S(t,i){if(t)return w(t),void P(i);M(),E();var n=x();T(),x()!==n?P(i):b(i),e.emit("updated")}function T(){var t=e.options.slides;if("function"==typeof t)return e.options.trackConfig=t(e.size,e.slides);for(var i=e.slides,n=i.length,r="number"==typeof t?t:v(t,"number",n,!0),s=[],o=v(t,"perView",1,!0),a=v(t,"spacing",0,!0)/e.size||0,l="auto"===o?a:a/o,u=v(t,"origin","auto"),h=0,d=0;d<r;d++){var c="auto"===o?function(t){var i=m(t);return(e.options.vertical?i.height:i.width)/e.size||1}(i[d]):1/o-a+l,p="center"===u?.5-c/2:"auto"===u?0:u;s.push({origin:p,size:c,spacing:a}),h+=c}if(h+=a*(r-1),"auto"===u&&!e.options.loop&&1!==o){var f=0;s.map(function(t){var e=h-f;return f+=t.size+a,e>=1||(t.origin=1-e-(h>1?0:1-h)),t})}e.options.trackConfig=s}function A(){M();var t=e.size;
1e.options.disabled||t===r||(r=t,S())}function C(){A(),setTimeout(A,500),setTimeout(A,2e3)}function M(){var t=m(e.container);e.size=(e.options.vertical?t.height:t.width)||1}function E(){e.slides=u(e.options.selector,e.container)}e.container=(d=u(t,h||document)).length?d[0]:null,e.destroy=function(){p.purge(),e.emit("destroyed"),f(!0)},e.prev=function(){e.moveToIdx(e.track.details.abs-1,!0)},e.next=function(){e.moveToIdx(e.track.details.abs+1,!0)},e.update=S,w(e.options)}),w,x,y],i||[],!0),d={},h={emit:function(t){d[t]&&d[t].forEach(function(t){t(h)});var e=h.options&&h.options[t];e&&e(h)},moveToIdx:function(t,e,i){var n=h.track.idxToDist(t,e);if(n){var r=h.options.defaultAnimation;h.animator.start([{distance:n,duration:v(i||r,"duration",500),easing:v(i||r,"easing",function(t){return 1+--t*t*t*t*t})}])}},on:function(t,e,i){void 0===i&&(i=!1),d[t]||(d[t]=[]);var n=d[t].indexOf(e);n>-1?i&&delete d[t][n]:i||d[t].push(e)},options:e},function(){if(h.track=function(t){var e,i,n,s,o,l,u,h,d,c,m,y,x,w,b=1/0,P=[],S=null,T=0;function A(t){D(T+t)}function C(t){var e=M(T+t).abs;return V(e)===e?e:null}function M(t){var e=Math.floor(Math.abs(g(t/i))),n=g((t%i+i)%i);n===i&&(n=0);var s=f(t),o=u.indexOf(r([],u,!0).reduce(function(t,e){return Math.abs(e-n)<Math.abs(t-n)?e:t})),a=o;return s<0&&e++,o===l&&(a=0,e+=s>0?1:-1),{abs:a+e*l*s,origin:o,rel:a}}function E(t,e,i){if(e||!s.loop)return k(t,i);if(V(t)!==t)return null;var n,r=M(null!=i?i:T),o=r.abs,a=t-r.rel,u=o+a;n=k(u);var h=k(u-l*f(a));return(null!==h&&Math.abs(h)<Math.abs(n)||null===n)&&(n=h),g(n)}function k(t,e){if(null==e&&(e=g(T)),n=t,V(n)!==n||null===t)return null;t=Math.round(t);var n,r=M(e),s=r.abs,o=r.rel,a=r.origin,h=R(t),d=(e%i+i)%i,c=u[a],p=Math.floor((t-(s-o))/l)*i;return g(c-d-c+u[h]+p+(a===l?i:0))}function V(t){return p(t,d,c)}function R(t){return(t%l+l)%l}function D(e){i=e-T,P.push({distance:i,timestamp:a()}),P.length>6&&(P=P.slice(-6)),T=g(e);var i,n=j().abs;if(n!==S){var r=null!==S;S=n,r&&t.emit("slideChanged")}}function j(r){var a=r?null:function(){if(l){var t=s.loop,e=t?(T%i+i)%i:T,r=(t?T%i:T)-o[0][2],a=0-(r<0&&t?i-Math.abs(r):r),u=0,h=M(T),p=h.abs,v=h.rel,g=o[v][2],b=o.map(function(e,n){var r=a+u;(r<0-e[0]||r>1)&&(r+=(Math.abs(r)>i-1&&t?i:0)*f(-r));var o=n-v,h=f(o),d=o+p;t&&(-1===h&&r>g&&(d+=l),1===h&&r<g&&(d-=l),null!==m&&d<m&&(r+=i),null!==y&&d>y&&(r-=i));var c=r+e[0]+e[1],x=Math.max(r>=0&&c<=1?1:c<0||r>1?0:r<0?Math.min(1,(e[0]+r)/e[0]):(1-r)/e[0],0);return u+=e[0]+e[1],{abs:d,distance:s.rtl?-1*r+1-e[0]:r,portion:x,size:e[0]}});return v=R(p=V(p)),{abs:V(p),length:n,max:w,maxIdx:c,min:x,minIdx:d,position:T,progress:t?e/i:T/n,rel:v,slides:b,slidesLength:i}}}();return e.details=a,t.emit("detailsChanged"),a}return e={absToRel:R,add:A,details:null,distToIdx:C,idxToDist:E,init:function(e){var r,a,p,f;if(function(){if(l=(o=((s=t.options).trackConfig||[]).map(function(t){return[v(t,"size",1),v(t,"spacing",0),v(t,"origin",0)]})).length){i=g(o.reduce(function(t,e){return t+e[0]+e[1]},0));var e,r=l-1;n=g(i+o[0][2]-o[r][0]-o[r][2]-o[r][1]),u=o.reduce(function(t,i){if(!t)return[0];var n=o[t.length-1],r=t[t.length-1]+(n[0]+n[2])+n[1];return r-=i[2],t[t.length-1]>r&&(r=t[t.length-1]),r=g(r),t.push(r),(!e||e<r)&&(h=t.length-1),e=r,t},null),0===n&&(h=0),u.push(g(i))}}(),!l)return j(!0);r=t.options.range,m=d=(a=t.options.loop)?v(a,"min",-1/0):0,y=c=a?v(a,"max",b):h,p=v(r,"min",null),f=v(r,"max",null),null!==p&&(d=p),null!==f&&(c=f),x=d===-1/0?d:t.track.idxToDist(d||0,!0,0),w=c===b?c:E(c,!0,0),null===f&&(y=c),v(r,"align",!1)&&c!==b&&0===o[R(c)][2]&&(w-=1-o[R(c)][0],c=C(w-T)),x=g(x),w=g(w),Number(e)===e?A(k(V(e))):j()},to:D,velocity:function(){var t=a(),e=P.reduce(function(e,i){var n=i.distance,r=i.timestamp;return t-r>200||(f(n)!==f(e.distance)&&e.distance&&(e={distance:0,lastTimestamp:0,time:0}),e.time&&(e.distance+=n),e.lastTimestamp&&(e.time+=r-e.lastTimestamp),e.lastTimestamp=r),e},{distance:0,lastTimestamp:0,time:0});return e.distance/e.time||0}}}(h),h.animator=function(t){var e,i,n,r,s,o;function a(t){e.active=t}function l(t){e.targetIdx=t}function u(){var e;e=s,window.cancelAnimationFrame(e),a(!1),l(null),o&&t.emit("animationStopped"),o=null}return e={active:!1,start:function(e){if(u(),t.track.details){var h=0,d=t.track.details.position;i=0,n=0,r=e.map(function(t){var e,i=Number(d),r=null!==(e=t.earlyExit)&&void 0!==e?e:t.duration,s=t.easing,o=t.distance*s(r/t.duration)||0;d+=o;var a=n;return n+=r,h+=o,[i,t.distance,a,n,t.duration,s]}),l(t.track.distToIdx(h)),function e(){var u;u=function s(u){o||(o=u),a(!0);var h=u-o;h>n&&(h=n);var d=r[i];if(d[3]<h)return i++,s(u);var c=d[2],p=d[4],f=d[0],m=d[1]*(0,d[5])(0===p?1:(h-c)/p);if(m&&t.track.to(f+m),h<n)return e();o=null,a(!1),l(null),t.emit("animationEnded")},s=window.requestAnimationFrame(u)}(),t.emit("animationStarted")}},stop:u,targetIdx:null}}(h),o)for(var t=0;t<o.length;t++)(0,o[t])(h);
1h.track.init(h.options.initial||0),h.emit("created")}(),h}catch(t){console.error(t)}}},6648:function(t,e,i){i.d(e,{default:function(){return r.a}});var n=i(5601),r=i.n(n)},8173:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return x}});let n=i(9920),r=i(1452),s=i(7437),o=r._(i(2265)),a=n._(i(4887)),l=n._(i(8321)),u=i(497),h=i(7103),d=i(3938);i(2301);let c=i(291),p=n._(i(1241)),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(t,e,i,n,r,s,o){let a=null==t?void 0:t.src;t&&t["data-loaded-src"]!==a&&(t["data-loaded-src"]=a,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&r(!0),null==i?void 0:i.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let n=!1,r=!1;i.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,e.preventDefault()},stopPropagation:()=>{r=!0,e.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(t)}}))}function v(t){return o.use?{fetchPriority:t}:{fetchpriority:t}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let g=(0,o.forwardRef)((t,e)=>{let{src:i,srcSet:n,sizes:r,height:a,width:l,decoding:u,className:h,style:d,fetchPriority:c,placeholder:p,loading:f,unoptimized:g,fill:y,onLoadRef:x,onLoadingCompleteRef:w,setBlurComplete:b,setShowAltText:P,sizesInput:S,onLoad:T,onError:A,...C}=t;return(0,s.jsx)("img",{...C,...v(c),loading:f,width:l,height:a,decoding:u,"data-nimg":y?"fill":"1",className:h,style:d,sizes:r,srcSet:n,src:i,ref:(0,o.useCallback)(t=>{e&&("function"==typeof e?e(t):"object"==typeof e&&(e.current=t)),t&&(A&&(t.src=t.src),t.complete&&m(t,p,x,w,b,g,S))},[i,p,x,w,b,A,g,S,e]),onLoad:t=>{m(t.currentTarget,p,x,w,b,g,S)},onError:t=>{P(!0),"empty"!==p&&b(!0),A&&A(t)}})});function y(t){let{isAppRouter:e,imgAttributes:i}=t,n={as:"image",imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:i.crossOrigin,referrerPolicy:i.referrerPolicy,...v(i.fetchPriority)};return e&&a.default.preload?(a.default.preload(i.src,n),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:i.srcSet?void 0:i.src,...n},"__nimg-"+i.src+i.srcSet+i.sizes)})}let x=(0,o.forwardRef)((t,e)=>{let i=(0,o.useContext)(c.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),r=(0,o.useMemo)(()=>{let t=f||n||h.imageConfigDefault,e=[...t.deviceSizes,...t.imageSizes].sort((t,e)=>t-e),i=t.deviceSizes.sort((t,e)=>t-e);return{...t,allSizes:e,deviceSizes:i}},[n]),{onLoad:a,onLoadingComplete:l}=t,m=(0,o.useRef)(a);(0,o.useEffect)(()=>{m.current=a},[a]);let v=(0,o.useRef)(l);(0,o.useEffect)(()=>{v.current=l},[l]);let[x,w]=(0,o.useState)(!1),[b,P]=(0,o.useState)(!1),{props:S,meta:T}=(0,u.getImgProps)(t,{defaultLoader:p.default,imgConf:r,blurComplete:x,showAltText:b});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g,{...S,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:m,onLoadingCompleteRef:v,setBlurComplete:w,setShowAltText:P,sizesInput:t.sizes,ref:e}),T.priority?(0,s.jsx)(y,{isAppRouter:!i,imgAttributes:S}):null]})});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},2901:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=i(9920)._(i(2265)).default.createContext({})},687:function(t,e){function i(t){let{ampFirst:e=!1,hybrid:i=!1,hasQuery:n=!1}=void 0===t?{}:t;return e||i&&n}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return i}})},497:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return a}}),i(2301);let n=i(1564),r=i(7103);function s(t){return void 0!==t.default}function o(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function a(t,e){var i;let a,l,u,{src:h,sizes:d,unoptimized:c=!1,priority:p=!1,loading:f,className:m,quality:v,width:g,height:y,fill:x=!1,style:w,overrideSrc:b,onLoad:P,onLoadingComplete:S,placeholder:T="empty",blurDataURL:A,fetchPriority:C,layout:M,objectFit:E,objectPosition:k,lazyBoundary:V,lazyRoot:R,...D}=t,{imgConf:j,showAltText:L,blurComplete:F,defaultLoader:O}=e,B=j||r.imageConfigDefault;if("allSizes"in B)a=B;else{let t=[...B.deviceSizes,...B.imageSizes].sort((t,e)=>t-e),e=B.deviceSizes.sort((t,e)=>t-e);a={...B,allSizes:t,deviceSizes:e}}if(void 0===O)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let W=D.loader||O;delete D.loader,delete D.srcSet;let I="__next_img_default"in W;if(I){if("custom"===a.loader)throw Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let t=W;W=e=>{let{config:i,...n}=e;return t(n)}}if(M){"fill"===M&&(x=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[M];t&&(w={...w,...t});let e={responsive:"100vw",fill:"100vw"}[M];
1e&&!d&&(d=e)}let z="",$=o(g),_=o(y);if("object"==typeof(i=h)&&(s(i)||void 0!==i.src)){let t=s(h)?h.default:h;if(!t.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(t));if(!t.height||!t.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(t));if(l=t.blurWidth,u=t.blurHeight,A=A||t.blurDataURL,z=t.src,!x){if($||_){if($&&!_){let e=$/t.width;_=Math.round(t.height*e)}else if(!$&&_){let e=_/t.height;$=Math.round(t.width*e)}}else $=t.width,_=t.height}}let U=!p&&("lazy"===f||void 0===f);(!(h="string"==typeof h?h:z)||h.startsWith("data:")||h.startsWith("blob:"))&&(c=!0,U=!1),a.unoptimized&&(c=!0),I&&h.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(c=!0),p&&(C="high");let N=o(v),H=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:k}:{},L?{}:{color:"transparent"},w),X=F||"empty"===T?null:"blur"===T?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:$,heightInt:_,blurWidth:l,blurHeight:u,blurDataURL:A||"",objectFit:H.objectFit})+'")':'url("'+T+'")',Y=X?{backgroundSize:H.objectFit||"cover",backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:X}:{},K=function(t){let{config:e,src:i,unoptimized:n,width:r,quality:s,sizes:o,loader:a}=t;if(n)return{src:i,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(t,e,i){let{deviceSizes:n,allSizes:r}=t;if(i){let t=/(^|\s)(1?\d?\d)vw/g,e=[];for(let n;n=t.exec(i);n)e.push(parseInt(n[2]));if(e.length){let t=.01*Math.min(...e);return{widths:r.filter(e=>e>=n[0]*t),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof e?{widths:n,kind:"w"}:{widths:[...new Set([e,2*e].map(t=>r.find(e=>e>=t)||r[r.length-1]))],kind:"x"}}(e,r,o),h=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((t,n)=>a({config:e,src:i,quality:s,width:t})+" "+("w"===u?t:n+1)+u).join(", "),src:a({config:e,src:i,quality:s,width:l[h]})}}({config:a,src:h,unoptimized:c,width:$,quality:N,sizes:d,loader:W});return{props:{...D,loading:U?"lazy":f,fetchPriority:C,width:$,height:_,decoding:"async",className:m,style:{...H,...Y},sizes:K.sizes,srcSet:K.srcSet,src:b||K.src},meta:{unoptimized:c,priority:p,placeholder:T,fill:x}}}},8321:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return m},defaultHead:function(){return d}});let n=i(9920),r=i(1452),s=i(7437),o=r._(i(2265)),a=n._(i(5960)),l=i(2901),u=i(6590),h=i(687);function d(t){void 0===t&&(t=!1);let e=[(0,s.jsx)("meta",{charSet:"utf-8"})];return t||e.push((0,s.jsx)("meta",{name:"viewport",content:"width=device-width"})),e}function c(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===o.default.Fragment?t.concat(o.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}i(2301);let p=["name","httpEquiv","charSet","itemProp"];function f(t,e){let{inAmpMode:i}=e;return t.reduce(c,[]).reverse().concat(d(i).reverse()).filter(function(){let t=new Set,e=new Set,i=new Set,n={};return r=>{let s=!0,o=!1;if(r.key&&"number"!=typeof r.key&&r.key.indexOf("$")>0){o=!0;let e=r.key.slice(r.key.indexOf("$")+1);t.has(e)?s=!1:t.add(e)}switch(r.type){case"title":case"base":e.has(r.type)?s=!1:e.add(r.type);break;case"meta":for(let t=0,e=p.length;t<e;t++){let e=p[t];if(r.props.hasOwnProperty(e)){if("charSet"===e)i.has(e)?s=!1:i.add(e);else{let t=r.props[e],i=n[e]||new Set;("name"!==e||!o)&&i.has(t)?s=!1:(i.add(t),n[e]=i)}}}}return s}}()).reverse().map((t,e)=>{let n=t.key||e;if(!i&&"link"===t.type&&t.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(e=>t.props.href.startsWith(e))){let e={...t.props||{}};return e["data-href"]=e.href,e.href=void 0,e["data-optimized-fonts"]=!0,o.default.cloneElement(t,e)}return o.default.cloneElement(t,{key:n})})}let m=function(t){let{children:e}=t,i=(0,o.useContext)(l.AmpStateContext),n=(0,o.useContext)(u.HeadManagerContext);return(0,s.jsx)(a.default,{reduceComponentsToState:f,headManager:n,inAmpMode:(0,h.isInAmpMode)(i),children:e})};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},1564:function(t,e){function i(t){let{widthInt:e,heightInt:i,blurWidth:n,blurHeight:r,blurDataURL:s,objectFit:o}=t,a=n?40*n:e,l=r?40*r:i,u=a&&l?"viewBox='0 0 "+a+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return i}})},3938:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let n=i(9920)._(i(2265)),r=i(7103),s=n.default.createContext(r.imageConfigDefault)},7103:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{VALID_LOADERS:function(){return i},imageConfigDefault:function(){return n}});let i=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},5601:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return l},getImageProps:function(){return a}});let n=i(9920),r=i(497),s=i(8173),o=n._(i(1241));function a(t){let{props:e}=(0,r.getImgProps)(t,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let l=s.Image},1241:function(t,e){function i(t){let{config:e,src:i,width:n,quality:r}=t;return e.path+"?url="+encodeURIComponent(i)+"&w="+n+"&q="+(r||75)}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}}),i.__next_img_default=!0;let n=i},291:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return n}});let n=i(9920)._(i(2265)).default.createContext(null)},5960:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return a}});let n=i(2265),r="undefined"==typeof window,s=r?()=>{}:n.useLayoutEffect,o=r?()=>{}:n.useEffect;function a(t){let{headManager:e,reduceComponentsToState:i}=t;function a(){if(e&&e.mountedInstances){let r=n.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(i(r,t))}}if(r){var l;null==e||null==(l=e.mountedInstances)||l.add(t.children),a()}return s(()=>{var i;return null==e||null==(i=e.mountedInstances)||i.add(t.children),()=>{var i;null==e||null==(i=e.mountedInstances)||i.delete(t.children)}}),s(()=>(e&&(e._pendingUpdate=a),()=>{e&&(e._pendingUpdate=a)})),o(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},4839:function(t,e,i){e.Z=function(){for(var t,e,i=0,n="",r=arguments.length;i<r;i++)(t=arguments[i])&&(e=function t(e){var i,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(i=0;i<s;i++)e[i]&&(n=t(e[i]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n)}return r}(t))&&(n&&(n+=" "),n+=e);return n}}
1,9791:function(t,e,i){i.d(e,{_:function(){return n}});let n=(0,i(2265).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},2981:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(565);let r=["read","resolveKeyframes","update","preRender","render","postRender"];function s(t,e){let i=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0,[e,i]=[i,e],i.clear(),e.forEach(a),n=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{read:u,resolveKeyframes:h,update:d,preRender:c,render:p,postRender:f}=l,m=()=>{let r=n.c.useManualTiming?o.timestamp:performance.now();i=!1,o.delta=s?1e3/60:Math.max(Math.min(r-o.timestamp,40),1),o.timestamp=r,o.isProcessing=!0,u.process(o),h.process(o),d.process(o),c.process(o),p.process(o),f.process(o),o.isProcessing=!1,i&&e&&(s=!1,t(m))},v=()=>{i=!0,s=!0,o.isProcessing||t(m)};return{schedule:r.reduce((t,e)=>{let n=l[e];return t[e]=(t,e=!1,r=!1)=>(i||v(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:o,steps:l}}},6219:function(t,e,i){i.d(e,{Pn:function(){return s},S6:function(){return a},Wi:function(){return r},frameData:function(){return o}});var n=i(9276);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(2981).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},9993:function(t,e,i){let n;i.d(e,{X:function(){return a}});var r=i(565),s=i(6219);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.frameData.isProcessing||r.c.useManualTiming?s.frameData.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},6871:function(t,e,i){function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{E:function(){return rb}});let r=t=>Array.isArray(t);function s(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}function o(t){return"string"==typeof t||Array.isArray(t)}function a(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function l(t,e,i,n){if("function"==typeof e){let[r,s]=a(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=a(n);e=e(void 0!==i?i:t.custom,r,s)}return e}function u(t,e,i){let n=t.getProps();return l(n,e,void 0!==i?i:n.custom,t)}let h=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...h],c=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],p=new Set(c),f=t=>1e3*t,m=t=>t/1e3,v={type:"spring",stiffness:500,damping:25,restSpeed:10},g=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),y={type:"keyframes",duration:.8},x={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},w=(t,{keyframes:e})=>e.length>2?y:p.has(t)?t.startsWith("scale")?g(e[1]):v:x;function b(t,e){return t[e]||t.default||t}var P,S,T,A=i(565);let C={current:!1},M=t=>null!==t;function E(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(M),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return s&&void 0!==n?n:r[s]}var k=i(6219);let V=t=>/^0[^.\s]+$/u.test(t);var R=i(9047);let D=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);var j=i(1534);let L=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var F=i(783),O=i(5480);let B=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),W=t=>t===F.Rx||t===O.px,I=(t,e)=>parseFloat(t.split(", ")[e]),z=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/u);if(r)return I(r[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?I(e[1],t):0}},$=new Set(["x","y","z"]),_=c.filter(t=>!$.has(t)),U={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:z(4,13),y:z(5,14)};U.translateX=U.x,U.translateY=U.y;let N=t=>e=>e.test(t),H=[F.Rx,O.px,O.aQ,O.RW,O.vw,O.vh,{test:t=>"auto"===t,parse:t=>t}],X=t=>
1H.find(N(t)),Y=new Set,K=!1,G=!1;function Z(){if(G){let t=Array.from(Y).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return _.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var n;null===(n=t.getValue(e))||void 0===n||n.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}G=!1,K=!1,Y.forEach(t=>t.complete()),Y.clear()}function q(){Y.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(G=!0)})}class J{constructor(t,e,i,n,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Y.add(this),K||(K=!0,k.Wi.read(q),k.Wi.resolveKeyframes(Z))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let r=0;r<t.length;r++)if(null===t[r]){if(0===r){let r=null==n?void 0:n.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}else t[r]=t[r-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Y.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Y.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var Q=i(3646),tt=i(7292);let te=new Set(["brightness","contrast","saturate","opacity"]);function ti(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(tt.KP)||[];if(!n)return t;let r=i.replace(n,""),s=te.has(e)?1:0;return n!==i&&(s*=100),e+"("+s+r+")"}let tn=/\b([a-z-]*)\(.*?\)/gu,tr={...Q.P,getAnimatableNone:t=>{let e=t.match(tn);return e?e.map(ti).join(" "):t}};var ts=i(146);let to={...F.Rx,transform:Math.round},ta={borderWidth:O.px,borderTopWidth:O.px,borderRightWidth:O.px,borderBottomWidth:O.px,borderLeftWidth:O.px,borderRadius:O.px,radius:O.px,borderTopLeftRadius:O.px,borderTopRightRadius:O.px,borderBottomRightRadius:O.px,borderBottomLeftRadius:O.px,width:O.px,maxWidth:O.px,height:O.px,maxHeight:O.px,size:O.px,top:O.px,right:O.px,bottom:O.px,left:O.px,padding:O.px,paddingTop:O.px,paddingRight:O.px,paddingBottom:O.px,paddingLeft:O.px,margin:O.px,marginTop:O.px,marginRight:O.px,marginBottom:O.px,marginLeft:O.px,rotate:O.RW,rotateX:O.RW,rotateY:O.RW,rotateZ:O.RW,scale:F.bA,scaleX:F.bA,scaleY:F.bA,scaleZ:F.bA,skew:O.RW,skewX:O.RW,skewY:O.RW,distance:O.px,translateX:O.px,translateY:O.px,translateZ:O.px,x:O.px,y:O.px,z:O.px,perspective:O.px,transformPerspective:O.px,opacity:F.Fq,originX:O.$C,originY:O.$C,originZ:O.px,zIndex:to,backgroundPositionX:O.px,backgroundPositionY:O.px,fillOpacity:F.Fq,strokeOpacity:F.Fq,numOctaves:to},tl={...ta,color:ts.$,backgroundColor:ts.$,outlineColor:ts.$,fill:ts.$,stroke:ts.$,borderColor:ts.$,borderTopColor:ts.$,borderRightColor:ts.$,borderBottomColor:ts.$,borderLeftColor:ts.$,filter:tr,WebkitFilter:tr},tu=t=>tl[t];function th(t,e){let i=tu(t);return i!==tr&&(i=Q.P),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let td=new Set(["auto","none","0"]);class tc extends J{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,j.t)(n))){let r=function t(e,i,n=1){(0,R.k)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,s]=function(t){let e=L.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${null!=i?i:n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return D(t)?parseFloat(t):t}return(0,j.t)(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!B.has(i)||2!==t.length)return;let[n,r]=t,s=X(n),o=X(r);if(s!==o){if(W(s)&&W(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||V(n))&&i.push(e)}
1i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!td.has(e)&&(0,Q.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=th(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=U[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let s=n.length-1,o=n[s];n[s]=U[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEach(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}function tp(t){let e;return()=>(void 0===e&&(e=t()),e)}var tf=i(9276),tm=i(9993);let tv=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(Q.P.test(t)||"0"===t)&&!t.startsWith("url("));class tg{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=tm.X.now(),this.options={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(q(),Z()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=tm.X.now(),this.hasAttemptedResolve=!0;let{name:i,type:n,velocity:r,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=tv(r,e),a=tv(s,e);return(0,R.K)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||"spring"===i&&n)}(t,i,n,r)){if(C.current||!s){null==a||a(E(t,this.options,e)),null==o||o(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}var ty=i(3476);function tx(t,e,i){let n=Math.max(e-5,0);return(0,ty.R)(i-t(n),e-n)}var tw=i(1506);function tb(t,e){return t*Math.sqrt(1-e*e)}let tP=["duration","bounce"],tS=["stiffness","damping","mass"];function tT(t,e){return e.some(e=>void 0!==t[e])}function tA({keyframes:t,restDelta:e,restSpeed:i,...n}){let r;let s=t[0],o=t[t.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:h,duration:d,velocity:c,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!tT(t,tS)&&tT(t,tP)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:n=1}){let r,s;(0,R.K)(t<=f(10),"Spring duration must be 10 seconds or less");let o=1-e;o=(0,tw.u)(.05,1,o),t=(0,tw.u)(.01,10,m(t)),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/tb(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=tb(Math.pow(e,2),o);return(n*i+i-s)*Math.exp(-n)*(-r(e)+.001>0?-1:1)/a}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=f(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-m(n.velocity||0)}
1),v=c||0,g=u/(2*Math.sqrt(l*h)),y=o-s,x=m(Math.sqrt(l/h)),w=5>Math.abs(y);if(i||(i=w?.01:2),e||(e=w?.005:.5),g<1){let t=tb(x,g);r=e=>o-Math.exp(-g*x*e)*((v+g*x*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===g)r=t=>o-Math.exp(-x*t)*(y+(v+x*y)*t);else{let t=x*Math.sqrt(g*g-1);r=e=>{let i=Math.exp(-g*x*e),n=Math.min(t*e,300);return o-i*((v+g*x*y)*Math.sinh(n)+t*y*Math.cosh(n))/t}}return{calculatedDuration:p&&d||null,next:t=>{let n=r(t);if(p)a.done=t>=d;else{let s=0;g<1&&(s=0===t?f(v):tx(r,t,n));let l=Math.abs(s)<=i,u=Math.abs(o-n)<=e;a.done=l&&u}return a.value=a.done?o:n,a}}}function tC({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,c;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,v=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,g=i*e,y=p+g,x=void 0===o?y:o(y);x!==y&&(g=x-p);let w=t=>-g*Math.exp(-t/n),b=t=>x+w(t),P=t=>{let e=w(t),i=b(t);f.done=Math.abs(e)<=u,f.value=f.done?x:i},S=t=>{m(f.value)&&(d=t,c=tA({keyframes:[f.value,v(f.value)],velocity:tx(b,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}))};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,P(t),S(t)),void 0!==d&&t>=d)?c.next(t-d):(e||P(t),f)}}}let tM=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tE(t,e,i,n){if(t===e&&i===n)return tf.Z;let r=e=>(function(t,e,i,n,r){let s,o;let a=0;do(s=tM(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:tM(r(t),e,n)}let tk=tE(.42,0,1,1),tV=tE(0,0,.58,1),tR=tE(.42,0,.58,1),tD=t=>Array.isArray(t)&&"number"!=typeof t[0],tj=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tL=t=>e=>1-t(1-e),tF=t=>1-Math.sin(Math.acos(t)),tO=tL(tF),tB=tj(tF),tW=tE(.33,1.53,.69,.99),tI=tL(tW),tz=tj(tI),t$={linear:tf.Z,easeIn:tk,easeInOut:tR,easeOut:tV,circIn:tF,circInOut:tB,circOut:tO,backIn:tI,backInOut:tz,backOut:tW,anticipate:t=>(t*=2)<1?.5*tI(t):.5*(2-Math.pow(2,-10*(t-1)))},t_=t=>{if(Array.isArray(t)){(0,R.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return tE(e,i,n,r)}return"string"==typeof t?((0,R.k)(void 0!==t$[t],`Invalid easing type '${t}'`),t$[t]):t};var tU=i(2548),tN=i(839);function tH({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let r=tD(n)?n.map(t_):t_(n),s={done:!1,value:e[0]},o=(i&&i.length===e.length?i:(0,tN.Y)(e)).map(e=>e*t),a=(0,tU.s)(o,e,{ease:Array.isArray(r)?r:e.map(()=>r||tR).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}var tX=i(9654),tY=i(5389);let tK=t=>{let e=({timestamp:e})=>t(e);return{start:()=>k.Wi.update(e,!0),stop:()=>(0,k.Pn)(e),now:()=>k.frameData.isProcessing?k.frameData.timestamp:tm.X.now()}},tG={decay:tC,inertia:tC,tween:tH,keyframes:tH,spring:tA},tZ=t=>t/100;class tq extends tg{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:n,keyframes:r}=this.options,s=(null==n?void 0:n.KeyframeResolver)||J;this.resolver=new s(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}initPlayback(t){let e,i;let{type:n="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=tG[n]||tH;l!==tH&&"number"!=typeof t[0]&&(e=(0,tX.z)(tZ,(0,tY.C)(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=function(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}(u));let{calculatedDuration:h}=u,d=h+s;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:d,totalDuration:d*(r+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:d,repeat:c,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=r;if(c){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/h)):"mirror"===p&&(x=s)),y=(0,tw.u)(0,1,i)*h}let w=g?{done:!1,value:a[0]}:x.next(y);o&&(w.value=o(w.value));let{done:b}=w;g||null===l||(b=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return P&&void 0!==n&&(w.value=E(a,this.options,n)),m&&m(w.value),P&&this.finish(),w}get duration(){let{resolved:t}=this;return t?m(t.calculatedDuration):0}
1get time(){return m(this.currentTime)}set time(t){t=f(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=m(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=tK,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}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(t){return this.startTime=0,this.tick(t,!0)}}let tJ=new Set(["opacity","clipPath","filter","transform"]),tQ=t=>Array.isArray(t)&&"number"==typeof t[0],t0=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,t1={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t0([0,.65,.55,1]),circOut:t0([.55,0,1,.45]),backIn:t0([.31,.01,.66,-.59]),backOut:t0([.33,1.53,.69,.99])};function t2(t){return t5(t)||t1.easeOut}function t5(t){if(t)return tQ(t)?t0(t):Array.isArray(t)?t.map(t2):t1[t]}let t3=tp(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class t9 extends tg{constructor(t){super(t);let{name:e,motionValue:i,element:n,keyframes:r}=this.options;this.resolver=new tc(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}initPlayback(t,e){var i,n;let{duration:r=300,times:s,ease:o,type:a,motionValue:l,name:u,startTime:h}=this.options;if(!(null===(i=l.owner)||void 0===i?void 0:i.current))return!1;if("spring"===(n=this.options).type||!function t(e){return!!(!e||"string"==typeof e&&e in t1||tQ(e)||Array.isArray(e)&&e.every(t))}(n.ease)){let{onComplete:e,onUpdate:i,motionValue:n,element:l,...u}=this.options,h=function(t,e){let i=new tq({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},r=[],s=0;for(;!n.done&&s<2e4;)r.push((n=i.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),r=h.duration,s=h.times,o=h.ease,a="keyframes"}let d=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=t5(a);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:n,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:r,times:s,ease:o});return d.startTime=null!=h?h:this.calcStartTime(),this.pendingTimeline?(d.timeline=this.pendingTimeline,this.pendingTimeline=void 0):d.onfinish=()=>{let{onComplete:i}=this.options;l.set(E(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:r,times:s,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return m(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return m(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=f(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return tf.Z;let{animation:i}=e;i.timeline=t,i.onfinish=null}else this.pendingTimeline=t;return tf.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;
1"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:n,type:r,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new tq({...u,keyframes:i,duration:n,type:r,ease:s,times:o,isGenerator:!0}),d=f(this.time);t.setWithVelocity(h.sample(d-10).value,h.sample(d).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;return t3()&&i&&tJ.has(i)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}}let t4=tp(()=>void 0!==window.ScrollTimeline);class t6{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t){let e=this.animations.map(e=>{if(!t4()||!e.attachTimeline)return e.pause(),function(t,e){let i;let n=()=>{let{currentTime:n}=e,r=(null===n?0:n.value)/100;i!==r&&t(r),i=r};return k.Wi.update(n,!0),()=>(0,k.Pn)(n)}(t=>{e.time=e.duration*t},t);e.attachTimeline(t)});return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let t8=(t,e,i,n={},r,s,o)=>a=>{let l=b(n,t)||{},u=l.delay||n.delay||0,{elapsed:h=0}=n;h-=f(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete(),o&&o()},onStop:o,name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(l)&&(d={...d,...w(t,d)}),d.duration&&(d.duration=f(d.duration)),d.repeatDelay&&(d.repeatDelay=f(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(d.duration=0,0!==d.delay||(c=!0)),(C.current||A.c.skipAnimations)&&(c=!0,d.duration=0,d.delay=0),c&&!s&&void 0!==e.get()){let t=E(d.keyframes,l);if(void 0!==t)return k.Wi.update(()=>{d.onUpdate(t),d.onComplete()}),new t6([])}return!s&&t9.supports(d)?new t9(d):new tq(d)},t7=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),et=t=>r(t)?t[t.length-1]||0:t;var ee=i(804);let ei=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),en="data-"+ei("framerAppearId");function er(t){return p.has(t)?"transform":tJ.has(t)?ei(t):void 0}var es=i(8746);class eo extends ee.Hg{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(t){let e=er(t);if(!e)return;let i=this.counts.get(e)||0;this.counts.set(e,i+1),0===i&&(this.output.push(e),this.update());let n=!1;return()=>{if(n)return;n=!0;let t=this.counts.get(e)-1;this.counts.set(e,t),0===t&&((0,es.cl)(this.output,e),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}let ea=t=>!!(t&&t.getVelocity);function el(t,e){var i,n;if(!t.applyWillChange)return;let r=t.getValue("willChange");if(r||(null===(i=t.props.style)||void 0===i?void 0:i.willChange)||(r=new eo("auto"),t.addValue("willChange",r)),ea(n=r)&&n.add)return r.add(e)}function eu(t,e,{delay:i=0,transitionOverride:n,type:r}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;n&&(o=n);let h=[],d=r&&t.animationState&&t.animationState.getState()[r];for(let e in l){let n=t.getValue(e,null!==(s=t.latestValues[e])&&void 0!==s?s:null),r=l[e];if(void 0===r||d&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(d,e))continue;let a={delay:i,...b(o||{},e)},u=!1;if(window.MotionHandoffAnimation){let i=t.props[en];if(i){let t=window.MotionHandoffAnimation(i,e,k.Wi);null!==t&&(a.startTime=t,u=!0)}}n.start(t8(e,n,r,t.shouldReduceMotion&&p.has(e)?{type:!1}:a,t,u,el(t,e)));let c=n.animation;c&&h.push(c)}return a&&Promise.all(h).then(()=>{k.Wi.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=u(t,e)||{};for(let e in r={...r,...i}){let i=et(r[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,ee.BX)(i))}}(t,a)})}),h}function eh(t,e,i={}){var n;let r=u(t,e,"exit"===i.type?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let o=r?()=>Promise.all(eu(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;
1return function(t,e,i=0,n=0,r=1,s){let o=[],a=(t.variantChildren.size-1)*n,l=1===r?(t=0)=>t*n:(t=0)=>a-t*n;return Array.from(t.variantChildren).sort(ed).forEach((t,n)=>{t.notify("AnimationStart",e),o.push(eh(t,e,{...s,delay:i+l(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+n,o,a,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function ed(t,e){return t.sortNodePosition(e)}let ec=[...h].reverse(),ep=h.length;function ef(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function em(){return{animate:ef(!0),whileInView:ef(),whileHover:ef(),whileTap:ef(),whileDrag:ef(),whileFocus:ef(),exit:ef()}}class ev{constructor(t){this.isMounted=!1,this.node=t}update(){}}class eg extends ev{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>eh(t,e,i)));else if("string"==typeof e)n=eh(t,e,i);else{let r="function"==typeof e?u(t,e,i.custom):e;n=Promise.all(eu(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=em(),a=!0,l=e=>(i,n)=>{var r;let s=u(t,n,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function h(u){let h=t.getProps(),d=t.getVariantContext(!0)||{},c=[],p=new Set,f={},m=1/0;for(let e=0;e<ep;e++){var v;let g=ec[e],y=i[g],x=void 0!==h[g]?h[g]:d[g],w=o(x),b=g===u?y.isActive:null;!1===b&&(m=e);let P=x===d[g]&&x!==h[g]&&w;if(P&&a&&t.manuallyAnimateOnMount&&(P=!1),y.protectedKeys={...f},!y.isActive&&null===b||!x&&!y.prevProp||n(x)||"boolean"==typeof x)continue;let S=(v=y.prevProp,("string"==typeof x?x!==v:!!Array.isArray(x)&&!s(x,v))||g===u&&y.isActive&&!P&&w||e>m&&w),T=!1,A=Array.isArray(x)?x:[x],C=A.reduce(l(g),{});!1===b&&(C={});let{prevResolvedValues:M={}}=y,E={...M,...C},k=e=>{S=!0,p.has(e)&&(T=!0,p.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=C[t],i=M[t];if(!f.hasOwnProperty(t))(r(e)&&r(i)?s(e,i):e===i)?void 0!==e&&p.has(t)?k(t):y.protectedKeys[t]=!0:null!=e?k(t):p.add(t)}y.prevProp=x,y.prevResolvedValues=C,y.isActive&&(f={...f,...C}),a&&t.blockInitialAnimation&&(S=!1),S&&(!P||T)&&c.push(...A.map(t=>({animation:t,options:{type:g}})))}if(p.size){let e={};p.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=n?n:null}),c.push({animation:e})}let g=!!c.length;return a&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(g=!1),a=!1,g?e(c):Promise.resolve()}return{animateChanges:h,setActive:function(e,n){var r;if(i[e].isActive===n)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let s=h(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=em(),a=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();n(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let ey=0;class ex extends ev{constructor(){super(...arguments),this.id=ey++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}let ew=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function eb(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}let eP=t=>e=>ew(e)&&t(e,eb(e));function eS(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function eT(t,e,i,n){return eS(t,e,eP(i),n)}let eA=(t,e)=>Math.abs(t-e);class eC{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=ek(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(eA(t.x,e.x)**2+eA(t.y,e.y)**2)>=3);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=k.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=eM(e,this.transformPagePoint),k.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ek("pointercancel"===t.type?this.lastMoveEventInfo:eM(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!ew(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let s=eM(eb(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=k.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,ek(s,this.history)),this.removeListeners=(0,tX.z)(eT(this.contextWindow,"pointermove",this.handlePointerMove),eT(this.contextWindow,"pointerup",this.handlePointerUp),eT(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,k.Pn)(this.updatePoint)}}function eM(t,e){return e?{point:e(t.point)}:t}function eE(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ek({point:t},e){return{point:t,delta:eE(t,eV(e)),offset:eE(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=eV(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>f(.1)));)i--;if(!n)return{x:0,y:0};let s=m(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
1;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function eV(t){return t[t.length-1]}function eR(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let eD=eR("dragHorizontal"),ej=eR("dragVertical");function eL(t){let e=!1;if("y"===t)e=ej();else if("x"===t)e=eD();else{let t=eD(),i=ej();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function eF(){let t=eL(!0);return!t||(t(),!1)}function eO(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var eB=i(3217),eW=i(5004);function eI(t){return t.max-t.min}function ez(t,e,i,n=.5){t.origin=n,t.originPoint=(0,eW.t)(e.min,e.max,t.origin),t.scale=eI(i)/eI(e),t.translate=(0,eW.t)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function e$(t,e,i,n){ez(t.x,e.x,i.x,n?n.originX:void 0),ez(t.y,e.y,i.y,n?n.originY:void 0)}function e_(t,e,i){t.min=i.min+e.min,t.max=t.min+eI(e)}function eU(t,e,i){t.min=e.min-i.min,t.max=t.min+eI(e)}function eN(t,e,i){eU(t.x,e.x,i.x),eU(t.y,e.y,i.y)}function eH(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function eX(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function eY(t,e,i){return{min:eK(t,e),max:eK(t,i)}}function eK(t,e){return"number"==typeof t?t:t[e]||0}let eG=()=>({translate:0,scale:1,origin:0,originPoint:0}),eZ=()=>({x:eG(),y:eG()}),eq=()=>({min:0,max:0}),eJ=()=>({x:eq(),y:eq()});function eQ(t){return[t("x"),t("y")]}function e0({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function e1(t){return void 0===t||1===t}function e2({scale:t,scaleX:e,scaleY:i}){return!e1(t)||!e1(e)||!e1(i)}function e5(t){return e2(t)||e3(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function e3(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function e9(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function e4(t,e=0,i=1,n,r){t.min=e9(t.min,e,i,n,r),t.max=e9(t.max,e,i,n,r)}function e6(t,{x:e,y:i}){e4(t.x,e.translate,e.scale,e.originPoint),e4(t.y,i.translate,i.scale,i.originPoint)}function e8(t,e){t.min=t.min+e,t.max=t.max+e}function e7(t,e,i,n,r=.5){let s=(0,eW.t)(t.min,t.max,r);e4(t,e,i,s,n)}function it(t,e){e7(t.x,e.x,e.scaleX,e.scale,e.originX),e7(t.y,e.y,e.scaleY,e.scale,e.originY)}function ie(t,e){return e0(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let ii=({current:t})=>t?t.ownerDocument.defaultView:null,ir=new WeakMap;class is{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=eJ(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new eC(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(eb(t,"page").point)},onStart:(t,e)=>{var i;let{drag:n,dragPropagation:r,onDragStart:s}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eL(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eQ(t=>{let e=this.getAxisMotionValue(t).get()||0;if(O.aQ.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=eI(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),s&&k.Wi.postRender(()=>s(t,e)),null===(i=this.removeWillChange)||void 0===i||i.call(this),this.removeWillChange=el(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>eQ(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:ii(this.visualElement)})}stop(t,e){var i;null===(i=this.removeWillChange)||void 0===i||i.call(this);let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:s}=this.getProps();s&&k.Wi.postRender(()=>s(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!io(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,eW.t)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,eW.t)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&eO(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:eH(t.x,i,r),y:eH(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:eY(t,"left","right"),y:eY(t,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&eQ(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!eO(e))return!1;let n=e.current;(0,R.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
1let s=function(t,e,i){let n=ie(t,i),{scroll:r}=e;return r&&(e8(n.x,r.offset.x),e8(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o={x:eX((t=r.layout.layoutBox).x,s.x),y:eX(t.y,s.y)};if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=e0(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(eQ(o=>{if(!io(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start(t8(t,i,0,e,this.visualElement,!1,el(this.visualElement,t)))}stopAnimation(){eQ(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){eQ(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){eQ(e=>{let{drag:i}=this.getProps();if(!io(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-(0,eW.t)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!eO(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};eQ(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=eI(t),r=eI(e);return r>n?i=(0,eB.Y)(e.min,e.max-n,t.min):n>r&&(i=(0,eB.Y)(t.min,t.max-r,e.min)),(0,tw.u)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),eQ(e=>{if(!io(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,eW.t)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;ir.set(this.visualElement,this);let t=eT(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();eO(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),k.Wi.read(e);let r=eS(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(eQ(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function io(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ia extends ev{constructor(t){super(t),this.removeGroupControls=tf.Z,this.removeListeners=tf.Z,this.controls=new is(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tf.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let il=t=>(e,i)=>{t&&k.Wi.postRender(()=>t(e,i))};class iu extends ev{constructor(){super(...arguments),this.removePointerDownListener=tf.Z}onPointerDown(t){this.session=new eC(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ii(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:il(t),onStart:il(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&k.Wi.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=eT(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var ih=i(7437),id=i(2265);let ic=(0,id.createContext)(null),ip=(0,id.createContext)({}),im=(0,id.createContext)({}),iv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ig(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let iy={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!O.px.test(t))return t;t=parseFloat(t)}let i=ig(t,e.target.x),n=ig(t,e.target.y);return`${i}% ${n}%`}},ix={},{schedule:iw,cancel:ib}=(0,i(2981).Z)(queueMicrotask,!1);class iP extends id.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;Object.assign(ix,iT),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),iv.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,n||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||k.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),iw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function iS(t){let[e,i]=function(){let t=(0,id.useContext)(ic);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:n}=t,r=(0,id.useId)();(0,id.useEffect)(()=>n(r),[]);let s=(0,id.useCallback)(()=>i&&i(r),[r,i]);return!e&&i?[!1,s]:[!0]}(),n=(0,id.useContext)(ip);return(0,ih.jsx)(iP,{...t,layoutGroup:n,switchLayoutGroup:(0,id.useContext)(im),isPresent:e,safeToRemove:i})}let iT={borderRadius:{...iy,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:iy,borderTopRightRadius:iy,borderBottomLeftRadius:iy,borderBottomRightRadius:iy,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=Q.P.parse(t);if(n.length>5)return t;let r=Q.P.createTransformer(t),s="number"!=typeof n[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=(0,eW.t)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};var iA=i(2428);let iC=["TopLeft","TopRight","BottomLeft","BottomRight"],iM=iC.length,iE=t=>"string"==typeof t?parseFloat(t):t,ik=t=>"number"==typeof t||O.px.test(t);function iV(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let iR=ij(0,.5,tO),iD=ij(.5,.95,tf.Z);
1function ij(t,e,i){return n=>n<t?0:n>e?1:i((0,eB.Y)(t,e,n))}function iL(t,e){t.min=e.min,t.max=e.max}function iF(t,e){iL(t.x,e.x),iL(t.y,e.y)}function iO(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function iB(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function iW(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(O.aQ.test(e)&&(e=parseFloat(e),e=(0,eW.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,eW.t)(s.min,s.max,n);t===s&&(a-=e),t.min=iB(t.min,e,i,a,r),t.max=iB(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let iI=["x","scaleX","originX"],iz=["y","scaleY","originY"];function i$(t,e,i,n){iW(t.x,e,iI,i?i.x:void 0,n?n.x:void 0),iW(t.y,e,iz,i?i.y:void 0,n?n.y:void 0)}function i_(t){return 0===t.translate&&1===t.scale}function iU(t){return i_(t.x)&&i_(t.y)}function iN(t,e){return t.min===e.min&&t.max===e.max}function iH(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function iX(t,e){return iH(t.x,e.x)&&iH(t.y,e.y)}function iY(t){return eI(t.x)/eI(t.y)}function iK(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class iG{constructor(){this.members=[]}add(t){(0,es.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,es.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let iZ=(t,e)=>t.depth-e.depth;class iq{constructor(){this.children=[],this.isDirty=!1}add(t){(0,es.y4)(this.children,t),this.isDirty=!0}remove(t){(0,es.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(iZ),this.isDirty=!1,this.children.forEach(t)}}function iJ(t){let e=ea(t)?t.get():t;return t7(e)?e.toValue():e}let iQ={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},i0="undefined"!=typeof window&&void 0!==window.MotionDebug,i1=["","X","Y","Z"],i2={visibility:"hidden"},i5=0;function i3(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function i9({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=i5++,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,i0&&(iQ.totalNodes=iQ.resolvedTargetDeltas=iQ.recalculatedProjection=0),this.nodes.forEach(i8),this.nodes.forEach(ns),this.nodes.forEach(no),this.nodes.forEach(i7),i0&&window.MotionDebug.record(iQ)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new iq)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new iA.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:n,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),t){let i;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tm.X.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,k.Pn)(n),t(r-250))};return k.Wi.read(n,!0),()=>(0,k.Pn)(n)}(n,0),iv.hasAnimatedSinceResize&&(iv.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(nr))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||nc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!iX(this.targetLayout,n)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...b(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||nr(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,k.Pn)(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.forEach(na),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[en];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",k.Wi,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ne);return}this.isUpdating||this.nodes.forEach(ni),this.isUpdating=!1,this.nodes.forEach(nn),this.nodes.forEach(i4),this.nodes.forEach(i6),this.clearAllSnapshots();let t=tm.X.now();k.frameData.delta=(0,tw.u)(0,1e3/60,t-k.frameData.timestamp),k.frameData.timestamp=t,k.frameData.isProcessing=!0,k.S6.update.process(k.frameData),k.S6.preRender.process(k.frameData),k.S6.render.process(k.frameData),k.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,iw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nt),this.sharedNodes.forEach(nl)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,k.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){k.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=eJ(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!iU(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&(e||e5(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),nm((e=n).x),nm(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return eJ();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(ng))){let{scroll:t}=this.root;t&&(e8(i.x,t.offset.x),e8(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=eJ();if(iF(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let n=this.path[e],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&iF(i,t),e8(i.x,r.offset.x),e8(i.y,r.offset.y))}return i}applyTransform(t,e=!1){let i=eJ();iF(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];
1!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&it(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),e5(n.latestValues)&&it(i,n.latestValues)}return e5(this.latestValues)&&it(i,this.latestValues),i}removeTransform(t){let e=eJ();iF(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!e5(i.latestValues))continue;e2(i.latestValues)&&i.updateSnapshot();let n=eJ();iF(n,i.measurePageBox()),i$(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return e5(this.latestValues)&&i$(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.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!==k.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,n,r;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=k.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=eJ(),this.relativeTargetOrigin=eJ(),eN(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),iF(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=eJ(),this.targetWithTransforms=eJ()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,r=this.relativeParent.target,e_(i.x,n.x,r.x),e_(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):iF(this.target,this.layout.layoutBox),e6(this.target,this.targetDelta)):iF(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=eJ(),this.relativeTargetOrigin=eJ(),eN(this.relativeTargetOrigin,this.target,t.target),iF(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}i0&&iQ.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||e2(this.parent.latestValues)||e3(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===k.frameData.timestamp&&(n=!1),n)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;iF(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;
1!function(t,e,i,n=!1){let r,s;let o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&it(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,e6(t,s)),n&&e5(r.latestValues)&&it(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=eJ());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iO(this.prevProjectionDelta.x,this.projectionDelta.x),iO(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),e$(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&iK(this.projectionDelta.x,this.prevProjectionDelta.x)&&iK(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),i0&&iQ.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=eZ(),this.projectionDelta=eZ(),this.projectionDeltaWithTransform=eZ()}setAnimationOrigin(t,e=!1){let i;let n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=eZ();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=eJ(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(nd));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(nu(o.x,t.x,n),nu(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,f;eN(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,nh(p.x,f.x,a.x,n),nh(p.y,f.y,a.y,n),i&&(u=this.relativeTarget,c=i,iN(u.x,c.x)&&iN(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=eJ()),iF(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,eW.t)(0,void 0!==i.opacity?i.opacity:1,iR(n)),t.opacityExit=(0,eW.t)(void 0!==e.opacity?e.opacity:1,0,iD(n))):s&&(t.opacity=(0,eW.t)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<iM;r++){let s=`border${iC[r]}Radius`,o=iV(e,s),a=iV(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||ik(o)===ik(a)?(t[s]=Math.max((0,eW.t)(iE(o),iE(a),n),0),(O.aQ.test(a)||O.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,eW.t)(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,d,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,k.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=k.Wi.update(()=>{iv.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let n=ea(0)?0:(0,ee.BX)(0);return n.start(t8("",n,1e3,i)),n.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.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);let t=this.getStack();t&&t.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(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&nv(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||eJ();let e=eI(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=eI(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}iF(e,i),it(e,r),e$(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new iG),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}
1resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&i3("z",t,n,this.animationValues);for(let e=0;e<i1.length;e++)i3(`rotate${i1[e]}`,t,n,this.animationValues),i3(`skew${i1[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return i2;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=iJ(null==t?void 0:t.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=iJ(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!e5(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),n.transform=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),r&&(n.transform=r(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?n.opacity=s===this?null!==(i=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,ix){if(void 0===o[t])continue;let{correct:e,applyTo:i}=ix[t],r="none"===n.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)n[i[e]]=r}else n[t]=r}return this.options.layoutId&&(n.pointerEvents=s===this?iJ(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(ne),this.root.sharedNodes.clear()}}}function i4(t){t.updateLayout()}function i6(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:r}=t.options,s=i.source!==t.layout.source;"size"===r?eQ(t=>{let n=s?i.measuredBox[t]:i.layoutBox[t],r=eI(n);n.min=e[t].min,n.max=n.min+r}):nv(r,i.layoutBox,e)&&eQ(n=>{let r=s?i.measuredBox[n]:i.layoutBox[n],o=eI(e[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=eZ();e$(o,e,i.layoutBox);let a=eZ();s?e$(a,t.applyTransform(n,!0),i.measuredBox):e$(a,e,i.layoutBox);let l=!iU(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=eJ();eN(o,i.layoutBox,r.layoutBox);let a=eJ();eN(a,e,s.layoutBox),iX(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function i8(t){i0&&iQ.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function i7(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nt(t){t.clearSnapshot()}function ne(t){t.clearMeasurements()}function ni(t){t.isLayoutDirty=!1}function nn(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nr(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ns(t){t.resolveTargetDelta()}function no(t){t.calcProjection()}
1function na(t){t.resetSkewAndRotation()}function nl(t){t.removeLeadSnapshot()}function nu(t,e,i){t.translate=(0,eW.t)(e.translate,0,i),t.scale=(0,eW.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nh(t,e,i,n){t.min=(0,eW.t)(e.min,i.min,n),t.max=(0,eW.t)(e.max,i.max,n)}function nd(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nc={duration:.45,ease:[.4,0,.1,1]},np=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),nf=np("applewebkit/")&&!np("chrome/")?Math.round:tf.Z;function nm(t){t.min=nf(t.min),t.max=nf(t.max)}function nv(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(iY(e)-iY(i)))}function ng(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let ny=i9({attachResizeListener:(t,e)=>eS(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nx={current:void 0},nw=i9({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nx.current){let t=new ny({});t.mount(window),t.setOptions({layoutScroll:!0}),nx.current=t}return nx.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function nb(t,e){let i=e?"onHoverStart":"onHoverEnd";return eT(t.current,e?"pointerenter":"pointerleave",(n,r)=>{if("touch"===n.pointerType||eF())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e);let o=s[i];o&&k.Wi.postRender(()=>o(n,r))},{passive:!t.getProps()[i]})}class nP extends ev{mount(){this.unmount=(0,tX.z)(nb(this.node,!0),nb(this.node,!1))}unmount(){}}class nS extends ev{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&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,tX.z)(eS(this.node.current,"focus",()=>this.onFocus()),eS(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let nT=(t,e)=>!!e&&(t===e||nT(t,e.parentElement));function nA(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,eb(i))}class nC extends ev{constructor(){super(...arguments),this.removeStartListeners=tf.Z,this.removeEndListeners=tf.Z,this.removeAccessibleListeners=tf.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),n=eT(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:n,globalTapTarget:r}=this.node.getProps(),s=r||nT(this.node.current,t.target)?i:n;s&&k.Wi.update(()=>s(t,e))},{passive:!(i.onTap||i.onPointerUp)}),r=eT(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=(0,tX.z)(n,r),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=eS(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=eS(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&nA("up",(t,e)=>{let{onTap:i}=this.node.getProps();i&&k.Wi.postRender(()=>i(t,e))})}),nA("down",(t,e)=>{this.startPress(t,e)}))}),e=eS(this.node.current,"blur",()=>{this.isPressing&&nA("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=(0,tX.z)(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:i,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&k.Wi.postRender(()=>i(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!eF()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&k.Wi.postRender(()=>i(t,e))}mount(){let t=this.node.getProps(),e=eT(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=eS(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,tX.z)(e,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let nM=new WeakMap,nE=new WeakMap,nk=t=>{let e=nM.get(t.target);e&&e(t)}
1,nV=t=>{t.forEach(nk)},nR={some:0,all:1};class nD extends ev{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:nR[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;nE.has(i)||nE.set(i,{});let n=nE.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(nV,{root:t,...e})),n[r]}(e);return nM.set(t,i),n.observe(t),()=>{nM.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}var nj=i(9791);let nL=(0,id.createContext)({});var nF=i(9033);let nO=(0,id.createContext)({strict:!1}),nB=!1;function nW(){window.MotionHandoffIsComplete=!0}function nI(t){return n(t.animate)||d.some(e=>o(t[e]))}function nz(t){return!!(nI(t)||t.variants)}function n$(t){return Array.isArray(t)?t.join(" "):t}let n_={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"]},nU={};for(let t in n_)nU[t]={isEnabled:e=>n_[t].some(t=>!!e[t])};var nN=i(7282);let nH=Symbol.for("motionComponentSymbol"),nX=["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"];function nY(t){if("string"!=typeof t||t.includes("-"));else if(nX.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}function nK(t,{style:e,vars:i},n,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(s,i[s])}let nG=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"]);function nZ(t,e,i,n){for(let i in nK(t,e,void 0,n),e.attrs)t.setAttribute(nG.has(i)?i:ei(i),e.attrs[i])}function nq(t,{layout:e,layoutId:i}){return p.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ix[t]||"opacity"===t)}function nJ(t,e,i){var n;let{style:r}=t,s={};for(let o in r)(ea(r[o])||e.style&&ea(e.style[o])||nq(o,t)||(null===(n=null==i?void 0:i.getValue(o))||void 0===n?void 0:n.liveStyle)!==void 0)&&(s[o]=r[o]);return i&&r&&"string"==typeof r.willChange&&(i.applyWillChange=!1),s}function nQ(t,e,i){let n=nJ(t,e,i);for(let i in t)(ea(t[i])||ea(e[i]))&&(n[-1!==c.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}var n0=i(458);let n1=t=>(e,i)=>{let r=(0,id.useContext)(nL),s=(0,id.useContext)(ic),o=()=>(function({applyWillChange:t=!1,scrapeMotionValuesFromProps:e,createRenderState:i,onMount:r},s,o,a,l){let u={latestValues:function(t,e,i,r,s){var o;let a={},l=[],u=r&&(null===(o=t.style)||void 0===o?void 0:o.willChange)===void 0,h=s(t,{});for(let t in h)a[t]=iJ(h[t]);let{initial:d,animate:c}=t,p=nI(t),f=nz(t);e&&f&&!p&&!1!==t.inherit&&(void 0===d&&(d=e.initial),void 0===c&&(c=e.animate));let m=!!i&&!1===i.initial,v=(m=m||!1===d)?c:d;return v&&"boolean"!=typeof v&&!n(v)&&n2(t,v,(t,e)=>{for(let e in t){let i=t[e];if(Array.isArray(i)){let t=m?i.length-1:0;i=i[t]}null!==i&&(a[e]=i)}for(let t in e)a[t]=e[t]}),u&&(c&&!1!==d&&!n(c)&&n2(t,c,t=>{for(let e in t)!function(t,e){let i=er(e);i&&(0,es.y4)(t,i)}(l,e)}),l.length&&(a.willChange=l.join(","))),a}(s,o,a,!l&&t,e),renderState:i()};return r&&(u.mount=t=>r(s,t,u)),u})(t,e,r,s,i);return i?o():(0,n0.h)(o)};function n2(t,e,i){let n=Array.isArray(e)?e:[e];for(let e=0;e<n.length;e++){let r=l(t,n[e]);if(r){let{transitionEnd:t,transition:e,...n}=r;i(n,t)}}}let n5=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),n3=()=>({...n5(),attrs:{}}),n9=(t,e)=>e&&"number"==typeof t?e.transform(t):t,n4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},n6=c.length;function n8(t,e,i){let{style:n,vars:r,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(p.has(t)){o=!0;continue}if((0,j.f)(t)){r[t]=i;continue}{let e=n9(i,ta[t]);t.startsWith("origin")?(a=!0,s[t]=e):n[t]=e}}
1if(!e.transform&&(o||i?n.transform=function(t,e,i){let n="",r=!0;for(let s=0;s<n6;s++){let o=c[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||i){let t=n9(a,ta[o]);if(!l){r=!1;let e=n4[o]||o;n+=`${e}(${t}) `}i&&(e[o]=t)}}return n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;n.transformOrigin=`${t} ${e} ${i}`}}function n7(t,e,i){return"string"==typeof t?t:O.px.transform(e+i*t)}let rt={offset:"stroke-dashoffset",array:"stroke-dasharray"},re={offset:"strokeDashoffset",array:"strokeDasharray"};function ri(t,{attrX:e,attrY:i,attrScale:n,originX:r,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,d){if(n8(t,u,d),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:p,dimensions:f}=t;c.transform&&(f&&(p.transform=c.transform),delete c.transform),f&&(void 0!==r||void 0!==s||p.transform)&&(p.transformOrigin=function(t,e,i){let n=n7(e,t.x,t.width),r=n7(i,t.y,t.height);return`${n} ${r}`}(f,void 0!==r?r:.5,void 0!==s?s:.5)),void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==o&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?rt:re;t[s.offset]=O.px.transform(-n);let o=O.px.transform(e),a=O.px.transform(i);t[s.array]=`${o} ${a}`}(c,o,a,l,!1)}let rn=t=>"string"==typeof t&&"svg"===t.toLowerCase(),rr={useVisualState:n1({scrapeMotionValuesFromProps:nQ,createRenderState:n3,onMount:(t,e,{renderState:i,latestValues:n})=>{k.Wi.read(()=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}}),k.Wi.render(()=>{ri(i,n,rn(e.tagName),t.transformTemplate),nZ(e,i)})}})},rs={useVisualState:n1({applyWillChange:!0,scrapeMotionValuesFromProps:nJ,createRenderState:n5})};function ro(t,e,i){for(let n in e)ea(e[n])||nq(n,i)||(t[n]=e[n])}let ra=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 rl(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ra.has(t)}let ru=t=>!rl(t);try{(P=require("@emotion/is-prop-valid").default)&&(ru=t=>t.startsWith("on")?!rl(t):P(t))}catch(t){}let rh={current:null},rd={current:!1},rc=new WeakMap,rp=[...H,ts.$,Q.P],rf=t=>rp.find(N(t)),rm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rv=d.length;class rg{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},o={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=J,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,k.Wi.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=nI(e),this.isVariantNode=nz(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==a[t]&&ea(e)&&e.set(a[t],!1)}}mount(t){this.current=t,rc.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),rd.current||function(){if(rd.current=!0,nN.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>rh.current=t.matches;t.addListener(e),e()}else rh.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rh.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in rc.delete(this.current),this.projection&&this.projection.unmount(),(0,k.Pn)(this.notifyUpdate),(0,k.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=p.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&k.Wi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in nU){let e=nU[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):eJ()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<rm.length;e++){let i=rm[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if(ea(r))t.addValue(n,r);else if(ea(s))t.addValue(n,(0,ee.BX)(r,{owner:t}));else if(s!==r){if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,ee.BX)(void 0!==e?e:r,{owner:t}))}}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<rv;t++){let i=d[t],n=this.props[i];(o(n)||!1===n)&&(e[i]=n)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,ee.BX)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];
1return null!=n&&("string"==typeof n&&(D(n)||V(n))?n=parseFloat(n):!rf(n)&&Q.P.test(e)&&(n=th(t,e)),this.setBaseTarget(t,ea(n)?n.get():n)),ea(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=l(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(i=r[t])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||ea(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new iA.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class ry extends rg{constructor(){super(...arguments),this.KeyframeResolver=tc}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}}class rx extends ry{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=nK}readValueFromInstance(t,e){if(p.has(e)){let t=tu(e);return t&&t.default||0}{let i=window.getComputedStyle(t),n=((0,j.f)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return ie(t,e)}build(t,e,i){n8(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return nJ(t,e,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;ea(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class rw extends ry{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=eJ}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(p.has(e)){let t=tu(e);return t&&t.default||0}return e=nG.has(e)?e:ei(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return nQ(t,e,i)}build(t,e,i){ri(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){nZ(t,e,i,n)}mount(t){this.isSVGTag=rn(t.tagName),super.mount(t)}}let rb=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}((S={animation:{Feature:eg},exit:{Feature:ex},inView:{Feature:nD},tap:{Feature:nC},focus:{Feature:nS},hover:{Feature:nP},pan:{Feature:iu},drag:{Feature:ia,ProjectionNode:nw,MeasureLayout:iS},layout:{ProjectionNode:nw,MeasureLayout:iS}},T=(t,e)=>nY(t)?new rw(e):new rx(e,{allowProjection:t!==id.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){let{preloadedFeatures:e,createVisualElement:i,useRender:n,useVisualState:r,Component:s}=t;e&&function(t){for(let e in t)nU[e]={...nU[e],...t[e]}}(e);let a=(0,id.forwardRef)(function(t,e){var a;let l;let u={...(0,id.useContext)(nj._),...t,layoutId:function(t){let{layoutId:e}=t,i=(0,id.useContext)(ip).id;return i&&void 0!==e?i+"-"+e:e}(t)},{isStatic:h}=u,d=function(t){let{initial:e,animate:i}=function(t,e){if(nI(t)){let{initial:e,animate:i}=t;return{initial:!1===e||o(e)?e:void 0,animate:o(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,id.useContext)(nL));return(0,id.useMemo)(()=>({initial:e,animate:i}),[n$(e),n$(i)])}(t),c=r(t,h);if(!h&&nN.j){(0,id.useContext)(nO).strict;let t=function(t){let{drag:e,layout:i}=nU;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(u);l=t.MeasureLayout,d.visualElement=function(t,e,i,n,r){var s;let{visualElement:o}=(0,id.useContext)(nL),a=(0,id.useContext)(nO),l=(0,id.useContext)(ic),u=(0,id.useContext)(nj._).reducedMotion,h=(0,id.useRef)();n=n||a.renderer,!h.current&&n&&(h.current=n(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let d=h.current,c=(0,id.useContext)(im);d&&!d.projection&&r&&("html"===d.type||"svg"===d.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&eO(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(h.current,i,r,c),(0,id.useInsertionEffect)(()=>{d&&d.update(i,l)});let p=i[en],f=(0,id.useRef)(!!p&&!window.MotionHandoffIsComplete&&(null===(s=window.MotionHasOptimisedAnimation)||void 0===s?void 0:s.call(window,p)));return(0,nF.L)(()=>{d&&(d.updateFeatures(),iw.render(d.render),f.current&&d.animationState&&d.animationState.animateChanges())}),(0,id.useEffect)(()=>{d&&(!f.current&&d.animationState&&d.animationState.animateChanges(),f.current=!1,nB||(nB=!0,queueMicrotask(nW)))}),d}(s,c,u,i,t.ProjectionNode)}return(0,ih.jsxs)(nL.Provider,{value:d,children:[l&&d.visualElement?(0,ih.jsx)(l,{visualElement:d.visualElement,...u}):null,n(s,t,(a=d.visualElement,(0,id.useCallback)(t=>{t&&c.mount&&c.mount(t),a&&(t?a.mount(t):a.unmount()),e&&("function"==typeof e?e(t):eO(e)&&(e.current=t))},[a])),c,h,d.visualElement)]})});return a[nH]=s,a}({...nY(t)?rr:rs,preloadedFeatures:S,useRender:function(t=!1){return(e,i,n,{latestValues:r},s)=>
1{let o=(nY(e)?function(t,e,i,n){let r=(0,id.useMemo)(()=>{let i=n3();return ri(i,e,rn(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ro(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return ro(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,id.useMemo)(()=>{let i=n5();return n8(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(i,r,s,e),a=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(ru(r)||!0===i&&rl(r)||!e&&!rl(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(i,"string"==typeof e,t),l=e!==id.Fragment?{...a,...o,ref:n}:{},{children:u}=i,h=(0,id.useMemo)(()=>ea(u)?u.get():u,[u]);return(0,id.createElement)(e,{...l,children:h})}}(e),createVisualElement:T,Component:t})}))},1534:function(t,e,i){i.d(e,{f:function(){return r},t:function(){return o}});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},565:function(t,e,i){i.d(e,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},8746:function(t,e,i){function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{cl:function(){return r},y4:function(){return n}})},1506:function(t,e,i){i.d(e,{u:function(){return n}});let n=(t,e,i)=>i>e?e:i<t?t:i},9047:function(t,e,i){i.d(e,{K:function(){return r},k:function(){return s}});var n=i(9276);let r=n.Z,s=n.Z},2548:function(t,e,i){i.d(e,{s:function(){return u}});var n=i(9047),r=i(1506),s=i(9654),o=i(3217),a=i(9276),l=i(5389);function u(t,e,{clamp:i=!0,ease:u,mixer:h}={}){let d=t.length;if((0,n.k)(d===e.length,"Both input and output ranges must be the same length"),1===d)return()=>e[0];if(2===d&&t[0]===t[1])return()=>e[1];t[0]>t[d-1]&&(t=[...t].reverse(),e=[...e].reverse());let c=function(t,e,i){let n=[],r=i||l.C,o=t.length-1;for(let i=0;i<o;i++){let o=r(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||a.Z:e;o=(0,s.z)(t,o)}n.push(o)}return n}(e,u,h),p=c.length,f=e=>{let i=0;if(p>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let n=(0,o.Y)(t[i],t[i+1],e);return c[i](n)};return i?e=>f((0,r.u)(t[0],t[d-1],e)):f}},7282:function(t,e,i){i.d(e,{j:function(){return n}});let n="undefined"!=typeof window},5389:function(t,e,i){i.d(e,{C:function(){return A}});var n=i(5004),r=i(9047);function s(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var o=i(5778),a=i(1583),l=i(598);function u(t,e){return i=>i>0?e:t}let h=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},d=[o.$,a.m,l.J],c=t=>d.find(e=>e.test(t));function p(t){let e=c(t);if((0,r.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===l.J&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,o=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,l=2*i-n;r=s(l,n,t+1/3),o=s(l,n,t),a=s(l,n,t-1/3)}else r=o=a=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(i)),i}let f=(t,e)=>{let i=p(t),r=p(e);if(!i||!r)return u(t,e);let s={...i};return t=>(s.red=h(i.red,r.red,t),s.green=h(i.green,r.green,t),s.blue=h(i.blue,r.blue,t),s.alpha=(0,n.t)(i.alpha,r.alpha,t),a.m.transform(s))};var m=i(9654),v=i(146),g=i(3646),y=i(1534);let x=new Set(["none","hidden"]);function w(t,e){return i=>(0,n.t)(t,e,i)}function b(t){return"number"==typeof t?w:"string"==typeof t?(0,y.t)(t)?u:v.$.test(t)?f:T:Array.isArray(t)?P:"object"==typeof t?v.$.test(t)?f:S:u}function P(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>b(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function S(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=b(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let T=(t,e)=>{let i=g.P.createTransformer(e),n=(0,g.V)(t),s=(0,g.V)(e);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?x.has(t)&&!s.values.length||x.has(e)&&!n.values.length?x.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:(0,m.z)(P(function(t,e){var i;let n=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][r[o]],l=null!==(i=t.values[a])&&void 0!==i?i:0;n[s]=l,r[o]++}return n}(n,s),s.values),i):((0,r.K)(!0,`Complex values '${t}' and '${e}
1' 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.`),u(t,e))};function A(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,n.t)(t,e,i):b(t)(t,e)}},5004:function(t,e,i){i.d(e,{t:function(){return n}});let n=(t,e,i)=>t+(e-t)*i},9276:function(t,e,i){i.d(e,{Z:function(){return n}});let n=t=>t},839:function(t,e,i){i.d(e,{Y:function(){return s}});var n=i(5004),r=i(3217);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,r.Y)(0,e,s);t.push((0,n.t)(i,1,o))}}(e,t.length-1),e}},9654:function(t,e,i){i.d(e,{z:function(){return r}});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},3217:function(t,e,i){i.d(e,{Y:function(){return n}});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},2428:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(8746);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},458:function(t,e,i){i.d(e,{h:function(){return r}});var n=i(2265);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},9033:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(2265);let r=i(7282).j?n.useLayoutEffect:n.useEffect},3476:function(t,e,i){i.d(e,{R:function(){return n}});function n(t,e){return e?1e3/e*t:0}},804:function(t,e,i){i.d(e,{BX:function(){return h},Hg:function(){return u},S1:function(){return l}});var n=i(2428),r=i(3476),s=i(9993),o=i(6219);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="11.5.4",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=s.X.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new n.L);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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 h(t,e){return new u(t,e)}}
1,5778:function(t,e,i){i.d(e,{$:function(){return r}});var n=i(1583);let r={test:(0,i(3338).i)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.m.transform}},598:function(t,e,i){i.d(e,{J:function(){return a}});var n=i(783),r=i(5480),s=i(7292),o=i(3338);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,s.Nw)(e))+", "+r.aQ.transform((0,s.Nw)(i))+", "+(0,s.Nw)(n.Fq.transform(o))+")"}},146:function(t,e,i){i.d(e,{$:function(){return a}});var n=i(7292),r=i(5778),s=i(598),o=i(1583);let a={test:t=>o.m.test(t)||r.$.test(t)||s.J.test(t),parse:t=>o.m.test(t)?o.m.parse(t):s.J.test(t)?s.J.parse(t):r.$.parse(t),transform:t=>(0,n.HD)(t)?t:t.hasOwnProperty("red")?o.m.transform(t):s.J.transform(t)}},1583:function(t,e,i){i.d(e,{m:function(){return u}});var n=i(1506),r=i(783),s=i(7292),o=i(3338);let a=t=>(0,n.u)(0,255,t),l={...r.Rx,transform:t=>Math.round(a(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.Nw)(r.Fq.transform(n))+")"}},3338:function(t,e,i){i.d(e,{d:function(){return s},i:function(){return r}});var n=i(7292);let r=(t,e)=>i=>!!((0,n.HD)(i)&&n.mj.test(i)&&i.startsWith(t)||e&&!(0,n.Rw)(i)&&Object.prototype.hasOwnProperty.call(i,e)),s=(t,e,i)=>r=>{if(!(0,n.HD)(r))return r;let[s,o,a,l]=r.match(n.KP);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},3646:function(t,e,i){i.d(e,{P:function(){return c},V:function(){return l}});var n=i(146),r=i(7292);let s="number",o="color",a=/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 l(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},l=[],u=0,h=e.replace(a,t=>(n.$.test(t)?(r.color.push(u),l.push(o),i.push(n.$.parse(t))):t.startsWith("var(")?(r.var.push(u),l.push("var"),i.push(t)):(r.number.push(u),l.push(s),i.push(parseFloat(t))),++u,"${}")).split("${}");return{values:i,split:h,indexes:r,types:l}}function u(t){return l(t).values}function h(t){let{split:e,types:i}=l(t),a=e.length;return t=>{let l="";for(let u=0;u<a;u++)if(l+=e[u],void 0!==t[u]){let e=i[u];e===s?l+=(0,r.Nw)(t[u]):e===o?l+=n.$.transform(t[u]):l+=t[u]}return l}}let d=t=>"number"==typeof t?0:t,c={test:function(t){var e,i;return isNaN(t)&&(0,r.HD)(t)&&((null===(e=t.match(r.KP))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(r.dA))||void 0===i?void 0:i.length)||0)>0},parse:u,createTransformer:h,getAnimatableNone:function(t){let e=u(t);return h(t)(e.map(d))}}},783:function(t,e,i){i.d(e,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var n=i(1506);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.u)(0,1,t)},o={...r,default:1}},5480:function(t,e,i){i.d(e,{$C:function(){return h},RW:function(){return s},aQ:function(){return o},px:function(){return a},vh:function(){return l},vw:function(){return u}});var n=i(7292);let r=t=>({test:e=>(0,n.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=r("deg"),o=r("%"),a=r("px"),l=r("vh"),u=r("vw"),h={...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}},7292:function(t,e,i){i.d(e,{HD:function(){return a},KP:function(){return r},Nw:function(){return n},Rw:function(){return l},dA:function(){return s},mj:function(){return o}});let n=t=>Math.round(1e5*t)/1e5,r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,s=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,o=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function a(t){return"string"==typeof t}function l(t){return null==t}}
1,9754:function(t,e,i){let n,r;i.d(e,{v:function(){return L}});var s=i(804),o=i(458),a=i(2265),l=i(9047);let u=new WeakMap;function h({target:t,contentRect:e,borderBoxSize:i}){var n;null===(n=u.get(t))||void 0===n||n.forEach(n=>{n({target:t,contentSize:e,get size(){return function(t,e){if(e){let{inlineSize:t,blockSize:i}=e[0];return{width:t,height:i}}return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}(t,i)}})})}function d(t){t.forEach(h)}let c=new Set;var p=i(3217),f=i(3476);let m=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),v=()=>({time:0,x:m(),y:m()}),g={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function y(t,e,i,n){let r=i[e],{length:s,position:o}=g[e],a=r.current,l=i.time;r.current=t[`scroll${o}`],r.scrollLength=t[`scroll${s}`]-t[`client${s}`],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=(0,p.Y)(0,r.scrollLength,r.current);let u=n-l;r.velocity=u>50?0:(0,f.R)(r.current-a,u)}let x=[[0,0],[1,1]],w={start:0,center:.5,end:1};function b(t,e,i=0){let n=0;if(t in w&&(t=w[t]),"string"==typeof t){let e=parseFloat(t);t.endsWith("px")?n=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?n=e/100*document.documentElement.clientWidth:t.endsWith("vh")?n=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(n=e*t),i+n}let P=[0,0];var S=i(2548),T=i(839);let A={x:0,y:0};var C=i(6219);let M=new WeakMap,E=new WeakMap,k=new WeakMap,V=t=>t===document.documentElement?window:t;var R=i(9033);function D(t,e){(0,l.K)(!!(!e||e.current),`You have defined a ${t} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let j=()=>({scrollX:(0,s.BX)(0),scrollY:(0,s.BX)(0),scrollXProgress:(0,s.BX)(0),scrollYProgress:(0,s.BX)(0)});function L({container:t,target:e,layoutEffect:i=!0,...s}={}){let l=(0,o.h)(j);return(i?R.L:a.useEffect)(()=>(D("target",e),D("container",t),function(t,{container:e=document.documentElement,...i}={}){let s=k.get(e);s||(s=new Set,k.set(e,s));let o=function(t,e,i,n={}){return{measure:()=>(function(t,e=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,e!==t){let n=e;for(;n&&n!==t;)i.x.targetOffset+=n.offsetLeft,i.y.targetOffset+=n.offsetTop,n=n.offsetParent}i.x.targetLength=e===t?e.scrollWidth:e.clientWidth,i.y.targetLength=e===t?e.scrollHeight:e.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight})(t,n.target,i),update:e=>{y(t,"x",i,e),y(t,"y",i,e),i.time=e,(n.offset||n.target)&&function(t,e,i){let{offset:n=x}=i,{target:r=t,axis:s="y"}=i,o="y"===s?"height":"width",a=r!==t?function(t,e){let i={x:0,y:0},n=t;for(;n&&n!==e;)if(n instanceof HTMLElement)i.x+=n.offsetLeft,i.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let t=n.getBoundingClientRect(),e=(n=n.parentElement).getBoundingClientRect();i.x+=t.left-e.left,i.y+=t.top-e.top}else if(n instanceof SVGGraphicsElement){let{x:t,y:e}=n.getBBox();i.x+=t,i.y+=e;let r=null,s=n.parentNode;for(;!r;)"svg"===s.tagName&&(r=s),s=n.parentNode;n=r}else break;return i}(r,t):A,l=r===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in r&&"svg"!==r.tagName?r.getBBox():{width:r.clientWidth,height:r.clientHeight},u={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let h=!e[s].interpolate,d=n.length;for(let t=0;t<d;t++){let i=function(t,e,i,n){let r=Array.isArray(t)?t:P,s=0;return"number"==typeof t?r=[t,t]:"string"==typeof t&&(r=(t=t.trim()).includes(" ")?t.split(" "):[t,w[t]?t:"0"]),b(r[0],i,n)-b(r[1],e)}(n[t],u[o],l[o],a[s]);h||i===e[s].interpolatorOffsets[t]||(h=!0),e[s].offset[t]=i}h&&(e[s].interpolate=(0,S.s)(e[s].offset,(0,T.Y)(n)),e[s].interpolatorOffsets=[...e[s].offset]),e[s].progress=e[s].interpolate(e[s].current)}(t,i,n)},notify:()=>e(i)}}(e,t,v(),i);if(s.add(o),!M.has(e)){let t=()=>{for(let t of s)t.measure()},i=()=>{for(let t of s)t.update(C.frameData.timestamp)},o=()=>{for(let t of s)t.notify()},a=()=>
1{C.Wi.read(t,!1,!0),C.Wi.read(i,!1,!0),C.Wi.update(o,!1,!0)};M.set(e,a);let l=V(e);window.addEventListener("resize",a,{passive:!0}),e!==document.documentElement&&E.set(e,"function"==typeof e?(c.add(e),r||(r=()=>{let t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};c.forEach(t=>t(e))},window.addEventListener("resize",r)),()=>{c.delete(e),!c.size&&r&&(r=void 0)}):function(t,e){var i;n||"undefined"==typeof ResizeObserver||(n=new ResizeObserver(d));let r=("string"==typeof(i=t)?i=document.querySelectorAll(i):i instanceof Element&&(i=[i]),Array.from(i||[]));return r.forEach(t=>{let i=u.get(t);i||(i=new Set,u.set(t,i)),i.add(e),null==n||n.observe(t)}),()=>{r.forEach(t=>{let i=u.get(t);null==i||i.delete(e),(null==i?void 0:i.size)||null==n||n.unobserve(t)})}}(e,a)),l.addEventListener("scroll",a,{passive:!0})}let a=M.get(e);return C.Wi.read(a,!1,!0),()=>{var t;(0,C.Pn)(a);let i=k.get(e);if(!i||(i.delete(o),i.size))return;let n=M.get(e);M.delete(e),n&&(V(e).removeEventListener("scroll",n),null===(t=E.get(e))||void 0===t||t(),window.removeEventListener("resize",n))}}(({x:t,y:e})=>{l.scrollX.set(t.current),l.scrollXProgress.set(t.progress),l.scrollY.set(e.current),l.scrollYProgress.set(e.progress)},{...s,container:(null==t?void 0:t.current)||void 0,target:(null==e?void 0:e.current)||void 0})),[t,e,JSON.stringify(s.offset)]),l}},31:function(t,e,i){i.d(e,{H:function(){return p}});var n=i(2548);let r=t=>t&&"object"==typeof t&&t.mix,s=t=>r(t)?t.mix:void 0;var o=i(2265),a=i(804),l=i(9791),u=i(458),h=i(9033),d=i(6219);function c(t,e){let i=function(t){let e=(0,u.h)(()=>(0,a.BX)(t)),{isStatic:i}=(0,o.useContext)(l._);if(i){let[,i]=(0,o.useState)(t);(0,o.useEffect)(()=>e.on("change",i),[])}return e}(e()),n=()=>i.set(e());return n(),(0,h.L)(()=>{let e=()=>d.Wi.preRender(n,!1,!0),i=t.map(t=>t.on("change",e));return()=>{i.forEach(t=>t()),(0,d.Pn)(n)}}),i}function p(t,e,i,r){if("function"==typeof t)return function(t){a.S1.current=[],t();let e=c(a.S1.current,t);return a.S1.current=void 0,e}(t);let o="function"==typeof e?e:function(...t){let e=!Array.isArray(t[0]),i=e?0:-1,r=t[0+i],o=t[1+i],a=t[2+i],l=t[3+i],u=(0,n.s)(o,a,{mixer:s(a[0]),...l});return e?u(r):u}(e,i,r);return Array.isArray(t)?f(t,o):f([t],([t])=>o(t))}function f(t,e){let i=(0,u.h)(()=>[]);return c(t,()=>{i.length=0;let n=t.length;for(let e=0;e<n;e++)i[e]=t[e].get();return e(i)})}}}]);

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.