1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,779009,e=>{"use strict";var t=e.i(843476),i=e.i(500932),n=e.i(271645),r=e.i(375679),s=e.i(95187);let o=(0,s.createServerReference)("709a5583966ed467c84167134c0a7986aa7f72388e",s.callServer,void 0,s.findSourceMapURL,"getLatestAudioPublications"),a=[25,50,75],l=(0,n.createContext)(null);function u(){let e=(0,n.useContext)(l);if(!e)throw Error("useAudioPlayer must be used within an AudioPlayerProvider");return e}function c(e){return{id:e.id,drupalId:e.drupalId,title:e.title,audioUrl:e.audioUrl,imageUrl:e.imageUrl,date:e.date,authors:e.authors,href:e.href,langcode:e.langcode}}let h=["audio_id","audio_title","audio_langcode","audio_source","audio_progress_percent","audio_duration_seconds","audio_listened_seconds","audio_reason"];function d(e,t){let i={};for(let e of h)i[e]=void 0;(0,r.trackEvent)(e,{...i,...t})}function p(e){let r,s,u,h,p,v,y,x,w,b,M,P,S,E,T,C,k,A,V,R,D,j,L,F,B,_,I,O,N,H,z,U,q,W,G,$,K,X,Y,Z,Q=(0,i.c)(65),{children:J}=e,ee=(0,n.useRef)(null),et=(0,n.useRef)(null),ei=(0,n.useRef)("idle");Q[0]===Symbol.for("react.memo_cache_sentinel")?(r=[],Q[0]=r):r=Q[0];let en=(0,n.useRef)(r),er=(0,n.useRef)(null);Q[1]===Symbol.for("react.memo_cache_sentinel")?(s=[],Q[1]=s):s=Q[1];let es=(0,n.useRef)(s);Q[2]===Symbol.for("react.memo_cache_sentinel")?(u=new Set,Q[2]=u):u=Q[2];let eo=(0,n.useRef)(u),ea=(0,n.useRef)(0);Q[3]===Symbol.for("react.memo_cache_sentinel")?(h=new Set,Q[3]=h):h=Q[3];let el=(0,n.useRef)(h),eu=(0,n.useRef)(0),ec=(0,n.useRef)(null),eh=(0,n.useRef)(null),ed=(0,n.useRef)("unknown"),ep=(0,n.useRef)(!1),em=(0,n.useRef)(0),[ef,eg]=(0,n.useState)(null),[ev,ey]=(0,n.useState)("idle"),[ex,ew]=(0,n.useState)(0),[eb,eM]=(0,n.useState)(0),[eP,eS]=(0,n.useState)(1),[eE,eT]=(0,n.use
1State)(!1),[eC,ek]=(0,n.useState)(!1);Q[4]===Symbol.for("react.memo_cache_sentinel")?(p=[],Q[4]=p):p=Q[4];let[eA,eV]=(0,n.useState)(p),[eR,eD]=(0,n.useState)(0);Q[5]!==ef?(v=()=>{et.current=ef},y=[ef],Q[5]=ef,Q[6]=v,Q[7]=y):(v=Q[6],y=Q[7]),(0,n.useEffect)(v,y),Q[8]!==ev?(x=()=>{ei.current=ev},w=[ev],Q[8]=ev,Q[9]=x,Q[10]=w):(x=Q[9],w=Q[10]),(0,n.useEffect)(x,w),Q[11]!==eA?(b=()=>{en.current=eA},M=[eA],Q[11]=eA,Q[12]=b,Q[13]=M):(b=Q[12],M=Q[13]),(0,n.useEffect)(b,M),Q[14]===Symbol.for("react.memo_cache_sentinel")?(P=e=>{en.current=e,eV(e)},Q[14]=P):P=Q[14];let ej=P;Q[15]===Symbol.for("react.memo_cache_sentinel")?(S=()=>{er.current&&(clearTimeout(er.current),er.current=null),ee.current&&(function(e){e&&(e.onloadedmetadata=null,e.ontimeupdate=null,e.onended=null,e.onpause=null,e.onplay=null)}(ee.current),ee.current.pause(),ee.current.src="",ee.current.load()),ee.current=null},Q[15]=S):S=Q[15];let eL=S,eF=(0,n.useRef)(g),eB=(0,n.useRef)(f);Q[16]===Symbol.for("react.memo_cache_sentinel")?(E=e=>{null!=ec.current&&(eu.current=eu.current+(performance.now()-ec.current),ec.current=null);let t=eh.current,i=Math.round(eu.current/1e3);!t||i<=0||ep.current||(d("audio_listen",{audio_id:t.drupalId??null,audio_title:t.title,audio_langcode:t.langcode??null,audio_source:ed.current,audio_listened_seconds:i,audio_duration_seconds:Math.round(em.current||0),audio_reason:e}),ep.current=!0)},Q[16]=E):E=Q[16];let e_=E,eI=(0,n.useRef)(e_);Q[17]===Symbol.for("react.memo_cache_sentinel")?(T=()=>{eI.current=e_},Q[17]=T):T=Q[17],(0,n.useEffect)(T),Q[18]===Symbol.for("react.memo_cache_sentinel")?(C=()=>{let e=()=>eI.current("unmount");return window.addEventListener("pagehide",e),()=>window.removeEventListener("pagehide",e)},k=[],Q[18]=C,Q[19]=k):(C=Q[18],k=Q[19]),(0,n.useEffect)(C,k),Q[20]!==eP?(A=(e,t)=>{let i=void 0===t?"unknown":t;if(!e?.audioUrl)return void console.warn("AudioPlayer: No audio URL provided");if(et.current?.audioUrl===e.audioUrl&&ee.current&&"idle"!==ei.current)return void(ee.current.paused?ee.current.play().catch(console.error):ee.current.pause());e_("switch"),ey("loading"),ew(0),eM(0),eg(e),et.current=e,eL(),el.current=new Set,eu.current=0,ec.current=null,ep.current=!1,eh.current=e,ed.current=i,em.current=0,d("audio_start",{audio_id:e.drupalId??null,audio_title:e.title,audio_langcode:e.langcode??null,audio_source:i});let n=new Audio(e.audioUrl);n.playbackRate=eP,ee.current=n,n.onloadedmetadata=()=>{eM(n.duration||0),em.current=n.duration||0},n.ontimeupdate=()=>{if(ew(n.currentTime),n.duration>0&&isFinite(n.duration)){let e=n.currentTime/n.duration*100;for(let t of a)e>=t&&!el.current.has(t)&&(el.current.add(t),d("audio_progress",{audio_id:et.current?.drupalId??null,audio_title:et.current?.title,audio_langcode:et.current?.langcode??null,audio_progress_percent:t}))}},n.onended=()=>{d("audio_complete",{audio_id:et.current?.drupalId??null,audio_title:et.current?.title,audio_langcode:et.current?.langcode??null,audio_duration_seconds:Math.round(n.duration||0)}),e_("complete"),el.current.clear(),er.current=setTimeout(()=>{er.current=null,eF.current("auto_advance")},800)},n.onpause=()=>{null!=ec.current&&(eu.current=eu.current+(performance.now()-ec.current),ec.current=null),ey(m)},n.onplay=()=>{ec.current=performance.now(),ey("playing")},n.play().then(()=>ey("playing")).catch(e=>{console.error("AudioPlayer: Failed to start playback",e),ey("idle"),eg(null),eL()})},Q[20]=eP,Q[21]=A):A=Q[21];let eO=A;Q[22]===Symbol.for("react.memo_cache_sentinel")?(V=async()=>{let e=et.current,t=e?.langcode;if(!t)return;let i=5-en.current.length;if(i<=0)return;let n=ea.current,r=Array.from(eo.current);try{let e=await o(t,i,r);if(ea.current!==n||0===e.length)return;let s=e.filter(e=>!eo.current.has(e.id)).map(c);s.forEach(e=>{e.id&&eo.current.add(e.id)}),ej([...en.current,...s])}catch(e){console.error("AudioPlayer: refillQueue failed",e)}},Q[22]=V):V=Q[22];let eN=V;Q[23]===Symbol.for("react.memo_cache_sentinel")?(R=()=>{eB.current=eN},D=[eN],Q[23]=R,Q[24]=D):(R=Q[23],D=Q[24]),(0,n.useEffect)(R,D),Q[25]===Symbol.for("react.memo_cache_sentinel")?(j=e=>{if(!e)return;let t=[...es.current,e].slice(-50);es.current=t,eD(t.length)},Q[25]=j):j=Q[25];let eH=j;Q[26]!==eO?(L=e=>{let t=void 0===e?"overlay":e,i=en.current[0];i?(eH(et.current),ej(en.current.slice(1)),eO(i,t),eB.current()):eB.current().then(()=>{let e=en.current[0];e?(eH(et.current),ej(en.current.slice(1)),eO(e,t)):(eL(),ey("idle"),ew(0),eM(0),eg(null),eT(!1),ek(!1))}).catch(()=>{eL(),ey("idle"),eg(null)})},Q[26]=eO,Q[27]=L):L=Q[27];let ez=L;Q[28]!==ez?(F=()=>{eF.current=ez},B=[ez],Q[28]=ez,Q[29]=F,Q[30]=B):(F=Q[29],B=Q[30]),(0,n.useEffect)(F,B),Q[31]!==eO?(_=e=>{let t=en.current[e];t&&(eH(et.current),ej(en.current.slice(e+1)),ek(!1),eO(t,"queue"),eB.current())},Q[31]=eO,Q[32]=_):_=Q[32];let eU=_;Q[33]!==eO?(I=()=>
1{if(ee.current&&ee.current.currentTime>3){ee.current.currentTime=0;return}let e=es.current[es.current.length-1];if(!e)return;es.current=es.current.slice(0,-1),eD(es.current.length);let t=et.current;t&&ej([t,...en.current]),eO(e,"previous")},Q[33]=eO,Q[34]=I):I=Q[34];let eq=I;Q[35]!==eO?(O=(e,t)=>{ea.current=ea.current+1,eo.current=new Set(e.id?[e.id]:[]),ej([]),es.current=[],eD(0),eT(!1),ek(!1),eO(e,void 0===t?"unknown":t),eB.current()},Q[35]=eO,Q[36]=O):O=Q[36];let eW=O;Q[37]===Symbol.for("react.memo_cache_sentinel")?(N=()=>{ee.current?.pause()},Q[37]=N):N=Q[37];let eG=N;Q[38]===Symbol.for("react.memo_cache_sentinel")?(H=()=>{ee.current?.play().then(()=>ey("playing")).catch(console.error)},Q[38]=H):H=Q[38];let e$=H;Q[39]===Symbol.for("react.memo_cache_sentinel")?(z=()=>{ee.current&&(ee.current.paused?e$():eG())},Q[39]=z):z=Q[39];let eK=z;Q[40]===Symbol.for("react.memo_cache_sentinel")?(U=()=>{e_("stop"),eL(),ey("idle"),ew(0),eM(0),eg(null),eT(!1),ek(!1),ej([]),es.current=[],eD(0)},Q[40]=U):U=Q[40];let eX=U;Q[41]===Symbol.for("react.memo_cache_sentinel")?(q=e=>{ee.current&&(ee.current.currentTime=Math.max(0,Math.min(e,ee.current.duration||0)))},Q[41]=q):q=Q[41];let eY=q;Q[42]===Symbol.for("react.memo_cache_sentinel")?(W=e=>{ee.current&&(ee.current.currentTime=Math.min(ee.current.currentTime+(void 0===e?30:e),ee.current.duration||0))},Q[42]=W):W=Q[42];let eZ=W;Q[43]===Symbol.for("react.memo_cache_sentinel")?(G=e=>{ee.current&&(ee.current.currentTime=Math.max(ee.current.currentTime-(void 0===e?10:e),0))},Q[43]=G):G=Q[43];let eQ=G;Q[44]===Symbol.for("react.memo_cache_sentinel")?($=e=>{eS(e),ee.current&&(ee.current.playbackRate=e)},Q[44]=$):$=Q[44];let eJ=$;Q[45]===Symbol.for("react.memo_cache_sentinel")?(K=()=>()=>{eL()},X=[eL],Q[45]=K,Q[46]=X):(K=Q[45],X=Q[46]),(0,n.useEffect)(K,X);let e0=!!ef&&"idle"!==ev,e1=eR>0;Q[47]!==ef||Q[48]!==eb||Q[49]!==eE||Q[50]!==eC||Q[51]!==e0||Q[52]!==eW||Q[53]!==eU||Q[54]!==ez||Q[55]!==eq||Q[56]!==eP||Q[57]!==ex||Q[58]!==eA||Q[59]!==ev||Q[60]!==e1?(Y={article:ef,status:ev,progress:ex,duration:eb,playbackRate:eP,isVisible:e0,isExpanded:eE,isQueueOpen:eC,queue:eA,canGoPrevious:e1,play:eW,playFromQueue:eU,playNext:ez,playPrevious:eq,togglePlayPause:eK,pause:eG,resume:e$,stop:eX,seek:eY,skipForward:eZ,skipBackward:eQ,setPlaybackRate:eJ,setIsExpanded:eT,setIsQueueOpen:ek},Q[47]=ef,Q[48]=eb,Q[49]=eE,Q[50]=eC,Q[51]=e0,Q[52]=eW,Q[53]=eU,Q[54]=ez,Q[55]=eq,Q[56]=eP,Q[57]=ex,Q[58]=eA,Q[59]=ev,Q[60]=e1,Q[61]=Y):Y=Q[61];let e2=Y;return Q[62]!==J||Q[63]!==e2?(Z=(0,t.jsx)(l.Provider,{value:e2,children:J}),Q[62]=J,Q[63]=e2,Q[64]=Z):Z=Q[64],Z}function m(e){return"idle"===e?e:"paused"}async function f(){}function g(){}e.s(["AudioPlayerContext",0,l,"AudioPlayerProvider",()=>p,"useAudioPlayer",()=>u],779009)},13080,e=>{"use strict";var t=e.i(271645);let i=(0,t.createContext)(void 0);function n(){let e=(0,t.useContext)(i);if(void 0===e)throw Error("useAuth must be used within an AuthProvider");return e}e.s(["AuthContext",0,i,"useAuth",()=>n])},992571,e=>{"use strict";var t=e.i(619273);function i(e){return{onFetch:(i,s)=>{let o=i.options,a=i.fetchOptions?.meta?.fetchMore?.direction,l=i.state.data?.pages||[],u=i.state.data?.pageParams||[],c={pages:[],pageParams:[]},h=0,d=async()=>{let s=!1,d=(0,t.ensureQueryFn)(i.options,i.fetchOptions),p=async(e,n,r)=>{let o;if(s)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);let a=(o={client:i.client,queryKey:i.queryKey,pageParam:n,direction:r?"backward":"forward",meta:i.options.meta},(0,t.addConsumeAwareSignal)(o,()=>i.signal,()=>s=!0),o),l=await d(a),{maxPages:u}=i.options,c=r?t.addToStart:t.addToEnd;return{pages:c(e.pages,l,u),pageParams:c(e.pageParams,n,u)}};if(a&&l.length){let e="backward"===a,t={pages:l,pageParams:u},i=(e?r:n)(o,t);c=await p(t,i,e)}else{let t=e??l.length;do{let e=0===h?u[0]??o.initialPageParam:n(o,c);if(h>0&&null==e)break;c=await p(c,e),h++}while(h<t)}return c};i.options.persister?i.fetchFn=()=>i.options.persister?.(d,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},s):i.fetchFn=d}}}function n(e,{pages:t,pageParams:i}
1){let n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,i[n],i):void 0}function r(e,{pages:t,pageParams:i}){return t.length>0?e.getPreviousPageParam?.(t[0],t,i[0],i):void 0}function s(e,t){return!!t&&null!=n(e,t)}function o(e,t){return!!t&&!!e.getPreviousPageParam&&null!=r(e,t)}e.s(["hasNextPage",()=>s,"hasPreviousPage",()=>o,"infiniteQueryBehavior",()=>i])},411829,329592,562873,892585,54034,535889,49676,86739,172229,25727,121499,310720,407474,93074,870886,459878,719643,434261,461898,453733,190037,765968,86048,e=>{"use strict";var t,i,n,r,s,o,a,l,u,c,h,d,p,m,f,g,v,y,x,w,b,M,P,S,E,T,C,k,A,V,R,D,j,L,F,B,_,I,O,N,H,z,U,q,W=e.i(271645);function G(){return(G=Object.assign.bind()).apply(null,arguments)}function $(){return($=Object.assign.bind()).apply(null,arguments)}function K(){return(K=Object.assign.bind()).apply(null,arguments)}function X(){return(X=Object.assign.bind()).apply(null,arguments)}function Y(){return(Y=Object.assign.bind()).apply(null,arguments)}function Z(){return(Z=Object.assign.bind()).apply(null,arguments)}function Q(){return(Q=Object.assign.bind()).apply(null,arguments)}function J(){return(J=Object.assign.bind()).apply(null,arguments)}function ee(){return(ee=Object.assign.bind()).apply(null,arguments)}function et(){return(et=Object.assign.bind()).apply(null,arguments)}function ei(){return(ei=Object.assign.bind()).apply(null,arguments)}function en(){return(en=Object.assign.bind()).apply(null,arguments)}function er(){return(er=Object.assign.bind()).apply(null,arguments)}function es(){return(es=Object.assign.bind()).apply(null,arguments)}function eo(){return(eo=Object.assign.bind()).apply(null,arguments)}function ea(){return(ea=Object.assign.bind()).apply(null,arguments)}function el(){return(el=Object.assign.bind()).apply(null,arguments)}function eu(){return(eu=Object.assign.bind()).apply(null,arguments)}function ec(){return(ec=Object.assign.bind()).apply(null,arguments)}function eh(){return(eh=Object.assign.bind()).apply(null,arguments)}function ed(){return(ed=Object.assign.bind()).apply(null,arguments)}function ep(){return(ep=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return W.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2227.368 284.315"},e),t||(t=W.createElement("path",{fill:"#c8021c",d:"M1290.333 85.275q-9.947-5.712-24.068-5.713-11.044 0-20.018 4.615c-5.982 3.073-11.068 7.259-15.25 12.551-1.76 2.227-3.334 4.624-4.79 7.128a45 45 0 0 0-1.17-2.548c-3.39-6.8-8.38-12.12-14.97-15.97q-9.884-5.775-23.688-5.776-10.543 0-18.828 4.08T1153.34 95.19c-1.697 2.136-3.215 4.471-4.615 6.937V82.575h-26.983v129.529h27.926V141.19q0-12.551 4.14-20.96 4.143-8.409 10.7-12.333 6.56-3.92 13.9-3.921 7.657 0 12.96 2.791 5.304 2.794 8.032 8.504 2.73 5.713 2.731 14.371v82.462h27.99V141.19c0-8.411 1.357-15.397 4.08-20.96q4.075-8.348 10.54-12.302t14.059-3.952q7.843 0 13.083 2.76 5.24 2.763 7.969 8.503 2.73 5.744 2.731 14.403v82.462h27.927V125.06q0-13.614-5.115-23.847-5.116-10.23-15.061-15.938M1070.462 87.971q-14.779-8.344-33.854-8.345-19.143.001-33.951 8.377-14.813 8.38-23.126 23.723-8.316 15.344-8.314 35.677c.002 20.333 2.76 25.445 8.283 35.676q8.283 15.345 23.157 23.689 14.871 8.345 33.951 8.346 19.075 0 33.854-8.346 14.782-8.345 23.065-23.689 8.283-15.345 8.282-35.676c0-20.331-2.76-25.457-8.282-35.709q-8.283-15.373-23.065-23.723m-1.912 83.497q-4.518 10.012-12.74 15.124-8.222 5.115-19.202 5.115-11.109.001-19.33-5.146-8.22-5.144-12.739-15.093-4.518-9.946-4.519-24.065 0-14.122 4.52-24.1 4.517-9.977 12.77-15.124 8.252-5.146 19.298-5.146 11.043 0 19.201 5.146c5.44 3.432 9.674 8.483 12.71 15.156q4.549 10.011 4.548 24.068c-.001 14.057-1.507 17.392-4.517 24.065M930.354 84.866q-10.134-5.303-24.192-5.304-11.107 0-20.27 4.238-9.163 4.235-15.657 11.609c-1.778 2.019-3.35 4.186-4.8 6.442V82.575h-26.986v129.529h27.925v-72.797q0-11.735 4.552-19.675 4.55-7.939 11.64-11.798c4.729-2.573 9.705-3.858 14.937-3.858q8.41 0 14.15 2.823 5.744 2.824 8.754 8.598 3.014 5.774 3.013 14.435v82.272h27.926v-85.975q0-15-5.428-25.48-5.43-10.478-15.564-15.783M1940.624 143.605q-9.919-4.8-25.29-7.31l-14.122-2.387q-7.97-1.316-13.051-3.386-5.086-2.073-7.688-5.43c-1.739-2.237-2.604-5.072-2.604-8.502q-.001-5.146 2.728-8.693 2.731-3.544 8.095-5.46 5.365-1.914 13.21-1.914 9.35 0 15.502 2.01 6.147 2.008 9.601 6.934 3.45 4.926 3.89 13.46h26.736q-.441-13.68-6.497-23.313t-18.356-14.842-30.939-5.21q-16.064 0-27.705 4.615-11.642 4.61-17.697 13.241-6.059 8.629-6.057 20.552-.002 11.046 4.927 18.951 4.924 7.9
109 14.213 12.802 9.29 4.895 22.657 7.155l14.871 2.447q9.79 1.758 15.375 4.047c3.726 1.53 6.37 3.401 7.94 5.618q2.351 3.325 2.352 8.409 0 5.522-2.886 9.257t-8.941 5.71q-6.058 1.978-15.47 1.977-10.232.001-16.599-2.323-6.37-2.32-9.76-7.466-3.386-5.148-4.266-13.681h-27.613q.94 15.06 7.909 24.945 6.964 9.882 19.485 14.716 12.52 4.832 30.341 4.833 17.322-.002 29.84-4.738 12.52-4.74 19.173-13.745 6.65-9.004 6.65-21.808 0-11.23-5.02-18.951-5.02-7.72-14.934-12.52M787.699 87.971q-14.779-8.344-33.857-8.345-19.14.001-33.949 8.377-14.812 8.38-23.125 23.723-8.318 15.344-8.317 35.677c.001 20.333 2.763 25.445 8.286 35.676q8.283 15.345 23.156 23.689 14.873 8.345 33.95 8.346c19.076 0 24.004-2.783 33.856-8.346s17.542-13.46 23.062-23.689q8.285-15.345 8.285-35.676c0-20.331-2.762-25.457-8.285-35.709-5.52-10.248-13.21-18.157-23.062-23.723m-1.915 83.497c-3.01 6.675-7.259 11.715-12.738 15.124q-8.223 5.115-19.204 5.115-11.107.001-19.327-5.146-8.224-5.144-12.739-15.093-4.518-9.946-4.519-24.065 0-14.122 4.52-24.1 4.515-9.977 12.77-15.124c5.498-3.43 11.933-5.146 19.295-5.146q11.047 0 19.204 5.146c5.44 3.432 9.674 8.483 12.71 15.156q4.549 10.011 4.548 24.068c-.001 14.057-1.507 17.392-4.52 24.065M642.241 179.845q-4.458 5.9-10.984 8.786-6.525 2.889-14.308 2.889-10.039 0-17.667-4.864-7.623-4.864-11.953-14.748t-4.33-24.569 4.298-24.568q4.298-9.882 11.925-14.716 7.625-4.834 17.79-4.833 7.532.001 13.994 2.792 6.465 2.794 10.89 8.472 4.42 5.682 6.054 14.026h28.43q-1.824-14.684-9.507-25.761-7.69-11.076-20.334-17.131-12.647-6.057-29.338-6.058-18.892 0-33.167 8.286-14.278 8.282-22.058 23.625-7.784 15.346-7.782 35.866 0 20.458 7.877 35.8 7.874 15.347 22.09 23.66 14.213 8.315 32.85 8.315c10.712 0 20.311-2.03 28.806-6.086q12.74-6.086 20.74-17.384 8.002-11.295 9.947-26.483h-28.24q-1.57 8.788-6.023 14.684M511.022 88.348q-14.091-8.785-33.356-8.786-18.824.001-33.072 8.441-14.245 8.444-22.059 23.847-7.81 15.407-7.81 35.553 0 20.583 7.968 35.927 7.971 15.341 22.34 23.564c9.583 5.48 20.604 8.22 33.073 8.22q15.501 0 27.644-5.365 12.145-5.365 20.049-15.061 7.908-9.694 11.172-22.562h-27.424q-2.008 6.466-6.243 11.077-4.239 4.614-10.45 7.124-6.215 2.51-14.308 2.51-11.234 0-19.328-4.675-8.099-4.676-12.488-14.276c-2.284-4.992-3.665-10.963-4.168-17.887h97.358q.06-2.26.095-4.425.031-2.163.032-4.048c0-13.008-2.49-24.663-7.469-34.955q-7.467-15.436-21.556-24.223m-64.169 32.853q4.394-9.633 12.207-14.402t18.292-4.77q10.983.001 18.701 5.051 7.719 5.054 11.706 13.871 2.988 6.61 3.805 14.654h-68.598c.704-5.441 1.993-10.25 3.887-14.404M2219.474 112.571q-7.467-15.436-21.556-24.223-14.089-8.785-33.354-8.786-18.827.001-33.071 8.441-14.25 8.444-22.059 23.847-7.814 15.407-7.814 35.553 0 20.583 7.969 35.927 7.971 15.341 22.34 23.564 14.373 8.22 33.073 8.22 15.502 0 27.644-5.365 12.144-5.365 20.052-15.061 7.905-9.694 11.169-22.562h-27.424q-2.008 6.466-6.243 11.077-4.236 4.614-10.45 7.124c-4.14 1.673-8.913 2.51-14.308 2.51q-11.234 0-19.328-4.675-8.098-4.676-12.489-14.276c-2.283-4.992-3.664-10.963-4.167-17.887h97.358q.06-2.26.095-4.425.031-2.163.032-4.048c0-13.008-2.49-24.663-7.469-34.955m-85.725 8.63q4.394-9.633 12.207-14.402t18.293-4.77q10.984.001 18.7 5.051c5.15 3.37 9.047 7.992 11.706 13.871q2.988 6.61 3.806 14.654h-68.598c.704-5.441 1.993-10.25 3.886-14.404M1744.379 155.372c0 7.822-1.507 14.383-4.517 19.672-3.012 5.296-6.885 9.226-11.61 11.799q-7.094 3.86-14.936 3.86-8.409 0-14.152-2.823-5.74-2.824-8.786-8.598t-3.045-14.435V82.575h-27.926v85.975q0 15 5.43 25.48 5.428 10.478 15.563 15.782 10.134 5.301 24.255 5.302 11.046 0 20.175-4.203 9.133-4.204 15.628-11.612c1.807-2.061 3.41-4.271 4.886-6.574l.038 19.379h26.923V82.575h-27.926zM1799.623 82.575h27.926V212.1h-27.926zM1336.518 82.575h27.926V212.1h-27.926zM1822.277 36.512q-3.954-2.257-8.596-2.257-4.708 0-8.662 2.32a17.7 17.7 0 0 0-6.307 6.244q-2.351 3.923-2.352 8.63t2.384 8.628a18.1 18.1 0 0 0 6.37 6.276q3.984 2.354 8.567 2.354 4.582.001 8.533-2.323a17.3 17.3 0 0 0 6.275-6.275q2.324-3.955 2.323-8.66 0-4.77-2.29-8.722a16.64 16.64 0 0 0-6.245-6.215M1622.083 143.605q-9.914-4.8-25.29-7.31l-14.12-2.387q-7.969-1.316-13.053-3.386-5.083-2.073-7.686-5.43-2.605-3.356-2.605-8.502-.001-5.146 2.728-8.693 2.733-3.544 8.096-5.46 5.367-1.914 13.21-1.914 9.351 0 15.5 2.01 6.152 2.008 9.602 6.934 3.452 4.926 3.893 13.46h26.733q-.439-13.68-6.497-23.313-6.053-9.633-18.356-14.842-12.299-5.21-30.936-5.21-16.067 0-27.708 4.615-11.643 4.61-17.697 13.241-6.055 8.629-6.055 20.552 0 11.046 4.925 18.951 4.928 7.909 14.216 12.802 9.285 4.895 22.654 7.155l14.871 2.447c6.53 1.173 11.652 2.52 15.378 4.047q5.583 2.294 7.937 5.618t2.354 8.409q0 5.522-2.889 9.257-2.885 3.734-8.94 5.71-6.058 1.978-15.47 1.977-10.23.001-16.6-2.323c-4.245-1.547-7.5-4.036-9.756-7.466q-3.39-5.148-4.27-13.681h-27.612c.63
110.039 3.263 18.356 7.908 24.945q6.966 9.882 19.486 14.716 12.52 4.832 30.34 4.833 17.324-.002 29.842-4.738 12.518-4.74 19.172-13.745 6.651-9.004 6.653-21.808 0-11.23-5.023-18.951-5.02-7.72-14.935-12.52M1359.172 36.512q-3.95-2.257-8.596-2.257-4.708 0-8.661 2.32a17.74 17.74 0 0 0-6.308 6.244q-2.351 3.923-2.352 8.63t2.384 8.628a18.1 18.1 0 0 0 6.37 6.276q3.985 2.354 8.567 2.354 4.581.001 8.535-2.323a17.34 17.34 0 0 0 6.274-6.275q2.323-3.955 2.322-8.66 0-4.77-2.29-8.722a16.63 16.63 0 0 0-6.245-6.215M1482.866 88.348q-14.09-8.785-33.354-8.786-18.828.001-33.071 8.441c-9.5 5.629-16.85 13.578-22.06 23.847q-7.813 15.407-7.813 35.553-.001 20.583 7.972 35.927 7.968 15.341 22.34 23.564 14.37 8.22 33.072 8.22 15.5 0 27.645-5.365 12.141-5.365 20.049-15.061 7.908-9.694 11.171-22.562h-27.426q-2.009 6.466-6.244 11.077-4.236 4.614-10.447 7.124-6.214 2.51-14.308 2.51-11.238 0-19.33-4.675-8.095-4.676-12.489-14.276c-2.284-4.992-3.664-10.963-4.167-17.887h97.36q.06-2.26.093-4.425.03-2.163.031-4.048c0-13.008-2.489-24.663-7.466-34.955q-7.471-15.436-21.558-24.223m-64.166 32.853q4.39-9.633 12.206-14.402 7.81-4.77 18.293-4.77 10.98.001 18.7 5.051 7.72 5.054 11.704 13.871 2.988 6.61 3.807 14.654h-68.6c.705-5.441 1.995-10.25 3.89-14.404M2067.798 143.605q-9.916-4.8-25.29-7.31l-14.118-2.387c-5.316-.877-9.665-2.006-13.055-3.386q-5.083-2.073-7.687-5.43t-2.605-8.502q.001-5.146 2.731-8.693 2.729-3.544 8.096-5.46 5.363-1.914 13.21-1.914 9.347 0 15.5 2.01 6.15 2.008 9.6 6.934 3.453 4.926 3.892 13.46h26.734q-.441-13.68-6.495-23.313c-4.04-6.422-10.156-11.37-18.356-14.842q-12.302-5.21-30.939-5.21-16.065 0-27.707 4.615-11.639 4.61-17.698 13.241-6.054 8.629-6.054 20.552-.001 11.046 4.928 18.951 4.923 7.909 14.213 12.802c6.189 3.263 13.744 5.649 22.653 7.155l14.874 2.447q9.789 1.758 15.375 4.047 5.586 2.294 7.938 5.618 2.354 3.325 2.354 8.409 0 5.522-2.886 9.257-2.89 3.734-8.944 5.71-6.055 1.978-15.47 1.977-10.23.001-16.598-2.323-6.37-2.32-9.758-7.466-3.39-5.148-4.269-13.681h-27.61q.941 15.06 7.906 24.945 6.966 9.882 19.486 14.716 12.517 4.832 30.343 4.833 17.32-.002 29.838-4.738c8.35-3.16 14.736-7.742 19.173-13.745q6.652-9.004 6.652-21.808 0-11.23-5.02-18.951c-3.349-5.146-8.325-9.32-14.937-12.52"})),i||(i=W.createElement("path",{fill:"#ff9c2b",d:"M232.313 44.64v199.682l128.826 13.803V26.237zM.425 77.768v141.709l51.53 5.52V70.408z"})),n||(n=W.createElement("path",{fill:"#c8021c",d:"M51.955 70.406v154.592l180.358 19.324V44.64z"})),r||(r=W.createElement("path",{fill:"#ffba6b",d:"M51.955 283.89h180.358v-39.568L51.955 224.998zM232.313.472H51.955v69.934l180.358-25.765z"})))}],329592),e.s(["default",0,function(e){return W.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 361.565 284.315"},e),s||(s=W.createElement("path",{fill:"#ff9c2b",d:"M232.313 44.64v199.682l128.826 13.803V26.237zM.426 77.768v141.709l51.53 5.52V70.408z"})),o||(o=W.createElement("path",{fill:"#c8021c",d:"M51.956 70.406v154.592l180.357 19.324V44.64z"})),a||(a=W.createElement("path",{fill:"#ffba6b",d:"M51.956 283.89h180.357v-39.568L51.956 224.998zM232.313.472H51.956v69.934l180.357-25.765z"})))}],562873),e.s(["default",0,function(e){return W.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 25 24"},e),l||(l=W.createElement("path",{fill:"currentColor",d:"M12.804 6.61a5.377 5.377 0 0 0-5.386 5.386 5.377 5.377 0 0 0 5.386 5.386 5.377 5.377 0 0 0 5.386-5.386 5.377 5.377 0 0 0-5.386-5.386m0 8.887a3.51 3.51 0 0 1-3.501-3.501 3.505 3.505 0 0 1 3.501-3.502 3.505 3.505 0 0 1 3.502 3.502 3.51 3.51 0 0 1-3.502 3.501m6.863-9.108c0 .699-.563 1.257-1.257 1.257a1.256 1.256 0 1 1 1.256-1.256m3.567 1.275c-.08-1.682-.464-3.173-1.697-4.401-1.228-1.228-2.719-1.613-4.401-1.697-1.735-.098-6.933-.098-8.668 0-1.678.08-3.168.464-4.401 1.692S2.454 5.977 2.37 7.66c-.099 1.734-.099 6.933 0 8.667.08 1.683.464 3.173 1.697 4.401 1.233 1.229 2.718 1.613 4.401 1.697 1.735.099 6.933.099 8.668 0 1.682-.08 3.173-.464 4.401-1.697 1.228-1.228 1.613-2.718 1.697-4.401.098-1.734.098-6.928 0-8.663m-2.24 10.524a3.55 3.55 0 0 1-1.998 1.997c-1.382.548-4.664.422-6.192.422s-4.814.122-6.192-.422a3.55 3.55 0 0 1-1.997-1.997c-.548-1.383-.422-4.664-.422-6.192s-.122-4.814.422-6.192a3.55 3.55 0 0 1 1.997-1.997c1.383-.549 4.664-.422 6.192-.422s4.814-.122 6.192.422a3.55 3.55 0 0 1 1.997 1.997c.549 1.382.422 4.664.422 6.192s.127 4.814-.422 6.192"})))}],892585),e.s(["default",0,function(e){return W.createElement("svg",X({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),u||(u=W.createElement("path",{fill:"currentColor",d:"M23.503 6.503a2.86 2.86 0 0 0-2.012-2.024C19.717 4 12.601 4 12.601 4s-7.116 0-8.89.479a2.86 2.86 0 0 0-2.013 2.024c-.475 1.787-.475 5.513-.475 5.513s0 3.727.475 5.513A2.82 2.82 0 0 0 3.71 19.52C5.485 20 12.6 20 12.6 20s7.117 0 8.891-.479a2.82 2.82 0 0 0 2.012-1.992c.476-1.786.476-5.513.476-5.513s0-3.726-.476-5.513M10.273 15.4V8.633l5.948 3.383z"})))}],54034),e.s(["default",0,function(e){return W.createElement("svg",Y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),c||(c=W.createElement("path",{fill:"currentColor",d:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a9 9 0 0 1 1.141.195v3.325a9 9 0 0 0-.653-.036 27 27 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.7 1.7 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647"})))}],535889),e.s(["default",0,function(e){return W.createElement("svg",Z({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 256 256"},e),W.createElement("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"inherit",fillRule:"nonzero",opacity:1}},W.createElement("path",{d:"M1.48 29.91h18.657v60.01H1.48zM10.809.08c5.963 0 10.809 4.846 10.809 10.819 0 5.967-4.846 10.813-10.809 10.813C4.832 21.712 0 16.866 0 10.899 0 4.926 4.832.08 10.809.08M31.835 29.91h17.89v8.206h.255c2.49-4.72 8.576-9.692 17.647-9.692C86.514 28.424 90 40.849 90 57.007V89.92H71.357V60.737c0-6.961-.
1121-15.912-9.692-15.912-9.706 0-11.187 7.587-11.187 15.412V89.92H31.835z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"currentColor",fillRule:"nonzero",opacity:1},transform:"translate(1.407 1.407)scale(2.81)"})))}],49676),e.s(["default",0,function(e){return W.createElement("svg",Q({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),h||(h=W.createElement("path",{fill:"currentColor",d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})))}],86739),e.s(["default",0,function(e){return W.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 23 24"},e),d||(d=W.createElement("g",{clipPath:"url(#tiktok_svg__a)"},W.createElement("path",{fill:"currentColor",d:"M16.018 0h-3.795v15.867c0 1.89-1.46 3.444-3.276 3.444s-3.276-1.553-3.276-3.444c0-1.857 1.427-3.376 3.179-3.443V8.44c-3.86.067-6.974 3.342-6.974 7.427 0 4.119 3.18 7.427 7.104 7.427s7.103-3.342 7.103-7.427V7.731a8.6 8.6 0 0 0 5.027 1.755V5.503C18.256 5.402 16.018 2.97 16.018 0"}))),p||(p=W.createElement("defs",null,W.createElement("clipPath",{id:"tiktok_svg__a"},W.createElement("path",{d:"M0 0h22.518v23.294H0z"})))))}],172229),e.s(["default",0,function(e){return W.createElement("svg",ee({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 46 46"},e),m||(m=W.createElement("path",{fill:"#fff",d:"M.443 17.677H38.46v10.176H.443z"})),f||(f=W.createElement("path",{fill:"#fff",d:"m23.045.318 22.18 22.7-7.03 7.196-22.18-22.7z"})),g||(g=W.createElement("path",{fill:"#fff",d:"m16.232 38.806 22.18-22.7 7.03 7.195-22.18 22.7z"})))}],25727),e.s(["default",0,function(e){return W.createElement("svg",et({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 78 77"},e),v||(v=W.createElement("path",{fill:"currentcolor",d:"M.816 29.316h65v17h-65z"})),y||(y=W.createElement("path",{fill:"currentcolor",d:"M39.461.316 77.384 38.24l-12.02 12.02L27.44 12.338z"})),x||(x=W.createElement("path",{fill:"currentcolor",d:"M27.813 64.613 65.735 26.69l12.021 12.02-37.923 37.924z"})))}],121499),e.s(["default",0,function(e){return W.createElement("svg",ei({xmlns:"http://www.w3.org/2000/svg",width:42,he
1ight:41,fill:"none"},e),w||(w=W.createElement("path",{fill:"#fff",d:"M41.07 24.922H7.159v-8.87H41.07z"})),b||(b=W.createElement("path",{fill:"#fff",d:"M20.915 40.062 1.129 20.277l6.272-6.272L27.187 33.79z"})),M||(M=W.createElement("path",{fill:"#fff",d:"M26.988 6.515 7.203 26.301.93 20.029 20.716.243z"})))}],310720),e.s(["default",0,function(e){return W.createElement("svg",en({xmlns:"http://www.w3.org/2000/svg",width:42,height:41,fill:"none"},e),P||(P=W.createElement("path",{fill:"#fff",d:"M.93 15.375h33.913v8.87H.93z"})),S||(S=W.createElement("path",{fill:"#fff",d:"m21.086.242 19.786 19.786L34.6 26.3 14.814 6.514z"})),E||(E=W.createElement("path",{fill:"#fff",d:"m15.012 33.789 19.785-19.786 6.272 6.272-19.785 19.786z"})))}],407474),e.s(["default",0,function(e){return W.createElement("svg",er({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24"},e),T||(T=W.createElement("path",{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5z"})))}],93074),e.s(["default",0,function(e){return W.createElement("svg",es({xmlns:"http://www.w3.org/2000/svg",width:62,height:62,fill:"none"},e),C||(C=W.createElement("g",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:1.2,clipPath:"url(#butterfly_svg__a)"},W.createElement("path",{d:"M28.69 18.58s3.19.92 2.92 5.62M33.92 25s1.31-4.04 5.19-3.21"}),W.createElement("path",{d:"M31.08 35.67s.73 1.78 1.82 3.53c1.58 2.52 3.92 4.97 5.96 1.99 3.46-5.06 1.63-6.7 1.63-6.7 3.85-2.33 4.64-7.25 3.04-8.14-1.07-.6-2.78-.65-3.8-.63-.53.01-1.04.18-1.47.47l-7.54 5.09-3.78-8.14a3.15 3.15 0 0 0-1.21-1.37c-.88-.54-2.28-1.29-3.43-1.33-1.83-.06-3.69 4.56-1.59 8.54 0 0-2.42.46-2.06 6.58s9.51-.72 9.51-.72"}))),k||(k=W.createElement("defs",null,W.createElement("clipPath",{id:"butterfly_svg__a"},W.createElement("path",{fill:"#fff",d:"M18 18h26.91v25.16H18z"})))))}],870886),e.s(["default",0,function(e){return W.createElement("svg",eo({xmlns:"http://www.w3.org/2000/svg",width:62,height:62,fill:"none"},e),A||(A=W.createElement("g",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:1.2,clipPath:"url(#lab_svg__a)"},W.createElement("path",{d:"M41.93 42.85 34.8 30.71V20.42h-6.62v10.29l-7.13 12.14zM25.62 19.6h11.75M26.82 33.92h9.34"}))),V||(V=W.createElement("defs",null,W.createElement("clipPath",{id:"lab_svg__a"},W.createElement("path",{fill:"#fff",d:"M20 19h22.98v24.45H20z"})))))}],459878),e.s(["default",0,function(e){return W.createElement("svg",ea({xmlns:"http://www.w3.org/2000/svg",width:62,height:62,fill:"none"},e),R||(R=W.createElement("g",{stroke:"#fff",strokeWidth:1.2,clipPath:"url(#people_svg__a)"},W.createElement("path",{d:"M25.16 34.32a6.34 6.34 0 1 0 0-12.68 6.34 6.34 0 0 0 0 12.68ZM34.72 43.43c0-3.5-4.28-6.34-9.56-6.34s-9.56 2.84-9.56 6.34M39.57 29.34a4.87 4.87 0 1 0 0-9.74 4.87 4.87 0 0 0 0 9.74ZM46.9 36.32c0-2.69-3.28-4.86-7.33-4.86s-7.33 2.18-7.33 4.86"}))),D||(D=W.createElement("defs",null,W.createElement("clipPath",{id:"people_svg__a"},W.createElement("path",{fill:"#fff",d:"M15 19h32.5v24.43H15z"})))))}],719643),e.s(["default",0,function(e){return W.createElement("svg",el({xmlns:"http://www.w3.org/2000/svg",width:62,height:62,fill:"none"},e),j||(j=W.createElement("g",{clipPath:"url(#pig_svg__a)"},W.createElement("path",{stroke:"#fff",strokeWidth:1.28,d:"M21.17 30.82h-3.53v5.38h3.53"}),W.createElement("path",{stroke:"#fff",strokeWidth:1.2,d:"M22.24 26.55s-1.21-3.1-.78-3.65 3.68-.21 5.23 1.61"}),W.createElement("path",{fill:"#fff",d:"M26.39 30.07a.95.95 0 1 1-1.899.001.95.95 0 0 1 1.9 0"}),W.createElement("path",{stroke:"#fff",strokeWidth:1.37,d:"M29.7 40.9v1.92c0 .55-.58.99-1.3.99h-.71c-.72 0-1.3-.45-1.3-.99V40.9M37.36 40.9v1.92c0 .55-.58.99-1.3.99h-.71c-.72 0-1.3-.45-1.3-.99V40.9"}),W.createElement("path",{stroke:"#fff",strokeWidth:1.2,d:"M29.7 27.13h6.94"}),W.createElement("path",{fill:"#fff",d:"M36.06 23.48a3.547 3.547 0 0 0-2.96-5.49 3.54 3.54 0 0 0-3.54 3.54c0 .72.21 1.39.58 1.95h5.92"}),W.createElement("path",{stroke:"#fff",strokeWidth:1.2,d:"M38.61 24.6H26.27a5.09 5.09 0 0 0-5.09 5.09v5.6a5.09 5.09 0 0 0 5.09 5.09h12.34a5.09 5.09 0 0 0 5.09-5.09v-5.6a5.09 5.09 0 0 0-5.09-5.09Z"}))),L||(L=W.createElement("defs",null,W.createElement("clipPath",{id:"pig_svg__a"},W.createElement("path",{fill:"#fff",d:"M17 18h27.31v26.5H17z"})))))}],434261),e.s(["default",0,function(e){return W.createElement("svg",eu({xmlns:"http://www.w3.org/2000/svg",width:62,height:62,fill:"none"},e),F||(F=W.createElement("g",{stroke:"#fff",strokeWidth:1.2,clipPath:"url(#plant_svg__a)"},W.createElement("path",{d:"m21.452 32.465-4.634 2.675 4.775 8.27 4.634-2.674z"}),W.createElement("path",{d:"m22.32 33.97 4.55-3.89h9.92l1.75 2.35"}),W.createElement("path",{d:"M25.35 39.22h12.53l7.3-7.46-.51-3.43-1.01-.94-1.
102.9-6.09 6.24h-4.9M32.38 30.08V25.2L28.24 22h-2.23l-3.04 1.84 2.61 2.81 3.05-.04 1.8-1.03-3.4-1.16M32.38 24.42l.82-3.47 3.27-3.32 5.59.66-.47 3.71-3.52 2.93zM32.38 24.42l5.46-3.78"}))),B||(B=W.createElement("defs",null,W.createElement("clipPath",{id:"plant_svg__a"},W.createElement("path",{fill:"#fff",d:"M16 17h29.82v27.22H16z"})))))}],461898),e.s(["default",0,function(e){return W.createElement("svg",ec({xmlns:"http://www.w3.org/2000/svg",width:62,height:62,fill:"none"},e),_||(_=W.createElement("g",{clipPath:"url(#sun_svg__a)"},W.createElement("path",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:1.2,d:"M41.35 41.54 37.81 38m-17.32 3.54L24.03 38m6.89 7.81V40.8m10.43-20.53-3.54 3.54m8.03 7.1h-5.01M20.49 20.27l3.54 3.54M16 30.91h5.01M30.92 16v5.01m6.89 10.15c0 3.8-3.08 6.89-6.89 6.89s-6.89-3.08-6.89-6.89 3.08-6.89 6.89-6.89 6.89 3.08 6.89 6.89Z"}))),I||(I=W.createElement("defs",null,W.createElement("clipPath",{id:"sun_svg__a"},W.createElement("path",{fill:"#fff",d:"M16 16h29.84v29.81H16z"})))))}],453733),e.s(["default",0,function(e){return W.createElement("svg",eh({xmlns:"http://www.w3.org/2000/svg",width:62,height:62,fill:"none"},e),O||(O=W.createElement("g",{clipPath:"url(#train_svg__a)"},W.createElement("path",{fill:"#fff",d:"M28.31 29.65c0 .62-.5 1.11-1.11 1.11s-1.11-.5-1.11-1.11.5-1.11 1.11-1.11 1.11.5 1.11 1.11"}),W.createElement("path",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:1.2,d:"M31.32 37h4.94l3.3-3.43V19.94l-5.24-3.34h-6.01l-5.24 3.34v13.63l3.3 3.43z"}),W.createElement("path",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:1.2,d:"m37.62 18.7-2.18 2.91h-8.25l-2.18-2.91M39.56 32.29l-6.6.68h-3.29l-6.6-.68"}),W.createElement("path",{fill:"#fff",d:"M34.32 29.65c0 .62.5 1.11 1.11 1.11s1.11-.5 1.11-1.11-.5-1.11-1.11-1.11-1.11.5-1.11 1.11M25.1 40.38 22 45.52l1.07.61 3.47-5.75zM37.53 40.38l3.1 5.14-1.07.61-3.47-5.75z"}))),N||(N=W.createElement("defs",null,W.createElement("clipPath",{id:"train_svg__a"},W.createElement("path",{fill:"#fff",d:"M22 16h18.63v30.13H22z"})))))}],190037),e.s(["default",0,function(e){return W.createElement("svg",ed({xmlns:"http://www.w3.org/2000/svg",width:62,height:62,fill:"none"},e),H||(H=W.createElement("g",{stroke:"#fff",strokeMiterlimit:10,strokeWidth:1.2,clipPath:"url(#tribunal_svg__a)"},W.createElement("path",{d:"m30.69 18.71-11.62 7.35h23.24zM17.88 42.77H43.5M20.98 28.23v12.15M27.45 28.23v12.15M33.93 28.23v12.15M40.41 28.23v12.15"}))),z||(z=W.createElement("defs",null,W.createElement("clipPath",{id:"tribunal_svg__a"},W.createElement("path",{fill:"#fff",d:"M17 18h27.38v25.37H17z"})))))}],765968),e.s(["default",0,function(e){return W.createElement("svg",ep({xmlns:"http://www.w3.org/2000/svg",width:62,height:62,fill:"none"},e),U||(U=W.createElement("g",{stroke:"#fff",strokeWidth:1.2,clipPath:"url(#world_svg__a)"},W.createElement("path",{d:"M47.37 34.02c1.58-8.98-4.41-17.54-13.39-19.12-7.37-1.3-14.02 1.64-17.2 8"}),W.createElement("path",{d:"m21.21 21.25-4.43 1.65-1.07-4.59M14.89 28.19c-1.69 8.96 4.21 17.59 13.17 19.28 7.35 1.38 14.03-1.48 17.29-7.8"}),W.createElement("path",{d:"m40.89 41.27 4.46-1.6 1.01 4.61M31.11 42.78c6.29 0 11.39-5.1 11.39-11.39S37.4 20 31.11 20s-11.39 5.1-11.39 11.39 5.1 11.39 11.39 11.39Z"}),W.createElement("path",{d:"M31.11 42.78c3.47 0 6.27-5.1 6.27-11.39S34.57 20 31.11 20s-6.27 5.1-6.27 11.39 2.81 11.39 6.27 11.39ZM31.11 19.63v22.55M19.78 31.39h22.66"}))),q||(q=W.createElement("defs",null,W.createElement("clipPath",{id:"world_svg__a"},W.createElement("path",{fill:"#fff",d:"M14 14h34.22v34.41H14z"})))))}],86048),e.s([],411829)},492297,e=>{"use strict";e.i(411829);var t=e.i(535889),t=t,i=e.i(892585),i=i,n=e.i(49676),n=n,r=e.i(172229),r=r,s=e.i(86739),s=s,o=e.i(54034),o=o;let a={Instagram:i.default,Linkedin:n.default,Facebook:t.default,X:s.default,Youtube:o.default,TikTok:r.default};e.s(["socialIconComponents",0,a],492297)},38966,e=>{"use strict";var t=e.i(843476),i=e.i(500932),n=e.i(271645),r=e.i(664659),s=e.i(975157),o=e.i(842856),a=e.i(951486),l=e.i(981140),u=e.i(820783),c=e.i(30030),h=e.i(369340),d=e.i(248425),p=e.i(75830),m=e.i(586318),f=e.i(726330),g=e.i(303536),v=e.i(765491),y=e.i(610772),x=e.i(853660),w=e.i(774606),b=e.i(296626),M=e.i(30207),P="rovingFocusGroup.onEntryFocus",S={bubbles:!1,cancelable:!0},E="RovingFocusGroup",[T,C,k]=(0,p.createCollection)(E),[A,V]=(0,c.createContextScope)(E,[k]),[R,D]=A(E),j=n.forwardRef((e,i)=>(0,t.jsx)(T.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(T.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(L,{...e,ref:i})})}));j.displayName=E;var L=n.forwardRef((e,i)=>{let{__scopeRovingFocusGroup:r,orientation:s,loop:o=!1,dir:a,currentTabStopId:c,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:f,onEntryFocus:g,preventScrollOnEntryFocus:v=!1,...y}=e,x=n.useRef(null),w=(0,u.useComposedRefs)(i,x),b=(0,m.useDirection)(a),[T,k]=(0,h.useControllableState)({prop:c,defaultProp:p??null,onChange:f,caller:E}),[A,V]=n.useState(!1),D=(0,M.useCallbackRef)(g),j=C(r),L=n.useRef(!1),[F,B]=n.useState(0);return n.useEffect(()=>{let e=x.current;if(e)return e.addEventListener(P,D),()=>e.removeEventListener(P,D)},[D]),(0,t.jsx)(R,{scope:r,orientation:s,dir:b,loop:o,currentTabStopId:T,onItemFocus:n.useCallback(e=>k(e),[k]),onItemShiftTab:n.useCallback(()=>V(!0),[]),onFocusableItemAdd:n.useCallback(()=>B(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>B(e=>e-1),[]),children:(0,t.jsx)(d.Primitive.div,{tabIndex:A||0===F?-1:0,"data-orientation":s,...y,ref:w,style:{outline:"none",...e.style},onMouseDown:(0,l.composeEventHandlers)(e.onMouseDown,()=>{L.current=!0}),onFocus:(0,l.composeEventHandlers)(e.onFocus,e=>{let t=!L.current;if(e.target===e.currentTarget&&t&&!A){let t=new CustomEvent(P,S);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=j().filter(e=>
1e.focusable);I([e.find(e=>e.active),e.find(e=>e.id===T),...e].filter(Boolean).map(e=>e.ref.current),v)}}L.current=!1}),onBlur:(0,l.composeEventHandlers)(e.onBlur,()=>V(!1))})})}),F="RovingFocusGroupItem",B=n.forwardRef((e,i)=>{let{__scopeRovingFocusGroup:r,focusable:s=!0,active:o=!1,tabStopId:a,children:u,...c}=e,h=(0,y.useId)(),p=a||h,m=D(F,r),f=m.currentTabStopId===p,g=C(r),{onFocusableItemAdd:v,onFocusableItemRemove:x,currentTabStopId:w}=m;return n.useEffect(()=>{if(s)return v(),()=>x()},[s,v,x]),(0,t.jsx)(T.ItemSlot,{scope:r,id:p,focusable:s,active:o,children:(0,t.jsx)(d.Primitive.span,{tabIndex:f?0:-1,"data-orientation":m.orientation,...c,ref:i,onMouseDown:(0,l.composeEventHandlers)(e.onMouseDown,e=>{s?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,l.composeEventHandlers)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,l.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,i){var n;let r=(n=e.key,"rtl"!==i?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return _[r]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){var i,n;"prev"===t&&r.reverse();let s=r.indexOf(e.currentTarget);r=m.loop?(i=r,n=s+1,i.map((e,t)=>i[(n+t)%i.length])):r.slice(s+1)}setTimeout(()=>I(r))}}),children:"function"==typeof u?u({isCurrentTabStop:f,hasTabStop:null!=w}):u})})});B.displayName=F;var _={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I(e,t=!1){let i=document.activeElement;for(let n of e)if(n===i||(n.focus({preventScroll:t}),document.activeElement!==i))return}var O=e.i(991918),N=e.i(186312),H=e.i(985369),z=["Enter"," "],U=["ArrowUp","PageDown","End"],q=["ArrowDown","PageUp","Home",...U],W={ltr:[...z,"ArrowRight"],rtl:[...z,"ArrowLeft"]},G={ltr:["ArrowLeft"],rtl:["ArrowRight"]},$="Menu",[K,X,Y]=(0,p.createCollection)($),[Z,Q]=(0,c.createContextScope)($,[Y,x.createPopperScope,V]),J=(0,x.createPopperScope)(),ee=V(),[et,ei]=Z($),[en,er]=Z($),es=e=>{let{__scopeMenu:i,open:r=!1,children:s,dir:o,onOpenChange:a,modal:l=!0}=e,u=J(i),[c,h]=n.useState(null),d=n.useRef(!1),p=(0,M.useCallbackRef)(a),f=(0,m.useDirection)(o);return n.useEffect(()=>{let e=()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,t.jsx)(x.Root,{...u,children:(0,t.jsx)(et,{scope:i,open:r,onOpenChange:p,content:c,onContentChange:h,children:(0,t.jsx)(en,{scope:i,onClose:n.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:d,dir:f,modal:l,children:s})})})};es.displayName=$;var eo=n.forwardRef((e,i)=>{let{__scopeMenu:n,...r}=e,s=J(n);return(0,t.jsx)(x.Anchor,{...s,...r,ref:i})});eo.displayName="MenuAnchor";var ea="MenuPortal",[el,eu]=Z(ea,{forceMount:void 0}),ec=e=>{let{__scopeMenu:i,forceMount:n,children:r,container:s}=e,o=ei(ea,i);return(0,t.jsx)(el,{scope:i,forceMount:n,children:(0,t.jsx)(b.Presence,{present:n||o.open,children:(0,t.jsx)(w.Portal,{asChild:!0,container:s,children:r})})})};ec.displayName=ea;var eh="MenuContent",[ed,ep]=Z(eh),em=n.forwardRef((e,i)=>{let n=eu(eh,e.__scopeMenu),{forceMount:r=n.forceMount,...s}=e,o=ei(eh,e.__scopeMenu),a=er(eh,e.__scopeMenu);return(0,t.jsx)(K.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(b.Presence,{present:r||o.open,children:(0,t.jsx)(K.Slot,{scope:e.__scopeMenu,children:a.modal?(0,t.jsx)(ef,{...s,ref:i}):(0,t.jsx)(eg,{...s,ref:i})})})})}),ef=n.forwardRef((e,i)=>{let r=ei(eh,e.__scopeMenu),s=n.useRef(null),o=(0,u.useComposedRefs)(i,s);return n.useEffect(()=>{let e=s.current;if(e)return(0,N.hideOthers)(e)},[]),(0,t.jsx)(ey,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,l.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),eg=n.forwardRef((e,i)=>{let n=ei(eh,e.__scopeMenu);return(0,t.jsx)(ey,{...e,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),ev=(0,O.createSlot)("MenuContent.ScrollLock"),ey=n.forwardRef((e,i)=>{let{__scopeMenu:r,loop:s=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:c,disableOutsidePointerEvents:h,onEntryFocus:d,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:y,onInteractOutside:w,onDismiss:b,disableOutsideScroll:M,...P}=e,S=ei(eh,r),E=er(eh,r),T=J(r),C=ee(r),k=X(r),[A,V]=n.useState(null),R=n.useRef(null),D=(0,u.useComposedRefs)(i,R,S.onContentChange),L=n.useRef(0),F=n.useRef(""),B=n.useRef(0),_=n.useRef(null),I=n.useRef("right"),O=n.useRef(0),N=M?H.RemoveScroll:n.Fragment;n.useEffect(()=>()=>window.clearTimeout(L.current),[]),(0,g.useFocusGuards)();let z=n.useCallback(e=>{var t,i;return I.current===_.current?.side&&(t=e,!!(i=_.current?.area)&&function(e,t){let{x:i,y:n}=e,r=!1;for(let e=0,s=t.length-1;e<t.length;s=e++){let o=t[e],a=t[s],l=o.x,u=o.y,c=a.x,h=a.y;u>n!=h>n&&i<(c-l)*(n-u)/(h-u)+l&&(r=!r)}return r}({x:t.clientX,y:t.clientY},i))},[]);return(0,t.jsx)(ed,{scope:r,searchRef:F,onItemEnter:n.useCallback(e=>{z(e)&&e.preventDefault()},[z]),onItemLeave:n.useCallback(e=>{z(e)||(R.current?.focus(),V(null))},[z]),onTriggerLeave:n.useCallback(e=>{z(e)&&e.preventDefault()},[z]),pointerGraceTimerRef:B,onPointerGraceIntentChange:n.useCallback(e=>{_.current=e},[]),children:(0,t.jsx)(N,{...M?{as:ev,allowPinchZoom:!0}:void 0,children:(0,t.jsx)(v.FocusScope,{asChild:!0,trapped:o,onMountAutoFocus:(0,l.composeEventHandlers)(a,e=>{e.preventDefault(),R.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,t.jsx)(f.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:y,onInteractOutside:w,onDismiss:b,children:(0,t.jsx)(j,{asChild:!0,...C,dir:E.dir,orientation:"vertical",loop:s,currentTabStopId:A,onCurrentTabStopIdChange:V,onEntryFocus:(0,l.composeEventHandlers)(d,e=>{E.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,t.jsx)(x.Content,{role:"menu","aria-orientation":"vertical","data-state":eq(S.open
1),"data-radix-menu-content":"",dir:E.dir,...T,...P,ref:D,style:{outline:"none",...P.style},onKeyDown:(0,l.composeEventHandlers)(P.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,i=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;if(t){var r;let t,s,o,a,l,u;"Tab"===e.key&&e.preventDefault(),!i&&n&&(r=e.key,t=F.current+r,s=k().filter(e=>!e.disabled),o=document.activeElement,a=s.find(e=>e.ref.current===o)?.textValue,l=function(e,t,i){var n;let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,s=i?e.indexOf(i):-1,o=(n=Math.max(s,0),e.map((t,i)=>e[(n+i)%e.length]));1===r.length&&(o=o.filter(e=>e!==i));let a=o.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return a!==i?a:void 0}(s.map(e=>e.textValue),t,a),u=s.find(e=>e.textValue===l)?.ref.current,function e(t){F.current=t,window.clearTimeout(L.current),""!==t&&(L.current=window.setTimeout(()=>e(""),1e3))}(t),u&&setTimeout(()=>u.focus()))}let s=R.current;if(e.target!==s||!q.includes(e.key))return;e.preventDefault();let o=k().filter(e=>!e.disabled).map(e=>e.ref.current);U.includes(e.key)&&o.reverse(),function(e){let t=document.activeElement;for(let i of e)if(i===t||(i.focus(),document.activeElement!==t))return}(o)}),onBlur:(0,l.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(L.current),F.current="")}),onPointerMove:(0,l.composeEventHandlers)(e.onPointerMove,e$(e=>{let t=e.target,i=O.current!==e.clientX;e.currentTarget.contains(t)&&i&&(I.current=e.clientX>O.current?"right":"left",O.current=e.clientX)}))})})})})})})});em.displayName=eh;var ex=n.forwardRef((e,i)=>{let{__scopeMenu:n,...r}=e;return(0,t.jsx)(d.Primitive.div,{role:"group",...r,ref:i})});ex.displayName="MenuGroup";var ew=n.forwardRef((e,i)=>{let{__scopeMenu:n,...r}=e;return(0,t.jsx)(d.Primitive.div,{...r,ref:i})});ew.displayName="MenuLabel";var eb="MenuItem",eM="menu.itemSelect",eP=n.forwardRef((e,i)=>{let{disabled:r=!1,onSelect:s,...o}=e,a=n.useRef(null),c=er(eb,e.__scopeMenu),h=ep(eb,e.__scopeMenu),p=(0,u.useComposedRefs)(i,a),m=n.useRef(!1);return(0,t.jsx)(eS,{...o,ref:p,disabled:r,onClick:(0,l.composeEventHandlers)(e.onClick,()=>{let e=a.current;if(!r&&e){let t=new CustomEvent(eM,{bubbles:!0,cancelable:!0});e.addEventListener(eM,e=>s?.(e),{once:!0}),(0,d.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?m.current=!1:c.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),m.current=!0},onPointerUp:(0,l.composeEventHandlers)(e.onPointerUp,e=>{m.current||e.currentTarget?.click()}),onKeyDown:(0,l.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==h.searchRef.current;r||t&&" "===e.key||z.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});eP.displayName=eb;var eS=n.forwardRef((e,i)=>{let{__scopeMenu:r,disabled:s=!1,textValue:o,...a}=e,c=ep(eb,r),h=ee(r),p=n.useRef(null),m=(0,u.useComposedRefs)(i,p),[f,g]=n.useState(!1),[v,y]=n.useState("");return n.useEffect(()=>{let e=p.current;e&&y((e.textContent??"").trim())},[a.children]),(0,t.jsx)(K.ItemSlot,{scope:r,disabled:s,textValue:o??v,children:(0,t.jsx)(B,{asChild:!0,...h,focusable:!s,children:(0,t.jsx)(d.Primitive.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":s||void 0,"data-disabled":s?"":void 0,...a,ref:m,onPointerMove:(0,l.composeEventHandlers)(e.onPointerMove,e$(e=>{s?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,l.composeEventHandlers)(e.onPointerLeave,e$(e=>c.onItemLeave(e))),onFocus:(0,l.composeEventHandlers)(e.onFocus,()=>g(!0)),onBlur:(0,l.composeEventHandlers)(e.onBlur,()=>g(!1))})})})}),eE=n.forwardRef((e,i)=>{let{checked:n=!1,onCheckedChange:r,...s}=e;return(0,t.jsx)(ej,{scope:e.__scopeMenu,checked:n,children:(0,t.jsx)(eP,{role:"menuitemcheckbox","aria-checked":eW(n)?"mixed":n,...s,ref:i,"data-state":eG(n),onSelect:(0,l.composeEventHandlers)(s.onSelect,()=>r?.(!!eW(n)||!n),{checkForDefaultPrevented:!1})})})});eE.displayName="MenuCheckboxItem";var eT="MenuRadioGroup",[eC,ek]=Z(eT,{value:void 0,onValueChange:()=>{}}),eA=n.forwardRef((e,i)=>{let{value:n,onValueChange:r,...s}=e,o=(0,M.useCallbackRef)(r);return(0,t.jsx)(eC,{scope:e.__scopeMenu,value:n,onValueChange:o,children:(0,t.jsx)(ex,{...s,ref:i})})});eA.displayName=eT;var eV="MenuRadioItem",eR=n.forwardRef((e,i)=>{let{value:n,...r}=e,s=ek(eV,e.__scopeMenu),o=n===s.value;return(0,t.jsx)(ej,{scope:e.__scopeMenu,checked:o,children:(0,t.jsx)(eP,{role:"menuitemradio","aria-checked":o,...r,ref:i,"data-state":eG(o),onSelect:(0,l.composeEventHandlers)(r.onSelect,()=>s.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});eR.displayName=eV;var eD="MenuItemIndicator",[ej,eL]=Z(eD,{checked:!1}
1),eF=n.forwardRef((e,i)=>{let{__scopeMenu:n,forceMount:r,...s}=e,o=eL(eD,n);return(0,t.jsx)(b.Presence,{present:r||eW(o.checked)||!0===o.checked,children:(0,t.jsx)(d.Primitive.span,{...s,ref:i,"data-state":eG(o.checked)})})});eF.displayName=eD;var eB=n.forwardRef((e,i)=>{let{__scopeMenu:n,...r}=e;return(0,t.jsx)(d.Primitive.div,{role:"separator","aria-orientation":"horizontal",...r,ref:i})});eB.displayName="MenuSeparator";var e_=n.forwardRef((e,i)=>{let{__scopeMenu:n,...r}=e,s=J(n);return(0,t.jsx)(x.Arrow,{...s,...r,ref:i})});e_.displayName="MenuArrow";var[eI,eO]=Z("MenuSub"),eN="MenuSubTrigger",eH=n.forwardRef((e,i)=>{let r=ei(eN,e.__scopeMenu),s=er(eN,e.__scopeMenu),o=eO(eN,e.__scopeMenu),a=ep(eN,e.__scopeMenu),c=n.useRef(null),{pointerGraceTimerRef:h,onPointerGraceIntentChange:d}=a,p={__scopeMenu:e.__scopeMenu},m=n.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return n.useEffect(()=>m,[m]),n.useEffect(()=>{let e=h.current;return()=>{window.clearTimeout(e),d(null)}},[h,d]),(0,t.jsx)(eo,{asChild:!0,...p,children:(0,t.jsx)(eS,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":eq(r.open),...e,ref:(0,u.composeRefs)(i,o.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,l.composeEventHandlers)(e.onPointerMove,e$(t=>{a.onItemEnter(t),!t.defaultPrevented&&(e.disabled||r.open||c.current||(a.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{r.onOpenChange(!0),m()},100)))})),onPointerLeave:(0,l.composeEventHandlers)(e.onPointerLeave,e$(e=>{m();let t=r.content?.getBoundingClientRect();if(t){let i=r.content?.dataset.side,n="right"===i,s=t[n?"left":"right"],o=t[n?"right":"left"];a.onPointerGraceIntentChange({area:[{x:e.clientX+(n?-5:5),y:e.clientY},{x:s,y:t.top},{x:o,y:t.top},{x:o,y:t.bottom},{x:s,y:t.bottom}],side:i}),window.clearTimeout(h.current),h.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(e),e.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:(0,l.composeEventHandlers)(e.onKeyDown,t=>{let i=""!==a.searchRef.current;e.disabled||i&&" "===t.key||W[s.dir].includes(t.key)&&(r.onOpenChange(!0),r.content?.focus(),t.preventDefault())})})})});eH.displayName=eN;var ez="MenuSubContent",eU=n.forwardRef((e,i)=>{let r=eu(eh,e.__scopeMenu),{forceMount:s=r.forceMount,...o}=e,a=ei(eh,e.__scopeMenu),c=er(eh,e.__scopeMenu),h=eO(ez,e.__scopeMenu),d=n.useRef(null),p=(0,u.useComposedRefs)(i,d);return(0,t.jsx)(K.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(b.Presence,{present:s||a.open,children:(0,t.jsx)(K.Slot,{scope:e.__scopeMenu,children:(0,t.jsx)(ey,{id:h.contentId,"aria-labelledby":h.triggerId,...o,ref:p,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{c.isUsingKeyboardRef.current&&d.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,l.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==h.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:(0,l.composeEventHandlers)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,l.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),i=G[c.dir].includes(e.key);t&&i&&(a.onOpenChange(!1),h.trigger?.focus(),e.preventDefault())})})})})})});function eq(e){return e?"open":"closed"}function eW(e){return"indeterminate"===e}function eG(e){return eW(e)?"indeterminate":e?"checked":"unchecked"}function e$(e){return t=>"mouse"===t.pointerType?e(t):void 0}eU.displayName=ez;var eK="DropdownMenu",[eX,eY]=(0,c.createContextScope)(eK,[Q]),eZ=Q(),[eQ,eJ]=eX(eK),e0=e=>{let{__scopeDropdownMenu:i,children:r,dir:s,open:o,defaultOpen:a,onOpenChange:l,modal:u=!0}=e,c=eZ(i),d=n.useRef(null),[p,m]=(0,h.useControllableState)({prop:o,defaultProp:a??!1,onChange:l,caller:eK});return(0,t.jsx)(eQ,{scope:i,triggerId:(0,y.useId)(),triggerRef:d,contentId:(0,y.useId)(),open:p,onOpenChange:m,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),modal:u,children:(0,t.jsx)(es,{...c,open:p,onOpenChange:m,dir:s,modal:u,children:r})})};e0.displayName=eK;var e1="DropdownMenuTrigger",e2=n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...s}=e,o=eJ(e1,n),a=eZ(n);return(0,t.jsx)(eo,{asChild:!0,...a,children:(0,t.jsx)(d.Primitive.button,{type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...s,ref:(0,u.composeRefs)(i,o.triggerRef),onPointerDown:(0,l.composeEventHandlers)(e.onPointerDown,e=>{!r&&0===e.button&&!1===e.ctrlKey&&(o.onOpenToggle(),o.open||e.preventDefault())}),onKeyDown:(0,l.composeEventHandlers)(e.onKeyDown,e=>
1{!r&&(["Enter"," "].includes(e.key)&&o.onOpenToggle(),"ArrowDown"===e.key&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});e2.displayName=e1;var e3=e=>{let{__scopeDropdownMenu:i,...n}=e,r=eZ(i);return(0,t.jsx)(ec,{...r,...n})};e3.displayName="DropdownMenuPortal";var e4="DropdownMenuContent",e5=n.forwardRef((e,i)=>{let{__scopeDropdownMenu:r,...s}=e,o=eJ(e4,r),a=eZ(r),u=n.useRef(!1);return(0,t.jsx)(em,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...s,ref:i,onCloseAutoFocus:(0,l.composeEventHandlers)(e.onCloseAutoFocus,e=>{u.current||o.triggerRef.current?.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,l.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,i=0===t.button&&!0===t.ctrlKey,n=2===t.button||i;(!o.modal||n)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});e5.displayName=e4,n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(ex,{...s,...r,ref:i})}).displayName="DropdownMenuGroup",n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(ew,{...s,...r,ref:i})}).displayName="DropdownMenuLabel";var e6=n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(eP,{...s,...r,ref:i})});e6.displayName="DropdownMenuItem",n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(eE,{...s,...r,ref:i})}).displayName="DropdownMenuCheckboxItem",n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(eA,{...s,...r,ref:i})}).displayName="DropdownMenuRadioGroup",n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(eR,{...s,...r,ref:i})}).displayName="DropdownMenuRadioItem",n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(eF,{...s,...r,ref:i})}).displayName="DropdownMenuItemIndicator";var e7=n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(eB,{...s,...r,ref:i})});function e8(e){let n,r,s=(0,i.c)(4);return s[0]!==e?({...n}=e,s[0]=e,s[1]=n):n=s[1],s[2]!==n?(r=(0,t.jsx)(e0,{"data-slot":"dropdown-menu",...n}),s[2]=n,s[3]=r):r=s[3],r}function e9(e){let n,r,s=(0,i.c)(4);return s[0]!==e?({...n}=e,s[0]=e,s[1]=n):n=s[1],s[2]!==n?(r=(0,t.jsx)(e2,{"data-slot":"dropdown-menu-trigger",...n}),s[2]=n,s[3]=r):r=s[3],r}function te(e){let n,r,o,a,l,u=(0,i.c)(10);u[0]!==e?({className:n,sideOffset:o,...r}=e,u[0]=e,u[1]=n,u[2]=r,u[3]=o):(n=u[1],r=u[2],o=u[3]);let c=void 0===o?4:o;return u[4]!==n?(a=(0,s.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 l z-50 max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto bg-white p-2 shadow-md",n),u[4]=n,u[5]=a):a=u[5],u[6]!==r||u[7]!==c||u[8]!==a?(l=(0,t.jsx)(e3,{children:(0,t.jsx)(e5,{"data-slot":"dropdown-menu-content",sideOffset:c,className:a,...r})}),u[6]=r,u[7]=c,u[8]=a,u[9]=l):l=u[9],l}function tt(e){let n,r,o,a,l,u,c,h,d=(0,i.c)(18);d[0]!==e?({className:n,inset:o,variant:l,depth:r,...a}=e,d[0]=e,d[1]=n,d[2]=r,d[3]=o,d[4]=a,d[5]=l):(n=d[1],r=d[2],o=d[3],a=d[4],l=d[5]);let p=void 0===l?"default":l;d[6]!==r||d[7]!==o?(u=()=>{if(void 0!==r)switch(r){case 0:return"pl-4";case 1:return"pl-8";case 2:return"pl-12";default:return"pl-16"}return o?"pl-8":""},d[6]=r,d[7]=o,d[8]=u):u=d[8];let m=u;return d[9]!==n||d[10]!==m?(c=(0,s.cn)("hover:bg-eco-gray-light data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 px-4 py-3 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",m(),n),d[9]=n,d[10]=m,d[11]=c):c=d[11],d[12]!==r||d[13]!==o||d[14]!==a||d[15]!==c||d[16]!==p?(h=(0,t.jsx)(e6,{"data-slot":"dropdown-menu-item","data-inset":o,"data-depth":r,"data-variant":p,className:c,...a}),d[12]=r,d[13]=o,d[14]=a,d[15]=c,d[16]=p,d[17]=h):h=d[17],h}function ti(e){let n,r,o,a,l=(0,i.c)(8);return l[0]!==e?({className:n,...r}=e,l[0]=e,l[1]=n,l[2]=r):(n=l[1],r=l[2]),l[3]!==n?(o=(0,s.cn)("bg-border -mx-1 my-1 h-px",n),l[3]=n,l[4]=o):o=l[4],l[5]!==r||l[6]!==o?(a=(0,t.jsx)(e7,{"data-slot":"dropdown-menu-separator",className:o,...r}),l[5]=r,l[6]=o,l[7]=a):a=l[7],a}function tn(e){let l,u,c,h,d,p,m,f,g,v,y,x=(0,i.c)(38),{triggerLabel:w,label:b,items:M,className:P,contentClassName:S,sideOffset:E,value:T,onChange:C,variant:k}=e,A=void 0===E?4:E,V=void 0===k?"primary":k,[R,D]=n.useState(!1);if(x[0]!==M||x[1]!==T){let e;x[3]!==T?(e=e=>e.label===T,x[3]=T,x[4]=e):e=x[4],l=M.find(e),x[0]=M,x[1]=T,x[2]=l}else l=x[2];let j=l;x[5]!==C?(u=e=>{C(e)},x[5]=C,x[6]=u):u=x[6];let L=u;x[7]!==V?(c=()=>{switch(V){case"primary":default:return"bg-eco-primary-orange text-white hover:bg-eco-primary-orange/90 border-0";case"secondary":return"bg-white text-gray-700 hover:bg-gray-50 border border-gray-300"}},x[7]=V,x[8]=c):c=x[8];let F=c;x[9]!==b?(h=b&&(0,t.jsx)(a.default,{children:b}),x[9]=b,x[10]=h):h=x[10];let B=`flex w-full items-center justify-between gap-2 text-sm sm:w-auto ${F()}`,_=(j||null)?.label||w;x[11]!==_?(d=(0,t.jsx)("span",{children:_}),x[11]=_,x[12]=d):d=x[12];let I=`size-4 shrink-0 transition-transform duration-200 ${R?"rotate-180":"rotate-0"}`;x[13]!==I?(p=(0,t.jsx)(r.ChevronDown,{className:I}),x[13]=I,x[14]=p):p=x[14],x[15]!==p||x[16]!==B||x[17]!==d?(m=(0,t.jsx)(e9,{asChild:!0,className:"w-full sm:w-auto",children:(0,t.jsxs)(o.default,{className:B,children:[d,p]})}),x[15]=p,x[16]=B,x[17]=d,x[18]=m):m=x[18];let O=`w-[calc(100vw-2rem)] sm:w-auto ${S||""}`;if(x[19]!==P||x[20]!==L||x[21]!==M||x[22]!==T){let e;x[24]!==P||x[25]!==L||x[26]!==T?(e=(e,i)=>"separator"===e.label?(0,t.jsx)(ti,{},`sep-${i}`):(0,t.jsxs)(tt,{onClick:()=>L(e),variant:e.variant,inset:e.inset,depth:e.depth,disabled:e.disabled,className:(0,s.cn)(e.bold&&"font-bold",e.label===T&&"bg-eco-gray-light",P),children:[e.icon&&(0,t.jsx)("span",{className:"mr-2",children:e.icon}),e.label]}
1,i),x[24]=P,x[25]=L,x[26]=T,x[27]=e):e=x[27],f=M.map(e),x[19]=P,x[20]=L,x[21]=M,x[22]=T,x[23]=f}else f=x[23];return x[28]!==A||x[29]!==O||x[30]!==f?(g=(0,t.jsx)(te,{className:O,sideOffset:A,children:f}),x[28]=A,x[29]=O,x[30]=f,x[31]=g):g=x[31],x[32]!==m||x[33]!==g?(v=(0,t.jsxs)(e8,{onOpenChange:D,children:[m,g]}),x[32]=m,x[33]=g,x[34]=v):v=x[34],x[35]!==v||x[36]!==h?(y=(0,t.jsxs)("div",{children:[h,v]}),x[35]=v,x[36]=h,x[37]=y):y=x[37],y}e7.displayName="DropdownMenuSeparator",n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(e_,{...s,...r,ref:i})}).displayName="DropdownMenuArrow",n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(eH,{...s,...r,ref:i})}).displayName="DropdownMenuSubTrigger",n.forwardRef((e,i)=>{let{__scopeDropdownMenu:n,...r}=e,s=eZ(n);return(0,t.jsx)(eU,{...s,...r,ref:i,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent",e.i(678745),e.i(233565),(0,e.i(475254).default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),e.s(["Dropdown",()=>tn],38966)},231178,e=>{"use strict";let t=(0,e.i(271645).createContext)({});e.s(["LayoutGroupContext",()=>t])},947414,e=>{"use strict";var t=e.i(271645);function i(e){let i=(0,t.useRef)(null);return null===i.current&&(i.current=e()),i.current}e.s(["useConstant",()=>i])},674008,e=>{"use strict";var t=e.i(271645);let i="u">typeof window?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",()=>i],674008)},821476,e=>{"use strict";let t=(0,e.i(271645).createContext)(null);e.s(["PresenceContext",()=>t])},642824,e=>{"use strict";function t(e){return"object"==typeof e&&null!==e}e.s(["isObject",()=>t])},772846,e=>{"use strict";var t=e.i(642824);function i(e){return(0,t.isObject)(e)&&"offsetHeight"in e}e.s(["isHTMLElement",()=>i])},737806,e=>{"use strict";let t=(0,e.i(271645).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",()=>t])},464978,e=>{"use strict";var t=e.i(271645),i=e.i(821476);function n(e=!0){let r=(0,t.useContext)(i.PresenceContext);if(null===r)return[!0,null];let{isPresent:s,onExitComplete:o,register:a}=r,l=(0,t.useId)();(0,t.useEffect)(()=>{if(e)return a(l)},[e]);let u=(0,t.useCallback)(()=>e&&o&&o(l),[l,o,e]);return!s&&o?[!1,u]:[!0]}e.s(["usePresence",()=>n])},88653,e=>{"use strict";e.i(247167);var t=e.i(843476),i=e.i(271645),n=e.i(231178),r=e.i(947414),s=e.i(674008),o=e.i(821476),a=e.i(772846),l=i,u=e.i(737806);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class h extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,i=(0,a.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,a.isHTMLElement)(e)&&e.offsetHeight||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=i-r.width-r.left,r.bottom=n-r.height-r.top}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:n,anchorX:r,anchorY:s,root:o,pop:a}){let d=(0,l.useId)(),p=(0,l.useRef)(null),m=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:f}=(0,l.useContext)(u.MotionConfigContext),g=function(...e){return i.useCallback(function(...e){return t=>{let i=!1,n=e.map(e=>{let n=c(e,t);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let t=0;t<n.length;t++){let i=n[t];"function"==typeof i?i():c(e[t],null)}}}}(...e),e)}(p,e.props?.ref??e?.ref);return(0,l.useInsertionEffect)(()=>{let{width:e,height:t,top:i,left:l,right:u,bottom:c}=m.current;if(n||!1===a||!p.current||!e||!t)return;let h="left"===r?`left: ${l}`:`right: ${u}`,g="bottom"===s?`bottom: ${c}`:`top: ${i}`;p.current.dataset.motionPopId=d;
1let v=document.createElement("style");f&&(v.nonce=f);let y=o??document.head;return y.appendChild(v),v.sheet&&v.sheet.insertRule(` 2 [data-motion-pop-id="${d}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${h}px !important; 7 ${g}px !important; 8 } 9 `),()=>{y.contains(v)&&y.removeChild(v)}},[n]),(0,t.jsx)(h,{isPresent:n,childRef:p,sizeRef:m,pop:a,children:!1===a?e:l.cloneElement(e,{ref:g})})}let p=({children:e,initial:n,isPresent:s,onExitComplete:a,custom:l,presenceAffectsLayout:u,mode:c,anchorX:h,anchorY:p,root:f})=>{let g=(0,r.useConstant)(m),v=(0,i.useId)(),y=!0,x=(0,i.useMemo)(()=>(y=!1,{id:v,initial:n,isPresent:s,custom:l,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;a&&a()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[s,g,a]);return u&&y&&(x={...x}),(0,i.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[s]),i.useEffect(()=>{s||g.size||!a||a()},[s]),e=(0,t.jsx)(d,{pop:"popLayout"===c,isPresent:s,anchorX:h,anchorY:p,root:f,children:e}),(0,t.jsx)(o.PresenceContext.Provider,{value:x,children:e})};function m(){return new Map}var f=e.i(464978);let g=e=>e.key||"";function v(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let y=({children:e,custom:o,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:h=!1,anchorX:d="left",anchorY:m="top",root:y})=>{let[x,w]=(0,f.usePresence)(h),b=(0,i.useMemo)(()=>v(e),[e]),M=h&&!x?[]:b.map(g),P=(0,i.useRef)(!0),S=(0,i.useRef)(b),E=(0,r.useConstant)(()=>new Map),T=(0,i.useRef)(new Set),[C,k]=(0,i.useState)(b),[A,V]=(0,i.useState)(b);(0,s.useIsomorphicLayoutEffect)(()=>{P.current=!1,S.current=b;for(let e=0;e<A.length;e++){let t=g(A[e]);M.includes(t)?(E.delete(t),T.current.delete(t)):!0!==E.get(t)&&E.set(t,!1)}},[A,M.length,M.join("-")]);let R=[];if(b!==C){let e=[...b];for(let t=0;t<A.length;t++){let i=A[t],n=g(i);M.includes(n)||(e.splice(t,0,i),R.push(i))}return"wait"===c&&R.length&&(e=R),V(v(e)),k(b),null}let{forceRender:D}=(0,i.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:A.map(e=>{let i=g(e),n=(!h||!!x)&&(b===A||M.includes(i));return(0,t.jsx)(p,{isPresent:n,initial:(!P.current||!!a)&&void 0,custom:o,presenceAffectsLayout:u,mode:c,root:y,onExitComplete:n?void 0:()=>{if(T.current.has(i)||(T.current.add(i),!E.has(i)))return;E.set(i,!0);let e=!0;E.forEach(t=>{t||(e=!1)}),e&&(D?.(),V(S.current),h&&w?.(),l&&l())},anchorX:d,anchorY:m,children:e},i)})})};e.s(["AnimatePresence",()=>y],88653)},154505,157788,476959,766820,463011,265091,22660,279444,569577,130162,83411,864440,965566,19928,260830,846791,880248,287022,921012,763074,133887,570596,260900,930551,414229,779294,504169,960855,756512,997307,368e3,560140,496173,325791,486427,472094,885983,732525,706840,587576,571164,138544,386579,617218,793787,544947,181261,399951,100706,924463,130789,984049,767926,275737,27677,177777,135636,153689,386783,944966,e=>{"use strict";let t,i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(i);e.s(["transformPropOrder",()=>i,"transformProps",()=>n],157788);let r=(e,t,i)=>i>t?t:i<e?e:i;e.s(["clamp",()=>r],476959);let s={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...s,transform:e=>r(0,1,e)},a={...s,default:1},l=e=>Math.round(1e5*e)/1e5,u=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,c=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,h=(e,t)=>i=>!!("string"==typeof i&&c.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),d=(e,t,i)=>n=>{if("string"!=typeof n)return n;let[r,s,o,a]=n.match(u);return{[e]:parseFloat(r),[t]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},p={...s,transform:e=>Math.round(r(0,255,e))},m={test:h("rgb","red"),parse:d("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+p.transform(e)+", "+p.transform(t)+", "+p.transform(i)+", "+l(o.transform(n))+")"};e.s(["rgba",()=>m],766820);let f={test:h("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alph
9a:r?parseInt(r,16)/255:1}},transform:m.transform};e.s(["hex",()=>f],463011);let g=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),v=g("deg"),y=g("%"),x=g("px"),w=g("vh"),b=g("vw"),M={...y,parse:e=>y.parse(e)/100,transform:e=>y.transform(100*e)};e.s(["degrees",()=>v,"percent",()=>y,"progressPercentage",()=>M,"px",()=>x,"vh",()=>w,"vw",()=>b],265091);let P={test:h("hsl","hue"),parse:d("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+y.transform(l(t))+", "+y.transform(l(i))+", "+l(o.transform(n))+")"};e.s(["hsla",()=>P],22660);let S={test:e=>m.test(e)||f.test(e)||P.test(e),parse:e=>m.test(e)?m.parse(e):P.test(e)?P.parse(e):f.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?m.transform(e):P.transform(e),getAnimatableNone:e=>{let t=S.parse(e);return t.alpha=0,S.transform(t)}};e.s(["color",()=>S],279444);let E=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,T="number",C="color",k=/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 A(e){let t=e.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,o=t.replace(k,e=>(S.test(e)?(n.color.push(s),r.push(C),i.push(S.parse(e))):e.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(e)):(n.number.push(s),r.push(T),i.push(parseFloat(e))),++s,"${}")).split("${}");return{values:i,split:o,indexes:n,types:r}}function V(e){return A(e).values}function R(e){let{split:t,types:i}=A(e),n=t.length;return e=>{let r="";for(let s=0;s<n;s++)if(r+=t[s],void 0!==e[s]){let t=i[s];t===T?r+=l(e[s]):t===C?r+=S.transform(e[s]):r+=e[s]}return r}}let D=e=>"number"==typeof e?0:S.test(e)?S.getAnimatableNone(e):e,j={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(u)?.length||0)+(e.match(E)?.length||0)>0},parse:V,createTransformer:R,getAnimatableNone:function(e){let t=V(e);return R(e)(t.map(D))}};e.s(["analyseComplexValue",()=>A,"complex",()=>j],569577);let L=new Set(["brightness","contrast","saturate","opacity"]);function F(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(u)||[];if(!n)return e;let r=i.replace(n,""),s=+!!L.has(t);return n!==i&&(s*=100),t+"("+s+r+")"}let B=/\b([a-z-]*)\(.*?\)/gu,_={...j,getAnimatableNone:e=>{let t=e.match(B);return t?t.map(F).join(" "):e}},I={...j,getAnimatableNone:e=>{let t=j.parse(e);return j.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},O={...s,transform:Math.round},N={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,inset:x,insetBlock:x,insetBlockStart:x,insetBlockEnd:x,insetInline:x,insetInlineStart:x,insetInlineEnd:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,paddingBlock:x,paddingBlockStart:x,paddingBlockEnd:x,paddingInline:x,paddingInlineStart:x,paddingInlineEnd:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,marginBlock:x,marginBlockStart:x,marginBlockEnd:x,marginInline:x,marginInlineStart:x,marginInlineEnd:x,fontSize:x,backgroundPositionX:x,backgroundPositionY:x,rotate:v,rotateX:v,rotateY:v,rotateZ:v,scale:a,scaleX:a,scaleY:a,scaleZ:a,skew:v,skewX:v,skewY:v,distance:x,translateX:x,translateY:x,translateZ:x,x:x,y:x,z:x,perspective:x,transformPerspective:x,opacity:o,originX:M,originY:M,originZ:x,zIndex:O,fillOpacity:o,strokeOpacity:o,numOctaves:O},H={...N,color:S,backgroundColor:S,outlineColor:S,fill:S,stroke:S,borderColor:S,borderTopColor:S,borderRightColor:S,borderBottomColor:S,borderLeftColor:S,filter:_,WebkitFilter:_,mask:I,WebkitMask:I},z=e=>H[e],U=()=>({translate:0,scale:1,origin:0,originPoint:0}),q=()=>({x:U(),y:U()}),W=()=>({min:0,max:0}),G=()=>({x:W(),y:W()});e.s(["createBox",()=>G,"createDelta",()=>q],130162);let $=e=>!!(e&&e.getVelocity);e.s(["isMotionValue",()=>$],83411);let K=new Set(["width","height","top","left","right","bottom",...i]);e.s(["positionalKeys",()=>K],864440);let X=e=>t=>t.test(e),Y=[s,x,y,v,b,w,{test:e=>"auto"===e,parse:e=>e}],Z=e=>Y.find(X(e));var Q=e.i(247167);let J=()=>{},ee=()=>{};Q.default,e.s(["invariant",()=>ee,"warning",()=>J],965566);let et=e=>t=>"string"==typeof t&&t.startsWith(e),ei=et("--"),en=et("var(--"),er=e=>!!en(e)&&es.test(e.split("/*")[0].trim()),es=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function eo(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}e.s(["containsCSSVariable",()=>eo,"isCSSVariableName",()=>ei,"isCSSVariableToken",()=>er],19928);let ea=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,el=e=>180*e/Math.PI,eu=e=>
9eh(el(Math.atan2(e[1],e[0]))),ec={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:eu,rotateZ:eu,skewX:e=>el(Math.atan(e[1])),skewY:e=>el(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eh=e=>((e%=360)<0&&(e+=360),e),ed=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ep=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),em={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ed,scaleY:ep,scale:e=>(ed(e)+ep(e))/2,rotateX:e=>eh(el(Math.atan2(e[6],e[5]))),rotateY:e=>eh(el(Math.atan2(-e[2],e[0]))),rotateZ:eu,rotate:eu,skewX:e=>el(Math.atan(e[4])),skewY:e=>el(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ef(e){return+!!e.includes("scale")}function eg(e,t){let i,n;if(!e||"none"===e)return ef(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=em,n=r;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=ec,n=t}if(!n)return ef(t);let s=i[t],o=n[1].split(",").map(ev);return"function"==typeof s?s(o):o[s]}function ev(e){return parseFloat(e.trim())}let ey=e=>e===s||e===x,ex=new Set(["x","y","z"]),ew=i.filter(e=>!ex.has(e)),eb={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),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})=>eg(t,"x"),y:(e,{transform:t})=>eg(t,"y")};eb.translateX=eb.x,eb.translateY=eb.y;let eM=e=>e;e.s(["noop",()=>eM],260830);let eP={};
9e.s(["MotionGlobalConfig",()=>eP],846791);let eS=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],eE={value:null,addProjectionMetrics:null};function eT(e,t){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=eS.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,n=new Set,r=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){o.has(t)&&(c.schedule(t),e()),l++,t(a)}let c={schedule:(e,t=!1,s=!1)=>{let a=s&&r?i:n;return t&&o.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(a=e,r){s=!0;return}r=!0,[i,n]=[n,i],i.forEach(u),t&&eE.value&&eE.value.frameloop[t].push(l),l=0,i.clear(),r=!1,s&&(s=!1,c.process(e))}};return c}(s,t?i:void 0),e),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:d,render:p,postRender:m}=o,f=()=>{let s=eP.useManualTiming?r.timestamp:performance.now();i=!1,eP.useManualTiming||(r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1)),r.timestamp=s,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),c.process(r),h.process(r),d.process(r),p.process(r),m.process(r),r.isProcessing=!1,i&&t&&(n=!1,e(f))};return{schedule:eS.reduce((t,s)=>{let a=o[s];return t[s]=(t,s=!1,o=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||e(f)),a.schedule(t,s,o)),t},{}),cancel:e=>{for(let t=0;t<eS.length;t++)o[eS[t]].cancel(e)},state:r,steps:o}}e.s(["statsBuffer",()=>eE],880248);let{schedule:eC,cancel:ek,state:eA,steps:eV}=eT("u">typeof requestAnimationFrame?requestAnimationFrame:eM,!0);e.s(["cancelFrame",()=>ek,"frame",()=>eC,"frameData",()=>eA,"frameSteps",()=>eV],287022);let eR=new Set,eD=!1,ej=!1,eL=!1;function eF(){if(ej){let e=Array.from(eR).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>
9{let t,n=(t=[],ew.forEach(i=>{let n=e.getValue(i);void 0!==n&&(t.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),t);n.length&&(i.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}ej=!1,eD=!1,eR.forEach(e=>e.complete(eL)),eR.clear()}function eB(){eR.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ej=!0)})}function e_(){eL=!0,eB(),eF(),eL=!1}class eI{constructor(e,t,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(eR.add(this),eD||(eD=!0,eC.read(eB),eC.resolveKeyframes(eF))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:n}=this;if(null===e[0]){let r=n?.get(),s=e[e.length-1];if(void 0!==r)e[0]=r;else if(i&&t){let n=i.readValue(t,s);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=s),n&&void 0===r&&n.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),eR.delete(this)}cancel(){"scheduled"===this.state&&(eR.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}e.s(["KeyframeResolver",()=>eI,"flushKeyframeResolvers",()=>e_],921012);let eO=new Set([_,I]);function eN(e,t){let i=z(e);return eO.has(i)||(i=j),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let eH=new Set(["auto","none","0"]);class ez extends eI{constructor(e,t,i,n,r){super(e,t,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let n=e[i];if("string"==typeof n&&er(n=n.trim())){let r=function e(t,i,n=1){ee(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(e){let t=ea.exec(e);if(!t)return[,];let[,i,n,r]=t;return[`--${i??n}`,r]}(t);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let e=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return er(s)?e(s,i,n+1):s}(n,t.current);void 0!==r&&(e[i]=r),i===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!K.has(i)||2!==e.length)return;let[n,r]=e,s=Z(n),o=Z(r);if(eo(n)!==eo(r)&&eb[i]){this.needsMeasurement=!0;return}if(s!==o)if(ey(s)&&ey(o))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else eb[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&i.push(t);i.length&&function(e,t,i){let n,r=0;for(;r<e.length&&!n;){let t=e[r];"string"==typeof t&&!eH.has(t)&&A(t).values.length&&(n=e[r]),r++}if(n&&i)for(let r of t)e[r]=eN(i,n)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eb[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(i,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=eb[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
9h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let eU=e=>1e3*e,eq=e=>e/1e3;function eW(e,t){-1===e.indexOf(t)&&e.push(t)}function eG(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}e.s(["millisecondsToSeconds",()=>eq,"secondsToMilliseconds",()=>eU],763074),e.s(["addUniqueItem",()=>eW,"removeItem",()=>eG],133887);class e${constructor(){this.subscriptions=[]}add(e){return eW(this.subscriptions,e),()=>eG(this.subscriptions,e)}notify(e,t,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eK(e){let t;return()=>(void 0===t&&(t=e()),t)}e.s(["SubscriptionManager",()=>e$],570596),e.s(["memo",()=>eK],260900);let eX={};function eY(e,t){let i=eK(e);return()=>eX[t]??i()}let eZ=eY(()=>void 0!==window.ScrollTimeline,"scrollTimeline");e.s(["supportsScrollTimeline",()=>eZ],930551);let eQ=e=>null!==e;function eJ(e,{repeat:t,repeatType:i="loop"},n,r=1){let s=e.filter(eQ),o=r<0||t&&"loop"!==i&&t%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}e.s(["getFinalKeyframe",()=>eJ],414229);class e0{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)}}e.s(["WithPromise",()=>e0],779294);let e1={layout:0,mainThread:0,waapi:0};e.s(["activeAnimations",()=>e1],504169);let e2=e=>Array.isArray(e)&&"number"==typeof e[0];e.s(["isBezierDefinition",()=>e2],960855);let e3=eY(()=>{try{document.createElement("div").animate({opacity:0}
9,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e4=(e,t,i=10)=>{let n="",r=Math.max(Math.round(t/i),2);for(let t=0;t<r;t++)n+=Math.round(1e4*e(t/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};e.s(["generateLinearEasing",()=>e4],756512);let e5=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,e6={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e5([0,.65,.55,1]),circOut:e5([.55,0,1,.45]),backIn:e5([.31,.01,.66,-.59]),backOut:e5([.33,1.53,.69,.99])};function e7(e){return"function"==typeof e&&"applyToOptions"in e}e.s(["isGenerator",()=>e7],997307);class e8 extends e0{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=e;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=e,ee("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return e7(e)&&e3()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let c={[t]:i};l&&(c.offset=l);let h=function e(t,i){if(t)return"function"==typeof t?e3()?e4(t,i):"ease-out":e2(t)?e5(t):Array.isArray(t)?t.map(t=>e(t,i)||e6.easeOut):e6[t]}(a,r);Array.isArray(h)&&(c.easing=h),eE.value&&e1.waapi++;let d={delay:n,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let p=e.animate(c,d);return eE.value&&p.finished.finally(()=>{e1.waapi--}),p}(t,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let e=eJ(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e);i.startsWith("--")?t.style.setProperty(i,e):t.style[i]=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(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return eq(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+eq(e)}get time(){return eq(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=eU(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&&eZ())?(this.animation.timeline=e,eM):t(this)}}e.s(["NativeAnimation",()=>e8],368e3);
9let e9=new Set(["opacity","clipPath","filter","transform"]),{schedule:te}=eT(queueMicrotask,!1);function tt(){t=void 0}e.s(["microtask",()=>te],560140);let ti={now:()=>(void 0===t&&ti.set(eA.isProcessing||eP.useManualTiming?eA.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(tt)}};function tn(e,t){return t?1e3/t*e:0}e.s(["time",()=>ti],496173),e.s(["velocityPerSecond",()=>tn],325791);let tr={current:void 0};class ts{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=ti.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=ti.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(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 e$);let i=this.events[e].add(t);return"change"===e?()=>{i(),eC.read(()=>{this.events.change.getSize()||this.stop()})}:i}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,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}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 tr.current&&tr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=ti.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return tn(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 to(e,t){return new ts(e,t)}e.s(["collectMotionValues",()=>tr,"motionValue",()=>to],486427);let ta=[...Y,S,j],tl=new WeakMap;function tu(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tc(e){return"string"==typeof e||Array.isArray(e)}e.s(["visualElementStore",()=>tl],472094),e.s(["isAnimationControls",()=>tu],885983),e.s(["isVariantLabel",()=>tc],732525);let th=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],td=["initial",...th];function tp(e){return tu(e.animate)||td.some(t=>tc(e[t]))}function tm(e){return!!(tp(e)||e.variants)}e.s(["variantPriorityOrder",()=>th,"variantProps",()=>td],706840),e.s(["isControllingVariants",()=>tp,"isVariantNode",()=>tm],587576);let tf={current:null},tg={current:!1};e.s(["hasReducedMotionListener",()=>tg,"prefersReducedMotion",()=>tf],571164);let tv="u">typeof window;function ty(){if(tg.current=!0,tv)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tf.current=e.matches;e.addEventListener("change",t),t()}else tf.current=!1}function tx(e){let t=[{},{}];return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function tw(e,t,i,n){if("function"==typeof t){let[r,s]=tx(n);t=t(void 0!==i?i:e.custom,r,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[r,s]=tx(n);t=t(void 0!==i?i:e.custom,r,s)}return t}e.s(["initPrefersReducedMotion",()=>ty],138544),e.s(["resolveVariantFromProps",()=>tw],386579);let tb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tM={};function tP(e){tM=e}function tS(){return tM}class tE{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=eI,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=ti.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eC.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=tp(t),this.isVariantNode=tm(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...h}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in h){const t=h[e];void 0!==l[e]&&$(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,tl.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.forEac
9h((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tg.current||ty(),this.shouldReduceMotion=tf.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),ek(this.notifyUpdate),ek(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 i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&e9.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:s,duration:o}=t.accelerate,a=new e8({element:this.current,name:e,keyframes:n,times:r,ease:s,duration:eU(o)}),l=i(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let r=n.has(e);r&&this.onBindTransform&&this.onBindTransform();let s=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eC.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{s(),i&&i(),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 tM){let t=tM[e];if(!t)continue;let{isEnabled:i,Feature:n}=t;if(!this.features[e]&&n&&i(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];t.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):G()}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<tb.length;t++){let i=tb[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=e["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(e,t,i){for(let n in t){let r=t[n],s=i[n];if($(r))e.addValue(n,r);else if($(s))e.addValue(n,to(r,{owner:e}));else if(s!==r)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{let t=e.getStaticValue(n);e.addValue(n,to(void 0!==t?t:r,{owner:e}))}}for(let n in i)void 0===t[n]&&e.removeValue(n);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 i=this.values.get(e);t!==i&&(i&&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 i=this.values.get(e);return void 0===i&&void 0!==t&&(i=to(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){let n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!ta.find(X(n))&&j.test(t)&&(i=eN(e,t))}this.setBaseTarget(e,$(i)?i.get():i)}return $(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=tw(this.props,i,this.presenceContext?.custom);n&&(t=n[e])}if(i&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||$(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new e$),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){te.render(this.render)}}e.s(["VisualElement",()=>tE,"getFeatureDefinitions",()=>tS,"setFeatureDefinitions",()=>tP],617218);class tT extends tE{constructor(){super(...arguments),this.KeyframeResolver=ez}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;$(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tC(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}e.s(["camelToDash",()=>tC],793787);let tk=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tV=i.length;function tR(e,t,r){let{style:s,vars:o,transformOrigin:a}=e,l=!1,u=!1;for(let e in t){let i=t[e];if(n.has(e)){l=!0;continue}if(ei(e)){o[e]=i;continue}{let t=tk(i,N[e]);e.startsWith("origin")?(u=!0,a[e]=t):s[e]=t}}if(!t.transform&&(l||r?s.transform=function(e,t,n){let r="",s=!0;for(let o=0;o<tV;o++){let a=i[o],l=e[a];if(void 0===l)continue;let u=!0;
9if("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=tk(l,N[a]);if(!u){s=!1;let t=tA[a]||a;r+=`${t}(${e}) `}n&&(t[a]=e)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}(t,e.transform,r):s.transform&&(s.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:i=0}=a;s.transformOrigin=`${e} ${t} ${i}`}}e.s(["buildHTMLStyles",()=>tR],544947);let tD={offset:"stroke-dashoffset",array:"stroke-dasharray"},tj={offset:"strokeDashoffset",array:"strokeDasharray"},tL=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tF(e,{attrX:t,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(tR(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:d}=e;for(let e of(h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete h.transformBox),tL))void 0!==h[e]&&(d[e]=h[e],delete h[e]);void 0!==t&&(h.x=t),void 0!==i&&(h.y=i),void 0!==n&&(h.scale=n),void 0!==r&&function(e,t,i=1,n=0,r=!0){e.pathLength=1;let s=r?tD:tj;e[s.offset]=`${-n}`,e[s.array]=`${t} ${i}`}(h,r,s,o,!1)}e.s(["buildSVGAttrs",()=>tF],181261);let tB=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"]),t_=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tI(e,{style:t,vars:i},n,r){let s,o=e.style;for(s in t)o[s]=t[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}function tO(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}e.s(["isSVGTag",()=>t_],399951);let tN={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!x.test(e))return e;else e=parseFloat(e);let i=tO(e,t.target.x),n=tO(e,t.target.y);return`${i}% ${n}%`}},tH=(e,t,i)=>e+(t-e)*i;e.s(["mixNumber",()=>tH],100706);let tz={borderRadius:{...tN,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tN,borderTopRightRadius:tN,borderBottomLeftRadius:tN,borderBottomRightRadius:tN,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=j.parse(e);if(n.length>5)return e;let r=j.createTransformer(e),s=+("number"!=typeof n[0]),o=i.x.scale*t.x,a=i.y.scale*t.y;n[0+s]/=o,n[1+s]/=a;let l=tH(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function tU(e,{layout:t,layoutId:i}){return n.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!tz[e]||"opacity"===e)}function tq(e,t,i){let n=e.style,r=t?.style,s={};if(!n)return s;for(let t in n)($(n[t])||r&&$(r[t])||tU(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(s[t]=n[t]);return s}function tW(e,t,n){let r=tq(e,t,n);for(let n in e)($(e[n])||$(t[n]))&&(r[-1!==i.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}e.s(["scaleCorrectors",()=>tz],924463),e.s(["isForcedMotionValue",()=>tU],130789),e.s(["scrapeMotionValuesFromProps",()=>tq],984049),e.s(["scrapeMotionValuesFromProps",()=>tW],767926);class tG extends tT{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=G}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(n.has(t)){let e=z(t);return e&&e.default||0}return t=tB.has(t)?t:tC(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return tW(e,t,i)}build(e,t,i){tF(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,n){for(let i in tI(e,t,void 0,n),t.attrs)e.setAttribute(tB.has(i)?i:tC(i),t.attrs[i])}mount(e){this.isSVGTag=t_(e.tagName),super.mount(e)}}function t$({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function tK({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function tX(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}function tY(e){return void 0===e||1===e}function tZ({scale:e,scaleX:t,scaleY:i}){return!tY(e)||!tY(t)||!tY(i)}function tQ(e){return tZ(e)||tJ(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tJ(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function t0(e,t,i){return i+t*(e-i)}function t1(e,t,i,n,r){return void 0!==r&&(e=n+r*(e-n)),n+i*(e-n)+t}function t2(e,t=0,i=1,n,r){e.min=t1(e.min,t,i,n,r),e.max=t1(e.max,t,i,n,r)}function t3(e,{x:t,y:i}){t2(e.x,t.translate,t.scale,t.originPoint),t2(e.y,i.translate,i.scale,i.originPoint)}function t4(e,t,i,n=!1){let r,s,o=i.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&t7(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,t3(e,s)),n&&tQ(r.latestValues)&&t7(e,r.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}function t5(e,t){e.min=e.min+t,e.max=e.max+t}function t6(e,t,i,n,r=.5){let s=tH(e.min,e.max,r);t2(e,t,i,s,n)}function t7(e,t){t6(e.x,t.x,t.scaleX,t.scale,t.originX),t6(e.y,t.y,t.scaleY,t.scale,t.originY)}function t8(e,t){return t$(tX(e.getBoundingClientRect(),t))}function t9(e,t,i){let n=t8(e,i),{scroll:r}=t;return r&&(t5(n.x,r.offset.x),t5(n.y,r.offset.y)),n}e.s(["SVGVisualElement",()=>tG],275737),e.s(["convertBoundingBoxToBox",()=>t$,"convertBoxToBoundingBox",()=>tK,"transformBoxPoints",()=>tX],27677),e.s(["has2DTranslate",()=>tJ,"hasScale",()=>tZ,"hasTransform",()=>tQ],177777),e.s(["applyBoxDelta",()=>t3,"applyTreeDeltas",()=>t4,"scalePoint",()=>t0,"transformBox",()=>t7,"translateAxis",()=>t5],135636),e.s(["measurePageBox",()=>t9,"measureViewportBox",()=>t8],153689);class ie extends tT{constructor(){super(...arguments),this.type="html",this.renderInstance=tI}readValueFromInstance(e,t){if(n.has(t))return this.projection?.isProjecting?ef(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return eg(i,t)})(e,t);{let i=window.getComputedStyle(e),n=(ei(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t8(e,t)}build(e,t,i){tR(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return tq(e,t,i)}}e.s(["HTMLVisualElement",()=>ie],386783);var it=e.i(271645);let ii=["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 ir(e){if("string"!=typeof e||e.includes("-"));else if(ii.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}e.s(["isSVGComponent",()=>ir],944966);let is=(e,t)=>t.isSVG??ir(e)?new tG(t):new ie(t,{allowProjection:e!==it.Fragment});e.s(["createDomVisualElement",()=>is],154505)},648070,e=>{"use strict";let t=(0,e.i(271645).createContext)({strict:!1});e.s(["LazyContext",()=>t])},934537,e=>{"use strict";var t,i,n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
9ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,r=(t=function(e){return n.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=t(e)),i[e]});e.s(["default",()=>r],934537)},688291,582474,886549,911587,308576,830665,733871,e=>{"use strict";var t,i=e.i(271645);let n=(0,i.createContext)({});e.s(["MotionContext",()=>n],688291);var r=e.i(587576),s=e.i(732525);function o(e){let{initial:t,animate:o}=function(e,t){if((0,r.isControllingVariants)(e)){let{initial:t,animate:i}=e;return{initial:!1===t||(0,s.isVariantLabel)(t)?t:void 0,animate:(0,s.isVariantLabel)(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(n));return(0,i.useMemo)(()=>({initial:t,animate:o}),[a(t),a(o)])}function a(e){return Array.isArray(e)?e.join(" "):e}e.s(["useCreateMotionContext",()=>o],582474);var l=e.i(83411),u=e.i(130789),c=e.i(544947);let h=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function d(e,t,i){for(let n in t)(0,l.isMotionValue)(t[n])||(0,u.isForcedMotionValue)(n,i)||(e[n]=t[n])}e.s(["createHtmlRenderState",()=>h],886549);var p=e.i(181261),m=e.i(399951);let f=()=>({...h(),attrs:{}});e.s(["createSvgRenderState",()=>f],911587);let g=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function v(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||g.has(e)}let y=e=>!v(e);try{t=e.r(934537).default,"function"==typeof t&&(y=e=>e.startsWith("on")?!v(e):t(e))}catch{}var x=e.i(944966);function w(e,t,n,{latestValues:r},s,o=!1,a){let u=(a??(0,x.isSVGComponent)(e)?function(e,t,n,r){let s=(0,i.useMemo)(()=>{let i=f();return(0,p.buildSVGAttrs)(i,t,(0,m.isSVGTag)(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};d(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,t){let n,r,s={},o=(n=e.style||{},d(r={},n,e),Object.assign(r,function({transformTemplate:e},t){return(0,i.useMemo)(()=>{let i=h();return(0,c.buildHTMLStyles)(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}
9`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=o,s})(t,r,s,e),g=function(e,t,i){let n={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&(y(r)||!0===i&&v(r)||!t&&!v(r)||e.draggable&&r.startsWith("onDrag"))&&(n[r]=e[r]);return n}(t,"string"==typeof e,o),b=e!==i.Fragment?{...g,...u,ref:n}:{},{children:M}=t,P=(0,i.useMemo)(()=>(0,l.isMotionValue)(M)?M.get():M,[M]);return(0,i.createElement)(e,{...b,children:P})}e.s(["useRender",()=>w],308576);var b=e.i(984049);function M(e){return(0,l.isMotionValue)(e)?e.get():e}e.s(["scrapeHTMLMotionValuesFromProps",()=>b.scrapeMotionValuesFromProps],830665),e.s(["resolveMotionValue",()=>M],733871)},711805,501664,476948,513565,321967,683640,535043,104035,325522,e=>{"use strict";var t=e.i(830665),i=e.i(733871),n=e.i(587576),r=e.i(885983),s=e.i(386579),o=e.i(271645),a=e.i(688291),l=e.i(821476),u=e.i(947414);let c=e=>(t,c)=>{let h=(0,o.useContext)(a.MotionContext),d=(0,o.useContext)(l.PresenceContext),p=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},o,a,l){return{latestValues:function(e,t,o,a){let l={},u=a(e,{});for(let e in u)l[e]=(0,i.resolveMotionValue)(u[e]);let{initial:c,animate:h}=e,d=(0,n.isControllingVariants)(e),p=(0,n.isVariantNode)(e);t&&p&&!d&&!1!==e.inherit&&(void 0===c&&(c=t.initial),void 0===h&&(h=t.animate));let m=!!o&&!1===o.initial,f=(m=m||!1===c)?h:c;if(f&&"boolean"!=typeof f&&!(0,r.isAnimationControls)(f)){let t=Array.isArray(f)?f:[f];for(let i=0;i<t.length;i++){let n=(0,s.resolveVariantFromProps)(e,t[i]);if(n){let{transitionEnd:e,transition:t,...i}=n;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=m?t.length-1:0;t=t[e]}null!==t&&(l[e]=t)}for(let t in e)l[t]=e[t]}}}return l}(o,a,l,e),renderState:t()}})(e,t,h,d);return c?p():(0,u.useConstant)(p)};var h=e.i(886549);let d=c({scrapeMotionValuesFromProps:t.scrapeHTMLMotionValuesFromProps,createRenderState:h.createHtmlRenderState});e.s(["useHTMLVisualState",()=>d],711805);var p=e.i(767926),p=p,m=e.i(911587);let f=c({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});e.s(["useSVGVisualState",()=>f],501664);var g=e.i(617218);let v={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"]},y=!1;function x(){return!function(){if(y)return;let e={};for(let t in v)e[t]={isEnabled:e=>v[t].some(t=>!!e[t])};(0,g.setFeatureDefinitions)(e),y=!0}(),(0,g.getFeatureDefinitions)()}function w(e){let t=x();for(let i in e)t[i]={...t[i],...e[i]};(0,g.setFeatureDefinitions)(t)}e.s(["getInitializedFeatureDefinitions",()=>x],476948),e.s(["loadFeatures",()=>w],513565);let b=Symbol.for("motionComponentSymbol");function M(e,t,i){let n=(0,o.useRef)(i);(0,o.useInsertionEffect)(()=>{n.current=i});let r=(0,o.useRef)(null);return(0,o.useCallback)(i=>{i&&e.onMount?.(i),t&&(i?t.mount(i):t.unmount());let s=n.current;if("function"==typeof s)if(i){let e=s(i);"function"==typeof e&&(r.current=e)}else r.current?(r.current(),r.current=null):s(i);else s&&(s.current=i)},[t])}e.s(["motionComponentSymbol",()=>b],321967),e.s(["useMotionRef",()=>M],683640);let P="data-"+(0,e.i(793787).camelToDash)("framerAppearId");e.s(["optimizedAppearDataAttribute",()=>P],535043);let S=(0,o.createContext)({});function E(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}e.s(["SwitchLayoutGroupContext",()=>S],104035),e.s(["isRefObject",()=>E],325522)},907051,142098,987333,980538,716896,738638,721748,373431,893544,791559,783920,344230,215932,515923,83352,939011,372323,223070,655559,282774,439676,137541,652101,e=>{"use strict";e.i(247167);var t=e.i(843476),i=e.i(271645),n=e.i(231178),r=e.i(648070),s=e.i(737806),o=e.i(688291),a=e.i(582474),l=e.i(308576),u=e.i(944966),c=e.i(711805),h=e.i(501664),d=e.i(476948),p=e.i(513565),m=e.i(321967),f=e.i(683640),g=e.i(535043),v=e.i(821476),y=e.i(104035),x=e.i(325522),w=e.i(674008);function b(e,{forwardMotionProps:M=!1,type:P}={},S,E){S&&(0,p.loadFeatures)(S);let T=P?"svg"===P:(0,u.isSVGComponent)(e),C=T?h.useSVGVisualState:c.useHTMLVisualState;function k(u,c){let h,p={...(0,i.useContext)(s.MotionConfigContext),...u,layoutId:function({layoutId:e}){let t=(0,i.useContext)(n.LayoutGroupContext).id;return t&&void 0!==e?t+"-"+e:e}(u)},{isStatic:m}=p,b=(0,a.useCreateMotionContext)(u),P=C(u,m);if(!m&&"u">typeof window){(0,i.useContext)(r.LazyContext).strict;let t=function(e){let{drag:t,layout:i}=(0,d.getInitializedFeatureDefinitions)();if(!t&&!i)return{};let n={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
9(p);h=t.MeasureLayout,b.visualElement=function(e,t,n,a,l,u){let{visualElement:c}=(0,i.useContext)(o.MotionContext),h=(0,i.useContext)(r.LazyContext),d=(0,i.useContext)(v.PresenceContext),p=(0,i.useContext)(s.MotionConfigContext),m=p.reducedMotion,f=p.skipAnimations,b=(0,i.useRef)(null),M=(0,i.useRef)(!1);a=a||h.renderer,!b.current&&a&&(b.current=a(e,{visualState:t,parent:c,props:n,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:m,skipAnimations:f,isSVG:u}),M.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));let P=b.current,S=(0,i.useContext)(y.SwitchLayoutGroupContext);P&&!P.projection&&l&&("html"===P.type||"svg"===P.type)&&function(e,t,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new i(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:r,layout:s,alwaysMeasureLayout:!!o||a&&(0,x.isRefObject)(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u})}(b.current,n,l,S);let E=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{P&&E.current&&P.update(n,d)});let T=n[g.optimizedAppearDataAttribute],C=(0,i.useRef)(!!T&&"u">typeof window&&!window.MotionHandoffIsComplete?.(T)&&window.MotionHasOptimisedAnimation?.(T));return(0,w.useIsomorphicLayoutEffect)(()=>{M.current=!0,P&&(E.current=!0,window.MotionIsMounted=!0,P.updateFeatures(),P.scheduleRenderMicrotask(),C.current&&P.animationState&&P.animationState.animateChanges())}),(0,i.useEffect)(()=>{P&&(!C.current&&P.animationState&&P.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(T)}),C.current=!1),P.enteringChildren=void 0)}),P}(e,P,p,E,t.ProjectionNode,T)}return(0,t.jsxs)(o.MotionContext.Provider,{value:b,children:[h&&b.visualElement?(0,t.jsx)(h,{visualElement:b.visualElement,...p}):null,(0,l.useRender)(e,u,(0,f.useMotionRef)(P,b.visualElement,c),P,m,M,T)]})}k.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let A=(0,i.forwardRef)(k);return A[m.motionComponentSymbol]=e,A}function M(e,t){if("u"<typeof Proxy)return b;let i=new Map,n=(i,n)=>b(i,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,b(s,void 0,e,t)),i.get(s))})}e.s(["createMotionProxy",()=>M],907051);class P{constructor(e){this.isMounted=!1,this.node=e}update(){}}e.s(["Feature",()=>P],142098);var S=e.i(386579);function E(e,t,i){let n=e.getProps();return(0,S.resolveVariantFromProps)(n,t,void 0!==i?i:n.custom,e)}function T(e,t){if(e?.inherit&&t){let{inherit:i,...n}=e;return{...t,...n}}return e}function C(e,t){let i=e?.[t]??e?.default??e;return i!==e?T(i,e):i}e.s(["getValueTransition",()=>C],987333);var k=e.i(864440),A=e.i(486427);let V=e=>Array.isArray(e);var R=e.i(846791),D=e.i(83411);function j(e,t){let i=e.getValue("willChange");if((0,D.isMotionValue)(i)&&i.add)return i.add(t);if(!i&&R.MotionGlobalConfig.WillChange){let i=new R.MotionGlobalConfig.WillChange("auto");e.addValue("willChange",i),i.add(t)}}function L(e){return e.props[g.optimizedAppearDataAttribute]}e.s(["addValueToWillChange",()=>j],980538),e.s(["getOptimisedAppearId",()=>L],716896);var F=e.i(763074),B=e.i(260830),_=e.i(496173);let I=(e,t)=>i=>t(e(i)),O=(...e)=>e.reduce(I);e.s(["pipe",()=>O],738638);var N=e.i(476959),H=e.i(504169),z=e.i(965566),U=e.i(19928),q=e.i(279444),W=e.i(569577),G=e.i(463011),$=e.i(22660);function K(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}var X=e.i(766820);function Y(e,t){return i=>i>0?t:e}var Z=e.i(100706);let Q=(e,t,i)=>{let n=e*e,r=i*(t*t-n)+n;return r<0?0:Math.sqrt(r)},J=[G.hex,X.rgba,$.hsla];function ee(e){let t=J.find(t=>t.test(e));if((0,z.warning)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let i=t.parse(e);return t===$.hsla&&(i=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,s=0,o=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,a=2*i-n;r=K(a,n,e+1/3),s=K(a,n,e),o=K(a,n,e-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let et=(e,t)=>{let i=ee(e),n=ee(t);if(!i||!n)return Y(e,t);let r={...i};return e=>(r.red=Q(i.red,n.red,e),r.green=Q(i.green,n.green,e),r.blue=Q(i.blue,n.blue,e),r.alpha=(0,Z.mixNumber)(i.alpha,n.alpha,e),X.rgba.transform(r))},ei=new Set(["none","hidden"]);function en(e,t){return i=>(0,Z.mixNumber)(e,t,i)}function er(e){return"number"==typeof e?en:"string"==typeof e?(0,U.isCSSVariableToken)(e)?Y:q.color.test(e)?et:ea:Array.isArray(e)?es:"object"==typeof e?q.color.test(e)?et:eo:Y}function es(e,t){let i=[...e],n=i.length,r=e.map((e,i)=>er(e)(e,t[i]));return e=>{for(let t=0;t<n;t++)i[t]=r[t](e);return i}}function eo(e,t){let i={...e,...t},n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=er(e[r])(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}}let ea=(e,t)=>{let i=W.complex.createTransformer(t),n=(0,W.analyseComplexValue)(e),r=(0,W.analyseComplexValue)(t);if(!(n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length))return(0,z.warning)(!0,`Complex values '${e}' and '${t}
9' 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"),Y(e,t);if(ei.has(e)&&!r.values.length||ei.has(t)&&!n.values.length)return ei.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return O(es(function(e,t){let i=[],n={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){let s=t.types[r],o=e.indexes[s][n[s]],a=e.values[o]??0;i[r]=a,n[s]++}return i}(n,r),r.values),i)};function el(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?(0,Z.mixNumber)(e,t,i):er(e)(e,t)}var eu=e.i(287022);let ec=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eu.frame.update(t,e),stop:()=>(0,eu.cancelFrame)(t),now:()=>eu.frameData.isProcessing?eu.frameData.timestamp:_.time.now()}};var eh=e.i(756512);function ed(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}function ep(e,t=100,i){let n=i({...e,keyframes:[0,t]}),r=Math.min(ed(n),2e4);return{type:"keyframes",ease:e=>n.next(r*e).value/t,duration:(0,F.millisecondsToSeconds)(r)}}e.s(["createGeneratorEasing",()=>ep],721748);var em=e.i(325791);function ef(e,t,i){let n=Math.max(t-5,0);return(0,em.velocityPerSecond)(i-e(n),t-n)}let eg=.01,ev=2,ey=.005,ex=.5;function ew(e,t){return e*Math.sqrt(1-t*t)}let eb=["duration","bounce"],eM=["stiffness","damping","mass"];function eP(e,t){return t.some(t=>void 0!==e[t])}function eS(e=.3,t=.3){let i,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:s}=n,o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:c,mass:h,duration:d,velocity:p,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!eP(e,eM)&&eP(e,eb))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),n=i*i,r=2*(0,N.clamp)(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:r}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:n=1}){let r,s;(0,z.warning)(e<=(0,F.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=(0,N.clamp)(.05,1,o),e=(0,N.clamp)(.01,10,(0,F.millisecondsToSeconds)(e)),o<1?(r=t=>{let n=t*o,r=n*e;return .001-(n-i)/ew(t,o)*Math.exp(-r)},s=t=>{let n=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-n),l=ew(Math.pow(t,2),o);return(n*i+i-s)*a*(-r(t)+.001>0?-1:1)/l}):(r=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),s=t=>e*e*(i-t)*Math.exp(-t*e));let a=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(r,s,5/e);if(e=(0,F.secondsToMilliseconds)(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*n;return{stiffness:t,damping:2*o*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-(0,F.millisecondsToSeconds)(n.velocity||0)}),f=p||0,g=c/(2*Math.sqrt(u*h)),v=a-o,y=(0,F.millisecondsToSeconds)(Math.sqrt(u/h)),x=5>Math.abs(v);if(r||(r=x?eg:ev),s||(s=x?ey:ex),g<1){let e=ew(y,g);i=t=>a-Math.exp(-g*y*t)*((f+g*y*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===g)i=e=>a-Math.exp(-y*e)*(v+(f+y*v)*e);else{let e=y*Math.sqrt(g*g-1);i=t=>{let i=Math.exp(-g*y*t),n=Math.min(e*t,300);return a-i*((f+g*y*v)*Math.sinh(n)+e*v*Math.cosh(n))/e}}let w={calculatedDuration:m&&d||null,next:e=>{let t=i(e);if(m)l.done=e>=d;else{let n=0===e?f:0;g<1&&(n=0===e?(0,F.secondsToMilliseconds)(f):ef(i,e,t));let o=Math.abs(a-t)<=s;l.done=Math.abs(n)<=r&&o}return l.value=l.done?a:t,l},toString:()=>{let e=Math.min(ed(w),2e4),t=(0,eh.generateLinearEasing)(t=>w.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return w}function eE({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d,p=e[0],m={done:!1,value:p},f=i*t,g=p+f,v=void 0===o?g:o(g);v!==g&&(f=v-p);let y=e=>-f*Math.exp(-e/n),x=e=>v+y(e),w=e=>{let t=y(e),i=x(e);m.done=Math.abs(t)<=u,m.value=m.done?v:i},b=e=>{let t;if(t=m.value,void 0!==a&&t<a||void 0!==l&&t>l){var i;h=e,d=eS({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:ef(x,e,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:c})}};return b(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,w(e),b(e)),void 0!==h&&e>
9=h)?d.next(e-h):(t||w(e),m)}}}eS.applyToOptions=e=>{let t=ep(e,100,eS);return e.ease=t.ease,e.duration=(0,F.secondsToMilliseconds)(t.duration),e.type="keyframes",e},e.s(["spring",()=>eS],373431);let eT=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function eC(e,t,i,n){return e===t&&i===n?B.noop:r=>0===r||1===r?r:eT(function(e,t,i,n,r){let s,o,a=0;do(s=eT(o=t+(i-t)/2,n,r)-e)>0?i=o:t=o;while(Math.abs(s)>1e-7&&++a<12)return o}(r,0,1,e,i),t,n)}let ek=eC(.42,0,1,1),eA=eC(0,0,.58,1),eV=eC(.42,0,.58,1),eR=e=>Array.isArray(e)&&"number"!=typeof e[0];e.s(["isEasingArray",()=>eR],893544);let eD=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ej=e=>t=>1-e(1-t),eL=eC(.33,1.53,.69,.99),eF=ej(eL),eB=eD(eF),e_=e=>(e*=2)<1?.5*eF(e):.5*(2-Math.pow(2,-10*(e-1))),eI=e=>1-Math.sin(Math.acos(e)),eO=ej(eI),eN=eD(eI);e.s(["circIn",()=>eI,"circInOut",()=>eN,"circOut",()=>eO],791559);var eH=e.i(960855);let ez={linear:B.noop,easeIn:ek,easeInOut:eV,easeOut:eA,circIn:eI,circInOut:eN,circOut:eO,backIn:eF,backInOut:eB,backOut:eL,anticipate:e_},eU=e=>{if((0,eH.isBezierDefinition)(e)){(0,z.invariant)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,n,r]=e;return eC(t,i,n,r)}return"string"==typeof e?((0,z.invariant)(void 0!==ez[e],`Invalid easing type '${e}'`,"invalid-easing-type"),ez[e]):e},eq=(e,t,i)=>{let n=t-e;return 0===n?1:(i-e)/n};function eW(e,t,{clamp:i=!0,ease:n,mixer:r}={}){let s=e.length;if((0,z.invariant)(s===t.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,i){let n=[],r=i||R.MotionGlobalConfig.mix||el,s=e.length-1;for(let i=0;i<s;i++){let s=r(e[i],e[i+1]);t&&(s=O(Array.isArray(t)?t[i]||B.noop:t,s)),n.push(s)}return n}(t,n,r),l=a.length,u=i=>{if(o&&i<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(i<e[n+1]);n++);let r=eq(e[n],e[n+1],i);return a[n](r)};return i?t=>u((0,N.clamp)(e[0],e[s-1],t)):u}function eG(e,t){let i=e[e.length-1];for(let n=1;n<=t;n++){let r=eq(0,t,n);e.push((0,Z.mixNumber)(i,1,r))}}function e$(e){let t=[0];return eG(t,e.length-1),t}function eK({duration:e=300,keyframes:t,times:i,ease:n="easeInOut"}){var r;let s=eR(n)?n.map(eU):eU(n),o={done:!1,value:t[0]},a=eW((r=i&&i.length===t.length?i:e$(t),r.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||eV).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}e.s(["progress",()=>eq],783920),e.s(["interpolate",()=>eW],344230),e.s(["fillOffset",()=>eG],215932),e.s(["defaultOffset",()=>e$],515923);var eX=e.i(414229);let eY={decay:eE,inertia:eE,tween:eK,keyframes:eK,spring:eS};function eZ(e){"string"==typeof e.type&&(e.type=eY[e.type])}var eQ=e.i(779294);let eJ=e=>e/100;class e0 extends eQ.WithPromise{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!==_.time.now()&&this.tick(_.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},H.activeAnimations.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;eZ(e);let{type:t=eK,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=e,{keyframes:o}=e,a=t||eK;a!==eK&&"number"!=typeof o[0]&&(this.mixKeyframes=O(eJ,el(o[0],o[1])),o=[0,100]);let l=a({...e,keyframes:o});"mirror"===r&&(this.mirroredGenerator=a({...e,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=ed(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}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:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:c,repeatType:h,repeatDelay:d,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let y=this.currentTime,x=i;if(c){let e=Math.min(this.currentTime,n)/o,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,c+1))%2&&("reverse"===h?(i=1-i,d&&(i-=d/
9o)):"mirror"===h&&(x=s)),y=(0,N.clamp)(0,1,i)*o}let w=v?{done:!1,value:u[0]}:x.next(y);r&&(w.value=r(w.value));let{done:b}=w;v||null===a||(b=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let M=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return M&&p!==eE&&(w.value=(0,eX.getFinalKeyframe)(u,this.options,f,this.speed)),m&&m(w.value),M&&this.finish(),w}then(e,t){return this.finished.then(e,t)}get duration(){return(0,F.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,F.millisecondsToSeconds)(e)}get time(){return(0,F.millisecondsToSeconds)(this.currentTime)}set time(e){e=(0,F.secondsToMilliseconds)(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(_.time.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,F.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=ec,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(_.time.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,H.activeAnimations.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)}}e.s(["JSAnimation",()=>e0],83352);var e1=e.i(921012),e2=e.i(368e3);let e3={anticipate:e_,backInOut:eB,circInOut:eN};class e4 extends e2.NativeAnimation{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in e3&&(e.ease=e3[e.ease])}(e),eZ(e),super(e),void 0!==e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let o=new e0({...s,autoplay:!1}),a=Math.max(10,_.time.now()-this.startTime),l=(0,N.clamp)(0,10,a-10);t.setWithVelocity(o.sample(Math.max(0,a-l)).value,o.sample(a).value,l),o.stop()}}var e5=e.i(997307);let e6=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(W.complex.test(e)||"0"===e)&&!e.startsWith("url("));function e7(e){e.duration=0,e.type="keyframes"}var e8=eQ,e9=e.i(260900);let te=new Set(["opacity","clipPath","filter","transform"]),tt=(0,e9.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class ti extends e8.WithPromise{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=_.time.now();const h={autoplay:e,delay:t,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:u,...c},d=u?.KeyframeResolver||e1.KeyframeResolver;this.keyframeResolver=new d(o,(e,t,i)=>this.onKeyframesResolved(e,t,h,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,n){this.keyframeResolver=void 0;let{name:r,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;this.resolvedAt=_.time.now(),!function(e,t,i,n){let r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=e6(r,t),a=e6(s,t);return(0,z.warning)(o===a,`You are trying to animate ${t} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||(0,e5.isGenerator)(i))&&n)}(e,r,s,o)&&((R.MotionGlobalConfig.instantAnimations||!a)&&u?.((0,eX.getFinalKeyframe)(e,i,t)),e[0]=e[e.length-1],e7(i),i.repeat=0);let c={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},h=!l&&function(e){let{motionValue:t,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
9let{onUpdate:a,transformTemplate:l}=t.owner.getProps();return tt()&&i&&te.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(c),d=c.motionValue?.owner?.current,p=h?new e4({...c,element:d}):new e0(c);p.finished.then(()=>{this.notifyFinished()}).catch(B.noop),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(),(0,e1.flushKeyframeResolvers)()),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()}}var tn=e.i(157788);let tr={type:"spring",stiffness:500,damping:25,restSpeed:10},ts={type:"keyframes",duration:.8},to={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ta=e=>null!==e,tl=(e,t,i,n={},r,s)=>o=>{let a=C(n,e)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=(0,F.secondsToMilliseconds)(l);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:r};!function({when:e,delay:t,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&Object.assign(c,((e,{keyframes:t})=>t.length>2?ts:tn.transformProps.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:tr:to)(e,c)),c.duration&&(c.duration=(0,F.secondsToMilliseconds)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,F.secondsToMilliseconds)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(e7(c),0===c.delay&&(h=!0)),(R.MotionGlobalConfig.instantAnimations||R.MotionGlobalConfig.skipAnimations||r?.shouldSkipAnimations)&&(h=!0,e7(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,h&&!s&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:i="loop"},n){let r=e.filter(ta),s=t&&"loop"!==i&&t%2==1?0:r.length-1;return r[s]}(c.keyframes,a);if(void 0!==e)return void eu.frame.update(()=>{c.onUpdate(e),c.onComplete()})}return a.isSync?new e0(c):new ti(c)};function tu(e,t,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s,transitionEnd:o,...a}=t,l=e.getDefaultTransition();s=s?T(s,l):l;let u=s?.reduceMotion;n&&(s=n);let c=[],h=r&&e.animationState&&e.animationState.getState()[r];for(let t in a){let n=e.getValue(t,e.latestValues[t]??null),r=a[t];if(void 0===r||h&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(h,t))continue;let o={delay:i,...C(s||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating&&!Array.isArray(r)&&r===l&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=L(e);if(i){let e=window.MotionHandoffAnimation(i,t,eu.frame);null!==e&&(o.startTime=e,d=!0)}}j(e,t);let p=u??e.shouldReduceMotion;n.start(tl(t,n,r,p&&k.positionalKeys.has(t)?{type:!1}:o,e,d));let m=n.animation;m&&c.push(m)}if(o){let t=()=>eu.frame.update(()=>{o&&function(e,t){let{transitionEnd:i={},transition:n={},...r}=E(e,t)||{};for(let t in r={...r,...i}){var s;let i=V(s=r[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,(0,A.motionValue)(i))}}(e,o)});c.length?Promise.all(c).then(t):t()}return c}function tc(e,t,i,n=0,r=1){let s=Array.from(e).sort((e,t)=>
9e.sortNodePosition(t)).indexOf(t),o=e.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function th(e,t,i={}){let n=E(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:r=e.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(tu(e,n,i)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(e,t,i=0,n=0,r=0,s=1,o){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(th(l,t,{...o,delay:i+("function"==typeof n?0:n)+tc(e.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,n,s,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[e,t]="beforeChildren"===a?[s,o]:[o,s];return e().then(()=>t())}}e.s(["animateMotionValue",()=>tl],939011),e.s(["animateTarget",()=>tu],372323);var td=e.i(732525),tp=e.i(706840);let tm=tp.variantProps.length;var tf=e.i(885983);function tg(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}let tv=[...tp.variantPriorityOrder].reverse(),ty=tp.variantPriorityOrder.length;function tx(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tw(){return{animate:tx(!0),whileInView:tx(),whileHover:tx(),whileTap:tx(),whileDrag:tx(),whileFocus:tx(),exit:tx()}}let tb=0,tM={animation:{Feature:class extends P{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>th(e,t,i)));else if("string"==typeof t)n=th(e,t,i);else{let r="function"==typeof t?E(e,t,i.custom):t;n=Promise.all(tu(e,r,i))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=tw(),n=!0,r=!1,s=t=>(i,n)=>{let r=E(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(r){let{transition:e,transitionEnd:t,...n}=r;i={...i,...n,...t}}return i};function o(o){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<tm;e++){let n=tp.variantProps[e],r=t.props[n];((0,td.isVariantLabel)(r)||!1===r)&&(i[n]=r)}return i}(e.parent)||{},u=[],c=new Set,h={},d=1/0;for(let t=0;t<ty;t++){var p,m;let f=tv[t],g=i[f],v=void 0!==a[f]?a[f]:l[f],y=(0,td.isVariantLabel)(v),x=f===o?g.isActive:null;!1===x&&(d=t);let w=v===l[f]&&v!==a[f]&&y;if(w&&(n||r)&&e.manuallyAnimateOnMount&&(w=!1),g.protectedKeys={...h},!g.isActive&&null===x||!v&&!g.prevProp||(0,tf.isAnimationControls)(v)||"boolean"==typeof v)continue;if("exit"===f&&g.isActive&&!0!==x){g.prevResolvedValues&&(h={...h,...g.prevResolvedValues});continue}let b=(p=g.prevProp,"string"==typeof(m=v)?m!==p:!!Array.isArray(m)&&!tg(m,p)),M=b||f===o&&g.isActive&&!w&&y||t>d&&y,P=!1,S=Array.isArray(v)?v:[v],T=S.reduce(s(f),{});!1===x&&(T={});let{prevResolvedValues:C={}}=g,k={...C,...T},A=t=>{M=!0,c.has(t)&&(P=!0,c.delete(t)),g.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in k){let t=T[e],i=C[e];if(!h.hasOwnProperty(e))(V(t)&&V(i)?tg(t,i):t===i)?void 0!==t&&c.has(e)?A(e):g.protectedKeys[e]=!0:null!=t?A(e):c.add(e)}g.prevProp=v,g.prevResolvedValues=T,g.isActive&&(h={...h,...T}),(n||r)&&e.blockInitialAnimation&&(M=!1);let R=w&&b,D=!R||P;M&&D&&u.push(...S.map(t=>{let i={type:f};if("string"==typeof t&&(n||r)&&!R&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,r=E(n,t);if(n.enteringChildren&&r){let{delayChildren:t}=r.transition||{};i.delay=tc(n.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(c.size){let t={};if("boolean"!=typeof a.initial){let i=E(e,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(t.transition=i.transition)}c.forEach(i=>{let n=e.getBaseTarget(i),r=e.getValue(i);r&&(r.liveStyle=!0),t[i]=n??null}),u.push({animation:t})}let f=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(f=!1),n=!1,r=!1,f?t(u):Promise.resolve()}
9return{animateChanges:o,setActive:function(t,n){if(i[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),i[t].isActive=n;let r=o(t);for(let e in i)i[e].protectedKeys={};return r},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=tw(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,tf.isAnimationControls)(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?.()}}},exit:{Feature:class extends P{constructor(){super(...arguments),this.id=tb++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function tP(e){return[e("x"),e("y")]}function tS(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}e.s(["animations",()=>tM],223070),e.s(["eachAxis",()=>tP],655559),e.s(["addDomEvent",()=>tS],282774);let tE={x:!1,y:!1};function tT(){return tE.x||tE.y}function tC(e){if("x"===e||"y"===e)if(tE[e])return null;else return tE[e]=!0,()=>{tE[e]=!1};return tE.x||tE.y?null:(tE.x=tE.y=!0,()=>{tE.x=tE.y=!1})}e.s(["isDragActive",()=>tT,"isDragging",()=>tE],439676),e.s(["setDragLock",()=>tC],137541);function tk(e){return e.max-e.min}function tA(e,t,i){return Math.abs(e-t)<=i}function tV(e,t,i,n=.5){e.origin=n,e.originPoint=(0,Z.mixNumber)(t.min,t.max,e.origin),e.scale=tk(i)/tk(t),e.translate=(0,Z.mixNumber)(i.min,i.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 tR(e,t,i,n){tV(e.x,t.x,i.x,n?n.originX:void 0),tV(e.y,t.y,i.y,n?n.originY:void 0)}function tD(e,t,i){e.min=i.min+t.min,e.max=e.min+tk(t)}function tj(e,t,i){tD(e.x,t.x,i.x),tD(e.y,t.y,i.y)}function tL(e,t,i){e.min=t.min-i.min,e.max=e.min+tk(t)}function tF(e,t,i){tL(e.x,t.x,i.x),tL(e.y,t.y,i.y)}e.s(["calcBoxDelta",()=>tR,"calcLength",()=>tk,"calcRelativeBox",()=>tj,"calcRelativePosition",()=>tF,"isNear",()=>tA],652101)},733986,889026,661327,919880,341327,665536,485651,107230,e=>{"use strict";let t,i;var n=e.i(142098),r=e.i(260830),s=e.i(130162),o=e.i(287022),a=e.i(655559),l=e.i(153689),u=e.i(27677),c=e.i(980538),h=e.i(939011),d=e.i(100706),p=e.i(282774),m=e.i(137541),f=e.i(265091),g=e.i(652101),v=e.i(642824);function y(e){return(0,v.isObject)(e)&&"ownerSVGElement"in e}e.s(["isSVGElement",()=>y],889026);var x=e.i(749652);let w=new WeakMap,b=(e,t,i)=>(n,r)=>r&&r[0]?r[0][e+"Size"]:y(n)&&"getBBox"in n?n.getBBox()[t]:n[i],M=b("inline","width","offsetWidth"),P=b("block","height","offsetHeight");function S({target:e,borderBoxSize:t}){w.get(e)?.forEach(i=>{i(e,{get width(){return M(e,t)},get height(){return P(e,t)}})})}function E(e){e.forEach(S)}let T=new Set;function C(e,n){let r;return"function"==typeof e?(T.add(e),i||(i=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};T.forEach(t=>t(e))},window.addEventListener("resize",i)),()=>{T.delete(e),T.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!t&&"u">typeof ResizeObserver&&(t=new ResizeObserver(E)),(r=(0,x.resolveElements)(e)).forEach(e=>{let i=w.get(e);i||(i=new Set,w.set(e,i)),i.add(n),t?.observe(e)}),()=>{r.forEach(e=>{let i=w.get(e);i?.delete(n),i?.size||t?.unobserve(e)})})}e.s(["resize",()=>C],661327);let k=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function A(e){return k.has(e.tagName)||!0===e.isContentEditable}let V=new Set(["INPUT","SELECT","TEXTAREA"]);function R(e){return V.has(e.tagName)||!0===e.isContentEditable}e.s(["isElementKeyboardAccessible",()=>A,"isElementTextInput",()=>R],919880);var D=e.i(965566);let j=e=>
9"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function L(e){return{point:{x:e.pageX,y:e.pageY}}}e.s(["isPrimaryPointer",()=>j],341327);let F=e=>t=>j(t)&&e(t,L(t));function B(e,t,i,n){return(0,p.addDomEvent)(e,t,F(i),n)}e.s(["addPointerInfo",()=>F,"extractEventInfo",()=>L],665536);let _=({current:e})=>e?e.ownerDocument.defaultView:null;var I=e.i(325522),O=e.i(738638),N=e.i(763074);let H=(e,t)=>Math.abs(e-t),z=new Set(["auto","scroll"]);class U{constructor(e,t,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:a}={}){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=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=G(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(e=i.offset,t={x:0,y:0},Math.sqrt(H(e.x,t.x)**2+H(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:a}=o.frameData;this.history.push({...s,timestamp:a});let{onStart:l,onMove:u}=this.handlers;n||(l&&l(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=q(t,this.transformPagePoint),o.frame.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=G("pointercancel"===e.type?this.lastMoveEventInfo:q(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),n&&n(e,s)},!j(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const l=q(L(e),this.transformPagePoint),{point:u}=l,{timestamp:c}=o.frameData;this.history=[{...u,timestamp:c}];const{onSessionStart:h}=t;h&&h(e,G(l,this.history)),this.removeListeners=(0,O.pipe)(B(this.contextWindow,"pointermove",this.handlePointerMove),B(this.contextWindow,"pointerup",this.handlePointerUp),B(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(z.has(e.overflowX)||z.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}),window.addEventListener("scroll",this.onWindowScroll),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 i=e===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},r={x:n.x-t.x,y:n.y-t.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(e,n),o.frame.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,o.cancelFrame)(this.updatePoint)}}function q(e,t){return t?{point:t(e.point)}:e}function W(e,t){return{x:e.x-t.x,y:e.y-t.y}}function G({point:e},t){return{point:e,delta:W(e,$(t)),offset:W(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=$(e);for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>(0,N.secondsToMilliseconds)(.1)));)i--;if(!n)return{x:0,y:0};n===e[0]&&e.length>2&&r.timestamp-n.timestamp>2*(0,N.secondsToMilliseconds)(.1)&&(n=e[1]);let s=(0,N.millisecondsToSeconds)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
9;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,.1)}}function $(e){return e[e.length-1]}var K=e.i(783920),X=e.i(476959);function Y(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function Z(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}function Q(e,t,i){return{min:J(e,t),max:J(e,i)}}function J(e,t){return"number"==typeof e?e:e[t]||0}let ee=new WeakMap;class et{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=(0,s.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=e=>{t&&this.snapToCursor(L(e).point),this.stopAnimation()},s=(e,t)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,m.setDragLock)(i),!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),(0,a.eachAxis)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(f.percent.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[e];n&&(t=(0,g.calcLength)(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&o.frame.update(()=>r(e,t),!1,!0),(0,c.addValueToWillChange)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},l=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),s&&o.frame.update(()=>s(e,t),!1,!0)},u=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new U(e,{onSessionStart:r,onStart:s,onMove:l,onSessionEnd:u,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:_(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,n=t||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&o.frame.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&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,i){let{drag:n}=this.getProps();if(!i||!en(e,n,this.currentDirection))return;let r=this.getAxisMotionValue(e),s=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:i},n){return void 0!==t&&e<t?e=n?(0,d.mixNumber)(t,e,n.min):Math.max(e,t):void 0!==i&&e>i&&(e=n?(0,d.mixNumber)(i,e,n.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),r.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&(0,I.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:n,right:r}){return{x:Y(e.x,i,r),y:Y(e.y,t,n)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:Q(e,"left","right"),y:Q(e,"top","bottom")}}(t),n!==this.constraints&&!(0,I.isRefObject)(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,a.eachAxis)(e=>{var t,n;let r;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],n=this.constraints[e],r={},void 0!==n.min&&(r.min=n.min-t.min),void 0!==n.max&&(r.max=n.max-t.min),r))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!(0,I.isRefObject)(t))return!1;let n=t.current;(0,D.invariant)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=(0,l.measurePageBox)(n,r.root,this.visualElement.getTransformPagePoint()),o=(e=r.layout.layoutBox,{x:Z(e.x,s.x),y:Z(e.y,s.y)});if(i){let e=i((0,u.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!e,e&&(o=(0,u.convertBoundingBoxToBox)(e))}return o}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.eachAxis)(o=>{if(!en(o,t,this.currentDirection))return;let a=l&&l[o]||{};s&&(a={min:0,max:0});let u={type:"inertia",velocity:i?e[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...a};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return(0,c.addValueToWillChange)(this.visualElement,e),i.start((0,h.animateMotionValue)(e,i,0,t,this.visualElement,!1))}stopAnimation(){(0,a.eachAxis)(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){(0,a.eachAxis)(t=>{let{drag:i}=this.getProps();if(!en(t,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(t);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[t],o=r.get()||0;r.set(e[t]-(0,d.mixNumber)(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!(0,I.isRefObject)(t)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};(0,a.eachAxis)(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,r;let s,o,a,l=t.get();n[e]=(i={min:l,max:l},r=this.constraints[e],s=.5,o=(0,g.calcLength)(i),(a=(0,g.calcLength)(r))>o?s=(0,K.progress)(r.min,r.max-o,i.min):o>a&&(s=(0,K.progress)(i.min,i.max-a,r.min)),(0,X.clamp)(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,a.eachAxis)(t=>{if(!en(t,e,null))return;let i=this.getAxisMotionValue(t),{min:r,max:s}=this.constraints[t];i.set((0,d.mixNumber)(r,s,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;ee.set(this.visualElement,this);let t=this.visualElement.current,i=B(t,"pointerdown",e=>{let{drag:i,dragListener:n=!0}
9=this.getProps(),r=e.target,s=r!==t&&R(r);i&&n&&!s&&this.start(e)}),n=()=>{var i,n,r;let s,o,{dragConstraints:a}=this.getProps();(0,I.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,n=a.current,s=C(i,ei(r=()=>this.scalePositionWithinConstraints())),o=C(n,ei(r)),e=()=>{s(),o()}))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),o.frame.read(n);let l=(0,p.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,a.eachAxis)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{l(),i(),s(),u&&u(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function ei(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function en(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}class er extends n.Feature{constructor(e){super(e),this.removeGroupControls=r.noop,this.removeListeners=r.noop,this.controls=new et(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||r.noop}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.isDragging||this.controls.endPanSession()}}e.s(["DragGesture",()=>er],733986);var es=n;let eo=e=>(t,i)=>{e&&o.frame.update(()=>e(t,i),!1,!0)};class ea extends es.Feature{constructor(){super(...arguments),this.removePointerDownListener=r.noop}onPointerDown(e){this.session=new U(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:_(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:eo(e),onStart:eo(t),onMove:eo(i),onEnd:(e,t)=>{delete this.session,n&&o.frame.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=B(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}e.s(["PanGesture",()=>ea],485651);let el={hasAnimatedSinceResize:!0,hasEverUpdated:!1};e.s(["globalProjectionState",()=>el],107230)},646816,877397,768705,836331,717871,973089,957512,99642,e=>{"use strict";var t=e.i(733986),i=e.i(485651),n=e.i(843476),r=e.i(107230),s=e.i(287022),o=e.i(560140),a=e.i(271645),l=e.i(464978),u=e.i(231178),c=e.i(104035);let h=!1;class d extends a.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=e;s&&(t.group&&t.group.add(s),i&&i.register&&n&&i.register(s),h&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),r.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:n,isPresent:r}=this.props,{projection:o}=i;return o&&(o.isPresent=r,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),h=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==r?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||s.frame.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),o.microtask.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:n}=e;h=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function p(e){let[t,i]=(0,l.usePresence)(),r=(0,a.useContext)(u.LayoutGroupContext);return(0,n.jsx)(d,{...e,layoutGroup:r,switchLayoutGroup:(0,a.useContext)(c.SwitchLayoutGroupContext),isPresent:t,safeToRemove:i})}e.s(["MeasureLayout",()=>p],877397);
9var m=e.i(570596),f=e.i(476959),g=e.i(260830),v=e.i(939011),y=e.i(486427),x=e.i(83411);function w(e,t,i){let n=(0,x.isMotionValue)(e)?e:(0,y.motionValue)(e);return n.start((0,v.animateMotionValue)("",n,t,i)),n.animation}e.s(["animateSingleValue",()=>w],768705);var b=e.i(716896),M=e.i(987333),P=e.i(496173),S=e.i(924463),E=e.i(504169),T=e.i(880248);e.i(763074);var C=e.i(889026);function k(e){return(0,C.isSVGElement)(e)&&"svg"===e.tagName}e.s(["isSVGSVGElement",()=>k],836331);var A=e.i(100706),V=e.i(733871),R=e.i(265091),D=e.i(783920),j=e.i(791559);let L=["TopLeft","TopRight","BottomLeft","BottomRight"],F=L.length,B=e=>"string"==typeof e?parseFloat(e):e,_=e=>"number"==typeof e||R.px.test(e);function I(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let O=H(0,.5,j.circOut),N=H(.5,.95,g.noop);function H(e,t,i){return n=>n<e?0:n>t?1:i((0,D.progress)(e,t,n))}function z(e,t){e.min=t.min,e.max=t.max}function U(e,t){z(e.x,t.x),z(e.y,t.y)}function q(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var W=e.i(135636),G=e.i(652101);function $(e,t,i,n,r){return e-=t,e=(0,W.scalePoint)(e,1/i,n),void 0!==r&&(e=(0,W.scalePoint)(e,1/r,n)),e}function K(e,t,[i,n,r],s,o){!function(e,t=0,i=1,n=.5,r,s=e,o=e){if(R.percent.test(t)&&(t=parseFloat(t),t=(0,A.mixNumber)(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=(0,A.mixNumber)(s.min,s.max,n);e===s&&(a-=t),e.min=$(e.min,t,i,a,r),e.max=$(e.max,t,i,a,r)}(e,t[i],t[n],t[r],t.scale,s,o)}let X=["x","scaleX","originX"],Y=["y","scaleY","originY"];function Z(e,t,i,n){K(e.x,t,X,i?i.x:void 0,n?n.x:void 0),K(e.y,t,Y,i?i.y:void 0,n?n.y:void 0)}var Q=e.i(130162);function J(e){return 0===e.translate&&1===e.scale}function ee(e){return J(e.x)&&J(e.y)}function et(e,t){return e.min===t.min&&e.max===t.max}function ei(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function en(e,t){return ei(e.x,t.x)&&ei(e.y,t.y)}function er(e){return(0,G.calcLength)(e.x)/(0,G.calcLength)(e.y)}function es(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var eo=e.i(133887);class ea{constructor(){this.members=[]}add(e){(0,eo.addUniqueItem)(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||((0,eo.removeItem)(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if((0,eo.removeItem)(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){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:r}=e.options;(void 0===n||n!==r)&&(e.resumeFrom=i,t&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var el=e.i(655559);let eu=(e,t)=>e.depth-t.depth;class ec{constructor(){this.children=[],this.isDirty=!1}add(e){(0,eo.addUniqueItem)(this.children,e),this.isDirty=!0}remove(e){(0,eo.removeItem)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(eu),this.isDirty=!1,this.children.forEach(e)}}var eh=e.i(177777);let ed={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ep=["","X","Y","Z"],em=0;function ef(e,t,i,n){let{latestValues:r}=t;r[e]&&(i[e]=r[e],t.setStaticValue(e,0),n&&(n[e]=0))}function eg({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:a}){return class{constructor(e={},i=t?.()){this.id=em++,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,T.statsBuffer.value&&(ed.nodes=ed.calculatedTargetDeltas=ed.calculatedProjections=0),this.nodes.forEac
9h(ex),this.nodes.forEach(eT),this.nodes.forEach(eC),this.nodes.forEach(ew),T.statsBuffer.addProjectionMetrics&&T.statsBuffer.addProjectionMetrics(ed)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new ec)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new m.SubscriptionManager),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=(0,C.isSVGElement)(t)&&!k(t),this.instance=t;let{layoutId:i,layout:n,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),e){let i,n=0,o=()=>this.root.updateBlockedByResize=!1;s.frame.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,a;n=e,this.root.updateBlockedByResize=!0,i&&i(),t=P.time.now(),a=({timestamp:e})=>{let i=e-t;i>=250&&((0,s.cancelFrame)(a),o(i-250))},s.frame.setup(a,!0),i=()=>(0,s.cancelFrame)(a),r.globalProjectionState.hasAnimatedSinceResize&&(r.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(eE))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||o.getDefaultTransition()||ej,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!en(this.targetLayout,n),u=!t&&i;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,M.getValueTransition)(r,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||eE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}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,s.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ek),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:i}=t.options;if(!i)return;let n=(0,b.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",s.frame,!(e||i))}let{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&e(r)}(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:i}=this.options;if(void 0===t&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
9h(eM);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(eP);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eS),this.nodes.forEach(ev),this.nodes.forEach(ey)):this.nodes.forEach(eP),this.clearAllSnapshots();let e=P.time.now();s.frameData.delta=(0,f.clamp)(0,1e3/60,e-s.frameData.timestamp),s.frameData.timestamp=e,s.frameData.isProcessing=!0,s.frameSteps.update.process(s.frameData),s.frameSteps.preRender.process(s.frameData),s.frameSteps.render.process(s.frameData),s.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,o.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eb),this.sharedNodes.forEach(eA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,s.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){s.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,G.calcLength)(this.snapshot.measuredBox.x)||(0,G.calcLength)(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=(0,Q.createBox)(),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=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!a)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!ee(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||(0,eh.hasTransform)(this.latestValues)||r)&&(a(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),eB((t=n).x),eB(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return(0,Q.createBox)();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eI))){let{scroll:e}=this.root;e&&((0,W.translateAxis)(t.x,e.offset.x),(0,W.translateAxis)(t.y,e.offset.y))}return t}removeElementScroll(e){let t=(0,Q.createBox)();if(U(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&U(t,e),(0,W.translateAxis)(t.x,r.offset.x),(0,W.translateAxis)(t.y,r.offset.y))}return t}applyTransform(e,t=!1){let i=(0,Q.createBox)();U(i,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,W.transformBox)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,eh.hasTransform)(n.latestValues)&&(0,W.transformBox)(i,n.latestValues)}return(0,eh.hasTransform)(this.latestValues)&&(0,W.transformBox)(i,this.latestValues),i}removeTransform(e){let t=(0,Q.createBox)();U(t,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];if(!i.instance||!(0,eh.hasTransform)(i.latestValues))continue;(0,eh.hasScale)(i.latestValues)&&i.updateSnapshot();let n=(0,Q.createBox)();U(n,i.measurePageBox()),Z(t,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,eh.hasTransform)(this.latestValues)&&Z(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!==s.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
9isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=s.frameData.timestamp;let o=this.getClosestProjectingParent();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)&&(this.target||(this.target=(0,Q.createBox)(),this.targetWithTransforms=(0,Q.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,G.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):U(this.target,this.layout.layoutBox),(0,W.applyBoxDelta)(this.target,this.targetDelta)):U(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),T.statsBuffer.value&&ed.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,eh.hasScale)(this.parent.latestValues)||(0,eh.has2DTranslate)(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,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,Q.createBox)(),this.relativeTargetOrigin=(0,Q.createBox)(),(0,G.calcRelativePosition)(this.relativeTargetOrigin,t,i),U(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===s.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;U(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,W.applyTreeDeltas)(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=(0,Q.createBox)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(q(this.prevProjectionDelta.x,this.projectionDelta.x),q(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,G.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&es(this.projectionDelta.x,this.prevProjectionDelta.x)&&es(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),T.statsBuffer.value&&ed.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=(0,Q.createDelta)(),this.projectionDelta=(0,Q.createDelta)(),this.projectionDeltaWithTransform=(0,Q.createDelta)()}setAnimationOrigin(e,t=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=(0,Q.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=(0,Q.createBox)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(eD));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(eV(o.x,e.x,n),eV(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,m,f,g;(0,G.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=n,eR(p.x,m.x,f.x,g),eR(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,d=i,et(u.x,d.x)&&et(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,Q.createBox)()),U(i,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,i,n,r,s){r?(e.opacity=(0,A.mixNumber)(0,i.opacity??1,O(n)),e.opacityExit=(0,A.mixNumber)(t.o
9pacity??1,0,N(n))):s&&(e.opacity=(0,A.mixNumber)(t.opacity??1,i.opacity??1,n));for(let r=0;r<F;r++){let s=`border${L[r]}Radius`,o=I(t,s),a=I(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||_(o)===_(a)?(e[s]=Math.max((0,A.mixNumber)(B(o),B(a),n),0),(R.percent.test(a)||R.percent.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||i.rotate)&&(e.rotate=(0,A.mixNumber)(t.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,s.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=s.frame.update(()=>{r.globalProjectionState.hasAnimatedSinceResize=!0,E.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,y.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=w(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{E.activeAnimations.layout--},onComplete:()=>{E.activeAnimations.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:i,layout:n,latestValues:r}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&e_(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,Q.createBox)();let t=(0,G.calcLength)(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=(0,G.calcLength)(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}U(t,i),(0,W.transformBox)(t,r),(0,G.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ea),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.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:i}={}){let n=this.getStack();n&&n.promote(this,i),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:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let n={};i.z&&ef("z",e,n,this.animationValues);for(let t=0;t<ep.length;t++)ef(`rotate${ep[t]}`,e,n,this.animationValues),ef(`skew${ep[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=(0,V.resolveMotionValue)(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,V.resolveMotionValue)(t?.pointerEvents)||""),this.hasProjected&&!(0,eh.hasTransform)(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(e,t,i){let n="",r=e.x.translate/t.x,s=e.y.translate/t.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);
9i&&(s=i(r,s)),e.transform=s;let{x:o,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?e.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:e.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,S.scaleCorrectors){if(void 0===r[t])continue;let{correct:i,applyTo:o,isCSSVariable:a}=S.scaleCorrectors[t],l="none"===s?r[t]:i(r[t],n);if(o){let t=o.length;for(let i=0;i<t;i++)e[o[i]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?(0,V.resolveMotionValue)(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(eM),this.root.sharedNodes.clear()}}}function ev(e){e.updateLayout()}function ey(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=e.layout,{animationType:r}=e.options,s=t.source!==e.layout.source;"size"===r?(0,el.eachAxis)(e=>{let n=s?t.measuredBox[e]:t.layoutBox[e],r=(0,G.calcLength)(n);n.min=i[e].min,n.max=n.min+r}):e_(r,t.layoutBox,i)&&(0,el.eachAxis)(n=>{let r=s?t.measuredBox[n]:t.layoutBox[n],o=(0,G.calcLength)(i[n]);r.max=r.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+o)});let o=(0,Q.createDelta)();(0,G.calcBoxDelta)(o,i,t.layoutBox);let a=(0,Q.createDelta)();s?(0,G.calcBoxDelta)(a,e.applyTransform(n,!0),t.measuredBox):(0,G.calcBoxDelta)(a,i,t.layoutBox);let l=!ee(o),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=(0,Q.createBox)();(0,G.calcRelativePosition)(o,t.layoutBox,r.layoutBox);let a=(0,Q.createBox)();(0,G.calcRelativePosition)(a,i,s.layoutBox),en(o,a)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ex(e){T.statsBuffer.value&&ed.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 ew(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function eb(e){e.clearSnapshot()}function eM(e){e.clearMeasurements()}function eP(e){e.isLayoutDirty=!1}function eS(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function eE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function eT(e){e.resolveTargetDelta()}function eC(e){e.calcProjection()}function ek(e){e.resetSkewAndRotation()}function eA(e){e.removeLeadSnapshot()}function eV(e,t,i){e.translate=(0,A.mixNumber)(t.translate,0,i),e.scale=(0,A.mixNumber)(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function eR(e,t,i,n){e.min=(0,A.mixNumber)(t.min,i.min,n),e.max=(0,A.mixNumber)(t.max,i.max,n)}function eD(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ej={duration:.45,ease:[.4,0,.1,1]},eL=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eF=eL("applewebkit/")&&!eL("chrome/")?Math.round:g.noop;function eB(e){e.min=eF(e.min),e.max=eF(e.max)}function e_(e,t,i){return"position"===e||"preserve-aspect"===e&&!(0,G.isNear)(er(t),er(i),.2)}function eI(e){return e!==e.root&&e.scroll?.wasRoot}var eO=e.i(282774);let eN=eg({attachResizeListener:(e,t)=>(0,eO.addDomEvent)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),eH={current:void 0},ez=eg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!eH.current){let e=new eN({});e.mount(window),e.setOptions({layoutScroll:!0}),eH.current=e}return eH.current},resetTransform:(e,t)=>
9{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});e.s(["HTMLProjectionNode",()=>ez],717871);let eU={pan:{Feature:i.PanGesture},drag:{Feature:t.DragGesture,ProjectionNode:ez,MeasureLayout:p}};e.s(["drag",()=>eU],646816);var eq=e.i(142098),eW=e.i(439676),eG=e.i(749652);function e$(e,t){let i=(0,eG.resolveElements)(e),n=new AbortController;return[i,{passive:!0,...t,signal:n.signal},()=>n.abort()]}e.s(["setupGesture",()=>e$],973089);var eK=e.i(665536);function eX(e,t,i){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&s.frame.postRender(()=>r(t,(0,eK.extractEventInfo)(t)))}class eY extends eq.Feature{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[n,r,s]=e$(e,i);return n.forEach(e=>{let i,n=!1,s=!1,o=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},a=e=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(e))},l=e=>{if("touch"!==e.pointerType){if(n){s=!0;return}o(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,eW.isDragActive)())return;s=!1;let o=t(e,n);"function"==typeof o&&(i=o,e.addEventListener("pointerleave",l,r))},r),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),s}(e,(e,t)=>(eX(this.node,t,"Start"),e=>eX(this.node,e,"End"))))}unmount(){}}e.s(["HoverGesture",()=>eY],957512);var eZ=eq,eQ=e.i(738638);class eJ extends eZ.Feature{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,eQ.pipe)((0,eO.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,eO.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}e.s(["FocusGesture",()=>eJ],99642)},846932,e=>{"use strict";var t=e.i(154505),i=e.i(907051),n=e.i(223070),r=e.i(646816),s=e.i(957512),o=e.i(99642),a=e.i(142098),l=e.i(772846),u=e.i(439676);let c=(e,t)=>!!t&&(e===t||c(e,t.parentElement));var h=e.i(341327),d=e.i(973089),p=e.i(919880);let m=new WeakSet;function f(e){return t=>{"Enter"===t.key&&e(t)}}function g(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function v(e){return(0,h.isPrimaryPointer)(e)&&!(0,u.isDragActive)()}let y=new WeakSet;var x=e.i(287022),w=e.i(665536);function b(e,t,i){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&x.frame.postRender(()=>r(t,(0,w.extractEventInfo)(t)))}class M extends a.Feature{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[n,r,s]=(0,d.setupGesture)(e,i),o=e=>{let n=e.currentTarget;if(!v(e)||y.has(e))return;m.add(n),i.stopPropagation&&y.add(e);let s=t(n,e),o=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),m.has(n)&&m.delete(n),v(e)&&"function"==typeof s&&s(e,{success:t})},a=e=>{o(e,n===window||n===document||i.useGlobalTarget||c(n,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(e=>{(i.useGlobalTarget?window:e).addEventListener("pointerdown",o,r),(0,l.isHTMLElement)(e)&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let n=f(()=>{if(m.has(i))return;g(i,"down");let e=f(()=>{g(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>g(i,"cancel"),t)});i.addEventListener("keydown",n,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),t)})(e,r)),(0,p.isElementKeyboardAccessible)(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(b(this.node,t,"Start"),(e,{success:t})=>b(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}var P=a;let S=new WeakMap,E=new WeakMap,T=e=>{let t=S.get(e.target);t&&t(e)},C=e=>{e.forEach(T)},k={some:0,all:1};class A extends P.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:k[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=t?i:n;r&&r(e)};return e=this.node.current,t=function({root:e,...t}){let i=e||document;E.has(i)||E.set(i,{});
9let n=E.get(i),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(C,{root:e,...t})),n[r]}(a),S.set(e,l),t.observe(e),()=>{S.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}let V={inView:{Feature:A},tap:{Feature:M},focus:{Feature:o.FocusGesture},hover:{Feature:s.HoverGesture}};var R=e.i(717871),D=e.i(877397);let j={layout:{ProjectionNode:R.HTMLProjectionNode,MeasureLayout:D.MeasureLayout}},L={...n.animations,...V,...r.drag,...j},F=(0,i.createMotionProxy)(L,t.createDomVisualElement);e.s(["motion",()=>F],846932)},880784,e=>{"use strict";var t=e.i(843476),i=e.i(271645),n=e.i(500932),r=e.i(492297),s=e.i(545891);let o=e=>{let i,s,o,a,l=(0,n.c)(9),{iconName:u,url:c,name:h}=e,d=r.socialIconComponents[u];return l[0]===Symbol.for("react.memo_cache_sentinel")?(i={minWidth:"16px",minHeight:"16px"},l[0]=i):i=l[0],l[1]!==d?(s=d&&(0,t.jsx)(d,{style:{width:"16px",height:"16px"}}),l[1]=d,l[2]=s):s=l[2],l[3]!==s?(o=(0,t.jsx)("div",{className:"flex h-4 w-4 items-center justify-center overflow-visible",style:i,children:s}),l[3]=s,l[4]=o):o=l[4],l[5]!==h||l[6]!==o||l[7]!==c?(a=(0,t.jsx)("a",{className:"bg-eco-gray-light box-content flex h-6 w-6 items-center justify-center self-center p-2 text-gray-700 hover:bg-gray-100",href:c,"aria-label":h,target:"_blank",children:o}),l[5]=h,l[6]=o,l[7]=c,l[8]=a):a=l[8],a};function a(e,t){return(0,i.createElement)(o,{...e,key:t})}e.s(["Socials",0,e=>{let i,r,o=(0,n.c)(6),{socials:l,col:u,spacing:c}=e,h=u?"vertical":"horizontal",d=c||"md";return o[0]!==l?(i=l.map(a),o[0]=l,o[1]=i):i=o[1],o[2]!==h||o[3]!==d||o[4]!==i?(r=(0,t.jsx)(s.default,{direction:h,spacing:d,children:i}),o[2]=h,o[3]=d,o[4]=i,o[5]=r):r=o[5],r}])},786670,e=>{"use strict";var t=e.i(562873);e.s(["LogoMark",()=>t.default])},848886,e=>{"use strict";var t=e.i(717521);e.s(["LoaderCircleIcon",()=>t.default])},655900,e=>{"use strict";var t=e.i(399219);e.s(["ChevronUp",()=>t.default])},642310,e=>{"use strict";let t=(0,e.i(475254).default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);e.s(["default",()=>t])},495242,e=>{"use strict";let t=(0,e.i(475254).default)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);e.s(["Pause",()=>t],495242)},431343,e=>{"use strict";let t=(0,e.i(475254).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["Play",()=>t],431343)},489385,e=>{"use strict";let t=(0,e.i(475254).default)("square-arrow-out-up-right",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);e.s(["SquareArrowOutUpRight",()=>t],489385)},36811,e=>{"use strict";function t(e){if(!isFinite(e)||e<0)return"0:00";let t=Math.floor(e/60),i=Math.floor(e%60);return`${t}:${i.toString().padStart(2,"0")}`}function i(e){if(!isFinite(e)||e<=0)return"";let t=Math.round(e/60);return`${t}min`}let n=[.5,.6,.7,.8,.9,1,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9,2];function r(e,t){let i=n.indexOf(e);return -1===i?1:"up"===t?n[Math.min(i+1,n.length-1)]:n[Math.max(i-1,0)]}e.s(["formatDuration",()=>i,"formatTime",()=>t,"getNextRate",()=>r])}]);
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.