1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9412],{251:(e,t,n)=>{n.d(t,{O:()=>o,u:()=>s});var r=n(61322),i=n(50501),o=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(o||{});function s(){let e=(0,r.useRef)(0);return(0,i.M)(!0,"keydown",t=>{"Tab"===t.key&&(e.current=+!!t.shiftKey)},!0),e}},595:(e,t,n)=>{function r(e){return"object"==typeof e&&null!==e&&"nodeType"in e&&"tagName"in e}function i(e){return r(e)&&"accessKey"in e}function o(e){return r(e)&&"tabIndex"in e}function s(e){return r(e)&&"style"in e}function a(e){return i(e)&&"IFRAME"===e.nodeName}function l(e){return i(e)&&"INPUT"===e.nodeName}function u(e){return i(e)&&"FIELDSET"===e.nodeName}function d(e){return i(e)&&"LEGEND"===e.nodeName}n.d(t,{A3:()=>l,Er:()=>u,Gu:()=>a,Jb:()=>d,Lk:()=>o,pv:()=>s,sb:()=>i,vq:()=>r})},1965:(e,t,n)=>{n.d(t,{q:()=>r});class r{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}},3137:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M8.75 2.75a.75.75 0 0 0-1.5 0v5.69L5.03 6.22a.75.75 0 0 0-1.06 1.06l3.5 3.5a.75.75 0 0 0 1.06 0l3.5-3.5a.75.75 0 0 0-1.06-1.06L8.75 8.44V2.75Z"}),r.createElement("path",{d:"M3.5 9.75a.75.75 0 0 0-1.5 0v1.5A2.75 2.75 0 0 0 4.75 14h6.5A2.75 2.75 0 0 0 14 11.25v-1.5a.75.75 0 0 0-1.5 0v1.5c0 .69-.56 1.25-1.25 1.25h-6.5c-.69 0-1.25-.56-1.25-1.25v-1.5Z"}))})},3860:(e,t,n)=>{n.d(t,{X4:()=>o,ai:()=>i,hs:()=>s});var r=n(4554);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...i,transform:e=>(0,r.q)(0,1,e)},s={...i,default:1}},4365:(e,t,n)=>{n.d(t,{KN:()=>o,gQ:()=>u,px:()=>s,uj:()=>i,vh:()=>a,vw:()=>l});let r=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=r("deg"),o=r("%"),s=r("px"),a=r("vh"),l=r("vw"),u={...o,parse:e=>o.parse(e)/100,transform:e=>o.transform(100*e)}},4554:(e,t,n)=>{n.d(t,{q:()=>r});let r=(e,t,n)=>n>t?t:n<e?e:n},4664:(e,t,n)=>{n.d(t,{S:()=>r});let r=e=>!!(e&&e.getVelocity)},4719:(e,t,n)=>{n.d(t,{B:()=>o});var r=n(62894),i=n(20066);function o({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:s=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:d,restDelta:c=.5,restSpeed:h}){let p,f,m=e[0],v={done:!1,value:m},g=e=>void 0!==u&&e<u||void 0!==d&&e>d,y=e=>void 0===u?d:void 0===d||Math.abs(u-e)<Math.abs(d-e)?u:d,b=n*t,w=m+b,x=void 0===l?w:l(w);x!==w&&(b=x-m);let E=e=>-b*Math.exp(-e/o),k=e=>x+E(e),S=e=>{let t=E(e),n=k(e);v.done=Math.abs(t)<=c,v.value=v.done?x:n},P=e=>{g(v.value)&&(p=e,f=(0,r.o)({keyframes:[v.value,y(v.value)],velocity:(0,i.Y)(k,e,v.value),damping:s,stiffness:a,restDelta:c,restSpeed:h}))};return P(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==p||(t=!0,S(e),P(e)),void 0!==p&&e>=p)?f.next(e-p):(t||S(e),v)}}}},4980:(e,t,n)=>{n.d(t,{G:()=>d});var r=n(9551),i=n(69855),o=n(47939),s=n(60962),a=n(73030),l=n(4554),u=n(34229);function d(e,t,{clamp:n=!0,ease:c,mixer:h}={}){let p=e.length;if((0,s.V)(p===t.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>t[0];if(2===p&&t[0]===t[1])return()=>t[1];let f=e[0]===e[1];e[0]>e[p-1]&&(e=[...e].reverse(),t=[...t].reverse());let m=function(e,t,n){let s=[],a=n||r.W.mix||u.j,l=e.length-1;for(let n=0;n<l;n++){let r=a(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||i.l:t;r=(0,o.F)(e,r)}s.push(r)}return s}(t,c,h),v=m.length,g=n=>{if(f&&n<e[0])return t[0];let r=0;if(v>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=(0,a.q)(e[r],e[r+1],n);return m[r](i)};return n?t=>g((0,l.q)(e[0],e[p-1],t)):g}},5047:(e,t,n)=>{n.d(t,{f:()=>r});function r(e,t){return t?1e3/t*e:0}},6624:(e,t,n)=>{n.d(t,{s:()=>i});var r=n(9459);function i(e){return(0,r.G)(e)&&"offsetHeight"in e}}
1,7248:(e,t,n)=>{n.d(t,{j:()=>d});var r=n(61322),i=n(595),o=n(60153),s=n(25986),a=n(99043);function l(e,t,n,i){let o=(0,a.Y)(n);(0,r.useEffect)(()=>{if(e)return document.addEventListener(t,n,i),()=>document.removeEventListener(t,n,i);function n(e){o.current(e)}},[e,t,i])}var u=n(50501);function d(e,t,n){let d=(0,a.Y)(n),c=(0,r.useCallback)(function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null!==r&&r.getRootNode().contains(r)&&r.isConnected){for(let n of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t))if(null!==n&&(n.contains(r)||e.composed&&e.composedPath().includes(n)))return;return(0,o.Bm)(r,o.MZ.Loose)||-1===r.tabIndex||e.preventDefault(),d.current(e,r)}},[d,t]),h=(0,r.useRef)(null);l(e,"pointerdown",e=>{var t,n;(0,s.Fr)()||(h.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),l(e,"pointerup",e=>{if((0,s.Fr)()||!h.current)return;let t=h.current;return h.current=null,c(e,()=>t)},!0);let p=(0,r.useRef)({x:0,y:0});l(e,"touchstart",e=>{p.current.x=e.touches[0].clientX,p.current.y=e.touches[0].clientY},!0),l(e,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-p.current.x)>=30||Math.abs(t.y-p.current.y)>=30))return c(e,()=>i.Lk(e.target)?e.target:null)},!0),(0,u.M)(e,"blur",e=>c(e,()=>i.Gu(window.document.activeElement)?window.document.activeElement:null),!0)}},7739:(e,t,n)=>{n.d(t,{Y:()=>r,t:()=>i});let r=2e4;function i(e){let t=0,n=e.next(t);for(;!n.done&&t<r;)t+=50,n=e.next(t);return t>=r?1/0:t}}
1,8343:(e,t,n)=>{n.d(t,{q:()=>r});let r={layout:0,mainThread:0,waapi:0}},8582:(e,t,n)=>{n.d(t,{L:()=>r});let r=(0,n(61322).createContext)({})},9160:(e,t,n)=>{n.d(t,{$:()=>r});function r(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}},9459:(e,t,n)=>{n.d(t,{G:()=>r});function r(e){return"object"==typeof e&&null!==e}},9551:(e,t,n)=>{n.d(t,{W:()=>r});let r={}},10772:(e,t,n)=>{n.d(t,{d:()=>a});var r=n(12953),i=n(61322),o=n(20497),s=n(85954);function a(e){let t=(0,s.M)(()=>(0,r.OQ)(e)),{isStatic:n}=(0,i.useContext)(o.Q);if(n){let[,n]=(0,i.useState)(e);(0,i.useEffect)(()=>t.on("change",n),[])}return t}},11056:(e,t,n)=>{n.d(t,{Sz:()=>s,ZZ:()=>l,dg:()=>a});var r=n(39023),i=n(96545),o=n(62456);let s=(0,r.A)(.33,1.53,.69,.99),a=(0,o.G)(s),l=(0,i.V)(a)},11077:(e,t,n)=>{n.d(t,{B:()=>u});var r=n(4554),i=n(3860),o=n(50860),s=n(11781);let a=e=>(0,r.q)(0,255,e),l={...i.ai,transform:e=>Math.round(a(e))},u={test:(0,s.$)("rgb","red"),parse:(0,s.q)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(n)+", "+(0,o.a)(i.X4.transform(r))+")"}},11781:(e,t,n)=>{n.d(t,{$:()=>o,q:()=>s});var r=n(67745);let i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(e,t)=>n=>!!("string"==typeof n&&i.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),s=(e,t,n)=>i=>{if("string"!=typeof i)return i;let[o,s,a,l]=i.match(r.S);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},12953:(e,t,n)=>{n.d(t,{OQ:()=>d,bt:()=>l});var r=n(38838),i=n(5047),o=n(38982),s=n(68200);let a=e=>!isNaN(parseFloat(e)),l={current:void 0};class u{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=o.k.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=a(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new r.v);let n=this.events[e].add(t);return"change"===e?()=>{n(),s.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function d(e,t){return new u(e,t)}},13517:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M4.25 5.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 1 1.5 0v4A2.25 2.25 0 0 1 12.75 17h-8.5A2.25 2.25 0 0 1 2 14.75v-8.5A2.25 2.25 0 0 1 4.25 4h5a.75.75 0 0 1 0 1.5h-5Z",clipRule:"evenodd"}),r.createElement("path",{fillRule:"evenodd",d:"M6.194 12.753a.75.75 0 0 0 1.06.053L16.5 4.44v2.81a.75.75 0 0 0 1.5 0v-4.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0 0 1.5h2.553l-9.056 8.194a.75.75 0 0 0-.053 1.06Z",clipRule:"evenodd"}))})},13691:(e,t,n)=>{n.d(t,{j:()=>o,u:()=>i});var r=n(25685),i=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(i||{});let o=(0,r.FX)(function(e,t){var n;let{features:i=1,...o}=e,s={ref:t,"aria-hidden":(2&i)==2||(null!=(n=o["aria-hidden"])?n:void 0),hidden:(4&i)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&i)==4&&(2&i)!=2&&{display:"none"}}};return(0,r.Ci)()({ourProps:s,theirProps:o,slot:{},defaultTag:"span",name:"Hidden"})})},14930:(e,t)=>{function n(e){let t={};for(let[n,r]of e.entries()){let e=t[n];void 0===e?t[n]=r:Array.isArray(e)?e.push(r):t[n]=[e,r]}return t}function r(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[n,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(n,r(e));else t.set(n,r(i));return t}function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(let t of n){for(let n of t.keys())e.delete(n);for(let[n,r]of t.entries())e.append(n,r)}return e}
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{assign:function(){return o},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return i}})},15825:(e,t,n)=>{n.d(t,{default:()=>i.a});var r=n(73450),i=n.n(r)},16564:(e,t,n)=>{n.d(t,{s:()=>o});var r=n(61322),i=n(81248);let o=(e,t)=>{i._.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},16720:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M14 8a.75.75 0 0 1-.75.75H4.56l3.22 3.22a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 1.06L4.56 7.25h8.69A.75.75 0 0 1 14 8Z",clipRule:"evenodd"}))})},16833:(e,t,n)=>{n.d(t,{j4:()=>i,pG:()=>s,rm:()=>l});let r=e=>t=>"string"==typeof t&&t.startsWith(e),i=r("--"),o=r("var(--"),s=e=>!!o(e)&&a.test(e.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}},17541:(e,t,n)=>{n.d(t,{b:()=>i});var r=n(11056);let i=e=>(e*=2)<1?.5*(0,r.dg)(e):.5*(2-Math.pow(2,-10*(e-1)))},19037:(e,t,n)=>{n.d(t,{K:()=>c});var r=n(61322),i=n(16564),o=n(65384),s=n(595),a=n(25986);function l(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let u=function(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...i){let o=t[e].call(n,...i);o&&(n=o,r.forEach(e=>e()))}}}(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,o.e)(),meta:new Set,computedMeta:{}};return r.count++,r.meta.add(t),r.computedMeta=l(r.meta),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t),n.computedMeta=l(n.meta)),this},SCROLL_PREVENT(e){let t,n={doc:e.doc,d:e.d,meta:()=>e.computedMeta},r=[(0,a.un)()?{before({doc:e,d:t,meta:n}){function r(e){for(let t of n().containers)for(let n of t())if(n.contains(e))return!0;return!1}t.microTask(()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=(0,o.e)();n.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>n.dispose()))}let i=null!=(n=window.scrollY)?n:window.pageYOffset,a=null;t.addEventListener(e,"click",t=>{if(s.Lk(t.target))try{let n=t.target.closest("a");if(!n)return;let{hash:i}=new URL(n.href),o=e.querySelector(i);s.Lk(o)&&!r(o)&&(a=o)}catch{}},!0),t.group(n=>{t.addEventListener(e,"touchstart",e=>{if(n.dispose(),s.Lk(e.target)&&s.pv(e.target))if(r(e.target)){let t=e.target;for(;t.parentElement&&r(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")})}),t.addEventListener(e,"touchmove",e=>{if(s.Lk(e.target)&&!s.A3(e.target))if(r(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()},{passive:!1}),t.add(()=>{var e;i!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,i),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{},{before({doc:e}){var n;let r=e.documentElement;t=Math.max(0,(null!=(n=e.defaultView)?n:window).innerWidth-r.clientWidth)},after({doc:e,d:n}){let r=e.documentElement,i=Math.max(0,r.clientWidth-r.offsetWidth),o=Math.max(0,t-i);n.style(r,"paddingRight",`${o}px`)}},{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];r.forEach(({before:e})=>null==e?void 0:e(n)),r.forEach(({after:e})=>null==e?void 0:e(n))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});u.subscribe(()=>{let e=u.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&u.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&u.dispatch("TEARDOWN",n)}});var d=n(88266);function c(e,t,n=()=>[document.body]){!function(e,t,n=()=>({containers:[]})){let o=(0,r.useSyncExternalStore)(u.subscribe,u.getSnapshot,u.getSnapshot),s=t?o.get(t):void 0;s&&s.count,(0,i.s)(()=>
1{if(!(!t||!e))return u.dispatch("PUSH",t,n),()=>u.dispatch("POP",t,n)},[e,t])}((0,d.S)(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}},20066:(e,t,n)=>{n.d(t,{Y:()=>i});var r=n(5047);function i(e,t,n){let i=Math.max(t-5,0);return(0,r.f)(n-e(i),t-i)}},20497:(e,t,n)=>{n.d(t,{Q:()=>r});let r=(0,n(61322).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},20983:(e,t,n)=>{n.d(t,{P:()=>o});var r=n(61322);let i=e=>e;function o(e,t=i){let n=r.useSyncExternalStore(e.subscribe,r.useCallback(()=>t(e.getState()),[e,t]),r.useCallback(()=>t(e.getInitialState()),[e,t]));return r.useDebugValue(n),n}},21125:(e,t,n)=>{n.d(t,{D:()=>r});var r=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(r||{})},22618:(e,t,n)=>{n.d(t,{S:()=>o,a:()=>s});var r=n(61322);let i=(0,r.createContext)(!1);function o(){return(0,r.useContext)(i)}function s(e){return r.createElement(i.Provider,{value:e.force},e.children)}},23925:(e,t,n)=>{n.d(t,{J:()=>r});let r=(0,n(45041).p)(()=>void 0!==window.ScrollTimeline)},24357:(e,t,n)=>{n.d(t,{B:()=>c,p:()=>h});var r,i,o=n(61322),s=n(65384),a=n(58627),l=n(16564),u=n(55036);void 0!==u&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(r=null==u?void 0:u.env)?void 0:r.NODE_ENV)==="test"&&void 0===(null==(i=null==Element?void 0:Element.prototype)?void 0:i.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(` 2`)),[]});var d=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(d||{});function c(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t}function h(e,t,n,r){let[i,u]=(0,o.useState)(n),{hasFlag:d,addFlag:c,removeFlag:h}=function(e=0){let[t,n]=(0,o.useState)(e),r=(0,o.useCallback)(e=>n(e),[]),i=(0,o.useCallback)(e=>n(t=>t|e),[]),s=(0,o.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:i,hasFlag:s,removeFlag:(0,o.useCallback)(e=>n(t=>t&~e),[]),toggleFlag:(0,o.useCallback)(e=>n(t=>t^e),[])}}(e&&i?3:0),p=(0,o.useRef)(!1),f=(0,o.useRef)(!1),m=(0,a.L)();return(0,l.s)(()=>{var i;if(e){if(n&&u(!0),!t){n&&c(3);return}return null==(i=null==r?void 0:r.start)||i.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:i}){let o=(0,s.e)();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:i}),o.nextFrame(()=>{n(),o.requestAnimationFrame(()=>{o.add(function(e,t){var n,r;let i=(0,s.e)();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let a=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===a.length?t():Promise.allSettled(a.map(e=>e.finished)).then(()=>{o||t()}),i.dispose}(e,r))})}),o.dispose}(t,{inFlight:p,prepare(){f.current?f.current=!1:f.current=p.current,p.current=!0,f.current||(n?(c(3),h(4)):(c(4),h(2)))},run(){f.current?n?(h(3),c(4)):(h(4),c(3)):n?h(1):c(1)},done(){var e,i,o,s;f.current&&(null!=(s=null==(o=(i=t).getAnimations)?void 0:o.call(i))?s:[]).some(e=>e instanceof CSSTransition&&"finished"!==e.playState)||(p.current=!1,h(7),n||u(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,m]),e?[i,{closed:d(1),enter:d(2),leave:d(4),transition:d(2)||d(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}},24595:(e,t,n)=>{n.d(t,{y:()=>i});let r=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>s,subscribe:e=>(n.add(e),()=>n.delete(e))},s=t=e(r,i,o);return o},i=e=>e?r(e):r},25685:(e,t,n)=>{n.d(t,{Ac:()=>s,Ci:()=>l,FX:()=>p,mK:()=>a,oE:()=>f,v6:()=>h,zv:()=>v});var r=n(61322),i=n(68422),o=n(33402),s=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(s||{}),a=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(a||{});function l(){let e,t,n=(e=(0,r.useRef)([]),t=(0,r.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),(...n)=>{if(!n.every(e=>null==e))return e.current=n,t});return(0,r.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:s=!0,name:a,mergeRefs:l}){l=null!=l?l:d;let h=c(t,e);if(s)return u(h,n,r,a,l);let p=null!=i?i:0;if(2&p){let{static:e=!1,...t}=h;if(e)return u(t,n,r,a,l)}if(1&p){let{unmount:e=!0,...t}=h;return(0,o.Y)(+!e,{0:()=>null,1:()=>u({...t,hidden:!0,style:{display:"none"}},n,r,a,l)})}return u(h,n,r,a,l)})({mergeRefs:n,...e}),[n])}function u(e,t={},n,o,s){let{as:a=n,children:l,refName:d="ref",...h}=m(e,["unmount","static"]),p=void 0!==e.ref?{[d]:e.ref}:{},g="function"==typeof l?l(t):l;"className"in h&&h.className&&"function"==typeof h.className&&(h.className=h.className(t)),h["aria-labelledby"]&&h["aria-labelledby"]===h.id&&(h["aria-labelledby"]=void 0);let y={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(y["data-headlessui-state"]=n.join(" "),n))y[`data-${e}`]=""}if(v(a)&&(Object.keys(f(h)).length>0||Object.keys(f(y)).length>0))if(!(0,r.isValidElement)(g)||Array.isArray(g)&&g.length>1||v(g.type)){if(Object.keys(f(h)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${o} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(f(h)).concat(Object.keys(f(y))).map(e=>` - ${e}`).join(` 3`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 4`)].join(` 5`))}else{var b;let e=g.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>(0,i.x)(t(...e),h.className):(0,i.x)(t,h.className),o=c(g.props,f(m(h,["ref"])));for(let e in y)e in o&&delete y[e];return(0,r.cloneElement)(g,Object.assign({},o,y,p,{ref:s((b=g,r.version.split(".")[0]>="19"?b.props.ref:b.ref),p.ref)},n?{className:n}:{}))}return(0,r.createElement)(a,Object.assign({},m(h,["ref"]),!v(a)&&p,!v(a)&&y),g)}function d(...e){return e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function c(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let e in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(n[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in n)Object.assign(t,{[e](t,...r){for(let i of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;i(t,...r)}}});return t}function h(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let e in n)Object.assign(t,{[e](...t){for(let r of n[e])null==r||r(...t)}});return t}function p(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function f(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function m(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function v(e){return e===r.Fragment||e===Symbol.for("react.fragment")}},25986:(e,t,n)=>{function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{Fr:()=>i,un:()=>r})},26369:(e,t)=>
5{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},27195:(e,t,n)=>{n.d(t,{M:()=>o});var r=n(61322),i=n(99043);function o(e,t,n,o){let s=(0,i.Y)(n);(0,r.useEffect)(()=>{function n(e){s.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)},[e,t,o])}},28077:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z"}))})},28927:(e,t,n)=>{n.d(t,{_:()=>o});var r=n(61322);let i=(0,r.createContext)(void 0);function o(){return(0,r.useContext)(i)}},31907:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M5.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75A.75.75 0 0 0 7.25 3h-1.5ZM12.75 3a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V3.75a.75.75 0 0 0-.75-.75h-1.5Z"}))})},31957:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M17 10a.75.75 0 0 1-.75.75H5.612l4.158 3.96a.75.75 0 1 1-1.04 1.08l-5.5-5.25a.75.75 0 0 1 0-1.08l5.5-5.25a.75.75 0 1 1 1.04 1.08L5.612 9.25H16.25A.75.75 0 0 1 17 10Z",clipRule:"evenodd"}))})},32036:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M10.75 2.75a.75.75 0 0 0-1.5 0v8.614L6.295 8.235a.75.75 0 1 0-1.09 1.03l4.25 4.5a.75.75 0 0 0 1.09 0l4.25-4.5a.75.75 0 0 0-1.09-1.03l-2.955 3.129V2.75Z"}),r.createElement("path",{d:"M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z"}))})},32700:(e,t,n)=>{n.d(t,{_:()=>o});var r=n(61322),i=n(99043);let o=function(e){let t=(0,i.Y)(e);return r.useCallback((...e)=>t.current(...e),[t])}}
5,33402:(e,t,n)=>{n.d(t,{Y:()=>r});function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let i=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}},33930:(e,t,n)=>{n.d(t,{s:()=>y});var r=n(47939),i=n(4554),o=n(63723),s=n(38982),a=n(8343),l=n(34229),u=n(68200);let d=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>u.Gt.update(t,e),stop:()=>(0,u.WG)(t),now:()=>u.uv.isProcessing?u.uv.timestamp:s.k.now()}};var c=n(4719),h=n(72179),p=n(7739),f=n(89085),m=n(55267),v=n(1965);let g=e=>e/100;class y extends v.q{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==s.k.now()&&this.tick(s.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},a.q.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;(0,m.E)(e);let{type:t=h.i,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=e,{keyframes:a}=e,u=t||h.i;u!==h.i&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,r.F)(g,(0,l.j)(a[0],a[1])),a=[0,100]);let d=u({...e,keyframes:a});"mirror"===o&&(this.mirroredGenerator=u({...e,keyframes:[...a].reverse(),velocity:-s})),null===d.calculatedDuration&&(d.calculatedDuration=(0,p.t)(d));let{calculatedDuration:c}=d;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=d}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:d,repeat:h,repeatType:p,repeatDelay:m,type:v,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let b=this.currentTime-u*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?b<0:b>r;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,E=n;if(h){let e=Math.min(this.currentTime,r)/a,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,h+1))%2&&("reverse"===p?(n=1-n,m&&(n-=m/a)):"mirror"===p&&(E=s)),x=(0,i.q)(0,1,n)*a}let k=w?{done:!1,value:d[0]}:E.next(x);o&&(k.value=o(k.value));let{done:S}=k;w||null===l||(S=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return P&&v!==c.B&&(k.value=(0,f.X)(d,this.options,y,this.speed)),g&&g(k.value),P&&this.finish(),k}then(e,t){return this.finished.then(e,t)}get duration(){return(0,o.X)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,o.X)(e)}get time(){return(0,o.X)(this.currentTime)}set time(e){e=(0,o.f)(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(s.k.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,o.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=d,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(s.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,a.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}}
5,34229:(e,t,n)=>{n.d(t,{j:()=>P});var r=n(47939),i=n(60962),o=n(16833),s=n(56307),a=n(86134),l=n(98856),u=n(98057);function d(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var c=n(11077);function h(e,t){return n=>n>0?t:e}var p=n(63739);let f=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},m=[l.u,c.B,u.V],v=e=>m.find(t=>t.test(e));function g(e){let t=v(e);if((0,i.$)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===u.V&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,s=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=d(a,r,e+1/3),o=d(a,r,e),s=d(a,r,e-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}let y=(e,t)=>{let n=g(e),r=g(t);if(!n||!r)return h(e,t);let i={...n};return e=>(i.red=f(n.red,r.red,e),i.green=f(n.green,r.green,e),i.blue=f(n.blue,r.blue,e),i.alpha=(0,p.k)(n.alpha,r.alpha,e),c.B.transform(i))},b=new Set(["none","hidden"]);function w(e,t){return n=>(0,p.k)(e,t,n)}function x(e){return"number"==typeof e?w:"string"==typeof e?(0,o.pG)(e)?h:s.y.test(e)?y:S:Array.isArray(e)?E:"object"==typeof e?s.y.test(e)?y:k:h}function E(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>x(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function k(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=x(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let S=(e,t)=>{let n=a.f.createTransformer(t),o=(0,a.V)(e),s=(0,a.V)(t);return o.indexes.var.length===s.indexes.var.length&&o.indexes.color.length===s.indexes.color.length&&o.indexes.number.length>=s.indexes.number.length?b.has(e)&&!s.values.length||b.has(t)&&!o.values.length?function(e,t){return b.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):(0,r.F)(E(function(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let o=t.types[i],s=e.indexes[o][r[o]],a=e.values[s]??0;n[i]=a,r[o]++}return n}(o,s),s.values),n):((0,i.$)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),h(e,t))};function P(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?(0,p.k)(e,t,n):x(e)(e,t)}},34500:(e,t,n)=>{n.d(t,{K:()=>r});let r=(e,t,n=10)=>{let r="",i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`}},35731:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(55301)},36232:(e,t,n)=>{n.d(t,{t:()=>r});let r=(0,n(61322).createContext)(null)},37611:(e,t,n)=>{n.d(t,{E:()=>i});var r=n(61322);let i=n(77991).B?r.useLayoutEffect:r.useEffect},37894:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(73030),i=n(63739);function o(e){let t=[0];return!function(e,t){let n=e[e.length-1];for(let o=1;o<=t;o++){let s=(0,r.q)(0,t,o);e.push((0,i.k)(n,1,s))}}(t,e.length-1),t}},38838:(e,t,n)=>{n.d(t,{v:()=>i});var r=n(68728);class i{constructor(){this.subscriptions=[]}add(e){return(0,r.Kq)(this.subscriptions,e),()=>(0,r.Ai)(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},38982:(e,t,n)=>{let r;n.d(t,{k:()=>a});var i=n(9551),o=n(68200);function s(){r=void 0}let a={now:()=>(void 0===r&&a.set(o.uv.isProcessing||i.W.useManualTiming?o.uv.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(s)}}},39023:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(69855);let i=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function o(e,t,n,o){if(e===t&&n===o)return r.l;let s=t=>(function(e,t,n,r,o){let s,a,l=0;do(s=i(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a;while(Math.abs(s)>1e-7&&++l<12);return a})(t,0,1,e,n);return e=>0===e||1===e?e:i(s(e),t,o)}},40381:(e,t,n)=>{n.d(t,{O:()=>a});var r=n(61322),i=n(65384),o=n(595),s=n(99043);function a(e,t,n){let a=(0,s.Y)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,r.useEffect)(()=>
5{if(!e)return;let n=null===t?null:o.sb(t)?t:t.current;if(!n)return;let r=(0,i.e)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>a.current(n));e.observe(n),r.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>a.current(n));e.observe(n),r.add(()=>e.disconnect())}return()=>r.dispose()},[t,a,e])}},41484:(e,t,n)=>{n.d(t,{P:()=>a,a:()=>s});var r=n(61322),i=n(32700);let o=Symbol();function s(e,t=!0){return Object.assign(e,{[o]:t})}function a(...e){let t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);let n=(0,i._)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[o]))?void 0:n}},42495:(e,t,n)=>{n.d(t,{xQ:()=>o});var r=n(61322),i=n(36232);function o(e=!0){let t=(0,r.useContext)(i.t);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:s,register:a}=t,l=(0,r.useId)();(0,r.useEffect)(()=>{if(e)return a(l)},[e]);let u=(0,r.useCallback)(()=>e&&s&&s(l),[l,s,e]);return!n&&s?[!1,u]:[!0]}},42639:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return v},useLinkStatus:function(){return y}});let r=n(11530),i=n(59554),o=r._(n(61322)),s=n(88138),a=n(17828),l=n(42163),u=n(75863),d=n(85652),c=n(40334);n(97377);let h=n(12423),p=n(55971),f=n(58587);function m(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}function v(e){let t,n,r,[s,v]=(0,o.useOptimistic)(h.IDLE_LINK_STATUS),y=(0,o.useRef)(null),{href:b,as:w,children:x,prefetch:E=null,passHref:k,replace:S,shallow:P,scroll:T,onClick:A,onMouseEnter:C,onTouchStart:M,legacyBehavior:R=!1,onNavigate:j,ref:O,unstable_dynamicOnHover:D,...L}=e;t=x,R&&("string"==typeof t||"number"==typeof t)&&(t=(0,i.jsx)("a",{children:t}));let V=o.default.useContext(a.AppRouterContext),F=!1!==E,B=null===E?l.PrefetchKind.AUTO:l.PrefetchKind.FULL,{href:I,as:N}=o.default.useMemo(()=>{let e=m(b);return{href:e,as:w?m(w):e}},[b,w]);R&&(n=o.default.Children.only(t));let _=R?n&&"object"==typeof n&&n.ref:O,U=o.default.useCallback(e=>(null!==V&&(y.current=(0,h.mountLinkInstance)(e,I,V,B,F,v)),()=>{y.current&&((0,h.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,h.unmountPrefetchableInstance)(e)}),[F,I,V,B,v]),W={ref:(0,u.useMergedRef)(U,_),onClick(e){R||"function"!=typeof A||A(e),R&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),V&&(e.defaultPrevented||function(e,t,n,r,i,s,a){let{nodeName:l}=e.currentTarget;if(!("A"===l.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){i&&(e.preventDefault(),location.replace(t));return}e.preventDefault(),o.default.startTransition(()=>{if(a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}
5(0,f.dispatchNavigateAction)(n||t,i?"replace":"push",null==s||s,r.current)})}}(e,I,N,y,S,T,j))},onMouseEnter(e){R||"function"!=typeof C||C(e),R&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),V&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===D)},onTouchStart:function(e){R||"function"!=typeof M||M(e),R&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),V&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===D)}};return(0,d.isAbsoluteUrl)(N)?W.href=N:R&&!k&&("a"!==n.type||"href"in n.props)||(W.href=(0,c.addBasePath)(N)),r=R?o.default.cloneElement(n,W):(0,i.jsx)("a",{...L,...W,children:t}),(0,i.jsx)(g.Provider,{value:s,children:r})}n(26369);let g=(0,o.createContext)(h.IDLE_LINK_STATUS),y=()=>(0,o.useContext)(g);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42738:(e,t,n)=>{n.d(t,{G:()=>function e(t,n,o,s){if("function"==typeof t){u.bt.current=[],t();let e=l(u.bt.current,t);return u.bt.current=void 0,e}if(void 0!==o&&!Array.isArray(o)&&"function"!=typeof n){var a=t,c=n,h=o,p=s;let r=(0,i.M)(()=>Object.keys(h)),l=(0,i.M)(()=>({}));for(let t of r)l[t]=e(a,c,h[t],p);return l}let f="function"==typeof n?n:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,i=e[0+n],o=e[1+n],s=e[2+n],a=e[3+n],l=(0,r.G)(o,s,a);return t?l(i):l}(n,o,s);return Array.isArray(t)?d(t,f):d([t],([e])=>f(e))}});var r=n(4980),i=n(85954),o=n(68200),s=n(37611),a=n(10772);function l(e,t){let n=(0,a.d)(t()),r=()=>n.set(t());return r(),(0,s.E)(()=>{let t=()=>o.Gt.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,o.WG)(r)}}),n}var u=n(12953);function d(e,t){let n=(0,i.M)(()=>[]);return l(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}},43208:(e,t,n)=>{n.d(t,{y:()=>s});var r=n(90185),i=n(32700),o=n(74936);function s(e,t,n=o.bN){return(0,r.useSyncExternalStoreWithSelector)((0,i._)(t=>e.subscribe(a,t)),(0,i._)(()=>e.state),(0,i._)(()=>e.state),(0,i._)(t),n)}function a(e){return e}},43800:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M10 3a.75.75 0 0 1 .75.75v10.638l3.96-4.158a.75.75 0 1 1 1.08 1.04l-5.25 5.5a.75.75 0 0 1-1.08 0l-5.25-5.5a.75.75 0 1 1 1.08-1.04l3.96 4.158V3.75A.75.75 0 0 1 10 3Z",clipRule:"evenodd"}))})},44727:(e,t,n)=>{var r=n(61322),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useSyncExternalStore,s=r.useRef,a=r.useEffect,l=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,d){var c=s(null);if(null===c.current){var h={hasValue:!1,value:null};c.current=h}else h=c.current;var p=o(e,(c=l(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),void 0!==d&&h.hasValue){var t=h.value;if(d(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return void 0!==d&&d(t,n)?(o=e,t):(o=e,s=n)}var o,s,a=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,n,r,d]))[0],c[1]);return a(function(){h.hasValue=!0,h.value=p},[p]),u(p),p}},45041:(e,t,n)=>{n.d(t,{p:()=>r});function r(e){let t;return()=>(void 0===t&&(t=e()),t)}},45547:(e,t,n)=>{n.d(t,{g:()=>o,h:()=>s});var r=n(61322),i=n(58960);function o(...e){return(0,r.useMemo)(()=>(0,i.TW)(...e),[...e])}function s(...e){return(0,r.useMemo)(()=>(0,i.zm)(...e),[...e])}},45859:(e,t,n)=>{n.d(t,{K:()=>r});function r(e,t,n){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}},47577:(e,t,n)=>{function r(e){let{reason:t,children:n}=e;return n}
5Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(34893)},47939:(e,t,n)=>{n.d(t,{F:()=>i});let r=(e,t)=>n=>t(e(n)),i=(...e)=>e.reduce(r)},50501:(e,t,n)=>{n.d(t,{M:()=>o});var r=n(61322),i=n(99043);function o(e,t,n,o){let s=(0,i.Y)(n);(0,r.useEffect)(()=>{if(e)return window.addEventListener(t,n,o),()=>window.removeEventListener(t,n,o);function n(e){s.current(e)}},[e,t,o])}},50860:(e,t,n)=>{n.d(t,{a:()=>r});let r=e=>Math.round(1e5*e)/1e5},51462:(e,t,n)=>{n.d(t,{QP:()=>eb});let r=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},i=(e,t)=>({classGroupId:e,validator:t}),o=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),s=[],a=e=>{let t=d(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return u(e);let n=e.split("-"),r=+(""===n[0]&&n.length>1);return l(n,r,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=i[e],o=n[e];return t?o?r(o,t):t:o||s}return n[e]||s}}},l=(e,t,n)=>{if(0==e.length-t)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=l(e,t+1,i);if(n)return n}let o=n.validators;if(null===o)return;let s=0===t?e.join("-"):e.slice(t).join("-"),a=o.length;for(let e=0;e<a;e++){let t=o[e];if(t.validator(s))return t.classGroupId}},u=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?"arbitrary.."+r:void 0})(),d=e=>{let{theme:t,classGroups:n}=e;return c(n,t)},c=(e,t)=>{let n=o();for(let r in e)h(e[r],n,r,t);return n},h=(e,t,n,r)=>{let i=e.length;for(let o=0;o<i;o++)p(e[o],t,n,r)},p=(e,t,n,r)=>"string"==typeof e?void f(e,t,n):"function"==typeof e?void m(e,t,n,r):void v(e,t,n,r),f=(e,t,n)=>{(""===e?t:g(t,e)).classGroupId=n},m=(e,t,n,r)=>{if(y(e))return void h(e(r),t,n,r);null===t.validators&&(t.validators=[]),t.validators.push(i(n,e))},v=(e,t,n,r)=>{let i=Object.entries(e),o=i.length;for(let e=0;e<o;e++){let[o,s]=i[e];h(s,g(t,o),n,r)}},g=(e,t)=>{let n=e,r=t.split("-"),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=o(),n.nextPart.set(t,i)),n=i}return n},y=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,b=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,o)=>{n[i]=o,++t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(i(e,t),t):void 0},set(e,t){e in n?n[e]=t:i(e,t)}}},w=[],x=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),E=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t,n=[],r=0,i=0,o=0,s=e.length;for(let a=0;a<s;a++){let s=e[a];if(0===r&&0===i){if(":"===s){n.push(e.slice(o,a)),o=a+1;continue}if("/"===s){t=a;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}let a=0===n.length?e:e.slice(o),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),x(n,u,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):x(w,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},k=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let o=e[i],s="["===o[0],a=t.has(o);s||a?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(o)):r.push(o)}return r.length>0&&(r.sort(),n.push(...r)),n}},S=e=>({cache:b(e.cacheSize),parseClassName:E(e),sortModifiers:k(e),...a(e)}),P=/\s+/,T=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,s=[],a=e.trim().split(P),l="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{isExternal:u,modifiers:d,hasImportantModifier:c,baseClassName:h,maybePostfixModifierPosition:p}=n(t);if(u){l=t+(l.length>0?" "+l:l);continue}let f=!!p,m=r(f?h.substring(0,p):h);if(!m){if(!f||!(m=r(h))){l=t+(l.length>0?" "+l:l);continue}f=!1}let v=0===d.length?"":1===d.length?d[0]:o(d).join(":"),g=c?v+"!":v,y=g+m;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(m,f);for(let e=0;e<b.length;++e){let t=b[e];s.push(g+t)}l=t+(l.length>0?" "+l:l)}return l},A=(...e)=>{let t,n,r=0,i="";for(;r<e.length;)(t=e[r++])&&(n=C(t))&&(i&&(i+=" "),i+=n);return i},C=e=>{let t;if("string"==typeof e)return e;let n="";for(let r=0;r<e.length;r++)e[r]&&(t=C(e[r]))&&(n&&(n+=" "),n+=t);return n},M=[],R=e=>{let t=t=>t[e]||M;return t.isThemeGetter=!0,t},j=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,O=/^\((?:(\w[\w-]*):)?(.+)\)$/i,D=/^\d+\/\d+$/,L=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,V=/\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$/,F=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,B=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,I=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>D.test(e),_=e=>!!e&&!Number.isNaN(Number(e)),U=e=>!!e&&Number.isInteger(Number(e)),W=e=>e.endsWith("%")&&_(e.slice(0,-1)),z=e=>L.test(e),$=()=>!0,G=e=>V.test(e)&&!F.test(e),X=()=>!1,q=e=>B.test(e),Y=e=>I.test(e),K=e=>!Z(e)&&!er(e),H=e=>ed(e,ef,X),Z=e=>j.test(e),Q=e=>ed(e,em,G),J=e=>ed(e,ev,_),ee=e=>ed(e,eh,X),et=e=>ed(e,ep,Y),en=e=>ed(e,ey,q),er=e=>O.test(e),ei=e=>ec(e,em),eo=e=>ec(e,eg),es=e=>ec(e,eh),ea=e=>ec(e,ef),el=e=>ec(e,ep),eu=e=>ec(e,ey,!0),ed=(e,t,n)=>{let r=j.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},ec=(e,t,n=!1)=>{let r=O.exec(e);return!!r&&(r[1]?t(r[1]):n)}
5,eh=e=>"position"===e||"percentage"===e,ep=e=>"image"===e||"url"===e,ef=e=>"length"===e||"size"===e||"bg-size"===e,em=e=>"length"===e,ev=e=>"number"===e,eg=e=>"family-name"===e,ey=e=>"shadow"===e;Symbol.toStringTag;let eb=((e,...t)=>{let n,r,i,o,s=e=>{let t=r(e);if(t)return t;let o=T(e,n);return i(e,o),o};return o=a=>(r=(n=S(t.reduce((e,t)=>t(e),e()))).cache.get,i=n.cache.set,o=s,s(a)),(...e)=>o(A(...e))})(()=>{let e=R("color"),t=R("font"),n=R("text"),r=R("font-weight"),i=R("tracking"),o=R("leading"),s=R("breakpoint"),a=R("container"),l=R("spacing"),u=R("radius"),d=R("shadow"),c=R("inset-shadow"),h=R("text-shadow"),p=R("drop-shadow"),f=R("blur"),m=R("perspective"),v=R("aspect"),g=R("ease"),y=R("animate"),b=()=>["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"],x=()=>[...w(),er,Z],E=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],S=()=>[er,Z,l],P=()=>[N,"full","auto",...S()],T=()=>[U,"none","subgrid",er,Z],A=()=>["auto",{span:["full",U,er,Z]},U,er,Z],C=()=>[U,"auto",er,Z],M=()=>["auto","min","max","fr",er,Z],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],O=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...S()],L=()=>[N,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],V=()=>[e,er,Z],F=()=>[...w(),es,ee,{position:[er,Z]}],B=()=>["no-repeat",{repeat:["","x","y","space","round"]}],I=()=>["auto","cover","contain",ea,H,{size:[er,Z]}],G=()=>[W,ei,Q],X=()=>["","none","full",u,er,Z],q=()=>["",_,ei,Q],Y=()=>["solid","dashed","dotted","double"],ed=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ec=()=>[_,W,es,ee],eh=()=>["","none",f,er,Z],ep=()=>["none",_,er,Z],ef=()=>["none",_,er,Z],em=()=>[_,er,Z],ev=()=>[N,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[z],breakpoint:[z],color:[$],container:[z],"drop-shadow":[z],ease:["in","out","in-out"],font:[K],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[z],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[z],shadow:[z],spacing:["px",_],text:[z],"text-shadow":[z],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",N,Z,er,v]}],container:["container"],columns:[{columns:[_,Z,er,a]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"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:x()}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{start:P()}],end:[{end:P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[U,"auto",er,Z]}],basis:[{basis:[N,"full","auto",a,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_,N,"auto","initial","none",Z]}],grow:[{grow:["",_,er,Z]}],shrink:[{shrink:["",_,er,Z]}],order:[{order:[U,"first","last","none",er,Z]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":C()}
vendor: 15,378 bytes, line 5
5],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":M()}],"auto-rows":[{"auto-rows":M()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...O(),"normal"]}],"justify-self":[{"justify-self":["auto",...O()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...O(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...O(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...O(),"baseline"]}],"place-self":[{"place-self":["auto",...O()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[a,"screen",...L()]}],"min-w":[{"min-w":[a,"screen","none",...L()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",n,ei,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,er,J]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",W,Z]}],"font-family":[{font:[eo,Z,t]}],"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:[i,er,Z]}],"line-clamp":[{"line-clamp":[_,"none",er,J]}],leading:[{leading:[o,...S()]}],"list-image":[{"list-image":["none",er,Z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",er,Z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:[_,"from-font","auto",er,Q]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[_,"auto",er,Z]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",er,Z]}],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",er,Z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:B()}],"bg-size":[{bg:I()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},U,er,Z],radial:["",er,Z],conic:[U,er,Z]},el,et]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:X()}],"rounded-s":[{"rounded-s":X()}],"rounded-e":[{"rounded-e":X()}],"rounded-t":[{"rounded-t":X()}],"rounded-r":[{"rounded-r":X()}],"rounded-b":[{"rounded-b":X()}],"rounded-l":[{"rounded-l":X()}],"rounded-ss":[{"rounded-ss":X()}],"rounded-se":[{"rounded-se":X()}],"rounded-ee":[{"rounded-ee":X()}],"rounded-es":[{"rounded-es":X()}],"rounded-tl":[{"rounded-tl":X()}],"rounded-tr":[{"rounded-tr":X()}],"rounded-br":[{"rounded-br":X()}],"rounded-bl":[{"rounded-bl":X()}],"border-w":[{border:q()}],"border-w-x":[{"border-x":q()}],"border-w-y":[{"border-y":q()}],"border-w-s":[{"border-s":q()}],"border-w-e":[{"border-e":q()}],"border-w-t":[{"border-t":q()}],"border-w-r":[{"border-r":q()}],"border-w-b":[{"border-b":q()}],"border-w-l":[{"border-l":q()}],"divide-x":[{"divide-x":q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Y(),"hidden","none"]}],"divide-style":[{divide:[...Y(),"hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:[...Y(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_,er,Z]}],"outline-w":[{outline:["",_,ei,Q]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",d,eu,en]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",c,eu,en]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[_,Q]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":q()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",h,eu,en]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[_,er,Z]}],"mix-blend":[{"mix-blend":[...ed(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ed()}],"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":[_]}],"mask-image-linear-from-pos":[{"mask-linear-from":ec()}],"mask-image-linear-to-pos":[{"mask-linear-to":ec()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":ec()}],"mask-image-t-to-pos":[{"mask-t-to":ec()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":ec()}],"mask-image-r-to-pos":[{"mask-r-to":ec()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":ec()}],"mask-image-b-to-pos":[{"mask-b-to":ec()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":ec()}],"mask-image-l-to-pos":[{"mask-l-to":ec()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":ec()}],"mask-image-x-to-pos":[{"mask-x-to":ec()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":ec()}],"mask-image-y-to-pos":[{"mask-y-to":ec()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[er,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":ec()}],"mask-image-radial-to-pos":[{"mask-radial-to":ec()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"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":[_]}],"mask-image-conic-from-pos":[{"mask-conic-from":ec()}],"mask-image-conic-to-pos":[{"mask-conic-to":ec()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:B()}],"mask-size":[{mask:I()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",er,Z]}],filter:[{filter:["","none",er,Z]}],blur:[{blur:eh()}],brightness:[{brightness:[_,er,Z]}],contrast:[{contrast:[_,er,Z]}],"drop-shadow":[{"drop-shadow":["","none",p,eu,en]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",_,er,Z]}],"hue-rotate":[{"hue-rotate":[_,er,Z]}],invert:[{invert:["",_,er,Z]}],saturate:[{saturate:[_,er,Z]}],sepia:[{sepia:["",_,er,Z]}],"backdrop-filter":[{"backdrop-filter":["","none",er,Z]}],"backdrop-blur":[{"backdrop-blur":eh()}],"backdrop-brightness":[{"backdrop-brightness":[_,er,Z]}],"backdrop-contrast":[{"backdrop-contrast":[_,er,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_,er,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_,er,Z]}],"backdrop-invert":[{"backdrop-invert":["",_,er,Z]}],"backdrop-opacity":[{"backdrop-opacity":[_,er,Z]}],"backdrop-saturate":[{"backdrop-saturate":[_,er,Z]}],"backdrop-sepia":[{"backdrop-sepia":["",_,er,Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",er,Z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_,"initial",er,Z]}],ease:[{ease:["linear","initial",g,er,Z]}],delay:[{delay:[_,er,Z]}],animate:[{animate:["none",y,er,Z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,er,Z]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ep()}],"rotate-x":[{"rotate-x":ep()}],"rotate-y":[{"rotate-y":ep()}],"rotate-z":[{"rotate-z":ep()}],scale:[{scale:ef()}],"scale-x":[{"scale-x":ef()}],"scale-y":[{"scale-y":ef()}],"scale-z":[{"scale-z":ef()}],"scale-3d":["scale-3d"],skew:[{skew:em()}],"skew-x":[{"skew-x":em()}],"skew-y":[{"skew-y":em()}],transform:[{transform:[er,Z,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ev()}],"translate-x":[{"translate-x":ev()}],"translate-y":[{"translate-y":ev()}],"translate-z":[{"translate-z":ev()}],"translate-none":["translate-none"],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}],"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",er,Z]}],"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":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"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"]}],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",er,Z]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[_,ei,Q,J]}],stroke:[{stroke:["none",...V()]}],"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"]}})}
5,52799:(e,t,n)=>{n.d(t,{N:()=>b});var r=n(59554),i=n(61322),o=n(8582),s=n(85954),a=n(37611),l=n(36232),u=n(6624),d=n(20497);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class h extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,u.s)(e)&&e.offsetWidth||0,r=(0,u.s)(e)&&e.offsetHeight||0,i=this.props.sizeRef.current;i.height=t.offsetHeight||0,i.width=t.offsetWidth||0,i.top=t.offsetTop,i.left=t.offsetLeft,i.right=n-i.width-i.left,i.bottom=r-i.height-i.top}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:t,anchorX:n,anchorY:o,root:s}){let a=(0,i.useId)(),l=(0,i.useRef)(null),u=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:p}=(0,i.useContext)(d.Q),f=function(...e){return i.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=c(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():c(e[t],null)}}}}(...e),e)}(l,e.props?.ref??e?.ref);return(0,i.useInsertionEffect)(()=>{let{width:e,height:r,top:i,left:d,right:c,bottom:h}=u.current;if(t||!l.current||!e||!r)return;let f="left"===n?`left: ${d}`:`right: ${c}`,m="bottom"===o?`bottom: ${h}`:`top: ${i}`;l.current.dataset.motionPopId=a;let v=document.createElement("style");p&&(v.nonce=p);let g=s??document.head;return g.appendChild(v),v.sheet&&v.sheet.insertRule(` 6 [data-motion-pop-id="${a}"] { 7 position: absolute !important; 8 width: ${e}px !important; 9 height: ${r}px !important; 10 ${f}px !important; 11 ${m}px !important; 12 } 13 `),()=>{g.contains(v)&&g.removeChild(v)}},[t]),(0,r.jsx)(h,{isPresent:t,childRef:l,sizeRef:u,children:i.cloneElement(e,{ref:f})})}let f=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:a,presenceAffectsLayout:u,mode:d,anchorX:c,anchorY:h,root:f})=>{let v=(0,s.M)(m),g=(0,i.useId)(),y=!0,b=(0,i.useMemo)(()=>(y=!1,{id:g,initial:t,isPresent:n,custom:a,onExitComplete:e=>
13{for(let t of(v.set(e,!0),v.values()))if(!t)return;o&&o()},register:e=>(v.set(e,!1),()=>v.delete(e))}),[n,v,o]);return u&&y&&(b={...b}),(0,i.useMemo)(()=>{v.forEach((e,t)=>v.set(t,!1))},[n]),i.useEffect(()=>{n||v.size||!o||o()},[n]),"popLayout"===d&&(e=(0,r.jsx)(p,{isPresent:n,anchorX:c,anchorY:h,root:f,children:e})),(0,r.jsx)(l.t.Provider,{value:b,children:e})};function m(){return new Map}var v=n(42495);let g=e=>e.key||"";function y(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let b=({children:e,custom:t,initial:n=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:d="sync",propagate:c=!1,anchorX:h="left",anchorY:p="top",root:m})=>{let[b,w]=(0,v.xQ)(c),x=(0,i.useMemo)(()=>y(e),[e]),E=c&&!b?[]:x.map(g),k=(0,i.useRef)(!0),S=(0,i.useRef)(x),P=(0,s.M)(()=>new Map),T=(0,i.useRef)(new Set),[A,C]=(0,i.useState)(x),[M,R]=(0,i.useState)(x);(0,a.E)(()=>{k.current=!1,S.current=x;for(let e=0;e<M.length;e++){let t=g(M[e]);E.includes(t)?(P.delete(t),T.current.delete(t)):!0!==P.get(t)&&P.set(t,!1)}},[M,E.length,E.join("-")]);let j=[];if(x!==A){let e=[...x];for(let t=0;t<M.length;t++){let n=M[t],r=g(n);E.includes(r)||(e.splice(t,0,n),j.push(n))}return"wait"===d&&j.length&&(e=j),R(y(e)),C(x),null}let{forceRender:O}=(0,i.useContext)(o.L);return(0,r.jsx)(r.Fragment,{children:M.map(e=>{let i=g(e),o=(!c||!!b)&&(x===M||E.includes(i));return(0,r.jsx)(f,{isPresent:o,initial:(!k.current||!!n)&&void 0,custom:t,presenceAffectsLayout:u,mode:d,root:m,onExitComplete:o?void 0:()=>{if(T.current.has(i)||(T.current.add(i),!P.has(i)))return;P.set(i,!0);let e=!0;P.forEach(t=>{t||(e=!1)}),e&&(O?.(),R(S.current),c&&w?.(),l&&l())},anchorX:h,anchorY:p,children:e},i)})})}},55267:(e,t,n)=>{n.d(t,{E:()=>a});var r=n(4719),i=n(72179),o=n(62894);let s={decay:r.B,inertia:r.B,tween:i.i,keyframes:i.i,spring:o.o};function a(e){"string"==typeof e.type&&(e.type=s[e.type])}},55301:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(85155).createAsyncLocalStorage)()},55971:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let r=n(85652),i=n(52213);function o(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,i.hasBasePath)(n.pathname)}catch(e){return!1}}},56307:(e,t,n)=>{n.d(t,{y:()=>s});var r=n(98856),i=n(98057),o=n(11077);let s={test:e=>o.B.test(e)||r.u.test(e)||i.V.test(e),parse:e=>o.B.test(e)?o.B.parse(e):i.V.test(e)?i.V.parse(e):r.u.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?o.B.transform(e):i.V.transform(e),getAnimatableNone:e=>{let t=s.parse(e);return t.alpha=0,s.transform(t)}}},56781:(e,t,n)=>{n.d(t,{z:()=>c});var r=n(4664),i=n(33930),o=n(68200);function s(e){return"number"==typeof e?e:parseFloat(e)}var a=n(61322),l=n(20497),u=n(10772),d=n(42738);function c(e,t={}){return function(e,t={}){let{isStatic:n}=(0,a.useContext)(l.Q),c=()=>(0,r.S)(e)?e.get():e;if(n)return(0,d.G)(c);let h=(0,u.d)(c());return(0,a.useInsertionEffect)(()=>(function(e,t,n={}){let a,l=e.get(),u=null,d=l,c="string"==typeof l?l.replace(/[\d.-]/g,""):void 0,h=()=>{u&&(u.stop(),u=null)},p=()=>{h();let t=s(e.get()),r=s(d);t!==r&&(u=new i.s({keyframes:[t,r],velocity:e.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...n,onUpdate:a}))};if(e.attach((t,n)=>{d=t,a=e=>{var t,r;return n((t=e,(r=c)?t+r:t))},o.Gt.postRender(()=>{p(),e.events.animationStart?.notify(),u?.then(()=>{e.events.animationComplete?.notify()})})},h),(0,r.S)(t)){let n=t.on("change",t=>{var n,r;return e.set((n=t,(r=c)?n+r:n))}),r=e.on("destroy",n);return()=>{n(),r()}}return h})(h,e,t),[h,JSON.stringify(t)]),h}(e,{type:"spring",...t})}},56882:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))})}
13,58204:(e,t,n)=>{n.d(t,{lG:()=>ek,Xi:()=>ex,Lj:()=>ew,L3:()=>eE});var r=n(61322),i=n.t(r,2),o=n(21125),s=n(27195),a=n(88266),l=n(32700),u=n(65384),d=n(58960),c=n(16564);let h=new Map,p=new Map;function f(e){var t;let n=null!=(t=p.get(e))?t:0;return p.set(e,n+1),0!==n||(h.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>(function(e){var t;let n=null!=(t=p.get(e))?t:1;if(1===n?p.delete(e):p.set(e,n-1),1!==n)return;let r=h.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,h.delete(e))})(e)}var m=n(40381),v=n(7248),g=n(45547),y=n(73051),b=n(19037),w=n(81248);function x(){let e,t=(e="undefined"==typeof document,(0,i.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,o]=r.useState(w._.isHandoffComplete);return n&&!1===w._.isHandoffComplete&&o(!1),r.useEffect(()=>{!0!==n&&o(!0)},[n]),r.useEffect(()=>w._.handoff(),[]),!t&&n}var E=n(89516),k=n(41484),S=n(95437),P=n(70090),T=n(22618),A=n(70586),C=n(43208),M=n(33402),R=n(25685),j=n(28927);let O=(0,r.createContext)(null);O.displayName="DescriptionContext";let D=Object.assign((0,R.FX)(function(e,t){let n=(0,r.useId)(),i=(0,j._)(),{id:o=`headlessui-description-${n}`,...s}=e,a=function e(){let t=(0,r.useContext)(O);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),l=(0,k.P)(t);(0,c.s)(()=>a.register(o),[o,a.register]);let u=(0,E._)({...a.slot,disabled:i||!1}),d={ref:l,...a.props,id:o};return(0,R.Ci)()({ourProps:d,theirProps:s,slot:u,defaultTag:"p",name:a.name||"Description"})}),{});var L=n(58627),V=n(65433),F=n(58916),B=n(251);function I(e,t){let n=(0,r.useRef)([]),i=(0,l._)(e);(0,r.useEffect)(()=>{let e=[...n.current];for(let[r,o]of t.entries())if(n.current[r]!==o){let r=i(t,e);return n.current=t,r}},[i,...t])}var N=n(13691),_=n(595),U=n(60153);let W=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!_.Lk(e.target)||e.target===document.body||W[0]===e.target)return;let t=e.target;t=t.closest(U.Uo),W.unshift(null!=t?t:e.target),(W=W.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var z=n(84939);function $(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)_.vq(n.current)&&t.add(n.current);return t}var G=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(G||{});let X=Object.assign((0,R.FX)(function(e,t){let n=(0,r.useRef)(null),i=(0,k.P)(n,t),{initialFocus:o,initialFocusFallback:u,containers:c,features:h=15,...p}=e;x()||(h=0);let f=(0,g.g)(n.current);!function(e,{ownerDocument:t}){let n=!!(8&e),i=function(e=!0){let t=(0,r.useRef)(W.slice());return I(([e],[n])=>{!0===n&&!1===e&&(0,z._)(()=>{t.current.splice(0)}),!1===n&&!0===e&&(t.current=W.slice())},[e,W,t]),(0,l._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(n);I(()=>{n||(0,d.X7)(null==t?void 0:t.body)&&(0,U.pW)(i())},[n]),(0,F.X)(()=>{n&&(0,U.pW)(i())})}(h,{ownerDocument:f});let m=function(e,{ownerDocument:t,container:n,initialFocus:i,initialFocusFallback:o}){let s=(0,r.useRef)(null),l=(0,a.S)(!!(1&e),"focus-trap#initial-focus"),u=(0,V.a)();return I(()=>{if(0===e)return;if(!l){null!=o&&o.current&&(0,U.pW)(o.current);return}let r=n.current;r&&(0,z._)(()=>{if(!u.current)return;let n=null==t?void 0:t.activeElement;if(null!=i&&i.current){if((null==i?void 0:i.current)===n){s.current=n;return}}else if(r.contains(n)){s.current=n;return}if(null!=i&&i.current)(0,U.pW)(i.current);else{if(16&e){if((0,U.CU)(r,U.BD.First|U.BD.AutoFocus)!==U.Me.Error)return}else if((0,U.CU)(r,U.BD.First)!==U.Me.Error)return;if(null!=o&&o.current&&((0,U.pW)(o.current),(null==t?void 0:t.activeElement)===o.current))return;
13console.warn("There are no focusable elements inside the <FocusTrap />")}s.current=null==t?void 0:t.activeElement})},[o,l,e]),s}(h,{ownerDocument:f,container:n,initialFocus:o,initialFocusFallback:u});!function(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:i}){let o=(0,V.a)(),a=!!(4&e);(0,s.M)(null==t?void 0:t.defaultView,"focus",e=>{if(!a||!o.current)return;let t=$(r);_.sb(n.current)&&t.add(n.current);let s=i.current;if(!s)return;let l=e.target;_.sb(l)?q(t,l)?(i.current=l,(0,U.pW)(l)):(e.preventDefault(),e.stopPropagation(),(0,U.pW)(s)):(0,U.pW)(i.current)},!0)}(h,{ownerDocument:f,container:n,containers:c,previousActiveElement:m});let v=(0,B.u)(),y=(0,l._)(e=>{if(!_.sb(n.current))return;let t=n.current;(0,M.Y)(v.current,{[B.O.Forwards]:()=>{(0,U.CU)(t,U.BD.First,{skipElements:[e.relatedTarget,u]})},[B.O.Backwards]:()=>{(0,U.CU)(t,U.BD.Last,{skipElements:[e.relatedTarget,u]})}})}),b=(0,a.S)(!!(2&h),"focus-trap#tab-lock"),w=(0,L.L)(),E=(0,r.useRef)(!1),S=(0,R.Ci)();return r.createElement(r.Fragment,null,b&&r.createElement(N.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:y,features:N.u.Focusable}),S({ourProps:{ref:i,onKeyDown(e){"Tab"==e.key&&(E.current=!0,w.requestAnimationFrame(()=>{E.current=!1}))},onBlur(e){if(!(4&h))return;let t=$(c);_.sb(n.current)&&t.add(n.current);let r=e.relatedTarget;_.Lk(r)&&"true"!==r.dataset.headlessuiFocusGuard&&(q(t,r)||(E.current?(0,U.CU)(n.current,(0,M.Y)(v.current,{[B.O.Forwards]:()=>U.BD.Next,[B.O.Backwards]:()=>U.BD.Previous})|U.BD.WrapAround,{relativeTo:e.target}):_.Lk(e.target)&&(0,U.pW)(e.target)))}},theirProps:p,defaultTag:"div",name:"FocusTrap"}),b&&r.createElement(N.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:y,features:N.u.Focusable}))}),{features:G});function q(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var Y=n(75521),K=n(99043),H=n(24357),Z=n(68422);function Q(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!(0,R.zv)(null!=(t=e.as)?t:ei)||1===r.Children.count(e.children)}let J=(0,r.createContext)(null);J.displayName="TransitionContext";var ee=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ee||{});let et=(0,r.createContext)(null);function en(e){return"children"in e?en(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function er(e,t){let n=(0,K.Y)(e),i=(0,r.useRef)([]),o=(0,V.a)(),s=(0,L.L)(),a=(0,l._)((e,t=R.mK.Hidden)=>{let r=i.current.findIndex(({el:t})=>t===e);-1!==r&&((0,M.Y)(t,{[R.mK.Unmount](){i.current.splice(r,1)},[R.mK.Hidden](){i.current[r].state="hidden"}}),s.microTask(()=>{var e;!en(i)&&o.current&&(null==(e=n.current)||e.call(n))}))}),u=(0,l._)(e=>{let t=i.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):i.current.push({el:e,state:"visible"}),()=>a(e,R.mK.Unmount)}),d=(0,r.useRef)([]),c=(0,r.useRef)(Promise.resolve()),h=(0,r.useRef)({enter:[],leave:[]}),p=(0,l._)((e,n,r)=>{d.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{d.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(h.current[n].map(([e,t])=>t)).then(()=>e())}
13)]),"enter"===n?c.current=c.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),f=(0,l._)((e,t,n)=>{Promise.all(h.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=d.current.shift())||e()}).then(()=>n(t))});return(0,r.useMemo)(()=>({children:i,register:u,unregister:a,onStart:p,onStop:f,wait:c,chains:h}),[u,a,i,p,f,h,c])}et.displayName="NestingContext";let ei=r.Fragment,eo=R.Ac.RenderStrategy,es=(0,R.FX)(function(e,t){let{show:n,appear:i=!1,unmount:o=!0,...s}=e,a=(0,r.useRef)(null),u=Q(e),d=(0,k.P)(...u?[a,t]:null===t?[]:[t]);x();let h=(0,P.O_)();if(void 0===n&&null!==h&&(n=(h&P.Uw.Open)===P.Uw.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[p,f]=(0,r.useState)(n?"visible":"hidden"),m=er(()=>{n||f("hidden")}),[v,g]=(0,r.useState)(!0),y=(0,r.useRef)([n]);(0,c.s)(()=>{!1!==v&&y.current[y.current.length-1]!==n&&(y.current.push(n),g(!1))},[y,n]);let b=(0,r.useMemo)(()=>({show:n,appear:i,initial:v}),[n,i,v]);(0,c.s)(()=>{n?f("visible"):en(m)||null===a.current||f("hidden")},[n,m]);let w={unmount:o},E=(0,l._)(()=>{var t;v&&g(!1),null==(t=e.beforeEnter)||t.call(e)}),S=(0,l._)(()=>{var t;v&&g(!1),null==(t=e.beforeLeave)||t.call(e)}),T=(0,R.Ci)();return r.createElement(et.Provider,{value:m},r.createElement(J.Provider,{value:b},T({ourProps:{...w,as:r.Fragment,children:r.createElement(ea,{ref:d,...w,...s,beforeEnter:E,beforeLeave:S})},theirProps:{},defaultTag:r.Fragment,features:eo,visible:"visible"===p,name:"Transition"})))}),ea=(0,R.FX)(function(e,t){var n,i;let{transition:o=!0,beforeEnter:s,afterEnter:a,beforeLeave:u,afterLeave:d,enter:h,enterFrom:p,enterTo:f,entered:m,leave:v,leaveFrom:g,leaveTo:y,...b}=e,[w,E]=(0,r.useState)(null),S=(0,r.useRef)(null),T=Q(e),A=(0,k.P)(...T?[S,t,E]:null===t?[]:[t]),C=null==(n=b.unmount)||n?R.mK.Unmount:R.mK.Hidden,{show:j,appear:O,initial:D}=function(){let e=(0,r.useContext)(J);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[L,V]=(0,r.useState)(j?"visible":"hidden"),F=function(){let e=(0,r.useContext)(et);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:B,unregister:I}=F;(0,c.s)(()=>B(S),[B,S]),(0,c.s)(()=>{if(C===R.mK.Hidden&&S.current)return j&&"visible"!==L?void V("visible"):(0,M.Y)(L,{hidden:()=>I(S),visible:()=>B(S)})},[L,S,B,I,j,C]);let N=x();(0,c.s)(()=>{if(T&&N&&"visible"===L&&null===S.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[S,L,N,T]);let _=D&&!O,U=O&&j&&D,W=(0,r.useRef)(!1),z=er(()=>{W.current||(V("hidden"),I(S))},F),$=(0,l._)(e=>{W.current=!0,z.onStart(S,e?"enter":"leave",e=>{"enter"===e?null==s||s():"leave"===e&&(null==u||u())})}),G=(0,l._)(e=>{let t=e?"enter":"leave";W.current=!1,z.onStop(S,t,e=>{"enter"===e?null==a||a():"leave"===e&&(null==d||d())}),"leave"!==t||en(z)||(V("hidden"),I(S))});(0,r.useEffect)(()=>{T&&o||($(j),G(j))},[j,T,o]);let X=!(!o||!T||!N||_),[,q]=(0,H.p)(X,w,j,{start:$,end:G}),Y=(0,R.oE)({ref:A,className:(null==(i=(0,Z.x)(b.className,U&&h,U&&p,q.enter&&h,q.enter&&q.closed&&p,q.enter&&!q.closed&&f,q.leave&&v,q.leave&&!q.closed&&g,q.leave&&q.closed&&y,!q.transition&&j&&m))?void 0:i.trim())||void 0,...(0,H.B)(q)}),K=0;"visible"===L&&(K|=P.Uw.Open),"hidden"===L&&(K|=P.Uw.Closed),j&&"hidden"===L&&(K|=P.Uw.Opening),j||"visible"!==L||(K|=P.Uw.Closing);let ee=(0,R.Ci)();return r.createElement(et.Provider,{value:z},r.createElement(P.El,{value:K},ee({ourProps:Y,theirProps:b,defaultTag:ei,features:eo,visible:"visible"===L,name:"Transition.Child"})))}),el=(0,R.FX)(function(e,t){let n=null!==(0,r.useContext)(J),i=null!==(0,P.O_)();return r.createElement(r.Fragment,null,!n&&i?r.createElement(es,{ref:t,...e}):r.createElement(ea,{ref:t,...e}))}),eu=Object.assign(es,{Child:el,Root:es});var ed=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ed||{}),ec=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(ec||{});let eh={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},ep=(0,r.createContext)(null);function ef(e){let t=(0,r.useContext)(ep);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ef),t}return t}function em(e,t){return(0,M.Y)(t.type,eh,e,t)}ep.displayName="DialogContext";let ev=(0,R.FX)(function(e,t){let n=(0,r.useId)(),{id:i=`headlessui-dialog-${n}`,open:h,onClose:p,initialFocus:w,role:M="dialog",autoFocus:j=!0,__demoMode:D=!1,unmount:L=!1,...V}=e,F=(0,r.useRef)(!1);
13M="dialog"===M||"alertdialog"===M?M:(F.current||(F.current=!0,console.warn(`Invalid role [${M}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let B=(0,P.O_)();void 0===h&&null!==B&&(h=(B&P.Uw.Open)===P.Uw.Open);let I=(0,r.useRef)(null),N=(0,k.P)(I,t),_=(0,g.g)(I.current),U=+!h,[W,z]=(0,r.useReducer)(em,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),$=(0,l._)(()=>p(!1)),q=(0,l._)(e=>z({type:0,id:e})),K=!!x()&&0===U,[H,Z]=(0,Y.k2)(),Q=(0,y.xA)(),{resolveContainers:J}=(0,y.iq)({mainTreeNode:Q,portals:H,defaultContainers:[{get current(){var ee;return null!=(ee=W.panelRef.current)?ee:I.current}}]}),et=null!==B&&(B&P.Uw.Closing)===P.Uw.Closing;!function(e,{allowed:t,disallowed:n}={}){let r=(0,a.S)(e,"inert-others");(0,c.s)(()=>{var e,i;if(!r)return;let o=(0,u.e)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&o.add(f(t));let s=null!=(i=null==t?void 0:t())?i:[];for(let e of s){if(!e)continue;let t=(0,d.TW)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)s.some(t=>e.contains(t))||o.add(f(e));n=n.parentElement}}return o.dispose},[r,t,n])}(!D&&!et&&K,{allowed:(0,l._)(()=>{var e,t;return[null!=(t=null==(e=I.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,l._)(()=>{var e;return[null!=(e=null==Q?void 0:Q.closest("body > *:not(#headlessui-portal-root)"))?e:null]})});let en=A.D.get(null);(0,c.s)(()=>{if(K)return en.actions.push(i),()=>en.actions.pop(i)},[en,i,K]);let er=(0,C.y)(en,(0,r.useCallback)(e=>en.selectors.isTop(e,i),[en,i]));(0,v.j)(er,J,e=>{e.preventDefault(),$()}),function(e,t="undefined"!=typeof document?document.defaultView:null,n){let r=(0,a.S)(e,"escape");(0,s.M)(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===o.D.Escape&&n(e))})}(er,null==_?void 0:_.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),$()}),(0,b.K)(!D&&!et&&K,_,J),(0,m.O)(K,I,$);let[ei,eo]=function(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)(()=>function(e){let n=(0,l._)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),i=(0,r.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value}),[n,e.slot,e.name,e.props,e.value]);return r.createElement(O.Provider,{value:i},e.children)},[t])]}(),es=(0,r.useMemo)(()=>[{dialogState:U,close:$,setTitleId:q,unmount:L},W],[U,$,q,L,W]),ea=(0,E._)({open:0===U}),el={ref:N,id:i,role:M,tabIndex:-1,"aria-modal":D?void 0:0===U||void 0,"aria-labelledby":W.titleId,"aria-describedby":ei,unmount:L},eu=!function(){var e;let[t]=(0,r.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,i]=(0,r.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,c.s)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){i(e.matches)}},[t]),n}(),ed=G.None;K&&!D&&(ed|=G.RestoreFocus,ed|=G.TabLock,j&&(ed|=G.AutoFocus),eu&&(ed|=G.InitialFocus));let ec=(0,R.Ci)();return r.createElement(P.$x,null,r.createElement(T.a,{force:!0},r.createElement(Y.ZL,null,r.createElement(ep.Provider,{value:es},r.createElement(Y.Ee,{target:I},r.createElement(T.a,{force:!1},r.createElement(eo,{slot:ea},r.createElement(Z,null,r.createElement(X,{initialFocus:w,initialFocusFallback:I,containers:J,features:ed},r.createElement(S.e,{value:$},ec({ourProps:el,theirProps:V,slot:ea,defaultTag:eg,features:ey,visible:0===U,name:"Dialog"})))))))))))}),eg="div",ey=R.Ac.RenderStrategy|R.Ac.Static,eb=(0,R.FX)(function(e,t){let{transition:n=!1,open:i,...o}=e,s=(0,P.O_)(),a=e.hasOwnProperty("open")||null!==s,l=e.hasOwnProperty("onClose");if(!a&&!l)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!a)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!l)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
13if(!s&&"boolean"!=typeof e.open)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(void 0!==i||n)&&!o.static?r.createElement(y.H5,null,r.createElement(eu,{show:i,transition:n,unmount:o.unmount},r.createElement(ev,{ref:t,...o}))):r.createElement(y.H5,null,r.createElement(ev,{ref:t,open:i,...o}))}),ew=(0,R.FX)(function(e,t){let n=(0,r.useId)(),{id:i=`headlessui-dialog-panel-${n}`,transition:o=!1,...s}=e,[{dialogState:a,unmount:u},d]=ef("Dialog.Panel"),c=(0,k.P)(t,d.panelRef),h=(0,E._)({open:0===a}),p=(0,l._)(e=>{e.stopPropagation()}),f=o?el:r.Fragment,m=(0,R.Ci)();return r.createElement(f,{...o?{unmount:u}:{}},m({ourProps:{ref:c,id:i,onClick:p},theirProps:s,slot:h,defaultTag:"div",name:"Dialog.Panel"}))}),ex=(0,R.FX)(function(e,t){let{transition:n=!1,...i}=e,[{dialogState:o,unmount:s}]=ef("Dialog.Backdrop"),a=(0,E._)({open:0===o}),l=n?el:r.Fragment,u=(0,R.Ci)();return r.createElement(l,{...n?{unmount:s}:{}},u({ourProps:{ref:t,"aria-hidden":!0},theirProps:i,slot:a,defaultTag:"div",name:"Dialog.Backdrop"}))}),eE=(0,R.FX)(function(e,t){let n=(0,r.useId)(),{id:i=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:s,setTitleId:a}]=ef("Dialog.Title"),l=(0,k.P)(t);(0,r.useEffect)(()=>(a(i),()=>a(null)),[i,a]);let u=(0,E._)({open:0===s});return(0,R.Ci)()({ourProps:{ref:l,id:i},theirProps:o,slot:u,defaultTag:"h2",name:"Dialog.Title"})}),ek=Object.assign(eb,{Panel:ew,Title:eE,Description:D})},58627:(e,t,n)=>{n.d(t,{L:()=>o});var r=n(61322),i=n(65384);function o(){let[e]=(0,r.useState)(i.e);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},58916:(e,t,n)=>{n.d(t,{X:()=>s});var r=n(61322),i=n(84939),o=n(32700);function s(e){let t=(0,o._)(e),n=(0,r.useRef)(!1);(0,r.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,i._)(()=>{n.current&&t()})}),[t])}},58960:(e,t,n)=>{n.d(t,{TW:()=>i,X7:()=>a,bq:()=>s,zm:()=>o});var r=n(81248);function i(e){var t;return r._.isServer?null:null==e?document:null!=(t=null==e?void 0:e.ownerDocument)?t:document}function o(e){var t,n;return r._.isServer?null:null==e?document:null!=(n=null==(t=null==e?void 0:e.getRootNode)?void 0:t.call(e))?n:document}function s(e){var t,n;return null!=(n=null==(t=o(e))?void 0:t.activeElement)?n:null}function a(e){return s(e)===e}},60153:(e,t,n)=>{n.d(t,{BD:()=>a,Bm:()=>h,CU:()=>v,MZ:()=>c,Me:()=>l,Uo:()=>o,iq:()=>d,pW:()=>f,wl:()=>m});var r=n(33402),i=n(58960);let o=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),s=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var a=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(a||{}),l=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(l||{}),u=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(u||{});function d(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(o)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var c=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(c||{});function h(e,t=0){var n;return e!==(null==(n=(0,i.TW)(e))?void 0:n.body)&&(0,r.Y)(t,{0:()=>e.matches(o),1(){let t=e;for(;null!==t;){if(t.matches(o))return!0;t=t.parentElement}return!1}})}var p=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(p||{});function f(e){null==e||e.focus({preventScroll:!0})}function m(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function v(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){var a,l,u;let c=Array.isArray(e)?e.length>0?(0,i.zm)(e[0]):document:(0,i.zm)(e),h=Array.isArray(e)?n?m(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(s)).sort((e,t)=>
13Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):d(e);o.length>0&&h.length>1&&(h=h.filter(e=>!o.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),r=null!=r?r:null==c?void 0:c.activeElement;let p=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,h.indexOf(r))-1;if(4&t)return Math.max(0,h.indexOf(r))+1;if(8&t)return h.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),g=32&t?{preventScroll:!0}:{},y=0,b=h.length,w;do{if(y>=b||y+b<=0)return 0;let e=f+y;if(16&t)e=(e+b)%b;else{if(e<0)return 3;if(e>=b)return 1}null==(w=h[e])||w.focus(g),y+=p}while(w!==(0,i.bq)(w));return 6&t&&null!=(u=null==(l=null==(a=w)?void 0:a.matches)?void 0:l.call(a,"textarea,input"))&&u&&w.select(),2}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},60962:(e,t,n)=>{n.d(t,{$:()=>r,V:()=>i}),n(55036);let r=()=>{},i=()=>{}},62456:(e,t,n)=>{n.d(t,{G:()=>r});let r=e=>t=>1-e(1-t)},62894:(e,t,n)=>{n.d(t,{o:()=>f});var r=n(4554),i=n(63723),o=n(34500),s=n(7739),a=n(20066);let l={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var u=n(60962);function d(e,t){return e*Math.sqrt(1-t*t)}let c=["duration","bounce"],h=["stiffness","damping","mass"];function p(e,t){return t.some(t=>void 0!==e[t])}function f(e=l.visualDuration,t=l.bounce){let n,m="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:v,restDelta:g}=m,y=m.keyframes[0],b=m.keyframes[m.keyframes.length-1],w={done:!1,value:y},{stiffness:x,damping:E,mass:k,duration:S,velocity:P,isResolvedFromDuration:T}=function(e){let t={velocity:l.velocity,stiffness:l.stiffness,damping:l.damping,mass:l.mass,isResolvedFromDuration:!1,...e};if(!p(e,h)&&p(e,c))if(e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),i=n*n,o=2*(0,r.q)(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:l.mass,stiffness:i,damping:o}}else{let n=function({duration:e=l.duration,bounce:t=l.bounce,velocity:n=l.velocity,mass:o=l.mass}){let s,a;(0,u.$)(e<=(0,i.f)(l.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let c=1-t;c=(0,r.q)(l.minDamping,l.maxDamping,c),e=(0,r.q)(l.minDuration,l.maxDuration,(0,i.X)(e)),c<1?(s=t=>{let r=t*c,i=r*e;return .001-(r-n)/d(t,c)*Math.exp(-i)},a=t=>{let r=t*c*e,i=Math.pow(c,2)*Math.pow(t,2)*e,o=Math.exp(-r),a=d(Math.pow(t,2),c);return(r*n+n-i)*o*(-s(t)+.001>0?-1:1)/a}):(s=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>e*e*(n-t)*Math.exp(-t*e));let h=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(s,a,5/e);if(e=(0,i.f)(e),isNaN(h))return{stiffness:l.stiffness,damping:l.damping,duration:e};{let t=Math.pow(h,2)*o;return{stiffness:t,damping:2*c*Math.sqrt(o*t),duration:e}}}(e);(t={...t,...n,mass:l.mass}).isResolvedFromDuration=!0}return t}({...m,velocity:-(0,i.X)(m.velocity||0)}),A=P||0,C=E/(2*Math.sqrt(x*k)),M=b-y,R=(0,i.X)(Math.sqrt(x/k)),j=5>Math.abs(M);if(v||(v=j?l.restSpeed.granular:l.restSpeed.default),g||(g=j?l.restDelta.granular:l.restDelta.default),C<1){let e=d(R,C);n=t=>b-Math.exp(-C*R*t)*((A+C*R*M)/e*Math.sin(e*t)+M*Math.cos(e*t))}else if(1===C)n=e=>b-Math.exp(-R*e)*(M+(A+R*M)*e);else{let e=R*Math.sqrt(C*C-1);n=t=>{let n=Math.exp(-C*R*t),r=Math.min(e*t,300);return b-n*((A+C*R*M)*Math.sinh(r)+e*M*Math.cosh(r))/e}}let O={calculatedDuration:T&&S||null,next:e=>{let t=n(e);if(T)w.done=e>=S;else{let r=0===e?A:0;C<1&&(r=0===e?(0,i.f)(A):(0,a.Y)(n,e,t));let o=Math.abs(b-t)<=g;w.done=Math.abs(r)<=v&&o}return w.value=w.done?b:t,w},toString:()=>{let e=Math.min((0,s.t)(O),s.Y),t=(0,o.K)(t=>O.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return O}f.applyToOptions=e=>{let t=function(e,t=100,n){let r=n({...e,keyframes:[0,t]}),o=Math.min((0,s.t)(r),s.Y);return{type:"keyframes",ease:e=>r.next(o*e).value/t,duration:(0,i.X)(o)}}(e,100,f);return e.ease=t.ease,e.duration=(0,i.f)(t.duration),e.type="keyframes",e}}
13,63723:(e,t,n)=>{n.d(t,{X:()=>i,f:()=>r});let r=e=>1e3*e,i=e=>e/1e3},63739:(e,t,n)=>{n.d(t,{k:()=>r});let r=(e,t,n)=>e+(t-e)*n},64583:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))})},65384:(e,t,n)=>{n.d(t,{e:()=>function e(){let t=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){let t={current:!0};return(0,r._)(()=>{t.current&&e[0]()}),n.add(()=>{t.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.includes(e)||t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}});var r=n(84939)},65433:(e,t,n)=>{n.d(t,{a:()=>o});var r=n(61322),i=n(16564);function o(){let e=(0,r.useRef)(!1);return(0,i.s)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},66357:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M4 10a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H4.75A.75.75 0 0 1 4 10Z",clipRule:"evenodd"}))})},67745:(e,t,n)=>{n.d(t,{S:()=>r});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},68200:(e,t,n)=>{n.d(t,{Gt:()=>i,PP:()=>a,WG:()=>o,uv:()=>s});var r=n(69855);let{schedule:i,cancel:o,state:s,steps:a}=(0,n(78203).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},68422:(e,t,n)=>{n.d(t,{x:()=>r});function r(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}},68728:(e,t,n)=>{function r(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{Ai:()=>i,Kq:()=>r})},69855:(e,t,n)=>{n.d(t,{l:()=>r});let r=e=>e},70090:(e,t,n)=>{n.d(t,{$x:()=>l,El:()=>a,O_:()=>s,Uw:()=>o});var r=n(61322);let i=(0,r.createContext)(null);i.displayName="OpenClosedContext";var o=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(o||{});function s(){return(0,r.useContext)(i)}function a({value:e,children:t}){return r.createElement(i.Provider,{value:e},t)}function l({children:e}){return r.createElement(i.Provider,{value:null},e)}},70586:(e,t,n)=>{n.d(t,{D:()=>h});var r=n(74936),i=n(98321),o=n(33402),s=Object.defineProperty,a=(e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t,n)=>(a(e,"symbol"!=typeof t?t+"":t,n),n),u=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(u||{});let d={0(e,t){let n=t.id,r=e.stack,i=e.stack.indexOf(n);if(-1!==i){let t=e.stack.slice();return t.splice(i,1),t.push(n),r=t,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(-1===r)return e;let i=e.stack.slice();return i.splice(r,1),{...e,stack:i}}};class c extends r.u5{constructor(){super(...arguments),l(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),l(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}static new(){return new c({stack:[]})}reduce(e,t){return(0,o.Y)(t.type,d,e,t)}}let h=new i.G(()=>c.new())},72179:(e,t,n)=>{n.d(t,{i:()=>b});var r=n(39023);let i=(0,r.A)(.42,0,1,1),o=(0,r.A)(0,0,.58,1),s=(0,r.A)(.42,0,.58,1),a=e=>Array.isArray(e)&&"number"!=typeof e[0];var l=n(60962),u=n(69855),d=n(17541),c=n(11056),h=n(80556),p=n(76097);let f={linear:u.l,easeIn:i,easeInOut:s,easeOut:o,circIn:h.po,circInOut:h.tn,circOut:h.yT,backIn:c.dg,backInOut:c.ZZ,backOut:c.Sz,anticipate:d.b},m=e=>"string"==typeof e,v=e=>{if((0,p.D)(e)){(0,l.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,n,i,o]=e;return(0,r.A)(t,n,i,o)}return m(e)?((0,l.V)(void 0!==f[e],`Invalid easing type '${e}
13'`,"invalid-easing-type"),f[e]):e};var g=n(4980),y=n(37894);function b({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){var i;let o=a(r)?r.map(v):v(r),l={done:!1,value:t[0]},u=(i=n&&n.length===t.length?n:(0,y.Z)(t),i.map(t=>t*e)),d=(0,g.G)(u,t,{ease:Array.isArray(o)?o:t.map(()=>o||s).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(l.value=d(t),l.done=t>=e,l)}}},72473:(e,t,n)=>{n.d(t,{Q:()=>r});let r={value:null,addProjectionMetrics:null}},72956:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"}))})},73030:(e,t,n)=>{n.d(t,{q:()=>r});let r=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r}},73051:(e,t,n)=>{n.d(t,{H5:()=>d,iq:()=>l,xA:()=>c});var r=n(61322),i=n(13691),o=n(595),s=n(58960),a=n(32700);function l({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=(0,a._)(()=>{var r,i;let a=(0,s.TW)(n),l=[];for(let t of e)null!==t&&(o.vq(t)?l.push(t):"current"in t&&o.vq(t.current)&&l.push(t.current));if(null!=t&&t.current)for(let e of t.current)l.push(e);for(let e of null!=(r=null==a?void 0:a.querySelectorAll("html > *, body > *"))?r:[])e!==document.body&&e!==document.head&&o.vq(e)&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(i=null==n?void 0:n.getRootNode())?void 0:i.host))||l.some(t=>e.contains(t))||l.push(e));return l});
13return{resolveContainers:r,contains:(0,a._)(e=>r().some(t=>t.contains(e)))}}let u=(0,r.createContext)(null);function d({children:e,node:t}){let[n,a]=(0,r.useState)(null),l=c(null!=t?t:n);return r.createElement(u.Provider,{value:l},e,null===l&&r.createElement(i.j,{features:i.u.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=(0,s.TW)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&o.vq(r)&&null!=r&&r.contains(e)){a(r);break}}}}))}function c(e=null){var t;return null!=(t=(0,r.useContext)(u))?t:e}},73450:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(62449)._(n(87770));function i(e,t){var n;let i={};"function"==typeof e&&(i.loader=e);let o={...i,...t};return(0,r.default)({...o,modules:null==(n=o.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74936:(e,t,n)=>{n.d(t,{bN:()=>g,u5:()=>v});var r,i,o,s=n(98321),a=n(65384),l=n(81248),u=Object.defineProperty,d=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t,n)=>(d(e,"symbol"!=typeof t?t+"":t,n),n),h=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},p=(e,t,n)=>(h(e,t,"read from private field"),n?n.call(e):t.get(e)),f=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},m=(e,t,n,r)=>(h(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);class v{constructor(e){f(this,r,{}),f(this,i,new s.G(()=>new Set)),f(this,o,new Set),c(this,"disposables",(0,a.e)()),m(this,r,e),l._.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return p(this,r)}subscribe(e,t){if(l._.isServer)return()=>{};let n={selector:e,callback:t,current:e(p(this,r))};return p(this,o).add(n),this.disposables.add(()=>{p(this,o).delete(n)})}on(e,t){return l._.isServer?()=>{}:(p(this,i).get(e).add(t),this.disposables.add(()=>{p(this,i).get(e).delete(t)}))}send(e){let t=this.reduce(p(this,r),e);if(t!==p(this,r)){for(let e of(m(this,r,t),p(this,o))){let t=e.selector(p(this,r));g(e.current,t)||(e.current=t,e.callback(t))}for(let t of p(this,i).get(e.type))t(p(this,r),e)}}}function g(e,t){return!!Object.is(e,t)||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&(Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&y(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&y(e.entries(),t.entries()):!!(b(e)&&b(t))&&y(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function y(e,t){for(;;){let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}}function b(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}r=new WeakMap,i=new WeakMap,o=new WeakMap},75521:(e,t,n)=>{n.d(t,{Ee:()=>w,ZL:()=>x,k2:()=>y});var r=n(61322),i=n(1079),o=n(58627),s=n(32700),a=n(58916),l=n(45547),u=n(41484),d=n(22618),c=n(81248),h=n(25685);let p=r.Fragment,f=(0,h.FX)(function(e,t){let{ownerDocument:n=null,...s}=e,f=(0,r.useRef)(null),m=(0,u.P)((0,u.a)(e=>{f.current=e}),t),y=(0,l.g)(f.current),b=function(e){let t=(0,d.S)(),n=(0,r.useContext)(v),[i,o]=(0,r.useState)(()=>{var r;if(!t&&null!==n)return null!=(r=n.current)?r:null;if(c._.isServer)return null;let i=null==e?void 0:e.getElementById("headlessui-portal-root");if(i)return i;if(null===e)return null;let o=e.createElement("div");return o.setAttribute("id","headlessui-portal-root"),e.body.appendChild(o)});return(0,r.useEffect)(()=>{null!==i&&(null!=e&&e.body.contains(i)||null==e||e.body.appendChild(i))},[i,e]),(0,r.useEffect)(()=>{t||null!==n&&o(n.current)},[n,o,t]),i}(null!=n?n:y),w=(0,r.useContext)(g),x=(0,o.L)(),E=(0,h.Ci)();return(0,a.X)(()=>{var e;b&&b.childNodes.length<=0&&(null==(e=b.parentElement)||e.removeChild(b))}),b?(0,i.createPortal)(r.createElement("div",{"data-headlessui-portal":"",ref:e=>{x.dispose(),w&&e&&x.add(w.register(e))}},E({ourProps:{ref:m},theirProps:s,slot:{},defaultTag:p,name:"Portal"})),b):null}),m=r.Fragment,v=(0,r.createContext)(null),g=(0,r.createContext)(null);function y(){let e=(0,r.useContext)(g),t=(0,r.useRef)([]),n=(0,s._)(n=>(t.current.push(n),e&&e.register(n),()=>i(n))),i=(0,s._)(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),o=(0,r.useMemo)(()=>({register:n,unregister:i,portals:t}),[n,i,t]);return[t,(0,r.useMemo)(()=>function({children:e}){return r.createElement(g.Provider,{value:o},e)},[o])]}let b=(0,h.FX)(function(e,t){let n=(0,u.P)(t),{enabled:i=!0,ownerDocument:o,...s}=e,a=(0,h.Ci)();return i?r.createElement(f,{...s,ownerDocument:o,ref:n}):a({ourProps:{ref:n},theirProps:s,slot:{},defaultTag:p,name:"Portal"})}),w=(0,h.FX)(function(e,t){let{target:n,...i}=e,o={ref:(0,u.P)(t)},s=(0,h.Ci)();return r.createElement(v.Provider,{value:n},s({ourProps:o,theirProps:i,defaultTag:m,name:"Popover.Group"}))}),x=Object.assign(b,{Group:w})},75863:(e,t,n)=>
13{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=n(61322);function i(e,t){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=o(e,r)),t&&(i.current=o(t,r))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},76097:(e,t,n)=>{n.d(t,{D:()=>r});let r=e=>Array.isArray(e)&&"number"==typeof e[0]},77952:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M3 3.732a1.5 1.5 0 0 1 2.305-1.265l6.706 4.267a1.5 1.5 0 0 1 0 2.531l-6.706 4.268A1.5 1.5 0 0 1 3 12.267V3.732Z"}))})},77991:(e,t,n)=>{n.d(t,{B:()=>r});let r="undefined"!=typeof window},78203:(e,t,n)=>{n.d(t,{I:()=>s});var r=n(9551);let i=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var o=n(72473);function s(e,t){let n=!1,s=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,u=i.reduce((e,n)=>(e[n]=function(e,t){let n=new Set,r=new Set,i=!1,s=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function d(t){a.has(t)&&(c.schedule(t),e()),u++,t(l)}let c={schedule:(e,t=!1,o=!1)=>{let s=o&&i?n:r;return t&&a.add(e),s.has(e)||s.add(e),e},cancel:e=>{r.delete(e),a.delete(e)},process:e=>{if(l=e,i){s=!0;return}i=!0,[n,r]=[r,n],n.forEach(d),t&&o.Q.value&&o.Q.value.frameloop[t].push(u),u=0,n.clear(),i=!1,s&&(s=!1,c.process(e))}};return c}(l,t?n:void 0),e),{}),{setup:d,read:c,resolveKeyframes:h,preUpdate:p,update:f,preRender:m,render:v,postRender:g}=u,y=()=>{let i=r.W.useManualTiming?a.timestamp:performance.now();n=!1,r.W.useManualTiming||(a.delta=s?1e3/60:Math.max(Math.min(i-a.timestamp,40),1)),a.timestamp=i,a.isProcessing=!0,d.process(a),c.process(a),h.process(a),p.process(a),f.process(a),m.process(a),v.process(a),g.process(a),a.isProcessing=!1,n&&t&&(s=!1,e(y))},b=()=>{n=!0,s=!0,a.isProcessing||e(y)};return{schedule:i.reduce((e,t)=>{let r=u[t];return e[t]=(e,t=!1,i=!1)=>(n||b(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<i.length;t++)u[i[t]].cancel(e)},state:a,steps:u}}},78308:(e,t,n)=>{function r(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(59554),n(1079),n(35731),n(78586)},80556:(e,t,n)=>{n.d(t,{po:()=>o,tn:()=>a,yT:()=>s});var r=n(96545),i=n(62456);let o=e=>1-Math.sin(Math.acos(e)),s=(0,i.G)(o),a=(0,r.V)(o)},80816:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M3 10a.75.75 0 0 1 .75-.75h10.638L10.23 5.29a.75.75 0 1 1 1.04-1.08l5.5 5.25a.75.75 0 0 1 0 1.08l-5.5 5.25a.75.75 0 1 1-1.04-1.08l4.158-3.96H3.75A.75.75 0 0 1 3 10Z",clipRule:"evenodd"}))})},81059:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M2 8a.75.75 0 0 1 .75-.75h8.69L8.22 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06-1.06l3.22-3.22H2.75A.75.75 0 0 1 2 8Z",clipRule:"evenodd"}))})}
13,81248:(e,t,n)=>{n.d(t,{_:()=>a});var r=Object.defineProperty,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,o=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);class s{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let a=new s},84939:(e,t,n)=>{n.d(t,{_:()=>r});function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}},85155:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return s},createAsyncLocalStorage:function(){return o},createSnapshot:function(){return a}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let i="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function o(){return i?new i:new r}function s(e){return i?i.bind(e):r.bind(e)}function a(){return i?i.snapshot():function(e,...t){return e(...t)}}},85652:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DecodeError:function(){return f},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return g},NormalizeError:function(){return m},PageNotFoundError:function(){return v},SP:function(){return h},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return l},getLocationOrigin:function(){return s},getURL:function(){return a},isAbsoluteUrl:function(){return o},isResSent:function(){return u},loadGetInitialProps:function(){return c},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return b}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return n||(n=!0,t=e(...i)),t}}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>i.test(e);function s(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function a(){let{href:e}=window.location,t=s();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function d(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function c(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await c(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&u(n))return r;if(!r)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}let h="undefined"!=typeof performance,p=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class f extends Error{}class m extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}}
13,85954:(e,t,n)=>{n.d(t,{M:()=>i});var r=n(61322);function i(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},86134:(e,t,n)=>{n.d(t,{V:()=>d,f:()=>f});var r=n(56307);let i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=n(67745),s=n(50860);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function d(e){let t=e.toString(),n=[],i={color:[],number:[],var:[]},o=[],s=0,d=t.replace(u,e=>(r.y.test(e)?(i.color.push(s),o.push(l),n.push(r.y.parse(e))):e.startsWith("var(")?(i.var.push(s),o.push("var"),n.push(e)):(i.number.push(s),o.push(a),n.push(parseFloat(e))),++s,"${}")).split("${}");return{values:n,split:d,indexes:i,types:o}}function c(e){return d(e).values}function h(e){let{split:t,types:n}=d(e),i=t.length;return e=>{let o="";for(let u=0;u<i;u++)if(o+=t[u],void 0!==e[u]){let t=n[u];t===a?o+=(0,s.a)(e[u]):t===l?o+=r.y.transform(e[u]):o+=e[u]}return o}}let p=e=>"number"==typeof e?0:r.y.test(e)?r.y.getAnimatableNone(e):e,f={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(o.S)?.length||0)+(e.match(i)?.length||0)>0},parse:c,createTransformer:h,getAnimatableNone:function(e){let t=c(e);return h(e)(t.map(p))}}},87770:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let r=n(59554),i=n(61322),o=n(47577);function s(e){return{default:e&&"default"in e?e.default:e}}n(78308);let a={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},l=function(e){let t={...a,...e},n=(0,i.lazy)(()=>t.loader().then(s)),l=t.loading;function u(e){let s=l?(0,r.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,a=!t.ssr||!!t.loading,u=a?i.Suspense:i.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(o.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(u,{...a?{fallback:s}:{},children:d})}return u.displayName="LoadableComponent",u}},88138:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return o},formatWithValidation:function(){return a},urlObjectKeys:function(){return s}});let r=n(11530)._(n(14930)),i=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:n}=e,o=e.protocol||"",s=e.pathname||"",a=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:n&&(u=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(r.urlQueryToSearchParams(l)));let d=e.search||l&&"?"+l||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||i.test(o))&&!1!==u?(u="//"+(u||""),s&&"/"!==s[0]&&(s="/"+s)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),d&&"?"!==d[0]&&(d="?"+d),""+o+u+(s=s.replace(/[?#]/g,encodeURIComponent))+(d=d.replace("#","%23"))+a}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return o(e)}},88266:(e,t,n)=>{n.d(t,{S:()=>a});var r=n(61322),i=n(70586),o=n(43208),s=n(16564);function a(e,t){let n=(0,r.useId)(),a=i.D.get(t),[l,u]=(0,o.y)(a,(0,r.useCallback)(e=>[a.selectors.isTop(e,n),a.selectors.inStack(e,n)],[a,n]));return(0,s.s)(()=>{if(e)return a.actions.push(n),()=>a.actions.pop(n)},[a,e,n]),!!e&&(!u||l)}},88791:(e,t,n)=>{n.d(t,{x:()=>i});var r=n(9459);function i(e){return(0,r.G)(e)&&"ownerSVGElement"in e}},89085:(e,t,n)=>{n.d(t,{X:()=>i});let r=e=>null!==e;function i(e,{repeat:t,repeatType:n="loop"},o,s=1){let a=e.filter(r),l=s<0||t&&"loop"!==n&&t%2==1?0:a.length-1;return l&&void 0!==o?o:a[l]}},89516:(e,t,n)=>{n.d(t,{_:()=>i});var r=n(61322);function i(e){return(0,r.useMemo)(()=>e,Object.values(e))}},89914:(e,t,n)=>{n.d(t,{P:()=>id});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r);var o=n(56307),s=n(86134),a=n(67745);let l=new Set(["brightness","contrast","saturate","opacity"]);function u(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(a.S)||[];if(!r)return e;let i=n.replace(r,""),o=+!!l.has(t);return r!==n&&(o*=100),t+"("+o+i+")"}let d=/\b([a-z-]*)\(.*?\)/gu,c={...s.f,getAnimatableNone:e=>{let t=e.match(d);return t?t.map(u).join(" "):e}};var h=n(3860);let p={...h.ai,transform:Math.round};var f=n(4365);let m={rotate:f.uj,rotateX:f.uj,rotateY:f.uj,rotateZ:f.uj,scale:h.hs,scaleX:h.hs,scaleY:h.hs,scaleZ:h.hs,skew:f.uj,skewX:f.uj,skewY:f.uj,distance:f.px,translateX:f.px,translateY:f.px,translateZ:f.px,x:f.px,y:f.px,z:f.px,perspective:f.px,transformPerspective:f.px,opacity:h.X4,originX:f.gQ,originY:f.gQ,originZ:f.px},v={borderWidth:f.px,borderTopWidth:f.px,borderRightWidth:f.px,borderBottomWidth:f.px,borderLeftWidth:f.px,borderRadius:f.px,radius:f.px,borderTopLeftRadius:f.px,borderTopRightRadius:f.px,borderBottomRightRadius:f.px,borderBottomLeftRadius:f.px,width:f.px,maxWidth:f.px,height:f.px,maxHeight:f.px,top:f.px,right:f.px,bottom:f.px,left:f.px,inset:f.px,insetBlock:f.px,insetBlockStart:f.px,insetBlockEnd:f.px,insetInline:f.px,insetInlineStart:f.px,insetInlineEnd:f.px,padding:f.px,paddingTop:f.px,paddingRight:f.px,paddingBottom:f.px,paddingLeft:f.px,paddingBlock:f.px,paddingBlockStart:f.px,paddingBlockEnd:f.px,paddingInline:f.px,paddingInlineStart:f.px,paddingInlineEnd:f.px,margin:f.px,marginTop:f.px,marginRight:f.px,marginBottom:f.px,marginLeft:f.px,marginBlock:f.px,marginBlockStart:f.px,marginBlockEnd:f.px,marginInline:f.px,marginInlineStart:f.px,marginInlineEnd:f.px,backgroundPositionX:f.px,backgroundPositionY:f.px,...m,zIndex:p,fillOpacity:h.X4,strokeOpacity:h.X4,numOctaves:p},g={...v,color:o.y,backgroundColor:o.y,outlineColor:o.y,fill:o.y,stroke:o.y,borderColor:o.y,borderTopColor:o.y,borderRightColor:o.y,borderBottomColor:o.y,borderLeftColor:o.y,filter:c,WebkitFilter:c},y=e=>g[e],b=()=>({translate:0,scale:1,origin:0,originPoint:0}),w=()=>({x:b(),y:b()}),x=()=>({min:0,max:0}),E=()=>({x:x(),y:x()});var k=n(4664);let S=new Set(["width","height","top","left","right","bottom",...r]),P=e=>t=>t.test(e),T=[h.ai,f.px,f.KN,f.uj,f.vw,f.vh,{test:e=>"auto"===e,parse:e=>e}],A=e=>T.find(P(e));
13var C=n(60962);let M=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var R=n(16833);let j=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,O=e=>180*e/Math.PI,D=e=>V(O(Math.atan2(e[1],e[0]))),L={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:D,rotateZ:D,skewX:e=>O(Math.atan(e[1])),skewY:e=>O(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},V=e=>((e%=360)<0&&(e+=360),e),F=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),B=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),I={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:F,scaleY:B,scale:e=>(F(e)+B(e))/2,rotateX:e=>V(O(Math.atan2(e[6],e[5]))),rotateY:e=>V(O(Math.atan2(-e[2],e[0]))),rotateZ:D,rotate:D,skewX:e=>O(Math.atan(e[4])),skewY:e=>O(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function N(e){return+!!e.includes("scale")}function _(e,t){let n,r;if(!e||"none"===e)return N(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)n=I,r=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=L,r=t}if(!r)return N(t);let o=n[t],s=r[1].split(",").map(W);return"function"==typeof o?o(s):s[o]}let U=(e,t)=>{let{transform:n="none"}=getComputedStyle(e);return _(n,t)};function W(e){return parseFloat(e.trim())}let z=e=>e===h.ai||e===f.px,$=new Set(["x","y","z"]),G=r.filter(e=>!$.has(e)),X={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>_(t,"x"),y:(e,{transform:t})=>_(t,"y")};X.translateX=X.x,X.translateY=X.y;var q=n(68200);let Y=new Set,K=!1,H=!1,Z=!1;function Q(){if(H){let e=Array.from(Y).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=function(e){let t=[];return G.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}H=!1,K=!1,Y.forEach(e=>e.complete(Z)),Y.clear()}function J(){Y.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(H=!0)})}class ee{constructor(e,t,n,r,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Y.add(this),K||(K=!0,q.Gt.read(J),q.Gt.resolveKeyframes(Q))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){let i=r?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Y.delete(this)}cancel(){"scheduled"===this.state&&(Y.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let et=e=>/^0[^.\s]+$/u.test(e);function en(e,t){let n=y(e);return n!==c&&(n=s.f),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let er=new Set(["auto","none","0"]);class ei extends ee{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,R.pG)(r))){let i=function e(t,n,r=1){(0,C.V)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(e){let t=j.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}(t);if(!i)return;let s=window.getComputedStyle(n).getPropertyValue(i);if(s){let e=s.trim();return M(e)?parseFloat(e):e}return(0,R.pG)(o)?e(o,n,r+1):o}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!S.has(n)||2!==e.length)return;let[r,i]=e,o=A(r),s=A(i);if((0,R.rm)(r)!==(0,R.rm)(i)&&X[n]){this.needsMeasurement=!0;return}if(o!==s)if(z(o)&&z(s))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else X[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var r;(null===e[t]||("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||et(r)))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!er.has(t)&&(0,s.V)(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=en(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=X[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,o=n[i];n[i]=X[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
13h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}var eo=n(38838);let{schedule:es}=(0,n(78203).I)(queueMicrotask,!1);var ea=n(38982),el=n(12953);let eu=[...T,o.y,s.f],ed=e=>eu.find(P(e)),ec={current:null},eh={current:!1},ep="undefined"!=typeof window,ef=new WeakMap;function em(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function ev(e){return"string"==typeof e||Array.isArray(e)}let eg=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ey=["initial",...eg];function eb(e){return em(e.animate)||ey.some(t=>ev(e[t]))}function ew(e){return!!(eb(e)||e.variants)}function ex(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function eE(e,t,n,r){if("function"==typeof t){let[i,o]=ex(r);t=t(void 0!==n?n:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=ex(r);t=t(void 0!==n?n:e.custom,i,o)}return t}let ek=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eS={};class eP{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ee,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 e=ea.k.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,q.Gt.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=eb(t),this.isVariantNode=ew(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==a[e]&&(0,k.S)(t)&&t.set(a[e])}}mount(e){this.current=e,ef.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(eh.current||function(){if(eh.current=!0,ep)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ec.current=e.matches;e.addEventListener("change",t),t()}else ec.current=!1}(),this.shouldReduceMotion=ec.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),(0,q.WG)(this.notifyUpdate),(0,q.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=i.has(e);r&&this.onBindTransform&&this.onBindTransform();let o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&q.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{o(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in eS){let t=eS[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];
13t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):E()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<ek.length;t++){let n=ek[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],o=n[r];if((0,k.S)(i))e.addValue(r,i);else if((0,k.S)(o))e.addValue(r,(0,el.OQ)(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,(0,el.OQ)(void 0!==t?t:i,{owner:e}))}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,el.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=n&&("string"==typeof n&&(M(n)||et(n))?n=parseFloat(n):!ed(n)&&s.f.test(t)&&(n=en(e,t)),this.setBaseTarget(e,(0,k.S)(n)?n.get():n)),(0,k.S)(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=eE(this.props,n,this.presenceContext?.custom);r&&(t=r[e])}if(n&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,k.S)(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new eo.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){es.render(this.render)}}class eT extends eP{constructor(){super(...arguments),this.KeyframeResolver=ei}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,k.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function eA(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let eC=(e,t)=>t&&"number"==typeof e?t.transform(e):e,eM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eR=r.length;function ej(e,t,n){let{style:o,vars:s,transformOrigin:a}=e,l=!1,u=!1;for(let e in t){let n=t[e];if(i.has(e)){l=!0;continue}if((0,R.j4)(e)){s[e]=n;continue}{let t=eC(n,v[e]);e.startsWith("origin")?(u=!0,a[e]=t):o[e]=t}}if(!t.transform&&(l||n?o.transform=function(e,t,n){let i="",o=!0;for(let s=0;s<eR;s++){let a=r[s],l=e[a];if(void 0===l)continue;let u=!0;
13if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let e=parseFloat(l);u=a.startsWith("scale")?1===e:0===e}if(!u||n){let e=eC(l,v[a]);if(!u){o=!1;let t=eM[a]||a;i+=`${t}(${e}) `}n&&(t[a]=e)}}return i=i.trim(),n?i=n(t,o?"":i):o&&(i="none"),i}(t,e.transform,n):o.transform&&(o.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:n=0}=a;o.transformOrigin=`${e} ${t} ${n}`}}let eO={offset:"stroke-dashoffset",array:"stroke-dasharray"},eD={offset:"strokeDashoffset",array:"strokeDasharray"},eL=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eV(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,u,d){if(ej(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:c,style:h}=e;for(let e of(c.transform&&(h.transform=c.transform,delete c.transform),(h.transform||c.transformOrigin)&&(h.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),h.transform&&(h.transformBox=d?.transformBox??"fill-box",delete c.transformBox),eL))void 0!==c[e]&&(h[e]=c[e],delete c[e]);void 0!==t&&(c.x=t),void 0!==n&&(c.y=n),void 0!==r&&(c.scale=r),void 0!==i&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?eO:eD;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}(c,i,o,s,!1)}let eF=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"]),eB=e=>"string"==typeof e&&"svg"===e.toLowerCase();function eI(e,{style:t,vars:n},r,i){let o,s=e.style;for(o in t)s[o]=t[o];for(o in i?.applyProjectionStyles(s,r),n)s.setProperty(o,n[o])}function eN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let e_={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!f.px.test(e))return e;else e=parseFloat(e);let n=eN(e,t.target.x),r=eN(e,t.target.y);return`${n}% ${r}%`}};var eU=n(63739);let eW={borderRadius:{...e_,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:e_,borderTopRightRadius:e_,borderBottomLeftRadius:e_,borderBottomRightRadius:e_,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=s.f.parse(e);if(r.length>5)return e;let i=s.f.createTransformer(e),o=+("number"!=typeof r[0]),a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+o]/=a,r[1+o]/=l;let u=(0,eU.k)(a,l,.5);return"number"==typeof r[2+o]&&(r[2+o]/=u),"number"==typeof r[3+o]&&(r[3+o]/=u),i(r)}}};function ez(e,{layout:t,layoutId:n}){return i.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!eW[e]||"opacity"===e)}function e$(e,t,n){let r=e.style,i=t?.style,o={};if(!r)return o;for(let t in r)((0,k.S)(r[t])||i&&(0,k.S)(i[t])||ez(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(o[t]=r[t]);return o}function eG(e,t,n){let i=e$(e,t,n);for(let n in e)((0,k.S)(e[n])||(0,k.S)(t[n]))&&(i[-1!==r.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return i}class eX extends eT{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=E}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(i.has(t)){let e=y(t);return e&&e.default||0}return t=eF.has(t)?t:eA(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return eG(e,t,n)}
13build(e,t,n){eV(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){for(let n in eI(e,t,void 0,r),t.attrs)e.setAttribute(eF.has(n)?n:eA(n),t.attrs[n])}mount(e){this.isSVGTag=eB(e.tagName),super.mount(e)}}function eq({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function eY(e){return void 0===e||1===e}function eK({scale:e,scaleX:t,scaleY:n}){return!eY(e)||!eY(t)||!eY(n)}function eH(e){return eK(e)||eZ(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function eZ(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function eQ(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function eJ(e,t=0,n=1,r,i){e.min=eQ(e.min,t,n,r,i),e.max=eQ(e.max,t,n,r,i)}function e0(e,{x:t,y:n}){eJ(e.x,t.translate,t.scale,t.originPoint),eJ(e.y,n.translate,n.scale,n.originPoint)}function e1(e,t){e.min=e.min+t,e.max=e.max+t}function e5(e,t,n,r,i=.5){let o=(0,eU.k)(e.min,e.max,i);eJ(e,t,n,o,r)}function e2(e,t){e5(e.x,t.x,t.scaleX,t.scale,t.originX),e5(e.y,t.y,t.scaleY,t.scale,t.originY)}function e7(e,t){return eq(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}class e3 extends eT{constructor(){super(...arguments),this.type="html",this.renderInstance=eI}readValueFromInstance(e,t){if(i.has(t))return this.projection?.isProjecting?N(t):U(e,t);{let n=window.getComputedStyle(e),r=((0,R.j4)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return e7(e,t)}build(e,t,n){ej(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return e$(e,t,n)}}var e6=n(61322);let e4=["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 e8(e){if("string"!=typeof e||e.includes("-"));else if(e4.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var e9=n(59554),te=n(8582);let tt=(0,e6.createContext)({strict:!1});var tn=n(20497);let tr=(0,e6.createContext)({});function ti(e){return Array.isArray(e)?e.join(" "):e}let to=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ts(e,t,n){for(let r in t)(0,k.S)(t[r])||ez(r,n)||(e[r]=t[r])}let ta=()=>({...to(),attrs:{}}),tl=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 tu(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||tl.has(e)}let td=e=>!tu(e);try{!function(e){"function"==typeof e&&(td=t=>t.startsWith("on")?!tu(t):e(t))}(require("@emotion/is-prop-valid").default)}catch{}function tc(e){return(0,k.S)(e)?e.get():e}var th=n(36232),tp=n(85954);let tf=e=>(t,n)=>{let r=(0,e6.useContext)(tr),i=(0,e6.useContext)(th.t),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:function(e,t,n,r){let i={},o=r(e,{});for(let e in o)i[e]=tc(o[e]);let{initial:s,animate:a}=e,l=eb(e),u=ew(e);t&&u&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let d=!!n&&!1===n.initial,c=(d=d||!1===s)?a:s;if(c&&"boolean"!=typeof c&&!em(c)){let t=Array.isArray(c)?c:[c];for(let n=0;n<t.length;n++){let r=eE(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(n,r,i,e),renderState:t()}})(e,t,r,i);return n?o():(0,tp.M)(o)},tm=tf({scrapeMotionValuesFromProps:e$,createRenderState:to}),tv=tf({scrapeMotionValuesFromProps:eG,createRenderState:ta});var tg=n(77991);let ty={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"]},tb=!1;function tw(){return!function(){if(tb)return;let e={};for(let t in ty)e[t]={isEnabled:e=>ty[t].some(t=>!!e[t])};eS=e,tb=!0}(),eS}let tx=Symbol.for("motionComponentSymbol"),tE="data-"+eA("framerAppearId"),tk=(0,e6.createContext)({});function tS(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var tP=n(37611);function tT(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&function(e){let t=tw();for(let n in e)t[n]={...t[n],...e[n]};eS=t}(r);let o=n?"svg"===n:e8(e),s=o?tv:tm;function a(n,r){let a,l={...(0,e6.useContext)(tn.Q),...n,layoutId:function({layoutId:e}){let t=(0,e6.useContext)(te.L).id;return t&&void 0!==e?t+"-"+e:e}(n)},{isStatic:u}=l,d=function(e){let{initial:t,animate:n}=function(e,t){if(eb(e)){let{initial:t,animate:n}=e;return{initial:!1===t||ev(t)?t:void 0,animate:ev(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,e6.useContext)(tr));return(0,e6.useMemo)(()=>({initial:t,animate:n}),[ti(t),ti(n)])}(n),c=s(n,u);if(!u&&tg.B){var h,p;h=0,p=0,(0,e6.useContext)(tt).strict;let t=function(e){let{drag:t,layout:n}=tw();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
13(l);a=t.MeasureLayout,d.visualElement=function(e,t,n,r,i,o){let{visualElement:s}=(0,e6.useContext)(tr),a=(0,e6.useContext)(tt),l=(0,e6.useContext)(th.t),u=(0,e6.useContext)(tn.Q).reducedMotion,d=(0,e6.useRef)(null);r=r||a.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,isSVG:o}));let c=d.current,h=(0,e6.useContext)(tk);c&&!c.projection&&i&&("html"===c.type||"svg"===c.type)&&function(e,t,n,r){let{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&tS(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u})}(d.current,n,i,h);let p=(0,e6.useRef)(!1);(0,e6.useInsertionEffect)(()=>{c&&p.current&&c.update(n,l)});let f=n[tE],m=(0,e6.useRef)(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return(0,tP.E)(()=>{c&&(p.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),m.current&&c.animationState&&c.animationState.animateChanges())}),(0,e6.useEffect)(()=>{c&&(!m.current&&c.animationState&&c.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),m.current=!1),c.enteringChildren=void 0)}),c}(e,c,l,i,t.ProjectionNode,o)}return(0,e9.jsxs)(tr.Provider,{value:d,children:[a&&d.visualElement?(0,e9.jsx)(a,{visualElement:d.visualElement,...l}):null,function(e,t,n,{latestValues:r},i,o=!1,s){let a=(s??e8(e)?function(e,t,n,r){let i=(0,e6.useMemo)(()=>{let n=ta();return eV(n,t,eB(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};ts(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return ts(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,e6.useMemo)(()=>{let n=to();return ej(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(t,r,i,e),l=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(td(i)||!0===n&&tu(i)||!t&&!tu(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(t,"string"==typeof e,o),u=e!==e6.Fragment?{...l,...a,ref:n}:{},{children:d}=t,c=(0,e6.useMemo)(()=>(0,k.S)(d)?d.get():d,[d]);return(0,e6.createElement)(e,{...u,children:c})}(e,n,function(e,t,n){let r=(0,e6.useRef)(n);(0,e6.useInsertionEffect)(()=>{r.current=n});let i=(0,e6.useRef)(null);return(0,e6.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let o=r.current;if("function"==typeof o)if(n){let e=o(n);"function"==typeof e&&(i.current=e)}else i.current?(i.current(),i.current=null):o(n);else o&&(o.current=n)},[t])}(c,d.visualElement,r),c,u,t,o)]})}a.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,e6.forwardRef)(a);return l[tx]=e,l}class tA{constructor(e){this.isMounted=!1,this.node=e}update(){}}function tC(e,t,n){let r=e.getProps();return eE(r,t,void 0!==n?n:r.custom,e)}function tM(e,t){return e?.[t]??e?.default??e}let tR=e=>Array.isArray(e);var tj=n(9551);function tO(e,t){let n=e.getValue("willChange");if((0,k.S)(n)&&n.add)return n.add(t);if(!n&&tj.W.WillChange){let n=new tj.W.WillChange("auto");e.addValue("willChange",n),n.add(t)}}var tD=n(63723),tL=n(69855),tV=n(33930),tF=n(89085),tB=n(4554);let tI=e=>e.startsWith("--");var tN=n(23925),t_=n(1965),tU=n(8343),tW=n(72473),tz=n(76097),t$=n(45041);let tG={},tX=function(e,t){let n=(0,t$.p)(e);return()=>tG[t]??n()}(()=>{try{document.createElement("div").animate({opacity:0}
13,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");var tq=n(34500);let tY=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,tK={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tY([0,.65,.55,1]),circOut:tY([.55,0,1,.45]),backIn:tY([.31,.01,.66,-.59]),backOut:tY([.33,1.53,.69,.99])};function tH(e){return"function"==typeof e&&"applyToOptions"in e}class tZ extends t_.q{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,(0,C.V)("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:e,...t}){return tH(e)&&tX()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u){let d={[t]:n};l&&(d.offset=l);let c=function e(t,n){if(t)return"function"==typeof t?tX()?(0,tq.K)(t,n):"ease-out":(0,tz.D)(t)?tY(t):Array.isArray(t)?t.map(t=>e(t,n)||tK.easeOut):tK[t]}(a,i);Array.isArray(c)&&(d.easing=c),tW.Q.value&&tU.q.waapi++;let h={delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};u&&(h.pseudoElement=u);let p=e.animate(d,h);return tW.Q.value&&p.finished.finally(()=>{tU.q.waapi--}),p}(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=(0,tF.X)(r,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,n){tI(t)?e.style.setProperty(t,n):e.style[t]=n}(t,n,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return(0,tD.X)(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,tD.X)(e)}get time(){return(0,tD.X)(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,tD.f)(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&(0,tN.J)())?(this.animation.timeline=e,tL.l):t(this)}}var tQ=n(55267),tJ=n(17541),t0=n(11056),t1=n(80556);let t5={anticipate:tJ.b,backInOut:t0.ZZ,circInOut:t1.tn};class t2 extends tZ{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in t5&&(e.ease=t5[e.ease])}(e),(0,tQ.E)(e),super(e),void 0!==e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let s=new tV.s({...o,autoplay:!1}),a=Math.max(10,ea.k.now()-this.startTime),l=(0,tB.q)(0,10,a-10);t.setWithVelocity(s.sample(Math.max(0,a-l)).value,s.sample(a).value,l),s.stop()}}let t7=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(s.f.test(e)||"0"===e)&&!e.startsWith("url("));function t3(e){e.duration=0,e.type="keyframes"}let t6=new Set(["opacity","clipPath","filter","transform"]),t4=(0,t$.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class t8 extends t_.q{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:
13o="loop",keyframes:s,name:a,motionValue:l,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ea.k.now();let c={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,name:a,motionValue:l,element:u,...d},h=u?.KeyframeResolver||ee;this.keyframeResolver=new h(s,(e,t,n)=>this.onKeyframesResolved(e,t,c,!n),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:o,velocity:s,delay:a,isHandoff:l,onUpdate:u}=n;this.resolvedAt=ea.k.now(),!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],s=t7(i,t),a=t7(o,t);return(0,C.$)(s===a,`You are trying to animate ${t} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`,"value-not-animatable"),!!s&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||tH(n))&&r)}(e,i,o,s)&&((tj.W.instantAnimations||!a)&&u?.((0,tF.X)(e,n,t)),e[0]=e[e.length-1],t3(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},c=!l&&function(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=t.owner.getProps();return t4()&&n&&t6.has(n)&&("transform"!==n||!l)&&!a&&!r&&"mirror"!==i&&0!==o&&"inertia"!==s}(d),h=d.motionValue?.owner?.current,p=c?new t2({...d,element:h}):new tV.s(d);p.finished.then(()=>{this.notifyFinished()}).catch(tL.l),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Z=!0,J(),Q(),Z=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let t9={type:"spring",stiffness:500,damping:25,restSpeed:10},ne=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),nt={type:"keyframes",duration:.8},nn={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nr=(e,{keyframes:t})=>t.length>2?nt:i.has(e)?e.startsWith("scale")?ne(t[1]):t9:nn,ni=e=>null!==e,no=(e,t,n,r={},i,o)=>s=>{let a=tM(r,e)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u-=(0,tD.f)(l);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...d}){return!!Object.keys(d).length}(a)&&Object.assign(d,nr(e,d)),d.duration&&(d.duration=(0,tD.f)(d.duration)),d.repeatDelay&&(d.repeatDelay=(0,tD.f)(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(t3(d),0===d.delay&&(c=!0)),(tj.W.instantAnimations||tj.W.skipAnimations)&&(c=!0,t3(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,c&&!o&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(ni),o=t&&"loop"!==n&&t%2==1?0:i.length-1;return i[o]}(d.keyframes,a);if(void 0!==e)return void q.Gt.update(()=>{d.onUpdate(e),d.onComplete()})}return a.isSync?new tV.s(d):new t8(d)};function ns(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=t;r&&(o=r);let l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(let t in a){let r=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||u&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(u,t))continue;let s={delay:n,...tM(o||{},t)},d=r.get();if(void 0!==d&&!r.isAnimating&&!Array.isArray(i)&&i===d&&!s.velocity)continue;let c=!1;if(window.MotionHandoffAnimation){let n=e.props[tE];if(n){let e=window.MotionHandoffAnimation(n,t,q.Gt);null!==e&&(s.startTime=e,c=!0)}}tO(e,t),r.start(no(t,r,i,e.shouldReduceMotion&&S.has(t)?{type:!1}:s,e,c));let h=r.animation;h&&l.push(h)}return s&&Promise.all(l).then(()=>{q.Gt.update(()=>{s&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=tC(e,t)||{};for(let t in i={...i,...n}){var o;let n=tR(o=i[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,el.OQ)(n))}}(e,s)})}),l}function na(e,t,n,r=0,i=1){let o=Array.from(e).sort((e,t)=>
13e.sortNodePosition(t)).indexOf(t),s=e.size,a=(s-1)*r;return"function"==typeof n?n(o,s):1===i?o*r:a-o*r}function nl(e,t,n={}){let r=tC(e,t,"exit"===n.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(ns(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,r=0,i=0,o=1,s){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(nl(l,t,{...s,delay:n+("function"==typeof r?0:r)+na(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,r,o,s,a,n)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([o(),s(n.delay)]);{let[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}}let nu=ey.length;function nd(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}let nc=[...eg].reverse(),nh=eg.length;function np(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nf(){return{animate:np(!0),whileInView:np(),whileHover:np(),whileTap:np(),whileDrag:np(),whileFocus:np(),exit:np()}}class nm extends tA{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>nl(e,t,n)));else if("string"==typeof t)r=nl(e,t,n);else{let i="function"==typeof t?tC(e,t,n.custom):t;r=Promise.all(ns(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=nf(),r=!0,i=t=>(n,r)=>{let i=tC(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(o){let{props:s}=e,a=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<nu;e++){let r=ey[e],i=t.props[r];(ev(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},l=[],u=new Set,d={},c=1/0;for(let t=0;t<nh;t++){var h,p;let f=nc[t],m=n[f],v=void 0!==s[f]?s[f]:a[f],g=ev(v),y=f===o?m.isActive:null;!1===y&&(c=t);let b=v===a[f]&&v!==s[f]&&g;if(b&&r&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...d},!m.isActive&&null===y||!v&&!m.prevProp||em(v)||"boolean"==typeof v)continue;let w=(h=m.prevProp,"string"==typeof(p=v)?p!==h:!!Array.isArray(p)&&!nd(p,h)),x=w||f===o&&m.isActive&&!b&&g||t>c&&g,E=!1,k=Array.isArray(v)?v:[v],S=k.reduce(i(f),{});!1===y&&(S={});let{prevResolvedValues:P={}}=m,T={...P,...S},A=t=>{x=!0,u.has(t)&&(E=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=S[e],n=P[e];if(d.hasOwnProperty(e))continue;let r=!1;(tR(t)&&tR(n)?nd(t,n):t===n)?void 0!==t&&u.has(e)?A(e):m.protectedKeys[e]=!0:null!=t?A(e):u.add(e)}m.prevProp=v,m.prevResolvedValues=S,m.isActive&&(d={...d,...S}),r&&e.blockInitialAnimation&&(x=!1);let C=b&&w,M=!C||E;x&&M&&l.push(...k.map(t=>{let n={type:f};if("string"==typeof t&&r&&!C&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=tC(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=na(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if("boolean"!=typeof s.initial){let n=tC(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let f=!!l.length;return r&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(l):Promise.resolve()}return{animateChanges:o,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=o(t);for(let e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=nf()}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();em(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let nv=0;class ng extends tA{constructor(){super(...arguments),this.id=nv++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>
13{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}let ny={x:!1,y:!1};function nb(e){return[e("x"),e("y")]}function nw(e){return e.max-e.min}function nx(e,t,n,r=.5){e.origin=r,e.originPoint=(0,eU.k)(t.min,t.max,e.origin),e.scale=nw(n)/nw(t),e.translate=(0,eU.k)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function nE(e,t,n,r){nx(e.x,t.x,n.x,r?r.originX:void 0),nx(e.y,t.y,n.y,r?r.originY:void 0)}function nk(e,t,n){e.min=n.min+t.min,e.max=e.min+nw(t)}function nS(e,t,n){e.min=t.min-n.min,e.max=e.min+nw(t)}function nP(e,t,n){nS(e.x,t.x,n.x),nS(e.y,t.y,n.y)}let nT=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function nA(e){return nT.has(e.tagName)||!0===e.isContentEditable}function nC(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}let nM=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function nR(e){return{point:{x:e.pageX,y:e.pageY}}}let nj=e=>t=>nM(t)&&e(t,nR(t));function nO(e,t,n,r){return nC(e,t,nj(n),r)}let nD=({current:e})=>e?e.ownerDocument.defaultView:null;var nL=n(47939);let nV=(e,t)=>Math.abs(e-t),nF=new Set(["auto","scroll"]);class nB{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=n_(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){return Math.sqrt(nV(e.x,t.x)**2+nV(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=q.uv;this.history.push({...r,timestamp:i});let{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=nI(t,this.transformPagePoint),q.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=n_("pointercancel"===e.type?this.lastMoveEventInfo:nI(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!nM(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=r||window;let a=nI(nR(e),this.transformPagePoint),{point:l}=a,{timestamp:u}=q.uv;this.history=[{...l,timestamp:u}];let{onSessionStart:d}=t;d&&d(e,n_(a,this.history)),this.removeListeners=(0,nL.F)(nO(this.contextWindow,"pointermove",this.handlePointerMove),nO(this.contextWindow,"pointerup",this.handlePointerUp),nO(this.contextWindow,"pointercancel",this.handlePointerUp)),s&&this.startScrollTracking(s)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(nF.has(e.overflowX)||nF.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};(0!==i.x||0!==i.y)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),q.Gt.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,q.WG)(this.updatePoint)}}function nI(e,t){return t?{point:t(e.point)}:e}function nN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function n_({point:e},t){return{point:e,delta:nN(e,nU(t)),offset:nN(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=nU(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>(0,tD.f)(.1)));)n--;if(!r)return{x:0,y:0};let o=(0,tD.X)(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};let s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,.1)}}function nU(e){return e[e.length-1]}var nW=n(73030);function nz(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function n$(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function nG(e,t,n){return{min:nX(e,t),max:nX(e,n)}}function nX(e,t){return"number"==typeof e?e:e[t]||0}let nq=new WeakMap;
13class nY{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=E(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new nB(e,{onSessionStart:e=>{t?(this.stopAnimation(),this.snapToCursor(nR(e).point)):this.pauseAnimation()},onStart:(e,t)=>{this.stopAnimation();let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(ny[e])return null;else return ny[e]=!0,()=>{ny[e]=!1};return ny.x||ny.y?null:(ny.x=ny.y=!0,()=>{ny.x=ny.y=!1})}(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nb(e=>{let t=this.getAxisMotionValue(e).get()||0;if(f.KN.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=nw(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&q.Gt.postRender(()=>i(e,t)),tO(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:s}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>nb(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,distanceThreshold:n,contextWindow:nD(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:o}=r;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&q.Gt.postRender(()=>s(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!nK(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,eU.k)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,eU.k)(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&tS(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:nz(e.x,n,i),y:nz(e.y,t,r)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:nG(e,"left","right"),y:nG(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&nb(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!tS(t))return!1;let r=t.current;(0,C.V)(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:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,n){let r=e7(e,n),{scroll:i}=t;return i&&(e1(r.x,i.offset.x),e1(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),s=(e=i.layout.layoutBox,{x:n$(e.x,o.x),y:n$(e.y,o.y)});if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=eq(e))}return s}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(nb(s=>{if(!nK(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:n?e[s]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return tO(this.visualElement,e),n.start(no(e,n,0,t,this.visualElement,!1))}stopAnimation(){nb(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){nb(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){nb(t=>{let{drag:n}=this.getProps();if(!nK(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t],s=i.get()||0;i.set(e[t]-(0,eU.k)(n,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!tS(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};nb(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let n=t.get();r[e]=function(e,t){let n=.5,r=nw(e),i=nw(t);return i>r?n=(0,nW.q)(t.min,t.max-r,e.min):r>i&&(n=(0,nW.q)(e.min,e.max-i,t.min)),(0,tB.q)(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),nb(t=>{if(!nK(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set((0,eU.k)(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;nq.set(this.visualElement,this);let e=this.visualElement.current,t=nO(e,"pointerdown",t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,o=i!==e&&nA(i);n&&r&&!o&&this.start(t)}),n=()=>{let{dragConstraints:e}=this.getProps();tS(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),q.Gt.read(n);let o=nC(window,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nb(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function nK(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class nH extends tA{constructor(e){super(e),this.removeGroupControls=tL.l,this.removeListeners=tL.l,this.controls=new nY(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tL.l}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.endPanSession()}}let nZ=e=>(t,n)=>{e&&q.Gt.postRender(()=>e(t,n))};
13class nQ extends tA{constructor(){super(...arguments),this.removePointerDownListener=tL.l}onPointerDown(e){this.session=new nB(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nD(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:nZ(e),onStart:nZ(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&q.Gt.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=nO(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let nJ={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var n0=n(42495);let n1=!1;class n5 extends e6.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),n1&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),nJ.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:o}=n;return o&&(o.isPresent=i,n1=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||q.Gt.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),es.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;n1=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function n2(e){let[t,n]=(0,n0.xQ)(),r=(0,e6.useContext)(te.L);return(0,e9.jsx)(n5,{...e,layoutGroup:r,switchLayoutGroup:(0,e6.useContext)(tk),isPresent:t,safeToRemove:n})}function n7(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function n3(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){if(f.KN.test(t)&&(t=parseFloat(t),t=(0,eU.k)(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=(0,eU.k)(o.min,o.max,r);e===o&&(a-=t),e.min=n7(e.min,t,n,a,i),e.max=n7(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,s)}let n6=["x","scaleX","originX"],n4=["y","scaleY","originY"];function n8(e,t,n,r){n3(e.x,t,n6,n?n.x:void 0,r?r.x:void 0),n3(e.y,t,n4,n?n.y:void 0,r?r.y:void 0)}function n9(e,t){e.min=t.min,e.max=t.max}function re(e,t){n9(e.x,t.x),n9(e.y,t.y)}function rt(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rn(e){return 0===e.translate&&1===e.scale}function rr(e){return rn(e.x)&&rn(e.y)}function ri(e,t){return e.min===t.min&&e.max===t.max}function ro(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function rs(e,t){return ro(e.x,t.x)&&ro(e.y,t.y)}function ra(e){return nw(e.x)/nw(e.y)}function rl(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}let ru=["TopLeft","TopRight","BottomLeft","BottomRight"],rd=ru.length,rc=e=>"string"==typeof e?parseFloat(e):e,rh=e=>"number"==typeof e||f.px.test(e);function rp(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rf=rv(0,.5,t1.yT),rm=rv(.5,.95,tL.l);function rv(e,t,n){return r=>r<e?0:r>t?1:n((0,nW.q)(e,t,r))}var rg=n(88791),ry=n(68728);let rb=(e,t)=>e.depth-t.depth;class rw{constructor(){this.children=[],this.isDirty=!1}add(e){(0,ry.Kq)(this.children,e),this.isDirty=!0}remove(e){(0,ry.Ai)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rb),this.isDirty=!1,this.children.forEach(e)}}class rx{constructor(){this.members=[]}add(e){(0,ry.Kq)(this.members,e),e.scheduleRender()}remove(e){if((0,ry.Ai)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}
13exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rE={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},rk=["","X","Y","Z"],rS=0;function rP(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function rT({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=rS++,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,tW.Q.value&&(rE.nodes=rE.calculatedTargetDeltas=rE.calculatedProjections=0),this.nodes.forEach(rM),this.nodes.forEach(rF),this.nodes.forEach(rB),this.nodes.forEach(rR),tW.Q.addProjectionMetrics&&tW.Q.addProjectionMetrics(rE)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new rw)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eo.v),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=(0,rg.x)(t)&&(!(0,rg.x)(t)||"svg"!==t.tagName),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;q.Gt.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){let n=ea.k.now(),r=({timestamp:i})=>{let o=i-n;o>=250&&((0,q.WG)(r),e(o-t))};return q.Gt.setup(r,!0),()=>(0,q.WG)(r)}(i,250),nJ.hasAnimatedSinceResize&&(nJ.hasAnimatedSinceResize=!1,this.nodes.forEach(rV)))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&i&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||rz,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!rs(this.targetLayout,r),u=!t&&n;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...tM(o,"layout"),onPlay:s,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||rV(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,q.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
13h(rI),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=n.props[tE];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",q.Gt,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rO);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(rD);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(rL),this.nodes.forEach(rA),this.nodes.forEach(rC)):this.nodes.forEach(rD),this.clearAllSnapshots();let e=ea.k.now();q.uv.delta=(0,tB.q)(0,1e3/60,e-q.uv.timestamp),q.uv.timestamp=e,q.uv.isProcessing=!0,q.PP.update.process(q.uv),q.PP.preRender.process(q.uv),q.PP.render.process(q.uv),q.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,es.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rj),this.sharedNodes.forEach(rN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,q.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){q.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nw(this.snapshot.measuredBox.x)||nw(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=E(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!rr(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||eH(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),rX((t=r).x),rX(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return E();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(rY))){let{scroll:e}=this.root;e&&(e1(t.x,e.offset.x),e1(t.y,e.offset.y))}return t}removeElementScroll(e){let t=E();if(re(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&re(t,e),e1(t.x,i.offset.x),e1(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let n=E();re(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&e2(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),eH(r.latestValues)&&e2(n,r.latestValues)}return eH(this.latestValues)&&e2(n,this.latestValues),n}removeTransform(e){let t=E();re(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!eH(n.latestValues))continue;eK(n.latestValues)&&n.updateSnapshot();let r=E();re(r,n.measurePageBox()),n8(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return eH(this.latestValues)&&n8(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==q.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
13isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=q.uv.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=E(),this.targetWithTransforms=E()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,a,l;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,nk(s.x,a.x,l.x),nk(s.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):re(this.target,this.layout.layoutBox),e0(this.target,this.targetDelta)):re(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),tW.Q.value&&rE.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||eK(this.parent.latestValues)||eZ(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(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=E(),this.relativeTargetOrigin=E(),nP(this.relativeTargetOrigin,t,n),re(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===q.uv.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=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||i))return;re(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){let i,o,s=n.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(i=n[a]).projectionDelta;let{visualElement:s}=i.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&e2(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,e0(e,o)),r&&eH(i.latestValues)&&e2(e,i.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=E());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rt(this.prevProjectionDelta.x,this.projectionDelta.x),rt(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nE(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&rl(this.projectionDelta.x,this.prevProjectionDelta.x)&&rl(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),tW.Q.value&&rE.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=w(),this.projectionDelta=w(),this.projectionDeltaWithTransform=w()}setAnimationOrigin(e,t=!1){let n,r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},s=w();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=E(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,c=!!(l&&!d&&!0===this.options.crossfade&&!this.path.some(rW));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(r_(s.x,e.x,r),r_(s.y,e.y,r),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,m,v,g;nP(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,v=a,g=r,rU(
13p.x,m.x,v.x,g),rU(p.y,m.y,v.y,g),n&&(u=this.relativeTarget,h=n,ri(u.x,h.x)&&ri(u.y,h.y))&&(this.isProjectionDirty=!1),n||(n=E()),re(n,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,n,r,i,o){i?(e.opacity=(0,eU.k)(0,n.opacity??1,rf(r)),e.opacityExit=(0,eU.k)(t.opacity??1,0,rm(r))):o&&(e.opacity=(0,eU.k)(t.opacity??1,n.opacity??1,r));for(let i=0;i<rd;i++){let o=`border${ru[i]}Radius`,s=rp(t,o),a=rp(n,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||rh(s)===rh(a)?(e[o]=Math.max((0,eU.k)(rc(s),rc(a),r),0),(f.KN.test(a)||f.KN.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=(0,eU.k)(t.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,r,c,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,q.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=q.Gt.update(()=>{nJ.hasAnimatedSinceResize=!0,tU.q.layout++,this.motionValue||(this.motionValue=(0,el.OQ)(0)),this.currentAnimation=function(e,t,n){let r=(0,k.S)(e)?e:(0,el.OQ)(e);return r.start(no("",r,t,n)),r.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{tU.q.layout--},onComplete:()=>{tU.q.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&rq(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||E();let t=nw(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=nw(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}re(t,n),e2(t,i),nE(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rx),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&rP("z",e,r,this.animationValues);for(let t=0;t<rk.length;t++)rP(`rotate${rk[t]}`,e,r,this.animationValues),rP(`skew${rk[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=tc(t?.pointerEvents)||"",e.transform=n?n(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tc(t?.pointerEvents)||""),this.hasProjected&&!eH(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();
13let o=function(e,t,n){let r="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:s,skewY:a}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);n&&(o=n(i,o)),e.transform=o;let{x:s,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,eW){if(void 0===i[t])continue;let{correct:n,applyTo:s,isCSSVariable:a}=eW[t],l="none"===o?i[t]:n(i[t],r);if(s){let t=s.length;for(let n=0;n<t;n++)e[s[n]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?tc(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(rO),this.root.sharedNodes.clear()}}}function rA(e){e.updateLayout()}function rC(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;"size"===i?nb(e=>{let r=o?t.measuredBox[e]:t.layoutBox[e],i=nw(r);r.min=n[e].min,r.max=r.min+i}):rq(i,t.layoutBox,n)&&nb(r=>{let i=o?t.measuredBox[r]:t.layoutBox[r],s=nw(n[r]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});let s=w();nE(s,n,t.layoutBox);let a=w();o?nE(a,e.applyTransform(r,!0),t.measuredBox):nE(a,n,t.layoutBox);let l=!rr(s),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let s=E();nP(s,t.layoutBox,i.layoutBox);let a=E();nP(a,n,o.layoutBox),rs(s,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function rM(e){tW.Q.value&&rE.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function rR(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function rj(e){e.clearSnapshot()}function rO(e){e.clearMeasurements()}function rD(e){e.isLayoutDirty=!1}function rL(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function rV(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function rF(e){e.resolveTargetDelta()}function rB(e){e.calcProjection()}function rI(e){e.resetSkewAndRotation()}function rN(e){e.removeLeadSnapshot()}function r_(e,t,n){e.translate=(0,eU.k)(t.translate,0,n),e.scale=(0,eU.k)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function rU(e,t,n,r){e.min=(0,eU.k)(t.min,n.min,r),e.max=(0,eU.k)(t.max,n.max,r)}function rW(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let rz={duration:.45,ease:[.4,0,.1,1]},r$=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),rG=r$("applewebkit/")&&!r$("chrome/")?Math.round:tL.l;function rX(e){e.min=rG(e.min),e.max=rG(e.max)}function rq(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(ra(t)-ra(n)))}function rY(e){return e!==e.root&&e.scroll?.wasRoot}let rK=rT({attachResizeListener:(e,t)=>nC(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),rH={current:void 0},rZ=rT({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rH.current){let e=new rK({});e.mount(window),e.setOptions({layoutScroll:!0}),rH.current=e}return rH.current},resetTransform:(e,t)=>
13{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});var rQ=n(45859);function rJ(e,t){let n=(0,rQ.K)(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function r0(e){return!("touch"===e.pointerType||ny.x||ny.y)}function r1(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&q.Gt.postRender(()=>i(t,nR(t)))}class r5 extends tA{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,o]=rJ(e,n),s=e=>{if(!r0(e))return;let{target:n}=e,r=t(n,e);if("function"!=typeof r||!n)return;let o=e=>{r0(e)&&(r(e),n.removeEventListener("pointerleave",o))};n.addEventListener("pointerleave",o,i)};return r.forEach(e=>{e.addEventListener("pointerenter",s,i)}),o}(e,(e,t)=>(r1(this.node,t,"Start"),e=>r1(this.node,e,"End"))))}unmount(){}}class r2 extends tA{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,nL.F)(nC(this.node.current,"focus",()=>this.onFocus()),nC(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var r7=n(6624);let r3=(e,t)=>!!t&&(e===t||r3(e,t.parentElement)),r6=new WeakSet;function r4(e){return t=>{"Enter"===t.key&&e(t)}}function r8(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let r9=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=r4(()=>{if(r6.has(n))return;r8(n,"down");let e=r4(()=>{r8(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>r8(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function ie(e){return nM(e)&&!(ny.x||ny.y)}function it(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&q.Gt.postRender(()=>i(t,nR(t)))}class ir extends tA{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,o]=rJ(e,n),s=e=>{let r=e.currentTarget;if(!ie(e))return;r6.add(r);let o=t(r,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),r6.has(r)&&r6.delete(r),ie(e)&&"function"==typeof o&&o(e,{success:t})},a=e=>{s(e,r===window||r===document||n.useGlobalTarget||r3(r,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),(0,r7.s)(e)&&(e.addEventListener("focus",e=>r9(e,i)),nA(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(it(this.node,t,"Start"),(e,{success:t})=>it(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let ii=new WeakMap,io=new WeakMap,is=e=>{let t=ii.get(e.target);t&&t(e)},ia=e=>{e.forEach(is)},il={some:0,all:1};class iu extends tA{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:il[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;io.has(n)||io.set(n,{});let r=io.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(ia,{root:e,...t})),r[i]}(t);return ii.set(e,n),r.observe(e),()=>{ii.delete(e),r.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}let id=function(e,t){if("undefined"==typeof Proxy)return tT;let n=new Map,r=(n,r)=>tT(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,o)=>"create"===o?r:(n.has(o)||n.set(o,tT(o,void 0,e,t)),n.get(o))})}({animation:{Feature:nm},exit:{Feature:ng},inView:{Feature:iu},tap:{Feature:ir},focus:{Feature:r2},hover:{Feature:r5},pan:{Feature:nQ},drag:{Feature:nH,ProjectionNode:rZ,MeasureLayout:n2},layout:{ProjectionNode:rZ,MeasureLayout:n2}},(e,t)=>t.isSVG??e8(e)?new eX(t):new e3(t,{allowProjection:e!==e6.Fragment}))},90185:(e,t,n)=>{e.exports=n(44727)},95437:(e,t,n)=>{n.d(t,{e:()=>s,g:()=>o});var r=n(61322);let i=(0,r.createContext)(()=>{});function o(){return(0,r.useContext)(i)}function s({value:e,children:t}){return r.createElement(i.Provider,{value:e},t)}},96057:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(61322);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M10 17a.75.75 0 0 1-.75-.75V5.612L5.29 9.77a.75.75 0 0 1-1.08-1.04l5.25-5.5a.75.75 0 0 1 1.08 0l5.25 5.5a.75.75 0 1 1-1.08 1.04l-3.96-4.158V16.25A.75.75 0 0 1 10 17Z",clipRule:"evenodd"}))})},96545:(e,t,n)=>{n.d(t,{V:()=>r});let r=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},98057:(e,t,n)=>{n.d(t,{V:()=>a});var r=n(3860),i=n(4365),o=n(50860),s=n(11781);let a={test:(0,s.$)("hsl","hue"),parse:(0,s.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+i.KN.transform((0,o.a)(t))+", "+i.KN.transform((0,o.a)(n))+", "+(0,o.a)(r.X4.transform(s))+")"}},98321:(e,t,n)=>{n.d(t,{G:()=>r});class r extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}},98856:(e,t,n)=>{n.d(t,{u:()=>i});var r=n(11077);let i={test:(0,n(11781).$)("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
13a:i?parseInt(i,16)/255:1}},transform:r.B.transform}},99043:(e,t,n)=>{n.d(t,{Y:()=>o});var r=n(61322),i=n(16564);function o(e){let t=(0,r.useRef)(e);return(0,i.s)(()=>{t.current=e},[e]),t}}}]);
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.