PageSourceSearch

https://lab.flabslis.com/static/js/9091.a73a3afe.js

js flabslis.com collected 2026-10-01 14:21:35 UTC 60,230 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkflabs_frontend||=[]).push([[9091],{83753(t,e,i){function s(t){let{top:e,left:i,right:s,bottom:o}=t;return{x:{min:i,max:s},y:{min:e,max:o}}}function o(t){let{x:e,y:i}=t;return{top:i.min,right:e.max,bottom:i.max,left:e.min}}function n(t,e){if(!e)return t;const i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}i.d(e,{FY:()=>s,bS:()=>n,pA:()=>o})},6110(t,e,i){i.d(e,{OU:()=>c,Ql:()=>d,Ww:()=>f,hq:()=>n,o4:()=>l});var s=i(86240),o=i(11315);function n(t,e,i){return i+e*(t-i)}function r(t,e,i,s,o){return void 0!==o&&(t=n(t,o,s)),n(t,i,s)+e}function a(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;t.min=r(t.min,e,i,s,o),t.max=r(t.max,e,i,s,o)}function l(t,e){let{x:i,y:s}=e;a(t.x,i.translate,i.scale,i.originPoint),a(t.y,s.translate,s.scale,s.originPoint)}const h=.999999999999,u=1.0000000000001;function c(t,e,i){let s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const n=i.length;if(!n)return;let r,a;e.x=e.y=1;for(let h=0;h<n;h++){r=i[h],a=r.projectionDelta;const{visualElement:n}=r.options;n&&n.props.style&&"contents"===n.props.style.display||(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(d(t.x,-r.scroll.offset.x),d(t.y,-r.scroll.offset.y)),a&&(e.x*=a.x.scale,e.y*=a.y.scale,l(t,a)),s&&(0,o.HD)(r.latestValues)&&f(t,r.latestValues,r.layout?.layoutBox))}e.x<u&&e.x>h&&(e.x=1),e.y<u&&e.y>h&&(e.y=1)}function d(t,e){t.min+=e,t.max+=e}function p(t,e,i,o){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5;a(t,e,i,(0,s.k)(t.min,t.max,n),o)}function m(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function f(t,e,i){const s=i??t;p(t.x,m(e.x,s.x),e.scaleX,e.scale,e.originX),p(t.y,m(e.y,s.y),e.scaleY,e.scale,e.originY)}},15605(t,e,i){i.d(e,{CQ:()=>o,HQ:()=>n,N:()=>h,jA:()=>c,vb:()=>a});var s=i(86240);function o(t){return t.max-t.min}function n(t,e,i){return Math.abs(t-e)<=i}function r(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=n,t.originPoint=(0,s.k)(e.min,e.max,t.origin),t.scale=o(i)/o(e),t.translate=(0,s.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function a(t,e,i,s){r(t.x,e.x,i.x,s?s.originX:void 0),r(t.y,e.y,i.y,s?s.originY:void 0)}function l(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const r=n?(0,s.k)(i.min,i.max,n):i.min;t.min=r+e.min,t.max=t.min+o(e)}function h(t,e,i,s){l(t.x,e.x,i.x,s?.x),l(t.y,e.y,i.y,s?.y)}function u(t,e,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const r=n?(0,s.k)(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+o(e)}function c(t,e,i,s){u(t.x,e.x,i.x,s?.x),u(t.y,e.y,i.y,s?.y)}},38199(t,e,i){i.d(e,["ge",0,()=>({x:{min:0,max:0},y:{min:0,max:0}}),"xU",0,()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}})])},95309(t,e,i){i.d(e,{P:()=>Et});var s=i(6732),o=i(32038),n=i(49389),r=i(18345),a=i(58171),l=i(5259),h=i(81903),u=i(77065),c=i(80172),d=i(1652),p=i(65554),m=i(51047);function f(t,e){const i=u.k.now(),s=o=>{let{timestamp:n}=o;const r=n-i;r>=e&&((0,m.WG)(s),t(r-e))};return m.Gt.setup(s,!0),()=>(0,m.WG)(s)}var y=i(22936);var g=i(86240),v=i(82830),x=i(64043),T=i(1098),V=i(90584),P=i(39712);const S=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],w=S.length,A=t=>"string"==typeof t?parseFloat(t):t,b=t=>"number"==typeof t||T.px.test(t);function B(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const R=D(0,.5,V.yT),k=D(.5,.95,n.l);function D(t,e,i){return s=>s<t?0:s>e?1:i((0,P.q)(t,e,s))}function C(t,e){t.min=e.min,t.max=e.max}function j(t,e){C(t.x,e.x),C(t.y,e.y)}function M(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var L=i(6110),E=i(15605);function F(t,e,i,s,o){return t-=e,t=(0,L.hq)(t,1/i,s),void 0!==o&&(t=(0,L.hq)(t,1/o,s)),t}function U(t,e,i,s,o){let[n,r,a]=i;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,o=arguments.length>4?arguments[4]:void 0,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;T.KN.test(e)&&(e=parseFloat(e),e=(0,g.k)(r.min,r.max,e/100)-r.min);if("number"!=typeof e)return;let a=(0,g.k)(n.min,n.max,s);t===n&&(a-=e),t.min=F(t.min,e,i,a,o),t.max=F(t.max,e,i,a,o)}(t,e[n],e[r],e[a],e.scale,s,o)}const O=["x","scaleX","originX"],I=["y","scaleY","originY"];function $(t,e,i,s){U(t.x,e,O,i?i.x:void 0,s?s.x:void 0),U(t.y,e,I,i?i.y:void 0,s?s.y:void 0)}var z=i(38199);function X(t){return 0===t.translate&&1===t.scale}function N(t){return X(t.x)&&X(t.y)}function Q(t,e){return t.min===e.min&&t.max===e.max}function W(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Y(t,e){return W(t.x,e.x)&&W(t.y,e.y)}function H(t){return(0,E.CQ)(t.x)/(0,E.CQ)(t.y)}function G(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var q=i(86544);class K{constructor(){this.members=[]}add(t){(0,q.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){const i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;const s=i.instance;s&&!1!==s.isConnected||i.snapshot||((0,q.Ai)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,q.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)}
1}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 i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();const{layoutDependency:s}=i.options,{layoutDependency:o}=t.options;void 0!==s&&s===o||(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.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)}}var Z=i(28387);const _=(t,e)=>t.depth-e.depth;class J{constructor(){this.children=[],this.isDirty=!1}add(t){(0,q.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,q.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(_),this.isDirty=!1,this.children.forEach(t)}}var tt=i(11315),et=i(95320);const it={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},st=["","X","Y","Z"];let ot=0;function nt(t,e,i,s){const{latestValues:o}=e;o[t]&&(i[t]=o[t],e.setStaticValue(t,0),s&&(s[t]=0))}function rt(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const i=(0,a.P)(e);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:e,layoutId:s}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",m.Gt,!(e||s))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&rt(s)}function at(t){let{attachResizeListener:e,defaultParent:i,measureScroll:n,checkIsScrollRoot:a,resetTransform:V}=t;return class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i?.();this.id=ot++,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,p.Q.value&&(it.nodes=it.calculatedTargetDeltas=it.calculatedProjections=0),this.nodes.forEach(ut),this.nodes.forEach(xt),this.nodes.forEach(Tt),this.nodes.forEach(ct),p.Q.addProjectionMetrics&&p.Q.addProjectionMetrics(it)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new J)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new s.v),this.eventHandlers.get(t).add(e)}notifyListeners(t){const e=this.eventHandlers.get(t);for(var i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];e&&e.notify(...s)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;var i;this.isSVG=(0,y.x)(t)&&(i=t,!((0,y.x)(i)&&"svg"===i.tagName)),this.instance=t;const{layoutId:s,layout:o,visualElement:n}=this.options;if(n&&!n.current&&n.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(o||s)&&(this.isLayoutDirty=!0),e){let i,s=0;const o=()=>this.root.updateBlockedByResize=!1;m.Gt.read(()=>{s=window.innerWidth}),e(t,()=>{const t=window.innerWidth;t!==s&&(s=t,this.root.updateBlockedByResize=!0,i&&i(),i=f(o,250),et.w.hasAnimatedSinceResize&&(et.w.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(vt)))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&n&&(s||o)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i,hasRelativeLayoutChanged:s,layout:o}=t;if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||n.getDefaultTransition()||bt,{onLayoutAnimationStart:a,onLayoutAnimationComplete:h}=n.getProps(),u=!this.targetLayout||!Y(this.targetLayout,o),c=!i&&s;if(this.options.layoutRoot||this.resumeFrom||c||i&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...(0,l.r)(r,"layout"),onPlay:a,onComplete:h};(n.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c,t.path)}else i||vt(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}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,m.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.forEach(Vt),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&rt(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:i}=this.options;if(void 0===e&&!i)return;const s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked()){const t=this.updateBlockedByResize;return this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(mt),void this.nodes.forEach(pt)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ft);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(yt),this.nodes.forEach(gt),this.nodes.forEach(lt),this.nodes.forEach(ht)):this.nodes.forEach(ft),this.clearAllSnapshots();const t=u.k.now();m.uv.delta=(0,o.q)(0,1e3/60,t-m.uv.timestamp),m.uv.timestamp=t,m.uv.isProcessing=!0,m.PP.update.process(m.uv),m.PP.preRender.process(m.uv),m.PP.render.process(m.uv),m.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,h.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(dt),this.sharedNodes.forEach(Pt)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,m.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){m.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,E.CQ)(this.snapshot.measuredBox.x)||(0,E.CQ)(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,z.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(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",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=a(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(!V)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!N(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,o=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tt.HD)(this.latestValues)||o)&&(V(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const e=this.measurePageBox();let i=this.removeElementScroll(e);var s;return t&&(i=this.removeTransform(i)),kt((s=i).x),kt(s.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return(0,z.ge)();const e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Ct))){const{scroll:t}=this.root;t&&((0,L.Ql)(e.x,t.offset.x),(0,L.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){const e=(0,z.ge)();if(j(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){const s=this.path[i],{scroll:o,options:n}=s;s!==this.root&&o&&n.layoutScroll&&(o.wasRoot&&j(e,t),(0,L.Ql)(e.x,o.offset.x),(0,L.Ql)(e.y,o.offset.y))}return e}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const i=(arguments.length>2?arguments[2]:void 0)||(0,z.ge)();j(i,t);for(let t=0;t<this.path.length;t++){const s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&((0,L.Ql)(i.x,-s.scroll.offset.x),(0,L.Ql)(i.y,-s.scroll.offset.y)),(0,tt.HD)(s.latestValues)&&(0,L.Ww)(i,s.latestValues,s.layout?.layoutBox)}return(0,tt.HD)(this.latestValues)&&(0,L.Ww)(i,this.latestValues,this.layout?.layoutBox),i}removeTransform(t){const e=(0,z.ge)();j(e,t);for(let t=0;t<this.path.length;t++){const i=this.path[t];if(!(0,tt.HD)(i.latestValues))continue;let s;i.instance&&((0,tt.vk)(i.latestValues)&&i.updateSnapshot(),s=(0,z.ge)(),j(s,i.measurePageBox())),$(e,i.latestValues,i.snapshot?.layoutBox,s)}return(0,tt.HD)(this.latestValues)&&$(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!==m.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:s,layoutId:o}=this.options;if(!this.layout||!s&&!o)return;this.resolvedRelativeTargetAt=m.uv.timestamp;const n=this.getClosestProjectingParent();n&&this.linkedParentVersion!==n.layoutVersion&&!n.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&n&&n.layout?this.createRelativeTarget(n,this.layout.layoutBox,n.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,z.ge)(),this.targetWithTransforms=(0,z.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,E.N)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):j(this.target,this.layout.layoutBox),(0,L.o4)(this.target,this.targetDelta)):j(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&n&&Boolean(n.resumingFrom)===Boolean(this.resumingFrom)&&!n.options.layoutScroll&&n.target&&1!==this.animationProgress?this.createRelativeTarget(n,this.target,n.target):this.relativeParent=this.relativeTarget=void 0),p.Q.value&&it.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!(0,tt.vk)(this.parent.latestValues)&&!(0,tt.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,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,z.ge)(),this.relativeTargetOrigin=(0,z.ge)(),(0,E.jA)(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),j(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const t=this.getLead(),e=Boolean(this.resumingFrom)||this!==t;let i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===m.uv.timestamp&&(i=!1),i)return;const{layout:s,layoutId:o}=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||!s&&!o)return;j(this.layoutCorrected,this.layout.layoutBox);const n=this.treeScale.x,r=this.treeScale.y;(0,L.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,z.ge)());const{target:a}=t;a?(this.projectionDelta&&this.prevProjectionDelta?(M(this.prevProjectionDelta.x,this.projectionDelta.x),M(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,E.vb)(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===n&&this.treeScale.y===r&&G(this.projectionDelta.x,this.prevProjectionDelta.x)&&G(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),p.Q.value&&it.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[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,z.xU)(),this.projectionDelta=(0,z.xU)(),this.projectionDeltaWithTransform=(0,z.xU)()}setAnimationOrigin(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2?arguments[2]:void 0;const s=this.snapshot,o=s?s.latestValues:{},n={...this.latestValues},r=(0,z.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const a=(0,z.ge)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,c=Boolean(l&&!u&&!0===this.options.crossfade&&!this.path.some(At));let d;this.animationProgress=0;const p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{const i=e/1e3,s=p?.(i);var h,m,f,y,v,x;s?(r.x.translate=s.x,r.x.scale=(0,g.k)(t.x.scale,1,i),r.x.origin=t.x.origin,r.x.originPoint=t.x.originPoint,r.y.translate=s.y,r.y.scale=(0,g.k)(t.y.scale,1,i),r.y.origin=t.y.origin,r.y.originPoint=t.y.originPoint):(St(r.x,t.x,i),St(r.y,t.y,i)),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,E.jA)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,y=this.relativeTargetOrigin,v=a,x=i,wt(f.x,y.x,v.x,x),wt(f.y,y.y,v.y,x),d&&(h=this.relativeTarget,m=d,Q(h.x,m.x)&&Q(h.y,m.y))&&(this.isProjectionDirty=!1),d||(d=(0,z.ge)()),j(d,this.relativeTarget)),l&&(this.animationValues=n,function(t,e,i,s,o,n){o?(t.opacity=(0,g.k)(0,i.opacity??1,R(s)),t.opacityExit=(0,g.k)(e.opacity??1,0,k(s))):n&&(t.opacity=(0,g.k)(e.opacity??1,i.opacity??1,s));for(let o=0;o<w;o++){const n=S[o];let r=B(e,n),a=B(i,n);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||b(r)===b(a)?(t[n]=Math.max((0,g.k)(A(r),A(a),s),0),(T.KN.test(a)||T.KN.test(r))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,g.k)(e.rotate||0,i.rotate||0,s))}(n,o,this.latestValues,i,c,u)),s&&void 0!==s.rotate&&(this.animationValues||(this.animationValues=n),this.animationValues.pathRotation=s.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,m.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=m.Gt.update(()=>{et.w.hasAnimatedSinceResize=!0,d.q.layout++,this.motionValue||(this.motionValue=(0,v.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,r.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{d.q.layout--},onComplete:()=>{d.q.layout--,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:i,layout:s,latestValues:o}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&Dt(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,z.ge)();const e=(0,E.CQ)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;const s=(0,E.CQ)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}j(e,i),(0,L.Ww)(e,o),(0,E.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new K);this.sharedNodes.get(t).add(e);const i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){const{layoutId:t}=this.options;
1return 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(){let{needsReset:t,transition:e,preserveFollowOpacity:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const s=this.getStack();s&&s.promote(this,i),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:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;const s={};i.z&&nt("z",t,s,this.animationValues);for(let e=0;e<st.length;e++)nt(`rotate${st[e]}`,t,s,this.animationValues),nt(`skew${st[e]}`,t,s,this.animationValues);t.render();for(const e in s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,x.u)(e?.pointerEvents)||"",void(t.transform=i?i(this.latestValues,""):"none");const s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,x.u)(e?.pointerEvents)||""),void(this.hasProjected&&!(0,tt.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1));t.visibility="";const o=s.animationValues||s.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let s="";const o=t.x.translate/e.x,n=t.y.translate/e.y,r=i?.z||0;if((o||n||r)&&(s=`translate3d(${o}px, ${n}px, ${r}px) `),1===e.x&&1===e.y||(s+=`scale(${1/e.x}, ${1/e.y}) `),i){const{transformPerspective:t,rotate:e,pathRotation:o,rotateX:n,rotateY:r,skewX:a,skewY:l}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),o&&(s+=`rotate(${o}deg) `),n&&(s+=`rotateX(${n}deg) `),r&&(s+=`rotateY(${r}deg) `),a&&(s+=`skewX(${a}deg) `),l&&(s+=`skewY(${l}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,o);i&&(n=i(o,n)),t.transform=n;const{x:r,y:a}=this.projectionDelta;t.transformOrigin=`${100*r.origin}% ${100*a.origin}% 0`,s.animationValues?t.opacity=s===this?o.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:t.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0;for(const e in c.H){if(void 0===o[e])continue;const{correct:i,applyTo:r,isCSSVariable:a}=c.H[e],l="none"===n?o[e]:i(o[e],s);if(r){const e=r.length;for(let i=0;i<e;i++)t[r[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?(0,x.u)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(pt),this.root.sharedNodes.clear()}}}function lt(t){t.updateLayout()}function ht(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=t.layout,{animationType:o}=t.options,n=e.source!==t.layout.source;if("size"===o)(0,Z.X)(t=>{const s=n?e.measuredBox[t]:e.layoutBox[t],o=(0,E.CQ)(s);s.min=i[t].min,s.max=s.min+o});else if("x"===o||"y"===o){const t="x"===o?"y":"x";C(n?e.measuredBox[t]:e.layoutBox[t],i[t])}else Dt(o,e.layoutBox,i)&&(0,Z.X)(s=>{const o=n?e.measuredBox[s]:e.layoutBox[s],r=(0,E.CQ)(i[s]);o.max=o.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+r)});const r=(0,z.xU)();(0,E.vb)(r,i,e.layoutBox);const a=(0,z.xU)();n?(0,E.vb)(a,t.applyTransform(s,!0),e.measuredBox):(0,E.vb)(a,i,e.layoutBox);const l=!N(r);let h=!1;if(!t.resumeFrom){const s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){const{snapshot:o,layout:n}=s;if(o&&n){const r=t.options.layoutAnchor||void 0,a=(0,z.ge)();(0,E.jA)(a,e.layoutBox,o.layoutBox,r);const l=(0,z.ge)();(0,E.jA)(l,i,n.layoutBox,r),Y(a,l)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ut(t){p.Q.value&&it.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 ct(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function dt(t){t.clearSnapshot()}function pt(t){t.clearMeasurements()}function mt(t){t.isLayoutDirty=!0,t.updateLayout()}function ft(t){t.isLayoutDirty=!1}function yt(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function gt(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function vt(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function xt(t){t.resolveTargetDelta()}function Tt(t){t.calcProjection()}
1function Vt(t){t.resetSkewAndRotation()}function Pt(t){t.removeLeadSnapshot()}function St(t,e,i){t.translate=(0,g.k)(e.translate,0,i),t.scale=(0,g.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function wt(t,e,i,s){t.min=(0,g.k)(e.min,i.min,s),t.max=(0,g.k)(e.max,i.max,s)}function At(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const bt={duration:.45,ease:[.4,0,.1,1]},Bt=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Rt=Bt("applewebkit/")&&!Bt("chrome/")?Math.round:n.l;function kt(t){t.min=Rt(t.min),t.max=Rt(t.max)}function Dt(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,E.HQ)(H(e),H(i),.2)}function Ct(t){return t!==t.root&&t.scroll?.wasRoot}var jt=i(44367);const Mt=at({attachResizeListener:(t,e)=>(0,jt.k)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Lt={current:void 0},Et=at({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Lt.current){const t=new Mt({});t.mount(window),t.setOptions({layoutScroll:!0}),Lt.current=t}return Lt.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)})},95320(t,e,i){i.d(e,["w",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}])},80172(t,e,i){i.d(e,{H:()=>h});var s=i(1098);function o(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const n={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 r=i(61617),a=i(86240);const l={correct:(t,e)=>{let{treeScale:i,projectionDelta:s}=e;const o=t,n=r.f.parse(t);if(n.length>5)return o;const l=r.f.createTransformer(t),h="number"!=typeof n[0]?1:0,u=s.x.scale*i.x,c=s.y.scale*i.y;n[0+h]/=u,n[1+h]/=c;const d=(0,a.k)(u,c,.5);return"number"==typeof n[2+h]&&(n[2+h]/=d),"number"==typeof n[3+h]&&(n[3+h]/=d),l(n)}};const h={borderRadius:{...n,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:n,borderTopRightRadius:n,borderBottomLeftRadius:n,borderBottomRightRadius:n,boxShadow:l}},28387(t,e,i){function s(t){return[t("x"),t("y")]}i.d(e,{X:()=>s})},11315(t,e,i){function s(t){return void 0===t||1===t}function o(t){let{scale:e,scaleX:i,scaleY:o}=t;return!s(e)||!s(i)||!s(o)}function n(t){return o(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}i.d(e,{HD:()=>n,vF:()=>r,vk:()=>o})},37800(t,e,i){i.d(e,{L:()=>r,m:()=>n});var s=i(83753),o=i(6110);function n(t,e){return(0,s.FY)((0,s.bS)(t.getBoundingClientRect(),e))}function r(t,e,i){const s=n(t,i),{scroll:r}=e;return r&&((0,o.Ql)(s.x,r.offset.x),(0,o.Ql)(s.y,r.offset.y)),s}},52915(t,e,i){i.d(e,{X:()=>s});class s{constructor(t){this.isMounted=!1,this.node=t}update(){}}},49083(t,e,i){i.d(e,{BX:()=>D,vK:()=>k,lr:()=>R});var s=i(96643),o=i(6046),n=i(78626),r=i(6732),a=i(47293),l=i(13659),h=i(23984),u=i(81903),c=i(77065),d=i(38199),p=i(82830),m=i(61617),f=i(64545),y=i(28771),g=i(37799);const v=new WeakMap;var x=i(84672),T=i(23766);const V={current:null},P={current:!1},S="undefined"!=typeof window;var w=i(63066),A=i(51047);const b=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let B={};function R(t){B=t}function k(){return B}class D{scrapeMotionValuesFromProps(t,e,i){return{}}constructor(t){let{parent:e,props:i,presenceContext:s,reducedMotionConfig:o,skipAnimations:n,blockInitialAnimation:r,visualState:l}=t,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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=c.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,A.Gt.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=l;this.latestValues=u,this.baseTarget={...u},this.initialValues=i.initial?{...u}:{},this.renderState=d,this.parent=e,this.props=i,this.presenceContext=s,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=n,this.options=h,this.blockInitialAnimation=Boolean(r),this.isControllingVariants=(0,x.e)(i),this.isVariantNode=(0,x.O)(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:p,...m}=this.scrapeMotionValuesFromProps(i,{},this);for(const t in m){const e=m[t];void 0!==u[t]&&(0,g.S)(e)&&e.set(u[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,v.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(P.current||function(){if(P.current=!0,S)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>V.current=t.matches;t.addEventListener("change",e),e()}else V.current=!1}(),this.shouldReduceMotion=V.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,A.WG)(this.notifyUpdate),(0,A.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&&h.M.has(t)&&this.current instanceof HTMLElement){const{factory:i,keyframes:o,times:n,ease:r,duration:a}=e.accelerate,h=new l.m({element:this.current,name:t,keyframes:o,times:n,ease:r,duration:(0,s.f)(a)}),u=i(h);return void this.valueSubscriptions.set(t,()=>{u(),h.cancel()})}const i=T.f.has(t);i&&this.onBindTransform&&this.onBindTransform();const o=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&A.Gt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let n;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{o(),n&&n()})}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 B){const e=B[t];if(!e)continue;const{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,d.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<b.length;e++){const i=b[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){for(const s in e){const o=e[s],n=i[s];if((0,g.S)(o))t.addValue(s,o);else if((0,g.S)(n))t.addValue(s,(0,p.OQ)(o,{owner:t}));else if(n!==o)if(t.hasValue(s)){const e=t.getValue(s);!0===e.liveStyle?e.jump(o):e.hasAnimated||e.set(o)}else{const e=t.getStaticValue(s);t.addValue(s,(0,p.OQ)(void 0!==e?e:o,{owner:t}))}}for(const s in i)void 0===e[s]&&t.removeValue(s);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 i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);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 i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,p.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&((0,o.i)(i)||(0,n.$)(i))?i=parseFloat(i):!(0,y.t)(i)&&m.f.test(e)&&(i=(0,f.J)(t,e)),this.setBaseTarget(t,(0,g.S)(i)?i.get():i)),(0,g.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let i;if("string"==typeof e||"object"==typeof e){const s=(0,w.a)(this.props,e,this.presenceContext?.custom);s&&(i=s[t])}if(e&&void 0!==i)return i;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,g.S)(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new r.v),this.events[t].add(e)}notify(t){if(this.events[t]){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];this.events[t].notify(...i)}}scheduleRenderMicrotask(){u.k.render(this.render)}}},68488(t,e,i){i.d(e,{b:()=>r});var s=i(37799),o=i(63475),n=i(49083);class r extends n.BX{constructor(){super(...arguments),this.KeyframeResolver=o.K}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){const i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,e){let{vars:i,style:s}=e;delete i[t],delete s[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;(0,s.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},4362(t,e,i){i.d(e,{ry:()=>c,zs:()=>u});const s=t=>180*t/Math.PI,o=t=>{const e=s(Math.atan2(t[1],t[0]));return r(e)},n={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:o,rotateZ:o,skewX:t=>s(Math.atan(t[1])),skewY:t=>s(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]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),h={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>r(s(Math.atan2(t[6],t[5]))),rotateY:t=>r(s(Math.atan2(-t[2],t[0]))),rotateZ:o,rotate:o,skewX:t=>s(Math.atan(t[4])),skewY:t=>s(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 c(t,e){if(!t||"none"===t)return u(e);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,o;
1if(i)s=h,o=i;else{const e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=n,o=e}if(!o)return u(e);const r=s[e],a=o[1].split(",").map(d);return"function"==typeof r?r(a):a[r]}function d(t){return parseFloat(t.trim())}i.d(e,["Ib",0,(t,e)=>{const{transform:i="none"}=getComputedStyle(t);return c(i,e)}])},59913(t,e,i){i.d(e,{e:()=>s});function s(t,e,i){(t=>t.startsWith("--"))(e)?t.style.setProperty(e,i):t.style[e]=i}},8175(t,e,i){function s(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}i.d(e,{I:()=>s})},14552(t,e,i){i.d(e,{M:()=>c});var s=i(45294),o=i(23766),n=i(4362),r=i(37800),a=i(68488),l=i(30603),h=i(9189),u=i(59659);class c extends a.b{constructor(){super(...arguments),this.type="html",this.renderInstance=h.e}readValueFromInstance(t,e){if(o.f.has(e))return this.projection?.isProjecting?(0,n.zs)(e):(0,n.Ib)(t,e);{const o=(i=t,window.getComputedStyle(i)),n=((0,s.j4)(e)?o.getPropertyValue(e):o[e])||0;return"string"==typeof n?n.trim():n}var i}measureInstanceViewportBox(t,e){let{transformPagePoint:i}=e;return(0,r.m)(t,i)}build(t,e,i){(0,l.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,u.x)(t,e,i)}}},30603(t,e,i){i.d(e,{O:()=>h});var s=i(42824),o=i(14551),n=i(23766),r=i(45294);const a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=n.U.length;function h(t,e,i){const{style:h,vars:u,transformOrigin:c}=t;let d=!1,p=!1;for(const t in e){const i=e[t];if(n.f.has(t))d=!0;else if((0,r.j4)(t))u[t]=i;else{const e=(0,s.e)(i,o.W[t]);t.startsWith("origin")?(p=!0,c[t]=e):h[t]=e}}if(e.transform||(d||i?h.transform=function(t,e,i){let r="",h=!0;for(let u=0;u<l;u++){const l=n.U[u],c=t[l];if(void 0===c)continue;let d=!0;if("number"==typeof c)d=c===(l.startsWith("scale")?1:0);else{const t=parseFloat(c);d=l.startsWith("scale")?1===t:0===t}if(!d||i){const t=(0,s.e)(c,o.W[l]);d||(h=!1,r+=`${a[l]||l}(${t}) `),i&&(e[l]=t)}}const u=t.pathRotation;return u&&(h=!1,r+=`rotate(${(0,s.e)(u,o.W.pathRotation)}) `),r=r.trim(),i?r=i(e,h?"":r):h&&(r="none"),r}(e,t.transform,i):h.transform&&(h.transform="none")),p){const{originX:t="50%",originY:e="50%",originZ:i=0}=c;h.transformOrigin=`${t} ${e} ${i}`}}},9189(t,e,i){function s(t,e,i,s){let{style:o,vars:n}=e;const r=t.style;let a;for(a in o)r[a]=o[a];for(a in s?.applyProjectionStyles(r,i),n)r.setProperty(a,n[a])}i.d(e,{e:()=>s})},59659(t,e,i){i.d(e,{x:()=>n});var s=i(37799),o=i(58700);function n(t,e,i){const n=t.style,r=e?.style,a={};if(!n)return a;for(const e in n)((0,s.S)(n[e])||r&&(0,s.S)(r[e])||(0,o.z)(e,t)||void 0!==i?.getValue(e)?.liveStyle)&&(a[e]=n[e]);return a}},22963(t,e,i){i.d(e,{l:()=>p});var s=i(23766),o=i(40394),n=i(38199),r=i(68488),a=i(8175),l=i(81527);const h=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=i(71762),c=i(9189);var d=i(9930);class p extends r.b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=n.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.f.has(e)){const t=(0,o.D)(e);return t&&t.default||0}return e=h.has(e)?e:(0,a.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,d.x)(t,e,i)}build(t,e,i){(0,l.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){!function(t,e,i,s){(0,c.e)(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(h.has(i)?i:(0,a.I)(i),e.attrs[i])}(t,e,0,s)}mount(t){this.isSVGTag=(0,u.n)(t.tagName),super.mount(t)}}},81527(t,e,i){i.d(e,{B:()=>a});var s=i(30603);const o={offset:"stroke-dashoffset",array:"stroke-dasharray"},n={offset:"strokeDashoffset",array:"strokeDasharray"};const r=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function a(t,e,i,a,l){let{attrX:h,attrY:u,attrScale:c,pathLength:d,pathSpacing:p=1,pathOffset:m=0,...f}=e;
1if((0,s.O)(t,f,a),i)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:y,style:g}=t;y.transform&&(g.transform=y.transform,delete y.transform),(g.transform||y.transformOrigin)&&(g.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),g.transform&&(g.transformBox=l?.transformBox??"fill-box",delete y.transformBox);for(const t of r)void 0!==y[t]&&(g[t]=y[t],delete y[t]);void 0!==h&&(y.x=h),void 0!==u&&(y.y=u),void 0!==c&&(y.scale=c),void 0!==d&&function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];t.pathLength=1;const a=r?o:n;t[a.offset]=""+-s,t[a.array]=`${e} ${i}`}(y,d,p,m,!1)}},71762(t,e,i){i.d(e,["n",0,t=>"string"==typeof t&&"svg"===t.toLowerCase()])},9930(t,e,i){i.d(e,{x:()=>r});var s=i(37799),o=i(23766),n=i(59659);function r(t,e,i){const r=(0,n.x)(t,e,i);for(const i in t)if((0,s.S)(t[i])||(0,s.S)(e[i])){r[-1!==o.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]}return r}},61950(t,e,i){i.d(e,{L:()=>f});var s=i(68038),o=i(37467),n=i(8900),r=i(10709);const a=r._.length;function l(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&l(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let i=0;i<a;i++){const s=r._[i],o=t.props[s];((0,n.w)(o)||!1===o)&&(e[s]=o)}return e}var h=i(69027),u=i(8065),c=i(44910);function d(t,e){if(!Array.isArray(e))return!1;const i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}const p=[...r.U].reverse(),m=r.U.length;function f(t){let e=function(t){return e=>Promise.all(e.map(e=>{let{animation:i,options:o}=e;return(0,s._)(t,i,o)}))}(t),i=v(),r=!0,a=!1;const f=e=>(i,s)=>{const o=(0,c.K)(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(o){const{transition:t,transitionEnd:e,...s}=o;i={...i,...s,...e}}return i};function g(s){const{props:g}=t,v=l(t.parent)||{},x=[],T=new Set;let V={},P=1/0;for(let e=0;e<m;e++){const l=p[e],m=i[l],S=void 0!==g[l]?g[l]:v[l],w=(0,n.w)(S),A=l===s?m.isActive:null;!1===A&&(P=e);let b=S===v[l]&&S!==g[l]&&w;if(b&&(r||a)&&t.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...V},!m.isActive&&null===A||!S&&!m.prevProp||(0,h.N)(S)||"boolean"==typeof S)continue;if("exit"===l&&m.isActive&&!0!==A){m.prevResolvedValues&&(V={...V,...m.prevResolvedValues});continue}const B=y(m.prevProp,S);let R=B||l===s&&m.isActive&&!b&&w||e>P&&w,k=!1;const D=Array.isArray(S)?S:[S];let C=D.reduce(f(l),{});!1===A&&(C={});const{prevResolvedValues:j={}}=m,M={...j,...C},L=e=>{R=!0,T.has(e)&&(k=!0,T.delete(e)),m.needsAnimating[e]=!0;const i=t.getValue(e);i&&(i.liveStyle=!1)};for(const t in M){const e=C[t],i=j[t];if(V.hasOwnProperty(t))continue;let s=!1;s=(0,u.p)(e)&&(0,u.p)(i)?!d(e,i)||B:e!==i,s?null!=e?L(t):T.add(t):void 0!==e&&T.has(t)?L(t):m.protectedKeys[t]=!0}m.prevProp=S,m.prevResolvedValues=C,m.isActive&&(V={...V,...C}),(r||a)&&t.blockInitialAnimation&&(R=!1);const E=b&&B;R&&(!E||k)&&x.push(...D.map(e=>{const i={type:l};if("string"==typeof e&&(r||a)&&!E&&t.manuallyAnimateOnMount&&t.parent){const{parent:s}=t,n=(0,c.K)(s,e);if(s.enteringChildren&&n){const{delayChildren:e}=n.transition||{};i.delay=(0,o.L)(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(T.size){const e={};if("boolean"!=typeof g.initial){const i=(0,c.K)(t,Array.isArray(g.initial)?g.initial[0]:g.initial);i&&i.transition&&(e.transition=i.transition)}T.forEach(i=>{const s=t.getBaseTarget(i),o=t.getValue(i);o&&(o.liveStyle=!0),e[i]=s??null}),x.push({animation:e})}let S=Boolean(x.length);return!r||!1!==g.initial&&g.initial!==g.animate||t.manuallyAnimateOnMount||(S=!1),r=!1,a=!1,S?e(x):Promise.resolve()}return{animateChanges:g,setActive:function(e,s){if(i[e].isActive===s)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,s)),i[e].isActive=s;const o=g(e);for(const t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=v(),a=!0}}}function y(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!d(e,t)}function g(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function v(){return{animate:g(!0),whileInView:g(),whileHover:g(),whileTap:g(),whileDrag:g(),whileFocus:g(),exit:g()}}},69027(t,e,i){function s(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{N:()=>s})},84672(t,e,i){i.d(e,{O:()=>a,e:()=>r});var s=i(69027),o=i(8900),n=i(10709);function r(t){return(0,s.N)(t.animate)||n._.some(e=>(0,o.w)(t[e]))}function a(t){return Boolean(r(t)||t.variants)}}
1,58700(t,e,i){i.d(e,{z:()=>n});var s=i(23766),o=i(80172);function n(t,e){let{layout:i,layoutId:n}=e;return s.f.has(t)||t.startsWith("origin")||(i||void 0!==n)&&(!!o.H[t]||"opacity"===t)}},8065(t,e,i){i.d(e,["p",0,t=>Array.isArray(t)])},8900(t,e,i){function s(t){return"string"==typeof t||Array.isArray(t)}i.d(e,{w:()=>s})},14907(t,e,i){var s=i(23766);const o=new Set(["width","height","top","left","right","bottom",...s.U]);i.d(e,["$",0,o])},23766(t,e,i){const s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=(()=>new Set([...s,"pathRotation"]))();i.d(e,["U",0,s,"f",0,o])},44910(t,e,i){i.d(e,{K:()=>o});var s=i(63066);function o(t,e,i){const o=t.getProps();return(0,s.a)(o,e,void 0!==i?i:o.custom,t)}},63066(t,e,i){function s(t){const e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function o(t,e,i,o){if("function"==typeof e){const[n,r]=s(o);e=e(void 0!==i?i:t.custom,n,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[n,r]=s(o);e=e(void 0!==i?i:t.custom,n,r)}return e}i.d(e,{a:()=>o})},65231(t,e,i){i.d(e,{U:()=>l});var s=i(82830),o=i(44910),n=i(8065);function r(t,e,i){t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,s.OQ)(i))}function a(t){return(0,n.p)(t)?t[t.length-1]||0:t}function l(t,e){const i=(0,o.K)(t,e);let{transitionEnd:s={},transition:n={},...l}=i||{};l={...l,...s};for(const e in l){r(t,e,a(l[e]))}}},10709(t,e,i){const s=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],o=["initial",...s];i.d(e,["U",0,s,"_",0,o])},22547(t,e,i){i.d(e,{X:()=>y});var s=i(22936),o=i(82168);const n=new WeakMap;let r;const a=(t,e,i)=>(o,n)=>n&&n[0]?n[0][t+"Size"]:(0,s.x)(o)&&"getBBox"in o?o.getBBox()[e]:o[i],l=a("inline","width","offsetWidth"),h=a("block","height","offsetHeight");function u(t){let{target:e,borderBoxSize:i}=t;n.get(e)?.forEach(t=>{t(e,{get width(){return l(e,i)},get height(){return h(e,i)}})})}function c(t){t.forEach(u)}function d(t,e){r||"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(c));const i=(0,o.K)(t);return i.forEach(t=>{let i=n.get(t);i||(i=new Set,n.set(t,i)),i.add(e),r?.observe(t)}),()=>{i.forEach(t=>{const i=n.get(t);i?.delete(e),i?.size||r?.unobserve(t)})}}const p=new Set;let m;function f(t){return p.add(t),m||(m=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};p.forEach(e=>e(t))},window.addEventListener("resize",m)),()=>{p.delete(t),p.size||"function"!=typeof m||(window.removeEventListener("resize",m),m=void 0)}}function y(t,e){return"function"==typeof t?f(t):d(t,e)}},1652(t,e,i){i.d(e,["q",0,{layout:0,mainThread:0,waapi:0}])},65554(t,e,i){i.d(e,["Q",0,{value:null,addProjectionMetrics:null}])},43971(t,e,i){i.d(e,{G:()=>u});var s=i(32038),o=i(80024),n=i(93499),r=i(49389),a=i(68673),l=i(39712),h=i(9492);function u(t,e){let{clamp:i=!0,ease:u,mixer:c}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const d=t.length;if((0,o.V)(d===e.length,"Both input and output ranges must be the same length","range-length"),1===d)return()=>e[0];if(2===d&&e[0]===e[1])return()=>e[1];const p=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),e=[...e].reverse());const m=function(t,e,i){const s=[],o=i||n.W.mix||h.j,l=t.length-1;for(let i=0;i<l;i++){let n=o(t[i],t[i+1]);if(e){const t=Array.isArray(e)?e[i]||r.l:e;n=(0,a.F)(t,n)}s.push(n)}return s}(e,u,c),f=m.length,y=i=>{if(p&&i<t[0])return e[0];let s=0;if(f>1)for(;s<t.length-2&&!(i<t[s+1]);s++);const o=(0,l.q)(t[s],t[s+1],i);return m[s](o)};return i?e=>y((0,s.q)(t[0],t[d-1],e)):y}},19699(t,e,i){i.d(e,{s:()=>o});var s=i(80911);function o(t){return(0,s.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},22936(t,e,i){i.d(e,{x:()=>o});var s=i(80911);function o(t){return(0,s.G)(t)&&"ownerSVGElement"in t}},9492(t,e,i){i.d(e,{j:()=>w});var s=i(68673),o=i(80024),n=i(45294),r=i(63548),a=i(61617),l=i(77583),h=i(46078),u=i(13931),c=i(65970);function d(t,e){return i=>i>0?e:t}var p=i(86240);const m=(t,e,i)=>{const s=t*t,o=i*(e*e-s)+s;return o<0?0:Math.sqrt(o)},f=[l.u,c.B,h.V];function y(t){const e=(i=t,f.find(t=>t.test(i)));var i;if((0,o.$)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!Boolean(e))return!1;let s=e.parse(t);return e===h.V&&(s=(0,u.a)(s)),s}const g=(t,e)=>{const i=y(t),s=y(e);if(!i||!s)return d(t,e);const o={...i};return t=>(o.red=m(i.red,s.red,t),o.green=m(i.green,s.green,t),o.blue=m(i.blue,s.blue,t),o.alpha=(0,p.k)(i.alpha,s.alpha,t),c.B.transform(o))},v=new Set(["none","hidden"]);function x(t,e){return i=>(0,p.k)(t,e,i)}function T(t){return"number"==typeof t?x:"string"==typeof t?(0,n.pG)(t)?d:r.y.test(t)?g:S:Array.isArray(t)?V:"object"==typeof t?r.y.test(t)?g:P:d}function V(t,e){const i=[...t],s=i.length,o=t.map((t,i)=>T(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=o[e](t);return i}}function P(t,e){const i={...t,...e},s={};for(const o in i)void 0!==t[o]&&void 0!==e[o]&&(s[o]=T(t[o])(t[o],e[o]));return t=>{for(const e in s)i[e]=s[e](t);return i}}const S=(t,e)=>{const i=a.f.createTransformer(e),n=(0,a.V)(t),r=(0,a.V)(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?v.has(t)&&!r.values.length||v.has(e)&&!n.values.length?function(t,e){return v.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,s.F)(V(function(t,e){const i=[],s={color:0,var:0,number:0};for(let o=0;o<e.values.length;
1o++){const n=e.types[o],r=t.indexes[n][s[n]],a=t.values[r]??0;i[o]=a,s[n]++}return i}(n,r),r.values),i):((0,o.$)(!0,`Complex values '${t}' and '${e}' 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"),d(t,e))};function w(t,e,i){if("number"==typeof t&&"number"==typeof e&&"number"==typeof i)return(0,p.k)(t,e,i);return T(t)(t,e)}},86240(t,e,i){i.d(e,["k",0,(t,e,i)=>t+(e-t)*i])},82168(t,e,i){function s(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);const o=i?.[t]??s.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t).filter(t=>null!=t)}i.d(e,{K:()=>s})},6312(t,e,i){const s=(0,i(8767).J)(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");i.d(e,["n",0,s])},8767(t,e,i){i.d(e,{J:()=>n});var s=i(90067);const o={};function n(t,e){const i=(0,s.p)(t);return()=>o[e]??i()}},92834(t,e,i){const s=(0,i(8767).J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline");i.d(e,["J",0,s])}}]);

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.