PageSourceSearch

https://blue.kumparan.com/dist/0f01e4c026eae77ac8ae.chunk.99258dcf45ebcf8f61f6.mod.js

js kumparan.com collected 2026-10-01 10:25:02 UTC 164,895 bytes, 1 lines download raw bytes

1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["vendors-node_modules_pnpm_gurukumparan_uikit-v2_1_207_1__babel_core_7_26_0__types_react-dom_1-f22bf9"],{"0224545bd7c65825ded9":(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var i=n("e45c75664dfe55e64b4e");function s(t){return(0,i.x)(t)&&"svg"===t.tagName}},"050c39548fb76aed5cdf":(t,e,n)=>{"use strict";n.d(e,{k:()=>a});var i=n("8fd3c76801648ab879c0"),s=n("185f5199eef85c7b1e23");let o;function r(){o=void 0}const a={now:()=>(void 0===o&&a.set(s.uv.isProcessing||i.W.useManualTiming?s.uv.timestamp:performance.now()),o),set:t=>{o=t,queueMicrotask(r)}}},"06c5b00c13932d682064":(t,e,n)=>{"use strict";n.d(e,{z:()=>r});var i=n("3f02ac1be39ae96343fe"),s=n("f4aaf7c16b03d6a705a2"),o=n("8527b49396e61ba23567");function r(t,e,n){const r=(0,o.S)(t)?t:(0,s.OQ)(t);return r.start((0,i.f)("",r,e,n)),r.animation}},"079e7f32e33626d1321d":(t,e,n)=>{"use strict";n.d(e,{n:()=>i});const i=t=>"string"==typeof t&&"svg"===t.toLowerCase()},"09f719b750e2e135c7a9":(t,e,n)=>{"use strict";n.d(e,{e:()=>s});const i=t=>t.startsWith("--");function s(t,e,n){i(e)?t.style.setProperty(e,n):t.style[e]=n}},"0b3ad2bd93df2b0c0b5f":(t,e,n)=>{"use strict";n.d(e,{E4:()=>a,Hr:()=>d,W9:()=>u});var i=n("28255d694abec6bc146f"),s=n("d1a4221f0a9206bd8085"),o=n("ecdcb34710afbf921a7c"),r=n("bdc265dd096d93354a26");const a=t=>t===o.ai||t===r.px,c=new Set(["x","y","z"]),l=s.U.filter((t=>!c.has(t)));function u(t){const e=[];return l.forEach((n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))})),e}const d={width:({x:t},{paddingLeft:e="0",paddingRight:n="0",boxSizing:i})=>{const s=t.max-t.min;return"border-box"===i?s:s-parseFloat(e)-parseFloat(n)},height:({y:t},{paddingTop:e="0",paddingBottom:n="0",boxSizing:i})=>{const s=t.max-t.min;return"border-box"===i?s:s-parseFloat(e)-parseFloat(n)},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:(t,{transform:e})=>(0,i.ry)(e,"x"),y:(t,{transform:e})=>(0,i.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},"0b844718dfbe7fe2a580":(t,e,n)=>{"use strict";n.d(e,{m:()=>v});var i=n("e29b16faf462221bcddf"),s=n("9cf417698b1bb4821d16"),o=n("78c1165125752a03a122"),r=n("09f719b750e2e135c7a9"),a=n("5aa3d66324bb55486aa5"),c=n("9967a2287148f269efe1"),l=n("a8350aca5707bf08e085"),u=n("72d72dd5f389bf5475a7");const d=(0,n("7eba627ec2e678ad0487").J)((()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),"linearEasing");var h=n("ae5067862a48dac1278b");const f=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,p={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:f([0,.65,.55,1]),circOut:f([.55,0,1,.45]),backIn:f([.31,.01,.66,-.59]),backOut:f([.33,1.53,.69,.99])};function m(t,e){return t?"function"==typeof t?d()?(0,h.K)(t,e):"ease-out":(0,u.D)(t)?f(t):Array.isArray(t)?t.map((t=>m(t,e)||p.easeOut)):p[t]:void 0}function g(t,e,n,{delay:i=0,duration:s=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:c}={},l=void 0){const u={[e]:n};c&&(u.offset=c);const d=m(a,s);Array.isArray(d)&&(u.easing=d);const h={delay:i,duration:s,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"};return l&&(h.pseudoElement=l),t.animate(u,h)}var y=n("70d34d4420363e28ae8f");class v extends l.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:n,keyframes:s,pseudoElement:o,allowFlatten:a=!1,finalKeyframe:l,onComplete:u}=t;this.isPseudoElement=Boolean(o),this.allowFlatten=a,this.options=t,(0,i.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const h=function({type:t,...e}){return(0,y.W)(t)&&d()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=g(e,n,s,h,o),!1===h.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const t=(0,c.X)(s,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,r.e)(e,n,t),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,s.X)(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+(0,s.X)(t)}get time(){return(0,s.X)(Number(this.animation.currentTime)||0)}set time(t){const e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,s.f)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,a.J)()?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),n&&(this.animation.rangeEnd=n),o.l):i(this)}}},"0f0302d7d520fdefbca8":(t,e,n)=>{"use strict";n.d(e,{G:()=>u});var i=n("8fd3c76801648ab879c0"),s=n("78c1165125752a03a122"),o=n("86f5433b225ee1a7d610"),r=n("e29b16faf462221bcddf"),a=n("afe28a98f9d68335aff6"),c=n("485f643c3397a5151148"),l=n("55452726263783730246");function u(t,e,{clamp:n=!0,ease:u,mixer:d}={}){const h=t.length;if((0,r.V)(h===e.length,"Both input and output ranges must be the same length","range-length"),1===h)return()=>e[0];if(2===h&&e[0]===e[1])return()=>e[1];const f=t[0]===t[1];t[0]>t[h-1]&&(t=[...t].reverse(),e=[...e].reverse());const p=function(t,e,n){const r=[],a=n||i.W.mix||l.j,c=t.length-1;for(let n=0;n<c;n++){let i=a(t[n],t[n+1]);if(e){const t=Array.isArray(e)?e[n]||s.l:e;i=(0,o.F)(t,i)}r.push(i)}return r}(e,u,d),m=p.length,g=n=>{if(f&&n<t[0])return e[0];let i=0;if(m>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const s=(0,a.q)(t[i],t[i+1],n);return p[i](s)};return n?e=>g((0,c.q)(t[0],t[h-1],e)):g}},"10424b555f90c6a6a8d8":(t,e,n)=>{"use strict";n.d(e,{M:()=>i});const i=new Set(["opacity","clipPath","filter","transform"])},"14fad8980f73b9d171b3":(t,e,n)=>{"use strict";n.d(e,{c:()=>o,k:()=>s});var i=n("19cb42b93edb33444137");
1const{schedule:s,cancel:o}=(0,i.I)(queueMicrotask,!1)},"16f7ee8b755662a25a89":(t,e,n)=>{"use strict";n.d(e,{f:()=>i});const i=(t,e)=>e?t*(1e3/e):0},"185f5199eef85c7b1e23":(t,e,n)=>{"use strict";n.d(e,{Gt:()=>o,PP:()=>c,WG:()=>r,uv:()=>a});var i=n("78c1165125752a03a122"),s=n("19cb42b93edb33444137");const{schedule:o,cancel:r,state:a,steps:c}=(0,s.I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.l,!0)},"18f2e16863510d43d7fc":(t,e,n)=>{"use strict";n.d(e,{x:()=>o});var i=n("8527b49396e61ba23567"),s=n("eb9fa21d440cf874ecb0");function o(t,e,n){const o=t.style,r=e?.style,a={};if(!o)return a;for(const e in o)((0,i.S)(o[e])||r&&(0,i.S)(r[e])||(0,s.zK)(e,t)||void 0!==n?.getValue(e)?.liveStyle)&&(a[e]=o[e]);return a}},"19cb42b93edb33444137":(t,e,n)=>{"use strict";n.d(e,{I:()=>r});var i=n("8fd3c76801648ab879c0");const s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],o=40;function r(t,e){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},c=()=>n=!0,l=s.reduce(((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,i=!1,s=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(c.schedule(e),t()),e(r)}const c={schedule:(t,s=!1,r=!1)=>{const a=r&&i?e:n;return s&&o.add(t),a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(r=t,i)return void(s=!0);i=!0;const o=e;e=n,n=o,e.forEach(a),e.clear(),i=!1,s&&(s=!1,c.process(t))}};return c}(c),t)),{}),{setup:u,read:d,resolveKeyframes:h,preUpdate:f,update:p,preRender:m,render:g,postRender:y}=l,v=()=>{const s=i.W.useManualTiming,c=s?a.timestamp:performance.now();n=!1,s||(a.delta=r?1e3/60:Math.max(Math.min(c-a.timestamp,o),1)),a.timestamp=c,a.isProcessing=!0,u.process(a),d.process(a),h.process(a),f.process(a),p.process(a),m.process(a),g.process(a),y.process(a),a.isProcessing=!1,n&&e&&(r=!1,t(v))};return{schedule:s.reduce(((e,i)=>{const s=l[i];return e[i]=(e,i=!1,o=!1)=>(n||(n=!0,r=!0,a.isProcessing||t(v)),s.schedule(e,i,o)),e}),{}),cancel:t=>{for(let e=0;e<s.length;e++)l[s[e]].cancel(t)},state:a,steps:l}}},"1b1584b2b957862a8cd3":(t,e,n)=>{"use strict";n.d(e,{b:()=>b});var i=n("8527b49396e61ba23567"),s=n("d7620de7d98c36281051"),o=n("9e9186eb2021718fe303"),r=n("e29b16faf462221bcddf"),a=n("96adfbd734bca1d94a3e"),c=n("cd3ac78375dca5ee55a2");const l=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function u(t,e,n=1){(0,r.V)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[i,s]=function(t){const e=l.exec(t);if(!e)return[,];const[,n,i,s]=e;return[`--${n??i}`,s]}(t);if(!i)return;const o=window.getComputedStyle(e).getPropertyValue(i);if(o){const t=o.trim();return(0,a.i)(t)?parseFloat(t):t}return(0,c.pG)(s)?u(s,e,n+1):s}var d=n("d78ff156a7cf7fcd0702"),h=n("bad77b5c8cd58201224a"),f=n("39415b48561c49295db9"),p=n("7e1ebbce07055c871b8b");const m=new Set(["auto","none","0"]);var g=n("0b3ad2bd93df2b0c0b5f");class y extends d.h{constructor(t,e,n,i,s){super(t,e,n,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n<t.length;n++){let i=t[n];if("string"==typeof i&&(i=i.trim(),(0,c.pG)(i))){const s=u(i,e.current);void 0!==s&&(t[n]=s),n===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!s.$.has(n)||2!==t.length)return;const[i,r]=t,a=(0,o.n)(i),l=(0,o.n)(r);if((0,c.rm)(i)!==(0,c.rm)(r)&&g.Hr[n])this.needsMeasurement=!0;else if(a!==l)if((0,g.E4)(a)&&(0,g.E4)(l))for(let e=0;e<t.length;e++){const n=t[e];"string"==typeof n&&(t[e]=parseFloat(n))}else g.Hr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let e=0;e<t.length;e++)(null===t[e]||("number"==typeof(i=t[e])?0===i:null===i||"none"===i||"0"===i||(0,h.$)(i)))&&n.push(e);var i;n.length&&function(t,e,n){let i,s=0;for(;s<t.length&&!i;){const e=t[s];"string"==typeof e&&!m.has(e)&&(0,f.V)(e).values.length&&(i=t[s]),s++}if(i&&n)for(const s of e)t[s]=(0,p.J)(n,i)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=g.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){const{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);const s=n.length-1,o=n[s];n[s]=g.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}var v=n("1d22dc446beb4055267e");class b extends v.BX{constructor(){super(...arguments),this.KeyframeResolver=y}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){const n=t.style;return n?n[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;(0,i.S)(t)&&(this.childSubscription=t.on("change",(t=>{this.current&&(this.current.textContent=`${t}`)})))}}},"1d22dc446beb4055267e":(t,e,n)=>{"use strict";n.d(e,{BX:()=>j,vK:()=>D,lr:()=>V});var i=n("9cf417698b1bb4821d16"),s=n("96adfbd734bca1d94a3e"),o=n("bad77b5c8cd58201224a"),r=n("629fb43ad0acc14b9289"),a=n("d78ff156a7cf7fcd0702"),c=n("0b844718dfbe7fe2a580"),l=n("10424b555f90c6a6a8d8"),u=n("14fad8980f73b9d171b3"),d=n("050c39548fb76aed5cdf"),h=n("fde45e0bc1f54c563615"),f=n("f4aaf7c16b03d6a705a2"),p=n("39415b48561c49295db9"),m=n("7e1ebbce07055c871b8b"),g=n("a53fe4761b2455a8fdfc"),y=n("9e9186eb2021718fe303"),v=n("87cb52b3334679b4c921");const b=[...y.T,g.y,p.f];var x=n("8527b49396e61ba23567"),w=n("e3cc136ac8ab1c7ea19b"),S=n("25c6bfa09f97d5f23dda"),P=n("d1a4221f0a9206bd8085"),T=n("6e3f059cdb25bb4a4c2b"),A=n("ef2ee71f68f3a0a474f9"),E=n("2ed3953ca87fb6ce7b80"),k=n("185f5199eef85c7b1e23");const C=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let M={};function V(t){M=t}function D(){return M}class j{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:r},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=a.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const t=d.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,k.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=r;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=c,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=(0,S.e)(e),this.isVariantNode=(0,S.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:h,...f}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in f){const e=f[t];void 0!==l[t]&&(0,x.S)(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(const t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,w.C.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.forEach(((t,e)=>this.bindToMotionValue(e,t))),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(E.r.current||(0,T.Uu)(),this.shouldReduceMotion=E.O.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),(0,k.WG)(this.notifyUpdate),(0,k.WG)(this.render),this.valueSubscriptions.forEach((t=>t())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&l.M.has(t)&&this.current instanceof HTMLElement){const{factory:n,keyframes:s,times:o,ease:r,duration:a}=e.accelerate,l=new c.m({element:this.current,name:t,keyframes:s,times:o,ease:r,duration:(0,i.f)(a)}),u=n(l);return void this.valueSubscriptions.set(t,(()=>{u(),l.cancel()}))}const n=P.f.has(t);n&&this.onBindTransform&&this.onBindTransform();const s=e.on("change",(e=>{this.latestValues[t]=e,this.props.onUpdate&&k.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}));let o;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,(()=>{s(),o&&o()}))}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 M){const e=M[t];if(!e)continue;const{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const e=this.features[t];
1e.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):(0,h.ge)()}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<C.length;e++){const n=C[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const s=e[i],o=n[i];if((0,x.S)(s))t.addValue(i,s);else if((0,x.S)(o))t.addValue(i,(0,f.OQ)(s,{owner:t}));else if(o!==s)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{const e=t.getStaticValue(i);t.addValue(i,(0,f.OQ)(void 0!==e?e:s,{owner:t}))}}for(const i in n)void 0===e[i]&&t.removeValue(i);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}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const 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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=(0,f.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var i;return null!=n&&("string"==typeof n&&((0,s.i)(n)||(0,o.$)(n))?n=parseFloat(n):(i=n,!b.find((0,v.w)(i))&&p.f.test(e)&&(n=(0,m.J)(t,e))),this.setBaseTarget(t,(0,x.S)(n)?n.get():n)),(0,x.S)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let n;if("string"==typeof e||"object"==typeof e){const i=(0,A.a)(this.props,e,this.presenceContext?.custom);i&&(n=i[t])}if(e&&void 0!==n)return n;const i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,x.S)(i)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new r.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){u.k.render(this.render)}}},"1d9c3a6a7181f454065a":(t,e,n)=>{"use strict";function i(t,e){-1===t.indexOf(e)&&t.push(e)}function s(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{Ai:()=>s,Kq:()=>i})},"1ea7e8d8ed2d6feed92d":(t,e,n)=>{"use strict";n.d(e,{X:()=>p});var i=n("e45c75664dfe55e64b4e"),s=n("efc5ed04be4e77f0f41d");const o=new WeakMap;let r;const a=(t,e,n)=>(s,o)=>o&&o[0]?o[0][t+"Size"]:(0,i.x)(s)&&"getBBox"in s?s.getBBox()[e]:s[n],c=a("inline","width","offsetWidth"),l=a("block","height","offsetHeight");function u({target:t,borderBoxSize:e}){o.get(t)?.forEach((n=>{n(t,{get width(){return c(t,e)},get height(){return l(t,e)}})}))}function d(t){t.forEach(u)}const h=new Set;let f;function p(t,e){return"function"==typeof t?(n=t,h.add(n),f||(f=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};h.forEach((e=>e(t)))},window.addEventListener("resize",f)),()=>{h.delete(n),h.size||"function"!=typeof f||(window.removeEventListener("resize",f),f=void 0)}):function(t,e){r||"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(d));const n=(0,s.K)(t);
1return n.forEach((t=>{let n=o.get(t);n||(n=new Set,o.set(t,n)),n.add(e),r?.observe(t)})),()=>{n.forEach((t=>{const n=o.get(t);n?.delete(e),n?.size||r?.unobserve(t)}))}}(t,e);var n}},"2221d792f09f0556d33c":(t,e,n)=>{"use strict";n.d(e,{t:()=>i});const i=(0,n("f29b77cd1c7382d8894a").createContext)(null)},"258612d085f9daa406fe":(t,e,n)=>{"use strict";function i(t){var e=t.match(/(?:https?:\/\/)?(?:(?:www|m|web)\.)?(facebook.com\/(\w.+\/(posts|videos|video.php|photo|photo.php|photos)\/\w.+|(watch\/\?v=\w+|watch\?v=\w+))|fb.watch\/\w.+)/i);return!!e&&e[1]}function s(t){var e=t.match(/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|shorts\/|live\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/i);return e?e[1]:null}function o(t){var e=/^(http(s)?|www):\/\/[^\s$.?#].[^\s]*([a-zA-Z0-9\s_\\.\-():])+(.m3u8|.mpd|.mp4|.ogv|.mp3|.webm)$/gim,n=t.match(e);return!!e&&n}n.d(e,{H6:()=>r,OU:()=>o,Xz:()=>a,b8:()=>i,mm:()=>c,yI:()=>s});var r=t=>{var e=(t=>!!t.match(/^https:\/\/(?:m.)?kumparan.com/))(t);return e},a=t=>/.m3u8$/i.test(t),c={file:o,facebook:i,youtube:s,kumparan:function(t){var e=t.match(/(?:https:\/\/.*\.kumparan\.com\/video\/prod\/.*)+(.m3u8|.mpd|.mp4|.ogv|.mp3|.webm)$/);return!!e&&e[0]},instagram:function(t){var e=t.match(/((http:\/\/(instagr\.am\/(tv|p|reel)\/.*|instagram\.com\/(tv|p|reel)\/.*|www\.instagram\.com\/(tv|p|reel)\/.*))|(https:\/\/(www\.instagram\.com\/(tv|p|reel)\/.*)))/i);return!!e&&e[0]},twitter:function(t){var e=t.match(/http(?:s)?:\/\/(?:www.)?twitter\.com\/([a-zA-Z0-9_]+)\/status\//);return!!e&&e[0]},coverInternalVideo:function(t){var e=t.match(/(?:https:\/\/.*\.kumparan\.com\/image\/poster\/.*)+(.*)$/);return Boolean(e)}}},"25c6bfa09f97d5f23dda":(t,e,n)=>{"use strict";n.d(e,{O:()=>a,e:()=>r});var i=n("40e14da05279b0cbbec2"),s=n("84f272fb47d2eead0dce"),o=n("770138d72b31a0d469ef");function r(t){return(0,i.N)(t.animate)||o._.some((e=>(0,s.w)(t[e])))}function a(t){return Boolean(r(t)||t.variants)}},"262c24799d66d36cd2de":(t,e,n)=>{"use strict";n.d(e,{P:()=>s});var i=n("56728ad840f4ec669141");function s(t){return t.props[i.n]}},"266684963da41835d078":(t,e,n)=>{"use strict";n.d(e,{L:()=>r,m:()=>o});var i=n("38481c9868315d7bc476"),s=n("d2b585a68c26fd353095");function o(t,e){return(0,i.FY)((0,i.bS)(t.getBoundingClientRect(),e))}function r(t,e,n){const i=o(t,n),{scroll:r}=e;return r&&((0,s.Ql)(i.x,r.offset.x),(0,s.Ql)(i.y,r.offset.y)),i}},"27dadfe4c280e3795140":(t,e,n)=>{"use strict";n.d(e,{d:()=>s});var i=n("39415b48561c49295db9");const s={...i.f,getAnimatableNone:t=>{const e=i.f.parse(t);return i.f.createTransformer(t)(e.map((t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t)))}}},"28255d694abec6bc146f":(t,e,n)=>{"use strict";n.d(e,{Ib:()=>h,ry:()=>d,zs:()=>u});const i=t=>180*t/Math.PI,s=t=>{const e=i(Math.atan2(t[1],t[0]));return r(e)},o={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:s,rotateZ:s,skewX:t=>i(Math.atan(t[1])),skewY:t=>i(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},r=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),c=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),l={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:c,scale:t=>(a(t)+c(t))/2,rotateX:t=>r(i(Math.atan2(t[6],t[5]))),rotateY:t=>r(i(Math.atan2(-t[2],t[0]))),rotateZ:s,rotate:s,skewX:t=>i(Math.atan(t[4])),skewY:t=>i(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function u(t){return t.includes("scale")?1:0}function d(t,e){if(!t||"none"===t)return u(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,s;if(n)i=l,s=n;else{const e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=o,s=e}if(!s)return u(e);const r=i[e],a=s[1].split(",").map(f);return"function"==typeof r?r(a):a[r]}const h=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return d(n,e)};function f(t){return parseFloat(t.trim())}},"28381df0e8d64b0c1b50":(t,e,n)=>{"use strict";function i(t){return void 0===t||1===t}function s({scale:t,scaleX:e,scaleY:n}){return!i(t)||!i(e)||!i(n)}function o(t){return s(t)||r(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function r(t){return a(t.x)||a(t.y)}function a(t){return t&&"0%"!==t}n.d(e,{HD:()=>o,vF:()=>r,vk:()=>s})},"291c1bad8620d9f655fb":(t,e,n)=>{"use strict";n.d(e,{Y:()=>i,t:()=>s});const i=2e4;function s(t){let e=0,n=t.next(e);for(;!n.done&&e<i;)e+=50,n=t.next(e);return e>=i?1/0:e}},"2ed3953ca87fb6ce7b80":(t,e,n)=>{"use strict";n.d(e,{O:()=>i,r:()=>s});const i={current:null},s={current:!1}},"34626d6fd669f4434e5d":(t,e,n)=>{"use strict";n.d(e,{p:()=>c});var i=n("39415b48561c49295db9"),s=n("b70a3a588375c8657698");const o=new Set(["brightness","contrast","saturate","opacity"]);function r(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(s.S)||[];if(!i)return t;const r=n.replace(i,"");let a=o.has(e)?1:0;return i!==n&&(a*=100),e+"("+a+r+")"}const a=/\b([a-z-]*)\(.*?\)/gu,c={...i.f,getAnimatableNone:t=>{const e=t.match(a);return e?e.map(r).join(" "):t}}},"373a57aad0619ef17bb6":(t,e,n)=>{"use strict";n.d(e,{s:()=>s});var i=n("5446b589d2db6c8ff7fe");function s(t){return(0,i.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},"38481c9868315d7bc476":(t,e,n)=>{"use strict";function i({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function s({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function o(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}n.d(e,{FY:()=>i,bS:()=>o,pA:()=>s})},"387d9e0b40cee8b51c28":(t,e,n)=>{"use strict";function i(t,e){if(t?.inherit&&e){const{inherit:n,...i}=t;return{...e,...i}}return t}n.d(e,{K:()=>i})},"39415b48561c49295db9":(t,e,n)=>{"use strict";n.d(e,{V:()=>f,f:()=>m});var i=n("a53fe4761b2455a8fdfc");const s=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=n("b70a3a588375c8657698"),r=n("5707df073ec2b2fa24ef");const a="number",c="color",l="var",u="var(",d="${}",h=/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 f(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},o=[];let r=0;const f=e.replace(h,(t=>(i.y.test(t)?(s.color.push(r),o.push(c),n.push(i.y.parse(t))):t.startsWith(u)?(s.var.push(r),o.push(l),n.push(t)):(s.number.push(r),o.push(a),n.push(parseFloat(t))),++r,d))).split(d);return{values:n,split:f,indexes:s,types:o}}function p({split:t,types:e}){const n=t.length;return s=>{let o="";for(let l=0;l<n;l++)if(o+=t[l],void 0!==s[l]){const t=e[l];o+=t===a?(0,r.a)(s[l]):t===c?i.y.transform(s[l]):s[l]}return o}}const m={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(o.S)?.length||0)+(t.match(s)?.length||0)>0},parse:function(t){return f(t).values},createTransformer:function(t){return p(f(t))},getAnimatableNone:function(t){const e=f(t);return p(e)(e.values.map(((t,n)=>((t,e)=>{return"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof(n=t)?0:i.y.test(n)?i.y.getAnimatableNone(n):n;var n})(t,e.split[n]))))}}},"3f02ac1be39ae96343fe":(t,e,n)=>{"use strict";n.d(e,{f:()=>ut});var i=n("9cf417698b1bb4821d16"),s=n("8fd3c76801648ab879c0"),o=n("78c1165125752a03a122"),r=n("050c39548fb76aed5cdf"),a=n("86f5433b225ee1a7d610"),c=n("485f643c3397a5151148"),l=n("55452726263783730246"),u=n("185f5199eef85c7b1e23");const d=t=>{const e=({timestamp:e})=>t(e);return{start:(t=!0)=>u.Gt.update(e,t),stop:()=>(0,u.WG)(e),now:()=>u.uv.isProcessing?u.uv.timestamp:r.k.now()}};var h=n("a9948f360810c39538ad"),f=n("16f7ee8b755662a25a89");function p(t,e,n){const i=Math.max(e-5,0);return(0,f.f)(n-t(i),e-i)}function m({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:c,restDelta:l=.5,restSpeed:u}){const d=t[0],f={done:!1,value:d},m=t=>void 0===a?c:void 0===c||Math.abs(a-t)<Math.abs(c-t)?a:c;let g=n*e;const y=d+g,v=void 0===r?y:r(y);v!==y&&(g=v-d);const b=t=>-g*Math.exp(-t/i),x=t=>v+b(t),w=t=>{const e=b(t),n=x(t);f.done=Math.abs(e)<=l,f.value=f.done?v:n};let S,P;const T=t=>{var e;e=f.value,(void 0!==a&&e<a||void 0!==c&&e>c)&&(S=t,P=(0,h.o)({keyframes:[f.value,m(f.value)],velocity:p(x,t,f.value),damping:s,stiffness:o,restDelta:l,restSpeed:u}))};return T(0),{calculatedDuration:null,next:t=>{let e=!1;return P||void 0!==S||(e=!0,w(t),T(t)),void 0!==S&&t>=S?P.next(t-S):(!e&&w(t),f)}}}const g=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function y(t,e,n,i){if(t===e&&n===i)return o.l;return s=>0===s||1===s?s:g(function(t,e,n,i,s){let o,r,a=0;do{r=e+(n-e)/2,o=g(r,i,s)-t,o>0?n=r:e=r}while(Math.abs(o)>1e-7&&++a<12);return r}(s,0,1,t,n),e,i)}const v=y(.42,0,1,1),b=y(0,0,.58,1),x=y(.42,0,.58,1);var w=n("d64d5320141324509633"),S=n("e29b16faf462221bcddf"),P=n("88761378354e3a40f882"),T=n("b524ec606fce7bf391c3");const A=y(.33,1.53,.69,.99),E=(0,T.G)(A),k=(0,P.V)(E),C=t=>t>=1?1:(t*=2)<1?.5*E(t):.5*(2-Math.pow(2,-10*(t-1)));var M=n("b22110cfa7729d97e7f9"),V=n("72d72dd5f389bf5475a7");const D={linear:o.l,easeIn:v,easeInOut:x,easeOut:b,circIn:M.po,circInOut:M.tn,circOut:M.yT,backIn:E,backInOut:k,backOut:A,anticipate:C},j=t=>{if((0,V.D)(t)){(0,S.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[e,n,i,s]=t;return y(e,n,i,s)}return"string"==typeof t?((0,S.V)(void 0!==D[t],`Invalid easing type '${t}
1'`,"invalid-easing-type"),D[t]):t};var R=n("0f0302d7d520fdefbca8"),L=n("830095e7c1b11da9e1b7");function B({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const s=(0,w.h)(i)?i.map(j):j(i),o={done:!1,value:e[0]},r=function(t,e){return t.map((t=>t*e))}(n&&n.length===e.length?n:(0,L.Z)(e),t),a=(0,R.G)(r,e,{ease:Array.isArray(s)?s:(c=e,l=s,c.map((()=>l||x)).splice(0,c.length-1))});var c,l;return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}var I=n("291c1bad8620d9f655fb"),O=n("9967a2287148f269efe1");const F={decay:m,inertia:m,tween:B,keyframes:B,spring:h.o};function $(t){"string"==typeof t.type&&(t.type=F[t.type])}var U=n("a8350aca5707bf08e085");const W=t=>t/100;class _ extends U.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:t}=this.options;t&&t.updatedAt!==r.k.now()&&this.tick(r.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){const{options:t}=this;$(t);const{type:e=B,repeat:n=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:r}=t;const c=e||B;c!==B&&"number"!=typeof r[0]&&(this.mixKeyframes=(0,a.F)(W,(0,l.j)(r[0],r[1])),r=[0,100]);const u=c({...t,keyframes:r});"mirror"===s&&(this.mirroredGenerator=c({...t,keyframes:[...r].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=(0,I.t)(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){const{generator:n,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:r,calculatedDuration:a}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:u,repeat:d,repeatType:h,repeatDelay:f,type:p,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);const v=this.currentTime-l*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let x,w=this.currentTime,S=n;if(d){const t=Math.min(this.currentTime,i)/r;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,d+1),Boolean(e%2)&&("reverse"===h?(n=1-n,f&&(n-=f/r)):"mirror"===h&&(S=o)),w=(0,c.q)(0,1,n)*r}b?(this.delayState.value=u[0],x=this.delayState):x=S.next(w),s&&!b&&(x.value=s(x.value));let{done:P}=x;b||null===a||(P=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return T&&p!==m&&(x.value=(0,O.X)(u,this.options,y,this.speed)),g&&g(x.value),T&&this.finish(),x}then(t,e){return this.finished.then(t,e)}get duration(){return(0,i.X)(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+(0,i.X)(t)}get time(){return(0,i.X)(this.currentTime)}set time(t){t=(0,i.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;return t<=0?this.options.velocity||0:this.generator.velocity?this.generator.velocity(t):p((t=>this.generator.next(t).value),t,this.generator.next(t).value)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(r.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,i.X)(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=d,startTime:e}=this.options;this.driver||(this.driver=t((t=>this.tick(t)))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(r.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var N=n("d78ff156a7cf7fcd0702"),X=n("09f719b750e2e135c7a9"),G=n("0b844718dfbe7fe2a580");const z={anticipate:C,backInOut:k,circInOut:M.tn};class K extends G.m{constructor(t){var e;"string"==typeof(e=t).ease&&e.ease in z&&(e.ease=z[e.ease]),$(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:e,onUpdate:n,onComplete:i,element:s,...o}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);const a=new _({...o,autoplay:!1}),l=Math.max(10,r.k.now()-this.startTime),u=(0,c.q)(0,10,l-10),d=a.sample(l).value,{name:h}=this.options;s&&h&&(0,X.e)(s,h,d),e.setWithVelocity(a.sample(Math.max(0,l-u)).value,d,u),a.stop()}}var H=n("70d34d4420363e28ae8f"),q=n("39415b48561c49295db9");const Y=(t,e)=>!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!q.f.test(t)&&"0"!==t||t.startsWith("url(")));function Q(t){t.duration=0,t.type="keyframes"}var Z=n("7bbd74cc1afc167f99aa"),J=n("10424b555f90c6a6a8d8");const tt=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,et=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nt=(0,Z.p)((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));class it extends U.q{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:
1o="loop",keyframes:a,name:c,motionValue:l,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=r.k.now();const h={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:s,repeatType:o,name:c,motionValue:l,element:u,...d},f=u?.KeyframeResolver||N.h;this.keyframeResolver=new f(a,((t,e,n)=>this.onKeyframesResolved(t,e,h,!n)),c,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;const{name:a,type:c,velocity:l,delay:u,isHandoff:d,onUpdate:h}=n;this.resolvedAt=r.k.now();let f=!0;(function(t,e,n,i){const s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;const o=t[t.length-1],r=Y(s,e),a=Y(o,e);return(0,S.$)(r===a,`You are trying to animate ${e} from "${s}" to "${o}". "${r?o:s}" is not an animatable value.`,"value-not-animatable"),!(!r||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||(0,H.W)(n))&&i)})(t,a,c,l)||(f=!1,!s.W.instantAnimations&&u||h?.((0,O.X)(t,n,e)),t[0]=t[t.length-1],Q(n),n.repeat=0);const p={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},m=f&&!d&&function(t){const{motionValue:e,name:n,repeatDelay:i,repeatType:s,damping:o,type:r,keyframes:a}=t,c=e?.owner?.current;if(!(c instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=e.owner.getProps();return nt()&&n&&(J.M.has(n)||et.has(n)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&tt.test(t[e]))return!0;return!1}(a))&&("transform"!==n||!u)&&!l&&!i&&"mirror"!==s&&0!==o&&"inertia"!==r}(p),g=p.motionValue?.owner?.current;let y;if(m)try{y=new K({...p,element:g})}catch{y=new _(p)}else y=new _(p);y.finished.then((()=>{this.notifyFinished()})).catch(o.l),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then((()=>{}))}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,N.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var st=n("95c470c079dc4bae5d1d"),ot=n("d1a4221f0a9206bd8085");const rt={type:"spring",stiffness:500,damping:25,restSpeed:10},at={type:"keyframes",duration:.8},ct={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},lt=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),ut=(t,e,n,o={},r,a)=>c=>{const l=(0,st.r)(o,t)||{},d=l.delay||o.delay||0;let{elapsed:h=0}=o;h-=(0,i.f)(d);const f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{c(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:a?void 0:r};(function(t){for(const e in t)if(!lt.has(e))return!0;return!1})(l)||Object.assign(f,((t,{keyframes:e})=>e.length>2?at:ot.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:rt:ct)(t,f)),f.duration&&(f.duration=(0,i.f)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,i.f)(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let p=!1;if((!1===f.type||0===f.duration&&!f.repeatDelay)&&(Q(f),0===f.delay&&(p=!0)),(s.W.instantAnimations||s.W.skipAnimations||r?.shouldSkipAnimations||l.skipAnimations)&&(p=!0,Q(f),f.delay=0),f.allowFlatten=!l.type&&!l.ease,p&&!a&&void 0!==e.get()){const t=(0,O.X)(f.keyframes,l);if(void 0!==t)return void u.Gt.update((()=>{f.onUpdate(t),f.onComplete()}
1))}return l.isSync?new _(f):new it(f)}},"40e14da05279b0cbbec2":(t,e,n)=>{"use strict";function i(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}n.d(e,{N:()=>i})},"479917a2bbea539826f7":(t,e,n)=>{"use strict";n.d(e,{$:()=>o,q:()=>r});var i=n("b70a3a588375c8657698");const s=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(t,e)=>n=>Boolean("string"==typeof n&&s.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),r=(t,e,n)=>s=>{if("string"!=typeof s)return s;const[o,r,a,c]=s.match(i.S);return{[t]:parseFloat(o),[e]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==c?parseFloat(c):1}}},"485f643c3397a5151148":(t,e,n)=>{"use strict";n.d(e,{q:()=>i});const i=(t,e,n)=>n>e?e:n<t?t:n},"4b7d667e10d0d7788ed5":(t,e,n)=>{"use strict";n.d(e,{O:()=>l});const i=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var s=n("6e7547d2a67763b26a15"),o=n("d1a4221f0a9206bd8085"),r=n("cd3ac78375dca5ee55a2");const a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},c=o.U.length;function l(t,e,n){const{style:l,vars:u,transformOrigin:d}=t;let h=!1,f=!1;for(const t in e){const n=e[t];if(o.f.has(t))h=!0;else if((0,r.j4)(t))u[t]=n;else{const e=i(n,s.W[t]);t.startsWith("origin")?(f=!0,d[t]=e):l[t]=e}}if(e.transform||(h||n?l.transform=function(t,e,n){let r="",l=!0;for(let u=0;u<c;u++){const c=o.U[u],d=t[c];if(void 0===d)continue;let h=!0;if("number"==typeof d)h=d===(c.startsWith("scale")?1:0);else{const t=parseFloat(d);h=c.startsWith("scale")?1===t:0===t}if(!h||n){const t=i(d,s.W[c]);h||(l=!1,r+=`${a[c]||c}(${t}) `),n&&(e[c]=t)}}const u=t.pathRotation;return u&&(l=!1,r+=`rotate(${i(u,s.W.pathRotation)}) `),r=r.trim(),n?r=n(e,l?"":r):l&&(r="none"),r}(e,t.transform,n):l.transform&&(l.transform="none")),f){const{originX:t="50%",originY:e="50%",originZ:n=0}=d;l.transformOrigin=`${t} ${e} ${n}`}}},"5405a2f9ebfcb81cc8bd":(t,e,n)=>{"use strict";n.d(e,{xQ:()=>o});var i=n("f29b77cd1c7382d8894a"),s=n("2221d792f09f0556d33c");function o(t=!0){const e=(0,i.useContext)(s.t);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:o,register:r}=e,a=(0,i.useId)();(0,i.useEffect)((()=>{if(t)return r(a)}),[t]);const c=(0,i.useCallback)((()=>t&&o&&o(a)),[a,o,t]);return!n&&o?[!1,c]:[!0]}},"5446b589d2db6c8ff7fe":(t,e,n)=>{"use strict";n.d(e,{G:()=>i});const i=t=>"object"==typeof t&&null!==t},"55452726263783730246":(t,e,n)=>{"use strict";n.d(e,{j:()=>T});var i=n("86f5433b225ee1a7d610"),s=n("e29b16faf462221bcddf"),o=n("cd3ac78375dca5ee55a2"),r=n("a53fe4761b2455a8fdfc"),a=n("39415b48561c49295db9"),c=n("7b062d5c208d78ee9800"),l=n("8165d2dbfe79af84db46");function u(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var d=n("cea19b3d4106d6e806f9");function h(t,e){return n=>n>0?e:t}var f=n("da6bc0e3b470cdc0e9ee");const p=(t,e,n)=>{const i=t*t,s=n*(e*e-i)+i;return s<0?0:Math.sqrt(s)},m=[c.u,d.B,l.V];function g(t){const e=(n=t,m.find((t=>t.test(n))));var n;if((0,s.$)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!Boolean(e))return!1;let i=e.parse(t);return e===l.V&&(i=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let s=0,o=0,r=0;if(e/=100){const i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;s=u(a,i,t+1/3),o=u(a,i,t),r=u(a,i,t-1/3)}else s=o=r=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*r),alpha:i}}(i)),i}const y=(t,e)=>{const n=g(t),i=g(e);if(!n||!i)return h(t,e);const s={...n};return t=>(s.red=p(n.red,i.red,t),s.green=p(n.green,i.green,t),s.blue=p(n.blue,i.blue,t),s.alpha=(0,f.k)(n.alpha,i.alpha,t),d.B.transform(s))},v=new Set(["none","hidden"]);function b(t,e){return n=>(0,f.k)(t,e,n)}function x(t){return"number"==typeof t?b:"string"==typeof t?(0,o.pG)(t)?h:r.y.test(t)?y:P:Array.isArray(t)?w:"object"==typeof t?r.y.test(t)?y:S:h}function w(t,e){const n=[...t],i=n.length,s=t.map(((t,n)=>x(t)(t,e[n])));return t=>{for(let e=0;e<i;e++)n[e]=s[e](t);return n}}function S(t,e){const n={...t,...e},i={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(i[s]=x(t[s])(t[s],e[s]));return t=>{for(const e in i)n[e]=i[e](t);return n}}const P=(t,e)=>{const n=a.f.createTransformer(e),o=(0,a.V)(t),r=(0,a.V)(e);return o.indexes.var.length===r.indexes.var.length&&o.indexes.color.length===r.indexes.color.length&&o.indexes.number.length>=r.indexes.number.length?v.has(t)&&!r.values.length||v.has(e)&&!o.values.length?function(t,e){return v.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):(0,i.F)(w(function(t,e){const n=[],i={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){const o=e.types[s],r=t.indexes[o][i[o]],a=t.values[r]??0;n[s]=a,i[o]++}return n}(o,r),r.values),n):((0,s.$)(!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.`,"complex-values-different"),h(t,e))};function T(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?(0,f.k)(t,e,n):x(t)(t,e)}},"56728ad840f4ec669141":(t,e,n)=>{"use strict";n.d(e,{n:()=>i});const i="data-"+(0,n("6e5f5d0541db8345f080").I)("framerAppearId")},"5707df073ec2b2fa24ef":(t,e,n)=>{"use strict";n.d(e,{a:()=>i});const i=t=>Math.round(1e5*t)/1e5},"5aa3d66324bb55486aa5":(t,e,n)=>{"use strict";n.d(e,{J:()=>s,d:()=>o});var i=n("7eba627ec2e678ad0487");const s=(0,i.J)((()=>void 0!==window.ScrollTimeline),"scrollTimeline"),o=(0,i.J)((()=>void 0!==window.ViewTimeline),"viewTimeline")},"5d5b66fa5eab0279b752":(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function r(t,e){return r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.A=void 0;var l=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=function(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?a(t):e}(this,o(e).call(this,t)),c(a(a(n)),"image",void 0),c(a(a(n)),"loadImage",(function(t,e){n.image&&(n.image.onload=null,n.image.onerror=null);var i=new Image;n.image=i,i.onload=n.onLoad,i.onerror=n.onError,i.src=t,e&&(i.srcset=e.srcSet,i.sizes=e.sizes)})),c(a(a(n)),"onLoad",(function(){n.props.delay?n.setImageWithDelay():n.setImage()})),c(a(a(n)),"setImageWithDelay",(function(){setTimeout((function(){n.setImage()}),n.props.delay)})),c(a(a(n)),"setImage",(function(){n.setState({image:n.image.src,loading:!1,srcSetData:{srcSet:n.image.srcset||"",sizes:n.image.sizes||""}})})),c(a(a(n)),"onError",(function(t){var e=n.props.onError;e&&e(t)})),n.state={image:t.placeholder,loading:!0,srcSetData:{srcSet:"",sizes:""}},n}var n,l;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}(e,t),n=e,(l=[{key:"componentDidMount",value:function(){var t=this.props,e=t.src,n=t.srcSetData;this.loadImage(e,n)}},{key:"componentDidUpdate",value:function(t){var e=this,n=this.props,i=n.src,s=n.placeholder,o=n.srcSetData;i!==t.src&&this.setState({image:s,loading:!0},(function(){e.loadImage(i,o)}))}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=null,this.image.onerror=null)}},{key:"render",value:function(){var t=this.state,e=t.image,n=t.loading,i=t.srcSetData,s=this.props.children;if(!s||"function"!=typeof s)throw new Error("ProgressiveImage requires a function as its only child");return s(e,n,i)}}])&&s(n.prototype,l),e}(function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};i.get||i.set?Object.defineProperty(e,n,i):e[n]=t[n]}return e.default=t,e}(n("f29b77cd1c7382d8894a")).Component);e.A=l},"6057456f11017474e538":(t,e,n)=>{"use strict";n.d(e,{p:()=>i});const i=t=>Array.isArray(t)},"61dba872c099b007e273":(t,e,n)=>{"use strict";n.d(e,{D:()=>a});var i=n("a53fe4761b2455a8fdfc"),s=n("34626d6fd669f4434e5d"),o=n("27dadfe4c280e3795140");const r={...n("6e7547d2a67763b26a15").W,color:i.y,backgroundColor:i.y,outlineColor:i.y,fill:i.y,stroke:i.y,borderColor:i.y,borderTopColor:i.y,borderRightColor:i.y,borderBottomColor:i.y,borderLeftColor:i.y,filter:s.p,WebkitFilter:s.p,mask:o.d,WebkitMask:o.d},a=t=>r[t]},"629fb43ad0acc14b9289":(t,e,n)=>{"use strict";n.d(e,{v:()=>s});var i=n("1d9c3a6a7181f454065a");class s{constructor(){this.subscriptions=[]}add(t){return(0,i.Kq)(this.subscriptions,t),()=>(0,i.Ai)(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let s=0;s<i;s++){const i=this.subscriptions[s];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},"6367a7ffaf10965918ba":(t,e,n)=>{"use strict";n.d(e,{l:()=>f});var i=n("d1a4221f0a9206bd8085"),s=n("61dba872c099b007e273"),o=n("fde45e0bc1f54c563615"),r=n("1b1584b2b957862a8cd3"),a=n("6e5f5d0541db8345f080"),c=n("c6444f27300d6e536eae");const l=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"]);var u=n("079e7f32e33626d1321d"),d=n("cffbca1290003dce7e40"),h=n("9d398d3105eb25f07fa9");class f extends r.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=o.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(i.f.has(e)){const t=(0,s.D)(e);return t&&t.default||0}return e=l.has(e)?e:(0,a.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return(0,h.x)(t,e,n)}
1build(t,e,n){(0,c.B)(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){!function(t,e,n,i){(0,d.e)(t,e,void 0,i);for(const n in e.attrs)t.setAttribute(l.has(n)?n:(0,a.I)(n),e.attrs[n])}(t,e,0,i)}mount(t){this.isSVGTag=(0,u.n)(t.tagName),super.mount(t)}}},"686c5f7640621399f74e":t=>{function e(t,e,n,i,s,o,r){try{var a=t[o](r),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(i,s)}t.exports=function(t){return function(){var n=this,i=arguments;return new Promise((function(s,o){var r=t.apply(n,i);function a(t){e(r,s,o,a,c,"next",t)}function c(t){e(r,s,o,a,c,"throw",t)}a(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},"6e3f059cdb25bb4a4c2b":(t,e,n)=>{"use strict";n.d(e,{Uu:()=>o});var i=n("2ed3953ca87fb6ce7b80");const s="undefined"!=typeof window;function o(){if(i.r.current=!0,s)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>i.O.current=t.matches;t.addEventListener("change",e),e()}else i.O.current=!1}},"6e5f5d0541db8345f080":(t,e,n)=>{"use strict";function i(t){return t.replace(/([A-Z])/g,(t=>`-${t.toLowerCase()}`))}n.d(e,{I:()=>i})},"6e7547d2a67763b26a15":(t,e,n)=>{"use strict";n.d(e,{W:()=>a});var i=n("ecdcb34710afbf921a7c");const s={...i.ai,transform:Math.round};var o=n("bdc265dd096d93354a26");const r={rotate:o.uj,pathRotation:o.uj,rotateX:o.uj,rotateY:o.uj,rotateZ:o.uj,scale:i.hs,scaleX:i.hs,scaleY:i.hs,scaleZ:i.hs,skew:o.uj,skewX:o.uj,skewY:o.uj,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:i.X4,originX:o.gQ,originY:o.gQ,originZ:o.px},a={borderWidth:o.px,borderTopWidth:o.px,borderRightWidth:o.px,borderBottomWidth:o.px,borderLeftWidth:o.px,borderRadius: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,top:o.px,right:o.px,bottom:o.px,left:o.px,inset:o.px,insetBlock:o.px,insetBlockStart:o.px,insetBlockEnd:o.px,insetInline:o.px,insetInlineStart:o.px,insetInlineEnd:o.px,padding:o.px,paddingTop:o.px,paddingRight:o.px,paddingBottom:o.px,paddingLeft:o.px,paddingBlock:o.px,paddingBlockStart:o.px,paddingBlockEnd:o.px,paddingInline:o.px,paddingInlineStart:o.px,paddingInlineEnd:o.px,margin:o.px,marginTop:o.px,marginRight:o.px,marginBottom:o.px,marginLeft:o.px,marginBlock:o.px,marginBlockStart:o.px,marginBlockEnd:o.px,marginInline:o.px,marginInlineStart:o.px,marginInlineEnd:o.px,fontSize:o.px,backgroundPositionX:o.px,backgroundPositionY:o.px,...r,zIndex:s,fillOpacity:i.X4,strokeOpacity:i.X4,numOctaves:s}},"70d34d4420363e28ae8f":(t,e,n)=>{"use strict";function i(t){return"function"==typeof t&&"applyToOptions"in t}n.d(e,{W:()=>i})},"72d72dd5f389bf5475a7":(t,e,n)=>{"use strict";n.d(e,{D:()=>i});const i=t=>Array.isArray(t)&&"number"==typeof t[0]},"770138d72b31a0d469ef":(t,e,n)=>{"use strict";n.d(e,{U:()=>i,_:()=>s});const i=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s=["initial",...i]},"78035ddc74914d0cbaf3":(t,e,n)=>{"use strict";n.d(e,{i:()=>Z,W:()=>Q});class i{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map((t=>t.finished)))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){const e=this.animations.map((e=>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 state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return s(this.animations,"duration")}get iterationDuration(){return s(this.animations,"iterationDuration")}runAll(t){this.animations.forEach((e=>e[t]()))}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function s(t,e){let n=0;for(let i=0;i<t.length;i++){const s=t[i][e];null!==s&&s>n&&(n=s)}return n}class o extends i{then(t,e){return this.finished.finally(t).then((()=>{}))}}
1var r=n("1d9c3a6a7181f454065a"),a=n("f4aaf7c16b03d6a705a2"),c=n("a9948f360810c39538ad"),l=n("830095e7c1b11da9e1b7"),u=n("70d34d4420363e28ae8f"),d=n("9b7388596d5ed5907efc"),h=n("8a91e7ca89ade0f763e7"),f=n("8527b49396e61ba23567"),p=n("9cf417698b1bb4821d16"),m=n("e29b16faf462221bcddf"),g=n("b524ec606fce7bf391c3");const y=(t,e,n)=>{const i=e-t;return((n-t)%i+i)%i+t};var v=n("d64d5320141324509633");function b(t,e){return(0,v.h)(t)?t[y(0,t.length,e)]:t}var x=n("afe28a98f9d68335aff6"),w=n("efc5ed04be4e77f0f41d");function S(t){return"object"==typeof t&&!Array.isArray(t)}function P(t,e,n,i){return null==t?[]:"string"==typeof t&&S(e)?(0,w.K)(t,n,i):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter((t=>null!=t)):[t]}function T(t,e,n){return t*(e+1)+n*e}function A(t,e,n,i){return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?n:e.startsWith("<")?Math.max(0,n+parseFloat(e.slice(1))):i.get(e)??t}var E=n("da6bc0e3b470cdc0e9ee");function k(t,e,n,i,s,o){!function(t,e,n){for(let i=0;i<t.length;i++){const s=t[i];s.at>e&&s.at<n&&((0,r.Ai)(t,s),i--)}}(t,s,o);for(let r=0;r<e.length;r++)t.push({value:e[r],at:(0,E.k)(s,o,i[r]),easing:b(n,r)})}function C(t,e,n=0){const i=e+1+e*n;for(let e=0;e<t.length;e++)t[e]=t[e]/i}function M(t,e){return t.at===e.at?null===t.value?1:null===e.value?-1:0:t.at-e.at}const V="easeInOut",D=20;function j(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function R(t,e){return e[t]||(e[t]=[]),e[t]}function L(t){return Array.isArray(t)?t:[t]}function B(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}const I=t=>"number"==typeof t,O=t=>t.every(I);var F=n("06c5b00c13932d682064"),$=n("e3cc136ac8ab1c7ea19b"),U=n("a79e5c88c1e0e43a149a"),W=n("e45c75664dfe55e64b4e"),_=n("0224545bd7c65825ded9"),N=n("6367a7ffaf10965918ba"),X=n("cbbcf2d00d6b3b8d7bcd"),G=n("fde45e0bc1f54c563615"),z=n("1d22dc446beb4055267e");class K extends z.BX{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(function(t,e){return t in e}(e,t)){const n=t[e];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return(0,G.ge)()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}function H(t){const e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,W.x)(t)&&!(0,_.h)(t)?new N.l(e):new X.M(e);n.mount(t),$.C.set(t,n)}function q(t){const e=new K({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),$.C.set(t,e)}function Y(t,e,n,i){const s=[];if(function(t,e){return(0,f.S)(t)||"number"==typeof t||"string"==typeof t&&!S(e)}(t,e))s.push((0,F.z)(t,S(e)&&e.default||e,n&&n.default||n));else{if(null==t)return s;const o=P(t,e,i),r=o.length;(0,m.V)(Boolean(r),"No valid elements provided.","no-valid-elements");for(let t=0;t<r;t++){const i=o[t],a=i instanceof Element?H:q;$.C.has(i)||a(i);const c=$.C.get(i),l={...n};"delay"in l&&"function"==typeof l.delay&&(l.delay=l.delay(t,r)),s.push(...(0,U.$)(c,{...e,transition:l},{}))}}return s}function Q(t={}){const{scope:e,reduceMotion:n,skipAnimations:i}=t;return function(t,s,y){let v,w=[];const S={};if(void 0!==n&&(S.reduceMotion=n),void 0!==i&&(S.skipAnimations=i),function(t){return Array.isArray(t)&&t.some(Array.isArray)}(t)){const{onComplete:n,...i}=s||{};"function"==typeof n&&(v=n),w=function(t,e,n){const i=[],s=function(t,{defaultTransition:e={},...n}={},i,s){const o=e.duration||.3,r=new Map,a=new Map,c={},y=new Map;let v=0,w=0,S=0;for(let n=0;n<t.length;n++){const r=t[n];if("string"==typeof r){y.set(r,w);continue}if(!Array.isArray(r)){y.set(r.name,A(w,r.at,v,y));continue}let[x,E,M={}]=r;void 0!==M.at&&(w=A(w,M.at,v,y));let V=0;const I=(t,n,i,r=0,a=0)=>{const c=L(t),{delay:f=0,times:y=(0,l.Z)(c),type:v=e.type||"keyframes",repeat:x,repeatType:P,repeatDelay:A=0,...E}=n;let{ease:M=e.ease||"easeOut",duration:j}=n;const R="function"==typeof f?f(r,a):f,B=c.length,I=(0,u.W)(v)?v:s?.[v||"keyframes"];if(B<=2&&I){let t=100;if(2===B&&O(c)){const e=c[1]-c[0];t=Math.abs(e)}const n={...e,...E};void 0!==j&&(n.duration=(0,p.f)(j));const i=(0,d.X)(n,t,I);M=i.ease,j=i.duration}j??(j=o);const F=w+R;1===y.length&&0===y[0]&&(y[1]=1);const $=y.length-c.length;if($>0&&(0,h.f)(y,$),1===c.length&&c.unshift(null),x&&(0,m.$)(x<D,`Sequence segments can't repeat ${x} times — ignoring repeat option. Use a value below ${D} or apply repeat at the sequence level instead.`),x&&x<D){const t=j>0?A/j:0;j=T(j,x,A);const e=[...c],n=[...y];M=Array.isArray(M)?[...M]:[M];const i=[...M],s="reverse"===P||"mirror"===P;let o=e,r=i;s&&(o=[...e].reverse(),"reverse"===P&&(r=[...i].reverse().map((t=>"function"==typeof t?(0,g.G)(t):t))));for(let a=0;a<x;a++){const l=s&&a%2==0,u=l?o:e,d=l?r:i,h=(a+1)*(1+t);t>0&&(c.push(c[c.length-1]),y.push(h),M.push("linear")),c.push(...u);for(let t=0;t<u.length;t++)y.push(n[t]+h),M.push(0===t?"linear":b(d,t-1))}C(y,x,t)}const U=F+j;k(i,c,M,y,F,U),V=Math.max(R+j,V),S=Math.max(U,S)};if((0,f.S)(x))I(E,M,R("default",j(x,a)));else{const t=P(x,E,i,c),e=t.length;for(let n=0;n<e;n++){const i=j(t[n],a);for(const t in E)I(E[t],B(M,t),R(t,i),n,e)}}v=w,w+=V}return a.forEach(((t,i)=>{for(const s in t){const o=t[s];o.sort(M);const a=[],c=[],l=[];for(let t=0;t<o.length;t++){const{at:e,value:n,easing:i}=o[t];a.push(n),c.push((0,x.q)(0,S,e)),l.push(i||"easeOut")}0!==c[0]&&(c.unshift(0),a.unshift(a[0]),l.unshift(V)),1!==c[c.length-1]&&(c.push(1),a.push(null)),r.has(i)||r.set(i,{keyframes:{},transition:{}});const u=r.get(i);u.keyframes[s]=a;const{type:d,...h}=e;u.transition[s]={...h,duration:S,ease:l,times:c,...n}}})),r}(t.map((t=>{if(Array.isArray(t)&&"function"==typeof t[0]){const e=t[0],n=(0,a.OQ)(0);return n.on("change",e),1===t.length?[n,[0,1]]:2===t.length?[n,[0,1],t[1]]:[n,t[1],t[2]]}return t})),e,n,{spring:c.o});
1return s.forEach((({keyframes:t,transition:e},n)=>{i.push(...Y(n,t,e))})),i}(t,{...S,...i},e)}else{const{onComplete:n,...i}=y||{};"function"==typeof n&&(v=n),w=Y(t,s,{...S,...i},e)}const E=new o(w);return v&&E.finished.then(v),e&&(e.animations.push(E),E.finished.then((()=>{(0,r.Ai)(e.animations,E)}))),E}}const Z=Q()},"78c1165125752a03a122":(t,e,n)=>{"use strict";n.d(e,{l:()=>i});const i=t=>t},"7b062d5c208d78ee9800":(t,e,n)=>{"use strict";n.d(e,{u:()=>s});var i=n("cea19b3d4106d6e806f9");const s={test:(0,n("479917a2bbea539826f7").$)("#"),parse:function(t){let e="",n="",i="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}},transform:i.B.transform}},"7bbd74cc1afc167f99aa":(t,e,n)=>{"use strict";function i(t){let e;return()=>(void 0===e&&(e=t()),e)}n.d(e,{p:()=>i})},"7e1ebbce07055c871b8b":(t,e,n)=>{"use strict";n.d(e,{J:()=>c});var i=n("39415b48561c49295db9"),s=n("34626d6fd669f4434e5d"),o=n("27dadfe4c280e3795140"),r=n("61dba872c099b007e273");const a=new Set([s.p,o.d]);function c(t,e){let n=(0,r.D)(t);return a.has(n)||(n=i.f),n.getAnimatableNone?n.getAnimatableNone(e):void 0}},"7eba627ec2e678ad0487":(t,e,n)=>{"use strict";n.d(e,{J:()=>o});var i=n("7bbd74cc1afc167f99aa");const s={};function o(t,e){const n=(0,i.p)(t);return()=>s[e]??n()}},"8165d2dbfe79af84db46":(t,e,n)=>{"use strict";n.d(e,{V:()=>a});var i=n("ecdcb34710afbf921a7c"),s=n("bdc265dd096d93354a26"),o=n("5707df073ec2b2fa24ef"),r=n("479917a2bbea539826f7");const a={test:(0,r.$)("hsl","hue"),parse:(0,r.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+s.KN.transform((0,o.a)(e))+", "+s.KN.transform((0,o.a)(n))+", "+(0,o.a)(i.X4.transform(r))+")"}},"830095e7c1b11da9e1b7":(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n("8a91e7ca89ade0f763e7");function s(t){const e=[0];return(0,i.f)(e,t.length-1),e}},"84f272fb47d2eead0dce":(t,e,n)=>{"use strict";function i(t){return"string"==typeof t||Array.isArray(t)}n.d(e,{w:()=>i})},"8527b49396e61ba23567":(t,e,n)=>{"use strict";n.d(e,{S:()=>i});const i=t=>Boolean(t&&t.getVelocity)},"86f5433b225ee1a7d610":(t,e,n)=>{"use strict";n.d(e,{F:()=>i});const i=(...t)=>t.reduce(((t,e)=>n=>e(t(n))))},"87cb52b3334679b4c921":(t,e,n)=>{"use strict";n.d(e,{w:()=>i});const i=t=>e=>e.test(t)},"88761378354e3a40f882":(t,e,n)=>{"use strict";n.d(e,{V:()=>i});const i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},"8a87f457aa522dd430b8":(t,e,n)=>{"use strict";n.d(e,{S:()=>i});const i=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]},"8a91e7ca89ade0f763e7":(t,e,n)=>{"use strict";n.d(e,{f:()=>o});var i=n("afe28a98f9d68335aff6"),s=n("da6bc0e3b470cdc0e9ee");function o(t,e){const n=t[t.length-1];for(let o=1;o<=e;o++){const r=(0,i.q)(0,e,o);t.push((0,s.k)(n,1,r))}}},"8fd3c76801648ab879c0":(t,e,n)=>{"use strict";n.d(e,{W:()=>i});const i={}},"95c470c079dc4bae5d1d":(t,e,n)=>{"use strict";n.d(e,{r:()=>s});var i=n("387d9e0b40cee8b51c28");function s(t,e){const n=t?.[e]??t?.default??t;return n!==t?(0,i.K)(n,t):n}},"96adfbd734bca1d94a3e":(t,e,n)=>{"use strict";n.d(e,{i:()=>i});const i=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},"9967a2287148f269efe1":(t,e,n)=>{"use strict";n.d(e,{X:()=>s});const i=t=>null!==t;function s(t,{repeat:e,repeatType:n="loop"},s,o=1){const r=t.filter(i),a=o<0||e&&"loop"!==n&&e%2==1?0:r.length-1;return a&&void 0!==s?s:r[a]}},"9b7388596d5ed5907efc":(t,e,n)=>{"use strict";n.d(e,{X:()=>o});var i=n("9cf417698b1bb4821d16"),s=n("291c1bad8620d9f655fb");function o(t,e=100,n){const o=n({...t,keyframes:[0,e]}),r=Math.min((0,s.t)(o),s.Y);return{type:"keyframes",ease:t=>o.next(r*t).value/e,duration:(0,i.X)(r)}}},"9cf417698b1bb4821d16":(t,e,n)=>{"use strict";n.d(e,{X:()=>s,f:()=>i});const i=t=>1e3*t,s=t=>t/1e3},"9d398d3105eb25f07fa9":(t,e,n)=>{"use strict";n.d(e,{x:()=>r});var i=n("8527b49396e61ba23567"),s=n("d1a4221f0a9206bd8085"),o=n("18f2e16863510d43d7fc");function r(t,e,n){const r=(0,o.x)(t,e,n);for(const n in t)((0,i.S)(t[n])||(0,i.S)(e[n]))&&(r[-1!==s.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return r}},"9d952ac34b86ddd4ebb5":(t,e,n)=>{"use strict";n.d(e,{E:()=>s});var i=n("f29b77cd1c7382d8894a");const s="undefined"!=typeof window?i.useLayoutEffect:i.useEffect},"9e9186eb2021718fe303":(t,e,n)=>{"use strict";n.d(e,{T:()=>r,n:()=>a});var i=n("ecdcb34710afbf921a7c"),s=n("bdc265dd096d93354a26"),o=n("87cb52b3334679b4c921");const r=[i.ai,s.px,s.KN,s.uj,s.vw,s.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>r.find((0,o.w)(t))},a53fe4761b2455a8fdfc:(t,e,n)=>{"use strict";n.d(e,{y:()=>r});var i=n("7b062d5c208d78ee9800"),s=n("8165d2dbfe79af84db46"),o=n("cea19b3d4106d6e806f9");const r={test:t=>o.B.test(t)||i.u.test(t)||s.V.test(t),parse:t=>o.B.test(t)?o.B.parse(t):s.V.test(t)?s.V.parse(t):i.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?o.B.transform(t):s.V.transform(t),getAnimatableNone:t=>{const e=r.parse(t);return e.alpha=0,r.transform(e)}}},a789314dcea1ee06fdaf:(t,e,n)=>{"use strict";n.d(e,{A:()=>V,H:()=>C});var i=n("3a9b9ab81188b68b9473"),s=n.n(i),o=n("686c5f7640621399f74e"),r=n.n(o),a=n("56a231a69ee6036c531c"),c=n.n(a),l=n("f29b77cd1c7382d8894a"),u=n("b5040a162a4a4dde67e6"),d=n("b55bd036dc6d82dcee86"),h=n("258612d085f9daa406fe"),f={square:"100%",landscape:"75%",wide:"56.25%",wider:"50%","ultra-wide":"40%","super-ultra-wide":"25%",portrait:"140%"},p={middle:{alignItems:"center",justifyContent:"center"},"top-left":{alignItems:"flex-start",justifyContent:"flex-start"},"top-right":{alignItems:"flex-start",justifyContent:"flex-end"},"bottom-left":{alignItems:"flex-end",justifyContent:"flex-start"},"bottom-right":{alignItems:"flex-end",justifyContent:"flex-end"}}
1,m=n("5b7075090da2a1cfb431"),g=n("aab7660251ee0163f01e"),y=n("fce7d0517717ad19466d"),v=n("d0ed015358e51d95ca9c"),b=n("a1ca5acfbf0478960314"),x=["enablePlayVideo"],w="https://blue.kumparan.com/image/upload/placeholder.jpg",S=u.Ay.div.withConfig({displayName:"Thumbnailweb__ClickPreventionWrapper",componentId:"sc-thlfvh-0"})(["position:relative;"]),P=u.Ay.div.withConfig({displayName:"Thumbnailweb__ClickPrevention",componentId:"sc-thlfvh-1"})(["z-index:10;position:absolute;top:0px;left:0px;height:100%;width:100%;display:flex;"]),T=u.Ay.div.withConfig({displayName:"Thumbnailweb__ThumbnailContainer",componentId:"sc-thlfvh-2"})(["background-color:",";",";",";",";"],(t=>t.$backgroundColor),(t=>t.$isDefaultSize?"":(0,u.AH)(["float:left;"])),(t=>t.$rounded?(0,u.AH)(["border-radius:6px;"]):""),(t=>{return t.$iconPosition?(0,u.AH)(["position:relative;display:flex;align-items:",";justify-content:",";"],(e=p[t.$iconPosition].alignItems)&&e.__wyw_meta?"."+e.__wyw_meta.className:e,(t=>t&&t.__wyw_meta?"."+t.__wyw_meta.className:t)(p[t.$iconPosition].justifyContent)):"";var e})),A=u.Ay.img.withConfig({displayName:"Thumbnailweb__ThumbnailImage",componentId:"sc-thlfvh-3"})(["display:block;width:100%;",";"],(t=>{return t.$blur?(0,u.AH)(["filter:blur(","px);"],(e=t.$blur)&&e.__wyw_meta?"."+e.__wyw_meta.className:e):"";var e})),E=(0,u.Ay)(A).withConfig({displayName:"Thumbnailweb__ThumbnailPlaceholder",componentId:"sc-thlfvh-4"})(["height:500px;"]),k=(t,e,n,i,s)=>e?t?(0,b.jsx)(A,{src:t,$blur:n,onClick:i,alt:s}):(0,b.jsx)(E,{as:"div"}):null,C=t=>{var e=(0,h.yI)(t);return e?{placeholder:`https://img.youtube.com/vi/${e}/default.jpg`,src:`https://img.youtube.com/vi/${e}/mqdefault.jpg`}:(0,h.b8)(t)||(0,h.Xz)(t)?{placeholder:w,src:w}:(0,h.OU)(t)?{placeholder:w,src:t}:null},M=t=>{var{enablePlayVideo:e}=t,i=c()(t,x),[o,a]=l.useState(null),u=e?l.Fragment:S,d=l.useCallback(r()((function*(){var{default:t}=yield n.e("node_modules_pnpm_gurukumparan_uikit-v2_1_207_1__babel_core_7_26_0__types_react-dom_19_2_3__t-5ef584").then(n.bind(n,"6d0f68914e8a0b30cc74"));a(t)})),[]);return l.useEffect((()=>{d()}),[d]),o?(0,b.jsxs)(u,{children:[(0,b.jsx)(o,s()({},i)),!e&&(0,b.jsx)(P,{})]}):null};const V=t=>{var{addPreloadImage:e}=(0,v.Ee)(),n=(0,u.DP)(),i=!t.size||"default"===t.size||"cover"===t.size,o=l.useMemo((()=>(0,h.b8)(t.src||"")),[t.src]),r=t.backgroundColor?t.backgroundColor:m.T[n.common.component.placeholder],{rounded:a}=t,{src:c}=t,{placeholder:p}=t,x=C(t.src||"");x&&(c=x.src,p=x.placeholder);var w=(t=>{var{size:e,isDefaultSize:n}=t;return{height:f[t.variant],width:n?"100%":e&&"cover"!==e?`${e}${isNaN(Number(e))?"":"px"}`:"100%"}})(s()({isDefaultSize:i},t)),{width:S}=w,P=t.height||w.height,A=l.useMemo((()=>{var e=new Set;return!a&&e.add("STRAIGHT CORNER"),!t.enablePlayVideo&&e.add("DISABLE PLAY VIDEO"),e}),[a,t.enablePlayVideo]);return t.preloadImage&&c&&e(c),(0,b.jsxs)(T,{$iconPosition:t.icon?t.iconPosition||"middle":void 0,$isDefaultSize:i,"data-qa-id":t.qaTag||"image",$backgroundColor:r,$rounded:a,children:[(x&&t.allowIframe||o)&&t.src?(0,b.jsx)(M,{variant:t.variant,url:t.src,height:P,width:S,configs:A,enablePlayVideo:t.enablePlayVideo}):(0,b.jsx)(y.A,{src:c,placeholder:p,children:(e,s)=>(0,b.jsx)(d.A,{blur:t.blur,height:P,width:S,background:i?null:e?`url(${e})`:m.T[n.common.component.placeholder],preload:t.preloadImage,alt:t.alt,rounded:a,noPadding:t.noPadding,children:k(e,i,s?10:t.blur,t.onClick,t.alt)})}),t.icon&&(0,b.jsx)(g.A,{position:"absolute",children:t.icon})]})}},a79e5c88c1e0e43a149a:(t,e,n)=>{"use strict";n.d(e,{$:()=>m});var i=n("95c470c079dc4bae5d1d"),s=n("387d9e0b40cee8b51c28"),o=n("d7620de7d98c36281051"),r=n("f4aaf7c16b03d6a705a2"),a=n("b8dde691b32db57a85d4"),c=n("6057456f11017474e538");function l(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,(0,r.OQ)(n))}var u=n("b87262a61b4f8ae4dd63"),d=n("262c24799d66d36cd2de"),h=n("3f02ac1be39ae96343fe"),f=n("185f5199eef85c7b1e23");function p({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}function m(t,e,{delay:n=0,transitionOverride:r,type:m}={}){let{transition:g,transitionEnd:y,...v}=e;const b=t.getDefaultTransition();g=g?(0,s.K)(g,b):b;const x=g?.reduceMotion,w=g?.skipAnimations;r&&(g=r);const S=[],P=m&&t.animationState&&t.animationState.getState()[m],T=g?.path;T&&T.animateVisualElement(t,v,g,n,S);for(const e in v){const s=t.getValue(e,t.latestValues[e]??null),r=v[e];if(void 0===r||P&&p(P,e))continue;const a={delay:n,...(0,i.r)(g||{},e)};w&&(a.skipAnimations=!0);const c=s.get();if(void 0!==c&&!s.isAnimating()&&!Array.isArray(r)&&r===c&&!a.velocity){f.Gt.update((()=>s.set(r)));continue}let l=!1;if(window.MotionHandoffAnimation){const n=(0,d.P)(t);if(n){const t=window.MotionHandoffAnimation(n,e,f.Gt);null!==t&&(a.startTime=t,l=!0)}}(0,u.g)(t,e);const m=x??t.shouldReduceMotion;s.start((0,h.f)(e,s,r,m&&o.$.has(e)?{type:!1}:a,t,l));const y=s.animation;y&&S.push(y)}if(y){const e=()=>f.Gt.update((()=>{y&&function(t,e){const n=(0,a.K)(t,e);let{transitionEnd:i={},transition:s={},...o}=n||{};o={...o,...i};for(const e in o)l(t,e,(r=o[e],(0,c.p)(r)?r[r.length-1]||0:r));var r}(t,y)}));S.length?Promise.all(S).then(e):e()}return S}},a8350aca5707bf08e085:(t,e,n)=>{"use strict";n.d(e,{q:()=>i});class i{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise((t=>{this.resolve=t}))}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},a9948f360810c39538ad:(t,e,n)=>{"use strict";n.d(e,{o:()=>g});var i=n("e29b16faf462221bcddf"),s=n("9cf417698b1bb4821d16"),o=n("485f643c3397a5151148"),r=n("ae5067862a48dac1278b"),a=n("291c1bad8620d9f655fb"),c=n("9b7388596d5ed5907efc");const l={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function u(t,e){return t*Math.sqrt(1-e*e)}const d=12,h=.001;const f=["duration","bounce"],p=["stiffness","damping","mass"];function m(t,e){return e.some((e=>void 0!==t[e]))}function g(t=l.visualDuration,e=l.bounce){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:c,restDelta:g}=n;const y=n.keyframes[0],v=n.keyframes[n.keyframes.length-1],b={done:!1,value:y},{stiffness:x,damping:w,mass:S,duration:P,velocity:T,isResolvedFromDuration:A}=function(t){let e={velocity:l.velocity,stiffness:l.stiffness,damping:l.damping,mass:l.mass,isResolvedFromDuration:!1,...t};if(!m(t,p)&&m(t,f))if(e.velocity=0,t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(1.2*n),s=i*i,r=2*(0,o.q)(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:l.mass,stiffness:s,damping:r}}else{const n=function({duration:t=l.duration,bounce:e=l.bounce,velocity:n=l.velocity,mass:r=l.mass}){let a,c;(0,i.$)(t<=(0,s.f)(l.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let f=1-e;f=(0,o.q)(l.minDamping,l.maxDamping,f),t=(0,o.q)(l.minDuration,l.maxDuration,(0,s.X)(t)),f<1?(a=e=>{const i=e*f,s=i*t,o=i-n,r=u(e,f),a=Math.exp(-s);return h-o/r*a},c=e=>{const i=e*f*t,s=i*n+n,o=Math.pow(f,2)*Math.pow(e,2)*t,r=Math.exp(-i),c=u(Math.pow(e,2),f);return(-a(e)+h>0?-1:1)*((s-o)*r)/c}
1):(a=e=>Math.exp(-e*t)*((e-n)*t+1)-h,c=e=>Math.exp(-e*t)*(t*t*(n-e)));const p=function(t,e,n){let i=n;for(let n=1;n<d;n++)i-=t(i)/e(i);return i}(a,c,5/t);if(t=(0,s.f)(t),isNaN(p))return{stiffness:l.stiffness,damping:l.damping,duration:t};{const e=Math.pow(p,2)*r;return{stiffness:e,damping:2*f*Math.sqrt(r*e),duration:t}}}({...t,velocity:0});e={...e,...n,mass:l.mass},e.isResolvedFromDuration=!0}return e}({...n,velocity:-(0,s.X)(n.velocity||0)}),E=T||0,k=w/(2*Math.sqrt(x*S)),C=v-y,M=(0,s.X)(Math.sqrt(x/S)),V=Math.abs(C)<5;let D,j,R,L,B,I;if(c||(c=V?l.restSpeed.granular:l.restSpeed.default),g||(g=V?l.restDelta.granular:l.restDelta.default),k<1)R=u(M,k),L=(E+k*M*C)/R,D=t=>{const e=Math.exp(-k*M*t);return v-e*(L*Math.sin(R*t)+C*Math.cos(R*t))},B=k*M*L+C*R,I=k*M*C-L*R,j=t=>Math.exp(-k*M*t)*(B*Math.sin(R*t)+I*Math.cos(R*t));else if(1===k){D=t=>v-Math.exp(-M*t)*(C+(E+M*C)*t);const t=E+M*C;j=e=>Math.exp(-M*e)*(M*t*e-E)}else{const t=M*Math.sqrt(k*k-1);D=e=>{const n=Math.exp(-k*M*e),i=Math.min(t*e,300);return v-n*((E+k*M*C)*Math.sinh(i)+t*C*Math.cosh(i))/t};const e=(E+k*M*C)/t,n=k*M*e-C*t,i=k*M*C-e*t;j=e=>{const s=Math.exp(-k*M*e),o=Math.min(t*e,300);return s*(n*Math.sinh(o)+i*Math.cosh(o))}}const O={calculatedDuration:A&&P||null,velocity:t=>(0,s.f)(j(t)),next:t=>{if(!A&&k<1){const e=Math.exp(-k*M*t),n=Math.sin(R*t),i=Math.cos(R*t),o=v-e*(L*n+C*i),r=(0,s.f)(e*(B*n+I*i));return b.done=Math.abs(r)<=c&&Math.abs(v-o)<=g,b.value=b.done?v:o,b}const e=D(t);if(A)b.done=t>=P;else{const n=(0,s.f)(j(t));b.done=Math.abs(n)<=c&&Math.abs(v-e)<=g}return b.value=b.done?v:e,b},toString:()=>{const t=Math.min((0,a.t)(O),a.Y),e=(0,r.K)((e=>O.next(t*e).value),t,30);return t+"ms "+e},toTransition:()=>{}};return O}g.applyToOptions=t=>{const e=(0,c.X)(t,100,g);return t.ease=e.ease,t.duration=(0,s.f)(e.duration),t.type="keyframes",t}},ae5067862a48dac1278b:(t,e,n)=>{"use strict";n.d(e,{K:()=>i});const i=(t,e,n=10)=>{let i="";const s=Math.max(Math.round(e/n),2);for(let e=0;e<s;e++)i+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`}},afe28a98f9d68335aff6:(t,e,n)=>{"use strict";n.d(e,{q:()=>i});const i=(t,e,n)=>{const i=e-t;return i?(n-t)/i:1}},aff9e1a8d0ca9151f203:(t,e,n)=>{"use strict";n.d(e,{Q:()=>i});const i=(0,n("f29b77cd1c7382d8894a").createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},b22110cfa7729d97e7f9:(t,e,n)=>{"use strict";n.d(e,{po:()=>o,tn:()=>a,yT:()=>r});var i=n("88761378354e3a40f882"),s=n("b524ec606fce7bf391c3");const o=t=>1-Math.sin(Math.acos(t)),r=(0,s.G)(o),a=(0,i.V)(o)},b2237641b404a2635984:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=n("a789314dcea1ee06fdaf").A},b524ec606fce7bf391c3:(t,e,n)=>{"use strict";n.d(e,{G:()=>i});const i=t=>e=>1-t(1-e)},b5e0fe69fb1d97961ba6:(t,e,n)=>{"use strict";n.d(e,{L:()=>i});const i=(0,n("f29b77cd1c7382d8894a").createContext)({})},b70a3a588375c8657698:(t,e,n)=>{"use strict";n.d(e,{S:()=>i});const i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},b87262a61b4f8ae4dd63:(t,e,n)=>{"use strict";n.d(e,{g:()=>o});var i=n("8fd3c76801648ab879c0"),s=n("8527b49396e61ba23567");function o(t,e){const n=t.getValue("willChange");if(o=n,Boolean((0,s.S)(o)&&o.add))return n.add(e);if(!n&&i.W.WillChange){const n=new i.W.WillChange("auto");t.addValue("willChange",n),n.add(e)}var o}},b8dde691b32db57a85d4:(t,e,n)=>{"use strict";n.d(e,{K:()=>s});var i=n("ef2ee71f68f3a0a474f9");function s(t,e,n){const s=t.getProps();return(0,i.a)(s,e,void 0!==n?n:s.custom,t)}},bad77b5c8cd58201224a:(t,e,n)=>{"use strict";n.d(e,{$:()=>i});const i=t=>/^0[^.\s]+$/u.test(t)},bdc265dd096d93354a26:(t,e,n)=>{"use strict";n.d(e,{KN:()=>o,gQ:()=>l,px:()=>r,uj:()=>s,vh:()=>a,vw:()=>c});const i=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),s=i("deg"),o=i("%"),r=i("px"),a=i("vh"),c=i("vw"),l=(()=>({...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}))()},c6444f27300d6e536eae:(t,e,n)=>{"use strict";n.d(e,{B:()=>a});var i=n("4b7d667e10d0d7788ed5");const s={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"},r=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function a(t,{attrX:e,attrY:n,attrScale:a,pathLength:c,pathSpacing:l=1,pathOffset:u=0,...d},h,f,p){if((0,i.O)(t,d,f),h)return void(t.style.viewBox&&(t.attrs.viewB
1ox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:m,style:g}=t;m.transform&&(g.transform=m.transform,delete m.transform),(g.transform||m.transformOrigin)&&(g.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),g.transform&&(g.transformBox=p?.transformBox??"fill-box",delete m.transformBox);for(const t of r)void 0!==m[t]&&(g[t]=m[t],delete m[t]);void 0!==e&&(m.x=e),void 0!==n&&(m.y=n),void 0!==a&&(m.scale=a),void 0!==c&&function(t,e,n=1,i=0,r=!0){t.pathLength=1;const a=r?s:o;t[a.offset]=""+-i,t[a.array]=`${e} ${n}`}(m,c,l,u,!1)}},cbbcf2d00d6b3b8d7bcd:(t,e,n)=>{"use strict";n.d(e,{M:()=>d});var i=n("cd3ac78375dca5ee55a2"),s=n("d1a4221f0a9206bd8085"),o=n("28255d694abec6bc146f"),r=n("266684963da41835d078"),a=n("1b1584b2b957862a8cd3"),c=n("4b7d667e10d0d7788ed5"),l=n("cffbca1290003dce7e40"),u=n("18f2e16863510d43d7fc");class d extends a.b{constructor(){super(...arguments),this.type="html",this.renderInstance=l.e}readValueFromInstance(t,e){if(s.f.has(e))return this.projection?.isProjecting?(0,o.zs)(e):(0,o.Ib)(t,e);{const s=(n=t,window.getComputedStyle(n)),o=((0,i.j4)(e)?s.getPropertyValue(e):s[e])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,r.m)(t,e)}build(t,e,n){(0,c.O)(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return(0,u.x)(t,e,n)}}},cd3ac78375dca5ee55a2:(t,e,n)=>{"use strict";n.d(e,{j4:()=>s,pG:()=>r,rm:()=>c});const i=t=>e=>"string"==typeof e&&e.startsWith(t),s=i("--"),o=i("var(--"),r=t=>!!o(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function c(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},cea19b3d4106d6e806f9:(t,e,n)=>{"use strict";n.d(e,{B:()=>c});var i=n("485f643c3397a5151148"),s=n("ecdcb34710afbf921a7c"),o=n("5707df073ec2b2fa24ef"),r=n("479917a2bbea539826f7");const a={...s.ai,transform:t=>Math.round((t=>(0,i.q)(0,255,t))(t))},c={test:(0,r.$)("rgb","red"),parse:(0,r.q)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(n)+", "+(0,o.a)(s.X4.transform(i))+")"}},cffbca1290003dce7e40:(t,e,n)=>{"use strict";function i(t,{style:e,vars:n},i,s){const o=t.style;let r;for(r in e)o[r]=e[r];for(r in s?.applyProjectionStyles(o,i),n)o.setProperty(r,n[r])}n.d(e,{e:()=>i})},d1a4221f0a9206bd8085:(t,e,n)=>{"use strict";n.d(e,{U:()=>i,f:()=>s});const i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=(()=>new Set([...i,"pathRotation"]))()},d2b585a68c26fd353095:(t,e,n)=>{"use strict";n.d(e,{OU:()=>d,Ql:()=>h,Ww:()=>m,hq:()=>o,o4:()=>c});var i=n("da6bc0e3b470cdc0e9ee"),s=n("28381df0e8d64b0c1b50");function o(t,e,n){return n+e*(t-n)}function r(t,e,n,i,s){return void 0!==s&&(t=o(t,s,i)),o(t,n,i)+e}function a(t,e=0,n=1,i,s){t.min=r(t.min,e,n,i,s),t.max=r(t.max,e,n,i,s)}function c(t,{x:e,y:n}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,n.translate,n.scale,n.originPoint)}const l=.999999999999,u=1.0000000000001;function d(t,e,n,i=!1){const o=n.length;if(!o)return;let r,a;e.x=e.y=1;for(let l=0;l<o;l++){r=n[l],a=r.projectionDelta;const{visualElement:o}=r.options;o&&o.props.style&&"contents"===o.props.style.display||(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(h(t.x,-r.scroll.offset.x),h(t.y,-r.scroll.offset.y)),a&&(e.x*=a.x.scale,e.y*=a.y.scale,c(t,a)),i&&(0,s.HD)(r.latestValues)&&m(t,r.latestValues,r.layout?.layoutBox))}e.x<u&&e.x>l&&(e.x=1),e.y<u&&e.y>l&&(e.y=1)}function h(t,e){t.min+=e,t.max+=e}function f(t,e,n,s,o=.5){a(t,e,n,(0,i.k)(t.min,t.max,o),s)}function p(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function m(t,e,n){const i=n??t;f(t.x,p(e.x,i.x),e.scaleX,e.scale,e.originX),f(t.y,p(e.y,i.y),e.scaleY,e.scale,e.originY)}},d2edb134e53a37eb0848:(t,e,n)=>{"use strict";n.d(e,{H:()=>u});var i=n("8a87f457aa522dd430b8"),s=n("bdc265dd096d93354a26");function o(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const r={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!s.px.test(t))return t;t=parseFloat(t)}return`${o(t,e.target.x)}% ${o(t,e.target.y)}%`}};var a=n("39415b48561c49295db9"),c=n("da6bc0e3b470cdc0e9ee");const l={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,s=a.f.parse(t);if(s.length>5)return i;const o=a.f.createTransformer(t),r="number"!=typeof s[0]?1:0,l=n.x.scale*e.x,u=n.y.scale*e.y;s[0+r]/=l,s[1+r]/=u;const d=(0,c.k)(l,u,.5);return"number"==typeof s[2+r]&&(s[2+r]/=d),"number"==typeof s[3+r]&&(s[3+r]/=d),o(s)}},u={borderRadius:{...r,applyTo:[...i.S]},borderTopLeftRadius:r,borderTopRightRadius:r,borderBottomLeftRadius:r,borderBottomRightRadius:r,boxShadow:l}},d3635c1e2dfc4fe87c71:(t,e,n)=>{"use strict";n.d(e,{d:()=>a});var i=n("f4aaf7c16b03d6a705a2"),s=n("f29b77cd1c7382d8894a"),o=n("aff9e1a8d0ca9151f203"),r=n("fa0a630f46d026f253c3");function a(t){const e=(0,r.M)((()=>(0,i.OQ)(t))),{isStatic:n}=(0,s.useContext)(o.Q);
1if(n){const[,n]=(0,s.useState)(t);(0,s.useEffect)((()=>e.on("change",n)),[])}return e}},d64d5320141324509633:(t,e,n)=>{"use strict";n.d(e,{h:()=>i});const i=t=>Array.isArray(t)&&"number"!=typeof t[0]},d7620de7d98c36281051:(t,e,n)=>{"use strict";n.d(e,{$:()=>s});var i=n("d1a4221f0a9206bd8085");const s=new Set(["width","height","top","left","right","bottom",...i.U])},d78ff156a7cf7fcd0702:(t,e,n)=>{"use strict";n.d(e,{h:()=>h,q:()=>d});var i=n("0b3ad2bd93df2b0c0b5f"),s=n("185f5199eef85c7b1e23");const o=new Set;let r=!1,a=!1,c=!1;function l(){if(a){const t=Array.from(o).filter((t=>t.needsMeasurement)),e=new Set(t.map((t=>t.element))),n=new Map;e.forEach((t=>{const e=(0,i.W9)(t);e.length&&(n.set(t,e),t.render())})),t.forEach((t=>t.measureInitialState())),e.forEach((t=>{t.render();const e=n.get(t);e&&e.forEach((([e,n])=>{t.getValue(e)?.set(n)}))})),t.forEach((t=>t.measureEndState())),t.forEach((t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)}))}a=!1,r=!1,o.forEach((t=>t.complete(c))),o.clear()}function u(){o.forEach((t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)}))}function d(){c=!0,u(),l(),c=!1}class h{constructor(t,e,n,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(o.add(this),r||(r=!0,s.Gt.read(u),s.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(null===t[0]){const s=i?.get(),o=t[t.length-1];if(void 0!==s)t[0]=s;else if(n&&e){const i=n.readValue(e,o);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===s&&i.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),o.delete(this)}cancel(){"scheduled"===this.state&&(o.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},d9d41aa9bf27ebe2346f:(t,e,n)=>{"use strict";n.d(e,{N:()=>b});var i=n("a1ca5acfbf0478960314"),s=n("f29b77cd1c7382d8894a"),o=n("b5e0fe69fb1d97961ba6"),r=n("fa0a630f46d026f253c3"),a=n("9d952ac34b86ddd4ebb5"),c=n("2221d792f09f0556d33c"),l=n("373a57aad0619ef17bb6"),u=n("aff9e1a8d0ca9151f203");function d(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class h extends s.Component{getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if((0,l.s)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const t=e.offsetParent,n=(0,l.s)(t)&&t.offsetWidth||0,i=(0,l.s)(t)&&t.offsetHeight||0,s=getComputedStyle(e),o=this.props.sizeRef.current;o.height=parseFloat(s.height),o.width=parseFloat(s.width),o.top=e.offsetTop,o.left=e.offsetLeft,o.right=n-o.width-o.left,o.bottom=i-o.height-o.top,o.direction=s.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:t,isPresent:e,anchorX:n,anchorY:o,root:r,pop:a}){const c=(0,s.useId)(),l=(0,s.useRef)(null),f=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:p}=(0,s.useContext)(u.Q),m=t.props?.ref??t?.ref,g=function(...t){return s.useCallback(function(...t){return e=>{let n=!1;const i=t.map((t=>{const i=d(t,e);return n||"function"!=typeof i||(n=!0),i}));if(n)return()=>{for(let e=0;e<i.length;e++){const n=i[e];"function"==typeof n?n():d(t[e],null)}}}}(...t),t)}(l,m);return(0,s.useInsertionEffect)((()=>{const{width:t,height:i,top:s,left:u,right:d,bottom:h,direction:m}=f.current;if(e||!1===a||!l.current||!t||!i)return;const g="rtl"===m,y="left"===n?g?`right: ${d}`:`left: ${u}`:g?`left: ${u}`:`right: ${d}`,v="bottom"===o?`bottom: ${h}`:`top: ${s}`;l.current.dataset.motionPopId=c;const b=document.createElement("style");p&&(b.nonce=p);const x=r??document.head;return x.appendChild(b),b.sheet&&b.sheet.insertRule(`\n          [data-motion-pop-id="${c}"] {\n            position: absolute !important;\n            width: ${t}px !important;\n            height: ${i}px !important;\n            ${y}px !important;\n            ${v}px !important;\n          }\n        `),()=>{l.current?.removeAttribute("data-motion-pop-id"),x.contains(b)&&x.removeChild(b)}}),[e]),(0,i.jsx)(h,{isPresent:e,childRef:l,sizeRef:f,pop:a,children:!1===a?t
1:s.cloneElement(t,{ref:g})})}const p=({children:t,initial:e,isPresent:n,onExitComplete:o,custom:l,presenceAffectsLayout:u,mode:d,anchorX:h,anchorY:p,root:g})=>{const y=(0,r.M)(m),v=(0,s.useId)(),b=(0,s.useRef)(n),x=(0,s.useRef)(o);(0,a.E)((()=>{b.current=n,x.current=o}));let w=!0,S=(0,s.useMemo)((()=>(w=!1,{id:v,initial:e,isPresent:n,custom:l,onExitComplete:t=>{y.set(t,!0);for(const t of y.values())if(!t)return;o&&o()},register:t=>(y.set(t,!1),()=>{y.delete(t),!b.current&&!y.size&&x.current?.()})})),[n,y,o]);return u&&w&&(S={...S}),(0,s.useMemo)((()=>{y.forEach(((t,e)=>y.set(e,!1)))}),[n]),s.useEffect((()=>{!n&&!y.size&&o&&o()}),[n]),t=(0,i.jsx)(f,{pop:"popLayout"===d,isPresent:n,anchorX:h,anchorY:p,root:g,children:t}),(0,i.jsx)(c.t.Provider,{value:S,children:t})};function m(){return new Map}var g=n("5405a2f9ebfcb81cc8bd");const y=t=>t.key||"";function v(t){const e=[];return s.Children.forEach(t,(t=>{(0,s.isValidElement)(t)&&e.push(t)})),e}const b=({children:t,custom:e,initial:n=!0,onExitComplete:c,presenceAffectsLayout:l=!0,mode:u="sync",propagate:d=!1,anchorX:h="left",anchorY:f="top",root:m})=>{const[b,x]=(0,g.xQ)(d),w=(0,s.useMemo)((()=>v(t)),[t]),S=d&&!b?[]:w.map(y),P=(0,s.useRef)(!0),T=(0,s.useRef)(w),A=(0,r.M)((()=>new Map)),E=(0,s.useRef)(new Set),[k,C]=(0,s.useState)(w),[M,V]=(0,s.useState)(w);(0,a.E)((()=>{P.current=!1,T.current=w;for(let t=0;t<M.length;t++){const e=y(M[t]);S.includes(e)?(A.delete(e),E.current.delete(e)):!0!==A.get(e)&&A.set(e,!1)}}),[M,S.length,S.join("-")]);const D=[];if(w!==k){let t=[...w];for(let e=0;e<M.length;e++){const n=M[e],i=y(n);S.includes(i)||(t.splice(e,0,n),D.push(n))}return"wait"===u&&D.length&&(t=D),V(v(t)),C(w),null}const{forceRender:j}=(0,s.useContext)(o.L);return(0,i.jsx)(i.Fragment,{children:M.map((t=>{const s=y(t),o=!(d&&!b)&&(w===M||S.includes(s));return(0,i.jsx)(p,{isPresent:o,initial:!(P.current&&!n)&&void 0,custom:e,presenceAffectsLayout:l,mode:u,root:m,onExitComplete:o?void 0:()=>{if(E.current.has(s))return;if(!A.has(s))return;E.current.add(s),A.set(s,!0);let t=!0;A.forEach((e=>{e||(t=!1)})),t&&(j?.(),V(T.current),d&&x?.(),c&&c())},anchorX:h,anchorY:f,children:t},s)}))})}},da6bc0e3b470cdc0e9ee:(t,e,n)=>{"use strict";n.d(e,{k:()=>i});const i=(t,e,n)=>t+(e-t)*n},dab3e0156105a069e74b:(t,e,n)=>{"use strict";n.d(e,{j:()=>r});var i=n("185f5199eef85c7b1e23"),s=n("9d952ac34b86ddd4ebb5"),o=n("d3635c1e2dfc4fe87c71");function r(t,e){const n=(0,o.d)(e()),r=()=>n.set(e());return r(),(0,s.E)((()=>{const e=()=>i.Gt.preRender(r,!1,!0),n=t.map((t=>t.on("change",e)));return()=>{n.forEach((t=>t())),(0,i.WG)(r)}})),n}},dd0c0a1b077f507a0153:(t,e,n)=>{"use strict";n.d(e,{PY1:()=>ii});var i=n("6367a7ffaf10965918ba"),s=n("cbbcf2d00d6b3b8d7bcd"),o=n("f29b77cd1c7382d8894a");const r=["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 a(t){return"string"==typeof t&&!t.includes("-")&&!!(r.indexOf(t)>-1||/[A-Z]/u.test(t))}const c=(t,e)=>e.isSVG??a(t)?new i.l(e):new s.M(e,{allowProjection:t!==o.Fragment});var l=n("a1ca5acfbf0478960314"),u=n("b5e0fe69fb1d97961ba6");const d=(0,o.createContext)({strict:!1});var h=n("aff9e1a8d0ca9151f203");const f=(0,o.createContext)({});var p=n("25c6bfa09f97d5f23dda"),m=n("84f272fb47d2eead0dce");function g(t){return Array.isArray(t)?t.join(" "):t}var y=n("8527b49396e61ba23567"),v=n("eb9fa21d440cf874ecb0"),b=n("4b7d667e10d0d7788ed5");function x(t,e,n){for(const i in e)(0,y.S)(e[i])||(0,v.zK)(i,n)||(t[i]=e[i])}function w(t,e){const n={},i=function(t,e){const n={};return x(n,t.style||{},t),Object.assign(n,function({transformTemplate:t},e){return(0,o.useMemo)((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return(0,b.O)(n,e,t),Object.assign({},n.vars,n.style)}),[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}var S=n("c6444f27300d6e536eae"),P=n("079e7f32e33626d1321d");function T(t,e,n,i){const s=(0,o.useMemo)((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};
1return(0,S.B)(n,e,(0,P.n)(i),t.transformTemplate,t.style),{...n.attrs,style:{...n.style}}}),[e]);if(t.style){const e={};x(e,t.style,t),s.style={...e,...s.style}}return s}const A=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","propagate","ignoreStrict","viewport"]);function E(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||A.has(t)}let k=t=>!E(t);try{"function"==typeof(C=require("@emotion/is-prop-valid").default)&&(k=t=>t.startsWith("on")?!E(t):C(t))}catch{}var C;function M(t,e,n,{latestValues:i},s,r=!1,c){const l=(c??a(t)?T:w)(e,i,s,t),u=function(t,e,n){const i={};for(const s in t)"values"===s&&"object"==typeof t.values||(0,y.S)(t[s])||(k(s)||!0===n&&E(s)||!e&&!E(s)||t.draggable&&s.startsWith("onDrag"))&&(i[s]=t[s]);return i}(e,"string"==typeof t,r),d=t!==o.Fragment?{...u,...l,ref:n}:{},{children:h}=e,f=(0,o.useMemo)((()=>(0,y.S)(h)?h.get():h),[h]);return(0,o.createElement)(t,{...d,children:f})}var V=n("18f2e16863510d43d7fc");function D(t){return(0,y.S)(t)?t.get():t}var j=n("40e14da05279b0cbbec2"),R=n("ef2ee71f68f3a0a474f9"),L=n("2221d792f09f0556d33c"),B=n("fa0a630f46d026f253c3");function I(t,e,n,i){const s={},o=i(t,{});for(const t in o)s[t]=D(o[t]);let{initial:r,animate:a}=t;const c=(0,p.e)(t),l=(0,p.O)(t);e&&l&&!c&&!1!==t.inherit&&(void 0===r&&(r=e.initial),void 0===a&&(a=e.animate));let u=!!n&&!1===n.initial;u=u||!1===r;const d=u?a:r;if(d&&"boolean"!=typeof d&&!(0,j.N)(d)){const e=Array.isArray(d)?d:[d];for(let n=0;n<e.length;n++){const i=(0,R.a)(t,e[n]);if(i){const{transitionEnd:t,transition:e,...n}=i;for(const t in n){let e=n[t];Array.isArray(e)&&(e=e[u?e.length-1:0]),null!==e&&(s[t]=e)}for(const e in t)s[e]=t[e]}}}return s}const O=t=>(e,n)=>{const i=(0,o.useContext)(f),s=(0,o.useContext)(L.t),r=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,s){return{latestValues:I(n,i,s,t),renderState:e()}}(t,e,i,s);return n?r():(0,B.M)(r)},F=O({scrapeMotionValuesFromProps:V.x,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})}),$=O({scrapeMotionValuesFromProps:n("9d398d3105eb25f07fa9").x,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}})});var U=n("1d22dc446beb4055267e");const W={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"]};let _=!1;function N(){return function(){if(_)return;const t={};for(const e in W)t[e]={isEnabled:t=>W[e].some((e=>!!t[e]))};(0,U.lr)(t),_=!0}(),(0,U.vK)()}const X=Symbol.for("motionComponentSymbol");function G(t,e,n){const i=(0,o.useRef)(n);(0,o.useInsertionEffect)((()=>{i.current=n}));const s=(0,o.useRef)(null);return(0,o.useCallback)((n=>{n&&t.onMount?.(n),e&&(n?e.mount(n):e.unmount());const o=i.current;if("function"==typeof o)if(n){const t=o(n);"function"==typeof t&&(s.current=t)}else s.current?(s.current(),s.current=null):o(n);else o&&(o.current=n)}),[e])}var z=n("56728ad840f4ec669141");const K=(0,o.createContext)({});function H(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var q=n("9d952ac34b86ddd4ebb5");function Y(t,e,n,i,s,r){const{visualElement:a}=(0,o.useContext)(f),c=(0,o.useContext)(d),l=(0,o.useContext)(L.t),u=(0,o.useContext)(h.Q),p=u.reducedMotion,m=u.skipAnimations,g=(0,o.useRef)(null),y=(0,o.useRef)(!1);i=i||c.renderer,!g.current&&i&&(g.current=i(t,{visualState:e,parent:a,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:p,skipAnimations:m,isSVG:r}),y.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));const v=g.current,b=(0,o.useContext)(K);!v||v.projection||!s||"html"!==v.type&&"svg"!==v.type||function(t,e,n,i){const{layoutId:s,layout:o,drag:r,dragConstraints:a,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Q(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(r)||a&&H(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}(g.current,n,s,b);const x=(0,o.useRef)(!1);(0,o.useInsertionEffect)((()=>{v&&x.current&&v.update(n,l)}));const w=n[z.n],S=(0,o.useRef)(Boolean(w)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return(0,q.E)((()=>{y.current=!0,v&&(x.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),S.current&&v.animationState&&v.animationState.animateChanges())})),(0,o.useEffect)((()=>{v&&(!S.current&&v.animationState&&v.animationState.animateChanges(),S.current&&(queueMicrotask((()=>{window.MotionHandoffMarkAsComplete?.(w)})),S.current=!1),v.enteringChildren=void 0)})),v}function Q(t){if(t)return!1!==t.options.allowProjection?t.projection:Q(t.parent)}function Z(t,{forwardMotionProps:e=!1,type:n}={},i,s){i&&function(t){const e=N();for(const n in t)e[n]={...e[n],...t[n]};(0,U.lr)(e)}(i);
1const r=n?"svg"===n:a(t),c=r?$:F;function u(n,i){let a;const u={...(0,o.useContext)(h.Q),...n,layoutId:J(n)},{isStatic:y}=u,v=function(t){const{initial:e,animate:n}=function(t,e){if((0,p.e)(t)){const{initial:e,animate:n}=t;return{initial:!1===e||(0,m.w)(e)?e:void 0,animate:(0,m.w)(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(f));return(0,o.useMemo)((()=>({initial:e,animate:n})),[g(e),g(n)])}(n),b=c(n,y);if(!y&&"undefined"!=typeof window){(0,o.useContext)(d).strict;const e=function(t){const e=N(),{drag:n,layout:i}=e;if(!n&&!i)return{};const s={...n,...i};return{MeasureLayout:n?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(u);a=e.MeasureLayout,v.visualElement=Y(t,b,u,s,e.ProjectionNode,r)}return(0,l.jsxs)(f.Provider,{value:v,children:[a&&v.visualElement?(0,l.jsx)(a,{visualElement:v.visualElement,...u}):null,M(t,n,G(b,v.visualElement,i),b,y,e,r)]})}u.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;const y=(0,o.forwardRef)(u);return y[X]=t,y}function J({layoutId:t}){const e=(0,o.useContext)(u.L).id;return e&&void 0!==t?e+"-"+t:t}function tt(t,e){if("undefined"==typeof Proxy)return Z;const n=new Map,i=(n,i)=>Z(n,i,t,e);return new Proxy(((t,e)=>i(t,e)),{get:(s,o)=>"create"===o?i:(n.has(o)||n.set(o,Z(o,void 0,t,e)),n.get(o))})}class et{constructor(t){this.isMounted=!1,this.node=t}update(){}}var nt=n("b8dde691b32db57a85d4"),it=n("a79e5c88c1e0e43a149a");function st(t,e,n,i=0,s=1){const o=Array.from(t).sort(((t,e)=>t.sortNodePosition(e))).indexOf(e),r=t.size,a=(r-1)*i;return"function"==typeof n?n(o,r):1===s?o*i:a-o*i}function ot(t,e,n={}){const i=(0,nt.K)(t,e,"exit"===n.type?t.presenceContext?.custom:void 0);let{transition:s=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);const o=i?()=>Promise.all((0,it.$)(t,i,n)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(i=0)=>{const{delayChildren:o=0,staggerChildren:r,staggerDirection:a}=s;return function(t,e,n=0,i=0,s=0,o=1,r){const a=[];for(const c of t.variantChildren)c.notify("AnimationStart",e),a.push(ot(c,e,{...r,delay:n+("function"==typeof i?0:i)+st(t.variantChildren,c,i,s,o)}).then((()=>c.notify("AnimationComplete",e))));return Promise.all(a)}(t,e,i,o,r,a,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[t,e]="beforeChildren"===a?[o,r]:[r,o];return t().then((()=>e()))}return Promise.all([o(),r(n.delay)])}var rt=n("770138d72b31a0d469ef");const at=rt._.length;function ct(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&ct(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<at;n++){const i=rt._[n],s=t.props[i];((0,m.w)(s)||!1===s)&&(e[i]=s)}return e}var lt=n("6057456f11017474e538");function ut(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}const dt=[...rt.U].reverse(),ht=rt.U.length;function ft(t){let e=function(t){return e=>Promise.all(e.map((({animation:e,options:n})=>function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map((e=>ot(t,e,n)));i=Promise.all(s)}else if("string"==typeof e)i=ot(t,e,n);else{const s="function"==typeof e?(0,nt.K)(t,e,n.custom):e;i=Promise.all((0,it.$)(t,s,n))}return i.then((()=>{t.notify("AnimationComplete",e)}))}(t,e,n))))}(t),n=mt(),i=!0,s=!1;const o=e=>(n,i)=>{const s=(0,nt.K)(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(s){const{transition:t,transitionEnd:e,...i}=s;n={...n,...i,...e}}return n};function r(r){const{props:a}=t,c=ct(t.parent)||{},l=[],u=new Set;let d={},h=1/0;for(let e=0;e<ht;e++){const g=dt[e],y=n[g],v=void 0!==a[g]?a[g]:c[g],b=(0,m.w)(v),x=g===r?y.isActive:null;!1===x&&(h=e);let w=v===c[g]&&v!==a[g]&&b;if(w&&(i||s)&&t.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...d},!y.isActive&&null===x||!v&&!y.prevProp||(0,j.N)(v)||"boolean"==typeof v)continue;if("exit"===g&&y.isActive&&!0!==x){y.prevResolvedValues&&(d={...d,...y.prevResolvedValues});continue}const S=(f=y.prevProp,"string"==typeof(p=v)?p!==f:!!Array.isArray(p)&&!ut(p,f));let P=S||g===r&&y.isActive&&!w&&b||e>h&&b,T=!1;const A=Array.isArray(v)?v:[v];let E=A.reduce(o(g),{});!1===x&&(E={});const{prevResolvedValues:k={}}=y,C={...k,...E},M=e=>{P=!0,u.has(e)&&(T=!0,u.delete(e)),y.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in C){const e=E[t],n=k[t];if(d.hasOwnProperty(t))continue;let i=!1;i=(0,lt.p)(e)&&(0,lt.p)(n)?!ut(e,n)||S:e!==n,i?null!=e?M(t):u.add(t):void 0!==e&&u.has(t)?M(t):y.protectedKeys[t]=!0}y.prevProp=v,y.prevResolvedValues=E,y.isActive&&(d={...d,...E}),(i||s)&&t.blockInitialAnimation&&(P=!1);const V=w&&S;P&&(!V||T)&&l.push(...A.map((e=>{const n={type:g};if("string"==typeof e&&(i||s)&&!V&&t.manuallyAnimateOnMount&&t.parent){const{parent:i}=t,s=(0,nt.K)(i,e);if(i.enteringChildren&&s){const{delayChildren:e}=s.transition||{};n.delay=st(i.enteringChildren,t,e)}}return{animation:e,options:n}})))}var f,p;if(u.size){const e={};if("boolean"!=typeof a.initial){const n=(0,nt.K)(t,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(e.transition=n.transition)}u.forEach((n=>{const i=t.getBaseTarget(n),s=t.getValue(n);s&&(s.liveStyle=!0),e[n]=i??null})),l.push({animation:e})}let g=Boolean(l.length);return!i||!1!==a.initial&&a.initial!==a.animate||t.manuallyAnimateOnMount||(g=!1),i=!1,s=!1,g?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,i){if(n[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach((t=>t.animationState?.setActive(e,i))),n[e].isActive=i;const s=r(e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=mt(),s=!0}}}function pt(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function mt(){return{animate:pt(!0),whileInView:pt(),whileHover:pt(),whileTap:pt(),whileDrag:pt
1(),whileFocus:pt(),exit:pt()}}let gt=0;const yt={animation:{Feature:class extends et{constructor(t){super(t),t.animationState||(t.animationState=ft(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();(0,j.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends et{constructor(){super(...arguments),this.id=gt++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&!1===n){if(this.isExitComplete){const{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){const n=(0,nt.K)(this.node,t,e);if(n){const{transition:t,transitionEnd:e,...i}=n;for(const t in i)this.node.getValue(t)?.jump(i[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then((()=>{this.isExitComplete=!0,e(this.id)}))}mount(){const{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}};var vt=n("78c1165125752a03a122"),bt=n("fde45e0bc1f54c563615");const xt={x:!1,y:!1};function wt(){return xt.x||xt.y}function St(t){return[t("x"),t("y")]}var Pt=n("bdc265dd096d93354a26"),Tt=n("da6bc0e3b470cdc0e9ee");function At(t){return t.max-t.min}function Et(t,e,n,i=.5){t.origin=i,t.originPoint=(0,Tt.k)(e.min,e.max,t.origin),t.scale=At(n)/At(e),t.translate=(0,Tt.k)(n.min,n.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 kt(t,e,n,i){Et(t.x,e.x,n.x,i?i.originX:void 0),Et(t.y,e.y,n.y,i?i.originY:void 0)}function Ct(t,e,n,i=0){const s=i?(0,Tt.k)(n.min,n.max,i):n.min;t.min=s+e.min,t.max=t.min+At(e)}function Mt(t,e,n,i=0){const s=i?(0,Tt.k)(n.min,n.max,i):n.min;t.min=e.min-s,t.max=t.min+At(e)}function Vt(t,e,n,i){Mt(t.x,e.x,n.x,i?.x),Mt(t.y,e.y,n.y,i?.y)}var Dt=n("185f5199eef85c7b1e23"),jt=n("b87262a61b4f8ae4dd63"),Rt=n("266684963da41835d078"),Lt=n("38481c9868315d7bc476"),Bt=n("3f02ac1be39ae96343fe");const It=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),Ot=new Set(["INPUT","SELECT","TEXTAREA"]);function Ft(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}var $t=n("1ea7e8d8ed2d6feed92d"),Ut=n("e29b16faf462221bcddf");const Wt=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function _t(t){return{point:{x:t.pageX,y:t.pageY}}}function Nt(t,e,n,i){return Ft(t,e,(t=>e=>Wt(e)&&t(e,_t(e)))(n),i)}const Xt=({current:t})=>t?t.ownerDocument.defaultView:null;var Gt=n("86f5433b225ee1a7d610"),zt=n("9cf417698b1bb4821d16");const Kt=(t,e)=>Math.abs(t-e),Ht=new Set(["auto","scroll"]);class qt{constructor(t,e,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Yt(this.lastRawMoveEventInfo,this.transformPagePoint));const t=Zt(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=Kt(t.x,e.x),i=Kt(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;const{point:i}=t,{timestamp:s}=Dt.uv;this.history.push({...i,timestamp:s});const{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=Yt(e,this.transformPagePoint),Dt.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:s}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||s&&s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=Zt("pointercancel"===t.type?this.lastMoveEventInfo:Yt(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!Wt(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=i||window;const a=Yt(_t(t),this.transformPagePoint),{point:c}=a,{timestamp:l}=Dt.uv;this.history=[{...c,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,Zt(a,this.history));const d={passive:!0,capture:!0};this.removeListeners=(0,Gt.F)(Nt(this.contextWindow,"pointermove",this.handlePointerMove,d),Nt(this.contextWindow,"pointerup",this.handlePointerUp,d),Nt(this.contextWindow,"pointercancel",this.handlePointerUp,d)),r&&this.startScrollTracking(r)}startScrollTracking(t){let e=t.parentElement;for(;e;){const t=getComputedStyle(e);(Ht.has(t.overflowX)||Ht.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const n=t===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s=i.x-e.x,o=i.y-e.y;0===s&&0===o||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s,this.lastMoveEventInfo.point.y+=o):this.history.length>0&&(this.history[0].x-=s,this.history[0].y-=o),this.scrollPositions.set(t,i),Dt.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,Dt.WG)(this.updatePoint)}}function Yt(t,e){return e?{point:e(t.point)}:t}function Qt(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Zt({point:t},e){return{point:t,delta:Qt(t,te(e)),offset:Qt(t,Jt(e)),velocity:ee(e,.1)}}function Jt(t){return t[0]}function te(t){return t[t.length-1]}function ee(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const s=te(t);for(;n>=0&&(i=t[n],!(s.timestamp-i.timestamp>(0,zt.f)(e)));)n--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&s.timestamp-i.timestamp>2*(0,zt.f)(e)&&(i=t[1]);const o=(0,zt.X)(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}var ne=n("afe28a98f9d68335aff6"),ie=n("485f643c3397a5151148");function se(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function oe(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}const re=.35;function ae(t,e,n){return{min:ce(t,e),max:ce(t,n)}}function ce(t,e){return"number"==typeof t?t:t[e]||0}const le=new WeakMap;class ue{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,bt.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){const{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;const{dragSnapToOrigin:s}=this.getProps();this.panSession=new qt(t,{onSessionStart:t=>{e&&this.snapToCursor(_t(t).point),this.stopAnimation()},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:s}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?xt[o]?null:(xt[o]=!0,()=>{xt[o]=!1}):xt.x||xt.y?null:(xt.x=xt.y=!0,()=>{xt.x=xt.y=!1}),!this.openDragLock))return;var o;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),St((t=>{let e=this.getAxisMotionValue(t).get()||0;if(Pt.KN.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];
1i&&(e=At(i)*(parseFloat(e)/100))}}this.originPoint[t]=e})),s&&Dt.Gt.update((()=>s(t,e)),!1,!0),(0,jt.g)(this.visualElement,"transform");const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:r}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(r),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&Dt.Gt.update((()=>o(t,e)),!1,!0)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,distanceThreshold:n,contextWindow:Xt(this.visualElement),element:this.visualElement.current})}stop(t,e){const n=t||this.latestPointerEvent,i=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!n)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&Dt.Gt.postRender((()=>r(n,i)))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!he(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?(0,Tt.k)(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?(0,Tt.k)(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&H(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,{top:e,left:n,bottom:i,right:s}){return{x:se(t.x,n,s),y:se(t.y,e,i)}}(n.layoutBox,t),this.elastic=function(t=re){return!1===t?t=0:!0===t&&(t=re),{x:ae(t,"left","right"),y:ae(t,"top","bottom")}}(e),i!==this.constraints&&!H(t)&&n&&this.constraints&&!this.hasMutatedConstraints&&St((t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!H(t))return!1;const n=t.current;(0,Ut.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());const s=(0,Rt.L)(n,i.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:oe(t.x,e.x),y:oe(t.y,e.y)}}(i.layout.layoutBox,s);if(e){const t=e((0,Lt.pA)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,Lt.FY)(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},c=St((r=>{if(!he(r,e,this.currentDirection))return;let c=a&&a[r]||{};!0!==o&&o!==r||(c={min:0,max:0});const l=i?200:1e6,u=i?40:1e7,d={type:"inertia",velocity:n?t[r]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...s,...c};return this.startAxisValueAnimation(r,d)}));return Promise.all(c).then(r)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return(0,jt.g)(this.visualElement,t),n.start((0,Bt.f)(t,n,0,e,this.visualElement,!1))}stopAnimation(){St((t=>this.getAxisMotionValue(t).stop()))}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){St((e=>{const{drag:n}=this.getProps();if(!he(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[e],r=s.get()||0;s.set(t[e]-(0,Tt.k)(n,o,.5)+r)}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!H(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};St((t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=At(t),s=At(e);return s>i?n=(0,ne.q)(e.min,e.max-i,t.min):i>s&&(n=(0,ne.q)(t.min,t.max-s,e.min)),(0,ie.q)(0,1,n)}({min:n,max:n},this.constraints[t])}}));const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),St((e=>{if(!he(e,t,null))return;const n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set((0,Tt.k)(s,o,i[e]))})),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;le.set(this.visualElement,this);const t=this.visualElement.current,e=Nt(t,"pointerdown",(e=>{const{drag:n,dragListener:i=!0}=this.getProps(),s=e.target,o=s!==t&&function(t){return Ot.has(t.tagName)||!0===t.isContentEditable}(s);n&&i&&!o&&this.start(e)}));let n;const i=()=>{const{dragConstraints:e}=this.getProps();H(e)&&e.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(t,e,n){const i=(0,$t.X)(t,de(n)),s=(0,$t.X)(e,de(n));return()=>{i(),s()}}(t,e.current,(()=>this.scalePositionWithinConstraints()))))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),Dt.Gt.read(i);const r=Ft(window,"resize",(()=>this.scalePositionWithinConstraints())),a=s.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(St((e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))})),this.visualElement.render())}));return()=>{r(),e(),o(),a&&a(),n&&n()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=re,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r}}}function de(t){let e=!0;return()=>{e?e=!1:t()}}function he(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const fe=t=>
1(e,n)=>{t&&Dt.Gt.update((()=>t(e,n)),!1,!0)},pe={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var me=n("14fad8980f73b9d171b3"),ge=n("5405a2f9ebfcb81cc8bd");let ye=!1;class ve extends o.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),n&&n.register&&i&&n.register(s),ye&&s.root.didUpdate(),s.addEventListener("animationComplete",(()=>{this.safeToRemove()})),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),pe.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,{projection:o}=n;return o?(o.isPresent=s,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),ye=!0,i||t.layoutDependency!==e||void 0===e||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||Dt.Gt.postRender((()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{visualElement:t,layoutAnchor:e}=this.props,{projection:n}=t;n&&(n.options.layoutAnchor=e,n.root.didUpdate(),me.k.postRender((()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;ye=!0,i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function be(t){const[e,n]=(0,ge.xQ)(),i=(0,o.useContext)(u.L);return(0,l.jsx)(ve,{...t,layoutGroup:i,switchLayoutGroup:(0,o.useContext)(K),isPresent:e,safeToRemove:n})}var xe=n("629fb43ad0acc14b9289"),we=n("06c5b00c13932d682064"),Se=n("262c24799d66d36cd2de"),Pe=n("95c470c079dc4bae5d1d"),Te=n("050c39548fb76aed5cdf"),Ae=n("d2edb134e53a37eb0848");const Ee={value:null,addProjectionMetrics:null};var ke=n("e45c75664dfe55e64b4e"),Ce=n("0224545bd7c65825ded9"),Me=n("f4aaf7c16b03d6a705a2"),Ve=n("b22110cfa7729d97e7f9"),De=n("8a87f457aa522dd430b8");const je=De.S.length,Re=t=>"string"==typeof t?parseFloat(t):t,Le=t=>"number"==typeof t||Pt.px.test(t);function Be(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const Ie=Fe(0,.5,Ve.yT),Oe=Fe(.5,.95,vt.l);function Fe(t,e,n){return i=>i<t?0:i>e?1:n((0,ne.q)(t,e,i))}function $e(t,e){t.min=e.min,t.max=e.max}function Ue(t,e){$e(t.x,e.x),$e(t.y,e.y)}function We(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var _e=n("d2b585a68c26fd353095");function Ne(t,e,n,i,s){return t-=e,t=(0,_e.hq)(t,1/n,i),void 0!==s&&(t=(0,_e.hq)(t,1/s,i)),t}function Xe(t,e,[n,i,s],o,r){!function(t,e=0,n=1,i=.5,s,o=t,r=t){if(Pt.KN.test(e)&&(e=parseFloat(e),e=(0,Tt.k)(r.min,r.max,e/100)-r.min),"number"!=typeof e)return;let a=(0,Tt.k)(o.min,o.max,i);t===o&&(a-=e),t.min=Ne(t.min,e,n,a,s),t.max=Ne(t.max,e,n,a,s)}(t,e[n],e[i],e[s],e.scale,o,r)}const Ge=["x","scaleX","originX"],ze=["y","scaleY","originY"];function Ke(t,e,n,i){Xe(t.x,e,Ge,n?n.x:void 0,i?i.x:void 0),Xe(t.y,e,ze,n?n.y:void 0,i?i.y:void 0)}function He(t){return 0===t.translate&&1===t.scale}function qe(t){return He(t.x)&&He(t.y)}function Ye(t,e){return t.min===e.min&&t.max===e.max}function Qe(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Ze(t,e){return Qe(t.x,e.x)&&Qe(t.y,e.y)}function Je(t){return At(t.x)/At(t.y)}function tn(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var en=n("1d9c3a6a7181f454065a");class nn{constructor(){this.members=[]}add(t){(0,en.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){const n=this.members[e];if(n===t||n===this.lead||n===this.prevLead)continue;const i=n.instance;i&&!1!==i.isConnected||n.snapshot||((0,en.Ai)(this.members,n),n.unmount())}t.scheduleRender()}remove(t){if((0,en.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent&&!1!==t.instance?.isConnected)return this.promote(t),!0}return!1}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=n.options,{layoutDependency:s}=t.options;void 0!==i&&i===s||(t.resumeFrom=n,e&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root?.isU
1pdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach((t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()}))}scheduleRender(){this.members.forEach((t=>t.instance&&t.scheduleRender(!1)))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const sn=(t,e)=>t.depth-e.depth;class on{constructor(){this.children=[],this.isDirty=!1}add(t){(0,en.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,en.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sn),this.isDirty=!1,this.children.forEach(t)}}var rn=n("28381df0e8d64b0c1b50");const an={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},cn=["","X","Y","Z"];let ln=0;function un(t,e,n,i){const{latestValues:s}=e;s[t]&&(n[t]=s[t],e.setStaticValue(t,0),i&&(i[t]=0))}function dn(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=(0,Se.P)(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",Dt.Gt,!(e||i))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&dn(i)}function hn({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(t={},n=e?.()){this.id=ln++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Ee.value&&(an.nodes=an.calculatedTargetDeltas=an.calculatedProjections=0),this.nodes.forEach(mn),this.nodes.forEach(Tn),this.nodes.forEach(An),this.nodes.forEach(gn),Ee.addProjectionMetrics&&Ee.addProjectionMetrics(an)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new on)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new xe.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,ke.x)(e)&&!(0,Ce.h)(e),this.instance=e;const{layoutId:n,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||n)&&(this.isLayoutDirty=!0),t){let n,i=0;const s=()=>this.root.updateBlockedByResize=!1;Dt.Gt.read((()=>{i=window.innerWidth})),t(e,(()=>{const t=window.innerWidth;t!==i&&(i=t,this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=Te.k.now(),i=({timestamp:s})=>{const o=s-n;o>=e&&((0,Dt.WG)(i),t(o-e))};return Dt.Gt.setup(i,!0),()=>(0,Dt.WG)(i)}(s,250),pe.hasAnimatedSinceResize&&(pe.hasAnimatedSinceResize=!1,this.nodes.forEach(Pn)))}))}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||i)&&this.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||s.getDefaultTransition()||Dn,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=s.getProps(),c=!this.targetLayout||!Ze(this.targetLayout,i),l=!e&&n;if(this.options.layoutRoot||this.resumeFrom||l||e&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const e={...(0,Pe.r)(o,"layout"),onPlay:r,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,l,e.path)}else e||Pn(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,Dt.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(En),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&dn(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){const e=this.path[t];e.shouldResetTransform=!0,"string"!=typeof e.latestValues.x&&"string"!=typeof e.latestValues.y||(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const t=this.updateBlockedByResize;return this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(bn),void this.nodes.forEach(vn)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(xn);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(wn),this.nodes.forEach(Sn),this.nodes.forEach(fn),this.nodes.forEach(pn)):this.nodes.forEach(xn),this.clearAllSnapshots();const t=Te.k.now();Dt.uv.delta=(0,ie.q)(0,1e3/60,t-Dt.uv.timestamp),Dt.uv.timestamp=t,Dt.uv.isProcessing=!0,Dt.PP.update.process(Dt.uv),Dt.PP.preRender.process(Dt.uv),Dt.PP.render.process(Dt.uv),Dt.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,me.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(yn),this.sharedNodes.forEach(kn)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Dt.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Dt.Gt.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||At(this.snapshot.measuredBox.x)||At(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(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();const t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,bt.ge)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){const e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!qe(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,rn.HD)(this.latestValues)||o)&&(s(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),Ln((i=n).x),Ln(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return(0,bt.ge)();const e=t.measureViewportBox();if(!this.scroll?.wasRoot&&!this.path.some(In)){const{scroll:t}=this.root;t&&((0,_e.Ql)(e.x,t.offset.x),(0,_e.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){const e=(0,bt.ge)();if(Ue(e,t),this.scroll?.wasRoot)return e;for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:s,options:o}=i;i!==this.root&&s&&o.layoutScroll&&(s.wasRoot&&Ue(e,t),(0,_e.Ql)(e.x,s.offset.x),(0,_e.Ql)(e.y,s.offset.y))}return e}applyTransform(t,e=!1,n){const i=n||(0,bt.ge)();Ue(i,t);for(let t=0;t<this.path.length;t++){const n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&((0,_e.Ql)(i.x,-n.scroll.offset.x),(0,_e.Ql)(i.y,-n.scroll.offset.y)),(0,rn.HD)(n.latestValues)&&(0,_e.Ww)(i,n.latestValues,n.layout?.layoutBox)}return(0,rn.HD)(this.latestValues)&&(0,_e.Ww)(i,this.latestValues,this.layout?.layoutBox),i}removeTransform(t){const e=(0,bt.ge)();Ue(e,t);for(let t=0;t<this.path.length;t++){const n=this.path[t];if(!(0,rn.HD)(n.latestValues))continue;let i;n.instance&&((0,rn.vk)(n.latestValues)&&n.updateSnapshot(),i=(0,bt.ge)(),Ue(i,n.measurePageBox())),Ke(e,n.latestValues,n.snapshot?.layoutBox,i)}return(0,rn.HD)(this.latestValues)&&Ke(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!==Dt.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){const e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==e;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:i,layoutId:s}=this.options;if(!this.layout||!i&&!s)return;this.resolvedRelativeTargetAt=Dt.uv.timestamp;const o=this.getClosestProjectingParent();var r,a,c,l;o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,bt.ge)(),this.targetWithTransforms=(0,bt.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,c=this.relativeParent.target,l=this.options.layoutAnchor||void 0,Ct(r.x,a.x,c.x,l?.x),Ct(r.y,a.y,c.y,l?.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):Ue(this.target,this.layout.layoutBox),(0,_e.o4)(this.target,this.targetDelta)):Ue(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&Boolean(o.resumingFrom)===Boolean(this.resumingFrom)&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),Ee.value&&an.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!(0,rn.vk)(this.parent.latestValues)&&!(0,rn.vF)(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,bt.ge)(),this.relativeTargetOrigin=(0,bt.ge)(),Vt(this.relativeTargetOrigin,e,n,this.options.layoutAnchor||void 0),Ue(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const t=this.getLead(),e=Boolean(this.resumingFrom)||this!==t;let n=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Dt.uv.timestamp&&(n=!1),n)return;const{layout:i,layoutId:s}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!s)return;Ue(this.layoutCorrected,this.layout.layoutBox);const o=this.treeScale.x,r=this.treeScale.y;(0,_e.OU)(this.layoutCorrected,this.treeScale,this.path,e),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,bt.ge)());const{target:a}=t;a?(this.projectionDelta&&this.prevProjectionDelta?(We(this.prevProjectionDelta.x,this.projectionDelta.x),We(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),kt(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===r&&tn(this.projectionDelta.x,this.prevProjectionDelta.x)&&tn(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),Ee.value&&an.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,bt.xU)(),this.projectionDelta=(0,bt.xU)(),this.projectionDeltaWithTransform=(0,bt.xU)()}setAnimationOrigin(t,e=!1,n){const i=this.snapshot,s=i?i.latestValues:{},o={...this.latestValues},r=(0,bt.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const a=(0,bt.ge)(),c=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=Boolean(c&&!u&&!0===this.options.crossfade&&!this.path.some(Vn));let h;this.animationProgress=0;const f=n?.interpolateProjection(t);this.mixTargetDelta=e=>{const n=e/1e3,i=f?.(n);var l,p,m,g,y,v;i?(r.x.translate=i.x,r.x.scale=(0,Tt.k)(t.x.scale,1,n),r.x.origin=t.x.origin,r.x.originPoint=t.x.originPoint,r.y.translate=i.y,r.y.scale=(0,Tt.k)(t.y.scale,1,n),r.y.origin=t.y.origin,r.y.originPoint=t.y.originPoint):(Cn(r.x,t.x,n),Cn(r.y,t.y,n)),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Vt(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,g=this.relativeTargetOrigin,y=a,v=n,Mn(m.x,g.x,y.x,v),Mn(m.y,g.y,y.y,v),h&&(l=this.relativeTarget,p=h,Ye(l.x,p.x)&&Ye(l.y,p.y))&&(this.isProjectionDirty=!1),h||(h=(0,bt.ge)()),Ue(h,this.relativeTarget)),c&&(this.animationValues=o,function(t,e,n,i,s,o){s?(t.opacity=(0,Tt.k)(0,n.opacity??1,Ie(i)),t.opacityExit=(0,Tt.k)(e.opacity??1,0,Oe(i))):o&&(t.opacity=(0,Tt.k)(e.opacity??1,n.opacity??1,i));for(let s=0;s<je;s++){const o=De.S[s];let r=Be(e,o),a=Be(n,o);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||Le(r)===Le(a)?(t[o]=Math.max((0,Tt.k)(Re(r),Re(a),i),0),(Pt.KN.test(a)||Pt.KN.test(r))&&(t[o]+="%")):t[o]=a)}(e.rotate||n.rotate)&&(t.rotate=(0,Tt.k)(e.rotate||0,n.rotate||0,i))}(o,s,this.latestValues,n,d,u)),i&&void 0!==i.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=i.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,Dt.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Dt.Gt.update((()=>{pe.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,Me.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,we.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,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);const 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(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:s}=t;
vendor: 4,416 bytes, line 1
1if(e&&n&&i){if(this!==t&&this.layout&&i&&Bn(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||(0,bt.ge)();const e=At(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=At(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}Ue(e,n),(0,_e.Ww)(e,s),kt(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nn),this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){const{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&un("z",t,i,this.animationValues);for(let e=0;e<cn.length;e++)un(`rotate${cn[e]}`,t,i,this.animationValues),un(`skew${cn[e]}`,t,i,this.animationValues);t.render();for(const e in i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=D(e?.pointerEvents)||"",void(t.transform=n?n(this.latestValues,""):"none");const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=D(e?.pointerEvents)||""),void(this.hasProjected&&!(0,rn.HD)(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1));t.visibility="";const s=i.animationValues||i.latestValues;this.applyTransformsToTarget();let o=function(t,e,n){let i="";const s=t.x.translate/e.x,o=t.y.translate/e.y,r=n?.z||0;if((s||o||r)&&(i=`translate3d(${s}px, ${o}px, ${r}px) `),1===e.x&&1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,pathRotation:s,rotateX:o,rotateY:r,skewX:a,skewY:c}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),s&&(i+=`rotate(${s}deg) `),o&&(i+=`rotateX(${o}deg) `),r&&(i+=`rotateY(${r}deg) `),a&&(i+=`skewX(${a}deg) `),c&&(i+=`skewY(${c}deg) `)}const a=t.x.scale*e.x,c=t.y.scale*e.y;return 1===a&&1===c||(i+=`scale(${a}, ${c})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);n&&(o=n(s,o)),t.transform=o;const{x:r,y:a}=this.projectionDelta;t.transformOrigin=`${100*r.origin}% ${100*a.origin}% 0`,i.animationValues?t.opacity=i===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in Ae.H){if(void 0===s[e])continue;const{correct:n,applyTo:r,isCSSVariable:a}=Ae.H[e],c="none"===o?s[e]:n(s[e],i);if(r){const e=r.length;for(let n=0;n<e;n++)t[r[n]]=c}else a?this.options.visualElement.renderState.vars[e]=c:t[e]=c}this.options.layoutId&&(t.pointerEvents=i===this?D(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((t=>t.currentAnimation?.stop())),this.root.nodes.forEach(vn),this.root.sharedNodes.clear()}}}function fn(t){t.updateLayout()}function pn(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=t.layout,{animationType:s}=t.options,o=e.source!==t.layout.source;if("size"===s)St((t=>{const i=o?e.measuredBox[t]:e.layoutBox[t],s=At(i);i.min=n[t].min,i.max=i.min+s}));else if("x"===s||"y"===s){const t="x"===s?"y":"x";$e(o?e.measuredBox[t]:e.layoutBox[t],n[t])}else Bn(s,e.layoutBox,n)&&St((i=>
1{const s=o?e.measuredBox[i]:e.layoutBox[i],r=At(n[i]);s.max=s.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+r)}));const r=(0,bt.xU)();kt(r,n,e.layoutBox);const a=(0,bt.xU)();o?kt(a,t.applyTransform(i,!0),e.measuredBox):kt(a,n,e.layoutBox);const c=!qe(r);let l=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:s,layout:o}=i;if(s&&o){const r=t.options.layoutAnchor||void 0,a=(0,bt.ge)();Vt(a,e.layoutBox,s.layoutBox,r);const c=(0,bt.ge)();Vt(c,n,o.layoutBox,r),Ze(a,c)||(l=!0),i.options.layoutRoot&&(t.relativeTarget=c,t.relativeTargetOrigin=a,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function mn(t){Ee.value&&an.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function gn(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function yn(t){t.clearSnapshot()}function vn(t){t.clearMeasurements()}function bn(t){t.isLayoutDirty=!0,t.updateLayout()}function xn(t){t.isLayoutDirty=!1}function wn(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function Sn(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Pn(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Tn(t){t.resolveTargetDelta()}function An(t){t.calcProjection()}function En(t){t.resetSkewAndRotation()}function kn(t){t.removeLeadSnapshot()}function Cn(t,e,n){t.translate=(0,Tt.k)(e.translate,0,n),t.scale=(0,Tt.k)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Mn(t,e,n,i){t.min=(0,Tt.k)(e.min,n.min,i),t.max=(0,Tt.k)(e.max,n.max,i)}function Vn(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const Dn={duration:.45,ease:[.4,0,.1,1]},jn=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Rn=jn("applewebkit/")&&!jn("chrome/")?Math.round:vt.l;function Ln(t){t.min=Rn(t.min),t.max=Rn(t.max)}function Bn(t,e,n){return"position"===t||"preserve-aspect"===t&&!function(t,e){return Math.abs(t-e)<=.2}(Je(e),Je(n))}function In(t){return t!==t.root&&t.scroll?.wasRoot}const On=hn({attachResizeListener:(t,e)=>Ft(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Fn={current:void 0},$n=hn({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Fn.current){const t=new On({});t.mount(window),t.setOptions({layoutScroll:!0}),Fn.current=t}return Fn.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Un={pan:{Feature:class extends et{constructor(){super(...arguments),this.removePointerDownListener=vt.l}onPointerDown(t){this.session=new qt(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Xt(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:fe(t),onStart:fe(e),onMove:fe(n),onEnd:(t,e)=>{delete this.session,i&&Dt.Gt.postRender((()=>i(t,e)))}}}mount(){this.removePointerDownListener=Nt(this.node.current,"pointerdown",(t=>this.onPointerDown(t)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends et{constructor(t){super(t),this.removeGroupControls=vt.l,this.removeListeners=vt.l,this.controls=new ue(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||vt.l}update(){const{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:$n,MeasureLayout:be}};var Wn=n("efc5ed04be4e77f0f41d");function _n(t,e){const n=(0,Wn.K)(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function Nn(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);const s=i["onHover"+n];s&&Dt.Gt.postRender((()=>s(e,_t(e))))}var Xn=n("373a57aad0619ef17bb6");const Gn=(t,e)=>!!e&&(t===e||Gn(t,e.parentElement)),zn=new WeakSet;function Kn(t){return e=>{"Enter"===e.key&&t(e)}}function Hn(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function qn(t){return Wt(t)&&!wt()}const Yn=new WeakSet;function Qn(t,e,n){const{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);const s=i["onTap"+("End"===n?"":n)];s&&Dt.Gt.postRender((()=>s(e,_t(e))))}const Zn=new WeakMap,Jn=new WeakMap,ti=t=>{const e=Zn.get(t.target);e&&e(t)}
1,ei=t=>{t.forEach(ti)};const ni={some:0,all:1},ii=tt({...yt,inView:{Feature:class extends et{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:s}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:ni[i]};this.stopObserver=function(t,e,n){const i=function({root:t,...e}){const n=t||document;Jn.has(n)||Jn.set(n,{});const i=Jn.get(n),s=JSON.stringify(e);return i[s]||(i[s]=new IntersectionObserver(ei,{root:t,...e})),i[s]}(e);return Zn.set(t,n),i.observe(t),()=>{Zn.delete(t),i.unobserve(t)}}(this.node.current,o,(t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends et{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:e,propagate:n}=this.node.props;this.unmount=function(t,e,n={}){const[i,s,o]=_n(t,n),r=t=>{const i=t.currentTarget;if(!qn(t))return;if(Yn.has(t))return;zn.add(i),n.stopPropagation&&Yn.add(t);const o=e(i,t),r={...s,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",c,r),window.removeEventListener("pointercancel",l,r),zn.has(i)&&zn.delete(i),qn(t)&&"function"==typeof o&&o(t,{success:e})},c=t=>{a(t,i===window||i===document||n.useGlobalTarget||Gn(i,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",c,r),window.addEventListener("pointercancel",l,r)};return i.forEach((t=>{var e;(n.useGlobalTarget?window:t).addEventListener("pointerdown",r,s),(0,Xn.s)(t)&&(t.addEventListener("focus",(t=>((t,e)=>{const n=t.currentTarget;if(!n)return;const i=Kn((()=>{if(zn.has(n))return;Hn(n,"down");const t=Kn((()=>{Hn(n,"up")}));n.addEventListener("keyup",t,e),n.addEventListener("blur",(()=>Hn(n,"cancel")),e)}));n.addEventListener("keydown",i,e),n.addEventListener("blur",(()=>n.removeEventListener("keydown",i)),e)})(t,s))),e=t,It.has(e.tagName)||!0===e.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))})),o}(t,((t,e)=>(Qn(this.node,e,"Start"),(t,{success:e})=>Qn(this.node,t,e?"End":"Cancel"))),{useGlobalTarget:e,stopPropagation:!1===n?.tap})}unmount(){}}},focus:{Feature:class extends et{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,Gt.F)(Ft(this.node.current,"focus",(()=>this.onFocus())),Ft(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends et{mount(){const{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){const[i,s,o]=_n(t,n);return i.forEach((t=>{let n,i=!1,o=!1;const r=e=>{n&&(n(e),n=void 0),t.removeEventListener("pointerleave",c)},a=t=>{i=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,r(t))},c=t=>{"touch"!==t.pointerType&&(i?o=!0:r(t))};t.addEventListener("pointerenter",(i=>{if("touch"===i.pointerType||wt())return;o=!1;const r=e(t,i);"function"==typeof r&&(n=r,t.addEventListener("pointerleave",c,s))}),s),t.addEventListener("pointerdown",(()=>{i=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)}),s)})),o}(t,((t,e)=>(Nn(this.node,e,"Start"),t=>Nn(this.node,t,"End")))))}unmount(){}}},...Un,layout:{ProjectionNode:$n,MeasureLayout:be}},c)},e29b16faf462221bcddf:(t,e,n)=>{"use strict";n.d(e,{$:()=>i,V:()=>s});let i=()=>{},s=()=>{}},e3cc136ac8ab1c7ea19b:(t,e,n)=>{"use strict";n.d(e,{C:()=>i});const i=new WeakMap},e45c75664dfe55e64b4e:(t,e,n)=>{"use strict";n.d(e,{x:()=>s});var i=n("5446b589d2db6c8ff7fe");function s(t){return(0,i.G)(t)&&"ownerSVGElement"in t}},eb9fa21d440cf874ecb0:(t,e,n)=>{"use strict";n.d(e,{zK:()=>o});var i=n("d1a4221f0a9206bd8085"),s=n("d2edb134e53a37eb0848");function o(t,{layout:e,layoutId:n}){return i.f.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!s.H[t]||"opacity"===t)}},ecdcb34710afbf921a7c:(t,e,n)=>{"use strict";n.d(e,{X4:()=>o,ai:()=>s,hs:()=>r});var i=n("485f643c3397a5151148");const s={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},o={...s,transform:t=>(0,i.q)(0,1,t)},r={...s,default:1}},ef2ee71f68f3a0a474f9:(t,e,n)=>{"use strict";function i(t){const e=[{},{}];
1return t?.values.forEach(((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()})),e}function s(t,e,n,s){if("function"==typeof e){const[o,r]=i(s);e=e(void 0!==n?n:t.custom,o,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[o,r]=i(s);e=e(void 0!==n?n:t.custom,o,r)}return e}n.d(e,{a:()=>s})},efc5ed04be4e77f0f41d:(t,e,n)=>{"use strict";function i(t,e,n){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let i=document;e&&(i=e.current);const s=n?.[t]??i.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter((t=>null!=t))}n.d(e,{K:()=>i})},f4aaf7c16b03d6a705a2:(t,e,n)=>{"use strict";n.d(e,{OQ:()=>l,bt:()=>a});var i=n("629fb43ad0acc14b9289"),s=n("16f7ee8b755662a25a89"),o=n("050c39548fb76aed5cdf"),r=n("185f5199eef85c7b1e23");const a={current:void 0};class c{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{const e=o.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}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 i.v);const n=this.events[t].add(e);return"change"===t?()=>{n(),r.Gt.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.f)(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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function l(t,e){return new c(t,e)}},fa0a630f46d026f253c3:(t,e,n)=>{"use strict";n.d(e,{M:()=>s});var i=n("f29b77cd1c7382d8894a");function s(t){const e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},fce7d0517717ad19466d:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var i=n("f29b77cd1c7382d8894a"),s=n("5d5b66fa5eab0279b752"),o=n("58dbf53c3ec7157af3f2"),r=n("d0ed015358e51d95ca9c"),a=n("a1ca5acfbf0478960314"),c=t=>{var e=t.src||"",n=t.placeholder||"",{disableProgressiveImage:c}=(0,r.Ee)(),[l,u]=i.useState(!1),d=i.useCallback((t=>{t&&u(!0)}),[]);return c?(0,a.jsx)(a.Fragment,{children:t.children(t.src,!1)}):(0,a.jsx)(o.A,{disabled:l,threshold:[0,1],onChange:d,style:{position:"relative",width:"100%"},children:i=>(0,a.jsxs)(a.Fragment,{children:[i?(0,a.jsx)(s.A,{src:e,placeholder:n,children:(e,n)=>
1t.children(e,n)}):(0,a.jsx)(a.Fragment,{children:t.children(n)}),(0,a.jsx)("noscript",{children:(0,a.jsx)("img",{className:"no-script",src:e,alt:t.assetTitle})})]})})};const l=i.memo(c)},fde45e0bc1f54c563615:(t,e,n)=>{"use strict";n.d(e,{ge:()=>s,xU:()=>i});const i=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),s=()=>({x:{min:0,max:0},y:{min:0,max:0}})}}]);

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.