PageSourceSearch

https://highend.hb-themes.com/_next/static/chunks/c60da30968ac9c6f.js

js hb-themes.com collected 2026-09-24 08:48:04 UTC 174,189 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77608,29859,47480,83032,48367,75602,47248,38305,33639,95153,34026,69015,57361,4600,7921,15307,53020,61916,7624,61228,3347,67327,96239,98520,89873,29363,20085,18744,47113,79126,91649,68617,63960,15965,161,45562,26195,61979,37165,50829,69710,12064,t=>{"use strict";let e,i;var r,n=t.i(91970);let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(s);t.s(["transformPropOrder",()=>s,"transformProps",()=>o],29859);let a=t=>180*t/Math.PI,l=t=>h(a(Math.atan2(t[1],t[0]))),u={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:l,rotateZ:l,skewX:t=>a(Math.atan(t[1])),skewY:t=>a(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},h=t=>((t%=360)<0&&(t+=360),t),c=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),d=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),p={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:c,scaleY:d,scale:t=>(c(t)+d(t))/2,rotateX:t=>h(a(Math.atan2(t[6],t[5]))),rotateY:t=>h(a(Math.atan2(-t[2],t[0]))),rotateZ:l,rotate:l,skewX:t=>a(Math.atan(t[4])),skewY:t=>a(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function m(t){return+!!t.includes("scale")}function f(t,e){let i,r;if(!t||"none"===t)return m(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=p,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=u,r=e}if(!r)return m(e);let s=i[e],o=r[1].split(",").map(g);return"function"==typeof s?s(o):o[s]}function g(t){return parseFloat(t.trim())}let y=t=>e=>"string"==typeof e&&e.startsWith(t),v=y("--"),b=y("var(--"),x=t=>!!b(t)&&w.test(t.split("/*")[0].trim()),w=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function k({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}let T=(t,e,i)=>t+(e-t)*i;function P(t){return void 0===t||1===t}function A({scale:t,scaleX:e,scaleY:i}){return!P(t)||!P(e)||!P(i)}function S(t){return A(t)||E(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function E(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function C(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function M(t,e=0,i=1,r,n){t.min=C(t.min,e,i,r,n),t.max=C(t.max,e,i,r,n)}function V(t,{x:e,y:i}){M(t.x,e.translate,e.scale,e.originPoint),M(t.y,i.translate,i.scale,i.originPoint)}function R(t,e){t.min=t.min+e,t.max=t.max+e}function L(t,e,i,r,n=.5){let s=T(t.min,t.max,n);M(t,e,i,s,r)}function j(t,e){L(t.x,e.x,e.scaleX,e.scale,e.originX),L(t.y,e.y,e.scaleY,e.scale,e.originY)}function D(t,e){return k(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}t.s(["mixNumber",()=>T],47480);let O=new Set(["width","height","top","left","right","bottom",...s]),I=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",()=>I],83032);let F={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},N={...F,transform:t=>I(0,1,t)},B={...F,default:1},$=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),U=$("deg"),z=$("%"),W=$("px"),_=$("vh"),X=$("vw"),Z={...z,parse:t=>z.parse(t)/100,transform:t=>z.transform(100*t)},G=t=>e=>e.test(t),H=[F,W,z,U,X,_,{test:t=>"auto"===t,parse:t=>t}],Y=t=>H.find(G(t));t.i(6990);let K=()=>{},q=()=>{};t.s(["invariant",()=>q,"warning",()=>K],48367);let J=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,Q=t=>t===F||t===W,tt=new Set(["x","y","z"]),te=s.filter(t=>!tt.has(t)),ti={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>f(e,"x"),y:(t,{transform:e})=>f(e,"y")};ti.translateX=ti.x,ti.translateY=ti.y;let tr=t=>t;t.s(["noop",()=>tr],75602);let tn={},ts=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function to(t,e){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=ts.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,s=!1)=>{let a=s&&n?i:r;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,n){s=!0;return}
1n=!0,[i,r]=[r,i],i.forEach(u),e,l=0,i.clear(),n=!1,s&&(s=!1,h.process(t))}};return h}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:m}=o,f=()=>{let s=tn.useManualTiming?n.timestamp:performance.now();i=!1,tn.useManualTiming||(n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1)),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),h.process(n),c.process(n),d.process(n),p.process(n),m.process(n),n.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:ts.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||t(f)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<ts.length;e++)o[ts[e]].cancel(t)},state:n,steps:o}}let{schedule:ta,cancel:tl,state:tu,steps:th}=to("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tr,!0);t.s(["cancelFrame",()=>tl,"frame",()=>ta,"frameData",()=>tu,"frameSteps",()=>th],47248);let tc=new Set,td=!1,tp=!1,tm=!1;function tf(){if(tp){let t=Array.from(tc).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,r=(e=[],te.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e);r.length&&(i.set(t,r),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tp=!1,td=!1,tc.forEach(t=>t.complete(tm)),tc.clear()}function tg(){tc.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tp=!0)})}class ty{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tc.add(this),td||(td=!0,ta.read(tg),ta.resolveKeyframes(tf))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tc.delete(this)}cancel(){"scheduled"===this.state&&(tc.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tv=t=>Math.round(1e5*t)/1e5,tb=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tx=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tw=(t,e)=>i=>!!("string"==typeof i&&tx.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tk=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(tb);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tT={...F,transform:t=>Math.round(I(0,255,t))},tP={test:tw("rgb","red"),parse:tk("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+tT.transform(t)+", "+tT.transform(e)+", "+tT.transform(i)+", "+tv(N.transform(r))+")"},tA={test:tw("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:tP.transform},tS={test:tw("hsl","hue"),parse:tk("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+z.transform(tv(e))+", "+z.transform(tv(i))+", "+tv(N.transform(r))+")"},tE={test:t=>tP.test(t)||tA.test(t)||tS.test(t),parse:t=>tP.test(t)?tP.parse(t):tS.test(t)?tS.parse(t):tA.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tP.transform(t):tS.transform(t),getAnimatableNone:t=>{let e=tE.parse(t);return e.alpha=0,tE.transform(e)}},tC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tM="number",tV="color",tR=/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 tL(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=e.replace(tR,t=>
1(tE.test(t)?(r.color.push(s),n.push(tV),i.push(tE.parse(t))):t.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(t)):(r.number.push(s),n.push(tM),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function tj(t){return tL(t).values}function tD(t){let{split:e,types:i}=tL(t),r=e.length;return t=>{let n="";for(let s=0;s<r;s++)if(n+=e[s],void 0!==t[s]){let e=i[s];e===tM?n+=tv(t[s]):e===tV?n+=tE.transform(t[s]):n+=t[s]}return n}}let tO=t=>"number"==typeof t?0:tE.test(t)?tE.getAnimatableNone(t):t,tI={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(tb)?.length||0)+(t.match(tC)?.length||0)>0},parse:tj,createTransformer:tD,getAnimatableNone:function(t){let e=tj(t);return tD(t)(e.map(tO))}},tF=new Set(["brightness","contrast","saturate","opacity"]);function tN(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(tb)||[];if(!r)return t;let n=i.replace(r,""),s=+!!tF.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let tB=/\b([a-z-]*)\(.*?\)/gu,t$={...tI,getAnimatableNone:t=>{let e=t.match(tB);return e?e.map(tN).join(" "):t}},tU={...F,transform:Math.round},tz={borderWidth:W,borderTopWidth:W,borderRightWidth:W,borderBottomWidth:W,borderLeftWidth:W,borderRadius:W,radius:W,borderTopLeftRadius:W,borderTopRightRadius:W,borderBottomRightRadius:W,borderBottomLeftRadius:W,width:W,maxWidth:W,height:W,maxHeight:W,top:W,right:W,bottom:W,left:W,padding:W,paddingTop:W,paddingRight:W,paddingBottom:W,paddingLeft:W,margin:W,marginTop:W,marginRight:W,marginBottom:W,marginLeft:W,backgroundPositionX:W,backgroundPositionY:W,rotate:U,rotateX:U,rotateY:U,rotateZ:U,scale:B,scaleX:B,scaleY:B,scaleZ:B,skew:U,skewX:U,skewY:U,distance:W,translateX:W,translateY:W,translateZ:W,x:W,y:W,z:W,perspective:W,transformPerspective:W,opacity:N,originX:Z,originY:Z,originZ:W,zIndex:tU,fillOpacity:N,strokeOpacity:N,numOctaves:tU},tW={...tz,color:tE,backgroundColor:tE,outlineColor:tE,fill:tE,stroke:tE,borderColor:tE,borderTopColor:tE,borderRightColor:tE,borderBottomColor:tE,borderLeftColor:tE,filter:t$,WebkitFilter:t$},t_=t=>tW[t];function tX(t,e){let i=t_(t);return i!==t$&&(i=tI),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tZ=new Set(["auto","none","0"]);class tG extends ty{constructor(t,e,i,r,n){super(t,e,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&x(r=r.trim())){let n=function t(e,i,r=1){q(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(t){let e=J.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return x(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!O.has(i)||2!==t.length)return;let[r,n]=t,s=Y(r),o=Y(n);if(s!==o)if(Q(s)&&Q(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else ti[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!tZ.has(e)&&tL(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=tX(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ti[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=ti[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tH=t=>!!(t&&t.getVelocity);function tY(){e=void 0}t.s(["isMotionValue",()=>tH],38305);let tK={now:()=>(void 0===e&&tK.set(tu.isProcessing||tn.useManualTiming?tu.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(tY)}};function tq(t,e){-1===t.indexOf(e)&&t.push(e)}function tJ(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["addUniqueItem",()=>tq,"removeItem",()=>tJ],33639);class tQ{constructor(){this.subscriptions=[]}add(t){return tq(this.subscriptions,t),()=>tJ(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function t0(t,e){return e?1e3/e*t:0}t.s(["velocityPerSecond",()=>t0],95153);let t1={current:void 0};class t2{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=tK.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(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=tK.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new tQ);let i=this.events[t].add(e);return"change"===t?()=>{i(),ta.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}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 t1.current&&t1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=tK.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t0(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 t3(t,e){return new t2(t,e)}t.s(["MotionValue",()=>t2,"collectMotionValues",()=>t1,"motionValue",()=>t3],34026);let t6=[...H,tE,tI],{schedule:t8}=to(queueMicrotask,!1),t4={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"]},t5={};for(let t in t4)t5[t]={isEnabled:e=>t4[t].some(t=>!!e[t])};let t7=()=>({translate:0,scale:1,origin:0,originPoint:0}),t9=()=>({x:t7(),y:t7()}),et=()=>({min:0,max:0}),ee=()=>({x:et(),y:et()});t.s(["createBox",()=>ee,"createDelta",()=>t9],69015);let ei="undefined"!=typeof window,er={current:null},en={current:!1},es=new WeakMap;function eo(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ea(t){return"string"==typeof t||Array.isArray(t)}t.s(["visualElementStore",()=>es],57361);let el=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eu=["initial",...el];function eh(t){return eo(t.animate)||eu.some(e=>ea(t[e]))}function ec(t){return!!(eh(t)||t.variants)}function ed(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ep(t,e,i,r){if("function"==typeof e){let[n,s]=ed(r);e=e(void 0!==i?i:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=ed(r);e=e(void 0!==i?i:t.custom,n,s)}return e}let em=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ef{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ty,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=tK.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,ta.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=eh(e),this.isVariantNode=ec(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==a[t]&&tH(e)&&e.set(a[t])}}mount(t){this.current=t,es.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)),en.current||function(){if(en.current=!0,ei)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>er.current=t.matches;t.addEventListener("change",e),e()}else er.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||er.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),tl(this.notifyUpdate),tl(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}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){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=o.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&ta.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in t5){let e=t5[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ee()}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<em.length;e++){let i=em[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}
1this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if(tH(n))t.addValue(r,n);else if(tH(s))t.addValue(r,t3(n,{owner:t}));else if(s!==n)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,t3(void 0!==e?e:n,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);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){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=t3(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];if(null!=i){let r,n;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let r;r=i,!t6.find(G(r))&&tI.test(e)&&(i=tX(t,e))}this.setBaseTarget(t,tH(i)?i.get():i)}return tH(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=ep(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||tH(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new tQ),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){t8.render(this.render)}}t.s(["VisualElement",()=>ef],4600);class eg extends ef{constructor(){super(...arguments),this.KeyframeResolver=tG}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;tH(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let ey=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ev={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eb=s.length;function ex(t,e,i){let{style:r,vars:n,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(o.has(t)){l=!0;continue}if(v(t)){n[t]=i;continue}{let e=ey(i,tz[t]);t.startsWith("origin")?(u=!0,a[t]=e):r[t]=e}}if(!e.transform&&(l||i?r.transform=function(t,e,i){let r="",n=!0;for(let o=0;o<eb;o++){let a=s[o],l=t[a];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===+!!a.startsWith("scale"):0===parseFloat(l))||i){let t=ey(l,tz[a]);if(!u){n=!1;let e=ev[a]||a;r+=`${e}(${t}) `}i&&(e[a]=t)}}return r=r.trim(),i?r=i(e,n?"":r):n&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin=`${t} ${e} ${i}`}}function ew(t,{style:e,vars:i},r,n){let s,o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}let ek={};function eT(t,{layout:e,layoutId:i}){return o.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ek[t]||"opacity"===t)}function eP(t,e,i){let{style:r}=t,n={};for(let s in r)(tH(r[s])||e.style&&tH(e.style[s])||eT(s,t)||i?.getValue(s)?.liveStyle!==void 0)&&(n[s]=r[s]);return n}class eA extends eg{constructor(){super(...arguments),this.type="html",this.renderInstance=ew}readValueFromInstance(t,e){if(o.has(e))return this.projection?.isProjecting?m(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return f(i,e)})(t,e);{let i=window.getComputedStyle(t),r=(v(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return D(t,e)}build(t,e,i){ex(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return eP(t,e,i)}}t.s(["HTMLVisualElement",()=>eA],7921);let eS=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),eE={offset:"stroke-dashoffset",array:"stroke-dasharray"},eC={offset:"strokeDashoffset",array:"strokeDasharray"};function eM(t,{attrX:e,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(ex(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==r&&(c.scale=r),void 0!==n&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?eE:eC;t[s.offset]=W.transform(-r);let o=W.transform(e),a=W.transform(i);t[s.array]=`${o} ${a}`}(c,n,s,o,!1)}let eV=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"]),eR=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eL(t,e,i){let r=eP(t,e,i);for(let i in t)(tH(t[i])||tH(e[i]))&&(r[-1!==s.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}class ej extends eg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ee}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(o.has(e)){let t=t_(e);return t&&t.default||0}return e=eV.has(e)?e:eS(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eL(t,e,i)}build(t,e,i){eM(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in ew(t,e,void 0,r),e.attrs)t.setAttribute(eV.has(i)?i:eS(i),e.attrs[i])}mount(t){this.isSVGTag=eR(t.tagName),super.mount(t)}}t.s(["SVGVisualElement",()=>ej],15307);let eD=["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 eO(t){if("string"!=typeof t||t.includes("-"));else if(eD.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var eI=t.i(3344);let eF=(0,n.createContext)({});t.s(["LayoutGroupContext",()=>eF],53020);let eN=(0,n.createContext)({strict:!1}),eB=(0,n.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",()=>eB],61916);let e$=(0,n.createContext)({});function eU(t){return Array.isArray(t)?t.join(" "):t}let ez=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eW(t,e,i){for(let r in e)tH(e[r])||eT(r,i)||(t[r]=e[r])}let e_=()=>({...ez(),attrs:{}}),eX=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function eZ(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eX.has(t)}let eG=t=>!eZ(t);try{r=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof r&&(eG=t=>t.startsWith("on")?!eZ(t):r(t))}catch{}let eH=(0,n.createContext)(null);function eY(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}function eK(t){return tH(t)?t.get():t}t.s(["PresenceContext",()=>eH],7624),t.s(["useConstant",()=>eY],61228);let eq=t=>(e,i)=>{let r=(0,n.useContext)(e$),s=(0,n.useContext)(eH),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e}
1,i,r,n){return{latestValues:function(t,e,i,r){let n={},s=r(t,{});for(let t in s)n[t]=eK(s[t]);let{initial:o,animate:a}=t,l=eh(t),u=ec(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!eo(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let r=ep(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(i,r,n,t),renderState:e()}})(t,e,r,s);return i?o():eY(o)},eJ=eq({scrapeMotionValuesFromProps:eP,createRenderState:ez}),eQ=eq({scrapeMotionValuesFromProps:eL,createRenderState:e_}),e0=Symbol.for("motionComponentSymbol");function e1(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let e2="data-"+eS("framerAppearId"),e3=(0,n.createContext)({}),e6=ei?n.useLayoutEffect:n.useEffect;function e8(t,{forwardMotionProps:e=!1}={},i,r){i&&function(t){for(let e in t)t5[e]={...t5[e],...t[e]}}(i);let s=eO(t)?eQ:eJ;function o(i,o){var a;let l,u={...(0,n.useContext)(eB),...i,layoutId:function({layoutId:t}){let e=(0,n.useContext)(eF).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:h}=u,c=function(t){let{initial:e,animate:i}=function(t,e){if(eh(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ea(e)?e:void 0,animate:ea(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(e$));return(0,n.useMemo)(()=>({initial:e,animate:i}),[eU(e),eU(i)])}(i),d=s(i,h);if(!h&&ei){(0,n.useContext)(eN).strict;let e=function(t){let{drag:e,layout:i}=t5;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(u);l=e.MeasureLayout,c.visualElement=function(t,e,i,r,s){let{visualElement:o}=(0,n.useContext)(e$),a=(0,n.useContext)(eN),l=(0,n.useContext)(eH),u=(0,n.useContext)(eB).reducedMotion,h=(0,n.useRef)(null);r=r||a.renderer,!h.current&&r&&(h.current=r(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let c=h.current,d=(0,n.useContext)(e3);c&&!c.projection&&s&&("html"===c.type||"svg"===c.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&e1(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:h,layoutScroll:l,layoutRoot:u})}(h.current,i,s,d);let p=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{c&&p.current&&c.update(i,l)});let m=i[e2],f=(0,n.useRef)(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return e6(()=>{c&&(p.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),f.current&&c.animationState&&c.animationState.animateChanges())}),(0,n.useEffect)(()=>{c&&(!f.current&&c.animationState&&c.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),f.current=!1),c.enteringChildren=void 0)}),c}(t,d,u,r,e.ProjectionNode)}return(0,eI.jsxs)(e$.Provider,{value:c,children:[l&&c.visualElement?(0,eI.jsx)(l,{visualElement:c.visualElement,...u}):null,function(t,e,i,{latestValues:r},s,o=!1){let a=(eO(t)?function(t,e,i,r){let s=(0,n.useMemo)(()=>{let i=e_();return eM(i,e,eR(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};eW(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i,r,s={},o=(i=t.style||{},eW(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,n.useMemo)(()=>{let i=ez();return ex(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=o,s}
1)(e,r,s,t),l=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(eG(n)||!0===i&&eZ(n)||!e&&!eZ(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(e,"string"==typeof t,o),u=t!==n.Fragment?{...l,...a,ref:i}:{},{children:h}=e,c=(0,n.useMemo)(()=>tH(h)?h.get():h,[h]);return(0,n.createElement)(t,{...u,children:c})}(t,i,(a=c.visualElement,(0,n.useCallback)(t=>{t&&d.onMount&&d.onMount(t),a&&(t?a.mount(t):a.unmount()),o&&("function"==typeof o?o(t):e1(o)&&(o.current=t))},[a])),d,h,e)]})}o.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let a=(0,n.forwardRef)(o);return a[e0]=t,a}function e4(t,e,i){let r=t.getProps();return ep(r,e,void 0!==i?i:r.custom,t)}function e5(t,e){return t?.[e]??t?.default??t}t.s(["useIsomorphicLayoutEffect",()=>e6],3347);let e7=t=>Array.isArray(t);function e9(t,e){let i=t.getValue("willChange");if(tH(i)&&i.add)return i.add(e);if(!i&&tn.WillChange){let i=new tn.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function it(t){t.duration=0,t.type="keyframes"}let ie=(t,e)=>i=>e(t(i)),ii=(...t)=>t.reduce(ie),ir=t=>1e3*t,is=t=>t/1e3;t.s(["millisecondsToSeconds",()=>is,"secondsToMilliseconds",()=>ir],67327);let io={layout:0,mainThread:0,waapi:0};function ia(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function il(t,e){return i=>i>0?e:t}let iu=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},ih=[tA,tP,tS];function ic(t){let e=ih.find(e=>e.test(t));if(K(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===tS&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=ia(a,r,t+1/3),s=ia(a,r,t),o=ia(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let id=(t,e)=>{let i=ic(t),r=ic(e);if(!i||!r)return il(t,e);let n={...i};return t=>(n.red=iu(i.red,r.red,t),n.green=iu(i.green,r.green,t),n.blue=iu(i.blue,r.blue,t),n.alpha=T(i.alpha,r.alpha,t),tP.transform(n))},ip=new Set(["none","hidden"]);function im(t,e){return i=>T(t,e,i)}function ig(t){return"number"==typeof t?im:"string"==typeof t?x(t)?il:tE.test(t)?id:ib:Array.isArray(t)?iy:"object"==typeof t?tE.test(t)?id:iv:il}function iy(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>ig(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function iv(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=ig(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let ib=(t,e)=>{let i=tI.createTransformer(e),r=tL(t),n=tL(e);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return K(!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"),il(t,e);if(ip.has(t)&&!n.values.length||ip.has(e)&&!r.values.length)return ip.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return ii(iy(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][r[s]],a=t.values[o]??0;i[n]=a,r[s]++}return i}(r,n),n.values),i)};function ix(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?T(t,e,i):ig(t)(t,e)}let iw=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>ta.update(e,t),stop:()=>tl(e),now:()=>tu.isProcessing?tu.timestamp:tK.now()}},ik=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function iT(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function iP(t,e=100,i){let r=i({...t,keyframes:[0,e]}),n=Math.min(iT(r),2e4);return{type:"keyframes",ease:t=>r.next(n*t).value/e,duration:is(n)}}function iA(t,e,i){let r=Math.max(e-5,0);return t0(i-t(r),e-r)}t.s(["createGeneratorEasing",()=>iP],96239);let iS=.01,iE=2,iC=.005,iM=.5;function iV(t,e){return t*Math.sqrt(1-e*e)}let iR=["duration","bounce"],iL=["stiffness","damping","mass"];function ij(t,e){return e.some(e=>void 0!==t[e])}function iD(t=.3,e=.3){let i,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:d,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!ij(t,iL)&&ij(t,iR))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*I(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:n}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let n,s;K(t<=ir(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=I(.05,1,o),t=I(.01,10,is(t)),o<1?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/iV(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=iV(Math.pow(e,2),o);return(r*i+i-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
1let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=ir(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-is(r.velocity||0)}),f=p||0,g=h/(2*Math.sqrt(u*c)),y=a-o,v=is(Math.sqrt(u/c)),b=5>Math.abs(y);if(n||(n=b?iS:iE),s||(s=b?iC:iM),g<1){let t=iV(v,g);i=e=>a-Math.exp(-g*v*e)*((f+g*v*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===g)i=t=>a-Math.exp(-v*t)*(y+(f+v*y)*t);else{let t=v*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*v*e),r=Math.min(t*e,300);return a-i*((f+g*v*y)*Math.sinh(r)+t*y*Math.cosh(r))/t}}let x={calculatedDuration:m&&d||null,next:t=>{let e=i(t);if(m)l.done=t>=d;else{let r=0===t?f:0;g<1&&(r=0===t?ir(f):iA(i,t,e));let o=Math.abs(a-e)<=s;l.done=Math.abs(r)<=n&&o}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(iT(x),2e4),e=ik(e=>x.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return x}function iO({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,y=void 0===o?g:o(g);y!==g&&(f=y-p);let v=t=>-f*Math.exp(-t/r),b=t=>y+v(t),x=t=>{let e=v(t),i=b(t);m.done=Math.abs(e)<=u,m.value=m.done?y:i},w=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=iD({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:iA(b,t,m.value),damping:n,stiffness:s,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,x(t),w(t)),void 0!==c&&t>=c)?d.next(t-c):(e||x(t),m)}}}iD.applyToOptions=t=>{let e=iP(t,100,iD);return t.ease=e.ease,t.duration=ir(e.duration),t.type="keyframes",t},t.s(["spring",()=>iD],98520);let iI=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function iF(t,e,i,r){return t===e&&i===r?tr:n=>0===n||1===n?n:iI(function(t,e,i,r,n){let s,o,a=0;do(s=iI(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12)return o}(n,0,1,t,i),e,r)}t.s(["cubicBezier",()=>iF],89873);let iN=iF(.42,0,1,1),iB=iF(0,0,.58,1),i$=iF(.42,0,.58,1);t.s(["easeIn",()=>iN,"easeInOut",()=>i$,"easeOut",()=>iB],29363);let iU=t=>Array.isArray(t)&&"number"!=typeof t[0];t.s(["isEasingArray",()=>iU],20085);let iz=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,iW=t=>e=>1-t(1-e),i_=iF(.33,1.53,.69,.99),iX=iW(i_),iZ=iz(iX),iG=t=>(t*=2)<1?.5*iX(t):.5*(2-Math.pow(2,-10*(t-1))),iH=t=>1-Math.sin(Math.acos(t)),iY=iW(iH),iK=iz(iH);t.s(["circIn",()=>iH,"circInOut",()=>iK,"circOut",()=>iY],18744);let iq=t=>Array.isArray(t)&&"number"==typeof t[0],iJ={linear:tr,easeIn:iN,easeInOut:i$,easeOut:iB,circIn:iH,circInOut:iK,circOut:iY,backIn:iX,backInOut:iZ,backOut:i_,anticipate:iG},iQ=t=>{if(iq(t)){q(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,n]=t;return iF(e,i,r,n)}return"string"==typeof t?(q(void 0!==iJ[t],`Invalid easing type '${t}'`,"invalid-easing-type"),iJ[t]):t},i0=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};function i1(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if(q(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let r=[],n=i||tn.mix||ix,s=t.length-1;for(let i=0;i<s;i++){let s=n(t[i],t[i+1]);e&&(s=ii(Array.isArray(e)?e[i]||tr:e,s)),r.push(s)}return r}(e,r,n),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let r=0;if(l>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=i0(t[r],t[r+1],i);return a[r](n)};return i?e=>u(I(t[0],t[s-1],e)):u}function i2(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=i0(0,e,r);t.push(T(i,1,n))}}function i3(t){let e=[0];return i2(e,t.length-1),e}function i6({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s=iU(r)?r.map(iQ):iQ(r),o={done:!1,value:e[0]},a=i1((n=i&&i.length===e.length?i:i3(e),n.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||i$).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}t.s(["progress",()=>i0],47113),t.s(["interpolate",()=>
1i1],79126),t.s(["fillOffset",()=>i2],91649),t.s(["defaultOffset",()=>i3],68617);let i8=t=>null!==t;function i4(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(i8),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}let i5={decay:iO,inertia:iO,tween:i6,keyframes:i6,spring:iD};function i7(t){"string"==typeof t.type&&(t.type=i5[t.type])}class i9{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)}}let rt=t=>t/100;class re extends i9{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==tK.now()&&this.tick(tK.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},io.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;i7(t);let{type:e=i6,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,a=e||i6;a!==i6&&"number"!=typeof o[0]&&(this.mixKeyframes=ii(rt,ix(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iT(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:h,repeatType:c,repeatDelay:d,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v=this.currentTime,b=i;if(h){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,h+1))%2&&("reverse"===c?(i=1-i,d&&(i-=d/o)):"mirror"===c&&(b=s)),v=I(0,1,i)*o}let x=y?{done:!1,value:u[0]}:b.next(v);n&&(x.value=n(x.value));let{done:w}=x;
1y||null===a||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return k&&p!==iO&&(x.value=i4(u,this.options,f,this.speed)),m&&m(x.value),k&&this.finish(),x}then(t,e){return this.finished.then(t,e)}get duration(){return is(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+is(t)}get time(){return is(this.currentTime)}set time(t){t=ir(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?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(tK.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=is(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=iw,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"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(tK.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,io.mainThread--}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)}}function ri(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["JSAnimation",()=>re],63960);let rr=ri(()=>void 0!==window.ScrollTimeline);t.s(["supportsScrollTimeline",()=>rr],15965);let rn={},rs=(i=ri(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>rn.linearEasing??i()),ro=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,ra={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ro([0,.65,.55,1]),circOut:ro([.55,0,1,.45]),backIn:ro([.31,.01,.66,-.59]),backOut:ro([.33,1.53,.69,.99])};function rl(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",()=>rl],161);class ru extends i9{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,q("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return rl(t)&&rs()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?rs()?ik(e,i):"ease-out":iq(e)?ro(e):Array.isArray(e)?e.map(e=>t(e,i)||ra.easeOut):ra[e]}(a,n);Array.isArray(c)&&(h.easing=c);let d={delay:r,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let p=t.animate(h,d);return p}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=i4(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(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;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return is(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+is(t)}get time(){return is(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=ir(t)}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 Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&rr())?(this.animation.timeline=t,tr):e(this)}}let rh={anticipate:iG,backInOut:iZ,circInOut:iK};class rc extends ru{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in rh&&(t.ease=rh[t.ease])}(t),i7(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new re({...s,autoplay:!1}),a=ir(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let rd=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tI.test(t)||"0"===t)&&!t.startsWith("url(")),rp=new Set(["opacity","clipPath","filter","transform"]),rm=ri(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class rf extends i9{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tK.now();const c={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||ty;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){this.keyframeResolver=void 0;let{name:n,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;
1this.resolvedAt=tK.now(),!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=rd(n,e),a=rd(s,e);return K(o===a,`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||rl(i))&&r)}(t,n,s,o)&&((tn.instantAnimations||!a)&&u?.(i4(t,i,e)),t[0]=t[t.length-1],it(i),i.repeat=0);let h={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},c=!l&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return rm()&&i&&rp.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(h)?new rc({...h,element:h.motionValue.owner.current}):new re(h);c.finished.then(()=>this.notifyFinished()).catch(tr),this.pendingTimeline&&(this.stopTimeline=c.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=c}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(),tm=!0,tg(),tf(),tm=!1),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()}}let rg=t=>null!==t,ry={type:"spring",stiffness:500,damping:25,restSpeed:10},rv={type:"keyframes",duration:.8},rb={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rx=(t,e,i,r={},n,s)=>a=>{let l=e5(r,t)||{},u=l.delay||r.delay||0,{elapsed:h=0}=r;h-=ir(u);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:s?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(l)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?rv:o.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:ry:rb)(t,c)),c.duration&&(c.duration=ir(c.duration)),c.repeatDelay&&(c.repeatDelay=ir(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(it(c),0===c.delay&&(d=!0)),(tn.instantAnimations||tn.skipAnimations)&&(d=!0,it(c),c.delay=0),c.allowFlatten=!l.type&&!l.ease,d&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},r){let n=t.filter(rg),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[s]}(c.keyframes,l);if(void 0!==t)return void ta.update(()=>{c.onUpdate(t),c.onComplete()})}return l.isSync?new re(c):new rf(c)};function rw(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=e;r&&(s=r);let l=[],u=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let r=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||u&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(u,e))continue;let o={delay:i,...e5(s||{},e)},h=r.get();if(void 0!==h&&!r.isAnimating&&!Array.isArray(n)&&n===h&&!o.velocity)continue;let c=!1;if(window.MotionHandoffAnimation){let i=t.props[e2];if(i){let t=window.MotionHandoffAnimation(i,e,ta);null!==t&&(o.startTime=t,c=!0)}}e9(t,e),r.start(rx(e,r,n,t.shouldReduceMotion&&O.has(e)?{type:!1}:o,t,c));let d=r.animation;d&&l.push(d)}return o&&Promise.all(l).then(()=>{ta.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=e4(t,e)||{};for(let e in n={...n,...i}){var s;let i=e7(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,t3(i))}}(t,o)})}),l}function rk(t,e,i,r=0,n=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}function rT(t,e,i={}){let r=e4(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(rw(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;
1return function(t,e,i=0,r=0,n=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(rT(l,e,{...o,delay:i+("function"==typeof r?0:r)+rk(t.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function rP(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}t.s(["animateTarget",()=>rw],45562);let rA=eu.length,rS=[...el].reverse(),rE=el.length;function rC(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rM(){return{animate:rC(!0),whileInView:rC(),whileHover:rC(),whileTap:rC(),whileDrag:rC(),whileFocus:rC(),exit:rC()}}class rV{constructor(t){this.isMounted=!1,this.node=t}update(){}}let rR=0,rL={x:!1,y:!1};function rj(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let rD=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function rO(t){return{point:{x:t.pageX,y:t.pageY}}}function rI(t,e,i,r){return rj(t,e,t=>rD(t)&&i(t,rO(t)),r)}function rF(t){return t.max-t.min}function rN(t,e,i,r=.5){t.origin=r,t.originPoint=T(e.min,e.max,t.origin),t.scale=rF(i)/rF(e),t.translate=T(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function rB(t,e,i,r){rN(t.x,e.x,i.x,r?r.originX:void 0),rN(t.y,e.y,i.y,r?r.originY:void 0)}function r$(t,e,i){t.min=i.min+e.min,t.max=t.min+rF(e)}function rU(t,e,i){t.min=e.min-i.min,t.max=t.min+rF(e)}function rz(t,e,i){rU(t.x,e.x,i.x),rU(t.y,e.y,i.y)}function rW(t){return[t("x"),t("y")]}let r_=({current:t})=>t?t.ownerDocument.defaultView:null,rX=(t,e)=>Math.abs(t-e);class rZ{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=rY(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(rX(t.x,e.x)**2+rX(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=tu;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=rG(e,this.transformPagePoint),ta.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=rY("pointercancel"===t.type?this.lastMoveEventInfo:rG(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!rD(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const o=rG(rO(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=tu;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,rY(o,this.history)),this.removeListeners=ii(rI(this.contextWindow,"pointermove",this.handlePointerMove),rI(this.contextWindow,"pointerup",this.handlePointerUp),rI(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),tl(this.updatePoint)}}function rG(t,e){return e?{point:e(t.point)}:t}function rH(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rY({point:t},e){return{point:t,delta:rH(t,rK(e)),offset:rH(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=rK(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>ir(.1)));)i--;if(!r)return{x:0,y:0};let s=is(n.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function rK(t){return t[t.length-1]}function rq(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function rJ(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}
1function rQ(t,e,i){return{min:r0(t,e),max:r0(t,i)}}function r0(t,e){return"number"==typeof t?t:t[e]||0}let r1=new WeakMap;class r2{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=ee(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(rO(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(rL[t])return null;else return rL[t]=!0,()=>{rL[t]=!1};return rL.x||rL.y?null:(rL.x=rL.y=!0,()=>{rL.x=rL.y=!1})}(i),!this.openDragLock))return;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),rW(t=>{let e=this.getAxisMotionValue(t).get()||0;if(z.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=rF(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&ta.postRender(()=>n(t,e)),e9(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>rW(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new rZ(t,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:r_(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&ta.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!r3(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?T(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?T(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&e1(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:rq(t.x,i,n),y:rq(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rQ(t,"left","right"),y:rQ(t,"top","bottom")}}(e),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&rW(t=>{var e,r;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],n={},void 0!==r.min&&(n.min=r.min-e.min),void 0!==r.max&&(n.max=r.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!e1(e))return!1;let r=e.current;q(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;
1let s=function(t,e,i){let r=D(t,i),{scroll:n}=e;return n&&(R(r.x,n.offset.x),R(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:rJ(t.x,s.x),y:rJ(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=k(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(rW(o=>{if(!r3(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return e9(this.visualElement,t),i.start(rx(t,i,0,e,this.visualElement,!1))}stopAnimation(){rW(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){rW(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){rW(e=>{let{drag:i}=this.getProps();if(!r3(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-T(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!e1(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rW(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let s,o,a,l=e.get();r[t]=(i={min:l,max:l},n=this.constraints[t],s=.5,o=rF(i),(a=rF(n))>o?s=i0(n.min,n.max-o,i.min):o>a&&(s=i0(i.min,i.max-a,n.min)),I(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),rW(e=>{if(!r3(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set(T(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;r1.set(this.visualElement,this);let t=rI(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();e1(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ta.read(e);let n=rj(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rW(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function r3(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let r6=t=>(e,i)=>{t&&ta.postRender(()=>t(e,i))};var r8=n;function r4(t=!0){let e=(0,n.useContext)(eH);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:r,register:s}=e,o=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return s(o)},[t]);let a=(0,n.useCallback)(()=>t&&r&&r(o),[o,r,t]);return!i&&r?[!1,a]:[!0]}t.s(["usePresence",()=>r4],26195);let r5={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function r7(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let r9={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!W.test(t))return t;else t=parseFloat(t);let i=r7(t,e.target.x),r=r7(t,e.target.y);return`${i}% ${r}%`}},nt=!1;class ne extends r8.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;
1for(let t in nr)ek[t]=nr[t],v(t)&&(ek[t].isCSSVariable=!0);n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),nt&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),r5.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,nt=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||ta.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),t8.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;nt=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ni(t){let[e,i]=r4(),r=(0,r8.useContext)(eF);return(0,eI.jsx)(ne,{...t,layoutGroup:r,switchLayoutGroup:(0,r8.useContext)(e3),isPresent:e,safeToRemove:i})}let nr={borderRadius:{...r9,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:r9,borderTopRightRadius:r9,borderBottomLeftRadius:r9,borderBottomRightRadius:r9,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=tI.parse(t);if(r.length>5)return t;let n=tI.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=T(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function nn(t){return"object"==typeof t&&null!==t}function ns(t){return nn(t)&&"ownerSVGElement"in t}function no(t){return ns(t)&&"svg"===t.tagName}function na(t,e,i){let r=tH(t)?t:t3(t);return r.start(rx("",r,e,i)),r.animation}t.s(["isSVGElement",()=>ns],61979),t.s(["isSVGSVGElement",()=>no],37165),t.s(["animateSingleValue",()=>na],50829);let nl=(t,e)=>t.depth-e.depth;class nu{constructor(){this.children=[],this.isDirty=!1}add(t){tq(this.children,t),this.isDirty=!0}remove(t){tJ(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nl),this.isDirty=!1,this.children.forEach(t)}}let nh=["TopLeft","TopRight","BottomLeft","BottomRight"],nc=nh.length,nd=t=>"string"==typeof t?parseFloat(t):t,np=t=>"number"==typeof t||W.test(t);function nm(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nf=ny(0,.5,iY),ng=ny(.5,.95,tr);function ny(t,e,i){return r=>r<t?0:r>e?1:i(i0(t,e,r))}function nv(t,e){t.min=e.min,t.max=e.max}function nb(t,e){nv(t.x,e.x),nv(t.y,e.y)}function nx(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nw(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function nk(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(z.test(e)&&(e=parseFloat(e),e=T(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=T(s.min,s.max,r);t===s&&(a-=e),t.min=nw(t.min,e,i,a,n),t.max=nw(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let nT=["x","scaleX","originX"],nP=["y","scaleY","originY"];function nA(t,e,i,r){nk(t.x,e,nT,i?i.x:void 0,r?r.x:void 0),nk(t.y,e,nP,i?i.y:void 0,r?r.y:void 0)}function nS(t){return 0===t.translate&&1===t.scale}function nE(t){return nS(t.x)&&nS(t.y)}function nC(t,e){return t.min===e.min&&t.max===e.max}function nM(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nV(t,e){return nM(t.x,e.x)&&nM(t.y,e.y)}function nR(t){return rF(t.x)/rF(t.y)}function nL(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nj{constructor(){this.members=[]}add(t){tq(this.members,t),t.scheduleRender()}remove(t){if(tJ(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}
1exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let nD=["","X","Y","Z"],nO=0;function nI(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function nF({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=nO++,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,this.nodes.forEach(n$),this.nodes.forEach(nG),this.nodes.forEach(nH),this.nodes.forEach(nU)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new nu)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tQ),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=ns(e)&&!no(e),this.instance=e;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;ta.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==r){let e,s;r=t,this.root.updateBlockedByResize=!0,i&&i(),e=tK.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&(tl(s),n(i-250))},ta.setup(s,!0),i=()=>tl(s),r5.hasAnimatedSinceResize&&(r5.hasAnimatedSinceResize=!1,this.nodes.forEach(nZ))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||n0,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!nV(this.targetLayout,r),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...e5(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||nZ(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tl(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(nY),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=i.props[e2];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",ta,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nW);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(n_);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nX),this.nodes.forEach(nN),this.nodes.forEach(nB)):this.nodes.forEach(n_),this.clearAllSnapshots();let t=tK.now();tu.delta=I(0,1e3/60,t-tu.timestamp),tu.timestamp=t,tu.isProcessing=!0,th.update.process(tu),th.preRender.process(tu),th.render.process(tu),tu.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,t8.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nz),this.sharedNodes.forEach(nK)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ta.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ta.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rF(this.snapshot.measuredBox.x)||rF(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=ee(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!nE(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||S(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),n3((e=r).x),n3(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return ee();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(n8))){let{scroll:t}=this.root;t&&(R(e.x,t.offset.x),R(e.y,t.offset.y))}return e}removeElementScroll(t){let e=ee();if(nb(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&nb(e,t),R(e.x,n.offset.x),R(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let i=ee();nb(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&j(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),S(r.latestValues)&&j(i,r.latestValues)}return S(this.latestValues)&&j(i,this.latestValues),i}removeTransform(t){let e=ee();nb(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!S(i.latestValues))continue;A(i.latestValues)&&i.updateSnapshot();let r=ee();nb(r,i.measurePageBox()),nA(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return S(this.latestValues)&&nA(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!==tu.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(!this.layout||!(r||n))return;
1this.resolvedRelativeTargetAt=tu.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=ee(),this.targetWithTransforms=ee()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,r$(o.x,a.x,l.x),r$(o.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nb(this.target,this.layout.layoutBox),V(this.target,this.targetDelta)):nb(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||A(this.parent.latestValues)||E(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ee(),this.relativeTargetOrigin=ee(),rz(this.relativeTargetOrigin,e,i),nb(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tu.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;nb(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&j(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,V(t,s)),r&&S(n.latestValues)&&j(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=ee());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nx(this.prevProjectionDelta.x,this.projectionDelta.x),nx(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rB(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&nL(this.projectionDelta.x,this.prevProjectionDelta.x)&&nL(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=t9(),this.projectionDelta=t9(),this.projectionDeltaWithTransform=t9()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=t9();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=ee(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
1!0===this.options.crossfade&&!this.path.some(nQ));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(nq(o.x,t.x,r),nq(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,m,f,g;rz(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=r,nJ(p.x,m.x,f.x,g),nJ(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,d=i,nC(u.x,d.x)&&nC(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=ee()),nb(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=T(0,i.opacity??1,nf(r)),t.opacityExit=T(e.opacity??1,0,ng(r))):s&&(t.opacity=T(e.opacity??1,i.opacity??1,r));for(let n=0;n<nc;n++){let s=`border${nh[n]}Radius`,o=nm(e,s),a=nm(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||np(o)===np(a)?(t[s]=Math.max(T(nd(o),nd(a),r),0),(z.test(a)||z.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=T(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tl(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ta.update(()=>{r5.hasAnimatedSinceResize=!0,io.layout++,this.motionValue||(this.motionValue=t3(0)),this.currentAnimation=na(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{io.layout--},onComplete:()=>{io.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);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&n6(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||ee();let e=rF(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=rF(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}nb(e,i),j(e,n),rB(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nj),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&nI("z",t,r,this.animationValues);for(let e=0;e<nD.length;e++)nI(`rotate${nD[e]}`,t,r,this.animationValues),nI(`skew${nD[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=eK(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eK(e?.pointerEvents)||""),this.hasProjected&&!S(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,ek){if(void 0===n[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=ek[e],l="none"===s?n[e]:i(n[e],r);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?eK(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(nW),this.root.sharedNodes.clear()}}}function nN(t){t.updateLayout()}function nB(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;"size"===n?rW(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=rF(r);r.min=i[t].min,r.max=r.min+n}):n6(n,e.layoutBox,i)&&rW(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=rF(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=t9();rB(o,i,e.layoutBox);let a=t9();s?rB(a,t.applyTransform(r,!0),e.measuredBox):rB(a,i,e.layoutBox);let l=!nE(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=ee();rz(o,e.layoutBox,n.layoutBox);let a=ee();rz(a,i,s.layoutBox),nV(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function n$(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nU(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nz(t){t.clearSnapshot()}function nW(t){t.clearMeasurements()}function n_(t){t.isLayoutDirty=!1}function nX(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nZ(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nG(t){t.resolveTargetDelta()}function nH(t){t.calcProjection()}function nY(t){t.resetSkewAndRotation()}function nK(t){t.removeLeadSnapshot()}function nq(t,e,i){t.translate=T(e.translate,0,i),t.scale=T(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nJ(t,e,i,r){t.min=T(e.min,i.min,r),t.max=T(e.max,i.max,r)}function nQ(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let n0={duration:.45,ease:[.4,0,.1,1]},n1=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),n2=n1("applewebkit/")&&!n1("chrome/")?Math.round:tr;function n3(t){t.min=n2(t.min),t.max=n2(t.max)}function n6(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nR(e)-nR(i)))}function n8(t){return t!==t.root&&t.scroll?.wasRoot}let n4=nF({attachResizeListener:(t,e)=>rj(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),n5={current:void 0},n7=nF({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!n5.current){let t=new n4({});t.mount(window),t.setOptions({layoutScroll:!0}),n5.current=t}return n5.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function n9(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let n=i?.[t]??r.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}function st(t,e){let i=n9(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function se(t){return!("touch"===t.pointerType||rL.x||rL.y)}function si(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&ta.postRender(()=>n(e,rO(e)))}function sr(t){return nn(t)&&"offsetHeight"in t}t.s(["resolveElements",()=>n9],69710),t.s(["isHTMLElement",()=>sr],12064);let sn=(t,e)=>!!e&&(t===e||sn(t,e.parentElement)),ss=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),so=new WeakSet;function sa(t){return e=>{"Enter"===e.key&&t(e)}}function sl(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function su(t){return rD(t)&&!(rL.x||rL.y)}function sh(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&ta.postRender(()=>n(e,rO(e)))}let sc=new WeakMap,sd=new WeakMap,sp=t=>{let e=sc.get(t.target);e&&e(t)},sm=t=>{t.forEach(sp)},sf={some:0,all:1},sg=function(t,e){if("undefined"==typeof Proxy)return e8;let i=new Map,r=(i,r)=>e8(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,e8(s,void 0,t,e)),i.get(s))})}({animation:{Feature:class extends rV{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>rT(t,e,i)));else if("string"==typeof e)r=rT(t,e,i);else{let n="function"==typeof e?e4(t,e,i.custom):e;r=Promise.all(rw(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=rM(),r=!0,n=e=>(i,r)=>{let n=e4(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function s(s){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<rA;t++){let r=eu[t],n=e.props[r];
1(ea(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<rE;e++){var d,p;let m=rS[e],f=i[m],g=void 0!==o[m]?o[m]:a[m],y=ea(g),v=m===s?f.isActive:null;!1===v&&(c=e);let b=g===a[m]&&g!==o[m]&&y;if(b&&r&&t.manuallyAnimateOnMount&&(b=!1),f.protectedKeys={...h},!f.isActive&&null===v||!g&&!f.prevProp||eo(g)||"boolean"==typeof g)continue;let x=(d=f.prevProp,"string"==typeof(p=g)?p!==d:!!Array.isArray(p)&&!rP(p,d)),w=x||m===s&&f.isActive&&!b&&y||e>c&&y,k=!1,T=Array.isArray(g)?g:[g],P=T.reduce(n(m),{});!1===v&&(P={});let{prevResolvedValues:A={}}=f,S={...A,...P},E=e=>{w=!0,u.has(e)&&(k=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in S){let e=P[t],i=A[t];if(!h.hasOwnProperty(t))(e7(e)&&e7(i)?rP(e,i):e===i)?void 0!==e&&u.has(t)?E(t):f.protectedKeys[t]=!0:null!=e?E(t):u.add(t)}f.prevProp=g,f.prevResolvedValues=P,f.isActive&&(h={...h,...P}),r&&t.blockInitialAnimation&&(w=!1);let C=b&&x,M=!C||k;w&&M&&l.push(...T.map(e=>{let i={type:m};if("string"==typeof e&&r&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,n=e4(r,e);if(r.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=rk(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=e4(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),l.push({animation:e})}let m=!!l.length;return r&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(m=!1),r=!1,m?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let n=s(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=rM()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eo(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends rV{constructor(){super(...arguments),this.id=rR++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends rV{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:sf[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),n=e?i:r;n&&n(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;sd.has(i)||sd.set(i,{});let r=sd.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(sm,{root:t,...e})),r[n]}(a),sc.set(t,l),e.observe(t),()=>{sc.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends rV{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=st(t,i),o=t=>{let r=t.currentTarget;if(!su(t))return;so.add(r);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),so.has(r)&&so.delete(r),su(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||sn(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),sr(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=sa(()=>{if(so.has(i))return;sl(i,"down");let t=sa(()=>{sl(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>sl(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),ss.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(sh(this.node,e,"Start"),(t,{success:e})=>sh(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends rV{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=ii(rj(this.node.current,"focus",()=>this.onFocus()),rj(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends rV{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=st(t,i),o=t=>{if(!se(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let s=t=>{se(t)&&(r(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,n)};return r.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}(t,(t,e)=>(si(this.node,e,"Start"),t=>si(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends rV{constructor(){super(...arguments),this.removePointerDownListener=tr}onPointerDown(t){this.session=new rZ(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r_(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:r6(t),onStart:r6(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&ta.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=rI(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 rV{constructor(t){super(t),this.removeGroupControls=tr,this.removeListeners=tr,this.controls=new r2(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tr}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:n7,MeasureLayout:ni},layout:{ProjectionNode:n7,MeasureLayout:ni}},(t,e)=>eO(t)?new ej(e):new eA(e,{allowProjection:t!==n.Fragment}));t.s(["motion",()=>sg],77608)},50974,t=>{"use strict";var e=t.i(91970);let i=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)},r=(...t)=>t.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim();var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,e.forwardRef)(({color:t="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:u,...h},c)=>(0,e.createElement)("svg",{ref:c,...n,width:i,height:i,stroke:t,strokeWidth:o?24*Number(s)/Number(i):s,className:r("lucide",a),...!l&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0})(h)&&{"aria-hidden":"true"},...h},[...u.map(([t,i])=>(0,e.createElement)(t,i)),...Array.isArray(l)?l:[l]])),o=(t,n)=>{let o=(0,e.forwardRef)(({className:o,...a},l)=>(0,e.createElement)(s,{ref:l,iconNode:n,className:r(`lucide-${i(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${t}`,o),...a}));return o.displayName=i(t),o}
1;t.s(["default",()=>o],50974)},71022,t=>{"use strict";let e=(0,t.i(50974).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);t.s(["default",()=>e])},43322,t=>{"use strict";var e=t.i(71022);t.s(["ArrowRight",()=>e.default])},99205,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={assign:function(){return l},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return a}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});function s(t){let e={};for(let[i,r]of t.entries()){let t=e[i];void 0===t?e[i]=r:Array.isArray(t)?t.push(r):e[i]=[t,r]}return e}function o(t){return"string"==typeof t?t:("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function a(t){let e=new URLSearchParams;for(let[i,r]of Object.entries(t))if(Array.isArray(r))for(let t of r)e.append(i,o(t));else e.set(i,o(r));return e}function l(t,...e){for(let i of e){for(let e of i.keys())t.delete(e);for(let[e,r]of i.entries())t.append(e,r)}return t}},2453,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=t.r(44066)._(t.r(99205)),o=/https?|ftp|gopher|file/;function a(t){let{auth:e,hostname:i}=t,r=t.protocol||"",n=t.pathname||"",a=t.hash||"",l=t.query||"",u=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?u=e+t.host:i&&(u=e+(~i.indexOf(":")?`[${i}]`:i),t.port&&(u+=":"+t.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let h=t.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),t.slashes||(!r||o.test(r))&&!1!==u?(u="//"+(u||""),n&&"/"!==n[0]&&(n="/"+n)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),h&&"?"!==h[0]&&(h="?"+h),n=n.replace(/[?#]/g,encodeURIComponent),h=h.replace("#","%23"),`${r}${u}${n}${h}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(t){return a(t)}},71031,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=t.r(91970);function n(t,e){let i=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let t=i.current;t&&(i.current=null,t());let e=n.current;e&&(n.current=null,e())}else t&&(i.current=s(t,r)),e&&(n.current=s(e,r))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},63619,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return x},NormalizeError:function(){return v},PageNotFoundError:function(){return b},SP:function(){return f},ST:function(){return g},WEB_VITALS:function(){return s},execOnce:function(){return o},getDisplayName:function(){return c},getLocationOrigin:function(){return u},getURL:function(){return h},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return k}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function o(t){let e,i=!1;return(...r)=>(i||(i=!0,e=t(...r)),e)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=t=>a.test(t);function u(){let{protocol:t,hostname:e,port:i}=window.location;return`${t}//${e}${i?":"+i:""}`}function h(){let{href:t}=window.location,e=u();return t.substring(e.length)}function c(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function d(t){return t.finished||t.headersSent}function p(t){let e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?`?${e.slice(1).join("?")}`:"")}async function m(t,e){let i=e.res||e.ctx&&e.ctx.res;if(!t.getInitialProps)return e.ctx&&e.Component?{pageProps:await m(e.Component,e.ctx)}:{};let r=await t.getInitialProps(e);if(i&&d(i))return r;if(!r)throw Object.defineProperty(Error(`"${c(t)}.getInitialProps()" should resolve to an object. But found "${r}
1" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}let f="undefined"!=typeof performance,g=f&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class y extends Error{}class v extends Error{}class b extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${t}`}}class x extends Error{constructor(t,e){super(),this.message=`Failed to load static file for page: ${t} ${e}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function k(t){return JSON.stringify({message:t.message,stack:t.stack})}},67580,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return s}});let r=t.r(63619),n=t.r(44562);function s(t){if(!(0,r.isAbsoluteUrl)(t))return!0;try{let e=(0,r.getLocationOrigin)(),i=new URL(t,e);return i.origin===e&&(0,n.hasBasePath)(i.pathname)}catch(t){return!1}}},97888,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return r}});let r=t=>{}},93789,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return y},useLinkStatus:function(){return b}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=t.r(44066),o=t.r(3344),a=s._(t.r(91970)),l=t.r(2453),u=t.r(24492),h=t.r(71031),c=t.r(63619),d=t.r(37166);t.r(64e3);let p=t.r(9861),m=t.r(67580),f=t.r(33304);function g(t){return"string"==typeof t?t:(0,l.formatUrl)(t)}function y(e){var i;let r,n,s,[l,y]=(0,a.useOptimistic)(p.IDLE_LINK_STATUS),b=(0,a.useRef)(null),{href:x,as:w,children:k,prefetch:T=null,passHref:P,replace:A,shallow:S,scroll:E,onClick:C,onMouseEnter:M,onTouchStart:V,legacyBehavior:R=!1,onNavigate:L,ref:j,unstable_dynamicOnHover:D,...O}=e;r=k,R&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let I=a.default.useContext(u.AppRouterContext),F=!1!==T,N=!1!==T?null===(i=T)||"auto"===i?f.FetchStrategy.PPR:f.FetchStrategy.Full:f.FetchStrategy.PPR,{href:B,as:$}=a.default.useMemo(()=>{let t=g(x);return{href:t,as:w?g(w):t}},[x,w]);if(R){if(r?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=a.default.Children.only(r)}let U=R?n&&"object"==typeof n&&n.ref:j,z=a.default.useCallback(t=>(null!==I&&(b.current=(0,p.mountLinkInstance)(t,B,I,N,F,y)),()=>{b.current&&((0,p.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,p.unmountPrefetchableInstance)(t)}),[F,B,I,N,y]),W={ref:(0,h.useMergedRef)(z,U),onClick(e){R||"function"!=typeof C||C(e),R&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!I||e.defaultPrevented||function(e,i,r,n,s,o,l){if("undefined"!=typeof window){let u,{nodeName:h}=e.currentTarget;if("A"===h.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(i)){s&&(e.preventDefault(),location.replace(i));return}if(e.preventDefault(),l){let t=!1;if(l({preventDefault:()=>{t=!0}}),t)return}let{dispatchNavigateAction:c}=t.r(87800);a.default.startTransition(()=>{c(r||i,s?"replace":"push",o??!0,n.current)})}}(e,B,$,b,A,E,L)},onMouseEnter(t){R||"function"!=typeof M||M(t),R&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t),I&&F&&(0,p.onNavigationIntent)(t.currentTarget,!0===D)},onTouchStart:function(t){R||"function"!=typeof V||V(t),R&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t),I&&F&&(0,p.onNavigationIntent)(t.currentTarget,!0===D)}};return(0,c.isAbsoluteUrl)($)?W.href=$:R&&!P&&("a"!==n.type||"href"in n.props)||(W.href=(0,d.addBasePath)($)),s=R?a.default.cloneElement(n,W):(0,o.jsx)("a",{...O,...W,children:r}),(0,o.jsx)(v.Provider,{value:l,children:s})}t.r(97888);let v=(0,a.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,a.useContext)(v);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
1dule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},42696,t=>{"use strict";var e=t.i(18744),i=t.i(89873),r=t.i(29363);let n=e.circInOut,s=(0,i.cubicBezier)(.25,1,.5,1),o={hidden:{opacity:0,y:50},visible:{opacity:1,y:0,transition:{duration:.75,easing:r.easeInOut}}},a={hidden:{y:-240,x:-400,opacity:0},visible:{y:-40,x:-40,opacity:.6,transition:{delay:.8,duration:1.5,easing:r.easeInOut}}};t.s(["animationContainer",0,{hidden:{opacity:0,scaleX:1.15},visible:{opacity:1,scaleX:1,transition:{duration:1,delayChildren:.6,staggerChildren:.2,easing:n}}},"animationContainerNoStagger",0,{hidden:{opacity:0,scaleX:1.05},visible:{opacity:1,scaleX:1,transition:{duration:.7,easing:n}}},"fadeIn",0,{hidden:{opacity:0},visible:{opacity:1,transition:{duration:1.4,staggerChildren:.02}}},"fadeInUp",0,{hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{staggerChildren:.1,duration:.3,easing:s}}},"fadeInUpSlow",0,o,"sectionAnimContainer",0,{visible:{transition:{staggerChildren:.25,delayChildren:0}}},"sentence",0,{hidden:{opacity:1},visible:{opacity:1,transition:{staggerChildren:.018}}},"topLeftIn",0,a,"wordIn",0,{hidden:{y:"106%"},visible:{y:0,transition:{duration:1.25,ease:s}}}])},9754,t=>{"use strict";let e={code:"GET40",percent:"40"},i={checkoutLink:`https://highend.lemonsqueezy.com/checkout/buy/84470297-dd04-461c-bb9a-2c1651e91999?checkout%5Bdiscount_code%5D=${e.code}`,navItems:[{name:"Features",href:"/features"},{name:"Prebuilt Websites",href:"/#prebuilt-websites",icon:"Sparkles"},{name:"Get Support",href:"/support"},{name:"Affiliates",href:"https://highend.lemonsqueezy.com/affiliates"}]};t.s(["demoFilterItems",0,[{id:"all",label:"All",tags:["all"]},{id:"business",label:"Business",tags:["business","nonprofit"]},{id:"blog",label:"Blog",tags:["blog"]},{id:"personal",label:"Personal",tags:["personal","nonprofit"]},{id:"portfolio",label:"Portfolio",tags:["portfolio"]},{id:"shop",label:"Shop",tags:["shop"]}],"demoItems",0,[{categories:["business","blog","personal","portfolio","shop"],href:"https://hb-themes.com/themes/highend_wp/",image:"/demos/main-demo.webp",title:"Main Demo",description:"All features showcase"},{categories:["blog","business","personal","shop"],href:"https://hb-themes.com/themes/highend/bloggera/",image:"/demos/bloggera.webp",title:"Bloggera"},{categories:["business","blog","personal"],href:"https://hb-themes.com/themes/highend/life-coach/",image:"/demos/life-coach.webp",title:"Life Coach"},{categories:["business"],href:"https://hb-themes.com/themes/highend/app/",image:"/demos/app.webp",title:"App/Startup"},{categories:["business","personal","portfolio","blog"],href:"https://hb-themes.com/themes/highend/presentation/",image:"/demos/presentation.webp",title:"Presentation"},{categories:["nonprofit","blog"],href:"https://hb-themes.com/themes/highend/church/",image:"/demos/church.webp",title:"Church"},{categories:["business","personal","portfolio"],href:"https://hb-themes.com/themes/highend/minimal/",image:"/demos/minimal.webp",title:"Minimal"},{categories:["business","blog"],href:"https://hb-themes.com/themes/highend/cafe/",image:"/demos/cafe-restaurant.webp",title:"Café/Restaurant"},{categories:["blog","shop"],href:"https://hb-themes.com/themes/highend/online-shop/",image:"/demos/online-shop.webp",title:"Online Shop"},{categories:["blog","portfolio","personal"],href:"https://hb-themes.com/themes/highend/photography/",image:"/demos/photography.webp",title:"Photography"},{categories:["blog","personal"],href:"https://hb-themes.com/themes/highend/simple-blog/",image:"/demos/simple-blog.webp",title:"Simple Blog"},{categories:["business","personal"],href:"https://hb-themes.com/themes/highend/corporate-one-page/",image:"/demos/one-page.webp",title:"One Page"},{categories:["portfolio","blog","personal"],href:"https://hb-themes.com/themes/highend/jasper/",image:"/demos/jasper.webp",title:"Jasper"},{description:"Get Highend today and receive all future demos for FREE.",href:"#",image:"coming-soon",isComingSoon:!0,title:"Coming Soon"}],"discount",0,e,"siteConfig",0,i])},43700,214,t=>{"use strict";var e=t.i(3344),i=t.i(7284),r=t.i(77608),n=t.i(61228),s=t.i(34026),o=t.i(29859);let a=new Set(["opacity","clipPath","filter","transform"]);class l extends s.MotionValue{constructor(){super(...arguments),this.isEnabled=!1}add(t){(o.transformProps.has(t)||a.has(t))&&(this.isEnabled=!0,this.update())}update(){this.set(this.isEnabled?"transform":"auto")}}function u(){return(0,n.useConstant)(()=>new l("auto"))}t.s(["useWillChange",()=>u],214);var h=t.i(91970),c=t.i(42696);t.s(["default",0,({text:t,className:n,element:s})=>{let o=u(),a=(0,h.useMemo)(()=>t.split(" ").map((t,i)=>(0,e.jsxs)("span",{children:[(0,e.jsx)("span",{className:"-mx-1 inline-block overflow-hidden px-1",children:t.split("").map((t,i)=>(0,e.jsx)(r.motion.span,{variants:c.wordIn,className:"inline-block overflow-visible leading-[1.15]",children:t},`${t}-${i}`))})," "]},`${t}-${i}`)),[t]),l=r.motion[s];return(0,e.jsx)(l,{className:(0,i.default)(n),variants:c.sentence,style:{willChange:o},children:a})}],43700)},75157,7284,t=>{"use strict";function e(){for(var t,e,i=0,r="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=t(e[i]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}t.s(["clsx",()=>e,"default",0,e],7284);let i=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),r=[],n=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let r=t[e],s=i.nextPart.get(r);if(s){let i=n(t,e+1,s);if(i)return i}let o=i.validators;if(null===o)return;let a=0===e?t.join("-"):t.slice(e).join("-"),l=o.length;for(let t=0;t<l;t++){let e=o[t];
1if(e.validator(a))return e.classGroupId}},s=(t,e)=>{let r=i();for(let i in t)o(t[i],r,i,e);return r},o=(t,e,i,r)=>{let n=t.length;for(let s=0;s<n;s++)a(t[s],e,i,r)},a=(t,e,i,r)=>{"string"==typeof t?l(t,e,i):"function"==typeof t?u(t,e,i,r):h(t,e,i,r)},l=(t,e,i)=>{(""===t?e:c(e,t)).classGroupId=i},u=(t,e,i,r)=>{d(t)?o(t(r),e,i,r):(null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t}))},h=(t,e,i,r)=>{let n=Object.entries(t),s=n.length;for(let t=0;t<s;t++){let[s,a]=n[t];o(a,c(e,s),i,r)}},c=(t,e)=>{let r=t,n=e.split("-"),s=n.length;for(let t=0;t<s;t++){let e=n[t],s=r.nextPart.get(e);s||(s=i(),r.nextPart.set(e,s)),r=s}return r},d=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,p=[],m=(t,e,i,r,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),f=/\s+/,g=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=g(t[r]))&&(i&&(i+=" "),i+=e);return i},y=[],v=t=>{let e=e=>e[t]||y;return e.isThemeGetter=!0,e},b=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,w=/^\d+\/\d+$/,k=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,T=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,P=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,A=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,S=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=t=>w.test(t),C=t=>!!t&&!Number.isNaN(Number(t)),M=t=>!!t&&Number.isInteger(Number(t)),V=t=>t.endsWith("%")&&C(t.slice(0,-1)),R=t=>k.test(t),L=()=>!0,j=t=>T.test(t)&&!P.test(t),D=()=>!1,O=t=>A.test(t),I=t=>S.test(t),F=t=>!B(t)&&!X(t),N=t=>J(t,ti,D),B=t=>b.test(t),$=t=>J(t,tr,j),U=t=>J(t,tn,C),z=t=>J(t,tt,D),W=t=>J(t,te,I),_=t=>J(t,to,O),X=t=>x.test(t),Z=t=>Q(t,tr),G=t=>Q(t,ts),H=t=>Q(t,tt),Y=t=>Q(t,ti),K=t=>Q(t,te),q=t=>Q(t,to,!0),J=(t,e,i)=>{let r=b.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},Q=(t,e,i=!1)=>{let r=x.exec(t);return!!r&&(r[1]?e(r[1]):i)},tt=t=>"position"===t||"percentage"===t,te=t=>"image"===t||"url"===t,ti=t=>"length"===t||"size"===t||"bg-size"===t,tr=t=>"length"===t,tn=t=>"number"===t,ts=t=>"family-name"===t,to=t=>"shadow"===t,ta=((t,...e)=>{let i,o,a,l,u=t=>{let e=o(t);if(e)return e;let r=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(f),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:u,modifiers:h,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:p}=i(e);if(u){l=e+(l.length>0?" "+l:l);continue}let m=!!p,f=r(m?d.substring(0,p):d);if(!f){if(!m||!(f=r(d))){l=e+(l.length>0?" "+l:l);continue}m=!1}let g=0===h.length?"":1===h.length?h[0]:s(h).join(":"),y=c?g+"!":g,v=y+f;if(o.indexOf(v)>-1)continue;o.push(v);let b=n(f,m);for(let t=0;t<b.length;++t){let e=b[t];o.push(y+e)}l=e+(l.length>0?" "+l:l)}return l})(t,i);return a(t,r),r};return l=h=>{var c;let d;return o=(i={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=Object.create(null),r=Object.create(null),n=(n,s)=>{i[n]=s,++e>t&&(e=0,r=i,i=Object.create(null))};return{get(t){let e=i[t];return void 0!==e?e:void 0!==(e=r[t])?(n(t,e),e):void 0},set(t,e){t in i?i[t]=e:n(t,e)}}})((c=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,n=0,s=0,o=t.length;for(let a=0;a<o;a++){let o=t[a];if(0===r&&0===n){if(":"===o){i.push(t.slice(s,a)),s=a+1;continue}if("/"===o){e=a;continue}}"["===o?r++:"]"===o?r--:"("===o?n++:")"===o&&n--}let a=0===i.length?t:t.slice(s),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),m(i,u,l,e&&e>s?e-s:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):m(p,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r})(c),sortModifiers:(d=new Map,c.orderSensitiveModifiers.forEach((t,e)=>{d.set(t,1e6+e)}),t=>{let e=[],i=[];for(let r=0;r<t.length;r++){let n=t[r],s="["===n[0],o=d.has(n);s||o?(i.length>0&&(i.sort(),e.push(...i),i=[]),e.push(n)):i.push(n)}return i.length>0&&(i.sort(),e.push(...i)),e}),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return s(i,e)})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]")){var i;let e,r,n;return -1===(i=t).slice(1,-1).indexOf(":")?void 0:(r=(e=i.slice(1,-1)).indexOf(":"),(n=e.slice(0,r))?"arbitrary.."+n:void 0)}let r=t.split("-"),s=+(""===r[0]&&r.length>1);return n(r,s,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=o[t],n=i[t];if(e){if(n){let t=Array(n.length+e.length);for(let e=0;e<n.length;e++)t[e]=n[e];for(let i=0;i<e.length;i++)t[n.length+i]=e[i];return t}return e}return n||r}return i[t]||r}}})(c)}).cache.get,a=i.cache.set,l=u,u(h)},(...t)=>l(((...t)=>{let e,i,r=0,n="";for(;r<t.length;)(e=t[r++])&&(i=g(e))&&(n&&(n+=" "),n+=i);return n})(...t))})(()=>{let t=v("color"),e=v("font"),i=v("text"),r=v("font-weight"),n=v("tracking"),s=v("leading"),o=v("breakpoint"),a=v("container"),l=v("spacing"),u=v("radius"),h=v("shadow"),c=v("inset-shadow"),d=v("text-shadow"),p=v("drop-shadow"),m=v("blur"),f=v("perspective"),g=v("aspect"),y=v("ease"),b=v("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...w(),X,B],T=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],A=()=>[X,B,l],S=()=>[E,"full","auto",...A()],j=()=>[M,"none","subgrid",X,B],D=()=>["auto",{span:["full",M,X,B]},M,X,B],O=()=>[M,"auto",X,B],I=()=>["auto","min","max","fr",X,B],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q=()=>["start","end","center","stretch","center-safe","end-safe"],tt=()=>["auto",...A()],te=()=>[E,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],ti=()=>[t,X,B],tr=()=>[...w(),H,z,{position:[X,B]}],tn=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ts=()=>["auto","cover","contain",Y,N,{size:[X,B]}],to=()=>[V,Z,$],ta=()=>["","none","full",u,X,B],tl=()=>["",C,Z,$],tu=()=>["solid","dashed","dotted","double"],th=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],tc=()=>[C,V,H,z],td=()=>["","none",m,X,B],tp=()=>["none",C,X,B],tm=()=>["none",C,X,B],tf=()=>[C,X,B],tg=()=>[E,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[R],breakpoint:[R],color:[L],container:[R],"drop-shadow":[R],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[R],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[R],shadow:[R],spacing:["px",C],text:[R],"text-shadow":[R],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",E,B,X,g]}
vendor: 4,410 bytes, line 1
1],container:["container"],columns:[{columns:[C,B,X,a]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{start:S()}],end:[{end:S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",X,B]}],basis:[{basis:[E,"full","auto",a,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[C,E,"auto","initial","none",B]}],grow:[{grow:["",C,X,B]}],shrink:[{shrink:["",C,X,B]}],order:[{order:[M,"first","last","none",X,B]}],"grid-cols":[{"grid-cols":j()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":j()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":I()}],"auto-rows":[{"auto-rows":I()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...Q(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...Q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...Q(),"baseline"]}],"place-self":[{"place-self":["auto",...Q()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:tt()}],mx:[{mx:tt()}],my:[{my:tt()}],ms:[{ms:tt()}],me:[{me:tt()}],mt:[{mt:tt()}],mr:[{mr:tt()}],mb:[{mb:tt()}],ml:[{ml:tt()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[a,"screen",...te()]}],"min-w":[{"min-w":[a,"screen","none",...te()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...te()]}],h:[{h:["screen","lh",...te()]}],"min-h":[{"min-h":["screen","lh","none",...te()]}],"max-h":[{"max-h":["screen","lh",...te()]}],"font-size":[{text:["base",i,Z,$]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,X,U]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",V,B]}],"font-family":[{font:[G,B,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,X,B]}],"line-clamp":[{"line-clamp":[C,"none",X,U]}],leading:[{leading:[s,...A()]}],"list-image":[{"list-image":["none",X,B]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",X,B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ti()}],"text-color":[{text:ti()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...tu(),"w
1avy"]}],"text-decoration-thickness":[{decoration:[C,"from-font","auto",X,$]}],"text-decoration-color":[{decoration:ti()}],"underline-offset":[{"underline-offset":[C,"auto",X,B]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X,B]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X,B]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tr()}],"bg-repeat":[{bg:tn()}],"bg-size":[{bg:ts()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,X,B],radial:["",X,B],conic:[M,X,B]},K,W]}],"bg-color":[{bg:ti()}],"gradient-from-pos":[{from:to()}],"gradient-via-pos":[{via:to()}],"gradient-to-pos":[{to:to()}],"gradient-from":[{from:ti()}],"gradient-via":[{via:ti()}],"gradient-to":[{to:ti()}],rounded:[{rounded:ta()}],"rounded-s":[{"rounded-s":ta()}],"rounded-e":[{"rounded-e":ta()}],"rounded-t":[{"rounded-t":ta()}],"rounded-r":[{"rounded-r":ta()}],"rounded-b":[{"rounded-b":ta()}],"rounded-l":[{"rounded-l":ta()}],"rounded-ss":[{"rounded-ss":ta()}],"rounded-se":[{"rounded-se":ta()}],"rounded-ee":[{"rounded-ee":ta()}],"rounded-es":[{"rounded-es":ta()}],"rounded-tl":[{"rounded-tl":ta()}],"rounded-tr":[{"rounded-tr":ta()}],"rounded-br":[{"rounded-br":ta()}],"rounded-bl":[{"rounded-bl":ta()}],"border-w":[{border:tl()}],"border-w-x":[{"border-x":tl()}],"border-w-y":[{"border-y":tl()}],"border-w-s":[{"border-s":tl()}],"border-w-e":[{"border-e":tl()}],"border-w-t":[{"border-t":tl()}],"border-w-r":[{"border-r":tl()}],"border-w-b":[{"border-b":tl()}],"border-w-l":[{"border-l":tl()}],"divide-x":[{"divide-x":tl()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tl()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...tu(),"hidden","none"]}],"divide-style":[{divide:[...tu(),"hidden","none"]}],"border-color":[{border:ti()}],"border-color-x":[{"border-x":ti()}],"border-color-y":[{"border-y":ti()}],"border-color-s":[{"border-s":ti()}],"border-color-e":[{"border-e":ti()}],"border-color-t":[{"border-t":ti()}],"border-color-r":[{"border-r":ti()}],"border-color-b":[{"border-b":ti()}],"border-color-l":[{"border-l":ti()}],"divide-color":[{divide:ti()}],"outline-style":[{outline:[...tu(),"none","hidden"]}],"outline-offset":[{"outline-offset":[C,X,B]}],"outline-w":[{outline:["",C,Z,$]}],"outline-color":[{outline:ti()}],shadow:[{shadow:["","none",h,q,_]}],"shadow-color":[{shadow:ti()}],"inset-shadow":[{"inset-shadow":["none",c,q,_]}],"inset-shadow-color":[{"inset-shadow":ti()}],"ring-w":[{ring:tl()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ti()}],"ring-offset-w":[{"ring-offset":[C,$]}],"ring-offset-color":[{"ring-offset":ti()}],"inset-ring-w":[{"inset-ring":tl()}],"inset-ring-color":[{"inset-ring":ti()}],"text-shadow":[{"text-shadow":["none",d,q,_]}],"text-shadow-color":[{"text-shadow":ti()}],opacity:[{opacity:[C,X,B]}],"mix-blend":[{"mix-blend":[...th(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":th()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[C]}],"mask-image-linear-from-pos":[{"mask-linear-from":tc()}],"mask-image-linear-to-pos":[{"mask-linear-to":tc()}],"mask-image-linear-from-color":[{"mask-linear-from":ti()}],"mask-image-linear-to-color":[{"mask-linear-to":ti()}],"mask-image-t-from-pos":[{"mask-t-from":tc()}],"mask-image-t-to-pos":[{"mask-t-to":tc()}],"mask-image-t-from-color":[{"mask-t-from":ti()}],"mask-image-t-to-color":[{"mask-t-to":ti()}],"mask-image-r-from-pos":[{"mask-r-from":tc()}],"mask-image-r-to-pos":[{"mask-r-to":tc()}],"mask-image-r-from-color":[{"mask-r-from":ti()}],"mask-image-r-to-color":[{"mask-r-to":ti()}],"mask-image-b-from-pos":[{"mask-b-from":tc()}],"mask-image-b-to-pos":[{"mask-b-to":tc()}],"mask-image-b-from-color":[{"mask-b-from":ti()}],"mask-image-b-to-color":[{"mask-b-to":ti()}],"mask-image-l-from-pos":[{"mask-l-from":tc()}],"mask-image-l-to-pos":[{"mask-l-to":tc()}],"mask-image-l-from-color":[{"mask-l-from":ti()}],"mask-image-l-to-color":[{"mask-l-to":ti()}],"mask-image-x-from-pos":[{"mask-x-from":tc()}],"mask-image-x-to-pos":[{"mask-x-to":tc()}],"mask-image-x-from-color":[{"mask-x-from":ti()}],"mask-image-x-to-color":[{"mask-x-to":ti()}],"mask-image-y-from-pos":[{"mask-y-from":tc()}],"mask-image-y-to-pos":[{"mask-y-to":tc()}],"mask-image-y-from-color":[{"mask-y-from":ti()}],"mask-image-y-to-color":[{"mask-y-to":ti()}
vendor: 4,804 bytes, line 1
1],"mask-image-radial":[{"mask-radial":[X,B]}],"mask-image-radial-from-pos":[{"mask-radial-from":tc()}],"mask-image-radial-to-pos":[{"mask-radial-to":tc()}],"mask-image-radial-from-color":[{"mask-radial-from":ti()}],"mask-image-radial-to-color":[{"mask-radial-to":ti()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[C]}],"mask-image-conic-from-pos":[{"mask-conic-from":tc()}],"mask-image-conic-to-pos":[{"mask-conic-to":tc()}],"mask-image-conic-from-color":[{"mask-conic-from":ti()}],"mask-image-conic-to-color":[{"mask-conic-to":ti()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tr()}],"mask-repeat":[{mask:tn()}],"mask-size":[{mask:ts()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",X,B]}],filter:[{filter:["","none",X,B]}],blur:[{blur:td()}],brightness:[{brightness:[C,X,B]}],contrast:[{contrast:[C,X,B]}],"drop-shadow":[{"drop-shadow":["","none",p,q,_]}],"drop-shadow-color":[{"drop-shadow":ti()}],grayscale:[{grayscale:["",C,X,B]}],"hue-rotate":[{"hue-rotate":[C,X,B]}],invert:[{invert:["",C,X,B]}],saturate:[{saturate:[C,X,B]}],sepia:[{sepia:["",C,X,B]}],"backdrop-filter":[{"backdrop-filter":["","none",X,B]}],"backdrop-blur":[{"backdrop-blur":td()}],"backdrop-brightness":[{"backdrop-brightness":[C,X,B]}],"backdrop-contrast":[{"backdrop-contrast":[C,X,B]}],"backdrop-grayscale":[{"backdrop-grayscale":["",C,X,B]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C,X,B]}],"backdrop-invert":[{"backdrop-invert":["",C,X,B]}],"backdrop-opacity":[{"backdrop-opacity":[C,X,B]}],"backdrop-saturate":[{"backdrop-saturate":[C,X,B]}],"backdrop-sepia":[{"backdrop-sepia":["",C,X,B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",X,B]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[C,"initial",X,B]}],ease:[{ease:["linear","initial",y,X,B]}],delay:[{delay:[C,X,B]}],animate:[{animate:["none",b,X,B]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,X,B]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:tp()}],"rotate-x":[{"rotate-x":tp()}],"rotate-y":[{"rotate-y":tp()}],"rotate-z":[{"rotate-z":tp()}],scale:[{scale:tm()}],"scale-x":[{"scale-x":tm()}],"scale-y":[{"scale-y":tm()}],"scale-z":[{"scale-z":tm()}],"scale-3d":["scale-3d"],skew:[{skew:tf()}],"skew-x":[{"skew-x":tf()}],"skew-y":[{"skew-y":tf()}],transform:[{transform:[X,B,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tg()}],"translate-x":[{"translate-x":tg()}],"translate-y":[{"translate-y":tg()}],"translate-z":[{"translate-z":tg()}],"translate-none":["translate-none"],accent:[{accent:ti()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ti()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X,B]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
1],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X,B]}],fill:[{fill:["none",...ti()]}],"stroke-w":[{stroke:[C,Z,$,U]}],stroke:[{stroke:["none",...ti()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function tl(...t){return ta(e(t))}t.s(["cn",()=>tl],75157)},63167,t=>{"use strict";var e=t.i(3344),i=t.i(91970),r=t.i(75157);let n=(0,i.forwardRef)(({children:t,className:i,id:n},s)=>(0,e.jsx)("div",{ref:s,id:n,className:(0,r.cn)("mx-auto flex w-full max-w-7xl flex-col justify-center px-6 xs:px-8 lg:px-24",i),children:t}));n.displayName="Container",t.s(["default",0,n])},51024,t=>{"use strict";var e=t.i(3344),i=t.i(75157);t.s(["default",0,({children:t,text:r,className:n})=>(0,e.jsx)("p",{className:(0,i.cn)("font-normal text-base text-brand-red uppercase tracking-wider",n),children:t||r})])},59645,t=>{"use strict";var e=t.i(91970);let i=(0,e.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),r=e.forwardRef((t,r)=>{let{alt:n,color:s,size:o,weight:a,mirrored:l,children:u,weights:h,...c}=t,{color:d="currentColor",size:p,weight:m="regular",mirrored:f=!1,...g}=e.useContext(i);return e.createElement("svg",{ref:r,xmlns:"http://www.w3.org/2000/svg",width:null!=o?o:p,height:null!=o?o:p,fill:null!=s?s:d,viewBox:"0 0 256 256",transform:l||f?"scale(-1, 1)":void 0,...g,...c},!!n&&e.createElement("title",null,n),u,h.get(null!=a?a:m))});r.displayName="IconBase",t.s(["default",()=>r],59645)},10007,69512,t=>{"use strict";var e=t.i(3344);t.i(6990);var i=t.i(91970),r=t.i(53020),n=t.i(61228),s=t.i(3347),o=t.i(7624),a=t.i(12064),l=i,u=t.i(61916);function h(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class c extends l.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;
1if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=(0,a.isHTMLElement)(t)&&t.offsetWidth||0,r=this.props.sizeRef.current;r.height=e.offsetHeight||0,r.width=e.offsetWidth||0,r.top=e.offsetTop,r.left=e.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:t,isPresent:r,anchorX:n,root:s}){let o=(0,l.useId)(),a=(0,l.useRef)(null),d=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:p}=(0,l.useContext)(u.MotionConfigContext),m=function(...t){return i.useCallback(function(...t){return e=>{let i=!1,r=t.map(t=>{let r=h(t,e);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let e=0;e<r.length;e++){let i=r[e];"function"==typeof i?i():h(t[e],null)}}}}(...t),t)}(a,t?.ref);return(0,l.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:l,right:u}=d.current;if(r||!a.current||!t||!e)return;let h="left"===n?`left: ${l}`:`right: ${u}`;a.current.dataset.motionPopId=o;let c=document.createElement("style");p&&(c.nonce=p);let m=s??document.head;return m.appendChild(c),c.sheet&&c.sheet.insertRule(`
2          [data-motion-pop-id="${o}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${e}px !important;
6            ${h}px !important;
7            top: ${i}px !important;
8          }
9        `),()=>{m.contains(c)&&m.removeChild(c)}},[r]),(0,e.jsx)(c,{isPresent:r,childRef:a,sizeRef:d,children:l.cloneElement(t,{ref:m})})}let p=({children:t,initial:r,isPresent:s,onExitComplete:a,custom:l,presenceAffectsLayout:u,mode:h,anchorX:c,root:p})=>{let f=(0,n.useConstant)(m),g=(0,i.useId)(),y=!0,v=(0,i.useMemo)(()=>(y=!1,{id:g,initial:r,isPresent:s,custom:l,onExitComplete:t=>{for(let e of(f.set(t,!0),f.values()))if(!e)return;a&&a()},register:t=>(f.set(t,!1),()=>f.delete(t))}),[s,f,a]);return u&&y&&(v={...v}),(0,i.useMemo)(()=>{f.forEach((t,e)=>f.set(e,!1))},[s]),i.useEffect(()=>{s||f.size||!a||a()},[s]),"popLayout"===h&&(t=(0,e.jsx)(d,{isPresent:s,anchorX:c,root:p,children:t})),(0,e.jsx)(o.PresenceContext.Provider,{value:v,children:t})};function m(){return new Map}var f=t.i(26195);let g=t=>t.key||"";function y(t){let e=[];return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}let v=({children:t,custom:o,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync",propagate:c=!1,anchorX:d="left",root:m})=>{let[v,b]=(0,f.usePresence)(c),x=(0,i.useMemo)(()=>y(t),[t]),w=c&&!v?[]:x.map(g),k=(0,i.useRef)(!0),T=(0,i.useRef)(x),P=(0,n.useConstant)(()=>new Map),[A,S]=(0,i.useState)(x),[E,C]=(0,i.useState)(x);(0,s.useIsomorphicLayoutEffect)(()=>{k.current=!1,T.current=x;for(let t=0;t<E.length;t++){let e=g(E[t]);w.includes(e)?P.delete(e):!0!==P.get(e)&&P.set(e,!1)}},[E,w.length,w.join("-")]);let M=[];if(x!==A){let t=[...x];for(let e=0;e<E.length;e++){let i=E[e],r=g(i);w.includes(r)||(t.splice(e,0,i),M.push(i))}return"wait"===h&&M.length&&(t=M),C(y(t)),S(x),null}let{forceRender:V}=(0,i.useContext)(r.LayoutGroupContext);return(0,e.jsx)(e.Fragment,{children:E.map(t=>{let i=g(t),r=(!c||!!v)&&(x===E||w.includes(i));return(0,e.jsx)(p,{isPresent:r,initial:(!k.current||!!a)&&void 0,custom:o,presenceAffectsLayout:u,mode:h,root:m,onExitComplete:r?void 0:()=>{if(!P.has(i))return;P.set(i,!0);let t=!0;P.forEach(e=>{e||(t=!1)}),t&&(V?.(),C(T.current),c&&b?.(),l&&l())},anchorX:d,children:t},i)})})};t.s(["AnimatePresence",()=>v],69512);var b=t.i(77608),x=t.i(93789),w=t.i(75157);let k=(0,i.forwardRef)(({btnStyle:t="regular",btnSize:i="sm",className:r,isLoading:n=!1,...s},o)=>{let a=(0,w.cn)("relative inline-flex cursor-pointer items-center justify-center gap-1.5 overflow-hidden rounded-full font-book text-current transition-colors ease-smooth","primary"===t&&(n?"bg-brand text-white":"bg-brand text-white hover:bg-brand-600 active:bg-brand-700"),"regular"===t&&(n?"bg-neutral-950/5":"bg-neutral-950/5 hover:bg-brand hover:text-white active:bg-brand-600"),"link"===t&&(n?"!p-0 bg-transparent text-neutral-700":"!px-0 !py-0 bg-transparent text-neutral-700 hover:text-neutral-900 active:text-neutral-950"),"primary"!==t&&"regular"!==t&&"link"!==t&&!n&&"hover:bg-brand hover:text-white active:bg-brand-600","link"!==t&&({sm:{classes:"px-5 py-1.5"}
9,md:{classes:"px-6 py-[10px]"},lg:{classes:"px-12 py-4 text-lg"}})[i].classes,r),l={type:"spring",stiffness:600,damping:25},u={className:a,transition:l},h={loading:{opacity:0,transition:{duration:.15}},idle:{opacity:1,transition:{duration:.15,delay:.1}}},c={hidden:{opacity:0,scale:.7,transition:{duration:.15}},visible:{opacity:1,scale:1,transition:{duration:.15,delay:.1}}},d="primary"===t?"border-white":"border-current",p="children"in s&&s.children||"text"in s&&s.text,m=()=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(b.motion.span,{className:"flex items-center justify-center gap-1.5 whitespace-nowrap",variants:h,animate:n?"loading":"idle",transition:l,children:p}),(0,e.jsx)(v,{children:n&&(0,e.jsx)(b.motion.div,{variants:c,initial:"hidden",animate:"visible",exit:"hidden",className:"absolute inset-0 flex items-center justify-center",transition:l,children:(0,e.jsx)("div",{className:`size-4 border-2 ${d} animate-spin rounded-full border-t-transparent`})},"spinner")})]});if("button"===s.el){let{el:t,children:i,text:r,isLoading:a,btnStyle:l,btnSize:h,...c}=s;return(0,e.jsx)(b.motion.button,{ref:o,...u,...c,disabled:n||c.disabled,children:m()})}if("a"===s.el){let{el:t,children:i,text:r,isLoading:a,btnStyle:l,btnSize:h,...c}=s;return(0,e.jsx)(b.motion.a,{ref:o,...u,...c,"aria-disabled":n||c["aria-disabled"],style:{pointerEvents:n||c["aria-disabled"]?"none":"auto",...c.style||{}},children:m()})}let{el:f,children:g,text:y,isLoading:k,btnStyle:T,btnSize:P,href:A,...S}=s,E=(0,b.motion)(x.default);return(0,e.jsx)(E,{ref:o,href:A,...u,...S,"aria-disabled":n,style:{pointerEvents:n?"none":"auto"},children:m()})});k.displayName="Button",t.s(["default",0,k],10007)},89293,t=>{"use strict";var e=t.i(3344),i=t.i(91970),r=t.i(59645);let n=new Map([["bold",i.createElement(i.Fragment,null,i.createElement("path",{d:"M184.63,23.14a12,12,0,0,1,15-8A72.34,72.34,0,0,1,228.4,32a12,12,0,0,1-16.58,17.35,48.31,48.31,0,0,0-19.2-11.2A12,12,0,0,1,184.63,23.14ZM232.85,167.8A92,92,0,0,1,64.31,190l-40-69.32A32,32,0,0,1,36,77a31.72,31.72,0,0,1,7.54-3.14A32,32,0,0,1,88.65,32.45a32,32,0,0,1,53,3.55l14.53,25.17A32,32,0,0,1,206.35,68l17.31,30A91.38,91.38,0,0,1,232.85,167.8Zm-30-57.81L185.57,80a8,8,0,0,0-13.86,8h0l6.68,11.57a12,12,0,0,1-3.18,15.59,28,28,0,0,0-6.41,38.1,12,12,0,1,1-19.86,13.46,52.05,52.05,0,0,1,3.9-63.4L120.9,48A8,8,0,0,0,107,56l24.25,42a12,12,0,1,1-20.78,12L79.33,56a8,8,0,0,0-13.85,8L99,122a12,12,0,0,1-20.78,12L58.93,100.67a8,8,0,1,0-13.85,8L85.1,178a68,68,0,0,0,117.78-68ZM50.46,198a12,12,0,1,0-20.78,12,132.79,132.79,0,0,0,20,26.38,12,12,0,1,0,17.17-16.76A109.2,109.2,0,0,1,50.46,198Z"}))],["duotone",i.createElement(i.Fragment,null,i.createElement("path",{d:"M184,213.27A80,80,0,0,1,74.7,184l-40-69.32a20,20,0,0,1,34.64-20L55.08,70A20,20,0,0,1,89.73,50l6.92,12h0a20,20,0,0,1,34.64-20l30,52A20,20,0,0,1,196,74l17.31,30A80,80,0,0,1,184,213.27Z",opacity:"0.2"}),i.createElement("path",{d:"M220.17,100,202.86,70a28,28,0,0,0-38.24-10.25,27.69,27.69,0,0,0-9,8.34L138.2,38a28,28,0,0,0-48.48,0A28,28,0,0,0,48.15,74l1.59,2.76A27.67,27.67,0,0,0,38,80.41a28,28,0,0,0-10.24,38.25l40,69.32a87.47,87.47,0,0,0,53.43,41,88.56,88.56,0,0,0,22.92,3,88,88,0,0,0,76.06-132Zm-6.66,62.64A72,72,0,0,1,81.62,180l-40-69.32a12,12,0,0,1,20.78-12L81.63,132a8,8,0,1,0,13.85-8L62,66A12,12,0,1,1,82.78,54L114,108a8,8,0,1,0,13.85-8L103.57,58h0a12,12,0,1,1,20.78-12l33.42,57.9a48,48,0,0,0-5.54,60.6,8,8,0,0,0,13.24-9A32,32,0,0,1,172.78,112a8,8,0,0,0,2.13-10.4L168.23,90A12,12,0,1,1,189,78l17.31,30A71.56,71.56,0,0,1,213.51,162.62ZM184.25,31.71A8,8,0,0,1,194,26a59.62,59.62,0,0,1,36.53,28l.33.57a8,8,0,1,1-13.85,8l-.33-.57a43.67,43.67,0,0,0-26.8-20.5A8,8,0,0,1,184.25,31.71ZM80.89,237a8,8,0,0,1-11.23,1.33A119.56,119.56,0,0,1,40.06,204a8,8,0,0,1,13.86-8,103.67,103.67,0,0,0,25.64,29.72A8,8,0,0,1,80.89,237Z"}))],["fill",i.createElement(i.Fragment,null,i.createElement("path",{d:"M219.31,98.46A88,88,0,1,1,67.08,186.77h0L26.15,115.88a16,16,0,0,1,27.69-16L72.4,132a8,8,0,0,0,13.86-8L47,56A16,16,0,0,1,74.69,40L114,108a8,8,0,1,0,13.85-8l-30-52a16,16,0,0,1,27.71-16L166,102.12A48.25,48.25,0,0,0,152,136a47.59,47.59,0,0,0,9.6,28.8,8,8,0,1,0,12.79-9.61A32,32,0,0,1,181,110.26a8,8,0,0,0,2.17-10.43L171.71,80a16,16,0,0,1,27.71-16l19.89,34.46Zm-29.37-57A43.74,43.74,0,0,1,216.74,62l.33.57a8,8,0,0,0,13.86-8L230.6,54a59.64,59.64,0,0,0-36.54-28,8,8,0,0,0-4.12,15.46ZM79.58,225.72A103.58,103.58,0,0,1,53.93,196a8,8,0,0,0-13.86,8,119.56,119.56,0,0,0,29.6,34.28,8,8,0,0,0,9.91-12.56Z"}))],["light",i.createElement(i.Fragment,null,i.createElement("path",{d:"M218.44,101,201.13,71a26,26,0,0,0-45.58,1L136.47,39a26,26,0,0,0-46.14,2.19A26,26,0,0,0,49.88,73l3.29,5.7a26,26,0,0,0-23.69,39L69.5,187a85.44,85.44,0,0,0,52.21,40.08,86.71,86.71,0,0,0,22.4,3,86,86,0,0,0,74.33-129Zm-3,62.16A74,74,0,0,1,79.89,181l-40-69.32a14,14,0,0,1,24.25-14L83.36,131a6,6,0,0,0,10.39-6L60.27,67A14,14,0,1,1,84.52,53l31.17,54a6,6,0,0,0,5.2,3,5.9,5.9,0,0,0,3-.81,6,6,0,0,0,2.2-8.2L101.83,59a14,14,0,0,1,24.25-14l34.2,59.23a46,46,0,0,0-6.4,59.13,6,6,0,0,0,9.94-6.73,34,34,0,0,1,7.76-46.26,6,6,0,0,0,1.6-7.8L166.49,91a14,14,0,1,1,24.25-14l17.31,30A73.53,73.53,0,0,1,215.44,163.14ZM186.18,32.22A6,6,0,0,1,193.52,28a57.59,57.59,0,0,1,35.32,27l.33.57a6,6,0,1,1-10.39,6l-.33-.57a45.69,45.69,0,0,0-28-21.43A6,6,0,0,1,186.18,32.22ZM79.32,235.71a6,6,0,0,1-8.42,1A117.79,117.79,0,0,1,41.79,203a6,6,0,0,1,10.4-6,105.48,105.48,0,0,0,26.14,30.29A6,6,0,0,1,79.32,235.71Z"}))],["regular",i.createElement(i.Fragment,null,i.createElement("path",{d:"M220.17,100,202.86,70a28,28,0,0,0-38.24-10.25,27.
969,27.69,0,0,0-9,8.34L138.2,38a28,28,0,0,0-48.48,0A28,28,0,0,0,48.15,74l1.59,2.76A27.67,27.67,0,0,0,38,80.41a28,28,0,0,0-10.24,38.25l40,69.32a87.47,87.47,0,0,0,53.43,41,88.56,88.56,0,0,0,22.92,3,88,88,0,0,0,76.06-132Zm-6.66,62.64A72,72,0,0,1,81.62,180l-40-69.32a12,12,0,0,1,20.78-12L81.63,132a8,8,0,1,0,13.85-8L62,66A12,12,0,1,1,82.78,54L114,108a8,8,0,1,0,13.85-8L103.57,58h0a12,12,0,1,1,20.78-12l33.42,57.9a48,48,0,0,0-5.54,60.6,8,8,0,0,0,13.24-9A32,32,0,0,1,172.78,112a8,8,0,0,0,2.13-10.4L168.23,90A12,12,0,1,1,189,78l17.31,30A71.56,71.56,0,0,1,213.51,162.62ZM184.25,31.71A8,8,0,0,1,194,26a59.62,59.62,0,0,1,36.53,28l.33.57a8,8,0,1,1-13.85,8l-.33-.57a43.67,43.67,0,0,0-26.8-20.5A8,8,0,0,1,184.25,31.71ZM80.89,237a8,8,0,0,1-11.23,1.33A119.56,119.56,0,0,1,40.06,204a8,8,0,0,1,13.86-8,103.67,103.67,0,0,0,25.64,29.72A8,8,0,0,1,80.89,237Z"}))],["thin",i.createElement(i.Fragment,null,i.createElement("path",{d:"M216.71,102,199.4,72a24,24,0,0,0-43.57,4.52L134.74,40a24,24,0,0,0-43.69,4.9A24,24,0,0,0,51.61,72l5.31,9.19a24,24,0,0,0-25.71,35.47l40,69.32a83.4,83.4,0,0,0,51,39.14,84.45,84.45,0,0,0,21.88,2.9,84,84,0,0,0,72.6-126Zm.67,61.67A76,76,0,0,1,78.16,182l-40-69.32a16,16,0,0,1,27.71-16L85.09,130A4,4,0,0,0,92,126L58.54,68A16,16,0,1,1,86.25,52l31.17,54a4,4,0,1,0,6.93-4L100.1,60a16,16,0,0,1,27.72-16l35,60.63a44,44,0,0,0-7.28,57.61,4,4,0,1,0,6.62-4.49,36,36,0,0,1,8.22-49,4,4,0,0,0,1.07-5.2L164.76,92a16,16,0,1,1,27.71-16l17.31,30A75.52,75.52,0,0,1,217.38,163.65ZM188.12,32.74A4,4,0,0,1,193,29.9,55.65,55.65,0,0,1,227.11,56l.33.58A4,4,0,0,1,226,62a4,4,0,0,1-5.47-1.46l-.33-.57A47.62,47.62,0,0,0,191,37.63,4,4,0,0,1,188.12,32.74ZM77.75,234.48A4,4,0,0,1,74.61,236a4,4,0,0,1-2.47-.86A115.55,115.55,0,0,1,43.53,202a4,4,0,1,1,6.92-4,107.72,107.72,0,0,0,26.64,30.86A4,4,0,0,1,77.75,234.48Z"}))]]),s=i.forwardRef((t,e)=>i.createElement(r.default,{ref:e,...t,weights:n}));s.displayName="HandWavingIcon";var o=t.i(10007);t.s(["ChatButton",0,()=>(0,e.jsxs)(o.default,{btnSize:"md",btnStyle:"regular",el:"link",href:"/support",className:"group shrink-0 self-start md:ml-auto md:self-center",children:[(0,e.jsx)("span",{children:"Let’s talk"}),(0,e.jsx)(s,{size:20,className:"ml-1 origin-center transition-transform group-hover:rotate-[30deg]"})]}),"CrispChatBox",0,()=>((0,i.useEffect)(()=>{window.$crisp=[],window.CRISP_WEBSITE_ID="6e3827a2-529b-4162-bfb6-722541129214";let t=document.createElement("script");t.src="https://client.crisp.chat/l.js",t.async=!0,document.getElementsByTagName("head")[0].appendChild(t)},[]),null)],89293)},91967,t=>{"use strict";function e(t,i,{checkForDefaultPrevented:r=!0}={}){return function(e){if(t?.(e),!1===r||!e.defaultPrevented)return i?.(e)}}"undefined"!=typeof window&&window.document&&window.document.createElement,t.s(["composeEventHandlers",()=>e])},89268,t=>{"use strict";var e=t.i(91970);function i(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}function r(...t){return e=>{let r=!1,n=t.map(t=>{let n=i(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<n.length;e++){let r=n[e];"function"==typeof r?r():i(t[e],null)}}}}function n(...t){return e.useCallback(r(...t),t)}t.s(["composeRefs",()=>r,"useComposedRefs",()=>n])},94185,t=>{"use strict";var e=t.i(91970),i=t.i(3344);function r(t,r){let n=e.createContext(r),s=t=>{let{children:r,...s}=t,o=e.useMemo(()=>s,Object.values(s));return(0,i.jsx)(n.Provider,{value:o,children:r})};return s.displayName=t+"Provider",[s,function(i){let s=e.useContext(n);if(s)return s;if(void 0!==r)return r;throw Error(`\`${i}\` must be used within \`${t}\``)}]}function n(t,r=[]){let s=[],o=()=>{let i=s.map(t=>e.createContext(t));return function(r){let n=r?.[t]||i;return e.useMemo(()=>({[`__scope${t}`]:{...r,[t]:n}}),[r,n])}};return o.scopeName=t,[function(r,n){let o=e.createContext(n),a=s.length;s=[...s,n];let l=r=>{let{scope:n,children:s,...l}=r,u=n?.[t]?.[a]||o,h=e.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:h,children:s})};return l.displayName=r+"Provider",[l,function(i,s){let l=s?.[t]?.[a]||o,u=e.useContext(l);if(u)return u;if(void 0!==n)return n;throw Error(`\`${i}\` must be used within \`${r}\``)}]},function(...t){let i=t[0];if(1===t.length)return i;let r=()=>{let r=t.map(t=>({useScope:t(),scopeName:t.scopeName}));
9return function(t){let n=r.reduce((e,{useScope:i,scopeName:r})=>{let n=i(t)[`__scope${r}`];return{...e,...n}},{});return e.useMemo(()=>({[`__scope${i.scopeName}`]:n}),[n])}};return r.scopeName=i.scopeName,r}(o,...r)]}t.s(["createContext",()=>r,"createContextScope",()=>n])},37471,t=>{"use strict";var e=t.i(91970),i=globalThis?.document?e.useLayoutEffect:()=>{};t.s(["useLayoutEffect",()=>i])},20344,t=>{"use strict";var e=t.i(91970),i=t.i(37471),r=e[" useId ".trim().toString()]||(()=>void 0),n=0;function s(t){let[s,o]=e.useState(r());return(0,i.useLayoutEffect)(()=>{t||o(t=>t??String(n++))},[t]),t||(s?`radix-${s}`:"")}t.s(["useId",()=>s])},70672,t=>{"use strict";var e=t.i(91970),i=t.i(37471);e[" useEffectEvent ".trim().toString()],e[" useInsertionEffect ".trim().toString()];var r=e[" useInsertionEffect ".trim().toString()]||i.useLayoutEffect;function n({prop:t,defaultProp:i,onChange:n=()=>{},caller:s}){let[o,a,l]=function({defaultProp:t,onChange:i}){let[n,s]=e.useState(t),o=e.useRef(n),a=e.useRef(i);return r(()=>{a.current=i},[i]),e.useEffect(()=>{o.current!==n&&(a.current?.(n),o.current=n)},[n,o]),[n,s,a]}({defaultProp:i,onChange:n}),u=void 0!==t,h=u?t:o;{let i=e.useRef(void 0!==t);e.useEffect(()=>{let t=i.current;if(t!==u){let e=u?"controlled":"uncontrolled";console.warn(`${s} is changing from ${t?"controlled":"uncontrolled"} to ${e}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}i.current=u},[u,s])}return[h,e.useCallback(e=>{if(u){let i="function"==typeof e?e(t):e;i!==t&&l.current?.(i)}else a(e)},[u,t,a,l])]}Symbol("RADIX:SYNC_STATE"),t.s(["useControllableState",()=>n],70672)},68018,t=>{"use strict";var e=t.i(91970),i=t.i(89268),r=t.i(3344);function n(t){var n;let s,o=(n=t,(s=e.forwardRef((t,r)=>{let{children:n,...s}=t;if(e.isValidElement(n)){var o;let t,a,l=(o=n,(a=(t=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?o.ref:(a=(t=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(t,e){let i={...e};for(let r in e){let n=t[r],s=e[r];/^on[A-Z]/.test(r)?n&&s?i[r]=(...t)=>{let e=s(...t);return n(...t),e}:n&&(i[r]=n):"style"===r?i[r]={...n,...s}:"className"===r&&(i[r]=[n,s].filter(Boolean).join(" "))}return{...t,...i}}(s,n.props);return n.type!==e.Fragment&&(u.ref=r?(0,i.composeRefs)(r,l):l),e.cloneElement(n,u)}return e.Children.count(n)>1?e.Children.only(null):null})).displayName=`${n}.SlotClone`,s),l=e.forwardRef((t,i)=>{let{children:n,...s}=t,l=e.Children.toArray(n),u=l.find(a);if(u){let t=u.props.children,n=l.map(i=>i!==u?i:e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null);return(0,r.jsx)(o,{...s,ref:i,children:e.isValidElement(t)?e.cloneElement(t,void 0,n):null})}return(0,r.jsx)(o,{...s,ref:i,children:n})});return l.displayName=`${t}.Slot`,l}var s=Symbol("radix.slottable");function o(t){let e=({children:t})=>(0,r.jsx)(r.Fragment,{children:t});return e.displayName=`${t}.Slottable`,e.__radixId=s,e}function a(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===s}t.s(["createSlot",()=>n,"createSlottable",()=>o])},78745,t=>{"use strict";var e=t.i(91970),i=t.i(79220),r=t.i(68018),n=t.i(3344),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,i)=>{let s=(0,r.createSlot)(`Primitive.${i}`),o=e.forwardRef((t,e)=>{let{asChild:r,...o}=t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(r?s:i,{...o,ref:e})});return o.displayName=`Primitive.${i}`,{...t,[i]:o}},{});function o(t,e){t&&i.flushSync(()=>t.dispatchEvent(e))}t.s(["Primitive",()=>s,"dispatchDiscreteCustomEvent",()=>o])},84951,t=>{"use strict";var e=t.i(91970),i=t.i(89268),r=t.i(37471),n=t=>{var n;let o,a,{present:l,children:u}=t,h=function(t){var i,n;let[o,a]=e.useState(),l=e.useRef(null),u=e.useRef(t),h=e.useRef("none"),[c,d]=(i=t?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},e.useReducer((t,e)=>n[t][e]??t,i));return e.useEffect(()=>{let t=s(l.current);h.current="mounted"===c?t:"none"},[c]),(0,r.useLayoutEffect)(()=>{let e=l.current,i=u.current;if(i!==t){let r=h.current,n=s(e);t?d("MOUNT"):"none"===n||e?.display==="none"?d("UNMOUNT"):i&&r!==n?d("ANIMATION_OUT"):d("UNMOUNT"),u.current=t}},[t,d]),(0,r.useLayoutEffect)(()=>
9{if(o){let t,e=o.ownerDocument.defaultView??window,i=i=>{let r=s(l.current).includes(CSS.escape(i.animationName));if(i.target===o&&r&&(d("ANIMATION_END"),!u.current)){let i=o.style.animationFillMode;o.style.animationFillMode="forwards",t=e.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=i)})}},r=t=>{t.target===o&&(h.current=s(l.current))};return o.addEventListener("animationstart",r),o.addEventListener("animationcancel",i),o.addEventListener("animationend",i),()=>{e.clearTimeout(t),o.removeEventListener("animationstart",r),o.removeEventListener("animationcancel",i),o.removeEventListener("animationend",i)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:e.useCallback(t=>{l.current=t?getComputedStyle(t):null,a(t)},[])}}(l),c="function"==typeof u?u({present:h.isPresent}):e.Children.only(u),d=(0,i.useComposedRefs)(h.ref,(n=c,(a=(o=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?n.ref:(a=(o=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?n.props.ref:n.props.ref||n.ref));return"function"==typeof u||h.isPresent?e.cloneElement(c,{ref:d}):null};function s(t){return t?.animationName||"none"}n.displayName="Presence",t.s(["Presence",()=>n])}]);

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.