vendor: 9,390 bytes, lines 1-18
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CookieBanner-CbB4K4Xw.js","assets/query-DZ5kcTm3.js","assets/radix-ui-CQNv7Kjr.js","assets/react-vendor-lGbB5yuE.js"])))=>i.map(i=>d[i]); 2var RE=Object.defineProperty;var o0=e=>{throw TypeError(e)};var ME=(e,t,i)=>t in e?RE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var Ai=(e,t,i)=>ME(e,typeof t!="symbol"?t+"":t,i),u0=(e,t,i)=>t.has(e)||o0("Cannot "+i);var Fn=(e,t,i)=>(u0(e,t,"read from private field"),i?i.call(e):t.get(e)),qs=(e,t,i)=>t.has(e)?o0("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Ei=(e,t,i,r)=>(u0(e,t,"write to private field"),r?r.call(e,i):t.set(e,i),i);import{a as _E,j as y,r as R,g as US,Q as DE,b as zE}from"./query-DZ5kcTm3.js";import{r as LE}from"./react-vendor-lGbB5yuE.js";import{r as OE}from"./radix-ui-CQNv7Kjr.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function i(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=i(s);fetch(s.href,o)}})();var tm={exports:{}},mo={},nm={exports:{}},im={};/** 3 * @license React 4 * scheduler.production.js 5 * 6 * Copyright (c) Meta Platforms, Inc. and affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var c0;function PE(){return c0||(c0=1,(function(e){function t(H,J){var re=H.length;H.push(J);e:for(;0<re;){var de=re-1>>>1,E=H[de];if(0<s(E,J))H[de]=J,H[re]=E,re=de;else break e}}function i(H){return H.length===0?null:H[0]}function r(H){if(H.length===0)return null;var J=H[0],re=H.pop();if(re!==J){H[0]=re;e:for(var de=0,E=H.length,ve=E>>>1;de<ve;){var Me=2*(de+1)-1,j=H[Me],He=Me+1,ft=H[He];if(0>s(j,re))He<E&&0>s(ft,j)?(H[de]=ft,H[He]=re,de=He):(H[de]=j,H[Me]=re,de=Me);else if(He<E&&0>s(ft,re))H[de]=ft,H[He]=re,de=He;else break e}}return J}function s(H,J){var re=H.sortIndex-J.sortIndex;return re!==0?re:H.id-J.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var f=[],h=[],p=1,x=null,b=3,v=!1,S=!1,T=!1,C=!1,A=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function K(H){for(var J=i(h);J!==null;){if(J.callback===null)r(h);else if(J.startTime<=H)r(h),J.sortIndex=J.expirationTime,t(f,J);else break;J=i(h)}}function G(H){if(T=!1,K(H),!S)if(i(f)!==null)S=!0,U||(U=!0,Z());else{var J=i(h);J!==null&&ne(G,J.startTime-H)}}var U=!1,ee=-1,L=5,se=-1;function z(){return C?!0:!(e.unstable_now()-se<L)}function te(){if(C=!1,U){var H=e.unstable_now();se=H;var J=!0;try{e:{S=!1,T&&(T=!1,N(ee),ee=-1),v=!0;var re=b;try{t:{for(K(H),x=i(f);x!==null&&!(x.expirationTime>H&&z());){var de=x.callback;if(typeof de=="function"){x.callback=null,b=x.priorityLevel;var E=de(x.expirationTime<=H);if(H=e.unstable_now(),typeof E=="function"){x.callback=E,K(H),J=!0;break t}x===i(f)&&r(f),K(H)}else r(f);x=i(f)}if(x!==null)J=!0;else{var ve=i(h);ve!==null&&ne(G,ve.startTime-H),J=!1}}break e}finally{x=null,b=re,v=!1}J=void 0}}finally{J?Z():U=!1}}}var Z;if(typeof M=="function")Z=function(){M(te)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,oe=pe.port2;pe.port1.onmessage=te,Z=function(){oe.postMessage(null)}}else Z=function(){A(te,0)};function ne(H,J){ee=A(function(){H(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(H){H.callback=null},e.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<H?Math.floor(1e3/H):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(H){switch(b){case 1:case 2:case 3:var J=3;break;default:J=b}var re=b;b=J;try{return H()}finally{b=re}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(H,J){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var re=b;b=H;try{return J()}finally{b=re}},e.unstable_scheduleCallback=function(H,J,re){var de=e.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?de+re:de):re=de,H){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5e3}return E=re+E,H={id:p++,callback:J,priorityLevel:H,startTime:re,expirationTime:E,sortIndex:-1},re>de?(H.sortIndex=re,t(h,H),i(f)===null&&H===i(h)&&(T?(N(ee),ee=-1):T=!0,ne(G,re-de))):(H.sortIndex=E,t(f,H),S||v||(S=!0,U||(U=!0,Z()))),H},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(H){var J=b;return function(){var re=b;b=J;try{return H.apply(this,arguments)}finally{b=re}}}})(im)),im}var d0;function BE(){return d0||(d0=1,nm.exports=PE()),nm.exports}/** 11 * @license React 12 * react-dom-client.production.js 13 * 14 * Copyright (c) Meta Platforms, Inc. and affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var f0;function UE(){if(f0)return mo;f0=1;var e=BE(),t=_E(),i=LE();function r(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)a+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function o(n){var a=n,l=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(l=a.return),n=a.return;while(n)}return a.tag===3?l:null}function u(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function d(n){if(n.tag===31){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function f(n){if(o(n)!==n)throw Error(r(188))}function h(n){var a=n.alternate;if(!a){if(a=o(n),a===null)throw Error(r(188));return a!==n?null:n}for(var l=n,c=a;;){var m=l.return;if(m===null)break;var g=m.alternate;if(g===null){if(c=m.return,c!==null){l=c;continue}break}if(m.child===g.child){for(g=m.child;g;){if(g===l)return f(m),n;if(g===c)return f(m),a;g=g.sibling}throw Error(r(188))}if(l.return!==c.return)l=m,c=g;else{for(var w=!1,k=m.child;k;){if(k===l){w=!0,l=m,c=g;break}if(k===c){w=!0,c=m,l=g;break}k=k.sibling}if(!w){for(k=g.child;k;){if(k===l){w=!0,l=g,c=m;break}if(k===c){w=!0,c=g,l=m;break}k=k.sibling}if(!w)throw Error(r(189))}}if(l.alternate!==c)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?n:a}function p(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=p(n),a!==null)return a;n=n.sibling}return null}var x=Object.assign,b=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),M=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),ee=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),z=Symbol.for("react.memo_cache_sentinel"),te=Symbol.iterator;function Z(n){return n===null||typeof n!="object"?null:(n=te&&n[te]||n["@@iterator"],typeof n=="function"?n:null)}var pe=Symbol.for("react.client.reference");function oe(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===pe?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case T:return"Fragment";case A:return"Profiler";case C:return"StrictMode";case G:return"Suspense";case U:return"SuspenseList";case se:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case S:return"Portal";case M:return n.displayName||"Context";case N:return(n._context.displayName||"Context")+".Consumer";case K:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ee:return a=n.displayName||null,a!==null?a:oe(n.type)||"Memo";case L:a=n._payload,n=n._init;try{return oe(n(a))}catch{}}return null}var ne=Array.isArray,H=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},de=[],E=-1;function ve(n){return{current:n}}function Me(n){0>E||(n.current=de[E],de[E]=null,E--)}
vendor: 10,191 bytes, lines 18-25
18function j(n,a){E++,de[E]=n.current,n.current=a}var He=ve(null),ft=ve(null),Oe=ve(null),Ot=ve(null);function en(n,a){switch(j(Oe,a),j(ft,n),j(He,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?Mv(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=Mv(a),n=_v(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Me(He),j(He,n)}function Pt(){Me(He),Me(ft),Me(Oe)}function $n(n){n.memoizedState!==null&&j(Ot,n);var a=He.current,l=_v(a,n.type);a!==l&&(j(ft,n),j(He,l))}function yi(n){ft.current===n&&(Me(He),Me(ft)),Ot.current===n&&(Me(Ot),uo._currentValue=re)}var Er,Bt;function mn(n){if(Er===void 0)try{throw Error()}catch(l){var a=l.stack.trim().match(/\n( *(at )?)/);Er=a&&a[1]||"",Bt=-1<l.stack.indexOf(` 19 at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return` 20`+Er+n+Bt}var Ji=!1;function za(n,a){if(!n||Ji)return"";Ji=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(a){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(Y){var q=Y}Reflect.construct(n,[],Q)}else{try{Q.call()}catch(Y){q=Y}n.call(Q.prototype)}}else{try{throw Error()}catch(Y){q=Y}(Q=n())&&typeof Q.catch=="function"&&Q.catch(function(){})}}catch(Y){if(Y&&q&&typeof Y.stack=="string")return[Y.stack,q.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=c.DetermineComponentFrameRoot(),w=g[0],k=g[1];if(w&&k){var _=w.split(` 21`),F=k.split(` 22`);for(m=c=0;c<_.length&&!_[c].includes("DetermineComponentFrameRoot");)c++;for(;m<F.length&&!F[m].includes("DetermineComponentFrameRoot");)m++;if(c===_.length||m===F.length)for(c=_.length-1,m=F.length-1;1<=c&&0<=m&&_[c]!==F[m];)m--;for(;1<=c&&0<=m;c--,m--)if(_[c]!==F[m]){if(c!==1||m!==1)do if(c--,m--,0>m||_[c]!==F[m]){var X=` 23`+_[c].replace(" at new "," at ");return n.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",n.displayName)),X}while(1<=c&&0<=m);break}}}finally{Ji=!1,Error.prepareStackTrace=l}return(l=n?n.displayName||n.name:"")?mn(l):""}function Xn(n,a){switch(n.tag){case 26:case 27:case 5:return mn(n.type);case 16:return mn("Lazy");case 13:return n.child!==a&&a!==null?mn("Suspense Fallback"):mn("Suspense");case 19:return mn("SuspenseList");case 0:case 15:return za(n.type,!1);case 11:return za(n.type.render,!1);case 1:return za(n.type,!0);case 31:return mn("Activity");default:return""}}function os(n){try{var a="",l=null;do a+=Xn(n,l),l=n,n=n.return;while(n);return a}catch(c){return` 24Error generating stack: `+c.message+` 25`+c.stack}}var La=Object.prototype.hasOwnProperty,Wi=e.unstable_scheduleCallback,jr=e.unstable_cancelCallback,kl=e.unstable_shouldYield,Tl=e.unstable_requestPaint,an=e.unstable_now,xi=e.unstable_getCurrentPriorityLevel,$=e.unstable_ImmediatePriority,ce=e.unstable_UserBlockingPriority,Ne=e.unstable_NormalPriority,ze=e.unstable_LowPriority,Ge=e.unstable_IdlePriority,xn=e.log,bi=e.unstable_setDisableYieldValue,$t=null,Ut=null;function Rt(n){if(typeof xn=="function"&&bi(n),Ut&&typeof Ut.setStrictMode=="function")try{Ut.setStrictMode($t,n)}catch{}}var ht=Math.clz32?Math.clz32:Gd,vi=Math.log,Cn=Math.LN2;function Gd(n){return n>>>=0,n===0?32:31-(vi(n)/Cn|0)|0}var Nr=256,Qi=262144,Rr=4194304;function wi(n){var a=n&42;if(a!==0)return a;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function us(n,a,l){var c=n.pendingLanes;if(c===0)return 0;var m=0,g=n.suspendedLanes,w=n.pingedLanes;n=n.warmLanes;var k=c&134217727;return k!==0?(c=k&~g,c!==0?m=wi(c):(w&=k,w!==0?m=wi(w):l||(l=k&~n,l!==0&&(m=wi(l))))):(k=c&~g,k!==0?m=wi(k):w!==0?m=wi(w):l||(l=c&~n,l!==0&&(m=wi(l)))),m===0?0:a!==0&&a!==m&&(a&g)===0&&(g=m&-m,l=a&-a,g>=l||g===32&&(l&4194048)!==0)?a:m}function Oa(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function Yd(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Cl(){var n=Rr;return Rr<<=1,(Rr&62914560)===0&&(Rr=4194304),n}function Pa(n){for(var a=[],l=0;31>l;l++)a.push(n);return a}function zi(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function du(n,a,l,c,m,g){var w=n.pendingLanes;n.pendingLanes=l,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=l,n.entangledLanes&=l,n.errorRecoveryDisabledLanes&=l,n.shellSuspendCounter=0;var k=n.entanglements,_=n.expirationTimes,F=n.hiddenUpdates;for(l=w&~l;0<l;){var X=31-ht(l),Q=1<<X;k[X]=0,_[X]=-1;var q=F[X];if(q!==null)for(F[X]=null,X=0;X<q.length;X++){var Y=q[X];Y!==null&&(Y.lane&=-536870913)}l&=~Q}c!==0&&fu(n,c,0),g!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=g&~(w&~a))}function fu(n,a,l){n.pendingLanes|=a,n.suspendedLanes&=~a;var c=31-ht(a);n.entangledLanes|=a,n.entanglements[c]=n.entanglements[c]|1073741824|l&261930}function hu(n,a){var l=n.entangledLanes|=a;for(n=n.entanglements;l;){var c=31-ht(l),m=1<<c;m&a|n[c]&a&&(n[c]|=a),l&=~m}}function D(n,a){var l=a&-a;return l=(l&42)!==0?1:P(l),(l&(n.suspendedLanes|a))!==0?0:l}function P(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function V(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function ie(){var n=J.p;return n!==0?n:(n=window.event,n===void 0?32:t0(n.type))}function ae(n,a){var l=J.p;try{return J.p=n,a()}finally{J.p=l}}var ye=Math.random().toString(36).slice(2),he="__reactFiber$"+ye,me="__reactProps$"+ye,fe="__reactContainer$"+ye,Ae="__reactEvents$"+ye,De="__reactListeners$"+ye,je="__reactHandles$"+ye,Le="__reactResources$"+ye,ot="__reactMarker$"+ye;function at(n){delete n[he],delete n[me],delete n[Ae],delete n[De],delete n[je]}function kt(n){var a=n[he];if(a)return a;for(var l=n.parentNode;l;){if(a=l[fe]||l[he]){if(l=a.alternate,a.child!==null||l!==null&&l.child!==null)for(n=Uv(n);n!==null;){if(l=n[he])return l;n=Uv(n)}return a}n=l,l=n.parentNode}return null}function Ve(n){if(n=n[he]||n[fe]){var a=n.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return n}return null}function bn(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error(r(33))}function _t(n){var a=n[Le];return a||(a=n[Le]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function ut(n){n[ot]=!0}var Si=new Set,ea={};function Jn(n,a){Xt(n,a),Xt(n+"Capture",a)}function Xt(n,a){for(ea[n]=a,n=0;n<a.length;n++)Si.add(a[n])}var Ba=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ta={},na={};function cs(n){return La.call(na,n)?!0:La.call(ta,n)?!1:Ba.test(n)?na[n]=!0:(ta[n]=!0,!1)}function ia(n,a,l){if(cs(a))if(l===null)n.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var c=a.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){n.removeAttribute(a);return}}n.setAttribute(a,""+l)}}function aa(n,a,l){if(l===null)n.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}n.setAttribute(a,""+l)}}function Pe(n,a,l,c){if(c===null)n.removeAttribute(l);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttributeNS(a,l,""+c)}}function ct(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Wn(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Ua(n,a,l){var c=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);if(!n.hasOwnProperty(a)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var m=c.get,g=c.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return m.call(this)},set:function(w){l=""+w,g.call(this,w)}}),Object.defineProperty(n,a,{enumerable:c.enumerable}),{getValue:function(){return l},setValue:function(w){l=""+w},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Mr(n){if(!n._valueTracker){var a=Wn(n)?"checked":"value";n._valueTracker=Ua(n,a,""+n[a])}}function Ct(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var l=a.getValue(),c="";return n&&(c=Wn(n)?n.checked?"true":"false":n.value),n=c,n!==l?(a.setValue(n),!0):!1}function Qn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var mu=/[\n"\\]/g;function An(n){return n.replace(mu,function(a){return"\\"+a.charCo
vendor: 4,418 bytes, line 25
25deAt(0).toString(16)+" "})}function Zd(n,a,l,c,m,g,w,k){n.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?n.type=w:n.removeAttribute("type"),a!=null?w==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+ct(a)):n.value!==""+ct(a)&&(n.value=""+ct(a)):w!=="submit"&&w!=="reset"||n.removeAttribute("value"),a!=null?$d(n,w,ct(a)):l!=null?$d(n,w,ct(l)):c!=null&&n.removeAttribute("value"),m==null&&g!=null&&(n.defaultChecked=!!g),m!=null&&(n.checked=m&&typeof m!="function"&&typeof m!="symbol"),k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"?n.name=""+ct(k):n.removeAttribute("name")}function Cy(n,a,l,c,m,g,w,k){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.type=g),a!=null||l!=null){if(!(g!=="submit"&&g!=="reset"||a!=null)){Mr(n);return}l=l!=null?""+ct(l):"",a=a!=null?""+ct(a):l,k||a===n.value||(n.value=a),n.defaultValue=a}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=k?n.checked:!!c,n.defaultChecked=!!c,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(n.name=w),Mr(n)}function $d(n,a,l){a==="number"&&Qn(n.ownerDocument)===n||n.defaultValue===""+l||(n.defaultValue=""+l)}function ds(n,a,l,c){if(n=n.options,a){a={};for(var m=0;m<l.length;m++)a["$"+l[m]]=!0;for(l=0;l<n.length;l++)m=a.hasOwnProperty("$"+n[l].value),n[l].selected!==m&&(n[l].selected=m),m&&c&&(n[l].defaultSelected=!0)}else{for(l=""+ct(l),a=null,m=0;m<n.length;m++){if(n[m].value===l){n[m].selected=!0,c&&(n[m].defaultSelected=!0);return}a!==null||n[m].disabled||(a=n[m])}a!==null&&(a.selected=!0)}}function Ay(n,a,l){if(a!=null&&(a=""+ct(a),a!==n.value&&(n.value=a),l==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=l!=null?""+ct(l):""}function Ey(n,a,l,c){if(a==null){if(c!=null){if(l!=null)throw Error(r(92));if(ne(c)){if(1<c.length)throw Error(r(93));c=c[0]}l=c}l==null&&(l=""),a=l}l=ct(a),n.defaultValue=l,c=n.textContent,c===l&&c!==""&&c!==null&&(n.value=c),Mr(n)}function fs(n,a){if(a){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=a;return}}n.textContent=a}var CC=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function jy(n,a,l){var c=a.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?c?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":c?n.setProperty(a,l):typeof l!="number"||l===0||CC.has(a)?a==="float"?n.cssFloat=l:n[a]=(""+l).trim():n[a]=l+"px"}function Ny(n,a,l){if(a!=null&&typeof a!="object")throw Error(r(62));if(n=n.style,l!=null){for(var c in l)!l.hasOwnProperty(c)||a!=null&&a.hasOwnProperty(c)||(c.indexOf("--")===0?n.setProperty(c,""):c==="float"?n.cssFloat="":n[c]="");for(var m in a)c=a[m],a.hasOwnProperty(m)&&l[m]!==c&&jy(n,m,c)}else for(var g in a)a.hasOwnProperty(g)&&jy(n,g,a[g])}function Xd(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var AC=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
25dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),EC=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function pu(n){return EC.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function ra(){}var Jd=null;function Wd(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var hs=null,ms=null;function Ry(n){var a=Ve(n);if(a&&(n=a.stateNode)){var l=n[me]||null;e:switch(n=a.stateNode,a.type){case"input":if(Zd(n,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),a=l.name,l.type==="radio"&&a!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+An(""+a)+'"][type="radio"]'),a=0;a<l.length;a++){var c=l[a];if(c!==n&&c.form===n.form){var m=c[me]||null;if(!m)throw Error(r(90));Zd(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(a=0;a<l.length;a++)c=l[a],c.form===n.form&&Ct(c)}break e;case"textarea":Ay(n,l.value,l.defaultValue);break e;case"select":a=l.value,a!=null&&ds(n,!!l.multiple,a,!1)}}}var Qd=!1;function My(n,a,l){if(Qd)return n(a,l);Qd=!0;try{var c=n(a);return c}finally{if(Qd=!1,(hs!==null||ms!==null)&&(nc(),hs&&(a=hs,n=ms,ms=hs=null,Ry(a),n)))for(a=0;a<n.length;a++)Ry(n[a])}}function Al(n,a){var l=n.stateNode;if(l===null)return null;var c=l[me]||null;if(c===null)return null;l=c[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(r(231,a,typeof l));return l}var sa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ef=!1;if(sa)try{var El={};Object.defineProperty(El,"passive",{get:function(){ef=!0}}),window.addEventListener("test",El,El),window.removeEventListener("test",El,El)}catch{ef=!1}var Ha=null,tf=null,gu=null;function _y(){if(gu)return gu;var n,a=tf,l=a.length,c,m="value"in Ha?Ha.value:Ha.textContent,g=m.length;for(n=0;n<l&&a[n]===m[n];n++);var w=l-n;for(c=1;c<=w&&a[l-c]===m[g-c];c++);return gu=m.slice(n,1<c?1-c:void 0)}function yu(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function xu(){return!0}function Dy(){return!1}function En(n){function a(l,c,m,g,w){this._reactName=l,this._targetInst=m,this.type=c,this.nativeEvent=g,this.target=w,this.currentTarget=null;for(var k in n)n.hasOwnProperty(k)&&(l=n[k],this[k]=l?l(g):g[k]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?xu:Dy,this.isPropagationStopped=Dy,this}return x(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=xu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=xu)},persist:function(){},isPersistent:xu}),a}var _r={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bu=En(_r),jl=x({},_r,{view:0,detail:0}),jC=En(jl),nf,af,Nl,vu=x({},jl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sf,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Nl&&(Nl&&n.type==="mousemove"?(nf=n.screenX-Nl.screenX,af=n.screenY-Nl.screenY):af=nf=0,Nl=n),nf)},movementY:function(n){return"movementY"in n?n.movementY:af}}),zy=En(vu),NC=x({},vu,{dataTransfer:0}),RC=En(NC),MC=x({},jl,{relatedTarget:0}),rf=En(MC),_C=x({},_r,{animationName:0,elapsedTime:0,pseudoElement:0}),DC=En(_C),zC=x({},_r,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),LC=En(zC),OC=x({},_r,{data:0}),Ly=En(OC),PC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},BC={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},UC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function HC(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=UC[n])?!!a[n]:!1}function sf(){return HC}var VC=x({},jl,{key:function(n){if(n.key){var a=PC[n.key]||n.key;if(a!=="Unidentified")return a}
vendor: 5,186 bytes, line 25
25return n.type==="keypress"?(n=yu(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?BC[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sf,charCode:function(n){return n.type==="keypress"?yu(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?yu(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),IC=En(VC),FC=x({},vu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Oy=En(FC),qC=x({},jl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sf}),KC=En(qC),GC=x({},_r,{propertyName:0,elapsedTime:0,pseudoElement:0}),YC=En(GC),ZC=x({},vu,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),$C=En(ZC),XC=x({},_r,{newState:0,oldState:0}),JC=En(XC),WC=[9,13,27,32],lf=sa&&"CompositionEvent"in window,Rl=null;sa&&"documentMode"in document&&(Rl=document.documentMode);var QC=sa&&"TextEvent"in window&&!Rl,Py=sa&&(!lf||Rl&&8<Rl&&11>=Rl),By=" ",Uy=!1;function Hy(n,a){switch(n){case"keyup":return WC.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vy(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var ps=!1;function eA(n,a){switch(n){case"compositionend":return Vy(a);case"keypress":return a.which!==32?null:(Uy=!0,By);case"textInput":return n=a.data,n===By&&Uy?null:n;default:return null}}function tA(n,a){if(ps)return n==="compositionend"||!lf&&Hy(n,a)?(n=_y(),gu=tf=Ha=null,ps=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Py&&a.locale!=="ko"?null:a.data;default:return null}}var nA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Iy(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!nA[n.type]:a==="textarea"}function Fy(n,a,l,c){hs?ms?ms.push(c):ms=[c]:hs=c,a=uc(a,"onChange"),0<a.length&&(l=new bu("onChange","change",null,l,c),n.push({event:l,listeners:a}))}var Ml=null,_l=null;function iA(n){Cv(n,0)}function wu(n){var a=bn(n);if(Ct(a))return n}function qy(n,a){if(n==="change")return a}var Ky=!1;if(sa){var of;if(sa){var uf="oninput"in document;if(!uf){var Gy=document.createElement("div");Gy.setAttribute("oninput","return;"),uf=typeof Gy.oninput=="function"}of=uf}else of=!1;Ky=of&&(!document.documentMode||9<document.documentMode)}function Yy(){Ml&&(Ml.detachEvent("onpropertychange",Zy),_l=Ml=null)}function Zy(n){if(n.propertyName==="value"&&wu(_l)){var a=[];Fy(a,_l,n,Wd(n)),My(iA,a)}}function aA(n,a,l){n==="focusin"?(Yy(),Ml=a,_l=l,Ml.attachEvent("onpropertychange",Zy)):n==="focusout"&&Yy()}function rA(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return wu(_l)}function sA(n,a){if(n==="click")return wu(a)}function lA(n,a){if(n==="input"||n==="change")return wu(a)}function oA(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var On=typeof Object.is=="function"?Object.is:oA;function Dl(n,a){if(On(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var l=Object.keys(n),c=Object.keys(a);if(l.length!==c.length)return!1;for(c=0;c<l.length;c++){var m=l[c];if(!La.call(a,m)||!On(n[m],a[m]))return!1}return!0}function $y(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Xy(n,a){var l=$y(n);n=0;for(var c;l;){if(l.nodeType===3){if(c=n+l.textContent.length,n<=a&&c>=a)return{node:l,offset:a-n};n=c}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=$y(l)}}function Jy(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?Jy(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function Wy(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=Qn(n.document);a instanceof n.HTMLIFrameElement;){try{var l=typeof a.contentWindow.location.href=="string"}catch{l=!1}if(l)n=a.contentWindow;else break;a=Qn(n.document)}return a}function cf(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var uA=sa&&"documentMode"in document&&11>=document.documentMode,gs=null,df=null,zl=null,ff=!1;function Qy(n,a,l){var c=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;ff||gs==null||gs!==Qn(c)||(c=gs,"selectionStart"in c&&cf(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focu
vendor: 19,147 bytes, line 25
25sNode:c.focusNode,focusOffset:c.focusOffset}),zl&&Dl(zl,c)||(zl=c,c=uc(df,"onSelect"),0<c.length&&(a=new bu("onSelect","select",null,a,l),n.push({event:a,listeners:c}),a.target=gs)))}function Dr(n,a){var l={};return l[n.toLowerCase()]=a.toLowerCase(),l["Webkit"+n]="webkit"+a,l["Moz"+n]="moz"+a,l}var ys={animationend:Dr("Animation","AnimationEnd"),animationiteration:Dr("Animation","AnimationIteration"),animationstart:Dr("Animation","AnimationStart"),transitionrun:Dr("Transition","TransitionRun"),transitionstart:Dr("Transition","TransitionStart"),transitioncancel:Dr("Transition","TransitionCancel"),transitionend:Dr("Transition","TransitionEnd")},hf={},ex={};sa&&(ex=document.createElement("div").style,"AnimationEvent"in window||(delete ys.animationend.animation,delete ys.animationiteration.animation,delete ys.animationstart.animation),"TransitionEvent"in window||delete ys.transitionend.transition);function zr(n){if(hf[n])return hf[n];if(!ys[n])return n;var a=ys[n],l;for(l in a)if(a.hasOwnProperty(l)&&l in ex)return hf[n]=a[l];return n}var tx=zr("animationend"),nx=zr("animationiteration"),ix=zr("animationstart"),cA=zr("transitionrun"),dA=zr("transitionstart"),fA=zr("transitioncancel"),ax=zr("transitionend"),rx=new Map,mf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");mf.push("scrollEnd");function ki(n,a){rx.set(n,a),Jn(a,[n])}var Su=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},ei=[],xs=0,pf=0;function ku(){for(var n=xs,a=pf=xs=0;a<n;){var l=ei[a];ei[a++]=null;var c=ei[a];ei[a++]=null;var m=ei[a];ei[a++]=null;var g=ei[a];if(ei[a++]=null,c!==null&&m!==null){var w=c.pending;w===null?m.next=m:(m.next=w.next,w.next=m),c.pending=m}g!==0&&sx(l,m,g)}}function Tu(n,a,l,c){ei[xs++]=n,ei[xs++]=a,ei[xs++]=l,ei[xs++]=c,pf|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function gf(n,a,l,c){return Tu(n,a,l,c),Cu(n)}function Lr(n,a){return Tu(n,null,null,a),Cu(n)}function sx(n,a,l){n.lanes|=l;var c=n.alternate;c!==null&&(c.lanes|=l);for(var m=!1,g=n.return;g!==null;)g.childLanes|=l,c=g.alternate,c!==null&&(c.childLanes|=l),g.tag===22&&(n=g.stateNode,n===null||n._visibility&1||(m=!0)),n=g,g=g.return;return n.tag===3?(g=n.stateNode,m&&a!==null&&(m=31-ht(l),n=g.hiddenUpdates,c=n[m],c===null?n[m]=[a]:c.push(a),a.lane=l|536870912),g):null}function Cu(n){if(50<no)throw no=0,Ch=null,Error(r(185));for(var a=n.return;a!==null;)n=a,a=n.return;return n.tag===3?n.stateNode:null}var bs={};function hA(n,a,l,c){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pn(n,a,l,c){return new hA(n,a,l,c)}function yf(n){return n=n.prototype,!(!n||!n.isReactComponent)}function la(n,a){var l=n.alternate;return l===null?(l=Pn(n.tag,a,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=a,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&65011712,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,a=n.dependencies,l.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l.refCleanup=n.refCleanup,l}function lx(n,a){n.flags&=65011714;var l=n.alternate;return l===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=l.childLanes,n.lanes=l.lanes,n.child=l.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=l.memoizedProps,n.memoizedState=l.memoizedState,n.updateQueue=l.updateQueue,n.type=l.type,a=l.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),n}function Au(n,a,l,c,m,g){var w=0;if(c=n,typeof n=="function")yf(n)&&(w=1);else if(typeof n=="string")w=xE(n,l,He.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case se:return n=Pn(31,l,a,m),n.elementType=se,n.lanes=g,n;case T:return Or(l.children,m,g,a);case C:w=8,m|=24;break;case A:return n=Pn(12,l,a,m|2),n.elementType=A,n.lanes=g,n;case G:return n=Pn(13,l,a,m),n.elementType=G,n.lanes=g,n;case U:return n=Pn(19,l,a,m),n.elementType=U,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case M:w=10;break e;case N:w=9;break e;case K:w=11;break e;case ee:w=14;break e;case L:w=16,c=null;break e}w=29,l=Error(r(130,n===null?"null":typeof n,"")),c=null}return a=Pn(w,l,a,m),a.elementType=n,a.type=c,a.lanes=g,a}function Or(n,a,l,c){return n=Pn(7,n,c,a),n.lanes=l,n}function xf(n,a,l){return n=Pn(6,n,null,a),n.lanes=l,n}function ox(n){var a=Pn(18,null,null,0);return a.stateNode=n,a}function bf(n,a,l){return a=Pn(4,n.children!==null?n.children:[],n.key,a),a.lanes=l,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var ux=new WeakMap;function ti(n,a){if(typeof n=="object"&&n!==null){var l=ux.get(n);return l!==void 0?l:(a={value:n,source:a,stack:os(a)},ux.set(n,a),a)}return{value:n,source:a,stack:os(a)}}var vs=[],ws=0,Eu=null,Ll=0,ni=[],ii=0,Va=null,Li=1,Oi="";function oa(n,a){vs[ws++]=Ll,vs[ws++]=Eu,Eu=n,Ll=a}function cx(n,a,l){ni[ii++]=Li,ni[ii++]=Oi,ni[ii++]=Va,Va=n;var c=Li;n=Oi;var m=32-ht(c)-1;c&=~(1<<m),l+=1;var g=32-ht(a)+m;if(30<g){var w=m-m%5;g=(c&(1<<w)-1).toString(32),c>>=w,m-=w,Li=1<<32-ht(a)+m|l<<m|c,Oi=g+n}else Li=1<<g|l<<m|c,Oi=n}function vf(n){n.return!==null&&(oa(n,1),cx(n,1,0))}function wf(n){for(;n===Eu;)Eu=vs[--ws],vs[ws]=null,Ll=vs[--ws],vs[ws]=null;for(;n===Va;)Va=ni[--ii],ni[ii]=null,Oi=ni[--ii],ni[ii]=null,Li=ni[--ii],ni[ii]=null}function dx(n,a){ni[ii++]=Li,ni[ii++]=Oi,ni[ii++]=Va,Li=a.id,Oi=a.overflow,Va=n}var rn=null,At=null,tt=!1,Ia=null,ai=!1,Sf=Error(r(519));function Fa(n){var a=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ol(ti(a,n)),Sf}function fx(n){var a=n.stateNode,l=n.type,c=n.memoizedProps;switch(a[he]=n,a[me]=c,l){case"dialog":Xe("cancel",a),Xe("close",a);break;case"iframe":case"object":case"embed":Xe("load",a);break;case"video":case"audio":for(l=0;l<ao.length;l++)Xe(ao[l],a);break;case"source":Xe("error",a);break;case"img":case"image":case"link":Xe("error",a),Xe("load",a);break;case"details":Xe("toggle",a);break;case"input":Xe("invalid",a),Cy(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":Xe("invalid",a);break;case"textarea":Xe("invalid",a),Ey(a,c.value,c.defaultValue,c.children)}l=c.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||a.textContent===""+l||c.suppressHydrationWarning===!0||Nv(a.textContent,l)?(c.popover!=null&&(Xe("beforetoggle",a),Xe("toggle",a)),c.onScroll!=null&&Xe("scroll",a),c.onScrollEnd!=null&&Xe("scrollend",a),c.onClick!=null&&(a.onclick=ra),a=!0):a=!1,a||Fa(n,!0)}function hx(n){for(rn=n.return;rn;)switch(rn.tag){case 5:case 31:case 13:ai=!1;return;case 27:case 3:ai=!0;return;default:rn=rn.return}}function Ss(n){if(n!==rn)return!1;if(!tt)return hx(n),tt=!0,!1;var a=n.tag,l;if((l=a!==3&&a!==27)&&((l=a===5)&&(l=n.type,l=!(l!=="form"&&l!=="button")||Hh(n.type,n.memoizedProps)),l=!l),l&&At&&Fa(n),hx(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));At=Bv(n)}else if(a===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));At=Bv(n)}else a===27?(a=At,ir(n.type)?(n=Kh,Kh=null,At=n):At=a):At=rn?si(n.stateNode.nextSibling):null;return!0}function Pr(){At=rn=null,tt=!1}function kf(){var n=Ia;return n!==null&&(Mn===null?Mn=n:Mn.push.apply(Mn,n),Ia=null),n}function Ol(n){Ia===null?Ia=[n]:Ia.push(n)}var Tf=ve(null),Br=null,ua=null;function qa(n,a,l){j(Tf,a._currentValue),a._currentValue=l}function ca(n){n._currentValue=Tf.current,Me(Tf)}function Cf(n,a,l){for(;n!==null;){var c=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,c!==null&&(c.childLanes|=a)):c!==null&&(c.childLanes&a)!==a&&(c.childLanes|=a),n===l)break;n=n.return}}function Af(n,a,l,c){var m=n.child;for(m!==null&&(m.return=n);m!==null;){var g=m.dependencies;if(g!==null){var w=m.child;g=g.firstContext;e:for(;g!==null;){var k=g;g=m;for(var _=0;_<a.length;_++)if(k.context===a[_]){g.lanes|=l,k=g.alternate,k!==null&&(k.lanes|=l),Cf(g.return,l,n),c||(w=null);break e}g=k.next}}else if(m.tag===18){if(w=m.return,w===null)throw Error(r(341));w.lanes|=l,g=w.alternate,g!==null&&(g.lanes|=l),Cf(w,l,n),w=null}else w=m.child;if(w!==null)w.return=m;else for(w=m;w!==null;){if(w===n){w=null;break}if(m=w.sibling,m!==null){m.return=w.return,w=m;break}w=w.return}m=w}}function ks(n,a,l,c){n=null;for(var m=a,g=!1;m!==null;){if(!g){if((m.flags&524288)!==0)g=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var w=m.alternate;if(w===null)throw Error(r(387));if(w=w.memoizedProps,w!==null){var k=m.type;On(m.pendingProps.value,w.value)||(n!==null?n.push(k):n=[k])}}else if(m===Ot.current){if(w=m.alternate,w===null)throw Error(r(387));w.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(n!==null?n.push(uo):n=[uo])}m=m.return}n!==null&&Af(a,n,l,c),a.flags|=262144}function ju(n){for(n=n.firstContext;n!==null;){if(!On(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Ur(n){Br=n,ua=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function sn(n){return mx(Br,n)}function Nu(n,a){return Br===null&&Ur(n),mx(n,a)}function mx(n,a){var l=a._currentValue;if(a={context:a,memoizedValue:l,next:null},ua===null){if(n===null)throw Error(r(308));ua=a,n.dependencies={lanes:0,firstContext:a},n.flags|=524288}else ua=ua.next=a;return l}var mA=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(l,c){n.push(c)}};this.abort=function(){a.aborted=!0,n.forEach(function(l){return l()})}},pA=e.unstable_scheduleCallback,gA=e.unstable_NormalPriority,It={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ef(){return{controller:new mA,data:new Map,refCount:0}}function Pl(n){n.refCount--,n.refCount===0&&pA(gA,function(){n.controller.abort()})}var Bl=null,jf=0,Ts=0,Cs=null;function yA(n,a){if(Bl===null){var l=Bl=[];jf=0,Ts=Mh(),Cs={status:"pending",value:void 0,then:function(c){l.push(c)}}}return jf++,a.then(px,px),a}function px(){if(--jf===0&&Bl!==null){Cs!==null&&(Cs.status="fulfilled");var n=Bl;Bl=null,Ts=0,Cs=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function xA(n,a){var l=[],c={status:"pending",value:null,reason:null,then:function(m){l.push(m)}};return n.then(function(){c.status="fulfilled",c.value=a;for(var m=0;m<l.length;m++)(0,l[m])(a)},function(m){for(c.status="rejected",c.reason=m,m=0;m<l.length;m++)(0,l[m])(void 0)}),c}var gx=H.S;H.S=function(n,a){Qb=an(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&yA(n,a),gx!==null&&gx(n,a)};var Hr=ve(null);function Nf(){var n=Hr.current;return n!==null?n:bt.pooledCache}function Ru(n,a){a===null?j(Hr,Hr.current):j(Hr,a.pool)}function yx(){var n=Nf();return n===null?null:{parent:It._currentValue,pool:n}}var As=Error(r(460)),Rf=Error(r(474)),Mu=Error(r(542)),_u={then:function(){}};function xx(n){return n=n.status,n==="fulfilled"||n==="rejected"}function bx(n,a,l){switch(l=n[l],l===void 0?n.push(a):l!==a&&(a.then(ra,ra),a=l),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,wx(n),n;default:if(typeof a.status=="string")a.then(ra,ra);else{if(n=bt,n!==null&&100<n.shellSuspendCounter)throw Error(r(482));n=a,n.status="pending",n.then(function(c){if(a.status==="pending"){var m=a;m.status="fulfilled",m.value=c}},function(c){if(a.status==="pending"){var m=a;m.status="rejected",m.reason=c}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,wx(n),n}throw Ir=a,As}}function Vr(n){try{var a=n._init;return a(n._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Ir=l,As):l}}var Ir=null;function vx(){if(Ir===null)throw Error(r(459));var n=Ir;return Ir=null,n}function wx(n){if(n===As||n===Mu)throw Error(r(483))}var Es=null,Ul=0;function Du(n){var a=Ul;return Ul+=1,Es===null&&(Es=[]),bx(Es,n,a)}function Hl(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function zu(n,a){throw a.$$typeof===b?Error(r(525)):(n=Object.prototype.toString.call(a),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)))}function Sx(n){function a(B,O){if(n){var I=B.deletions;I===null?(B.deletions=[O],B.flags|=16):I.push(O)}}function l(B,O){if(!n)return null;for(;O!==null;)a(B,O),O=O.sibling;return null}function c(B){for(var O=new Map;B!==null;)B.key!==null?O.set(B.key,B):O.set(B.index,B),B=B.sibling;return O}function m(B,O){return B=la(B,O),B.index=0,B.sibling=null,B}function g(B,O,I){return B.index=I,n?(I=B.alternate,I!==null?(I=I.index,I<O?(B.flags|=67108866,O):I):(B.flags|=67108866,O)):(B.flags|=1048576,O)}function w(B){return n&&B.alternate===null&&(B.flags|=67108866),B}function k(B,O,I,W){return O===null||O.tag!==6?(O=xf(I,B.mode,W),O.return=B,O):(O=m(O,I),O.return=B,O)}function _(B,O,I,W){var Ee=I.type;return Ee===T?X(B,O,I.props.children,W,I.key):O!==null&&(O.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===L&&Vr(Ee)===O.type)?(O=m(O,I.props),Hl(O,I),O.return=B,O):(O=Au(I.type,I.key,I.props,null,B.mode,W),Hl(O,I),O.return=B,O)}function F(B,O,I,W){return O===null||O.tag!==4||O.stateNode.containerInfo!==I.containerInfo||O.stateNode.implementation!==I.implementation?(O=bf(I,B.mode,W),O.return=B,O):(O=m(O,I.children||[]),O.return=B,O)}function X(B,O,I,W,Ee){return O===null||O.tag!==7?(O=Or(I,B.mode,W,Ee),O.return=B,O):(O=m(O,I),O.return=B,O)}function Q(B,O,I){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=xf(""+O,B.mode,I),O.return=B,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case v:return I=Au(O.type,O.key,O.props,null,B.mode,I),Hl(I,O),I.return=B,I;case S:return O=bf(O,B.mode,I),O.return=B,O;case L:return O=Vr(O),Q(B,O,I)}if(ne(O)||Z(O))return O=Or(O,B.mode,I,null),O.return=B,O;if(typeof O.then=="function")return Q(B,Du(O),I);if(O.$$typeof===M)return Q(B,Nu(B,O),I);zu(B,O)}return null}function q(B,O,I,W){var Ee=O!==null?O.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return Ee!==null?null:k(B,O,""+I,W);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case v:return I.key===Ee?_(B,O,I,W):null;case S:return I.key===Ee?F(B,O,I,W):null;case L:return I=Vr(I),q(B,O,I,W)}if(ne(I)||Z(I))return Ee!==null?null:X(B,O,I,W,null);if(typeof I.then=="function")return q(B,O,Du(I),W);if(I.$$typeof===M)return q(B,O,Nu(B,I),W);zu(B,I)}return null}function Y(B,O,I,W,Ee){if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return B=B.get(I)||null,k(O,B,""+W,Ee);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case v:return B=B.get(W.key===null?I:W.key)||null,_(O,B,W,Ee);case S:return B=B.get(W.key===null?I:W.key)||null,F(O,B,W,Ee);case L:return W=Vr(W),Y(B,O,I,W,Ee)}if(ne(W)||Z(W))return B=B.get(I)||null,X(O,B,W,Ee,null);if(typeof W.then=="function")return Y(B,O,I,Du(W),Ee);if(W.$$typeof===M)return Y(B,O,I,Nu(O,W),Ee);zu(O,W)}return null}function be(B,O,I,W){for(var Ee=null,rt=null,ke=O,Fe=O=0,Qe=null;ke!==null&&Fe<I.length;Fe++){ke.index>Fe?(Qe=ke,ke=null):Qe=ke.sibling;var st=q(B,ke,I[Fe],W);if(st===null){ke===null&&(ke=Qe);break}n&&ke&&st.alternate===null&&a(B,ke),O=g(st,O,Fe),rt===null?Ee=st:rt.sibling=st,rt=st,ke=Qe}if(Fe===I.length)return l(B,ke),tt&&oa(B,Fe),Ee;if(ke===null){for(;Fe<I.length;Fe++)ke=Q(B,I[Fe],W),ke!==null&&(O=g(ke,O,Fe),rt===null?Ee=ke:rt.sibling=ke,rt=ke);return tt&&oa(B,Fe),Ee}for(ke=c(ke);Fe<I.length;Fe++)Qe=Y(ke,B,Fe,I[Fe],W),Qe!==null&&(n&&Qe.alternate!==null&&ke.delete(Qe.key===null?Fe:Qe.key),O=g(Qe,O,Fe),rt===null?Ee=Qe:rt.sibling=Qe,rt=Qe);return n&&ke.forEach(function(or){return a(B,or)}),tt&&oa(B,Fe),Ee}function _e(B,O,I,W){if(I==null)throw Error(r(151));for(var Ee=null,rt=null,ke=O,Fe=O=0,Qe=null,st=I.next();ke!==null&&!st.done;Fe++,st=I.next()){ke.index>Fe?(Qe=ke,ke=null):Qe=ke.sibling;var or=q(B,ke,st.value,W);if(or===null){ke===null&&(ke=Qe);break}n&&ke&&or.alternate===null&&a(B,ke),O=g(or,O,Fe),rt===null?Ee=or:rt.sibling=or,rt=or,ke=Qe}if(st.done)return l(B,ke),tt&&oa(B,Fe),Ee;if(ke===null){for(;!st.done;Fe++,st=I.next())st=Q(B,st.value,W),st!==null&&(O=g(st,O,Fe),rt===null?Ee=st:rt.sibling=st,rt=st);return tt&&oa(B,Fe),Ee}for(ke=c(ke);!st.done;Fe++,st=I.next())st=Y(ke,B,Fe,st.value,W),st!==null&&(n&&st.alternate!==null&&ke.delete(st.key===null?Fe:st.key),O=g(st,O,Fe),rt===null?Ee=st:rt.sibling=st,rt=st);return n&&ke.forEach(function(NE){return a(B,NE)}),tt&&oa(B,Fe),Ee}function xt(B,O,I,W){if(typeof I=="object"&&I!==null&&I.type===T&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case v:e:{for(var Ee=I.key;O!==null;){if(O.key===Ee){if(Ee=I.type,Ee===T){if(O.tag===7){l(B,O.sibling),W=m(O,I.props.children),W.return=B,B=W;break e}}else if(O.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===L&&Vr(Ee)===O.type){l(B,O.sibling),W=m(O,I.props),Hl(W,I),W.return=B,B=W;break e}l(B,O);break}else a(B,O);O=O.sibling}I.type===T?(W=Or(I.props.children,B.mode,W,I.key),W.return=B,B=W):(W=Au(I.type,I.key,I.props,null,B.mode,W),Hl(W,I),W.return=B,B=W)}return w(B);case S:e:{for(Ee=I.key;O!==null;){if(O.key===Ee)if(O.tag===4&&O.stateNode.containerInfo===I.containerInfo&&O.stateNode.implementation===I.implementation){l(B,O.sibling),W=m(O,I.children||[]),W.return=B,B=W;break e}else{l(B,O);break}else a(B,O);O=O.sibling}W=bf(I,B.mode,W),W.return=B,B=W}return w(B);case L:return I=Vr(I),xt(B,O,I,W)}if(ne(I))return be(B,O,I,W);if(Z(I)){if(Ee=Z(I),typeof Ee!="function")throw Error(r(150));return I=Ee.call(I),_e(B,O,I,W)}if(typeof I.then=="function")return xt(B,O,Du(I),W);if(I.$$typeof===M)return xt(B,O,Nu(B,I),W);zu(B,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,O!==null&&O.tag===6?(l(B,O.sibling),W=m(O,I),W.return=B,B=W):(l(
vendor: 7,513 bytes, line 25
25B,O),W=xf(I,B.mode,W),W.return=B,B=W),w(B)):l(B,O)}return function(B,O,I,W){try{Ul=0;var Ee=xt(B,O,I,W);return Es=null,Ee}catch(ke){if(ke===As||ke===Mu)throw ke;var rt=Pn(29,ke,null,B.mode);return rt.lanes=W,rt.return=B,rt}finally{}}}var Fr=Sx(!0),kx=Sx(!1),Ka=!1;function Mf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function _f(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ga(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Ya(n,a,l){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(dt&2)!==0){var m=c.pending;return m===null?a.next=a:(a.next=m.next,m.next=a),c.pending=a,a=Cu(n),sx(n,null,l),a}return Tu(n,c,a,l),Cu(n)}function Vl(n,a,l){if(a=a.updateQueue,a!==null&&(a=a.shared,(l&4194048)!==0)){var c=a.lanes;c&=n.pendingLanes,l|=c,a.lanes=l,hu(n,l)}}function Df(n,a){var l=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,l===c)){var m=null,g=null;if(l=l.firstBaseUpdate,l!==null){do{var w={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};g===null?m=g=w:g=g.next=w,l=l.next}while(l!==null);g===null?m=g=a:g=g.next=a}else m=g=a;l={baseState:c.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:c.shared,callbacks:c.callbacks},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=a:n.next=a,l.lastBaseUpdate=a}var zf=!1;function Il(){if(zf){var n=Cs;if(n!==null)throw n}}function Fl(n,a,l,c){zf=!1;var m=n.updateQueue;Ka=!1;var g=m.firstBaseUpdate,w=m.lastBaseUpdate,k=m.shared.pending;if(k!==null){m.shared.pending=null;var _=k,F=_.next;_.next=null,w===null?g=F:w.next=F,w=_;var X=n.alternate;X!==null&&(X=X.updateQueue,k=X.lastBaseUpdate,k!==w&&(k===null?X.firstBaseUpdate=F:k.next=F,X.lastBaseUpdate=_))}if(g!==null){var Q=m.baseState;w=0,X=F=_=null,k=g;do{var q=k.lane&-536870913,Y=q!==k.lane;if(Y?(We&q)===q:(c&q)===q){q!==0&&q===Ts&&(zf=!0),X!==null&&(X=X.next={lane:0,tag:k.tag,payload:k.payload,callback:null,next:null});e:{var be=n,_e=k;q=a;var xt=l;switch(_e.tag){case 1:if(be=_e.payload,typeof be=="function"){Q=be.call(xt,Q,q);break e}Q=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=_e.payload,q=typeof be=="function"?be.call(xt,Q,q):be,q==null)break e;Q=x({},Q,q);break e;case 2:Ka=!0}}q=k.callback,q!==null&&(n.flags|=64,Y&&(n.flags|=8192),Y=m.callbacks,Y===null?m.callbacks=[q]:Y.push(q))}else Y={lane:q,tag:k.tag,payload:k.payload,callback:k.callback,next:null},X===null?(F=X=Y,_=Q):X=X.next=Y,w|=q;if(k=k.next,k===null){if(k=m.shared.pending,k===null)break;Y=k,k=Y.next,Y.next=null,m.lastBaseUpdate=Y,m.shared.pending=null}}while(!0);X===null&&(_=Q),m.baseState=_,m.firstBaseUpdate=F,m.lastBaseUpdate=X,g===null&&(m.shared.lanes=0),Wa|=w,n.lanes=w,n.memoizedState=Q}}function Tx(n,a){if(typeof n!="function")throw Error(r(191,n));n.call(a)}function Cx(n,a){var l=n.callbacks;if(l!==null)for(n.callbacks=null,n=0;n<l.length;n++)Tx(l[n],a)}var js=ve(null),Lu=ve(0);function Ax(n,a){n=ba,j(Lu,n),j(js,a),ba=n|a.baseLanes}function Lf(){j(Lu,ba),j(js,js.current)}function Of(){ba=Lu.current,Me(js),Me(Lu)}var Bn=ve(null),ri=null;function Za(n){var a=n.alternate;j(Ht,Ht.current&1),j(Bn,n),ri===null&&(a===null||js.current!==null||a.memoizedState!==null)&&(ri=n)}function Pf(n){j(Ht,Ht.current),j(Bn,n),ri===null&&(ri=n)}function Ex(n){n.tag===22?(j(Ht,Ht.current),j(Bn,n),ri===null&&(ri=n)):$a()}function $a(){j(Ht,Ht.current),j(Bn,Bn.current)}function Un(n){Me(Bn),ri===n&&(ri=null),Me(Ht)}var Ht=ve(0);function Ou(n){for(var a=n;a!==null;){if(a.tag===13){var l=a.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Fh(l)||qh(l)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var da=0,Ie=null,gt=null,Ft=null,Pu=!1,Ns=!1,qr=!1,Bu=0,ql=0,Rs=null,bA=0;function Dt(){throw Error(r(321))}function Bf(n,a){if(a===null)return!1;for(var l=0;l<a.length&&l<n.length;l++)if(!On(n[l],a[l]))return!1;return!0}function Uf(n,a,l,c,m,g){return da=g,Ie=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,H.H=n===null||n.memoizedState===null?cb:eh,qr=!1,g=l(c,m),qr=!1,Ns&&(g=Nx(a,l,c,m)),jx(n),g}function jx(n){H.H=Yl;var a=gt!==null&>.next!==null;if(da=0,Ft=gt=Ie=null,Pu=!1,ql=0,Rs=null,a)throw Error(r(300));n===null||qt||(n=n.dependencies,n!==null&&ju(n)&&(qt=!0))}function Nx(n,a,l,c){Ie=n;var m=0;do{if(Ns&&(Rs=null),ql=0,Ns=!1,25<=m)throw Error(r(301));if(m+=1,Ft=gt=null,n.updateQueue!=null){var g=n.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}H.H=db,g=a(l,c)}while(Ns);return g}function vA(){var n=H.H,a=n.useState()[0];return a=typeof a.then=="function"?Kl(a):a,n=n.useState()[0],(gt!==null?gt.memoizedState:null)!==n&&(Ie.flags|=1024),a}function Hf(){var n=Bu!==0;return Bu=0,n}function Vf(n,a,l){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~l}function If(n){if(Pu){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}Pu=!1}da=0,Ft=gt=Ie=null,Ns=!1,ql=Bu=0,Rs=null}function vn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ft===null?Ie.memoizedState=Ft=n:Ft=Ft.next=n,Ft}function Vt(){if(gt===null){var n=Ie.alternate;n=n!==null?n.memoizedState:null}else n=gt.next;var a=Ft===null?Ie.memoizedState:Ft.next;if(a!==null)Ft=a,gt=n;else{if(n===null)throw Ie.alternate===null?Error(r(467)):Error(r(310));gt=n,n={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},Ft===null?Ie.memoizedState=Ft=n:Ft=Ft.next=n}return Ft}function Uu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Kl(n){var a=ql;return ql+=1,Rs===null&&(Rs=[]),n=bx(Rs,n,a),a=Ie,(Ft===null?a.memoizedState:Ft.next)===null&&(a=a.alternate,H.H=a===null||a.memoizedState===null?cb:eh),n}function Hu(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Kl(n);if(n.$$typeof===M)return sn(n)}throw Error(r(438,String(n)))}function Ff(n){var a=null,l=Ie.updateQueue;if(l!==null&&(a=l.memoCache),a==null){var c=Ie.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(a={data:c.data.map(function(m){return m.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),l===null&&(l=Uu(),Ie.updateQueue=l),l.memoCache=a,l=a.data[a.index],l===void 0)for(l=a.data[a.index]=Array(n),c=0;c<n;c++)l[c]=z;return a.index++,l}function fa(n,a){return typeof a=="function"?a(n):a}function Vu(n){var a=Vt();return qf(a,gt,n)}function qf(n,a,l){var c=n.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=l;var m=n.baseQueue,g=c.pending;if(g!==null){if(m!==null){var w=m.next;m.next=g.next,g.next=w}a.baseQueue=m=g,c.pending=null}if(g=n.baseState,m===null)n.memoizedState=g;else{a=m.next;var k=w=null,_=null,F=a,X=!1;do{var Q=F.lane&-536870913;if(Q!==F.lane?(We&Q)===Q:(da&Q)===Q){var q=F.revertLane;if(q===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),Q===Ts&&(X=!0);
vendor: 7,516 bytes, line 25
25else if((da&q)===q){F=F.next,q===Ts&&(X=!0);continue}else Q={lane:0,revertLane:F.revertLane,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},_===null?(k=_=Q,w=g):_=_.next=Q,Ie.lanes|=q,Wa|=q;Q=F.action,qr&&l(g,Q),g=F.hasEagerState?F.eagerState:l(g,Q)}else q={lane:Q,revertLane:F.revertLane,gesture:F.gesture,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},_===null?(k=_=q,w=g):_=_.next=q,Ie.lanes|=Q,Wa|=Q;F=F.next}while(F!==null&&F!==a);if(_===null?w=g:_.next=k,!On(g,n.memoizedState)&&(qt=!0,X&&(l=Cs,l!==null)))throw l;n.memoizedState=g,n.baseState=w,n.baseQueue=_,c.lastRenderedState=g}return m===null&&(c.lanes=0),[n.memoizedState,c.dispatch]}function Kf(n){var a=Vt(),l=a.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=n;var c=l.dispatch,m=l.pending,g=a.memoizedState;if(m!==null){l.pending=null;var w=m=m.next;do g=n(g,w.action),w=w.next;while(w!==m);On(g,a.memoizedState)||(qt=!0),a.memoizedState=g,a.baseQueue===null&&(a.baseState=g),l.lastRenderedState=g}return[g,c]}function Rx(n,a,l){var c=Ie,m=Vt(),g=tt;if(g){if(l===void 0)throw Error(r(407));l=l()}else l=a();var w=!On((gt||m).memoizedState,l);if(w&&(m.memoizedState=l,qt=!0),m=m.queue,Zf(Dx.bind(null,c,m,n),[n]),m.getSnapshot!==a||w||Ft!==null&&Ft.memoizedState.tag&1){if(c.flags|=2048,Ms(9,{destroy:void 0},_x.bind(null,c,m,l,a),null),bt===null)throw Error(r(349));g||(da&127)!==0||Mx(c,a,l)}return l}function Mx(n,a,l){n.flags|=16384,n={getSnapshot:a,value:l},a=Ie.updateQueue,a===null?(a=Uu(),Ie.updateQueue=a,a.stores=[n]):(l=a.stores,l===null?a.stores=[n]:l.push(n))}function _x(n,a,l,c){a.value=l,a.getSnapshot=c,zx(a)&&Lx(n)}function Dx(n,a,l){return l(function(){zx(a)&&Lx(n)})}function zx(n){var a=n.getSnapshot;n=n.value;try{var l=a();return!On(n,l)}catch{return!0}}function Lx(n){var a=Lr(n,2);a!==null&&_n(a,n,2)}function Gf(n){var a=vn();if(typeof n=="function"){var l=n;if(n=l(),qr){Rt(!0);try{l()}finally{Rt(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fa,lastRenderedState:n},a}function Ox(n,a,l,c){return n.baseState=l,qf(n,gt,typeof c=="function"?c:fa)}function wA(n,a,l,c,m){if(qu(n))throw Error(r(485));if(n=a.action,n!==null){var g={payload:m,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){g.listeners.push(w)}};H.T!==null?l(!0):g.isTransition=!1,c(g),l=a.pending,l===null?(g.next=a.pending=g,Px(a,g)):(g.next=l.next,a.pending=l.next=g)}}function Px(n,a){var l=a.action,c=a.payload,m=n.state;if(a.isTransition){var g=H.T,w={};H.T=w;try{var k=l(m,c),_=H.S;_!==null&&_(w,k),Bx(n,a,k)}catch(F){Yf(n,a,F)}finally{g!==null&&w.types!==null&&(g.types=w.types),H.T=g}}else try{g=l(m,c),Bx(n,a,g)}catch(F){Yf(n,a,F)}}function Bx(n,a,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(c){Ux(n,a,c)},function(c){return Yf(n,a,c)}):Ux(n,a,l)}function Ux(n,a,l){a.status="fulfilled",a.value=l,Hx(a),n.state=l,a=n.pending,a!==null&&(l=a.next,l===a?n.pending=null:(l=l.next,a.next=l,Px(n,l)))}function Yf(n,a,l){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do a.status="rejected",a.reason=l,Hx(a),a=a.next;while(a!==c)}n.action=null}function Hx(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function Vx(n,a){return a}function Ix(n,a){if(tt){var l=bt.formState;if(l!==null){e:{var c=Ie;if(tt){if(At){t:{for(var m=At,g=ai;m.nodeType!==8;){if(!g){m=null;break t}if(m=si(m.nextSibling),m===null){m=null;break t}}g=m.data,m=g==="F!"||g==="F"?m:null}if(m){At=si(m.nextSibling),c=m.data==="F!";break e}}Fa(c)}c=!1}c&&(a=l[0])}}return l=vn(),l.memoizedState=l.baseState=a,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vx,lastRenderedState:a},l.queue=c,l=lb.bind(null,Ie,c),c.dispatch=l,c=Gf(!1),g=Qf.bind(null,Ie,!1,c.queue),c=vn(),m={state:a,dispatch:null,action:n,pending:null},c.queue=m,l=wA.bind(null,Ie,m,g,l),m.dispatch=l,c.memoizedState=n,[a,l,!1]}function Fx(n){var a=Vt();return qx(a,gt,n)}function qx(n,a,l){if(a=qf(n,a,Vx)[0],n=Vu(fa)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var c=Kl(a)}catch(w){throw w===As?Mu:w}else c=a;a=Vt();var m=a.queue,g=m.dispatch;return l!==a.memoizedState&&(Ie.flags|=2048,Ms(9,{destroy:void 0},SA.bind(null,m,l),null)),[c,g,n]}function SA(n,a){n.action=a}function Kx(n){var a=Vt(),l=gt;if(l!==null)return qx(a,l,n);Vt(),a=a.memoizedState,l=Vt();var c=l.queue.dispatch;return l.memoizedState=n,[a,c,!1]}function Ms(n,a,l,c){return n={tag:n,create:l,deps:c,inst:a,next:null},a=Ie.updateQueue,a===null&&(a=Uu(),Ie.updateQueue=a),l=a.lastEffect,l===null?a.lastEffect=n.next=n:(c=l.next,l.next=n,n.next=c,a.lastEffect=n),n}function Gx(){return Vt().memoizedState}function Iu(n,a,l,c){var m=vn();Ie.flags|=n,m.memoizedState=Ms(1|a,{destroy:void 0},l,c===void 0?null:c)}function Fu(n,a,l,c){var m=Vt();c=c===void 0?null:c;var g=m.memoizedState.inst;gt!==null&&c!==null&&Bf(c,gt.memoizedState.deps)?m.memoizedState=Ms(a,g,l,c):(Ie.flags|=n,m.memoizedState=Ms(1|a,g,l,c))}function Yx(n,a){Iu(8390656,8,n,a)}function Zf(n,a){Fu(2048,8,n,a)}function kA(n){Ie.flags|=4;var a=Ie.updateQueue;if(a===null)a=Uu(),Ie.updateQueue=a,a.events=[n];else{var l=a.events;l===null?a.events=[n]:l.push(n)}}function Zx(n){var a=Vt().memoizedState;return kA({ref:a,nextImpl:n}),function(){if((dt&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}function $x(n,a){return Fu(4,2,n,a)}function Xx(n,a){return Fu(4,4,n,a)}function Jx(n,a){if(typeof a=="function"){n=n();var l=a(n);return function(){typeof l=="function"?l():a(null)}}if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function Wx(n,a,l){l=l!=null?l.concat([n]):null,Fu(4,4,Jx.bind(null,a,n),l)}function $f(){}function Qx(n,a){var l=Vt();a=a===void 0?null:a;var c=l.memoizedState;return a!==null&&Bf(a,c[1])?c[0]:(l.memoizedState=[n,a],n)}function eb(n,a){var l=Vt();a=a===void 0?null:a;var c=l.memoizedState;if(a!==null&&Bf(a,c[1]))return c[0];if(c=n(),qr){Rt(!0);try{n()}finally{Rt(!1)}}return l.memoizedState=[c,a],c}function Xf(n,a,l){return l===void 0||(da&1073741824)!==0&&(We&261930)===0?n.memoizedState=a:(n.memoizedState=l,n=tv(),Ie.lanes|=n,Wa|=n,l)}function tb(n,a,l,c){return On(l,a)?l:js.current!==null?(n=Xf(n,l,c),On(n,a)||(qt=!0),n):(da&42)===0||(da&1073741824)!==0&&(We&261930)===0?(qt=!0,n.memoizedState=l):(n=tv(),Ie.lanes|=n,Wa|=n,a)}function nb(n,a,l,c,m){var g=J.p;J.p=g!==0&&8>g?g:8;var w=H.T,k={};H.T=k,Qf(n,!1,a,l);try{var _=m(),F=H.S;if(F!==null&&F(k,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var X=xA(_,c);Gl(n,a,X,In(n))}else Gl(n,a,c,In(n))}catch(Q){Gl(n,a,{then:function(){},status:"rejected",reason:Q},In())}finally{J.p=g,w!==null&&k.types!==null&&(w.types=k.types),H.T=w}}function TA(){}function Jf(n,a,l,c){if(n.tag!==5)throw Error(r(476));var m=ib(n).queue;nb(n,m,a,re,l===null?TA:function(){return ab(n),l(c)})}function ib(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:re,baseState:re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fa,lastRenderedState:re},next:null};var l={};return a.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fa,lastRenderedState:l},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function ab(n){var a=ib(n);a.next===null&&(a=n.alternate.memoizedState),Gl(n,a.next.queue,{},In())}function Wf(){return sn(uo)}function rb(){return Vt().memoizedState}
vendor: 28,629 bytes, line 25
25function sb(){return Vt().memoizedState}function CA(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var l=In();n=Ga(l);var c=Ya(a,n,l);c!==null&&(_n(c,a,l),Vl(c,a,l)),a={cache:Ef()},n.payload=a;return}a=a.return}}function AA(n,a,l){var c=In();l={lane:c,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},qu(n)?ob(a,l):(l=gf(n,a,l,c),l!==null&&(_n(l,n,c),ub(l,a,c)))}function lb(n,a,l){var c=In();Gl(n,a,l,c)}function Gl(n,a,l,c){var m={lane:c,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(qu(n))ob(a,m);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=a.lastRenderedReducer,g!==null))try{var w=a.lastRenderedState,k=g(w,l);if(m.hasEagerState=!0,m.eagerState=k,On(k,w))return Tu(n,a,m,0),bt===null&&ku(),!1}catch{}finally{}if(l=gf(n,a,m,c),l!==null)return _n(l,n,c),ub(l,a,c),!0}return!1}function Qf(n,a,l,c){if(c={lane:2,revertLane:Mh(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},qu(n)){if(a)throw Error(r(479))}else a=gf(n,l,c,2),a!==null&&_n(a,n,2)}function qu(n){var a=n.alternate;return n===Ie||a!==null&&a===Ie}function ob(n,a){Ns=Pu=!0;var l=n.pending;l===null?a.next=a:(a.next=l.next,l.next=a),n.pending=a}function ub(n,a,l){if((l&4194048)!==0){var c=a.lanes;c&=n.pendingLanes,l|=c,a.lanes=l,hu(n,l)}}var Yl={readContext:sn,use:Hu,useCallback:Dt,useContext:Dt,useEffect:Dt,useImperativeHandle:Dt,useLayoutEffect:Dt,useInsertionEffect:Dt,useMemo:Dt,useReducer:Dt,useRef:Dt,useState:Dt,useDebugValue:Dt,useDeferredValue:Dt,useTransition:Dt,useSyncExternalStore:Dt,useId:Dt,useHostTransitionStatus:Dt,useFormState:Dt,useActionState:Dt,useOptimistic:Dt,useMemoCache:Dt,useCacheRefresh:Dt};Yl.useEffectEvent=Dt;var cb={readContext:sn,use:Hu,useCallback:function(n,a){return vn().memoizedState=[n,a===void 0?null:a],n},useContext:sn,useEffect:Yx,useImperativeHandle:function(n,a,l){l=l!=null?l.concat([n]):null,Iu(4194308,4,Jx.bind(null,a,n),l)},useLayoutEffect:function(n,a){return Iu(4194308,4,n,a)},useInsertionEffect:function(n,a){Iu(4,2,n,a)},useMemo:function(n,a){var l=vn();a=a===void 0?null:a;var c=n();if(qr){Rt(!0);try{n()}finally{Rt(!1)}}return l.memoizedState=[c,a],c},useReducer:function(n,a,l){var c=vn();if(l!==void 0){var m=l(a);if(qr){Rt(!0);try{l(a)}finally{Rt(!1)}}}else m=a;return c.memoizedState=c.baseState=m,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:m},c.queue=n,n=n.dispatch=AA.bind(null,Ie,n),[c.memoizedState,n]},useRef:function(n){var a=vn();return n={current:n},a.memoizedState=n},useState:function(n){n=Gf(n);var a=n.queue,l=lb.bind(null,Ie,a);return a.dispatch=l,[n.memoizedState,l]},useDebugValue:$f,useDeferredValue:function(n,a){var l=vn();return Xf(l,n,a)},useTransition:function(){var n=Gf(!1);return n=nb.bind(null,Ie,n.queue,!0,!1),vn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,l){var c=Ie,m=vn();if(tt){if(l===void 0)throw Error(r(407));l=l()}else{if(l=a(),bt===null)throw Error(r(349));(We&127)!==0||Mx(c,a,l)}m.memoizedState=l;var g={value:l,getSnapshot:a};return m.queue=g,Yx(Dx.bind(null,c,g,n),[n]),c.flags|=2048,Ms(9,{destroy:void 0},_x.bind(null,c,g,l,a),null),l},useId:function(){var n=vn(),a=bt.identifierPrefix;if(tt){var l=Oi,c=Li;l=(c&~(1<<32-ht(c)-1)).toString(32)+l,a="_"+a+"R_"+l,l=Bu++,0<l&&(a+="H"+l.toString(32)),a+="_"}else l=bA++,a="_"+a+"r_"+l.toString(32)+"_";return n.memoizedState=a},useHostTransitionStatus:Wf,useFormState:Ix,useActionState:Ix,useOptimistic:function(n){var a=vn();a.memoizedState=a.baseState=n;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=l,a=Qf.bind(null,Ie,!0,l),l.dispatch=a,[n,a]},useMemoCache:Ff,useCacheRefresh:function(){return vn().memoizedState=CA.bind(null,Ie)},useEffectEvent:function(n){var a=vn(),l={impl:n};return a.memoizedState=l,function(){if((dt&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}},eh={readContext:sn,use:Hu,useCallback:Qx,useContext:sn,useEffect:Zf,useImperativeHandle:Wx,useInsertionEffect:$x,useLayoutEffect:Xx,useMemo:eb,useReducer:Vu,useRef:Gx,useState:function(){return Vu(fa)},useDebugValue:$f,useDeferredValue:function(n,a){var l=Vt();return tb(l,gt.memoizedState,n,a)},useTransition:function(){var n=Vu(fa)[0],a=Vt().memoizedState;return[typeof n=="boolean"?n:Kl(n),a]},useSyncExternalStore:Rx,useId:rb,useHostTransitionStatus:Wf,useFormState:Fx,useActionState:Fx,useOptimistic:function(n,a){var l=Vt();return Ox(l,gt,n,a)},useMemoCache:Ff,useCacheRefresh:sb};eh.useEffectEvent=Zx;var db={readContext:sn,use:Hu,useCallback:Qx,useContext:sn,useEffect:Zf,useImperativeHandle:Wx,useInsertionEffect:$x,useLayoutEffect:Xx,useMemo:eb,useReducer:Kf,useRef:Gx,useState:function(){return Kf(fa)},useDebugValue:$f,useDeferredValue:function(n,a){var l=Vt();return gt===null?Xf(l,n,a):tb(l,gt.memoizedState,n,a)},useTransition:function(){var n=Kf(fa)[0],a=Vt().memoizedState;return[typeof n=="boolean"?n:Kl(n),a]},useSyncExternalStore:Rx,useId:rb,useHostTransitionStatus:Wf,useFormState:Kx,useActionState:Kx,useOptimistic:function(n,a){var l=Vt();return gt!==null?Ox(l,gt,n,a):(l.baseState=n,[n,l.queue.dispatch])},useMemoCache:Ff,useCacheRefresh:sb};db.useEffectEvent=Zx;function th(n,a,l,c){a=n.memoizedState,l=l(c,a),l=l==null?a:x({},a,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var nh={enqueueSetState:function(n,a,l){n=n._reactInternals;var c=In(),m=Ga(c);m.payload=a,l!=null&&(m.callback=l),a=Ya(n,m,c),a!==null&&(_n(a,n,c),Vl(a,n,c))},enqueueReplaceState:function(n,a,l){n=n._reactInternals;var c=In(),m=Ga(c);m.tag=1,m.payload=a,l!=null&&(m.callback=l),a=Ya(n,m,c),a!==null&&(_n(a,n,c),Vl(a,n,c))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var l=In(),c=Ga(l);c.tag=2,a!=null&&(c.callback=a),a=Ya(n,c,l),a!==null&&(_n(a,n,l),Vl(a,n,l))}};function fb(n,a,l,c,m,g,w){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,g,w):a.prototype&&a.prototype.isPureReactComponent?!Dl(l,c)||!Dl(m,g):!0}function hb(n,a,l,c){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(l,c),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(l,c),a.state!==n&&nh.enqueueReplaceState(a,a.state,null)}function Kr(n,a){var l=a;if("ref"in a){l={};for(var c in a)c!=="ref"&&(l[c]=a[c])}if(n=n.defaultProps){l===a&&(l=x({},l));for(var m in n)l[m]===void 0&&(l[m]=n[m])}return l}function mb(n){Su(n)}function pb(n){console.error(n)}function gb(n){Su(n)}function Ku(n,a){try{var l=n.onUncaughtError;l(a.value,{componentStack:a.stack})}catch(c){setTimeout(function(){throw c})}}function yb(n,a,l){try{var c=n.onCaughtError;c(l.value,{componentStack:l.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function ih(n,a,l){return l=Ga(l),l.tag=3,l.payload={element:null},l.callback=function(){Ku(n,a)},l}function xb(n){return n=Ga(n),n.tag=3,n}function bb(n,a,l,c){var m=l.type.getDerivedStateFromError;if(typeof m=="function"){var g=c.value;n.payload=function(){return m(g)},n.callback=function(){yb(a,l,c)}}var w=l.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(n.callback=function(){yb(a,l,c),typeof m!="function"&&(Qa===null?Qa=new Set([this]):Qa.add(this));var k=c.stack;this.componentDidCatch(c.value,{componentStack:k!==null?k:""})})}function EA(n,a,l,c,m){if(l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(a=l.alternate,a!==null&&ks(a,l,m,!0),l=Bn.current,l!==null){switch(l.tag){case 31:case 13:return ri===null?ic():l.alternate===null&&zt===0&&(zt=3),l.flags&=-257,l.flags|=65536,l.lanes=m,c===_u?l.flags|=16384:(a=l.updateQueue,a===null?l.updateQueue=new Set([c]):a.add(c),jh(n,c,m)),!1;case 22:return l.flags|=65536,c===_u?l.flags|=16384:(a=l.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([c])},l.updateQueue=a):(l=a.retryQueue,l===null?a.retryQueue=new Set([c]):l.add(c)),jh(n,c,m)),!1}throw Error(r(435,l.tag))}return jh(n,c,m),ic(),!1}if(tt)return a=Bn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=m,c!==Sf&&(n=Error(r(422),{cause:c}),Ol(ti(n,l)))):(c!==Sf&&(a=Error(r(423),{cause:c}),Ol(ti(a,l))),n=n.current.alternate,n.flags|=65536,m&=-m,n.lanes|=m,c=ti(c,l),m=ih(n.stateNode,c,m),Df(n,m),zt!==4&&(zt=2)),!1;var g=Error(r(520),{cause:c});if(g=ti(g,l),to===null?to=[g]:to.push(g),zt!==4&&(zt=2),a===null)return!0;c=ti(c,l),l=a;do{switch(l.tag){case 3:return l.flags|=65536,n=m&-m,l.lanes|=n,n=ih(l.stateNode,c,n),Df(l,n),!1;case 1:if(a=l.type,g=l.stateNode,(l.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Qa===null||!Qa.has(g))))return l.flags|=65536,m&=-m,l.lanes|=m,m=xb(m),bb(m,n,l,c),Df(l,m),!1}l=l.return}while(l!==null);return!1}var ah=Error(r(461)),qt=!1;function ln(n,a,l,c){a.child=n===null?kx(a,null,l,c):Fr(a,n.child,l,c)}function vb(n,a,l,c,m){l=l.render;var g=a.ref;if("ref"in c){var w={};for(var k in c)k!=="ref"&&(w[k]=c[k])}else w=c;return Ur(a),c=Uf(n,a,l,w,g,m),k=Hf(),n!==null&&!qt?(Vf(n,a,m),ha(n,a,m)):(tt&&k&&vf(a),a.flags|=1,ln(n,a,c,m),a.child)}function wb(n,a,l,c,m){if(n===null){var g=l.type;return typeof g=="function"&&!yf(g)&&g.defaultProps===void 0&&l.compare===null?(a.tag=15,a.type=g,Sb(n,a,g,c,m)):(n=Au(l.type,null,c,a,a.mode,m),n.ref=a.ref,n.return=a,a.child=n)}if(g=n.child,!fh(n,m)){var w=g.memoizedProps;if(l=l.compare,l=l!==null?l:Dl,l(w,c)&&n.ref===a.ref)return ha(n,a,m)}return a.flags|=1,n=la(g,c),n.ref=a.ref,n.return=a,a.child=n}function Sb(n,a,l,c,m){if(n!==null){var g=n.memoizedProps;if(Dl(g,c)&&n.ref===a.ref)if(qt=!1,a.pendingProps=c=g,fh(n,m))(n.flags&131072)!==0&&(qt=!0);else return a.lanes=n.lanes,ha(n,a,m)}return rh(n,a,l,c,m)}function kb(n,a,l,c){var m=c.children,g=n!==null?n.memoizedState:null;if(n===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((a.flags&128)!==0){if(g=g!==null?g.baseLanes|l:l,n!==null){for(c=a.child=n.child,m=0;c!==null;)m=m|c.lanes|c.childLanes,c=c.sibling;c=m&~g}else c=0,a.child=null;return Tb(n,a,g,l,c)}if((l&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&Ru(a,g!==null?g.cachePool:null),g!==null?Ax(a,g):Lf(),Ex(a);else return c=a.lanes=536870912,Tb(n,a,g!==null?g.baseLanes|l:l,l,c)}else g!==null?(Ru(a,g.cachePool),Ax(a,g),$a(),a.memoizedState=null):(n!==null&&Ru(a,null),Lf(),$a());return ln(n,a,m,l),a.child}function Zl(n,a){return n!==null&&n.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function Tb(n,a,l,c,m){var g=Nf();return g=g===null?null:{parent:It._currentValue,pool:g},a.memoizedState={baseLanes:l,cachePool:g},n!==null&&Ru(a,null),Lf(),Ex(a),n!==null&&ks(n,a,c,!0),a.childLanes=m,null}function Gu(n,a){return a=Zu({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function Cb(n,a,l){return Fr(a,n.child,null,l),n=Gu(a,a.pendingProps),n.flags|=2,Un(a),a.memoizedState=null,n}function jA(n,a,l){var c=a.pendingProps,m=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(tt){if(c.mode==="hidden")return n=Gu(a,c),a.lanes=536870912,Zl(null,n);if(Pf(a),(n=At)?(n=Pv(n,ai),n=n!==null&&n.data==="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:Va!==null?{id:Li,overflow:Oi}:null,retryLane:536870912,hydrationErrors:null},l=ox(n),l.return=a,a.child=l,rn=a,At=null)):n=null,n===null)throw Fa(a);return a.lanes=536870912,null}return Gu(a,c)}var g=n.memoizedState;if(g!==null){var w=g.dehydrated;if(Pf(a),m)if(a.flags&256)a.flags&=-257,a=Cb(n,a,l);else if(a.memoizedState!==null)a.child=n.child,a.flags|=128,a=null;else throw Error(r(558));else if(qt||ks(n,a,l,!1),m=(l&n.childLanes)!==0,qt||m){if(c=bt,c!==null&&(w=D(c,l),w!==0&&w!==g.retryLane))throw g.retryLane=w,Lr(n,w),_n(c,n,w),ah;ic(),a=Cb(n,a,l)}else n=g.treeContext,At=si(w.nextSibling),rn=a,tt=!0,Ia=null,ai=!1,n!==null&&dx(a,n),a=Gu(a,c),a.flags|=4096;return a}return n=la(n.child,{mode:c.mode,children:c.children}),n.ref=a.ref,a.child=n,n.return=a,n}function Yu(n,a){var l=a.ref;if(l===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(n===null||n.ref!==l)&&(a.flags|=4194816)}}function rh(n,a,l,c,m){return Ur(a),l=Uf(n,a,l,c,void 0,m),c=Hf(),n!==null&&!qt?(Vf(n,a,m),ha(n,a,m)):(tt&&c&&vf(a),a.flags|=1,ln(n,a,l,m),a.child)}function Ab(n,a,l,c,m,g){return Ur(a),a.updateQueue=null,l=Nx(a,c,l,m),jx(n),c=Hf(),n!==null&&!qt?(Vf(n,a,g),ha(n,a,g)):(tt&&c&&vf(a),a.flags|=1,ln(n,a,l,g),a.child)}function Eb(n,a,l,c,m){if(Ur(a),a.stateNode===null){var g=bs,w=l.contextType;typeof w=="object"&&w!==null&&(g=sn(w)),g=new l(c,g),a.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=nh,a.stateNode=g,g._reactInternals=a,g=a.stateNode,g.props=c,g.state=a.memoizedState,g.refs={},Mf(a),w=l.contextType,g.context=typeof w=="object"&&w!==null?sn(w):bs,g.state=a.memoizedState,w=l.getDerivedStateFromProps,typeof w=="function"&&(th(a,l,w,c),g.state=a.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(w=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),w!==g.state&&nh.enqueueReplaceState(g,g.state,null),Fl(a,c,g,m),Il(),g.state=a.memoizedState),typeof g.componentDidMount=="function"&&(a.flags|=4194308),c=!0}else if(n===null){g=a.stateNode;var k=a.memoizedProps,_=Kr(l,k);g.props=_;var F=g.context,X=l.contextType;w=bs,typeof X=="object"&&X!==null&&(w=sn(X));var Q=l.getDerivedStateFromProps;X=typeof Q=="function"||typeof g.getSnapshotBeforeUpdate=="function",k=a.pendingProps!==k,X||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(k||F!==w)&&hb(a,g,c,w),Ka=!1;var q=a.memoizedState;g.state=q,Fl(a,c,g,m),Il(),F=a.memoizedState,k||q!==F||Ka?(typeof Q=="function"&&(th(a,l,Q,c),F=a.memoizedState),(_=Ka||fb(a,l,_,c,q,F,w))?(X||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(a.flags|=4194308)):(typeof g.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=c,a.memoizedState=F),g.props=c,g.state=F,g.context=w,c=_):(typeof g.componentDidMount=="function"&&(a.flags|=4194308),c=!1)}else{g=a.stateNode,_f(n,a),w=a.memoizedProps,X=Kr(l,w),g.props=X,Q=a.pendingProps,q=g.context,F=l.contextType,_=bs,typeof F=="object"&&F!==null&&(_=sn(F)),k=l.getDerivedStateFromProps,(F=typeof k=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(w!==Q||q!==_)&&hb(a,g,c,_),Ka=!1,q=a.memoizedState,g.state=q,Fl(a,c,g,m),Il();var Y=a.memoizedState;w!==Q||q!==Y||Ka||n!==null&&n.dependencies!==null&&ju(n.dependencies)?(typeof k=="function"&&(th(a,l,k,c),Y=a.memoizedState),(X=Ka||fb(a,l,X,c,q,Y,_)||n!==null&&n.dependencies!==null&&ju(n.dependencies))?(F||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,Y,_),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,Y,_)),typeof g.componentDidUpdate=="function"&&(a.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof g.componentDidUpdate!="function"||w===n.memoizedProps&&q===n.memoizedState||(a.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&q===n.memoizedState||(a.flags|=1024),a.memoizedProps=c,a.memoizedState=Y),g.props=c,g.state=Y,g.context=_,c=X):(typeof g.componentDidUpdate!="function"||w===n.memoizedProps&&q===n.memoizedState||(a.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&q===n.memoizedState||(a.flags|=1024),c=!1)}return g=c,Yu(n,a),c=(a.flags&128)!==0,g||c?(g=a.stateNode,l=c&&typeof l.getDerivedStateFromError!="function"?null:g.render(),a.flags|=1,n!==null&&c?(a.child=Fr(a,n.child,null,m),a.child=Fr(a,null,l,m)):ln(n,a,l,m),a.memoizedState=g.state,n=a.child):n=ha(n,a,m),n}function jb(n,a,l,c){return Pr(),a.flags|=256,ln(n,a,l,c),a.child}var sh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function lh(n){return{baseLanes:n,cachePool:yx()}}function oh(n,a,l){return n=n!==null?n.childLanes&~l:0,a&&(n|=Vn),n}function Nb(n,a,l){var c=a.pendingProps,m=!1,g=(a.flags&128)!==0,w;if((w=g)||(w=n!==null&&n.memoizedState===null?!1:(Ht.current&2)!==0),w&&(m=!0,a.flags&=-129),w=(a.flags&32)!==0,a.flags&=-33,n===null){if(tt){if(m?Za(a):$a(),(n=At)?(n=Pv(n,ai),n=n!==null&&n.data!=="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:Va!==null?{id:Li,overflow:Oi}:null,retryLane:536870912,hydrationErrors:null},l=ox(n),l.return=a,a.child=l,rn=a,At=null)):n=null,n===null)throw Fa(a);return qh(n)?a.lanes=32:a.lanes=536870912,null}var k=c.children;return c=c.fallback,m?($a(),m=a.mode,k=Zu({mode:"hidden",children:k},m),c=Or(c,m,l,null),k.return=a,c.return=a,k.sibling=c,a.child=k,c=a.child,c.memoizedState=lh(l),c.childLanes=oh(n,w,l),a.memoizedState=sh,Zl(null,c)):(Za(a),uh(a,k))}var _=n.memoizedState;if(_!==null&&(k=_.dehydrated,k!==null)){if(g)a.flags&256?(Za(a),a.flags&=-257,a=ch(n,a,l)):a.memoizedState!==null?($a(),a.child=n.child,a.flags|=128,a=null):($a(),k=c.fallback,m=a.mode,c=Zu({mode:"visible",children:c.children},m),k=Or(k,m,l,null),k.flags|=2,c.return=a,k.return=a,c.sibling=k,a.child=c,Fr(a,n.child,null,l),c=a.child,c.memoizedState=lh(l),c.childLanes=oh(n,w,l),a.memoizedState=sh,a=Zl(null,c));else if(Za(a),qh(k)){if(w=k.nextSibling&&k.nextSibling.dataset,w)var F=w.dgst;w=F,c=Error(r(419)),c.stack="",c.digest=w,Ol({value:c,source:null,stack:null}),a=ch(n,a,l)}else if(qt||ks(n,a,l,!1),w=(l&n.childLanes)!==0,qt||w){if(w=bt,w!==null&&(c=D(w,l),c!==0&&c!==_.retryLane))throw _.retryLane=c,Lr(n,c),_n(w,n,c),ah;Fh(k)||ic(),a=ch(n,a,l)}else Fh(k)?(a.flags|=192,a.child=n.child,a=null):(n=_.treeContext,At=si(k.nextSibling),rn=a,tt=!0,Ia=null,ai=!1,n!==null&&dx(a,n),a=uh(a,c.children),a.flags|=4096);return a}return m?($a(),k=c.fallback,m=a.mode,_=n.child,F=_.sibling,c=la(_,{mode:"hidden",children:c.children}),c.subtreeFlags=_.subtreeFlags&65011712,F!==null?k=la(F,k):(k=Or(k,m,l,null),k.flags|=2),k.return=a,c.return=a,c.sibling=k,a.child=c,Zl(null,c),c=a.child,k=n.child.memoizedState,k===null?k=lh(l):(m=k.cachePool,m!==null?(_=It._currentValue,m=m.parent!==_?{parent:_,pool:_}:m):m=yx(),k={baseLanes:k.baseLanes|l,cachePool:m}),c.memoizedState=k,c.childLanes=oh(n,w,l),a.memoizedState=sh,Zl(n.child,c)):(Za(a),l=n.child,n=l.sibling,l=la(l,{mode:"visible",children:c.children}),l.return=a,l.sibling=null,n!==null&&(w=a.deletions,w===null?(a.deletions=[n],a.flags|=16):w.push(n)),a.child=l,a.memoizedState=null,l)}function uh(n,a){return a=Zu({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function Zu(n,a){return n=Pn(22,n,null,a),n.lanes=0,n}function ch(n,a,l){return Fr(a,n.child,null,l),n=uh(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Rb(n,a,l){n.lanes|=a;var c=n.alternate;c!==null&&(c.lanes|=a),Cf(n.return,a,l)}function dh(n,a,l,c,m,g){var w=n.memoizedState;w===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:c,tail:l,tailMode:m,treeForkCount:g}:(w.isBackwards=a,w.rendering=null,w.renderingStartTime=0,w.last=c,w.tail=l,w.tailMode=m,w.treeForkCount=g)}function Mb(n,a,l){var c=a.pendingProps,m=c.revealOrder,g=c.tail;c=c.children;var w=Ht.current,k=(w&2)!==0;if(k?(w=w&1|2,a.flags|=128):w&=1,j(Ht,w),ln(n,a,c,l),c=tt?Ll:0,!k&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Rb(n,l,a);else if(n.tag===19)Rb(n,l,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(m){case"forwards":for(l=a.child,m=null;l!==null;)n=l.alternate,n!==null&&Ou(n)===null&&(m=l),l=l.sibling;l=m,l===null?(m=a.child,a.child=null):(m=l.sibling,l.sibling=null),dh(a,!1,m,l,g,c);break;case"backwards":case"unstable_legacy-backwards":for(l=null,m=a.child,a.child=null;m!==null;){if(n=m.alternate,n!==null&&Ou(n)===null){a.child=m;break}n=m.sibling,m.sibling=l,l=m,m=n}dh(a,!0,l,null,g,c);break;case"together":dh(a,!1,null,null,void 0,c);break;default:a.memoizedState=null}return a.child}function ha(n,a,l){if(n!==null&&(a.dependencies=n.dependencies),Wa|=a.lanes,(l&a.childLanes)===0)if(n!==null){if(ks(n,a,l,!1),(l&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error(r(153));if(a.child!==null){for(n=a.child,l=la(n,n.pendingProps),a.child=l,l.return=a;n.sibling!==null;)n=n.sibling,l=l.sibling=la(n,n.pendingProps),l.return=a;l.sibling=null}return a.child}function fh(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&ju(n)))}function NA(n,a,l){switch(a.tag){case 3:en(a,a.stateNode.containerInfo),qa(a,It,n.memoizedState.cache),Pr();break;case 27:case 5:$n(a);break;case 4:en(a,a.stateNode.containerInfo);break;case 10:qa(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Pf(a),null;break;case 13:var c=a.memoizedState;if(c!==null)return c.dehydrated!==null?(Za(a),a.flags|=128,null):(l&a.child.childLanes)!==0?Nb(n,a,l):(Za(a),n=ha(n,a,l),n!==null?n.sibling:null);Za(a);break;case 19:var m=(n.flags&128)!==0;if(c=(l&a.childLanes)!==0,c||(ks(n,a,l,!1),c=(l&a.childLanes)!==0),m){if(c)return Mb(n,a,l);a.flags|=128}if(m=a.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),j(Ht,Ht.current),c)break;return null;case 22:return a.lanes=0,kb(n,a,l,a.pendingProps);case 24:qa(a,It,n.memoizedState.cache)}return ha(n,a,l)}function _b(n,a,l){if(n!==null)if(n.memoizedProps!==a.pendingProps)qt=!0;else{if(!fh(n,l)&&(a.flags&128)===0)return qt=!1,NA(n,a,l);qt=(n.flags&131072)!==0}else qt=!1,tt&&(a.flags&1048576)!==0&&cx(a,Ll,a.index);switch(a.lanes=0,a.tag){case 16:e:{var c=a.pendingProps;if(n=Vr(a.elementType),a.type=n,typeof n=="function")yf(n)?(c=Kr(n,c),a.tag=1,a=Eb(null,a,n,c,l)):(a.tag=0,a=rh(null,a,n,c,l));else{if(n!=null){var m=n.$$typeof;if(m===K){a.tag=11,a=vb(null,a,n,c,l);break e}else if(m===ee){a.tag=14,a=wb(null,a,n,c,l);break e}}throw a=oe(n)||n,Error(r(306,a,""))}}return a;case 0:return rh(n,a,a.type,a.pendingProps,l);case 1:return c=a.type,m=Kr(c,a.pendingProps),Eb(n,a,c,m,l);case 3:e:{if(en(a,a.stateNode.containerInfo),n===null)throw Error(r(387));c=a.pendingProps;var g=a.memoizedState;m=g.element,_f(n,a),Fl(a,c,null,l);var w=a.memoizedState;if(c=w.cache,qa(a,It,c),c!==g.cache&&Af(a,[It],l,!0),Il(),c=w.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:w.cache},a.updateQueue.baseState=g,a.memoizedState=g,a.flags&256){a=jb(n,a,c,l);break e}else if(c!==m){m=ti(Error(r(424)),a),Ol(m),a=jb(n,a,c,l);break e}else{switch(n=a.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(At=si(n.firstChild),rn=a,tt=!0,Ia=null,ai=!0,l=kx(a,null,c,l),a.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Pr(),c===m){a=ha(n,a,l);break e}ln(n,a,c,l)}a=a.child}return a;case 26:return Yu(n,a),n===null?(l=Fv(a.type,null,a.pendingProps,null))?a.memoizedState=l:tt||(l=a.type,n=a.pendingProps,c=cc(Oe.current).createElement(l),c[he]=a,c[me]=n,on(c,l,n),ut(c),a.stateNode=c):a.memoizedState=Fv(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return $n(a),n===null&&tt&&(c=a.stateNode=Hv(a.type,a.pendingProps,Oe.current),rn=a,ai=!0,m=At,ir(a.type)?(Kh=m,At=si(c.firstChild)):At=m),ln(n,a,a.pendingProps.children,l),Yu(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&tt&&((m=c=At)&&(c=rE(c,a.type,a.pendingProps,ai),c!==null?(a.stateNode=c,rn=a,At=si(c.firstChild),ai=!1,m=!0):m=!1),m||Fa(a)),$n(a),m=a.type,g=a.pendingProps,w=n!==null?n.memoizedProps:null,c=g.children,Hh(m,g)?c=null:w!==null&&Hh(m,w)&&(a.flags|=32),a.memoizedState!==null&&(m=Uf(n,a,vA,null,null,l),uo._currentValue=m),Yu(n,a),ln(n,a,c,l),a.child;case 6:return n===null&&tt&&((n=l=At)&&(l=sE(l,a.pendingProps,ai),l!==null?(a.stateNode=l,rn=a,At=null,n=!0):n=!1),n||Fa(a)),null;case 13:return Nb(n,a,l);case 4:return en(a,a.stateNode.containerInfo),c=a.pendingProps,n===null?a.child=Fr(a,null,c,l):ln(n,a,c,l),a.child;case 11:return vb(n,a,a.type,a.pendingProps,l);case 7:return ln(n,a,a.pendingProps,l),a.child;case 8:return ln(n,a,a.pendingProps.children,l),a.child;case 12:return ln(n,a,a.pendingProps.children,l),a.child;case 10:return c=a.pendingProps,qa(a,a.type,c.value),ln(n,a,c.children,l),a.child;case 9:return m=a.type._context,c=a.pendingProps.children,Ur(a),m=sn(m),c=c(m),a.flags|=1,ln(n,a,c,l),a.child;case 14:return wb(n,a,a.type,a.pendingProps,l);case 15:return Sb(n,a,a.type,a.pendingProps,l);case 19:return Mb(n,a,l);case 31:return jA(n,a,l);case 22:return kb(n,a,l,a.pendingProps);case 24:return Ur(a),c=sn(It),n===null?(m=Nf(),m===null&&(m=bt,g=Ef(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=l),m=g),a.memoizedState={parent:c,cache:m},Mf(a),qa(a,It,m)):((n.lanes&l)!==0&&(_f(n,a),Fl(a,null,null,l),Il()),m=n.memoizedState,g=a.memoizedState,m.parent!==c?(m={parent:c,cache:c},a.memoizedState=m,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=m),qa(a,It,c)):(c=g.cache,qa(a,It,c),c!==m.cache&&Af(a,[It],l,!0))),ln(n,a,a.pendingProps.children,l),a.child;case 29:throw a.pendingProps}throw Error(r(156,a.tag))}function ma(n){n.flags|=4}function hh(n,a,l,c,m){if((a=(n.mode&32)!==0)&&(a=!1),a){if(n.flags|=16777216,(m&335544128)===m)if(n.stateNode.complete)n.flags|=8192;else if(rv())n.flags|=8192;else throw Ir=_u,Rf}else n.flags&=-16777217}function Db(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Zv(a))if(rv())n.flags|=8192;else throw Ir=_u,Rf}function $u(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?Cl():536870912,n.lanes|=a,Ls|=a)}function $l(n,a){if(!tt)switch(n.tailMode){case"hidden":a=n.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var c=null;l!==null;)l.alternate!==null&&(c=l),l=l.sibling;c===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function Et(n){var a=n.alternate!==null&&n.alternate.child===n.child,l=0,c=0;if(a)for(var m=n.child;m!==null;)l|=m.lanes|m.childLanes,c|=m.subtreeFlags&65011712,c|=m.flags&65011712,m.return=n,m=m.sibling;else for(m=n.child;m!==null;)l|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=n,m=m.sibling;return n.subtreeFlags|=c,n.childLanes=l,a}function RA(n,a,l){var c=a.pendingProps;switch(wf(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Et(a),null;case 1:return Et(a),null;case 3:return l=a.stateNode,c=null,n!==null&&(c=n.memoizedState.cache),a.memoizedState.cache!==c&&(a.flags|=2048),ca(It),Pt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(n===null||n.child===null)&&(Ss(a)?ma(a):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,kf())),Et(a),null;case 26:var m=a.type,g=a.memoizedState;return n===null?(ma(a),g!==null?(Et(a),Db(a,g)):(Et(a),hh(a,m,null,c,l))):g?g!==n.memoizedState?(ma(a),Et(a),Db(a,g)):(Et(a),a.flags&=-16777217):(n=n.memoizedProps,n!==c&&ma(a),Et(a),hh(a,m,n,c,l)),null;case 27:if(yi(a),l=Oe.current,m=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==c&&ma(a);else{if(!c){if(a.stateNode===null)throw Error(r(166));return Et(a),null}n=He.current,Ss(a)?fx(a):(n=Hv(m,c,l),a.stateNode=n,ma(a))}return Et(a),null;case 5:if(yi(a),m=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==c&&ma(a);else{if(!c){if(a.stateNode===null)throw Error(r(166));return Et(a),null}if(g=He.current,Ss(a))fx(a);else{var w=cc(Oe.current);switch(g){case 1:g=w.createElementNS("http://www.w3.org/2000/svg",m);break;case 2:g=w.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;default:switch(m){case"svg":g=w.createElementNS("http://www.w3.org/2000/svg",m);break;case"math":g=w.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;case"script":g=w.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;
vendor: 26,661 bytes, line 25
25case"select":g=typeof c.is=="string"?w.createElement("select",{is:c.is}):w.createElement("select"),c.multiple?g.multiple=!0:c.size&&(g.size=c.size);break;default:g=typeof c.is=="string"?w.createElement(m,{is:c.is}):w.createElement(m)}}g[he]=a,g[me]=c;e:for(w=a.child;w!==null;){if(w.tag===5||w.tag===6)g.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===a)break e;for(;w.sibling===null;){if(w.return===null||w.return===a)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}a.stateNode=g;e:switch(on(g,m,c),m){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&ma(a)}}return Et(a),hh(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,l),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==c&&ma(a);else{if(typeof c!="string"&&a.stateNode===null)throw Error(r(166));if(n=Oe.current,Ss(a)){if(n=a.stateNode,l=a.memoizedProps,c=null,m=rn,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}n[he]=a,n=!!(n.nodeValue===l||c!==null&&c.suppressHydrationWarning===!0||Nv(n.nodeValue,l)),n||Fa(a,!0)}else n=cc(n).createTextNode(c),n[he]=a,a.stateNode=n}return Et(a),null;case 31:if(l=a.memoizedState,n===null||n.memoizedState!==null){if(c=Ss(a),l!==null){if(n===null){if(!c)throw Error(r(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(557));n[he]=a}else Pr(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Et(a),n=!1}else l=kf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=l),n=!0;if(!n)return a.flags&256?(Un(a),a):(Un(a),null);if((a.flags&128)!==0)throw Error(r(558))}return Et(a),null;case 13:if(c=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(m=Ss(a),c!==null&&c.dehydrated!==null){if(n===null){if(!m)throw Error(r(318));if(m=a.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(r(317));m[he]=a}else Pr(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Et(a),m=!1}else m=kf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return a.flags&256?(Un(a),a):(Un(a),null)}return Un(a),(a.flags&128)!==0?(a.lanes=l,a):(l=c!==null,n=n!==null&&n.memoizedState!==null,l&&(c=a.child,m=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(m=c.alternate.memoizedState.cachePool.pool),g=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(g=c.memoizedState.cachePool.pool),g!==m&&(c.flags|=2048)),l!==n&&l&&(a.child.flags|=8192),$u(a,a.updateQueue),Et(a),null);case 4:return Pt(),n===null&&Lh(a.stateNode.containerInfo),Et(a),null;case 10:return ca(a.type),Et(a),null;case 19:if(Me(Ht),c=a.memoizedState,c===null)return Et(a),null;if(m=(a.flags&128)!==0,g=c.rendering,g===null)if(m)$l(c,!1);else{if(zt!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(g=Ou(n),g!==null){for(a.flags|=128,$l(c,!1),n=g.updateQueue,a.updateQueue=n,$u(a,n),a.subtreeFlags=0,n=l,l=a.child;l!==null;)lx(l,n),l=l.sibling;return j(Ht,Ht.current&1|2),tt&&oa(a,c.treeForkCount),a.child}n=n.sibling}c.tail!==null&&an()>ec&&(a.flags|=128,m=!0,$l(c,!1),a.lanes=4194304)}else{if(!m)if(n=Ou(g),n!==null){if(a.flags|=128,m=!0,n=n.updateQueue,a.updateQueue=n,$u(a,n),$l(c,!0),c.tail===null&&c.tailMode==="hidden"&&!g.alternate&&!tt)return Et(a),null}else 2*an()-c.renderingStartTime>ec&&l!==536870912&&(a.flags|=128,m=!0,$l(c,!1),a.lanes=4194304);c.isBackwards?(g.sibling=a.child,a.child=g):(n=c.last,n!==null?n.sibling=g:a.child=g,c.last=g)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=an(),n.sibling=null,l=Ht.current,j(Ht,m?l&1|2:l&1),tt&&oa(a,c.treeForkCount),n):(Et(a),null);case 22:case 23:return Un(a),Of(),c=a.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(a.flags|=8192):c&&(a.flags|=8192),c?(l&536870912)!==0&&(a.flags&128)===0&&(Et(a),a.subtreeFlags&6&&(a.flags|=8192)):Et(a),l=a.updateQueue,l!==null&&$u(a,l.retryQueue),l=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==l&&(a.flags|=2048),n!==null&&Me(Hr),null;case 24:return l=null,n!==null&&(l=n.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),ca(It),Et(a),null;case 25:return null;case 30:return null}throw Error(r(156,a.tag))}function MA(n,a){switch(wf(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return ca(It),Pt(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return yi(a),null;case 31:if(a.memoizedState!==null){if(Un(a),a.alternate===null)throw Error(r(340));Pr()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(Un(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(r(340));Pr()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return Me(Ht),null;case 4:return Pt(),null;case 10:return ca(a.type),null;case 22:case 23:return Un(a),Of(),n!==null&&Me(Hr),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return ca(It),null;case 25:return null;default:return null}}function zb(n,a){switch(wf(a),a.tag){case 3:ca(It),Pt();break;case 26:case 27:case 5:yi(a);break;case 4:Pt();break;case 31:a.memoizedState!==null&&Un(a);break;case 13:Un(a);break;case 19:Me(Ht);break;case 10:ca(a.type);break;case 22:case 23:Un(a),Of(),n!==null&&Me(Hr);break;case 24:ca(It)}}function Xl(n,a){try{var l=a.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var m=c.next;l=m;do{if((l.tag&n)===n){c=void 0;var g=l.create,w=l.inst;c=g(),w.destroy=c}l=l.next}while(l!==m)}}catch(k){pt(a,a.return,k)}}function Xa(n,a,l){try{var c=a.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var g=m.next;c=g;do{if((c.tag&n)===n){var w=c.inst,k=w.destroy;if(k!==void 0){w.destroy=void 0,m=a;var _=l,F=k;try{F()}catch(X){pt(m,_,X)}}}c=c.next}while(c!==g)}}catch(X){pt(a,a.return,X)}}function Lb(n){var a=n.updateQueue;if(a!==null){var l=n.stateNode;try{Cx(a,l)}catch(c){pt(n,n.return,c)}}}function Ob(n,a,l){l.props=Kr(n.type,n.memoizedProps),l.state=n.memoizedState;try{l.componentWillUnmount()}catch(c){pt(n,a,c)}}function Jl(n,a){try{var l=n.ref;if(l!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof l=="function"?n.refCleanup=l(c):l.current=c}}catch(m){pt(n,a,m)}}function Pi(n,a){var l=n.ref,c=n.refCleanup;if(l!==null)if(typeof c=="function")try{c()}catch(m){pt(n,a,m)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(m){pt(n,a,m)}else l.current=null}function Pb(n){var a=n.type,l=n.memoizedProps,c=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":l.autoFocus&&c.focus();break e;case"img":l.src?c.src=l.src:l.srcSet&&(c.srcset=l.srcSet)}}catch(m){pt(n,n.return,m)}}function mh(n,a,l){try{var c=n.stateNode;QA(c,n.type,l,a),c[me]=a}catch(m){pt(n,n.return,m)}}function Bb(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ir(n.type)||n.tag===4}function ph(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Bb(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&ir(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function gh(n,a,l){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(n,a):(a=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,a.appendChild(n),l=l._reactRootContainer,l!=null||a.onclick!==null||(a.onclick=ra));else if(c!==4&&(c===27&&ir(n.type)&&(l=n.stateNode,a=null),n=n.child,n!==null))for(gh(n,a,l),n=n.sibling;n!==null;)gh(n,a,l),n=n.sibling}function Xu(n,a,l){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?l.insertBefore(n,a):l.appendChild(n);else if(c!==4&&(c===27&&ir(n.type)&&(l=n.stateNode),n=n.child,n!==null))for(Xu(n,a,l),n=n.sibling;n!==null;)Xu(n,a,l),n=n.sibling}function Ub(n){var a=n.stateNode,l=n.memoizedProps;try{for(var c=n.type,m=a.attributes;m.length;)a.removeAttributeNode(m[0]);on(a,c,l),a[he]=n,a[me]=l}catch(g){pt(n,n.return,g)}}var pa=!1,Kt=!1,yh=!1,Hb=typeof WeakSet=="function"?WeakSet:Set,tn=null;function _A(n,a){if(n=n.containerInfo,Bh=yc,n=Wy(n),cf(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var c=l.getSelection&&l.getSelection();if(c&&c.rangeCount!==0){l=c.anchorNode;var m=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{l.nodeType,g.nodeType}catch{l=null;break e}var w=0,k=-1,_=-1,F=0,X=0,Q=n,q=null;t:for(;;){for(var Y;Q!==l||m!==0&&Q.nodeType!==3||(k=w+m),Q!==g||c!==0&&Q.nodeType!==3||(_=w+c),Q.nodeType===3&&(w+=Q.nodeValue.length),(Y=Q.firstChild)!==null;)q=Q,Q=Y;for(;;){if(Q===n)break t;if(q===l&&++F===m&&(k=w),q===g&&++X===c&&(_=w),(Y=Q.nextSibling)!==null)break;Q=q,q=Q.parentNode}Q=Y}l=k===-1||_===-1?null:{start:k,end:_}}else l=null}l=l||{start:0,end:0}}else l=null;for(Uh={focusedElem:n,selectionRange:l},yc=!1,tn=a;tn!==null;)if(a=tn,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,tn=n;else for(;tn!==null;){switch(a=tn,g=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(l=0;l<n.length;l++)m=n[l],m.ref.impl=m.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&g!==null){n=void 0,l=a,m=g.memoizedProps,g=g.memoizedState,c=l.stateNode;try{var be=Kr(l.type,m);n=c.getSnapshotBeforeUpdate(be,g),c.__reactInternalSnapshotBeforeUpdate=n}catch(_e){pt(l,l.return,_e)}}break;case 3:if((n&1024)!==0){if(n=a.stateNode.containerInfo,l=n.nodeType,l===9)Ih(n);else if(l===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Ih(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(r(163))}if(n=a.sibling,n!==null){n.return=a.return,tn=n;break}tn=a.return}}function Vb(n,a,l){var c=l.flags;switch(l.tag){case 0:case 11:case 15:ya(n,l),c&4&&Xl(5,l);break;case 1:if(ya(n,l),c&4)if(n=l.stateNode,a===null)try{n.componentDidMount()}catch(w){pt(l,l.return,w)}else{var m=Kr(l.type,a.memoizedProps);a=a.memoizedState;try{n.componentDidUpdate(m,a,n.__reactInternalSnapshotBeforeUpdate)}catch(w){pt(l,l.return,w)}}c&64&&Lb(l),c&512&&Jl(l,l.return);break;case 3:if(ya(n,l),c&64&&(n=l.updateQueue,n!==null)){if(a=null,l.child!==null)switch(l.child.tag){case 27:case 5:a=l.child.stateNode;break;case 1:a=l.child.stateNode}try{Cx(n,a)}catch(w){pt(l,l.return,w)}}break;case 27:a===null&&c&4&&Ub(l);case 26:case 5:ya(n,l),a===null&&c&4&&Pb(l),c&512&&Jl(l,l.return);break;case 12:ya(n,l);break;case 31:ya(n,l),c&4&&qb(n,l);break;case 13:ya(n,l),c&4&&Kb(n,l),c&64&&(n=l.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(l=VA.bind(null,l),lE(n,l))));break;case 22:if(c=l.memoizedState!==null||pa,!c){a=a!==null&&a.memoizedState!==null||Kt,m=pa;var g=Kt;pa=c,(Kt=a)&&!g?xa(n,l,(l.subtreeFlags&8772)!==0):ya(n,l),pa=m,Kt=g}break;case 30:break;default:ya(n,l)}}function Ib(n){var a=n.alternate;a!==null&&(n.alternate=null,Ib(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&at(a)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Mt=null,jn=!1;function ga(n,a,l){for(l=l.child;l!==null;)Fb(n,a,l),l=l.sibling}function Fb(n,a,l){if(Ut&&typeof Ut.onCommitFiberUnmount=="function")try{Ut.onCommitFiberUnmount($t,l)}catch{}switch(l.tag){case 26:Kt||Pi(l,a),ga(n,a,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Kt||Pi(l,a);var c=Mt,m=jn;ir(l.type)&&(Mt=l.stateNode,jn=!1),ga(n,a,l),so(l.stateNode),Mt=c,jn=m;break;case 5:Kt||Pi(l,a);case 6:if(c=Mt,m=jn,Mt=null,ga(n,a,l),Mt=c,jn=m,Mt!==null)if(jn)try{(Mt.nodeType===9?Mt.body:Mt.nodeName==="HTML"?Mt.ownerDocument.body:Mt).removeChild(l.stateNode)}catch(g){pt(l,a,g)}else try{Mt.removeChild(l.stateNode)}catch(g){pt(l,a,g)}break;case 18:Mt!==null&&(jn?(n=Mt,Lv(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,l.stateNode),Fs(n)):Lv(Mt,l.stateNode));break;case 4:c=Mt,m=jn,Mt=l.stateNode.containerInfo,jn=!0,ga(n,a,l),Mt=c,jn=m;break;case 0:case 11:case 14:case 15:Xa(2,l,a),Kt||Xa(4,l,a),ga(n,a,l);break;case 1:Kt||(Pi(l,a),c=l.stateNode,typeof c.componentWillUnmount=="function"&&Ob(l,a,c)),ga(n,a,l);break;case 21:ga(n,a,l);break;case 22:Kt=(c=Kt)||l.memoizedState!==null,ga(n,a,l),Kt=c;break;default:ga(n,a,l)}}function qb(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Fs(n)}catch(l){pt(a,a.return,l)}}}function Kb(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Fs(n)}catch(l){pt(a,a.return,l)}}function DA(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new Hb),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new Hb),a;default:throw Error(r(435,n.tag))}}function Ju(n,a){var l=DA(n);a.forEach(function(c){if(!l.has(c)){l.add(c);var m=IA.bind(null,n,c);c.then(m,m)}})}function Nn(n,a){var l=a.deletions;if(l!==null)for(var c=0;c<l.length;c++){var m=l[c],g=n,w=a,k=w;e:for(;k!==null;){switch(k.tag){case 27:if(ir(k.type)){Mt=k.stateNode,jn=!1;break e}break;case 5:Mt=k.stateNode,jn=!1;break e;case 3:case 4:Mt=k.stateNode.containerInfo,jn=!0;break e}k=k.return}if(Mt===null)throw Error(r(160));Fb(g,w,m),Mt=null,jn=!1,g=m.alternate,g!==null&&(g.return=null),m.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Gb(a,n),a=a.sibling}var Ti=null;function Gb(n,a){var l=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Nn(a,n),Rn(n),c&4&&(Xa(3,n,n.return),Xl(3,n),Xa(5,n,n.return));break;case 1:Nn(a,n),Rn(n),c&512&&(Kt||l===null||Pi(l,l.return)),c&64&&pa&&(n=n.updateQueue,n!==null&&(c=n.callbacks,c!==null&&(l=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=l===null?c:l.concat(c))));break;case 26:var m=Ti;if(Nn(a,n),Rn(n),c&512&&(Kt||l===null||Pi(l,l.return)),c&4){var g=l!==null?l.memoizedState:null;if(c=n.memoizedState,l===null)if(c===null)if(n.stateNode===null){e:{c=n.type,l=n.memoizedProps,m=m.ownerDocument||m;t:switch(c){case"title":g=m.getElementsByTagName("title")[0],(!g||g[ot]||g[he]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=m.createElement(c),m.head.insertBefore(g,m.querySelector("head > title"))),on(g,c,l),g[he]=n,ut(g),c=g;break e;case"link":var w=Gv("link","href",m).get(c+(l.href||""));if(w){for(var k=0;k<w.length;k++)if(g=w[k],g.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&g.getAttribute("rel")===(l.rel==null?null:l.rel)&&g.getAttribute("title")===(l.title==null?null:l.title)&&g.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){w.splice(k,1);break t}}g=m.createElement(c),on(g,c,l),m.head.appendChild(g);break;case"meta":if(w=Gv("meta","content",m).get(c+(l.content||""))){for(k=0;k<w.length;k++)if(g=w[k],g.getAttribute("content")===(l.content==null?null:""+l.content)&&g.getAttribute("name")===(l.name==null?null:l.name)&&g.getAttribute("property")===(l.property==null?null:l.property)&&g.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&g.getAttribute("charset")===(l.charSet==null?null:l.charSet)){w.splice(k,1);break t}}g=m.createElement(c),on(g,c,l),m.head.appendChild(g);break;default:throw Error(r(468,c))}g[he]=n,ut(g),c=g}n.stateNode=c}else Yv(m,n.type,n.stateNode);else n.stateNode=Kv(m,c,n.memoizedProps);else g!==c?(g===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):g.count--,c===null?Yv(m,n.type,n.stateNode):Kv(m,c,n.memoizedProps)):c===null&&n.stateNode!==null&&mh(n,n.memoizedProps,l.memoizedProps)}break;case 27:Nn(a,n),Rn(n),c&512&&(Kt||l===null||Pi(l,l.return)),l!==null&&c&4&&mh(n,n.memoizedProps,l.memoizedProps);break;case 5:if(Nn(a,n),Rn(n),c&512&&(Kt||l===null||Pi(l,l.return)),n.flags&32){m=n.stateNode;try{fs(m,"")}catch(be){pt(n,n.return,be)}}c&4&&n.stateNode!=null&&(m=n.memoizedProps,mh(n,m,l!==null?l.memoizedProps:m)),c&1024&&(yh=!0);break;case 6:if(Nn(a,n),Rn(n),c&4){if(n.stateNode===null)throw Error(r(162));c=n.memoizedProps,l=n.stateNode;try{l.nodeValue=c}catch(be){pt(n,n.return,be)}}break;case 3:if(hc=null,m=Ti,Ti=dc(a.containerInfo),Nn(a,n),Ti=m,Rn(n),c&4&&l!==null&&l.memoizedState.isDehydrated)try{Fs(a.containerInfo)}catch(be){pt(n,n.return,be)}yh&&(yh=!1,Yb(n));break;case 4:c=Ti,Ti=dc(n.stateNode.containerInfo),Nn(a,n),Rn(n),Ti=c;break;case 12:Nn(a,n),Rn(n);break;case 31:Nn(a,n),Rn(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Ju(n,c)));break;case 13:Nn(a,n),Rn(n),n.child.flags&8192&&n.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Qu=an()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Ju(n,c)));break;case 22:m=n.memoizedState!==null;var _=l!==null&&l.memoizedState!==null,F=pa,X=Kt;if(pa=F||m,Kt=X||_,Nn(a,n),Kt=X,pa=F,Rn(n),c&8192)e:for(a=n.stateNode,a._visibility=m?a._visibility&-2:a._visibility|1,m&&(l===null||_||pa||Kt||Gr(n)),l=null,a=n;;){if(a.tag===5||a.tag===26){if(l===null){_=l=a;try{if(g=_.stateNode,m)w=g.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{k=_.stateNode;var Q=_.memoizedProps.style,q=Q!=null&&Q.hasOwnProperty("display")?Q.display:null;k.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(be){pt(_,_.return,be)}}}else if(a.tag===6){if(l===null){_=a;try{_.stateNode.nodeValue=m?"":_.memoizedProps}catch(be){pt(_,_.return,be)}}}else if(a.tag===18){if(l===null){_=a;try{var Y=_.stateNode;m?Ov(Y,!0):Ov(_.stateNode,!1)}catch(be){pt(_,_.return,be)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;l===a&&(l=null),a=a.return}l===a&&(l=null),a.sibling.return=a.return,a=a.sibling}c&4&&(c=n.updateQueue,c!==null&&(l=c.retryQueue,l!==null&&(c.retryQueue=null,Ju(n,l))));break;case 19:Nn(a,n),Rn(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Ju(n,c)));break;case 30:break;case 21:break;default:Nn(a,n),Rn(n)}}function Rn(n){var a=n.flags;if(a&2){try{for(var l,c=n.return;c!==null;){if(Bb(c)){l=c;break}c=c.return}if(l==null)throw Error(r(160));switch(l.tag){case 27:var m=l.stateNode,g=ph(n);Xu(n,g,m);break;case 5:var w=l.stateNode;l.flags&32&&(fs(w,""),l.flags&=-33);var k=ph(n);Xu(n,k,w);break;case 3:case 4:var _=l.stateNode.containerInfo,F=ph(n);gh(n,F,_);break;default:throw Error(r(161))}}catch(X){pt(n,n.return,X)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function Yb(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;Yb(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function ya(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Vb(n,a.alternate,a),a=a.sibling}function Gr(n){for(n=n.child;n!==null;){var a=n;switch(a.tag){case 0:case 11:case 14:case 15:Xa(4,a,a.return),Gr(a);break;case 1:Pi(a,a.return);var l=a.stateNode;typeof l.componentWillUnmount=="function"&&Ob(a,a.return,l),Gr(a);break;case 27:so(a.stateNode);case 26:case 5:Pi(a,a.return),Gr(a);break;case 22:a.memoizedState===null&&Gr(a);break;case 30:Gr(a);break;default:Gr(a)}n=n.sibling}}function xa(n,a,l){for(l=l&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var c=a.alternate,m=n,g=a,w=g.flags;switch(g.tag){case 0:case 11:case 15:xa(m,g,l),Xl(4,g);break;case 1:if(xa(m,g,l),c=g,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(F){pt(c,c.return,F)}if(c=g,m=c.updateQueue,m!==null){var k=c.stateNode;try{var _=m.shared.hiddenCallbacks;if(_!==null)for(m.shared.hiddenCallbacks=null,m=0;m<_.length;m++)Tx(_[m],k)}catch(F){pt(c,c.return,F)}}l&&w&64&&Lb(g),Jl(g,g.return);break;case 27:Ub(g);case 26:case 5:xa(m,g,l),l&&c===null&&w&4&&Pb(g),Jl(g,g.return);break;case 12:xa(m,g,l);break;case 31:xa(m,g,l),l&&w&4&&qb(m,g);break;case 13:xa(m,g,l),l&&w&4&&Kb(m,g);break;case 22:g.memoizedState===null&&xa(m,g,l),Jl(g,g.return);break;case 30:break;default:xa(m,g,l)}a=a.sibling}}function xh(n,a){var l=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==l&&(n!=null&&n.refCount++,l!=null&&Pl(l))}function bh(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&Pl(n))}function Ci(n,a,l,c){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Zb(n,a,l,c),a=a.sibling}function Zb(n,a,l,c){var m=a.flags;switch(a.tag){case 0:case 11:case 15:Ci(n,a,l,c),m&2048&&Xl(9,a);break;case 1:Ci(n,a,l,c);break;case 3:Ci(n,a,l,c),m&2048&&(n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&Pl(n)));break;case 12:if(m&2048){Ci(n,a,l,c),n=a.stateNode;try{var g=a.memoizedProps,w=g.id,k=g.onPostCommit;typeof k=="function"&&k(w,a.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(_){pt(a,a.return,_)}}else Ci(n,a,l,c);break;case 31:Ci(n,a,l,c);break;case 13:Ci(n,a,l,c);break;case 23:break;case 22:g=a.stateNode,w=a.alternate,a.memoizedState!==null?g._visibility&2?Ci(n,a,l,c):Wl(n,a):g._visibility&2?Ci(n,a,l,c):(g._visibility|=2,_s(n,a,l,c,(a.subtreeFlags&10256)!==0||!1)),m&2048&&xh(w,a);break;case 24:Ci(n,a,l,c),m&2048&&bh(a.alternate,a);break;default:Ci(n,a,l,c)}}function _s(n,a,l,c,m){for(m=m&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var g=n,w=a,k=l,_=c,F=w.flags;switch(w.tag){case 0:case 11:case 15:_s(g,w,k,_,m),Xl(8,w);break;case 23:break;case 22:var X=w.stateNode;w.memoizedState!==null?X._visibility&2?_s(g,w,k,_,m):Wl(g,w):(X._visibility|=2,_s(g,w,k,_,m)),m&&F&2048&&xh(w.alternate,w);break;case 24:_s(g,w,k,_,m),m&&F&2048&&bh(w.alternate,w);break;default:_s(g,w,k,_,m)}a=a.sibling}}function Wl(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var l=n,c=a,m=c.flags;switch(c.tag){case 22:Wl(l,c),m&2048&&xh(c.alternate,c);break;case 24:Wl(l,c),m&2048&&bh(c.alternate,c);break;default:Wl(l,c)}a=a.sibling}}var Ql=8192;function Ds(n,a,l){if(n.subtreeFlags&Ql)for(n=n.child;n!==null;)$b(n,a,l),n=n.sibling}function $b(n,a,l){switch(n.tag){case 26:Ds(n,a,l),n.flags&Ql&&n.memoizedState!==null&&bE(l,Ti,n.memoizedState,n.memoizedProps);break;case 5:Ds(n,a,l);break;case 3:case 4:var c=Ti;Ti=dc(n.stateNode.containerInfo),Ds(n,a,l),Ti=c;break;case 22:n.memoizedState===null&&(c=n.alternate,c!==null&&c.memoizedState!==null?(c=Ql,Ql=16777216,Ds(n,a,l),Ql=c):Ds(n,a,l));break;default:Ds(n,a,l)}}function Xb(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function eo(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var l=0;l<a.length;l++){var c=a[l];tn=c,Wb(c,n)}Xb(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Jb(n),n=n.sibling}function Jb(n){switch(n.tag){case 0:case 11:case 15:eo(n),n.flags&2048&&Xa(9,n,n.return);break;case 3:eo(n);break;case 12:eo(n);break;case 22:var a=n.stateNode;n.memoizedState!==null&&a._visibility&2&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,Wu(n)):eo(n);break;default:eo(n)}}function Wu(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var l=0;l<a.length;l++){var c=a[l];tn=c,Wb(c,n)}Xb(n)}for(n=n.child;n!==null;){switch(a=n,a.tag){case 0:case 11:case 15:Xa(8,a,a.return),Wu(a);break;case 22:l=a.stateNode,l._visibility&2&&(l._visibility&=-3,Wu(a));break;default:Wu(a)}n=n.sibling}}function Wb(n,a){for(;tn!==null;){var l=tn;switch(l.tag){case 0:case 11:case 15:Xa(8,l,a);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var c=l.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Pl(l.memoizedState.cache)}if(c=l.child,c!==null)c.return=l,tn=c;else e:for(l=n;tn!==null;){c=tn;var m=c.sibling,g=c.return;if(Ib(c),c===l){tn=null;break e}if(m!==null){m.return=g,tn=m;break e}tn=g}}}var zA={getCacheForType:function(n){var a=sn(It),l=a.data.get(n);return l===void 0&&(l=n(),a.data.set(n,l)),l},cacheSignal:function(){return sn(It).controller.signal}},LA=typeof WeakMap=="function"?WeakMap:Map,dt=0,bt=null,$e=null,We=0,mt=0,Hn=null,Ja=!1,zs=!1,vh=!1,ba=0,zt=0,Wa=0,Yr=0,wh=0,Vn=0,Ls=0,to=null,Mn=null,Sh=!1,Qu=0,Qb=0,ec=1/0,tc=null,Qa=null,Jt=0,er=null,Os=null,va=0,kh=0,Th=null,ev=null,no=0,Ch=null;function In(){return(dt&2)!==0&&We!==0?We&-We:H.T!==null?Mh():ie()}function tv(){if(Vn===0)if((We&536870912)===0||tt){var n=Qi;Qi<<=1,(Qi&3932160)===0&&(Qi=262144),Vn=n}else Vn=536870912;return n=Bn.current,n!==null&&(n.flags|=32),Vn}function _n(n,a,l){(n===bt&&(mt===2||mt===9)||n.cancelPendingCommit!==null)&&(Ps(n,0),tr(n,We,Vn,!1)),zi(n,l),((dt&2)===0||n!==bt)&&(n===bt&&((dt&2)===0&&(Yr|=l),zt===4&&tr(n,We,Vn,!1)),Bi(n))}function nv(n,a,l){if((dt&6)!==0)throw Error(r(327));var c=!l&&(a&127)===0&&(a&n.expiredLanes)===0||Oa(n,a),m=c?BA(n,a):Eh(n,a,!0),g=c;do{if(m===0){zs&&!c&&tr(n,a,0,!1);break}else{if(l=n.current.alternate,g&&!OA(l)){m=Eh(n,a,!1),g=!1;continue}if(m===2){if(g=a,n.errorRecoveryDisabledLanes&g)var w=0;else w=n.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){a=w;e:{var k=n;m=to;var _=k.current.memoizedState.isDehydrated;if(_&&(Ps(k,w).flags|=256),w=Eh(k,w,!1),w!==2){if(vh&&!_){k.errorRecoveryDisabledLanes|=g,Yr|=g,m=4;break e}g=Mn,Mn=m,g!==null&&(Mn===null?Mn=g:Mn.push.apply(Mn,g))}m=w}if(g=!1,m!==2)continue}}if(m===1){Ps(n,0),tr(n,a,0,!0);break}e:{switch(c=n,g=m,g){case 0:case 1:throw Error(r(345));case 4:if((a&4194048)!==a)break;case 6:tr(c,a,Vn,!Ja);break e;case 2:Mn=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(m=Qu+300-an(),10<m)){if(tr(c,a,Vn,!Ja),us(c,0,!0)!==0)break e;va=a,c.timeoutHandle=Dv(iv.bind(null,c,l,Mn,tc,Sh,a,Vn,Yr,Ls,Ja,g,"Throttled",-0,0),m);break e}iv(c,l,Mn,tc,Sh,a,Vn,Yr,Ls,Ja,g,null,-0,0)}}break}while(!0);Bi(n)}function iv(n,a,l,c,m,g,w,k,_,F,X,Q,q,Y){if(n.timeoutHandle=-1,Q=a.subtreeFlags,Q&8192||(Q&16785408)===16785408){Q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ra},$b(a,g,Q);var be=(g&62914560)===g?Qu-an():(g&4194048)===g?Qb-an():0;if(be=vE(Q,be),be!==null){va=g,n.cancelPendingCommit=be(dv.bind(null,n,a,g,l,c,m,w,k,_,X,Q,null,q,Y)),tr(n,g,w,!F);return}}dv(n,a,g,l,c,m,w,k,_)}function OA(n){for(var a=n;;){var l=a.tag;
vendor: 18,680 bytes, line 25
25if((l===0||l===11||l===15)&&a.flags&16384&&(l=a.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var c=0;c<l.length;c++){var m=l[c],g=m.getSnapshot;m=m.value;try{if(!On(g(),m))return!1}catch{return!1}}if(l=a.child,a.subtreeFlags&16384&&l!==null)l.return=a,a=l;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function tr(n,a,l,c){a&=~wh,a&=~Yr,n.suspendedLanes|=a,n.pingedLanes&=~a,c&&(n.warmLanes|=a),c=n.expirationTimes;for(var m=a;0<m;){var g=31-ht(m),w=1<<g;c[g]=-1,m&=~w}l!==0&&fu(n,l,a)}function nc(){return(dt&6)===0?(io(0),!1):!0}function Ah(){if($e!==null){if(mt===0)var n=$e.return;else n=$e,ua=Br=null,If(n),Es=null,Ul=0,n=$e;for(;n!==null;)zb(n.alternate,n),n=n.return;$e=null}}function Ps(n,a){var l=n.timeoutHandle;l!==-1&&(n.timeoutHandle=-1,nE(l)),l=n.cancelPendingCommit,l!==null&&(n.cancelPendingCommit=null,l()),va=0,Ah(),bt=n,$e=l=la(n.current,null),We=a,mt=0,Hn=null,Ja=!1,zs=Oa(n,a),vh=!1,Ls=Vn=wh=Yr=Wa=zt=0,Mn=to=null,Sh=!1,(a&8)!==0&&(a|=a&32);var c=n.entangledLanes;if(c!==0)for(n=n.entanglements,c&=a;0<c;){var m=31-ht(c),g=1<<m;a|=n[m],c&=~g}return ba=a,ku(),l}function av(n,a){Ie=null,H.H=Yl,a===As||a===Mu?(a=vx(),mt=3):a===Rf?(a=vx(),mt=4):mt=a===ah?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Hn=a,$e===null&&(zt=1,Ku(n,ti(a,n.current)))}function rv(){var n=Bn.current;return n===null?!0:(We&4194048)===We?ri===null:(We&62914560)===We||(We&536870912)!==0?n===ri:!1}function sv(){var n=H.H;return H.H=Yl,n===null?Yl:n}function lv(){var n=H.A;return H.A=zA,n}function ic(){zt=4,Ja||(We&4194048)!==We&&Bn.current!==null||(zs=!0),(Wa&134217727)===0&&(Yr&134217727)===0||bt===null||tr(bt,We,Vn,!1)}function Eh(n,a,l){var c=dt;dt|=2;var m=sv(),g=lv();(bt!==n||We!==a)&&(tc=null,Ps(n,a)),a=!1;var w=zt;e:do try{if(mt!==0&&$e!==null){var k=$e,_=Hn;switch(mt){case 8:Ah(),w=6;break e;case 3:case 2:case 9:case 6:Bn.current===null&&(a=!0);var F=mt;if(mt=0,Hn=null,Bs(n,k,_,F),l&&zs){w=0;break e}break;default:F=mt,mt=0,Hn=null,Bs(n,k,_,F)}}PA(),w=zt;break}catch(X){av(n,X)}while(!0);return a&&n.shellSuspendCounter++,ua=Br=null,dt=c,H.H=m,H.A=g,$e===null&&(bt=null,We=0,ku()),w}function PA(){for(;$e!==null;)ov($e)}function BA(n,a){var l=dt;dt|=2;var c=sv(),m=lv();bt!==n||We!==a?(tc=null,ec=an()+500,Ps(n,a)):zs=Oa(n,a);e:do try{if(mt!==0&&$e!==null){a=$e;var g=Hn;t:switch(mt){case 1:mt=0,Hn=null,Bs(n,a,g,1);break;case 2:case 9:if(xx(g)){mt=0,Hn=null,uv(a);break}a=function(){mt!==2&&mt!==9||bt!==n||(mt=7),Bi(n)},g.then(a,a);break e;case 3:mt=7;break e;case 4:mt=5;break e;case 7:xx(g)?(mt=0,Hn=null,uv(a)):(mt=0,Hn=null,Bs(n,a,g,7));break;case 5:var w=null;switch($e.tag){case 26:w=$e.memoizedState;case 5:case 27:var k=$e;if(w?Zv(w):k.stateNode.complete){mt=0,Hn=null;var _=k.sibling;if(_!==null)$e=_;else{var F=k.return;F!==null?($e=F,ac(F)):$e=null}break t}}mt=0,Hn=null,Bs(n,a,g,5);break;case 6:mt=0,Hn=null,Bs(n,a,g,6);break;case 8:Ah(),zt=6;break e;default:throw Error(r(462))}}UA();break}catch(X){av(n,X)}while(!0);return ua=Br=null,H.H=c,H.A=m,dt=l,$e!==null?0:(bt=null,We=0,ku(),zt)}function UA(){for(;$e!==null&&!kl();)ov($e)}function ov(n){var a=_b(n.alternate,n,ba);n.memoizedProps=n.pendingProps,a===null?ac(n):$e=a}function uv(n){var a=n,l=a.alternate;switch(a.tag){case 15:case 0:a=Ab(l,a,a.pendingProps,a.type,void 0,We);break;case 11:a=Ab(l,a,a.pendingProps,a.type.render,a.ref,We);break;case 5:If(a);default:zb(l,a),a=$e=lx(a,ba),a=_b(l,a,ba)}n.memoizedProps=n.pendingProps,a===null?ac(n):$e=a}function Bs(n,a,l,c){ua=Br=null,If(a),Es=null,Ul=0;var m=a.return;try{if(EA(n,m,a,l,We)){zt=1,Ku(n,ti(l,n.current)),$e=null;return}}catch(g){if(m!==null)throw $e=m,g;zt=1,Ku(n,ti(l,n.current)),$e=null;return}a.flags&32768?(tt||c===1?n=!0:zs||(We&536870912)!==0?n=!1:(Ja=n=!0,(c===2||c===9||c===3||c===6)&&(c=Bn.current,c!==null&&c.tag===13&&(c.flags|=16384))),cv(a,n)):ac(a)}function ac(n){var a=n;do{if((a.flags&32768)!==0){cv(a,Ja);return}n=a.return;var l=RA(a.alternate,a,ba);if(l!==null){$e=l;return}if(a=a.sibling,a!==null){$e=a;return}$e=a=n}while(a!==null);zt===0&&(zt=5)}function cv(n,a){do{var l=MA(n.alternate,n);if(l!==null){l.flags&=32767,$e=l;return}if(l=n.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!a&&(n=n.sibling,n!==null)){$e=n;return}$e=n=l}while(n!==null);zt=6,$e=null}function dv(n,a,l,c,m,g,w,k,_){n.cancelPendingCommit=null;do rc();while(Jt!==0);if((dt&6)!==0)throw Error(r(327));if(a!==null){if(a===n.current)throw Error(r(177));if(g=a.lanes|a.childLanes,g|=pf,du(n,l,g,w,k,_),n===bt&&($e=bt=null,We=0),Os=a,er=n,va=l,kh=g,Th=m,ev=c,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,FA(Ne,function(){return gv(),null})):(n.callbackNode=null,n.callbackPriority=0),c=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||c){c=H.T,H.T=null,m=J.p,J.p=2,w=dt,dt|=4;try{_A(n,a,l)}finally{dt=w,J.p=m,H.T=c}}Jt=1,fv(),hv(),mv()}}function fv(){if(Jt===1){Jt=0;var n=er,a=Os,l=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||l){l=H.T,H.T=null;var c=J.p;J.p=2;var m=dt;dt|=4;try{Gb(a,n);var g=Uh,w=Wy(n.containerInfo),k=g.focusedElem,_=g.selectionRange;if(w!==k&&k&&k.ownerDocument&&Jy(k.ownerDocument.documentElement,k)){if(_!==null&&cf(k)){var F=_.start,X=_.end;if(X===void 0&&(X=F),"selectionStart"in k)k.selectionStart=F,k.selectionEnd=Math.min(X,k.value.length);else{var Q=k.ownerDocument||document,q=Q&&Q.defaultView||window;if(q.getSelection){var Y=q.getSelection(),be=k.textContent.length,_e=Math.min(_.start,be),xt=_.end===void 0?_e:Math.min(_.end,be);!Y.extend&&_e>xt&&(w=xt,xt=_e,_e=w);var B=Xy(k,_e),O=Xy(k,xt);if(B&&O&&(Y.rangeCount!==1||Y.anchorNode!==B.node||Y.anchorOffset!==B.offset||Y.focusNode!==O.node||Y.focusOffset!==O.offset)){var I=Q.createRange();I.setStart(B.node,B.offset),Y.removeAllRanges(),_e>xt?(Y.addRange(I),Y.extend(O.node,O.offset)):(I.setEnd(O.node,O.offset),Y.addRange(I))}}}}for(Q=[],Y=k;Y=Y.parentNode;)Y.nodeType===1&&Q.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof k.focus=="function"&&k.focus(),k=0;k<Q.length;k++){var W=Q[k];W.element.scrollLeft=W.left,W.element.scrollTop=W.top}}yc=!!Bh,Uh=Bh=null}finally{dt=m,J.p=c,H.T=l}}n.current=a,Jt=2}}function hv(){if(Jt===2){Jt=0;var n=er,a=Os,l=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||l){l=H.T,H.T=null;var c=J.p;J.p=2;var m=dt;dt|=4;try{Vb(n,a.alternate,a)}finally{dt=m,J.p=c,H.T=l}}Jt=3}}function mv(){if(Jt===4||Jt===3){Jt=0,Tl();var n=er,a=Os,l=va,c=ev;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?Jt=5:(Jt=0,Os=er=null,pv(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(Qa=null),V(l),a=a.stateNode,Ut&&typeof Ut.onCommitFiberRoot=="function")try{Ut.onCommitFiberRoot($t,a,void 0,(a.current.flags&128)===128)}catch{}if(c!==null){a=H.T,m=J.p,J.p=2,H.T=null;try{for(var g=n.onRecoverableError,w=0;w<c.length;w++){var k=c[w];g(k.value,{componentStack:k.stack})}}finally{H.T=a,J.p=m}}(va&3)!==0&&rc(),Bi(n),m=n.pendingLanes,(l&261930)!==0&&(m&42)!==0?n===Ch?no++:(no=0,Ch=n):no=0,io(0)}}function pv(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,Pl(a)))}function rc(){return fv(),hv(),mv(),gv()}function gv(){if(Jt!==5)return!1;var n=er,a=kh;kh=0;var l=V(va),c=H.T,m=J.p;try{J.p=32>l?32:l,H.T=null,l=Th,Th=null;var g=er,w=va;if(Jt=0,Os=er=null,va=0,(dt&6)!==0)throw Error(r(331));var k=dt;if(dt|=4,Jb(g.current),Zb(g,g.current,w,l),dt=k,io(0,!1),Ut&&typeof Ut.onPostCommitFiberRoot=="function")try{Ut.onPostCommitFiberRoot($t,g)}catch{}return!0}finally{J.p=m,H.T=c,pv(n,a)}}function yv(n,a,l){a=ti(l,a),a=ih(n.stateNode,a,2),n=Ya(n,a,2),n!==null&&(zi(n,2),Bi(n))}function pt(n,a,l){if(n.tag===3)yv(n,n,l);else for(;a!==null;){if(a.tag===3){yv(a,n,l);break}else if(a.tag===1){var c=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Qa===null||!Qa.has(c))){n=ti(l,n),l=xb(2),c=Ya(a,l,2),c!==null&&(bb(l,c,a,n),zi(c,2),Bi(c));break}}a=a.return}}function jh(n,a,l){var c=n.pingCache;if(c===null){c=n.pingCache=new LA;var m=new Set;c.set(a,m)}else m=c.get(a),m===void 0&&(m=new Set,c.set(a,m));m.has(l)||(vh=!0,m.add(l),n=HA.bind(null,n,a,l),a.then(n,n))}function HA(n,a,l){var c=n.pingCache;c!==null&&c.delete(a),n.pingedLanes|=n.suspendedLanes&l,n.warmLanes&=~l,bt===n&&(We&l)===l&&(zt===4||zt===3&&(We&62914560)===We&&300>an()-Qu?(dt&2)===0&&Ps(n,0):wh|=l,Ls===We&&(Ls=0)),Bi(n)}function xv(n,a){a===0&&(a=Cl()),n=Lr(n,a),n!==null&&(zi(n,a),Bi(n))}function VA(n){var a=n.memoizedState,l=0;a!==null&&(l=a.retryLane),xv(n,l)}function IA(n,a){var l=0;switch(n.tag){case 31:case 13:var c=n.stateNode,m=n.memoizedState;m!==null&&(l=m.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(r(314))}c!==null&&c.delete(a),xv(n,l)}function FA(n,a){return Wi(n,a)}var sc=null,Us=null,Nh=!1,lc=!1,Rh=!1,nr=0;function Bi(n){n!==Us&&n.next===null&&(Us===null?sc=Us=n:Us=Us.next=n),lc=!0,Nh||(Nh=!0,KA())}function io(n,a){if(!Rh&&lc){Rh=!0;do for(var l=!1,c=sc;c!==null;){if(n!==0){var m=c.pendingLanes;if(m===0)var g=0;else{var w=c.suspendedLanes,k=c.pingedLanes;g=(1<<31-ht(42|n)+1)-1,g&=m&~(w&~k),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(l=!0,Sv(c,g))}else g=We,g=us(c,c===bt?g:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(g&3)===0||Oa(c,g)||(l=!0,Sv(c,g));c=c.next}while(l);Rh=!1}}function qA(){bv()}function bv(){lc=Nh=!1;var n=0;nr!==0&&tE()&&(n=nr);for(var a=an(),l=null,c=sc;c!==null;){var m=c.next,g=vv(c,a);g===0?(c.next=null,l===null?sc=m:l.next=m,m===null&&(Us=l)):(l=c,(n!==0||(g&3)!==0)&&(lc=!0)),c=m}Jt!==0&&Jt!==5||io(n),nr!==0&&(nr=0)}function vv(n,a){for(var l=n.suspendedLanes,c=n.pingedLanes,m=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var w=31-ht(g),k=1<<w,_=m[w];_===-1?((k&l)===0||(k&c)!==0)&&(m[w]=Yd(k,a)):_<=a&&(n.expiredLanes|=k),g&=~k}if(a=bt,l=We,l=us(n,n===a?l:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c=n.callbackNode,l===0||n===a&&(mt===2||mt===9)||n.cancelPendingCommit!==null)return c!==null&&c!==null&&jr(c),n.callbackNode=null,n.callbackPriority=0;if((l&3)===0||Oa(n,l)){if(a=l&-l,a===n.callbackPriority)return a;switch(c!==null&&jr(c),V(l)){case 2:case 8:l=ce;break;case 32:l=Ne;break;case 268435456:l=Ge;break;default:l=Ne}return c=wv.bind(null,n),l=Wi(l,c),n.callbackPriority=a,n.callbackNode=l,a}return c!==null&&c!==null&&jr(c),n.callbackPriority=2,n.callbackNode=null,2}function wv(n,a){if(Jt!==0&&Jt!==5)return n.callbackNode=null,n.callbackPriority=0,null;var l=n.callbackNode;if(rc()&&n.callbackNode!==l)return null;var c=We;return c=us(n,n===bt?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(nv(n,c,a),vv(n,an()),n.callbackNode!=null&&n.callbackNode===l?wv.bind(null,n):null)}function Sv(n,a){if(rc())return null;nv(n,a,!0)}function KA(){iE(function(){(dt&6)!==0?Wi($,qA):bv()})}function Mh(){if(nr===0){var n=Ts;n===0&&(n=Nr,Nr<<=1,(Nr&261888)===0&&(Nr=256)),nr=n}return nr}function kv(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:pu(""+n)}function Tv(n,a){var l=a.ownerDocument.createElement("input");return l.name=a.name,l.value=a.value,n.id&&l.setAttribute("form",n.id),a.parentNode.insertBefore(l,a),n=new FormData(n),l.parentNode.removeChild(l),n}function GA(n,a,l,c,m){if(a==="submit"&&l&&l.stateNode===m){var g=kv((m[me]||null).action),w=c.submitter;w&&(a=(a=w[me]||null)?kv(a.formAction):w.getAttribute("formAction"),a!==null&&(g=a,w=null));var k=new bu("action","action",null,c,m);n.push({event:k,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(nr!==0){var _=w?Tv(m,w):new FormData(m);Jf(l,{pending:!0,data:_,method:m.method,action:g},null,_)}}else typeof g=="function"&&(k.preventDefault(),_=w?Tv(m,w):new FormData(m),Jf(l,{pending:!0,data:_,method:m.method,action:g},g,_))},currentTarget:m}]})}}for(var _h=0;_h<mf.length;_h++){var Dh=mf[_h],YA=Dh.toLowerCase(),ZA=Dh[0].toUpperCase()+Dh.slice(1);ki(YA,"on"+ZA)}ki(tx,"onAnimationEnd"),ki(nx,"onAnimationIteration"),ki(ix,"onAnimationStart"),ki("dblclick","onDoubleClick"),ki("focusin","onFocus"),ki("focusout","onBlur"),ki(cA,"onTransitionRun"),ki(dA,"onTransitionStart"),ki(fA,"onTransitionCancel"),ki(ax,"onTransitionEnd"),Xt("onMouseEnter",["mouseout","mouseover"]),Xt("onMouseLeave",["mouseout","mouseover"]),Xt("onPointerEnter",["pointerout","pointerover"]),Xt("onPointerLeave",["pointerout","pointerover"]),Jn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Jn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Jn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Jn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Jn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Jn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ao="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),$A=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ao));function Cv(n,a){a=(a&4)!==0;for(var l=0;l<n.length;l++){var c=n[l],m=c.event;c=c.listeners;e:{var g=void 0;if(a)for(var w=c.length-1;0<=w;w--){var k=c[w],_=k.instance,F=k.currentTarget;if(k=k.listener,_!==g&&m.isPropagationStopped())break e;g=k,m.currentTarget=F;try{g(m)}catch(X){Su(X)}m.currentTarget=null,g=_}else for(w=0;w<c.length;w++){if(k=c[w],_=k.instance,F=k.currentTarget,k=k.listener,_!==g&&m.isPropagationStopped())break e;g=k,m.currentTarget=F;try{g(m)}catch(X){Su(X)}m.currentTarget=null,g=_}}}}function Xe(n,a){var l=a[Ae];l===void 0&&(l=a[Ae]=new Set);var c=n+"__bubble";l.has(c)||(Av(a,n,2,!1),l.add(c))}function zh(n,a,l){var c=0;a&&(c|=4),Av(l,n,c,a)}var oc="_reactListening"+Math.random().toString(36).slice(2);function Lh(n){if(!n[oc]){n[oc]=!0,Si.forEach(function(l){l!=="selectionchange"&&($A.has(l)||zh(l,!1,n),zh(l,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[oc]||(a[oc]=!0,zh("selectionchange",!1,a))}}function Av(n,a,l,c){switch(t0(a)){case 2:var m=kE;break;case 8:m=TE;break;default:m=Xh}l=m.bind(null,a,l,n),m=void 0,!ef||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(m=!0),c?m!==void 0?n.addEventListener(a,l,{capture:!0,passive:m}):n.addEventListener(a,l,!0):m!==void 0?n.addEventListener(a,l,{passive:m}):n.addEventListener(a,l,!1)}function Oh(n,a,l,c,m){var g=c;if((a&1)===0&&(a&2)===0&&c!==null)e:for(;;){if(c===null)return;var w=c.tag;if(w===3||w===4){var k=c.stateNode.containerInfo;if(k===m)break;if(w===4)for(w=c.return;w!==null;){var _=w.tag;if((_===3||_===4)&&w.stateNode.containerInfo===m)return;w=w.return}for(;k!==null;){if(w=kt(k),w===null)return;if(_=w.tag,_===5||_===6||_===26||_===27){c=g=w;continue e}k=k.parentNode}}c=c.return}My(function(){var F=g,X=Wd(l),Q=[];e:{var q=rx.get(n);if(q!==void 0){var Y=bu,be=n;switch(n){case"keypress":if(yu(l)===0)break e;case"keydown":case"keyup":Y=IC;break;case"focusin":be="focus",Y=rf;break;case"focusout":be="blur",Y=rf;break;case"beforeblur":case"afterblur":Y=rf;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=zy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=RC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=KC;break;case tx:case nx:case ix:Y=DC;break;case ax:Y=YC;break;case"scroll":case"scrollend":Y=jC;break;case"wheel":Y=$C;break;case"copy":case"cut":case"paste":Y=LC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=Oy;break;case"toggle":case"beforetoggle":Y=JC}var _e=(a&4)!==0,xt=!_e&&(n==="scroll"||n==="scrollend"),B=_e?q!==null?q+"Capture":null:q;_e=[];for(var O=F,I;O!==null;){var W=O;if(I=W.stateNode,W=W.tag,W!==5&&W!==26&&W!==27||I===null||B===null||(W=Al(O,B),W!=null&&_e.push(ro(O,W,I))),xt)break;O=O.return}0<_e.length&&(q=new Y(q,be,null,l,X),Q.push({event:q,listeners:_e}))}}if((a&7)===0){e:{if(q=n==="mouseover"||n==="pointerover",Y=n==="mouseout"||n==="pointerout",q&&l!==Jd&&(be=l.relatedTarget||l.fromElement)&&(kt(be)||be[fe]))break e;if((Y||q)&&(q=X.window===X?X:(q=X.ownerDocument)?q.defaultView||q.parentWindow:window,Y?(be=l.relatedTarget||l.toElement,Y=F,be=be?kt(be):null,be!==null&&(xt=o(be),_e=be.tag,be!==xt||_e!==5&&_e!==27&&_e!==6)&&(be=null)):(Y=null,be=F),Y!==be)){if(_e=zy,W="onMouseLeave",B="onMouseEnter",O="mouse",(n==="pointerout"||n==="pointerover")&&(_e=Oy,W="onPointerLeave",B="onPointerEnter",O="pointer"),xt=Y==null?q:bn(Y),I=be==null?q:bn(be),q=new _e(W,O+"leave",Y,l,X),q.target=xt,q.relatedTarget=I,W=null,kt(X)===F&&(_e=new _e(B,O+"enter",be,l,X),_e.target=I,_e.relatedTarget=xt,W=_e),xt=W,Y&&be)t:{for(_e=XA,B=Y,O=be,I=0,W=B;W;W=_e(W))I++;W=0;for(var Ee=O;Ee;Ee=_e(Ee))W++;for(;0<I-W;)B=_e(B),I--;for(;0<W-I;)O=_e(O),W--;for(;I--;){if(B===O||O!==null&&B===O.alternate){_e=B;break t}B=_e(B),O=_e(O)}_e=null}else _e=null;Y!==null&&Ev(Q,q,Y,_e,!1),be!==null&&xt!==null&&Ev(Q,xt,be,_e,!0)}}e:{if(q=F?bn(F):window,Y=q.nodeName&&q.nodeName.toLowerCase(),Y==="select"||Y==="input"&&q.type==="file")var rt=qy;else if(Iy(q))if(Ky)rt=lA;else{rt=rA;var ke=aA}else Y=q.nodeName,!Y||Y.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?F&&Xd(F.elementType)&&(rt=qy):rt=sA;if(rt&&(rt=rt(n,F))){Fy(Q,rt,l,X);break e}ke&&ke(n,q,F),n==="focusout"&&F&&q.type==="number"&&F.memoizedProps.value!=null&&$d(q,"number",q.value)}switch(ke=F?bn(F):window,n){case"focusin":(Iy(ke)||ke.contentEditable==="true")&&(gs=ke,df=F,zl=null);break;case"focusout":zl=df=gs=null;break;case"mousedown":ff=!0;break;case"contextmenu":case"mouseup":case"dragend":ff=!1,Qy(Q,l,X);break;case"selectionchange":if(uA)break;case"keydown":case"keyup":Qy(Q,l,X)}var Fe;if(lf)e:{switch(n){case"compositionstart":var Qe="onCompositionStart";break e;case"compositionend":Qe="onCompositionEnd";break e;case"compositionupdate":Qe="onCompositionUpdate";break e}Qe=void 0}else ps?Hy(n,l)&&(Qe="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(Qe="onCompositionStart");Qe&&(Py&&l.locale!=="ko"&&(ps||Qe!=="onCompositionStart"?Qe==="onCompositionEnd"&&ps&&(Fe=_y()):(Ha=X,tf="value"in Ha?Ha.value:Ha.textContent,ps=!0)),ke=uc(F,Qe),0<ke.length&&(Qe=new Ly(Qe,n,null,l,X),Q.push({event:Qe,listeners:ke}
vendor: 6,326 bytes, lines 25-26
25),Fe?Qe.data=Fe:(Fe=Vy(l),Fe!==null&&(Qe.data=Fe)))),(Fe=QC?eA(n,l):tA(n,l))&&(Qe=uc(F,"onBeforeInput"),0<Qe.length&&(ke=new Ly("onBeforeInput","beforeinput",null,l,X),Q.push({event:ke,listeners:Qe}),ke.data=Fe)),GA(Q,n,F,l,X)}Cv(Q,a)})}function ro(n,a,l){return{instance:n,listener:a,currentTarget:l}}function uc(n,a){for(var l=a+"Capture",c=[];n!==null;){var m=n,g=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||g===null||(m=Al(n,l),m!=null&&c.unshift(ro(n,m,g)),m=Al(n,a),m!=null&&c.push(ro(n,m,g))),n.tag===3)return c;n=n.return}return[]}function XA(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Ev(n,a,l,c,m){for(var g=a._reactName,w=[];l!==null&&l!==c;){var k=l,_=k.alternate,F=k.stateNode;if(k=k.tag,_!==null&&_===c)break;k!==5&&k!==26&&k!==27||F===null||(_=F,m?(F=Al(l,g),F!=null&&w.unshift(ro(l,F,_))):m||(F=Al(l,g),F!=null&&w.push(ro(l,F,_)))),l=l.return}w.length!==0&&n.push({event:a,listeners:w})}var JA=/\r\n?/g,WA=/\u0000|\uFFFD/g;function jv(n){return(typeof n=="string"?n:""+n).replace(JA,` 26`).replace(WA,"")}function Nv(n,a){return a=jv(a),jv(n)===a}function yt(n,a,l,c,m,g){switch(l){case"children":typeof c=="string"?a==="body"||a==="textarea"&&c===""||fs(n,c):(typeof c=="number"||typeof c=="bigint")&&a!=="body"&&fs(n,""+c);break;case"className":aa(n,"class",c);break;case"tabIndex":aa(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":aa(n,l,c);break;case"style":Ny(n,c,g);break;case"data":if(a!=="object"){aa(n,"data",c);break}case"src":case"href":if(c===""&&(a!=="a"||l!=="href")){n.removeAttribute(l);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(l);break}c=pu(""+c),n.setAttribute(l,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(l==="formAction"?(a!=="input"&&yt(n,a,"name",m.name,m,null),yt(n,a,"formEncType",m.formEncType,m,null),yt(n,a,"formMethod",m.formMethod,m,null),yt(n,a,"formTarget",m.formTarget,m,null)):(yt(n,a,"encType",m.encType,m,null),yt(n,a,"method",m.method,m,null),yt(n,a,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(l);break}c=pu(""+c),n.setAttribute(l,c);break;case"onClick":c!=null&&(n.onclick=ra);break;case"onScroll":c!=null&&Xe("scroll",n);break;case"onScrollEnd":c!=null&&Xe("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(l=c.__html,l!=null){if(m.children!=null)throw Error(r(60));n.innerHTML=l}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}l=pu(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,""+c):n.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,""):n.removeAttribute(l);break;case"capture":case"download":c===!0?n.setAttribute(l,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,c):n.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(l,c):n.removeAttribute(l);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(l):n.setAttribute(l,c);break;case"popover":Xe("beforetoggle",n),Xe("toggle",n),ia(n,"popover",c);break;case"xlinkActuate":Pe(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Pe(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Pe(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Pe(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Pe(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Pe(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Pe(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Pe(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Pe(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":ia(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=AC.get(l)||l,ia(n,l,c))}}function Ph(n,a,l,c,m,g){switch(l){case"style":Ny(n,c,g);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(l=c.__html,l!=null){if(m.children!=null)throw Error(r(60));n.innerHTML=l}}break;case"children":typeof c=="string"?fs(n,c):(typeof c=="number"||typeof c=="bigint")&&fs(n,""+c);break;case"onScroll":c!=null&&Xe("scroll",n);break;case"onScrollEnd":c!=null&&Xe("scrollend",n);break;case"onClick":c!=null&&(n.onclick=ra);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ea.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(m=l.endsWith("Capture"),a=l.slice(2,m?l.length-7:void 0),g=n[me]||null,g=g!=null?g[l]:null,typeof g=="function"&&n.removeEventListener(a,g,m),t
vendor: 10,502 bytes, line 26
26ypeof c=="function")){typeof g!="function"&&g!==null&&(l in n?n[l]=null:n.hasAttribute(l)&&n.removeAttribute(l)),n.addEventListener(a,c,m);break e}l in n?n[l]=c:c===!0?n.setAttribute(l,""):ia(n,l,c)}}}function on(n,a,l){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Xe("error",n),Xe("load",n);var c=!1,m=!1,g;for(g in l)if(l.hasOwnProperty(g)){var w=l[g];if(w!=null)switch(g){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:yt(n,a,g,w,l,null)}}m&&yt(n,a,"srcSet",l.srcSet,l,null),c&&yt(n,a,"src",l.src,l,null);return;case"input":Xe("invalid",n);var k=g=w=m=null,_=null,F=null;for(c in l)if(l.hasOwnProperty(c)){var X=l[c];if(X!=null)switch(c){case"name":m=X;break;case"type":w=X;break;case"checked":_=X;break;case"defaultChecked":F=X;break;case"value":g=X;break;case"defaultValue":k=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(r(137,a));break;default:yt(n,a,c,X,l,null)}}Cy(n,g,k,_,F,w,m,!1);return;case"select":Xe("invalid",n),c=w=g=null;for(m in l)if(l.hasOwnProperty(m)&&(k=l[m],k!=null))switch(m){case"value":g=k;break;case"defaultValue":w=k;break;case"multiple":c=k;default:yt(n,a,m,k,l,null)}a=g,l=w,n.multiple=!!c,a!=null?ds(n,!!c,a,!1):l!=null&&ds(n,!!c,l,!0);return;case"textarea":Xe("invalid",n),g=m=c=null;for(w in l)if(l.hasOwnProperty(w)&&(k=l[w],k!=null))switch(w){case"value":c=k;break;case"defaultValue":m=k;break;case"children":g=k;break;case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(91));break;default:yt(n,a,w,k,l,null)}Ey(n,c,m,g);return;case"option":for(_ in l)if(l.hasOwnProperty(_)&&(c=l[_],c!=null))switch(_){case"selected":n.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:yt(n,a,_,c,l,null)}return;case"dialog":Xe("beforetoggle",n),Xe("toggle",n),Xe("cancel",n),Xe("close",n);break;case"iframe":case"object":Xe("load",n);break;case"video":case"audio":for(c=0;c<ao.length;c++)Xe(ao[c],n);break;case"image":Xe("error",n),Xe("load",n);break;case"details":Xe("toggle",n);break;case"embed":case"source":case"link":Xe("error",n),Xe("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(F in l)if(l.hasOwnProperty(F)&&(c=l[F],c!=null))switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:yt(n,a,F,c,l,null)}return;default:if(Xd(a)){for(X in l)l.hasOwnProperty(X)&&(c=l[X],c!==void 0&&Ph(n,a,X,c,l,void 0));return}}for(k in l)l.hasOwnProperty(k)&&(c=l[k],c!=null&&yt(n,a,k,c,l,null))}function QA(n,a,l,c){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,g=null,w=null,k=null,_=null,F=null,X=null;for(Y in l){var Q=l[Y];if(l.hasOwnProperty(Y)&&Q!=null)switch(Y){case"checked":break;case"value":break;case"defaultValue":_=Q;default:c.hasOwnProperty(Y)||yt(n,a,Y,null,c,Q)}}for(var q in c){var Y=c[q];if(Q=l[q],c.hasOwnProperty(q)&&(Y!=null||Q!=null))switch(q){case"type":g=Y;break;case"name":m=Y;break;case"checked":F=Y;break;case"defaultChecked":X=Y;break;case"value":w=Y;break;case"defaultValue":k=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(r(137,a));break;default:Y!==Q&&yt(n,a,q,Y,c,Q)}}Zd(n,w,k,_,F,X,g,m);return;case"select":Y=w=k=q=null;for(g in l)if(_=l[g],l.hasOwnProperty(g)&&_!=null)switch(g){case"value":break;case"multiple":Y=_;default:c.hasOwnProperty(g)||yt(n,a,g,null,c,_)}for(m in c)if(g=c[m],_=l[m],c.hasOwnProperty(m)&&(g!=null||_!=null))switch(m){case"value":q=g;break;case"defaultValue":k=g;break;case"multiple":w=g;default:g!==_&&yt(n,a,m,g,c,_)}a=k,l=w,c=Y,q!=null?ds(n,!!l,q,!1):!!c!=!!l&&(a!=null?ds(n,!!l,a,!0):ds(n,!!l,l?[]:"",!1));return;case"textarea":Y=q=null;for(k in l)if(m=l[k],l.hasOwnProperty(k)&&m!=null&&!c.hasOwnProperty(k))switch(k){case"value":break;case"children":break;default:yt(n,a,k,null,c,m)}for(w in c)if(m=c[w],g=l[w],c.hasOwnProperty(w)&&(m!=null||g!=null))switch(w){case"value":q=m;break;case"defaultValue":Y=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(r(91));break;default:m!==g&&yt(n,a,w,m,c,g)}Ay(n,q,Y);return;case"option":for(var be in l)if(q=l[be],l.hasOwnProperty(be)&&q!=null&&!c.hasOwnProperty(be))switch(be){case"selected":n.selected=!1;break;default:yt(n,a,be,null,c,q)}for(_ in c)if(q=c[_],Y=l[_],c.hasOwnProperty(_)&&q!==Y&&(q!=null||Y!=null))switch(_){case"selected":n.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:yt(n,a,_,q,c,Y)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var _e in l)q=l[_e],l.hasOwnProperty(_e)&&q!=null&&!c.hasOwnProperty(_e)&&yt(n,a,_e,null,c,q);for(F in c)if(q=c[F],Y=l[F],c.hasOwnProperty(F)&&q!==Y&&(q!=null||Y!=null))switch(F){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,a));break;default:yt(n,a,F,q,c,Y)}return;default:if(Xd(a)){for(var xt in l)q=l[xt],l.hasOwnProperty(xt)&&q!==void 0&&!c.hasOwnProperty(xt)&&Ph(n,a,xt,void 0,c,q);for(X in c)q=c[X],Y=l[X],!c.hasOwnProperty(X)||q===Y||q===void 0&&Y===void 0||Ph(n,a,X,q,c,Y);return}}for(var B in l)q=l[B],l.hasOwnProperty(B)&&q!=null&&!c.hasOwnProperty(B)&&yt(n,a,B,null,c,q);for(Q in c)q=c[Q],Y=l[Q],!c.hasOwnProperty(Q)||q===Y||q==null&&Y==null||yt(n,a,Q,q,c,Y)}function Rv(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function eE(){if(typeof performance.getEntriesByType=="function"){for(var n=0,a=0,l=performance.getEntriesByType("resource"),c=0;c<l.length;c++){var m=l[c],g=m.transferSize,w=m.initiatorType,k=m.duration;if(g&&k&&Rv(w)){for(w=0,k=m.responseEnd,c+=1;c<l.length;c++){var _=l[c],F=_.startTime;if(F>k)break;var X=_.transferSize,Q=_.initiatorType;X&&Rv(Q)&&(_=_.responseEnd,w+=X*(_<k?1:(k-F)/(_-F)))}if(--c,a+=8*(g+w)/(m.duration/1e3),n++,10<n)break}}if(0<n)return a/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var Bh=null,Uh=null;function cc(n){return n.nodeType===9?n:n.ownerDocument}function Mv(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function _v(n,a){if(n===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&a==="foreignObject"?0:n}function Hh(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Vh=null;function tE(){var n=window.event;return n&&n.type==="popstate"?n===Vh?!1:(Vh=n,!0):(Vh=null,!1)}var Dv=typeof setTimeout=="function"?setTimeout:void 0,nE=typeof clearTimeout=="function"?clearTimeout:void 0,zv=typeof Promise=="function"?Promise:void 0,iE=typeof queueMicrotask=="function"?queueMicrotask:typeof zv<"u"?function(n){return zv.resolve(null).then(n).catch(aE)}:Dv;function aE(n){setTimeout(function(){throw n})}function ir(n){return n==="head"}function Lv(n,a){var l=a,c=0;do{var m=l.nextSibling;if(n.removeChild(l),m&&m.nodeType===8)if(l=m.data,l==="/$"||l==="/&"){if(c===0){n.removeChild(m),Fs(a);return}c--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")c++;else if(l==="html")so(n.ownerDocument.documentElement);else if(l==="head"){l=n.ownerDocument.head,so(l);for(var g=l.firstChild;g;){var w=g.nextSibling,k=g.nodeName;g[ot]||k==="SCRIPT"||k==="STYLE"||k==="LINK"&&g.rel.toLowerCase()==="stylesheet"||l.removeChild(g),g=w}}else l==="body"&&so(n.ownerDocument.body);l=m}while(l);Fs(a)}function Ov(n,a){var l=n;n=0;do{var c=l.nextSibling;if(l.nodeType===1?a?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(a?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),c&&c.nodeType===8)if(l=c.data,l==="/$"){if(n===0)break;n--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||n++;l=c}while(l)}function Ih(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var l=a;switch(a=a.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Ih(l),at(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}n.removeChild(l)}}function rE(n,a,l,c){for(;n.nodeType===1;){var m=l;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!c&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(c){if(!n[ot])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(g=n.getAttribute("rel"),g==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(g!==m.rel||n.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||n.getAttribute("title")!==(m.title==null?null:m.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(g=n.getAttribute("src"),(g!==(m.src==null?null:m.src)||n.getAttribute("type")!==(m.type==null?null:m.type)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&g&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){var g=m.name==null?null:""+m.name;if(m.type==="hidden"&&n.getAttribute("name")===g)return n}else return n;if(n=si(n.nextSibling),n===null)break}return null}function sE(n,a,l){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=si(n.nextSibling),n===null))return null;return n}function Pv(n,a){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!a||(n=si(n.nextSibling),n===null))return null;return n}function Fh(n){return n.data==="$?"||n.data==="$~"}function qh(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function lE(n,a){var l=n.ownerDocument;if(n.data==="$~")n._reactRetry=a;else if(n.data!=="$?"||l.readyState!=="loading")a();else{var c=function(){a(),l.removeEventListener("DOMContentLoaded",c)};l.addEventListener("DOMContentLoaded",c),n._reactRetry=c}}function si(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;
vendor: 8,818 bytes, line 26
26if(a==="/$"||a==="/&")return null}}return n}var Kh=null;function Bv(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"||l==="/&"){if(a===0)return si(n.nextSibling);a--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||a++}n=n.nextSibling}return null}function Uv(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(a===0)return n;a--}else l!=="/$"&&l!=="/&"||a++}n=n.previousSibling}return null}function Hv(n,a,l){switch(a=cc(l),n){case"html":if(n=a.documentElement,!n)throw Error(r(452));return n;case"head":if(n=a.head,!n)throw Error(r(453));return n;case"body":if(n=a.body,!n)throw Error(r(454));return n;default:throw Error(r(451))}}function so(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);at(n)}var li=new Map,Vv=new Set;function dc(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var wa=J.d;J.d={f:oE,r:uE,D:cE,C:dE,L:fE,m:hE,X:pE,S:mE,M:gE};function oE(){var n=wa.f(),a=nc();return n||a}function uE(n){var a=Ve(n);a!==null&&a.tag===5&&a.type==="form"?ab(a):wa.r(n)}var Hs=typeof document>"u"?null:document;function Iv(n,a,l){var c=Hs;if(c&&typeof a=="string"&&a){var m=An(a);m='link[rel="'+n+'"][href="'+m+'"]',typeof l=="string"&&(m+='[crossorigin="'+l+'"]'),Vv.has(m)||(Vv.add(m),n={rel:n,crossOrigin:l,href:a},c.querySelector(m)===null&&(a=c.createElement("link"),on(a,"link",n),ut(a),c.head.appendChild(a)))}}function cE(n){wa.D(n),Iv("dns-prefetch",n,null)}function dE(n,a){wa.C(n,a),Iv("preconnect",n,a)}function fE(n,a,l){wa.L(n,a,l);var c=Hs;if(c&&n&&a){var m='link[rel="preload"][as="'+An(a)+'"]';a==="image"&&l&&l.imageSrcSet?(m+='[imagesrcset="'+An(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(m+='[imagesizes="'+An(l.imageSizes)+'"]')):m+='[href="'+An(n)+'"]';var g=m;switch(a){case"style":g=Vs(n);break;case"script":g=Is(n)}li.has(g)||(n=x({rel:"preload",href:a==="image"&&l&&l.imageSrcSet?void 0:n,as:a},l),li.set(g,n),c.querySelector(m)!==null||a==="style"&&c.querySelector(lo(g))||a==="script"&&c.querySelector(oo(g))||(a=c.createElement("link"),on(a,"link",n),ut(a),c.head.appendChild(a)))}}function hE(n,a){wa.m(n,a);var l=Hs;if(l&&n){var c=a&&typeof a.as=="string"?a.as:"script",m='link[rel="modulepreload"][as="'+An(c)+'"][href="'+An(n)+'"]',g=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Is(n)}if(!li.has(g)&&(n=x({rel:"modulepreload",href:n},a),li.set(g,n),l.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(oo(g)))return}c=l.createElement("link"),on(c,"link",n),ut(c),l.head.appendChild(c)}}}function mE(n,a,l){wa.S(n,a,l);var c=Hs;if(c&&n){var m=_t(c).hoistableStyles,g=Vs(n);a=a||"default";var w=m.get(g);if(!w){var k={loading:0,preload:null};if(w=c.querySelector(lo(g)))k.loading=5;else{n=x({rel:"stylesheet",href:n,"data-precedence":a},l),(l=li.get(g))&&Gh(n,l);var _=w=c.createElement("link");ut(_),on(_,"link",n),_._p=new Promise(function(F,X){_.onload=F,_.onerror=X}),_.addEventListener("load",function(){k.loading|=1}),_.addEventListener("error",function(){k.loading|=2}),k.loading|=4,fc(w,a,c)}w={type:"stylesheet",instance:w,count:1,state:k},m.set(g,w)}}}function pE(n,a){wa.X(n,a);var l=Hs;if(l&&n){var c=_t(l).hoistableScripts,m=Is(n),g=c.get(m);g||(g=l.querySelector(oo(m)),g||(n=x({src:n,async:!0},a),(a=li.get(m))&&Yh(n,a),g=l.createElement("script"),ut(g),on(g,"link",n),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function gE(n,a){wa.M(n,a);var l=Hs;if(l&&n){var c=_t(l).hoistableScripts,m=Is(n),g=c.get(m);g||(g=l.querySelector(oo(m)),g||(n=x({src:n,async:!0,type:"module"},a),(a=li.get(m))&&Yh(n,a),g=l.createElement("script"),ut(g),on(g,"link",n),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function Fv(n,a,l,c){var m=(m=Oe.current)?dc(m):null;if(!m)throw Error(r(446));switch(n){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(a=Vs(l.href),l=_t(m).hoistableStyles,c=l.get(a),c||(c={type:"style",instance:null,count:0,state:null},l.set(a,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){n=Vs(l.href);var g=_t(m).hoistableStyles,w=g.get(n);if(w||(m=m.ownerDocument||m,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(n,w),(g=m.querySelector(lo(n)))&&!g._p&&(w.instance=g,w.state.loading=5),li.has(n)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},li.set(n,l),g||yE(m,n,l,w.state))),a&&c===null)throw Error(r(528,""));return w}if(a&&c!==null)throw Error(r(529,""));return null;case"script":return a=l.async,l=l.src,typeof l=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Is(l),l=_t(m).hoistableScripts,c=l.get(a),c||(c={type:"script",instance:null,count:0,state:null},l.set(a,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,n))}}function Vs(n){return'href="'+An(n)+'"'}function lo(n){return'link[rel="stylesheet"]['+n+"]"}function qv(n){return x({},n,{"data-precedence":n.precedence,precedence:null})}function yE(n,a,l,c){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?c.loading=1:(a=n.createElement("link"),c.preload=a,a.addEventListener("load",function(){return c.loading|=1}),a.addEventListener("error",function(){return c.loading|=2}),on(a,"link",l),ut(a),n.head.appendChild(a))}function Is(n){return'[src="'+An(n)+'"]'}function oo(n){return"script[async]"+n}function Kv(n,a,l){if(a.count++,a.instance===null)switch(a.type){case"style":var c=n.querySelector('style[data-href~="'+An(l.href)+'"]');if(c)return a.instance=c,ut(c),c;var m=x({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),ut(c),on(c,"style",m),fc(c,l.precedence,n),a.instance=c;case"stylesheet":m=Vs(l.href);var g=n.querySelector(lo(m));if(g)return a.state.loading|=4,a.instance=g,ut(g),g;c=qv(l),(m=li.get(m))&&Gh(c,m),g=(n.ownerDocument||n).createElement("link"),ut(g);var w=g;return w._p=new Promise(function(k,_){w.onload=k,w.onerror=_}),on(g,"link",c),a.state.loading|=4,fc(g,l.precedence,n),a.instance=g;case"script":return g=Is(l.src),(m=n.querySelector(oo(g)))?(a.instance=m,ut(m),m):(c=l,(m=li.get(g))&&(c=x({},l),Yh(c,m)),n=n.ownerDocument||n,m=n.createElement("script"),ut(m),on(m,"link",c),n.head.appendChild(m),a.instance=m);case"void":return null;default:throw Error(r(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(c=a.instance,a.state.loading|=4,fc(c,l.precedence,n));return a.instance}function fc(n,a,l){for(var c=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,g=m,w=0;w<c.length;w++){var k=c[w];if(k.dataset.precedence===a)g=k;else if(g!==m)break}g?g.parentNode.insertBefore(n,g.nextSibling):(a=l.nodeType===9?l.head:l,a.insertBefore(n,a.firstChild))}function Gh(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Yh(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var hc=null;function Gv(n,a,l){if(hc===null){var c=new Map,m=hc=new Map;m.set(l,c)}else m=hc,c=m.get(l),c||(c=new Map,m.set(l,c));if(c.has(n))return c;for(c.set(n,null),l=l.getElementsByTagName(n),m=0;m<l.length;m++){var g=l[m];if(!(g[ot]||g[he]||n==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var w=g.getAttribute(a)||"";w=n+w;var k=c.get(w);k?k.push(g):c.set(w,[g])}}return c}function Yv(n,a,l){n=n.ownerDocument||n,n.head.insertBefore(l,a==="title"?n.querySelector("head > title"):null)}function xE(n,a,l){if(l===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Zv(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function bE(n,a,l,c){if(l.type==="stylesheet"&&(typeof c.media!="str
26ing"||matchMedia(c.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var m=Vs(c.href),g=a.querySelector(lo(m));if(g){a=g._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=mc.bind(n),a.then(n,n)),l.state.loading|=4,l.instance=g,ut(g);return}g=a.ownerDocument||a,c=qv(c),(m=li.get(m))&&Gh(c,m),g=g.createElement("link"),ut(g);var w=g;w._p=new Promise(function(k,_){w.onload=k,w.onerror=_}),on(g,"link",c),l.instance=g}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(l,a),(a=l.state.preload)&&(l.state.loading&3)===0&&(n.count++,l=mc.bind(n),a.addEventListener("load",l),a.addEventListener("error",l))}}var Zh=0;function vE(n,a){return n.stylesheets&&n.count===0&&gc(n,n.stylesheets),0<n.count||0<n.imgCount?function(l){var c=setTimeout(function(){if(n.stylesheets&&gc(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4+a);0<n.imgBytes&&Zh===0&&(Zh=62500*eE());var m=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&gc(n,n.stylesheets),n.unsuspend)){var g=n.unsuspend;n.unsuspend=null,g()}},(n.imgBytes>Zh?50:800)+a);return n.unsuspend=l,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(m)}}:null}function mc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)gc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var pc=null;function gc(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,pc=new Map,a.forEach(wE,n),pc=null,mc.call(n))}function wE(n,a){if(!(a.state.loading&4)){var l=pc.get(n);if(l)var c=l.get(null);else{l=new Map,pc.set(n,l);for(var m=n.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<m.length;g++){var w=m[g];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(l.set(w.dataset.precedence,w),c=w)}c&&l.set(null,c)}m=a.instance,w=m.getAttribute("data-precedence"),g=l.get(w)||c,g===c&&l.set(null,m),l.set(w,m),this.count++,c=mc.bind(this),m.addEventListener("load",c),m.addEventListener("error",c),g?g.parentNode.insertBefore(m,g.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(m,n.firstChild)),a.state.loading|=4}}var uo={$$typeof:M,Provider:null,Consumer:null,_currentValue:re,_currentValue2:re,_threadCount:0};function SE(n,a,l,c,m,g,w,k,_){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pa(0),this.hiddenUpdates=Pa(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=g,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function $v(n,a,l,c,m,g,w,k,_,F,X,Q){return n=new SE(n,a,l,w,_,F,X,Q,k),a=1,g===!0&&(a|=24),g=Pn(3,null,null,a),n.current=g,g.stateNode=n,a=Ef(),a.refCount++,n.pooledCache=a,a.refCount++,g.memoizedState={element:c,isDehydrated:l,cache:a},Mf(g),n}function Xv(n){return n?(n=bs,n):bs}function Jv(n,a,l,c,m,g){m=Xv(m),c.context===null?c.context=m:c.pendingContext=m,c=Ga(a),c.payload={element:l},g=g===void 0?null:g,g!==null&&(c.callback=g),l=Ya(n,c,a),l!==null&&(_n(l,n,a),Vl(l,n,a))}function Wv(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<a?l:a}}function $h(n,a){Wv(n,a),(n=n.alternate)&&Wv(n,a)}function Qv(n){if(n.tag===13||n.tag===31){var a=Lr(n,67108864);a!==null&&_n(a,n,67108864),$h(n,67108864)}}function e0(n){if(n.tag===13||n.tag===31){var a=In();a=P(a);var l=Lr(n,a);l!==null&&_n(l,n,a),$h(n,a)}}var yc=!0;function kE(n,a,l,c){var m=H.T;H.T=null;var g=J.p;try{J.p=2,Xh(n,a,l,c)}finally{J.p=g,H.T=m}}function TE(n,a,l,c){var m=H.T;H.T=null;var g=J.p;try{J.p=8,Xh(n,a,l,c)}finally{J.p=g,H.T=m}}function Xh(n,a,l,c){if(yc){var m=Jh(c);if(m===null)Oh(n,a,c,xc,l),n0(n,c);else if(AE(m,n,a,l,c))c.stopPropagation();else if(n0(n,c),a&4&&-1<CE.indexOf(n)){for(;m!==null;){var g=Ve(m);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var w=wi(g.pendingLanes);if(w!==0){var k=g;for(k.pendingLanes|=2,k.entangledLanes|=2;w;){var _=1<<31-ht(w);k.entanglements[1]|=_,w&=~_}Bi(g),(dt&6)===0&&(ec=an()+500,io(0))}}break;case 31:case 13:k=Lr(g,2),k!==null&&_n(k,g,2),nc(),$h(g,2)}if(g=Jh(c),g===null&&Oh(n,a,c,xc,l),g===m)break;m=g}m!==null&&c.stopPropagation()}else Oh(n,a,c,null,l)}}function Jh(n){return n=Wd(n),Wh(n)}var xc=null;function Wh(n){if(xc=null,n=kt(n),n!==null){var a=o(n);if(a===null)n=null;else{var l=a.tag;if(l===13){if(n=u(a),n!==null)return n;n=null}else if(l===31){if(n=d(a),n!==null)return n;n=null}else if(l===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return xc=n,null}function t0(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 5,404 bytes, line 26
26:case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(xi()){case $:return 2;case ce:return 8;case Ne:case ze:return 32;case Ge:return 268435456;default:return 32}default:return 32}}var Qh=!1,ar=null,rr=null,sr=null,co=new Map,fo=new Map,lr=[],CE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function n0(n,a){switch(n){case"focusin":case"focusout":ar=null;break;case"dragenter":case"dragleave":rr=null;break;case"mouseover":case"mouseout":sr=null;break;case"pointerover":case"pointerout":co.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":fo.delete(a.pointerId)}}function ho(n,a,l,c,m,g){return n===null||n.nativeEvent!==g?(n={blockedOn:a,domEventName:l,eventSystemFlags:c,nativeEvent:g,targetContainers:[m]},a!==null&&(a=Ve(a),a!==null&&Qv(a)),n):(n.eventSystemFlags|=c,a=n.targetContainers,m!==null&&a.indexOf(m)===-1&&a.push(m),n)}function AE(n,a,l,c,m){switch(a){case"focusin":return ar=ho(ar,n,a,l,c,m),!0;case"dragenter":return rr=ho(rr,n,a,l,c,m),!0;case"mouseover":return sr=ho(sr,n,a,l,c,m),!0;case"pointerover":var g=m.pointerId;return co.set(g,ho(co.get(g)||null,n,a,l,c,m)),!0;case"gotpointercapture":return g=m.pointerId,fo.set(g,ho(fo.get(g)||null,n,a,l,c,m)),!0}return!1}function i0(n){var a=kt(n.target);if(a!==null){var l=o(a);if(l!==null){if(a=l.tag,a===13){if(a=u(l),a!==null){n.blockedOn=a,ae(n.priority,function(){e0(l)});return}}else if(a===31){if(a=d(l),a!==null){n.blockedOn=a,ae(n.priority,function(){e0(l)});return}}else if(a===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function bc(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var l=Jh(n.nativeEvent);if(l===null){l=n.nativeEvent;var c=new l.constructor(l.type,l);Jd=c,l.target.dispatchEvent(c),Jd=null}else return a=Ve(l),a!==null&&Qv(a),n.blockedOn=l,!1;a.shift()}return!0}function a0(n,a,l){bc(n)&&l.delete(a)}function EE(){Qh=!1,ar!==null&&bc(ar)&&(ar=null),rr!==null&&bc(rr)&&(rr=null),sr!==null&&bc(sr)&&(sr=null),co.forEach(a0),fo.forEach(a0)}function vc(n,a){n.blockedOn===a&&(n.blockedOn=null,Qh||(Qh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,EE)))}var wc=null;function r0(n){wc!==n&&(wc=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){wc===n&&(wc=null);for(var a=0;a<n.length;a+=3){var l=n[a],c=n[a+1],m=n[a+2];if(typeof c!="function"){if(Wh(c||l)===null)continue;break}var g=Ve(l);g!==null&&(n.splice(a,3),a-=3,Jf(g,{pending:!0,data:m,method:l.method,action:c},c,m))}}))}function Fs(n){function a(_){return vc(_,n)}ar!==null&&vc(ar,n),rr!==null&&vc(rr,n),sr!==null&&vc(sr,n),co.forEach(a),fo.forEach(a);for(var l=0;l<lr.length;l++){var c=lr[l];c.blockedOn===n&&(c.blockedOn=null)}for(;0<lr.length&&(l=lr[0],l.blockedOn===null);)i0(l),l.blockedOn===null&&lr.shift();if(l=(n.ownerDocument||n).$$reactFormReplay,l!=null)for(c=0;c<l.length;c+=3){var m=l[c],g=l[c+1],w=m[me]||null;if(typeof g=="function")w||r0(l);else if(w){var k=null;if(g&&g.hasAttribute("formAction")){if(m=g,w=g[me]||null)k=w.formAction;else if(Wh(m)!==null)continue}else k=w.action;typeof k=="function"?l[c+1]=k:(l.splice(c,3),c-=3),r0(l)}}}function s0(){function n(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(w){return m=w})},focusReset:"manual",scroll:"manual"})}function a(){m!==null&&(m(),m=null),c||setTimeout(l,20)}function l(){if(!c&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,m=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(l,100),function(){c=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),m!==null&&(m(),m=null)}}}function em(n){this._internalRoot=n}Sc.prototype.render=em.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(r(409));var l=a.current,c=In();
26Jv(l,c,n,a,null,null)},Sc.prototype.unmount=em.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;Jv(n.current,2,null,n,null,null),nc(),a[fe]=null}};function Sc(n){this._internalRoot=n}Sc.prototype.unstable_scheduleHydration=function(n){if(n){var a=ie();n={blockedOn:null,target:n,priority:a};for(var l=0;l<lr.length&&a!==0&&a<lr[l].priority;l++);lr.splice(l,0,n),l===0&&i0(n)}};var l0=t.version;if(l0!=="19.2.8")throw Error(r(527,l0,"19.2.8"));J.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=h(a),n=n!==null?p(n):null,n=n===null?null:n.stateNode,n};var jE={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var kc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!kc.isDisabled&&kc.supportsFiber)try{$t=kc.inject(jE),Ut=kc}catch{}}return mo.createRoot=function(n,a){if(!s(n))throw Error(r(299));var l=!1,c="",m=mb,g=pb,w=gb;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(m=a.onUncaughtError),a.onCaughtError!==void 0&&(g=a.onCaughtError),a.onRecoverableError!==void 0&&(w=a.onRecoverableError)),a=$v(n,1,!1,null,null,l,c,null,m,g,w,s0),n[fe]=a.current,Lh(n),new em(a)},mo.hydrateRoot=function(n,a,l){if(!s(n))throw Error(r(299));var c=!1,m="",g=mb,w=pb,k=gb,_=null;return l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(g=l.onUncaughtError),l.onCaughtError!==void 0&&(w=l.onCaughtError),l.onRecoverableError!==void 0&&(k=l.onRecoverableError),l.formState!==void 0&&(_=l.formState)),a=$v(n,1,!0,a,l??null,c,m,_,g,w,k,s0),a.context=Xv(null),l=a.current,c=In(),c=P(c),m=Ga(c),m.callback=null,Ya(l,m,c),l=c,a.current.lanes=l,zi(a,l),Bi(a),n[fe]=a.current,Lh(n),new Sc(a)},mo.version="19.2.8",mo}var h0;function HE(){if(h0)return tm.exports;h0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),tm.exports=UE(),tm.exports}var m0=HE();let cn=(function(e){return e.CHARSET="charset",e.CSS_TEXT="cssText",e.HREF="href",e.HTTPEQUIV="http-equiv",e.INNER_HTML="innerHTML",e.ITEM_PROP="itemprop",e.NAME="name",e.PROPERTY="property",e.REL="rel",e.SRC="src",e.TARGET="target",e})({}),vt=(function(e){return e.BASE="base",e.BODY="body",e.FRAGMENT="Symbol(react.fragment)",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e})({});const am={link:{rel:["amphtml","canonical","alternate"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},script:{type:["application/ld+json"]}},p0=Object.values(vt),pg={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Ho=(()=>{const e={};for(const[t,i]of Object.entries(pg))e[i]=t;return e})(),Ma="data-rh",VE=!!(typeof window<"u"&&window.document.createElement);function nl(e,t){for(let i=e.length-1;i>=0;--i){const r=e[i][1][t];if(r!==void 0)return r}}function IE(e){let t=nl(e,vt.TITLE);const i=nl(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),i&&t)return i.replace(/%s/g,()=>t);const r=nl(e,"defaultTitle");return(t||r)??void 0}function rm(e,t){const i={};for(const r of t){const s=r[1][e];s&&Object.assign(i,s)}return i}function FE(e){for(let t=e.length-1;t>=0;--t){const i=e[t][1].base;if(i!=null&&i.href||i!=null&&i.target)return i}}function qE(e,t){let i;for(const r of Object.keys(e)){const s=r;t.includes(s)&&!(i===cn.REL&&e[i].toLowerCase()==="canonical")&&!(s===cn.REL&&e[s].toLowerCase()==="stylesheet")&&(i=s),t.includes(s)&&(s===cn.INNER_HTML||s===cn.CSS_TEXT||s===cn.ITEM_PROP)&&(i=s)}return i??null}function po(e,t,i){const r={};return i.map(([,s])=>s).filter(s=>Array.isArray(s[e])?!0:(typeof s[e]<"u"&&console.warn(`Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`),!1)).map(s=>s[e]).reverse().reduce((s,o)=>{const u={};o.filter(f=>{const h=qE(f,t);if(!h||!f[h])return!1;const p=f[h].toLowerCase();return r[h]||(r[h]={}),u[h]||(u[h]={}),r[h][p]?!1:(u[h][p]=!0,!0)}
26).reverse().forEach(f=>{s.push(f)});const d=Object.keys(u);for(const f of d){const h={...r[f],...u[f]};r[f]=h}return s},[]).reverse()}function KE(e,t){for(const[,i]of e)if(i[t])return!0;return!1}function HS(e){return Array.isArray(e)?e.join(""):e}function GE(e,t){var i;for(const r of Object.keys(e))if((i=t[r])!=null&&i.includes(e[r]))return!0;return!1}function sm(e,t){const i={default:Array(),priority:Array()};if(e)for(const r of e)GE(r,t)?i.priority.push(r):i.default.push(r);return i}function YE(e){const t={};for(const[i,r]of Object.entries(e))t[i]=Array.isArray(r)?r.slice():r;return t}function ZE(e,t){const i=e;for(const[r,s]of Object.entries(t))if(Array.isArray(s)){const o=i[r];i[r]=o?o.concat(s):s}else i[r]=s}function lm(e,t,i){const r=e[t];r?r.push(i):e[t]=[i]}function up(e){let t=po(vt.LINK,[cn.REL,cn.HREF],e),i=po("meta",[cn.NAME,"charSet","httpEquiv",cn.PROPERTY,"itemProp"],e),r=po("script",[cn.SRC,cn.INNER_HTML],e);const s=KE(e,"prioritizeSeoTags");let o;if(s){const u=sm(t,am.link);t=u.default;const d=sm(i,am.meta);i=d.default;const f=sm(r,am.script);r=f.default,o={links:u.priority,meta:d.priority,script:f.priority}}return{base:FE(e),bodyAttributes:rm("bodyAttributes",e),defer:nl(e,"defer"),encodeSpecialCharacters:nl(e,"encodeSpecialCharacters")??!0,htmlAttributes:rm("htmlAttributes",e),links:t,meta:i,noscript:po("noscript",[cn.INNER_HTML],e),onChangeClientState:nl(e,"onChangeClientState"),priority:o,script:r,style:po("style",[cn.CSS_TEXT],e),title:IE(e),titleAttributes:rm("titleAttributes",e)}}function $E(e){return Ho[e]??e}function Ks(e,t){const i=document.head||document.querySelector(vt.HEAD),r=i.querySelectorAll(`${e}[${Ma}]`),s=[],o=[...r],u=[];for(const d of t){const f=document.createElement(e);for(const[p,x]of Object.entries(d))if(Object.prototype.hasOwnProperty.call(d,p)){const b=Ho[p]??p;b===cn.INNER_HTML?f.innerHTML=x:b===cn.CSS_TEXT?f.styleSheet?f.styleSheet.cssText=d.cssText:f.appendChild(document.createTextNode(d.cssText)):f.setAttribute(b,x??"")}f.setAttribute(Ma,"true");const h={};for(const{name:p,value:x}of f.attributes)h[p]=x;s.push(h);for(let p=0;;++p){if(f.isEqualNode(o[p])){o.splice(p,1);break}if(p>=o.length){u.push(f);break}}}return o.forEach(d=>{var f;(f=d.parentNode)==null||f.removeChild(d)}),u.forEach(d=>{i.appendChild(d)}),{allTags:s,newTags:u,oldTags:o}}function cp(e,t){const[i]=document.getElementsByTagName(e);if(!i)return;const r=i.getAttribute(Ma),s=r?r.split(","):[],o=[...s],u=[];for(const d of Object.keys(t))u.push(Ho[d]??d);for(const[d,f]of Object.entries(t)){const h=Ho[d]??d;i.getAttribute(h)!==f&&i.setAttribute(h,f??""),s.includes(h)||s.push(h);const p=o.indexOf(h);p!==-1&&o.splice(p,1)}for(let d=o.length-1;d>=0;d-=1)i.removeAttribute(o[d]);s.length===o.length?i.removeAttribute(Ma):i.getAttribute(Ma)!==u.join(",")&&i.setAttribute(Ma,u.join(","))}function XE(e,t){e!==void 0&&document.title!==e&&(document.title=HS(e)),cp(vt.TITLE,t)}function g0(e,t){const{base:i,bodyAttributes:r,defer:s,htmlAttributes:o,links:u,meta:d,noscript:f,onChangeClientState:h,priority:p,script:x,style:b,title:v,titleAttributes:S}=e;cp(vt.BODY,r??{}),cp(vt.HTML,o??{}),XE(v,S);const T={baseTag:Ks(vt.BASE,i?[i]:[]),linkTags:Ks(vt.LINK,[...(p==null?void 0:p.links)??[],...u??[]]),metaTags:Ks(vt.META,[...(p==null?void 0:p.meta)??[],...d??[]]),noscriptTags:Ks(vt.NOSCRIPT,f??[]),scriptTags:Ks(vt.SCRIPT,[...(p==null?void 0:p.script)??[],...x??[]]),styleTags:Ks(vt.STYLE,b??[])},C={baseTag:[],bodyAttributes:{},defer:s??!1,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],onChangeClientState:h??(()=>{}),scriptTags:[],styleTags:[],title:v??"",titleAttributes:{}},A={},N={};Object.keys(T).forEach(M=>{const{allTags:K,newTags:G,oldTags:U}=T[M];C[M]=K,G.length&&(A[M]=G),U.length&&(N[M]=T[M].oldTags)}),(t||Object.keys(A).length||Object.keys(N).length)&&(h==null||h(C,A,N))}const JE=[vt.NOSCRIPT,vt.SCRIPT,vt.STYLE],VS=(e,t=!0)=>t?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):e;function dp(e){let t="";for(const[i,r]of Object.entries(e)){const s=$E(i),o=r===void 0?s:`${s}="${r}"`;o&&t&&(t+=" "),t+=o}return t}const WE=(e,t,i)=>{let r=dp(t);r&&(r=` ${r}`);const s=HS(e);return`<title ${Ma}="true"${r}>${VS(s,i)}</title>`};function Sa(e,t,i){let r="";for(const s of t){let o="";const u=Object.entries(s);for(const[h,p]of u)if(!(h===cn.INNER_HTML||h===cn.CSS_TEXT)){const x=Ho[h]??h;let b;if(p===void 0)b=x;else{const v=typeof p=="string"?p:String(p);b=`${x}="${VS(v,i)}"`}o?o+=` ${b}`:o=b}const d=s.innerHTML??s.cssText??"",f=!JE.includes(e);r+=`<${e} ${Ma}="true" ${o}${f?"/>":`>${d}</${e}>`}`}return r}function rd(e,t={}){const i={};t.addHelmetDataAttr&&(i[Ma]=!0),t.addKey!==void 0&&(i.key=t.addKey);for(const[r,s]of Object.entries(e)){const o=pg[r]??r;switch(o){case"cssText":case"innerHTML":i.dangerouslySetInnerHTML={__html:s};break;default:i[o]=s}}return i}function QE(e,t){return[y.jsx("title",{...rd(t,{addHelmetDataAttr:!0}),children:e},e)]}function ej(e,t,i){return R.createElement(e,rd(t,{addHelmetDataAttr:!0,addKey:i}))}function ka(e,t){const i=[];for(let r=0;r<t.length;++r)i.push(ej(e,t[r],r));return i}function tj(e){const t=()=>(e.state??(e.state=up(e.helmets)),e.state);return{base:{toComponent(){const i=t().base;return i?ka("base",[i]):[]},toString(){const i=t();return i.base?Sa("base",[i.base],i.encodeSpecialCharacters):""}},bodyAttributes:{toComponent(){const i=t().bodyAttributes;return rd(i??{})},toString(){const i=t().bodyAttributes;return dp(i??{})}},htmlAttributes:{toComponent(){const i=t().htmlAttributes;return rd(i??{})},toString(){const i=t().htmlAttributes;return dp(i??{})}},link:{toComponent(){return ka("link",t().links??[])},toString(){const i=t();return Sa("link",i.links??[],i.encodeSpecialCharacters)}},meta:{toComponent(){return ka("meta",t().meta??[])},toString(){const i=t();return Sa("meta",i.meta??[],i.encodeSpecialCharacters)}},noscript:{toComponent(){return ka("noscript",t().noscript??[])},toString(){const i=t();return Sa("noscript",i.noscript??[],i.encodeSpecialCharacters)}},priority:{toComponent(){var r,s,o;const i=t();return[...ka("meta",((r=i.priority)==null?void 0:r.meta)??[]),...ka("link",((s=i.priority)==null?void 0:s.links)??[]),...ka("script",((o=i.priority)==null?void 0:o.script)??[])]},toString(){var d,f,h;const i=t(),r=Sa("meta",((d=i.priority)==null?void 0:d.meta)??[],i.encodeSpecialCharacters),s=Sa("link",((f=i.priority)==null?void 0:f.links)??[],i.encodeSpecialCharacters),o=Sa("script",((h=i.priority)==null?void 0:h.script)??[],i.encodeSpecialCharacters);let u=r;return s&&(u&&(u+=" "),u+=s),o&&(u&&(u+=" "),u+=o),u}},script:{toComponent(){return ka("script",t().script??[])},toString(){const i=t();return Sa("script",i.script??[],i.encodeSpecialCharacters)}},style:{toComponent(){return ka("style",t().style??[])},toString(){const i=t();return Sa("style",i.style??[],i.encodeSpecialCharacters)}},title:{toComponent(){const i=t();return QE(i.title??"",i.titleAttributes??{})},toString(){const i=t();return WE(i.title??"",i.titleAttributes??{},i.encodeSpecialCharacters)}}}}const IS=R.createContext(void 0),nj=({children:e,context:t})=>{const{current:i}
26=R.useRef({firstRender:!0,helmets:[],state:void 0}),r=R.useRef(null);return r.current??(r.current={clientApply(){VE&&!i.state&&(i.state=up(i.helmets),i.state.defer?i.nextAnimFrameId??(i.nextAnimFrameId=requestAnimationFrame(()=>{i.state??(i.state=up(i.helmets)),g0(i.state,i.firstRender),i.firstRender=!1,delete i.nextAnimFrameId})):(i.nextAnimFrameId!==void 0&&(cancelAnimationFrame(i.nextAnimFrameId),delete i.nextAnimFrameId),g0(i.state,i.firstRender),i.firstRender=!1))},update(s,o){const u=i.helmets.findIndex(d=>d[0]===s);u>=0?(delete i.state,o?i.helmets[u][1]=o:i.helmets.splice(u,1)):o&&(delete i.state,i.helmets.push([s,o]))}}),t&&(!t.helmet||t.helmet!==i.serverState)&&(i.serverState??(i.serverState=tj(i)),t.helmet=i.serverState),y.jsx(IS,{value:r.current,children:e})};function ij(e,t){if(typeof e!="string")throw Error("You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.");if(!p0.includes(e))throw Error(`Only elements types ${p0.join(", ")} are allowed. Helmet does not support rendering <${e}> elements. Refer to our API for more information.`);if(!(!t||typeof t=="string"||Array.isArray(t)))throw Error(`Helmet expects a string as a child of <${e}>. Did you forget to wrap your children in braces? ( <${e}>{\`\`}</${e}> ) Refer to our API for more information.`)}function om(e){const t=pg[e];return t&&console.warn(`"${e}" is not a valid JSX prop, replace it by "${t}"`),t??e}function fp(e){const t=YE(e);for(const i of Object.values(e))if(Array.isArray(i)){for(const r of i)if(r)for(const s of Object.keys(r)){const o=om(s);o!==s&&(r[o]=r[s],delete r[s])}}else if(i&&typeof i=="object"){const r=i;for(const s of Object.keys(r)){const o=om(s);o!==s&&(r[o]=r[s],delete r[s])}}return R.Children.forEach(e.children,i=>{if(i==null)return;if(typeof i!="object"||!("props"in i))throw Error(`"${typeof i}" is not a valid <Helmet> descendant`);let r;const s={};if(i.props)for(const[d,f]of Object.entries(i.props))d==="children"?r=f:s[om(d)]=f;let{type:o}=i;typeof o=="symbol"&&(o=o.toString()),ij(o,r);function u(d){typeof d!="string"&&console.error(`child of ${o} element should be a string`)}switch(o){case vt.BASE:t.base=s;break;case vt.BODY:t.bodyAttributes=s;break;case vt.FRAGMENT:ZE(t,fp({children:r}));break;case vt.HTML:t.htmlAttributes=s;break;case vt.LINK:case vt.META:if(r)throw Error(`<${o} /> elements are self-closing and can not contain children. Refer to our API for more information.`);lm(t,o,s);break;case vt.NOSCRIPT:case vt.SCRIPT:r!==void 0&&(u(r),s.innerHTML=r),lm(t,o,s);break;case vt.STYLE:u(r),s.cssText=r,lm(t,o,s);break;case vt.TITLE:t.titleAttributes=s,typeof r=="string"?t.title=r:Array.isArray(r)&&(t.title=r.join(""));break;case vt.HEAD:}}),delete t.children,t}const hi=e=>{const t=R.use(IS);if(!t)throw Error("<Helmet> component must be within a <HelmetProvider> children tree");const i=R.useId();return t.update(i,fp(e)),R.useEffect(()=>{t.update(i,fp(e)),t.clientApply()}),R.useEffect(()=>()=>{t.update(i,void 0),t.clientApply()},[t,i]),null},aj="modulepreload",rj=function(e){return"/"+e},y0={},sj=function(t,i,r){let s=Promise.resolve();if(i&&i.length>0){let u=function(h){return Promise.all(h.map(p=>Promise.resolve(p).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),f=(d==null?void 0:d.nonce)||(d==null?void 0:d.getAttribute("nonce"));s=u(i.map(h=>{if(h=rj(h),h in y0)return;y0[h]=!0;const p=h.endsWith(".css"),x=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${x}`))return;const b=document.createElement("link");if(b.rel=p?"stylesheet":aj,p||(b.as="script"),b.crossOrigin="",b.href=h,f&&b.setAttribute("nonce",f),document.head.appendChild(b),p)return new Promise((v,S)=>{b.addEventListener("load",v),b.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${h}`)))})}))}function o(u){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u}return s.then(u=>{for(const d of u||[])d.status==="rejected"&&o(d.reason);return t().catch(o)})};/** 27 * react-router v8.3.0 28 * 29 * Copyright (c) Remix Software Inc. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE.md file in the root directory of this source tree. 33 * 34 * @license MIT 35 */const Dd=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,gg=/^[\\/]{2}/;function FS(e,t){return t+e.replace(/\\/g,"/")}/** 36 * react-router v8.3.0 37 * 38 * Copyright (c) Remix Software Inc. 39 * 40 * This source code is licensed under the MIT license found in the 41 * LICENSE.md file in the root directory of this source tree. 42 * 43 * @license MIT 44 */const x0="popstate";function b0(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function lj(e={}){function t(r,s){var h;let o=(h=s.state)==null?void 0:h.masked,{pathname:u,search:d,hash:f}=o||r.location;return Vo("",{pathname:u,search:d,hash:f},s.state&&s.state.usr||null,s.state&&s.state.key||"default",o?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function i(r,s){return typeof s=="string"?s:Yi(s)}return uj(t,i,null,e)}function Ye(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function hn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function oj(){return Math.random().toString(36).substring(2,10)}function v0(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Vo(e,t,i=null,r,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?$i(t):t,state:i,key:t&&t.key||r||oj(),mask:s}}function Yi({pathname:e="/",search:t="",hash:i=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function $i(e){let t={};if(e){let i=e.indexOf("#");i>=0&&(t.hash=e.substring(i),e=e.substring(0,i));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function uj(e,t,i,r={}){let{window:s=document.defaultView,v5Compat:o=!1}=r,u=s.history,d="POP",f=null,h=p();
44h==null&&(h=0,u.replaceState({...u.state,idx:h},""));function p(){return(u.state||{idx:null}).idx}function x(){d="POP";let C=p(),A=C==null?null:C-h;h=C,f&&f({action:d,location:T.location,delta:A})}function b(C,A){d="PUSH";let N=b0(C)?C:Vo(T.location,C,A);h=p()+1;let M=v0(N,h),K=T.createHref(N.mask||N);try{u.pushState(M,"",K)}catch(G){if(G instanceof DOMException&&G.name==="DataCloneError")throw G;s.location.assign(K)}o&&f&&f({action:d,location:T.location,delta:1})}function v(C,A){d="REPLACE";let N=b0(C)?C:Vo(T.location,C,A);h=p();let M=v0(N,h),K=T.createHref(N.mask||N);u.replaceState(M,"",K),o&&f&&f({action:d,location:T.location,delta:0})}function S(C){return qS(s,C)}let T={get action(){return d},get location(){return e(s,u)},listen(C){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(x0,x),f=C,()=>{s.removeEventListener(x0,x),f=null}},createHref(C){return t(s,C)},createURL:S,encodeLocation(C){let A=S(C);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:b,replace:v,go(C){return u.go(C)}};return T}function qS(e,t,i=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),Ye(r,"No window.location.(origin|href) available to create URL");let s=typeof t=="string"?t:Yi(t);return s=s.replace(/ $/,"%20"),!i&&gg.test(s)&&(s=r+s),new URL(s,r)}/** 45 * react-router v8.3.0 46 * 47 * Copyright (c) Remix Software Inc. 48 * 49 * This source code is licensed under the MIT license found in the 50 * LICENSE.md file in the root directory of this source tree. 51 * 52 * @license MIT 53 */var sl,jS,w0=(jS=class{constructor(e){qs(this,sl,new Map);if(e)for(let[t,i]of e)this.set(t,i)}get(e){if(Fn(this,sl).has(e))return Fn(this,sl).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){Fn(this,sl).set(e,t)}},sl=new WeakMap,jS);const cj=new Set(["lazy","caseSensitive","path","id","index","children"]);function dj(e){return cj.has(e)}const fj=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function hj(e){return fj.has(e)}function mj(e){return e.index===!0}function KS(e){let t={};return e.Component&&Object.assign(t,{element:R.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:R.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:R.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function Io(e,t=KS,i=[],r={},s=!1){return e.map((o,u)=>{let d=[...i,String(u)],f=typeof o.id=="string"?o.id:d.join("-");if(Ye(o.index!==!0||!o.children,"Cannot specify children on an index route"),Ye(s||!r[f],`Found a route id collision on i
53d "${f}". Route id's must be globally unique within Data Router usages`),mj(o)){let h={...o,id:f};return r[f]=S0(h,t(h)),h}else{let h={...o,id:f,children:void 0};return r[f]=S0(h,t(h)),o.children&&(h.children=Io(o.children,t,d,r,s)),h}})}function S0(e,t){return Object.assign(e,{...t,...typeof t.lazy=="object"&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function GS(e,t,i="/"){return Ni(e,t,i,!1)}function Ni(e,t,i,r,s){let o=Di((typeof t=="string"?$i(t):t).pathname||"/",i);if(o==null)return null;let u=s??Bc(e),d=null,f=jj(o);for(let h=0;d==null&&h<u.length;++h)d=Ej(u[h],f,r);return d}function pj(e,t){let{route:i,pathname:r,params:s}=e;return{id:i.id,pathname:r,params:s,loaderData:t[i.id],handle:i.handle}}function Bc(e){let t=YS(e);return gj(t),t}function YS(e,t=[],i=[],r="",s=!1){let o=(u,d,f=s,h)=>{let p={relativePath:h===void 0?u.path||"":h,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&f)return;Ye(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let x=di([r,p.relativePath]),b=i.concat(p);u.children&&u.children.length>0&&(Ye(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),YS(u.children,t,b,x,f)),!(u.path==null&&!u.index)&&t.push({path:x,score:Cj(x,u.index),routesMeta:b.map((v,S)=>{let[T,C]=XS(v.relativePath,v.caseSensitive,S===b.length-1);return{...v,matcher:T,compiledParams:C}})})};return e.forEach((u,d)=>{var f;if(u.path===""||!((f=u.path)!=null&&f.includes("?")))o(u,d);else for(let h of ZS(u.path))o(u,d,!0,h)}),t}function ZS(e){let t=e.split("/");if(t.length===0)return[];let[i,...r]=t,s=i.endsWith("?"),o=i.replace(/\?$/,"");if(r.length===0)return s?[o,""]:[o];let u=ZS(r.join("/")),d=[];return d.push(...u.map(f=>f===""?o:[o,f].join("/"))),s&&d.push(...u),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function gj(e){e.sort((t,i)=>t.score!==i.score?i.score-t.score:Aj(t.routesMeta.map(r=>r.childrenIndex),i.routesMeta.map(r=>r.childrenIndex)))}const yj=/^:[\w-]+$/,xj=/^:[\w-]+/,bj=3.5,vj=3,wj=2,Sj=1,kj=10,Tj=-2,k0=e=>e==="*";function Cj(e,t){let i=e.split("/"),r=i.length;return i.some(k0)&&(r+=Tj),t&&(r+=wj),i.filter(s=>!k0(s)).reduce((s,o)=>s+(yj.test(o)?vj:xj.test(o)?bj:o===""?Sj:kj),r)}function Aj(e,t){return e.length===t.length&&e.slice(0,-1).every((i,r)=>i===t[r])?e[e.length-1]-t[t.length-1]:0}function Ej(e,t,i=!1){let{routesMeta:r}=e,s={},o="/",u=[];for(let d=0;d<r.length;++d){let f=r[d],h=d===r.length-1,p=o==="/"?t:t.slice(o.length)||"/",x={path:f.relativePath,caseSensitive:f.caseSensitive,end:h},b=f.matcher&&f.compiledParams?$S(x,p,f.matcher,f.compiledParams):sd(x,p),v=f.route;if(!b&&h&&i&&!r[r.length-1].route.index&&(b=sd({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},p)),!b)return null;
53Object.assign(s,b.params),u.push({params:s,pathname:di([o,b.pathname]),pathnameBase:Mj(di([o,b.pathnameBase])),route:v}),b.pathnameBase!=="/"&&(o=di([o,b.pathnameBase]))}return u}function sd(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[i,r]=XS(e.path,e.caseSensitive,e.end);return $S(e,t,i,r)}function $S(e,t,i,r){let s=t.match(i);if(!s)return null;let o=s[0],u=o.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:r.reduce((f,{paramName:h,isOptional:p},x)=>{if(h==="*"){let v=d[x]||"";u=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const b=d[x];return p&&!b?f[h]=void 0:f[h]=(b||"").replace(/%2F/g,"/"),f},{}),pathname:o,pathnameBase:u,pattern:e}}function XS(e,t=!1,i=!0){hn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,u,d,f,h)=>{if(r.push({paramName:u,isOptional:d!=null}),d){let p=h.charAt(f+o.length);return p&&p!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function jj(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return hn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Di(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let i=t.endsWith("/")?t.length-1:t.length,r=e.charAt(i);return r&&r!=="/"?null:e.slice(i)||"/"}function Nj({basename:e,pathname:t}){return t==="/"?e:di([e,t])}const yg=e=>Dd.test(e);function Rj(e,t="/"){let{pathname:i,search:r="",hash:s=""}=typeof e=="string"?$i(e):e,o;return i?(i=xg(i),i.startsWith("/")?o=T0(i.substring(1),"/"):o=T0(i,t)):o=t,{pathname:o,search:_j(r),hash:Dj(s)}}function T0(e,t){let i=WS(t).split("/");return e.split("/").forEach(r=>{r===".."?i.length>1&&i.pop():r!=="."&&i.push(r)}),i.length>1?i.join("/"):"/"}function um(e,t,i,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function JS(e){return e.filter((t,i)=>i===0||t.route.path&&t.route.path.length>0)}function zd(e){let t=JS(e);return t.map((i,r)=>r===t.length-1?i.pathname:i.pathnameBase)}function Qo(e,t,i,r=!1){let s;typeof e=="string"?s=$i(e):(s={...e},Ye(!s.pathname||!s.pathname.includes("?"),um("?","pathname","search",s)),Ye(!s.pathname||!s.pathname.includes("#"),um("#","pathname","hash",s)),Ye(!s.search||!s.search.includes("#"),um("#","search","hash",s)));let o=e===""||s.pathname==="",u=o?"/":s.pathname,d;if(u==null)d=i;else{let x=t.length-1;if(!r&&u.startsWith("..")){let b=u.split("/");for(;b[0]==="..";)b.shift(),x-=1;s.pathname=b.join("/")}d=x>=0?t[x]:"/"}let f=Rj(s,d),h=u&&u!=="/"&&u.endsWith("/"),p=(o||u===".")&&i.endsWith("/");return!f.pathname.endsWith("/")&&(h||p)&&(f.pathname+="/"),f}const xg=e=>e.replace(/[\\/]{2,}/g,"/"),di=e=>xg(e.join("/")),WS=e=>e.replace(/\/+$/,""),Mj=e=>WS(e).replace(/^\/*/,"/"),_j=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Dj=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,zj=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"];var eu=class{constructor(e,t,i,r=!1){Ai(this,"status");Ai(this,"statusText");Ai(this,"data");Ai(this,"error");Ai(this,"internal");this.status=e,this.statusText=t||"",this.internal=r,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function Fo(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function ml(e){return di(e.map(t=>
53t.route.path).filter(Boolean))||"/"}function bg(e,t){let i=new URL(typeof e=="string"||e instanceof URL?e:e.url),r=typeof t=="string"?$i(t):t;if(i.pathname=r.pathname||"/",r.search){let s=new URLSearchParams(r.search),o=s.getAll("index");s.delete("index");for(let d of o.filter(Boolean))s.append("index",d);let u=s.toString();i.search=u?`?${u}`:""}else i.search="";return i.hash=r.hash||"",i}const QS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function e2(e,t){let i=e;if(typeof i!="string"||!Dd.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let r=i,s=!1;if(QS)try{let o=new URL(window.location.href),u=gg.test(i)?new URL(FS(i,o.protocol)):new URL(i),d=Di(u.pathname,t);u.origin===o.origin&&d!=null?i=d+u.search+u.hash:s=!0}catch{hn(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:s,to:i}}/** 54 * react-router v8.3.0 55 * 56 * Copyright (c) Remix Software Inc. 57 * 58 * This source code is licensed under the MIT license found in the 59 * LICENSE.md file in the root directory of this source tree. 60 * 61 * @license MIT 62 */const t2=Symbol("Uninstrumented");let No=new WeakMap;function Lj(e,t){let i={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(s=>s({id:t.id,index:t.index,path:t.path,instrument(o){o.lazy!=null&&i.lazy.push(o.lazy),o["lazy.loader"]!=null&&i["lazy.loader"].push(o["lazy.loader"]),o["lazy.action"]!=null&&i["lazy.action"].push(o["lazy.action"]),o["lazy.middleware"]!=null&&i["lazy.middleware"].push(o["lazy.middleware"]),o.middleware!=null&&i.middleware.push(o.middleware),o.loader!=null&&i.loader.push(o.loader),o.action!=null&&i.action.push(o.action)}}));let r={};if(typeof t.lazy=="function"&&i.lazy.length>0){let s=t.lazy;r.lazy=async(...o)=>ja(await Fi(i.lazy,void 0,()=>s(...o),Na))}if(typeof t.lazy=="object"){let s=t.lazy;if(typeof s.middleware=="function"&&i["lazy.middleware"].length>0){let o=s.middleware;r.lazy=Object.assign(r.lazy||{},{middleware:async(...u)=>ja(await Fi(i["lazy.middleware"],void 0,()=>o(...u),Na))})}if(typeof s.loader=="function"&&i["lazy.loader"].length>0){let o=s.loader;r.lazy=Object.assign(r.lazy||{},{loader:async(...u)=>ja(await Fi(i["lazy.loader"],void 0,()=>o(...u),Na))})}if(typeof s.action=="function"&&i["lazy.action"].length>0){let o=s.action;r.lazy=Object.assign(r.lazy||{},{action:async(...u)=>ja(await Fi(i["lazy.action"],void 0,()=>o(...u),Na))})}}if(typeof t.loader=="function"&&i.loader.length>0){let s=Ro(t.loader),o=async(...u)=>ja(await Fi(i.loader,cm(u[0]),()=>s(...u),Na));s.hydrate===!0&&(o.hydrate=!0),Mo(o,s),r.loader=o}if(typeof t.action=="function"&&i.action.length>0){let s=Ro(t.action),o=async(...u)=>ja(await Fi(i.action,cm(u[0]),()=>s(...u),Na));Mo(o,s),r.action=o}return t.middleware&&t.middleware.length>0&&i.middleware.length>0&&(r.middleware=t.middleware.map(s=>{let o=Ro(s),u=async(...d)=>ja(await Fi(i.middleware,cm(d[0]),()=>o(...d),Na));return Mo(u,o),u})),r}function Oj(e,t){let i={navigate:[],fetch:[]};if(t.forEach(r=>r({instrument(s){s.navigate!=null&&i.navigate.push(s.navigate),s.fetch!=null&&i.fetch.push(s.fetch)}})),i.navigate.length>0){let r=Ro(e.navigate),s=async(...o)=>{let[u,d]=o,f,h={to:typeof u=="number"||typeof u=="string"?u:u?Yi(u):".",...E0(e,d??{})};return ja(await Fi(i.navigate,h,async()=>{if(typeof u=="number")return await r(...o);let p=C0(e,x=>{f=x});try{return await r(...o)}finally{p()}},p=>({...Na(p),meta:f})))};Mo(s,r),e.navigate=s}if(i.fetch.length>0){let r=Ro(e.fetch),s=async(...o)=>{let[u,d,f,h]=o,p;return ja(await Fi(i.fetch,{href:f??".",fetcherKey:u,...E0(e,h??{})},async()=>{let x=C0(e,b=>{p=b});try{return await r(...o)}finally{x()}},x=>({...Na(x),meta:p})))};Mo(s,r),e.fetch=s}return e}function Ro(e){return e[t2]??e}function Mo(e,t){e[t2]=t}function C0(e,t){return No.set(e,t),()=>{No.get(e)===t&&No.delete(e)}}function A0(e){let t=No.get(e);return No.delete(e),t}function ja(e){if(e.type==="error")throw e.value;return e.value}async function Fi(e,t,i,r,s={result:null,innerResult:null},o=e.length-1){let u=e[o];if(u){let d,f=async()=>(d?console.error("You cannot call instrumented handlers more than once"):d=Fi(e,t,i,r,s,o-1),await d,Ye(s.innerResult,"Expected an inner result"),s.innerResult);try{await u(f,t)}catch(h){console.error("An instrumentation function threw an error:",h)}d||await f(),await d}else{try{s.result={type:"success",value:await i()}}catch(d){s.result={type:"error",value:d}}s.innerResult=r(s.result,t)}return s.result||(s.result={type:"error",value:new Error("No result assigned in instrumentation chain.")},s.innerResult=r(s.result,t)),s.result}function Na(e){return e.type==="error"&&e.value instanceof Error?{status:"error",error:e.value}:{status:"success",error:void 0}}function cm(e){let{request:t,context:i,params:r}=e;return{...e,request:Pj(t),params:{...r},context:Bj(i)}}function E0(e,t){return{currentUrl:Yi(e.state.location),..."formMethod"in t?{formMethod:t.formMethod}:{},..."formEncType"in t?{formEncType:t.formEncType}:{},..."formData"in t?{formData:t.formData}:{},..."body"in t?{body:t.body}:{}}}function Pj(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function Bj(e){return{get:t=>e.get(t)}}/** 63 * react-router v8.3.0 64 * 65 * Copyright (c) Remix Software Inc. 66 * 67 * This source code is licensed under the MIT license found in the 68 * LICENSE.md file in the root directory of this source tree. 69 * 70 * @license MIT 71 */const n2=["POST","PUT","PATCH","DELETE"],Uj=new Set(n2),Hj=["GET",...n2],Vj=new Set(Hj),i2=ne
71w Set([301,302,303,307,308]),Ij=new Set([307,308]),dm={state:"idle",location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Fj={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},go={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},a2="remix-router-transitions",r2=Symbol("ResetLoaderData");var gr,es,Ra,ts,NS,qj=(NS=class{constructor(t){qs(this,gr);qs(this,es);qs(this,Ra);qs(this,ts);Ei(this,gr,t),Ei(this,es,Bc(t))}get stableRoutes(){return Fn(this,gr)}get activeRoutes(){return Fn(this,Ra)??Fn(this,gr)}get branches(){return Fn(this,ts)??Fn(this,es)}get hasHMRRoutes(){return Fn(this,Ra)!=null}setRoutes(t){Ei(this,gr,t),Ei(this,es,Bc(t))}setHmrRoutes(t){Ei(this,Ra,t),Ei(this,ts,Bc(t))}commitHmrRoutes(){Fn(this,Ra)&&(Ei(this,gr,Fn(this,Ra)),Ei(this,es,Fn(this,ts)),Ei(this,Ra,void 0),Ei(this,ts,void 0))}},gr=new WeakMap,es=new WeakMap,Ra=new WeakMap,ts=new WeakMap,NS);function Kj(e){const t=e.window?e.window:typeof window<"u"?window:void 0,i=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";Ye(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let r=e.hydrationRouteProperties||[],s=e.mapRouteProperties,o=s||(()=>({}));if(e.instrumentations){let D=e.instrumentations;o=P=>({...s==null?void 0:s(P),...Lj(D.map(V=>V.route).filter(Boolean),P)})}let u={},d=new qj(Io(e.routes,o,void 0,u)),f=e.basename||"/";f.startsWith("/")||(f=`/${f}`);let h=e.dataStrategy||Xj,p={...e.future},x=null,b=new Set,v=null,S=null,T=null,C=null,A=e.hydrationData!=null,N=Ni(d.activeRoutes,e.history.location,f,!1,d.branches),M=!1,K=null,G,U;if(N==null&&!e.patchRoutesOnNavigation){let D=oi(404,{pathname:e.history.location.pathname}),{matches:P,route:V}=Tc(d.activeRoutes);G=!0,U=!G,N=P,K={[V.id]:D}}else if(N&&!e.hydrationData&&Pa(N,d.activeRoutes,e.history.location.pathname).active&&(N=null),N)if(N.some(D=>D.route.lazy))G=!1,U=!G;else if(!N.some(D=>vg(D.route)))G=!0,U=!G;else{let D=e.hydrationData?e.hydrationData.loaderData:null,P=e.hydrationData?e.hydrationData.errors:null,V=N;if(P){let ie=N.findIndex(ae=>P[ae.route.id]!==void 0);V=V.slice(0,ie+1)}U=!1,G=!0,V.forEach(ie=>{let ae=s2(ie.route,D,P);U=U||ae.renderFallback,G=G&&!ae.shouldLoad})}else{G=!1,U=!G,N=[];let D=Pa(null,d.activeRoutes,e.history.location.pathname);D.active&&D.matches&&(M=!0,N=D.matches)}let ee,L={historyAction:e.history.action,location:e.history.location,matches:N,initialized:G,renderFallback:U,navigation:dm,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||K,fetchers:new Map,blockers:new Map},se="POP",z=null,te=!1,Z,pe=!1,oe=new Map,ne=null,H=!1,J=!1,re=new Set,de=new Map,E=0,ve=-1,Me=new Map,j=new Set,He=new Map,ft=new Map,Oe=new Set,Ot=new Map,en,Pt=null;function $n(){if(x=e.history.listen(({action:D,location:P,delta:V})=>{if(en){en(),en=void 0;return}hn(Ot.size===0||V!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ie=Rr({currentLocation:L.location,nextLocation:P,historyAction:D});if(ie&&V!=null){let ae=new Promise(ye=>{en=ye});e.history.go(V*-1),Qi(ie,{state:"blocked",location:P,proceed(){Qi(ie,{state:"proceeding",proceed:void 0,reset:void 0,location:P}),ae.then(()=>e.history.go(V))},reset(){let ye=new Map(L.blockers);ye.set(ie,go),Bt({blockers:ye})}}),z==null||z.resolve(),z=null;return}return Xn(D,P)}),i){pN(t,oe);let D=()=>gN(t,oe);t.addEventListener("pagehide",D),ne=()=>t.removeEventListener("pagehide",D)}return L.initialized||Xn("POP",L.location,{initialHydration:!0}),ee}function yi(){x&&x(),ne&&ne(),b.clear(),Z&&Z.abort(),L.fetchers.forEac
71h((D,P)=>$t(L.fetchers,P)),L.blockers.forEach((D,P)=>Nr(P))}function Er(D){if(b.add(D),v){let{newErrors:P}=v;v=null,D(L,{deletedFetchers:[],newErrors:P,viewTransitionOpts:void 0,flushSync:!1})}return()=>b.delete(D)}function Bt(D,P={}){D.matches&&(D.matches=D.matches.map(ae=>{let ye=u[ae.route.id],he=ae.route;return he.element!==ye.element||he.errorElement!==ye.errorElement||he.hydrateFallbackElement!==ye.hydrateFallbackElement?{...ae,route:ye}:ae})),L={...L,...D};let V=[],ie=[];L.fetchers.forEach((ae,ye)=>{ae.state==="idle"&&(Oe.has(ye)?V.push(ye):ie.push(ye))}),Oe.forEach(ae=>{!L.fetchers.has(ae)&&!de.has(ae)&&V.push(ae)}),b.size===0&&(v={newErrors:D.errors??null}),[...b].forEach(ae=>ae(L,{deletedFetchers:V,newErrors:D.errors??null,viewTransitionOpts:P.viewTransitionOpts,flushSync:P.flushSync===!0})),V.forEach(ae=>$t(L.fetchers,ae)),ie.forEach(ae=>L.fetchers.delete(ae))}function mn(D,P,{flushSync:V}={}){var De,je;let ie=L.actionData!=null&&L.navigation.formMethod!=null&&pn(L.navigation.formMethod)&&L.navigation.state==="loading"&&((De=D.state)==null?void 0:De._isRedirect)!==!0,ae;P.actionData?Object.keys(P.actionData).length>0?ae=P.actionData:ae=null:ie?ae=L.actionData:ae=null;let ye=P.loaderData?P0(L.loaderData,P.loaderData,P.matches||[],P.errors):L.loaderData,he=L.blockers;he.size>0&&!H&&(he=new Map(he),he.forEach((Le,ot)=>he.set(ot,go)));let me=H?!1:Cl(D,P.matches||L.matches),fe=te===!0||L.navigation.formMethod!=null&&pn(L.navigation.formMethod)&&((je=D.state)==null?void 0:je._isRedirect)!==!0;d.commitHmrRoutes(),H||se==="POP"||(se==="PUSH"?e.history.push(D,D.state):se==="REPLACE"&&e.history.replace(D,D.state));let Ae;if(se==="POP"){let Le=oe.get(L.location.pathname);Le&&Le.has(D.pathname)?Ae={currentLocation:L.location,nextLocation:D}:oe.has(D.pathname)&&(Ae={currentLocation:D,nextLocation:L.location})}else if(pe){let Le=oe.get(L.location.pathname);Le?Le.add(D.pathname):(Le=new Set([D.pathname]),oe.set(L.location.pathname,Le)),Ae={currentLocation:L.location,nextLocation:D}}Bt({...P,actionData:ae,loaderData:ye,historyAction:se,location:D,initialized:!0,renderFallback:!1,navigation:dm,revalidation:"idle",restoreScrollPosition:me,preventScrollReset:fe,blockers:he},{viewTransitionOpts:Ae,flushSync:V===!0}),se="POP",te=!1,pe=!1,H=!1,J=!1,z==null||z.resolve(),z=null,Pt==null||Pt.resolve(),Pt=null}async function Ji(D,P){if(z==null||z.resolve(),z=null,typeof D=="number"){z||(z=I0());let at=z.promise;return e.history.go(D),at}let V=A0(ee),{path:ie,submission:ae,error:ye}=j0(!1,hp(L.location,L.matches,f,D,P==null?void 0:P.fromRouteId,P==null?void 0:P.relative),P),he;P!=null&&P.mask&&(he={pathname:"",search:"",hash:"",...typeof P.mask=="string"?$i(P.mask):{...L.location.mask,...P.mask}});let me=L.location,fe=Vo(me,ie,P&&P.state,void 0,he);fe={...fe,...e.history.encodeLocation(fe)};let Ae=P&&P.replace!=null?P.replace:void 0,De="PUSH";Ae===!0?De="REPLACE":Ae===!1||ae!=null&&pn(ae.formMethod)&&ae.formAction===L.location.pathname+L.location.search&&(De="REPLACE");let je=P&&"preventScrollReset"in P?P.preventScrollReset===!0:void 0,Le=(P&&P.flushSync)===!0,ot=Rr({currentLocation:me,nextLocation:fe,historyAction:De});if(ot){Qi(ot,{state:"blocked",location:fe,proceed(){Qi(ot,{state:"proceeding",proceed:void 0,reset:void 0,location:fe}),Ji(D,P)},reset(){let at=new Map(L.blockers);at.set(ot,go),Bt({blockers:at})}});return}await Xn(De,fe,{submission:ae,pendingError:ye,preventScrollReset:je,replace:P&&P.replace,enableViewTransition:P&&P.viewTransition,flushSync:Le,callSiteDefaultShouldRevalidate:P&&P.defaultShouldRevalidate,instrumentationNavigateMetaReceiver:V})}function za(){Pt||(Pt=I0()),Ne(),Bt({revalidation:"loading"});let D=Pt.promise;return L.navigation.state==="submitting"?D:L.navigation.state==="idle"?(Xn(L.historyAction,L.location,{startUninterruptedRevalidation:!0}),D):(Xn(se||L.historyAction,L.navigation.location,{overrideNavigation:L.navigation,enableViewTransition:pe===!0}),D)}async function Xn(D,P,V){Z&&Z.abort(),Z=null,se=D,H=(V&&V.startUninterruptedRevalidation)===!0,Yd(L.location,L.matches),te=(V&&V.preventScrollReset)===!0,pe=(V&&V.enableViewTransition)===!0;let ie=d.activeRoutes,ae=V!=null&&V.initialHydration&&L.matches&&L.matches.length>0&&!M?L.matches:Ni(ie,P,f,!1,d.branches),ye=(V&&V.flushSync)===!0;if(ae&&L.initialized&&!J&&rN(L.location,P)&&!(V&&V.submission&&pn(V.submission.formMethod))){mn(P,{matches:ae},{flushSync:ye});return}let he=Pa(ae,ie,P.pathname);if(he.active&&he.matches&&(ae=he.matches),V!=null&&V.instrumentationNavigateMetaReceiver){let Ve=H0(e.history,P,ae);V.instrumentationNavigateMetaReceiver(Ve)}if(!ae){let{error:Ve,notFoundMatches:bn,route:_t}=wi(P.pathname);mn(P,{matches:bn,loaderData:{},errors:{[_t.id]:Ve}},{flushSync:ye});return}let me=V&&V.overrideNavigation?{...V.overrideNavigation,matches:ae,historyAction:D}:void 0;Z=new AbortController;let fe=$s(e.history,P,Z.signal,V&&V.submission),Ae=e.getContext?await e.getContext():new w0,De;if(V&&V.pendingError)De=[pr(ae).route.id,{type:"error",error:V.pendingError}];else if(V&&V.submission&&pn(V.submission.formMethod)){let Ve=await os(fe,P,V.submission,ae,D,Ae,he.active,V&&V.initialHydration===!0,{replace:V.replace,flushSync:ye});if(Ve.shortCircuited)return;if(Ve.pendingActionResult){let[bn,_t]=Ve.pendingActionResult;if(Kn(_t)&&Fo(_t.error)&&_t.error.status===404){Z=null,mn(P,{matches:Ve.matches,loaderData:{},errors:{[bn]:_t.error}});return}}ae=Ve.matches||ae,De=Ve.pendingActionResult,me=fm(P,ae,D,V.submission),ye=!1,he.active=!1,fe=$s(e.history,fe.url,fe.signal)}let{shortCircuited:je,matches:Le,loaderData:ot,errors:at,workingFetchers:kt}=await La(fe,P,ae,D,Ae,he.active,me,V&&V.submission,V&&V.fetcherSubmission,V&&V.replace,V&&V.initialHydration===!0,ye,De,V&&V.callSiteDefaultShouldRevalidate);je||(Z=null,mn(P,{matches:Le||ae,...B0(De),loaderData:ot,errors:at,...kt?{fetchers:kt}:{}}))}async function os(D,P,V,ie,ae,ye,he,me,fe={}){if(Ne(),Bt({navigation:hN(P,ie,ae,V)},{flushSync:fe.flushSync===!0}),he){let je=await zi(ie,P.pathname,D.signal);if(je.type==="aborted")return{shortCircuited:!0};if(je.type==="error"){if(je.partialMatches.length===0){let{matches:ot,route:at}=Tc(d.activeRoutes);return{matches:ot,pendingActionResult:[at.id,{type:"error",error:je.error}]}}let Le=pr(je.partialMatches).route.id;return{matches:je.partialMatches,pendingActionResult:[Le,{type:"error",error:je.error}]}}else if(je.matches)ie=je.matches;else{let{notFoundMatches:Le,error:ot,route:at}=wi(P.pathname);return{matches:Le,pendingActionResult:[at.id,{type:"error",error:ot}]}}}let Ae,De=Uc(ie,P);if(!De.route.action&&!De.route.lazy)Ae={type:"error",error:oi(405,{method:D.method,pathname:P.pathname,routeId:De.route.id})};else{let je=await $(D,P,il(o,u,D,P,ie,De,me?[]:r,ye),ye,null);if(Ae=je[De.route.id],!Ae){for(let Le of ie)if(je[Le.route.id]){Ae=je[Le.route.id];break}}if(D.signal.aborted)return{shortCircuited:!0}}if(Jr(Ae)){let je;return fe&&fe.replace!=null?je=fe.replace:je=z0(Ae.response.headers.get("Location"),new URL(D.url),f,e.history)===L.location.pathname+L.location.search,await xi(D,Ae,!0,{submission:V,replace:je}),{shortCircuited:!0}}if(Kn(Ae)){let je=pr(ie,De.route.id);return(fe&&fe.replace)!==!0&&(se="PUSH"),{matches:ie,pendingActionResult:[je.route.id,Ae,De.route.id]}}return{matches:ie,pendingActionResult:[De.route.id,Ae]}}async function La(D,P,V,ie,ae,ye,he,me,fe,Ae,De,je,Le,ot){let at=he||fm(P,V,ie,me),kt=me||fe||V0(at),Ve=!H&&!De;if(ye){if(Ve){let ct=Wi(Le);Bt({navigation:at,...ct!==void 0?{actionData:ct}:{}},{flushSync:je})}let Pe=await zi(V,P.pathname,D.signal);if(Pe.type==="aborted")return{shortCircuited:!0};if(Pe.type==="error"){if(Pe.partialMatches.length===0){let{matches:Wn,route:Ua}=Tc(d.activeRoutes);return{matches:Wn,loaderData:{},errors:{[Ua.id]:Pe.error}}}let ct=pr(Pe.partialMatches).route.id;return{matches:Pe.partialMatches,loaderData:{},errors:{[ct]:Pe.error}}}else if(Pe.matches)V=Pe.matches;else{let{error:ct,notFoundMatches:Wn,route:Ua}=wi(P.pathname);return{matches:Wn,loaderData:{},errors:{[Ua.id]:ct}}}}let bn=d.activeRoutes,{dsMatches:_t,revalidatingFetchers:ut}=N0(D,ae,o,u,e.history,L,V,kt,P,De?[]:r,De===!0,J,re,Oe,He,j,bn,f,e.patchRoutesOnNavigation!=null,d.branches,Le,ot);if(ve=++E,!e.dataStrategy&&!_t.some(Pe=>Pe.shouldLoad)&&!_t.some(Pe=>Pe.route.middleware&&Pe.route.middleware.length>0)&&ut.length===0){let Pe=new Map(L.fetchers),ct=vi(Pe);return mn(P,{matches:V,loaderData:{},errors:Le&&Kn(Le[1])?{[Le[0]]:Le[1].error}:null,...B0(Le),...ct?{fetchers:Pe}:{}},{flushSync:je}),{shortCircuited:!0}}if(Ve){let Pe={};
71if(!ye){Pe.navigation=at;let ct=Wi(Le);ct!==void 0&&(Pe.actionData=ct)}ut.length>0&&(Pe.fetchers=jr(ut)),Bt(Pe,{flushSync:je})}ut.forEach(Pe=>{Rt(Pe.key),Pe.controller&&de.set(Pe.key,Pe.controller)});let Si=()=>ut.forEach(Pe=>Rt(Pe.key));Z&&Z.signal.addEventListener("abort",Si);let{loaderResults:ea,fetcherResults:Jn}=await ce(_t,ut,D,P,ae);if(D.signal.aborted)return{shortCircuited:!0};Z&&Z.signal.removeEventListener("abort",Si),ut.forEach(Pe=>de.delete(Pe.key));let Xt=Cc(ea);if(Xt)return await xi(D,Xt.result,!0,{replace:Ae}),{shortCircuited:!0};if(Xt=Cc(Jn),Xt)return j.add(Xt.key),await xi(D,Xt.result,!0,{replace:Ae}),{shortCircuited:!0};let Ba=new Map(L.fetchers),{loaderData:ta,errors:na}=O0(L,V,ea,Le,ut,Jn,Ba);De&&L.errors&&(na={...L.errors,...na});let cs=vi(Ba),ia=Cn(ve,Ba),aa=cs||ia||ut.length>0;return{matches:V,loaderData:ta,errors:na,...aa?{workingFetchers:Ba}:{}}}function Wi(D){if(D&&!Kn(D[1]))return{[D[0]]:D[1].data};if(L.actionData)return Object.keys(L.actionData).length===0?null:L.actionData}function jr(D){let P=new Map(L.fetchers);return D.forEach(V=>{let ie=P.get(V.key),ae=yo(void 0,ie?ie.data:void 0);P.set(V.key,ae)}),P}async function kl(D,P,V,ie){Rt(D);let ae=(ie&&ie.flushSync)===!0,ye=A0(ee),he=d.activeRoutes,me=hp(L.location,L.matches,f,V,P,ie==null?void 0:ie.relative),fe=Ni(he,me,f,!1,d.branches),Ae=Pa(fe,he,me);if(Ae.active&&Ae.matches&&(fe=Ae.matches),ye&&ye(H0(e.history,me,fe)),!fe){Ge(D,P,oi(404,{pathname:me}),{flushSync:ae});return}let{path:De,submission:je,error:Le}=j0(!0,me,ie);if(Le){Ge(D,P,Le,{flushSync:ae});return}let ot=e.getContext?await e.getContext():new w0,at=(ie&&ie.preventScrollReset)===!0;if(je&&pn(je.formMethod)){await Tl(D,P,De,fe,ot,Ae.active,ae,at,je,ie&&ie.defaultShouldRevalidate);return}He.set(D,{routeId:P,path:De}),await an(D,P,De,fe,ot,Ae.active,ae,at,je)}async function Tl(D,P,V,ie,ae,ye,he,me,fe,Ae){Ne(),He.delete(D),ze(D,mN(fe,L.fetchers.get(D)),{flushSync:he});let De=new AbortController,je=$s(e.history,V,De.signal,fe);if(ye){let Ct=await zi(ie,new URL(je.url).pathname,je.signal,D);if(Ct.type==="aborted")return;if(Ct.type==="error"){Ge(D,P,Ct.error,{flushSync:he});return}else if(Ct.matches)ie=Ct.matches;else{Ge(D,P,oi(404,{pathname:V}),{flushSync:he});return}}let Le=Uc(ie,V);if(!Le.route.action&&!Le.route.lazy){Ge(D,P,oi(405,{method:fe.formMethod,pathname:V,routeId:P}),{flushSync:he});return}de.set(D,De);let ot=E,at=il(o,u,je,V,ie,Le,r,ae),kt=await $(je,V,at,ae,D),Ve=kt[Le.route.id];if(!Ve){for(let Ct of at)if(kt[Ct.route.id]){Ve=kt[Ct.route.id];break}}if(je.signal.aborted){de.get(D)===De&&de.delete(D);return}if(Oe.has(D)){if(Jr(Ve)||Kn(Ve)){ze(D,Ui(void 0));return}}else{if(Jr(Ve))if(de.delete(D),ve>ot){ze(D,Ui(void 0));return}else return j.add(D),ze(D,yo(fe)),xi(je,Ve,!1,{fetcherSubmission:fe,preventScrollReset:me});if(Kn(Ve)){Ge(D,P,Ve.error);return}}let bn=L.navigation.location||L.location,_t=$s(e.history,bn,De.signal),ut=d.activeRoutes,Si=L.navigation.state!=="idle"?Ni(ut,L.navigation.location,f,!1,d.branches):L.matches;Ye(Si,"Didn't find any matches after fetcher action");let ea=++E;Me.set(D,ea);let{dsMatches:Jn,revalidatingFetchers:Xt}=N0(_t,ae,o,u,e.history,L,Si,fe,bn,r,!1,J,re,Oe,He,j,ut,f,e.patchRoutesOnNavigation!=null,d.branches,[Le.route.id,Ve],Ae),Ba=yo(fe,Ve.data),ta=new Map(L.fetchers);ta.set(D,Ba),Xt.filter(Ct=>Ct.key!==D).forEach(Ct=>{let Qn=Ct.key,mu=ta.get(Qn),An=yo(void 0,mu?mu.data:void 0);ta.set(Qn,An),Rt(Qn),Ct.controller&&de.set(Qn,Ct.controller)}),Bt({fetchers:ta});let na=()=>Xt.forEach(Ct=>Rt(Ct.key));De.signal.addEventListener("abort",na);let{loaderResults:cs,fetcherResults:ia}=await ce(Jn,Xt,_t,bn,ae);if(De.signal.aborted)return;De.signal.removeEventListener("abort",na),Me.delete(D),de.delete(D),Xt.forEach(Ct=>de.delete(Ct.key));let aa=L.fetchers.has(D),Pe=Ct=>{if(!aa)return Ct;let Qn=new Map(Ct.fetchers);return Qn.set(D,Ui(Ve.data)),{...Ct,fetchers:Qn}},ct=Cc(cs);if(ct)return L=Pe(L),xi(_t,ct.result,!1,{preventScrollReset:me});if(ct=Cc(ia),ct)return j.add(ct.key),L=Pe(L),xi(_t,ct.result,!1,{preventScrollReset:me});let Wn=new Map(L.fetchers);aa&&Wn.set(D,Ui(Ve.data));let{loaderData:Ua,errors:Mr}=O0(L,Si,cs,void 0,Xt,ia,Wn);Cn(ea,Wn),L.navigation.state==="loading"&&ea>ve?(Ye(se,"Expected pending action"),Z&&Z.abort(),mn(L.navigation.location,{matches:Si,loaderData:Ua,errors:Mr,fetchers:Wn})):(Bt({errors:Mr,loaderData:P0(L.loaderData,Ua,Si,Mr),fetchers:Wn}),J=!1)}async function an(D,P,V,ie,ae,ye,he,me,fe){let Ae=L.fetchers.get(D);ze(D,yo(fe,Ae?Ae.data:void 0),{flushSync:he});let De=new AbortController,je=$s(e.history,V,De.signal);if(ye){let Ve=await zi(ie,new URL(je.url).pathname,je.signal,D);if(Ve.type==="aborted")return;if(Ve.type==="error"){Ge(D,P,Ve.error,{flushSync:he});return}else if(Ve.matches)ie=Ve.matches;else{Ge(D,P,oi(404,{pathname:V}),{flushSync:he});return}}let Le=Uc(ie,V);de.set(D,De);let ot=E,at=await $(je,V,il(o,u,je,V,ie,Le,r,ae),ae,D),kt=at[Le.route.id];if(!kt){for(let Ve of ie)if(at[Ve.route.id]){kt=at[Ve.route.id];break}}
71if(de.get(D)===De&&de.delete(D),!je.signal.aborted){if(Oe.has(D)){ze(D,Ui(void 0));return}if(Jr(kt))if(ve>ot){ze(D,Ui(void 0));return}else{j.add(D),await xi(je,kt,!1,{preventScrollReset:me});return}if(Kn(kt)){Ge(D,P,kt.error);return}ze(D,Ui(kt.data))}}async function xi(D,P,V,{submission:ie,fetcherSubmission:ae,preventScrollReset:ye,replace:he}={}){V||(z==null||z.resolve(),z=null),P.response.headers.has("X-Remix-Revalidate")&&(J=!0);let me=P.response.headers.get("Location");Ye(me,"Expected a Location header on the redirect Response"),me=z0(me,new URL(D.url),f,e.history);let fe=Vo(L.location,me,{_isRedirect:!0});if(i){let at=!1;if(P.response.headers.has("X-Remix-Reload-Document"))at=!0;else if(yg(me)){const kt=qS(t,me,!0);at=kt.origin!==t.location.origin||Di(kt.pathname,f)==null}if(at){he?t.location.replace(me):t.location.assign(me);return}}Z=null;let Ae=he===!0||P.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:De,formAction:je,formEncType:Le}=L.navigation;!ie&&!ae&&De&&je&&Le&&(ie=V0(L.navigation));let ot=ie||ae;Ij.has(P.response.status)&&ot&&pn(ot.formMethod)?await Xn(Ae,fe,{submission:{...ot,formAction:me},preventScrollReset:ye||te,enableViewTransition:V?pe:void 0}):await Xn(Ae,fe,{overrideNavigation:fm(fe,[],Ae,ie),fetcherSubmission:ae,preventScrollReset:ye||te,enableViewTransition:V?pe:void 0})}async function $(D,P,V,ie,ae){var me;let ye,he={};try{ye=await Wj(h,D,P,V,ae,ie,!1)}catch(fe){return V.filter(Ae=>Ae.shouldLoad).forEach(Ae=>{he[Ae.route.id]={type:"error",error:fe}}),he}if(D.signal.aborted)return he;if(!pn(D.method))for(let fe of V){if(((me=ye[fe.route.id])==null?void 0:me.type)==="error")break;!ye.hasOwnProperty(fe.route.id)&&!L.loaderData.hasOwnProperty(fe.route.id)&&(!L.errors||!L.errors.hasOwnProperty(fe.route.id))&&fe.shouldCallHandler()&&(ye[fe.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${fe.route.id}`)})}for(let[fe,Ae]of Object.entries(ye))if(uN(Ae)){let De=Ae.result;he[fe]={type:"redirect",response:nN(De,D,fe,V,f)}}else he[fe]=await tN(Ae);return he}async function ce(D,P,V,ie,ae){let ye=$(V,ie,D,ae,null),he=Promise.all(P.map(async me=>{if(me.matches&&me.match&&me.request&&me.controller){let fe=(await $(me.request,me.path,me.matches,ae,me.key))[me.match.route.id];return{[me.key]:fe}}else return Promise.resolve({[me.key]:{type:"error",error:oi(404,{pathname:me.path})}})}));return{loaderResults:await ye,fetcherResults:(await he).reduce((me,fe)=>Object.assign(me,fe),{})}}function Ne(){J=!0,He.forEach((D,P)=>{de.has(P)&&re.add(P),Rt(P)})}function ze(D,P,V={}){let ie=new Map(L.fetchers);ie.set(D,P),Bt({fetchers:ie},{flushSync:(V&&V.flushSync)===!0})}function Ge(D,P,V,ie={}){let ae=pr(L.matches,P),ye=new Map(L.fetchers);$t(ye,D),Bt({errors:{[ae.route.id]:V},fetchers:ye},{flushSync:(ie&&ie.flushSync)===!0})}function xn(D){return ft.set(D,(ft.get(D)||0)+1),Oe.has(D)&&Oe.delete(D),L.fetchers.get(D)||Fj}function bi(D,P){Rt(D,P==null?void 0:P.reason),ze(D,Ui(null))}function $t(D,P){let V=L.fetchers.get(P);de.has(P)&&!(V&&V.state==="loading"&&Me.has(P))&&Rt(P),He.delete(P),Me.delete(P),j.delete(P),Oe.delete(P),re.delete(P),D.delete(P)}function Ut(D){let P=(ft.get(D)||0)-1;P<=0?(ft.delete(D),Oe.add(D)):ft.set(D,P),Bt({fetchers:new Map(L.fetchers)})}function Rt(D,P){let V=de.get(D);V&&(V.abort(P),de.delete(D))}function ht(D,P){for(let V of D){let ie=P.get(V);Ye(ie,`Expected fetcher: ${V}`);let ae=Ui(ie.data);P.set(V,ae)}}function vi(D){let P=[],V=!1;for(let ie of j){let ae=D.get(ie);Ye(ae,`Expected fetcher: ${ie}`),ae.state==="loading"&&(j.delete(ie),P.push(ie),V=!0)}return ht(P,D),V}function Cn(D,P){let V=[];for(let[ie,ae]of Me)if(ae<D){let ye=P.get(ie);Ye(ye,`Expected fetcher: ${ie}`),ye.state==="loading"&&(Rt(ie),Me.delete(ie),V.push(ie))}return ht(V,P),V.length>0}function Gd(D,P){let V=L.blockers.get(D)||go;return Ot.get(D)!==P&&Ot.set(D,P),V}function Nr(D){L.blockers.delete(D),Ot.delete(D)}function Qi(D,P){let V=L.blockers.get(D)||go;Ye(V.state==="unblocked"&&P.state==="blocked"||V.state==="blocked"&&P.state==="blocked"||V.state==="blocked"&&P.state==="proceeding"||V.state==="blocked"&&P.state==="unblocked"||V.state==="proceeding"&&P.state==="unblocked",`Invalid blocker state transition: ${V.state} -> ${P.state}`);let ie=new Map(L.blockers);ie.set(D,P),Bt({blockers:ie})}function Rr({currentLocation:D,nextLocation:P,historyAction:V}){if(Ot.size===0)return;Ot.size>1&&hn(!1,"A router only supports one blocker at a time");
71let ie=Array.from(Ot.entries()),[ae,ye]=ie[ie.length-1],he=L.blockers.get(ae);if(!(he&&he.state==="proceeding")&&ye({currentLocation:D,nextLocation:P,historyAction:V}))return ae}function wi(D){let P=oi(404,{pathname:D}),V=d.activeRoutes,{matches:ie,route:ae}=Tc(V);return{notFoundMatches:ie,route:ae,error:P}}function us(D,P,V){if(S=D,C=P,T=V||null,!A&&L.navigation===dm){A=!0;let ie=Cl(L.location,L.matches);ie!=null&&Bt({restoreScrollPosition:ie})}return()=>{S=null,C=null,T=null}}function Oa(D,P){return T&&T(D,P.map(V=>pj(V,L.loaderData)))||D.key}function Yd(D,P){if(S&&C){let V=Oa(D,P);S[V]=C()}}function Cl(D,P){if(S){let V=Oa(D,P),ie=S[V];if(typeof ie=="number")return ie}return null}function Pa(D,P,V){if(e.patchRoutesOnNavigation){let ie=d.branches;if(D){if(Object.keys(D[0].params).length>0)return{active:!0,matches:Ni(P,V,f,!0,ie)}}else return{active:!0,matches:Ni(P,V,f,!0,ie)||[]}}return{active:!1,matches:null}}async function zi(D,P,V,ie){if(!e.patchRoutesOnNavigation)return{type:"success",matches:D};let ae=D;for(;;){let ye=u;try{await e.patchRoutesOnNavigation({signal:V,path:P,matches:ae,fetcherKey:ie,patch:(Ae,De)=>{V.aborted||R0(Ae,De,d,ye,o,!1)}})}catch(Ae){return{type:"error",error:Ae,partialMatches:ae}}if(V.aborted)return{type:"aborted"};let he=d.branches,me=Ni(d.activeRoutes,P,f,!1,he),fe=null;if(me){if(Object.keys(me[0].params).length===0)return{type:"success",matches:me};if(fe=Ni(d.activeRoutes,P,f,!0,he),!(fe&&ae.length<fe.length&&du(ae,fe.slice(0,ae.length))))return{type:"success",matches:me}}if(fe||(fe=Ni(d.activeRoutes,P,f,!0,he)),!fe||du(ae,fe))return{type:"success",matches:null};ae=fe}}function du(D,P){return D.length===P.length&&D.every((V,ie)=>V.route.id===P[ie].route.id)}function fu(D){u={},d.setHmrRoutes(Io(D,o,void 0,u))}function hu(D,P,V=!1){R0(D,P,d,u,o,V),d.hasHMRRoutes||Bt({})}return ee={get basename(){return f},get future(){return p},get state(){return L},get routes(){return d.stableRoutes},get branches(){return d.branches},get manifest(){return u},get window(){return t},initialize:$n,subscribe:Er,enableScrollRestoration:us,navigate:Ji,fetch:kl,revalidate:za,createHref:D=>e.history.createHref(D),encodeLocation:D=>e.history.encodeLocation(D),getFetcher:xn,resetFetcher:bi,deleteFetcher:Ut,dispose:yi,getBlocker:Gd,deleteBlocker:Nr,patchRoutes:hu,_internalFetchControllers:de,_internalSetRoutes:fu,_internalSetStateDoNotUseOrYouWillBreakYourApp(D){Bt(D)}},e.instrumentations&&(ee=Oj(ee,e.instrumentations.map(D=>D.router).filter(Boolean))),ee}function Gj(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function hp(e,t,i,r,s,o){let u,d;if(s){u=[];for(let h of t)if(u.push(h),h.route.id===s){d=h;break}}else u=t,d=t[t.length-1];let f=Qo(r||".",zd(u),Di(e.pathname,i)||e.pathname,o==="path");if(r==null&&(f.search=e.search,f.hash=e.hash),(r==null||r===""||r===".")&&d){let h=Sg(f.search);if(d.route.index&&!h)f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index";else if(!d.route.index&&h){let p=new URLSearchParams(f.search),x=p.getAll("index");p.delete("index"),x.filter(v=>v).forEach(v=>p.append("index",v));let b=p.toString();f.search=b?`?${b}`:""}}return i!=="/"&&(f.pathname=Nj({basename:i,pathname:f.pathname})),Yi(f)}function j0(e,t,i){if(!i||!Gj(i))return{path:t};if(i.formMethod&&!fN(i.formMethod))return{path:t,error:oi(405,{method:i.formMethod})};let r=()=>({path:t,error:oi(400,{type:"invalid-body"})}),s=(i.formMethod||"get").toUpperCase(),o=f2(t);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!pn(s))return r();let p=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((x,[b,v])=>`${x}${b}=${v} 72`,""):String(i.body);return{path:t,submission:{formMethod:s,formAction:o,formEncType:i.formEncType,formData:void 0,json:void 0,text:p}}}else if(i.formEncType==="application/json"){if(!pn(s))return r();try{let p=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:t,submission:{formMethod:s,formAction:o,formEncType:i.formEncType,formData:void 0,json:p,text:void 0}}}catch{return r()}}}Ye(typeof FormData=="function","FormData is not available in this environment");let u,d;if(i.formData)u=gp(i.formData),d=i.formData;else if(i.body instanceof FormData)u=gp(i.body),d=i.body;else if(i.body instanceof URLSearchParams)u=i.body,d=L0(u);
72else if(i.body==null)u=new URLSearchParams,d=new FormData;else try{u=new URLSearchParams(i.body),d=L0(u)}catch{return r()}let f={formMethod:s,formAction:o,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:d,json:void 0,text:void 0};if(pn(f.formMethod))return{path:t,submission:f};let h=$i(t);return e&&h.search&&Sg(h.search)&&u.append("index",""),h.search=`?${u}`,{path:Yi(h),submission:f}}function N0(e,t,i,r,s,o,u,d,f,h,p,x,b,v,S,T,C,A,N,M,K,G){var H;let U=K?Kn(K[1])?K[1].error:K[1].data:void 0,ee=s.createURL(o.location),L=s.createURL(f),se;if(p&&o.errors){let J=Object.keys(o.errors)[0];se=u.findIndex(re=>re.route.id===J)}else if(K&&Kn(K[1])){let J=K[0];se=u.findIndex(re=>re.route.id===J)-1}let z=K?K[1].statusCode:void 0,te=z&&z>=400,Z={currentUrl:ee,currentParams:((H=o.matches[0])==null?void 0:H.params)||{},nextUrl:L,nextParams:u[0].params,...d,actionResult:U,actionStatus:z},pe=ml(u),oe=u.map((J,re)=>{let{route:de}=J,E=null;if(se!=null&&re>se)E=!1;else if(de.lazy)E=!0;else if(!vg(de))E=!1;else if(p){let{shouldLoad:j}=s2(de,o.loaderData,o.errors);E=j}else Yj(o.loaderData,o.matches[re],J)&&(E=!0);if(E!==null)return mp(i,r,e,f,pe,J,h,t,E);let ve=!1;typeof G=="boolean"?ve=G:te?ve=!1:(x||ee.pathname+ee.search===L.pathname+L.search||ee.search!==L.search||Zj(o.matches[re],J))&&(ve=!0);let Me={...Z,defaultShouldRevalidate:ve};return mp(i,r,e,f,pe,J,h,t,_o(J,Me),Me,G)}),ne=[];return S.forEach((J,re)=>{if(p||!u.some(Oe=>Oe.route.id===J.routeId)||v.has(re))return;let de=o.fetchers.get(re),E=de&&de.state!=="idle"&&de.data===void 0,ve=Ni(C,J.path,A??"/",!1,M);if(!ve){if(N&&E)return;ne.push({key:re,routeId:J.routeId,path:J.path,matches:null,match:null,request:null,controller:null});return}if(T.has(re))return;let Me=Uc(ve,J.path),j=new AbortController,He=$s(s,J.path,j.signal),ft=null;if(b.has(re))b.delete(re),ft=il(i,r,He,J.path,ve,Me,h,t);else if(E)x&&(ft=il(i,r,He,J.path,ve,Me,h,t));else{let Oe;typeof G=="boolean"?Oe=G:te?Oe=!1:Oe=x;let Ot={...Z,defaultShouldRevalidate:Oe};_o(Me,Ot)&&(ft=il(i,r,He,J.path,ve,Me,h,t,Ot))}ft&&ne.push({key:re,routeId:J.routeId,path:J.path,matches:ft,match:Me,request:He,controller:j})}),{dsMatches:oe,revalidatingFetchers:ne}}function vg(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}function s2(e,t,i){if(e.lazy)return{shouldLoad:!0,renderFallback:!0};if(!vg(e))return{shouldLoad:!1,renderFallback:!1};let r=t!=null&&e.id in t,s=i!=null&&i[e.id]!==void 0;if(!r&&s)return{shouldLoad:!1,renderFallback:!1};if(typeof e.loader=="function"&&e.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!r};let o=!r&&!s;return{shouldLoad:o,renderFallback:o}}function Yj(e,t,i){let r=!t||i.route.id!==t.route.id,s=!e.hasOwnProperty(i.route.id);return r||s}function Zj(e,t){let i=e.route.path;return e.pathname!==t.pathname||i!=null&&i.endsWith("*")&&e.params["*"]!==t.params["*"]}function _o(e,t){if(e.route.shouldRevalidate){let i=e.route.shouldRevalidate(t);if(typeof i=="boolean")return i}return t.defaultShouldRevalidate}function R0(e,t,i,r,s,o){let u;if(e){let h=r[e];Ye(h,`No route found to patch children into: routeId = ${e}`),h.children||(h.children=[]),u=h.children}else u=i.activeRoutes;let d=[],f=[];if(t.forEach(h=>{let p=u.find(x=>l2(h,x));p?f.push({existingRoute:p,newRoute:h}):d.push(h)}),d.length>0){let h=Io(d,s,[e||"_","patch",String((u==null?void 0:u.length)||"0")],r);u.push(...h)}if(o&&f.length>0)for(let h=0;h<f.length;h++){let{existingRoute:p,newRoute:x}=f[h],b=p,[v]=Io([x],s,[],{},!0);Object.assign(b,{element:v.element?v.element:b.element,errorElement:v.errorElement?v.errorElement:b.errorElement,hydrateFallbackElement:v.hydrateFallbackElement?v.hydrateFallbackElement:b.hydrateFallbackElement})}i.hasHMRRoutes||i.setRoutes([...i.activeRoutes])}function l2(e,t){var i;return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:((i=e.children)==null?void 0:i.every((r,s)=>{var o;return(o=t.children)==null?void 0:o.some(u=>l2(r,u))}))??!1:!1}const M0=new WeakMap,o2=({key:e,route:t,manifest:i,mapRouteProperties:r})=>{let s=i[t.id];if(Ye(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let o=s.lazy[e];if(!o)return;let u=M0.get(s);u||(u={},M0.set(s,u));let d=u[e];
72if(d)return d;let f=(async()=>{let h=dj(e),p=s[e]!==void 0;if(h)hn(!h,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),u[e]=Promise.resolve();else if(p)hn(!1,`Route "${s.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let x=await o();x!=null&&(Object.assign(s,{[e]:x}),Object.assign(s,r(s)))}typeof s.lazy=="object"&&(s.lazy[e]=void 0,Object.values(s.lazy).every(x=>x===void 0)&&(s.lazy=void 0))})();return u[e]=f,f},_0=new WeakMap;function $j(e,t,i,r,s){let o=i[e.id];if(Ye(o,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let p=_0.get(o);if(p)return{lazyRoutePromise:p,lazyHandlerPromise:p};let x=(async()=>{Ye(typeof e.lazy=="function","No lazy route function found");let b=await e.lazy(),v={};for(let S in b){let T=b[S];if(T===void 0)continue;let C=hj(S),A=o[S]!==void 0;C?hn(!C,"Route property "+S+" is not a supported property to be returned from a lazy route function. This property will be ignored."):A?hn(!A,`Route "${o.id}" has a static property "${S}" defined but its lazy function is also returning a value for this property. The lazy route property "${S}" will be ignored.`):v[S]=T}Object.assign(o,v),Object.assign(o,{...r(o),lazy:void 0})})();return _0.set(o,x),x.catch(()=>{}),{lazyRoutePromise:x,lazyHandlerPromise:x}}let u=Object.keys(e.lazy),d=[],f;for(let p of u){if(s&&s.includes(p))continue;let x=o2({key:p,route:e,manifest:i,mapRouteProperties:r});x&&(d.push(x),p===t&&(f=x))}let h=d.length>0?Promise.all(d).then(()=>{}):void 0;return h==null||h.catch(()=>{}),f==null||f.catch(()=>{}),{lazyRoutePromise:h,lazyHandlerPromise:f}}async function D0(e){let t=e.matches.filter(r=>r.shouldLoad),i={};return(await Promise.all(t.map(r=>r.resolve()))).forEach((r,s)=>{i[t[s].route.id]=r}),i}async function Xj(e){return e.matches.some(t=>t.route.middleware)?u2(e,()=>D0(e)):D0(e)}function u2(e,t){return Jj(e,t,r=>{if(dN(r))throw r;return r},lN,i);async function i(r,s,o){var u;if(o)return Object.assign(o.value,{[s]:{type:"error",result:r}});{let{matches:d}=e,f=Math.min(Math.max(d.findIndex(p=>p.route.id===s),0),Math.max(d.findIndex(p=>p.shouldCallHandler()),0)),h=d[f].route.id;for(let p of d.slice(0,f+1))try{await((u=p._lazyPromises)==null?void 0:u.route)}catch{h=p.route.id;break}return{[pr(d,h).route.id]:{type:"error",result:r}}}}}async function Jj(e,t,i,r,s){let{matches:o,...u}=e;return await c2(u,o.flatMap(d=>d.route.middleware?d.route.middleware.map(f=>[d.route.id,f]):[]),t,i,r,s)}async function c2(e,t,i,r,s,o,u=0){let{request:d}=e;if(d.signal.aborted)throw d.signal.reason??new Error(`Request aborted: ${d.method} ${d.url}`);let f=t[u];if(!f)return await i();let[h,p]=f,x,b=async()=>{if(x)throw new Error("You may only call `next()` once per middleware");try{return x={value:await c2(e,t,i,r,s,o,u+1)},x.value}catch(v){return x={value:await o(v,h,x)},x.value}};try{let v=await p(e,b),S=v!=null?r(v):void 0;return s(S)?S:x?S??x.value:(x={value:await b()},x.value)}catch(v){return await o(v,h,x)}}function d2(e,t,i,r,s){let o=o2({key:"middleware",route:r.route,manifest:t,mapRouteProperties:e}),u=$j(r.route,pn(i.method)?"action":"loader",t,e,s);return{middleware:o,route:u.lazyRoutePromise,handler:u.lazyHandlerPromise}}function mp(e,t,i,r,s,o,u,d,f,h=null,p){let x=!1,b=d2(e,t,i,o,u);return{...o,_lazyPromises:b,shouldLoad:f,shouldRevalidateArgs:h,shouldCallHandler(v){return x=!0,h?typeof p=="boolean"?_o(o,{...h,defaultShouldRevalidate:p}):typeof v=="boolean"?_o(o,{...h,defaultShouldRevalidate:v}):_o(o,h):f},resolve(v){let{lazy:S,loader:T,middleware:C}=o.route,A=x||f||v&&!pn(i.method)&&(S||T),N=C&&C.length>0&&!T&&!S;return A&&(pn(i.method)||!N)?Qj({request:i,path:r,pattern:s,match:o,lazyHandlerPromise:b==null?void 0:b.handler,lazyRoutePromise:b==null?void 0:b.route,handlerOverride:v,scopedContext:d}):Promise.resolve({type:"data",result:void 0})}}}function il(e,t,i,r,s,o,u,d,f=null){return s.map(h=>h.route.id!==o.route.id?{...h,shouldLoad:!1,shouldRevalidateArgs:f,shouldCallHandler:()=>!1,_lazyPromises:d2(e,t,i,h,u),resolve:()=>Promise.resolve({type:"data",result:void 0})}:mp(e,t,i,r,ml(s),h,u,d,!0,f))}async function Wj(e,t,i,r,s,o,u){r.some(p=>{var x;return(x=p._lazyPromises)==null?void 0:x.middleware})&&await Promise.all(r.map(p=>{var x;return(x=p._lazyPromises)==null?void 0:x.middleware}));let d={request:t,url:bg(t,i),pattern:ml(r),params:r[0].params,context:o,matches:r},h=await e({...d,fetcherKey:s,runClientMiddleware:p=>{let x=d;return u2(x,()=>p({...x,fetcherKey:s,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(r.flatMap(p=>{var x,b;return[(x=p._lazyPromises)==null?void 0:x.handler,(b=p._lazyPromises)==null?void 0:b.route]}))}catch{}return h}async function Qj({request:e,path:t,pattern:i,match:r,lazyHandlerPromise:s,lazyRoutePromise:o,handlerOverride:u,scopedContext:d}){let f,h,p=pn(e.method),x=p?"action":"loader",b=v=>{let S,T=new Promise((N,M)=>S=M);h=()=>S(),e.signal.addEventListener("abort",h);let C=N=>typeof v!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${x}" [routeId: ${r.route.id}]`)):v({request:e,url:bg(e,t),pattern:i,params:r.params,context:d},...N!==void 0?[N]:[]),A=(async()=>{try{return{type:"data",result:await(u?u(N=>C(N)):C())}}catch(N){return{type:"error",result:N}}})();return Promise.race([A,T])};try{let v=p?r.route.action:r.route.loader;
72if(s||o)if(v){let S,[T]=await Promise.all([b(v).catch(C=>{S=C}),s,o]);if(S!==void 0)throw S;f=T}else{await s;let S=p?r.route.action:r.route.loader;if(S)[f]=await Promise.all([b(S),o]);else if(x==="action"){let T=new URL(e.url),C=T.pathname+T.search;throw oi(405,{method:e.method,pathname:C,routeId:r.route.id})}else return{type:"data",result:void 0}}else if(v)f=await b(v);else{let S=new URL(e.url);throw oi(404,{pathname:S.pathname+S.search})}}catch(v){return{type:"error",result:v}}finally{h&&e.signal.removeEventListener("abort",h)}return f}async function eN(e){let t=e.headers.get("Content-Type");return t&&/\bapplication\/json\b/.test(t)?e.body==null?null:e.json():e.text()}async function tN(e){var r,s,o,u,d;let{result:t,type:i}=e;if(wg(t)){let f;try{f=await eN(t)}catch(h){return{type:"error",error:h}}return i==="error"?{type:"error",error:new eu(t.status,t.statusText,f),statusCode:t.status,headers:t.headers}:{type:"data",data:f,statusCode:t.status,headers:t.headers}}return i==="error"?U0(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:(r=t.init)==null?void 0:r.status,headers:(s=t.init)!=null&&s.headers?new Headers(t.init.headers):void 0}:{type:"error",error:sN(t),statusCode:Fo(t)?t.status:void 0,headers:(o=t.init)!=null&&o.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:Fo(t)?t.status:void 0}:U0(t)?{type:"data",data:t.data,statusCode:(u=t.init)==null?void 0:u.status,headers:(d=t.init)!=null&&d.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function nN(e,t,i,r,s){let o=e.headers.get("Location");if(Ye(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!yg(o)){let u=r.slice(0,r.findIndex(d=>d.route.id===i)+1);o=hp(new URL(t.url),u,s,o),e.headers.set("Location",o)}return e}const iN=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function pp(e){try{return iN.includes(new URL(e).protocol)}catch{return!1}}function z0(e,t,i,r){if(yg(e)){let s=e,o=gg.test(s)?new URL(FS(s,t.protocol)):new URL(s);if(pp(o.toString()))throw new Error("Invalid redirect location");let u=Di(o.pathname,i)!=null;if(o.origin===t.origin&&u)return xg(o.pathname)+o.search+o.hash}try{if(pp(r.createURL(e).toString()))throw new Error("Invalid redirect location")}catch{}return e}function $s(e,t,i,r){let s=e.createURL(f2(t)).toString(),o={signal:i};if(r&&pn(r.formMethod)){let{formMethod:u,formEncType:d}=r;o.method=u.toUpperCase(),d==="application/json"?(o.headers=new Headers({"Content-Type":d}),o.body=JSON.stringify(r.json)):d==="text/plain"?o.body=r.text:d==="application/x-www-form-urlencoded"&&r.formData?o.body=gp(r.formData):o.body=r.formData}return new Request(s,o)}function gp(e){let t=new URLSearchParams;for(let[i,r]of e.entries())t.append(i,typeof r=="string"?r:r.name);return t}function L0(e){let t=new FormData;for(let[i,r]of e.entries())t.append(i,r);return t}function aN(e,t,i,r=!1,s=!1){let o={},u=null,d,f=!1,h={},p=i&&Kn(i[1])?i[1].error:void 0;return e.forEach(x=>{if(!(x.route.id in t))return;let b=x.route.id,v=t[b];if(Ye(!Jr(v),"Cannot handle redirect results in processLoaderData"),Kn(v)){let S=v.error;if(p!==void 0&&(S=p,p=void 0),u=u||{},s)u[b]=S;else{let T=pr(e,b);u[T.route.id]==null&&(u[T.route.id]=S)}r||(o[b]=r2),f||(f=!0,d=Fo(v.error)?v.error.status:500),v.headers&&(h[b]=v.headers)}else o[b]=v.data,v.statusCode&&v.statusCode!==200&&!f&&(d=v.statusCode),v.headers&&(h[b]=v.headers)}),p!==void 0&&i&&(u={[i[0]]:p},i[2]&&(o[i[2]]=void 0)),{loaderData:o,errors:u,statusCode:d||200,loaderHeaders:h}}function O0(e,t,i,r,s,o,u){let{loaderData:d,errors:f}=aN(t,i,r);return s.filter(h=>!h.matches||h.matches.some(p=>p.shouldLoad)).forEach(h=>{let{key:p,match:x,controller:b}=h;if(b&&b.signal.aborted)return;let v=o[p];if(Ye(v,"Did not find corresponding fetcher result"),Kn(v)){let S=pr(e.matches,x==null?void 0:x.route.id);f&&f[S.route.id]||(f={...f,[S.route.id]:v.error}),u.delete(p)}else if(Jr(v))Ye(!1,"Unhandled fetcher revalidation redirect");else{let S=Ui(v.data);u.set(p,S)}}),{loaderData:d,errors:f}}function P0(e,t,i,r){let s=Object.entries(t).filter(([,o])=>o!==r2).reduce((o,[u,d])=>(o[u]=d,o),{});for(let o of i){let u=o.route.id;if(!t.hasOwnProperty(u)&&e.hasOwnProperty(u)&&o.route.loader&&(s[u]=e[u]),r&&r.hasOwnProperty(u))break}return s}function B0(e){return e?Kn(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function pr(e,t){return(t?e.slice(0,e.findIndex(i=>i.route.id===t)+1):[...e]).reverse().find(i=>i.route.ErrorBoundary!=null||i.route.errorElement!=null)||e[0]}function Tc(e){let t=e.length===1?e[0]:e.find(i=>i.index||!i.path||i.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function oi(e,{pathname:t,routeId:i,method:r,type:s,message:o}={}){let u="Unknown Server Error",d="Unknown @remix-run/router error";return e===400?(u="Bad Request",r&&t&&i?d=`You made a ${r} request to "${t}" but did not provide a \`loader\` for route "${i}", so there is no way to handle the request.`:s==="invalid-body"&&(d="Unable to encode submission body")):e===403?(u="Forbidden",d=`Route "${i}" does not match URL "${t}"`):e===404?(u="Not Found",d=`No route matches URL "${t}"`):e===405&&(u="Method Not Allowed",r&&t&&i?d=`You made a ${r.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${i}", so there is no way to handle the request.`:r&&(d=`Invalid request method "${r.toUpperCase()}"`)),new eu(e||500,u,new Error(d),!0)}function Cc(e){let t=Object.entries(e);for(let i=t.length-1;i>=0;i--){let[r,s]=t[i];if(Jr(s))return{key:r,result:s}}}function f2(e){return Yi({...typeof e=="string"?$i(e):e,hash:""})}function rN(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function sN(e){var t,i;return new eu(((t=e.init)==null?void 0:t.status)??500,((i=e.init)==null?void 0:i.statusText)??"Internal Server Error",e.data)}function lN(e){return e!=null&&typeof e=="object"&&Object.entries(e).every(([t,i])=>typeof t=="string"&&oN(i))}function oN(e){return e!=null&&typeof e=="object"&&"type"in e&&"result"in e&&(e.type==="data"||e.type==="error")}function uN(e){return wg(e.result)&&i2.has(e.result.status)}function Kn(e){return e.type==="error"}function Jr(e){return(e&&e.type)==="redirect"}function U0(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function wg(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function cN(e){return i2.has(e)}function dN(e){return wg(e)&&cN(e.status)&&e.headers.has("Location")}function fN(e){return Vj.has(e.toUpperCase())}function pn(e){return Uj.has(e.toUpperCase())}function Sg(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Uc(e,t){let i=typeof t=="string"?$i(t).search:t.search;if(e[e.length-1].route.index&&Sg(i||""))return e[e.length-1];let r=JS(e);return r[r.length-1]}function H0(e,t,i){var r;return{url:bg(e.createURL(t),t),pattern:i?ml(i):"",params:(r=i==null?void 0:i[0])!=null&&r.params?{...i[0].params}:{}}}function V0(e){let{formMethod:t,formAction:i,formEncType:r,text:s,formData:o,json:u}=e;if(!(!t||!i||!r)){if(s!=null)return{formMethod:t,formAction:i,formEncType:r,formData:void 0,json:void 0,text:s};if(o!=null)return{formMethod:t,formAction:i,formEncType:r,formData:o,json:void 0,text:void 0};if(u!==void 0)return{formMethod:t,formAction:i,formEncType:r,formData:void 0,json:u,text:void 0}}}function fm(e,t,i,r){return r?{state:"loading",location:e,matches:t,historyAction:i,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}:{state:"loading",location:e,matches:t,historyAction:i,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function hN(e,t,i,r){return{state:"submitting",location:e,matches:t,historyAction:i,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}}function yo(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function mN(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Ui(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function pN(e,t){try{let i=e.sessionStorage.getItem(a2);if(i){let r=JSON.parse(i);for(let[s,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(s,new Set(o||[]))}}catch{}}function gN(e,t){if(t.size>0){let i={};for(let[r,s]of t)i[r]=[...s];try{e.sessionStorage.setItem(a2,JSON.stringify(i))}catch(r){hn(!1,`Failed to save applied view transitions in sessionStorage (${r}).`)}}}function I0(){let e,t,i=new Promise((r,s)=>{e=async o=>{r(o);try{await i}catch{}},t=async o=>{s(o);try{await i}catch{}}});return{promise:i,resolve:e,reject:t}}/** 73 * react-router v8.3.0 74 * 75 * Copyright (c) Remix Software Inc. 76 * 77 * This source code is licensed under the MIT license found in the 78 * LICENSE.md file in the root directory of this source tree. 79 * 80 * @license MIT 81 */const ss=R.createContext(null);ss.displayName="DataRouter";const tu=R.createContext(null);tu.displayName="DataRouterState";const h2=R.createContext(!1);function m2(){return R.useContext(h2)}const kg=R.createContext({isTransitioning:!1});kg.displayName="ViewTransition";const p2=R.createContext(new Map);p2.displayName="Fetchers";const yN=R.createContext(null);yN.displayName="Await";const mi=R.createContext(null);mi.displayName="Navigation";const Ld=R.createContext(null);Ld.displayName="Location";const pi=R.createContext({outlet:null,matches:[],isDataRoute:!1});pi.displayName="Route";const Tg=R.createContext(null);
81Tg.displayName="RouteError";/** 82 * react-router v8.3.0 83 * 84 * Copyright (c) Remix Software Inc. 85 * 86 * This source code is licensed under the MIT license found in the 87 * LICENSE.md file in the root directory of this source tree. 88 * 89 * @license MIT 90 */const g2="REACT_ROUTER_ERROR",xN="REDIRECT",bN="ROUTE_ERROR_RESPONSE";function vN(e){if(e.startsWith(`${g2}:${xN}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function wN(e){if(e.startsWith(`${g2}:${bN}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new eu(t.status,t.statusText,t.data)}catch{}}/** 91 * react-router v8.3.0 92 * 93 * Copyright (c) Remix Software Inc. 94 * 95 * This source code is licensed under the MIT license found in the 96 * LICENSE.md file in the root directory of this source tree. 97 * 98 * @license MIT 99 */function SN(e,{relative:t}={}){Ye(pl(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:r}=R.useContext(mi),{hash:s,pathname:o,search:u}=nu(e,{relative:t}),d=o;return i!=="/"&&(d=o==="/"?i:di([i,o])),r.createHref({pathname:d,search:u,hash:s})}function pl(){return R.useContext(Ld)!=null}function zn(){return Ye(pl(),"useLocation() may be used only in the context of a <Router> component."),R.useContext(Ld).location}const y2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Cg(){let{isDataRoute:e}=R.useContext(pi);return e?UN():kN()}function kN(){Ye(pl(),"useNavigate() may be used only in the context of a <Router> component.");let e=R.useContext(ss),{basename:t,navigator:i}=R.useContext(mi),{matches:r}=R.useContext(pi),{pathname:s}=zn(),o=JSON.stringify(zd(r)),u=R.useRef(!1);return R.useLayoutEffect(()=>{u.current=!0}),R.useCallback((d,f={})=>{if(hn(u.current,y2),!u.current)return;if(typeof d=="number"){i.go(d);return}let h=Qo(d,JSON.parse(o),s,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:di([t,h.pathname])),(f.replace?i.replace:i.push)(h,f.state,f)},[t,i,o,s,e])}const TN=R.createContext(null);function CN(e){let t=R.useContext(pi).outlet;return R.useMemo(()=>t&&R.createElement(TN.Provider,{value:e},t),[t,e])}function AN(){var t;let{matches:e}=R.useContext(pi);return((t=e[e.length-1])==null?void 0:t.params)??{}}function nu(e,{relative:t}={}){let{matches:i}=R.useContext(pi),{pathname:r}=zn(),s=JSON.stringify(zd(i));return R.useMemo(()=>Qo(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function EN(e,t,i){Ye(pl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=R.useContext(mi),{matches:s}=R.useContext(pi),o=s[s.length-1],u=o?o.params:{};o&&o.pathname;let d=o?o.pathnameBase:"/";o&&o.route;let f=zn(),h;h=f;let p=h.pathname||"/",x=p;if(d!=="/"){let S=d.replace(/^\//,"").split("/");x="/"+p.replace(/^\//,"").split("/").slice(S.length).join("/")}let b=i&&i.state.matches.length?i.state.matches.map(S=>Object.assign(S,{route:i.manifest[S.route.id]||S.route})):GS(e,{pathname:x});return DN(b&&b.map(S=>Object.assign({},S,{params:Object.assign({},u,S.params),pathname:di([d,r.encodeLocation?r.encodeLocation(S.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?d:di([d,r.encodeLocation?r.encodeLocation(S.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathnameBase])})),s,i)}function jN(){let e=BN(),t=Fo(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null;return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),i?R.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},i):null,null)}const NN=R.createElement(jN,null);var op,RN=(op=class extends R.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const i=wN(e.digest);i&&(e=i)}let t=e!==void 0?R.createElement(pi.Provider,{value:this.props.routeContext},R.createElement(Tg.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?R.createElement(MN,{error:e},t):t}},Ai(op,"contextType",h2),op);const hm=new WeakMap;function MN({children:e,error:t}){let{basename:i}=R.useContext(mi);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=vN(t.digest);if(r){let s=hm.get(t);if(s)throw s;let o=e2(r.location,i),u=o.absoluteURL||o.to;if(pp(u))throw new Error("Invalid redirect location");if(QS&&!hm.get(t))if(o.isExternal||r.reloadDocument)window.location.href=u;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:r.replace}));throw hm.set(t,d),d}return R.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u}`})}}return e}function _N({routeContext:e,match:t,children:i}){let r=R.useContext(ss);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),R.createElement(pi.Provider,{value:e},i)}function DN(e,t=[],i){let r=i==null?void 0:i.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let s=e,o=r==null?void 0:r.errors;if(o!=null){let p=s.findIndex(x=>x.route.id&&(o==null?void 0:o[x.route.id])!==void 0);Ye(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),s=s.slice(0,Math.min(s.length,p+1))}let u=!1,d=-1;if(i&&r){u=r.renderFallback;for(let p=0;p<s.length;p++){let x=s[p];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(d=p),x.route.id){let{loaderData:b,errors:v}
99=r,S=x.route.loader&&!b.hasOwnProperty(x.route.id)&&(!v||v[x.route.id]===void 0);if(x.route.lazy||S){i.isStatic&&(u=!0),d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}}let f=i==null?void 0:i.onError,h=r&&f?(p,x)=>{var b,v;f(p,{location:r.location,params:((v=(b=r.matches)==null?void 0:b[0])==null?void 0:v.params)??{},pattern:ml(r.matches),errorInfo:x})}:void 0;return s.reduceRight((p,x,b)=>{let v,S=!1,T=null,C=null;r&&(v=o&&x.route.id?o[x.route.id]:void 0,T=x.route.errorElement||NN,u&&(d<0&&b===0?(HN("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,C=null):d===b&&(S=!0,C=x.route.hydrateFallbackElement||null)));let A=t.concat(s.slice(0,b+1)),N=()=>{let M;return v?M=T:S?M=C:x.route.Component?M=R.createElement(x.route.Component,null):x.route.element?M=x.route.element:M=p,R.createElement(_N,{match:x,routeContext:{outlet:p,matches:A,isDataRoute:r!=null},children:M})};return r&&(x.route.ErrorBoundary||x.route.errorElement||b===0)?R.createElement(RN,{location:r.location,revalidation:r.revalidation,component:T,error:v,children:N(),routeC
99ontext:{outlet:null,matches:A,isDataRoute:!0},onError:h}):N()},null)}function Ag(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function zN(e){let t=R.useContext(ss);return Ye(t,Ag(e)),t}function LN(e){let t=R.useContext(tu);return Ye(t,Ag(e)),t}function ON(e){let t=R.useContext(pi);return Ye(t,Ag(e)),t}function Eg(e){let t=ON(e),i=t.matches[t.matches.length-1];return Ye(i.route.id,`${e} can only be used on routes that contain a unique "id"`),i.route.id}function PN(){return Eg("useRouteId")}function BN(){var r;let e=R.useContext(Tg),t=LN("useRouteError"),i=Eg("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[i]}function UN(){let{router:e}=zN("useNavigate"),t=Eg("useNavigate"),i=R.useRef(!1);return R.useLayoutEffect(()=>{i.current=!0}),R.useCallback(async(r,s={})=>{hn(i.current,y2),i.current&&(typeof r=="number"?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...s}))},[e,t])}const F0={};function HN(e,t,i){F0[e]||(F0[e]=!0,hn(!1,i))}/** 100 * react-router v8.3.0 101 * 102 * Copyright (c) Remix Software Inc. 103 * 104 * This source code is licensed under the MIT license found in the 105 * LICENSE.md file in the root directory of this source tree. 106 * 107 * @license MIT 108 */const q0={};function K0(e,t){!e&&!q0[t]&&(q0[t]=!0,console.warn(t))}/** 109 * react-router v8.3.0 110 * 111 * Copyright (c) Remix Software Inc. 112 * 113 * This source code is licensed under the MIT license found in the 114 * LICENSE.md file in the root directory of this source tree. 115 * 116 * @license MIT 117 */const VN=["HydrateFallback","hydrateFallbackElement"];var IN=class{constructor(){Ai(this,"status","pending");Ai(this,"promise");Ai(this,"resolve");Ai(this,"reject");this.promise=new Promise((e,t)=>{this.resolve=i=>{this.status==="pending"&&(this.status="resolved",e(i))},this.reject=i=>{this.status==="pending"&&(this.status="rejected",t(i))}})}};function FN({router:e,flushSync:t,onError:i,useTransitions:r}){r=m2()||r;let[s,o]=R.useState(e.state),[u,d]=R.useOptimistic(s),[f,h]=R.useState(),[p,x]=R.useState({isTransitioning:!1}),[b,v]=R.useState(),[S,T]=R.useState(),[C,A]=R.useState(),N=R.useRef(new Map),M=R.useCallback((ee,{deletedFetchers:L,newErrors:se,flushSync:z,viewTransitionOpts:te})=>{se&&i&&Object.values(se).forEach(pe=>{var oe;return i(pe,{location:ee.location,params:((oe=ee.matches[0])==null?void 0:oe.params)??{},pattern:ml(ee.matches)})}),ee.fetchers.forEach((pe,oe)=>{pe.data!==void 0&&N.current.set(oe,pe.data)}),L.forEach(pe=>N.current.delete(pe)),K0(z===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let Z=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(K0(te==null||Z,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!te||!Z){t&&z?t(()=>o(ee)):r===!1?o(ee):R.startTransition(()=>{r===!0&&d(pe=>G0(pe,ee)),o(ee)});return}if(t&&z){t(()=>{S&&(b==null||b.resolve(),S.skipTransition()),x({isTransitioning:!0,flushSync:!0,currentLocation:te.currentLocation,nextLocation:te.nextLocation})});let pe=e.window.document.startViewTransition(()=>{t(()=>o(ee))});pe.finished.finally(()=>{t(()=>{v(void 0),T(void 0),h(void 0),x({isTransitioning:!1})})}),t(()=>T(pe));return}S?(b==null||b.resolve(),S.skipTransition(),A({state:ee,currentLocation:te.currentLocation,nextLocation:te.nextLocation})):(h(ee),x({isTransitioning:!0,flushSync:!1,currentLocation:te.currentLocation,nextLocation:te.nextLocation}))},[e.window,t,S,b,r,d,i]);R.useLayoutEffect(()=>e.subscribe(M),[e,M]),R.useEffect(()=>{p.isTransitioning&&!p.flushSync&&v(new IN)},[p]),R.useEffect(()=>{if(b&&f&&e.window){let ee=f,L=b.promise,se=e.window.document.startViewTransition(async()=>{r===!1?o(ee):R.startTransition(()=>{r===!0&&d(z=>G0(z,ee)),o(ee)}),await L});se.finished.finally(()=>{v(void 0),T(void 0),h(void 0),x({isTransitioning:!1})}),T(se)}},[f,b,e.window,r,d]),R.useEffect(()=>{b&&f&&u.location.key===f.location.key&&b.resolve()},[b,S,u.location,f]),R.useEffect(()=>{!p.isTransitioning&&C&&(h(C.state),x({isTransitioning:!0,flushSync:!1,currentLocation:C.currentLocation,nextLocation:C.nextLocation}),A(void 0))},[p.isTransitioning,C]);let K=R.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:ee=>e.navigate(ee),push:(ee,L,se)=>e.navigate(ee,{state:L,preventScrollReset:se==null?void 0:se.preventScrollReset}),replace:(ee,L,se)=>e.navigate(ee,{replace:!0,state:L,preventScrollReset:se==null?void 0:se.preventScrollReset})}),[e]),G=e.basename||"/",U=R.useMemo(()=>({router:e,navigator:K,static:!1,basename:G,onError:i}),[e,K,G,i]);return R.createElement(R.Fragment,null,R.createElement(ss.Provider,{value:U},R.createElement(tu.Provider,{value:u},R.createElement(p2.Provider,{value:N.current},R.createElement(kg.Provider,{value:p}
117,R.createElement(ZN,{basename:G,location:u.location,navigationType:u.historyAction,navigator:K,useTransitions:r},R.createElement(qN,{routes:e.routes,manifest:e.manifest,future:e.future,state:u,isStatic:!1,onError:i})))))),null)}function G0(e,t){return{...e,navigation:t.navigation.state!=="idle"?t.navigation:e.navigation,revalidation:t.revalidation!=="idle"?t.revalidation:e.revalidation,actionData:t.navigation.state!=="submitting"?t.actionData:e.actionData,fetchers:t.fetchers}}const qN=R.memo(KN);function KN({routes:e,manifest:t,future:i,state:r,isStatic:s,onError:o}){return EN(e,void 0,{manifest:t,state:r,isStatic:s,onError:o})}function GN({to:e,replace:t,state:i,relative:r}){Ye(pl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=R.useContext(mi);hn(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=R.useContext(pi),{pathname:u}=zn(),d=Cg(),f=Qo(e,zd(o),u,r==="path"),h=JSON.stringify(f);return R.useEffect(()=>{d(JSON.parse(h),{replace:t,state:i,relative:r})},[d,h,r,t,i]),null}function YN(e){return CN(e.context)}function ZN({basename:e="/",children:t=null,location:i,navigationType:r="POP",navigator:s,static:o=!1,useTransitions:u}){Ye(!pl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),f=R.useMemo(()=>({basename:d,navigator:s,static:o,useTransitions:u,future:{}}),[d,s,o,u]);typeof i=="string"&&(i=$i(i));let{pathname:h="/",search:p="",hash:x="",state:b=null,key:v="default",mask:S}=i,T=R.useMemo(()=>{let C=Di(h,d);return C==null?null:{location:{pathname:C,search:p,hash:x,state:b,key:v,mask:S},navigationType:r}},[d,h,p,x,b,v,r,S]);return hn(T!=null,`<Router basename="${d}"> is not able to match the URL "${h}${p}${x}" because it does not start with the basename, so the <Router> won't render anything.`),T==null?null:R.createElement(mi.Provider,{value:f},R.createElement(Ld.Provider,{children:t,value:T}))}/** 118 * react-router v8.3.0 119 * 120 * Copyright (c) Remix Software Inc. 121 * 122 * This source code is licensed under the MIT license found in the 123 * LICENSE.md file in the root directory of this source tree. 124 * 125 * @license MIT 126 */const Hc="application/x-www-form-urlencoded";function Od(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function $N(e){return Od(e)&&e.tagName.toLowerCase()==="button"}function XN(e){return Od(e)&&e.tagName.toLowerCase()==="form"}function JN(e){return Od(e)&&e.tagName.toLowerCase()==="input"}function WN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function QN(e,t){return e.button===0&&(!t||t==="_self")&&!WN(e)}function yp(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,i)=>{let r=e[i];return t.concat(Array.isArray(r)?r.map(s=>[i,s]):[[i,r]])},[]))}function eR(e,t){let i=yp(e);return t&&t.forEach((r,s)=>{i.has(s)||t.getAll(s).forEach(o=>{i.append(s,o)})}),i}let Ac=null;function tR(){if(Ac===null)try{new FormData(document.createElement("form"),0),Ac=!1}catch{Ac=!0}return Ac}const nR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function mm(e){return e!=null&&!nR.has(e)?(hn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Hc}"`),null):e}function iR(e,t){let i,r,s,o,u;if(XN(e)){let d=e.getAttribute("action");r=d?Di(d,t):null,i=e.getAttribute("method")||"get",s=mm(e.getAttribute("enctype"))||Hc,o=new FormData(e)}else if($N(e)||JN(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||d.getAttribute("action");if(r=f?Di(f,t):null,i=e.getAttribute("formmethod")||d.getAttribute("method")||"get",s=mm(e.getAttribute("formenctype"))||mm(d.getAttribute("enctype"))||Hc,o=new FormData(d,e),!tR()){let{name:h,type:p,value:x}=e;if(p==="image"){let b=h?`${h}.`:"";o.append(`${b}x`,"0"),o.append(`${b}y`,"0")}
126else h&&o.append(h,x)}}else{if(Od(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i="get",r=null,s=Hc,u=e}return o&&s==="text/plain"&&(u=o,o=void 0),{action:r,method:i.toLowerCase(),encType:s,formData:o,body:u}}/** 127 * react-router v8.3.0 128 * 129 * Copyright (c) Remix Software Inc. 130 * 131 * This source code is licensed under the MIT license found in the 132 * LICENSE.md file in the root directory of this source tree. 133 * 134 * @license MIT 135 */function jg(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}/** 136 * react-router v8.3.0 137 * 138 * Copyright (c) Remix Software Inc. 139 * 140 * This source code is licensed under the MIT license found in the 141 * LICENSE.md file in the root directory of this source tree. 142 * 143 * @license MIT 144 */function x2(e,t){let i=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${t}`:i.pathname=`${i.pathname}.${t}`,i}/** 145 * react-router v8.3.0 146 * 147 * Copyright (c) Remix Software Inc. 148 * 149 * This source code is licensed under the MIT license found in the 150 * LICENSE.md file in the root directory of this source tree. 151 * 152 * @license MIT 153 */async function aR(e,t){if(e.id in t)return t[e.id];try{let i=await import(e.module);return t[e.id]=i,i}catch(i){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}/** 154 * react-router v8.3.0 155 * 156 * Copyright (c) Remix Software Inc. 157 * 158 * This source code is licensed under the MIT license found in the 159 * LICENSE.md file in the root directory of this source tree. 160 * 161 * @license MIT 162 */function rR(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function sR(e,t,i){return cR((await Promise.all(e.map(async r=>{let s=t.routes[r.route.id];if(s){let o=await aR(s,i);return o.links?o.links():[]}return[]}))).flat(1).filter(rR).filter(r=>r.rel==="stylesheet"||r.rel==="preload").map(r=>r.rel==="stylesheet"?{...r,rel:"prefetch",as:"style"}:{...r,rel:"prefetch"}))}function Y0(e,t,i,r,s,o){let u=(f,h)=>i[h]?f.route.id!==i[h].route.id:!0,d=(f,h)=>{var p;return i[h].pathname!==f.pathname||((p=i[h].route.path)==null?void 0:p.endsWith("*"))&&i[h].params["*"]!==f.params["*"]};return o==="assets"?t.filter((f,h)=>u(f,h)||d(f,h)):o==="data"?t.filter((f,h)=>{var x;let p=r.routes[f.route.id];if(!p||!p.hasLoader)return!1;if(u(f,h)||d(f,h))return!0;if(f.route.shouldRevalidate){let b=f.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:((x=i[0])==null?void 0:x.params)||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function lR(e,t,{includeHydrateFallback:i}={}){return oR(e.map(r=>{let s=t.routes[r.route.id];if(!s)return[];let o=[s.module];return s.clientActionModule&&(o=o.concat(s.clientActionModule)),s.clientLoaderModule&&(o=o.concat(s.clientLoaderModule)),i&&s.hydrateFallbackModule&&(o=o.concat(s.hydrateFallbackModule)),s.imports&&(o=o.concat(s.imports)),o}).flat(1))}function oR(e){return[...new Set(e)]}function uR(e){let t={},i=Object.keys(e).sort();for(let r of i)t[r]=e[r];return t}function cR(e,t){let i=new Set;return new Set(t),e.reduce((r,s)=>{let o=JSON.stringify(uR(s));return i.has(o)||(i.add(o),r.push({key:o,link:s})),r},[])}/** 163 * react-router v8.3.0 164 * 165 * Copyright (c) Remix Software Inc. 166 * 167 * This source code is licensed under the MIT license found in the 168 * LICENSE.md file in the root directory of this source tree. 169 * 170 * @license MIT 171 */function dR(){let e=R.useContext(ss);return jg(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function fR(){let e=R.useContext(tu);return jg(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}const Ng=R.createContext(void 0);Ng.displayName="FrameworkContext";function Rg(){let e=R.useContext(Ng);return jg(e,"You must render this element inside a <HydratedRouter> element"),e}
171function hR(e,t){let i=R.useContext(Ng),[r,s]=R.useState(!1),[o,u]=R.useState(!1),{onFocus:d,onBlur:f,onMouseEnter:h,onMouseLeave:p,onTouchStart:x}=t,b=R.useRef(null);R.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let T=A=>{A.forEach(N=>{u(N.isIntersecting)})},C=new IntersectionObserver(T,{threshold:.5});return b.current&&C.observe(b.current),()=>{C.disconnect()}}},[e]),R.useEffect(()=>{if(r){let T=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(T)}}},[r]);let v=()=>{s(!0)},S=()=>{s(!1),u(!1)};return i?e!=="intent"?[o,b,{}]:[o,b,{onFocus:xo(d,v),onBlur:xo(f,S),onMouseEnter:xo(h,v),onMouseLeave:xo(p,S),onTouchStart:xo(x,v)}]:[!1,b,{}]}function xo(e,t){return i=>{e&&e(i),i.defaultPrevented||t(i)}}function mR({page:e,...t}){let i=m2(),{nonce:r}=Rg(),{router:s}=dR(),o=R.useMemo(()=>GS(s.routes,e,s.basename),[s.routes,e,s.basename]);return o?(t.nonce==null&&r&&(t={...t,nonce:r}),i?R.createElement(gR,{page:e,matches:o,...t}):R.createElement(yR,{page:e,matches:o,...t})):null}function pR(e){let{manifest:t,routeModules:i}=Rg(),[r,s]=R.useState([]);return R.useEffect(()=>{let o=!1;return sR(e,t,i).then(u=>{o||s(u)}),()=>{o=!0}},[e,t,i]),r}function gR({page:e,matches:t,...i}){let r=zn(),s=R.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let o=x2(e,"rsc"),u=!1,d=[];for(let f of t)typeof f.route.shouldRevalidate=="function"?u=!0:d.push(f.route.id);return u&&d.length>0&&o.searchParams.set("_routes",d.join(",")),[o.pathname+o.search]},[e,r,t]);return R.createElement(R.Fragment,null,s.map(o=>R.createElement("link",{key:o,rel:"prefetch",as:"fetch",href:o,...i})))}function yR({page:e,matches:t,...i}){let r=zn(),{manifest:s,routeModules:o}=Rg(),{loaderData:u,matches:d}=fR(),f=R.useMemo(()=>Y0(e,t,d,s,r,"data"),[e,t,d,s,r]),h=R.useMemo(()=>Y0(e,t,d,s,r,"assets"),[e,t,d,s,r]),p=R.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let v=new Set,S=!1;if(t.forEach(C=>{var N;let A=s.routes[C.route.id];!A||!A.hasLoader||(!f.some(M=>M.route.id===C.route.id)&&C.route.id in u&&((N=o[C.route.id])!=null&&N.shouldRevalidate)||A.hasClientLoader?S=!0:v.add(C.route.id))}),v.size===0)return[];let T=x2(e,"data");return S&&v.size>0&&T.searchParams.set("_routes",t.filter(C=>v.has(C.route.id)).map(C=>C.route.id).join(",")),[T.pathname+T.search]},[u,r,s,f,t,e,o]),x=R.useMemo(()=>lR(h,s),[h,s]),b=pR(h);return R.createElement(R.Fragment,null,p.map(v=>R.createElement("link",{key:v,rel:"prefetch",as:"fetch",href:v,...i})),x.map(v=>R.createElement("link",{key:v,rel:"modulepreload",href:v,...i})),b.map(({key:v,link:S})=>R.createElement("link",{key:v,nonce:i.nonce,...S,crossOrigin:S.crossOrigin??i.crossOrigin})))}function xR(...e){return t=>{e.forEach(i=>{typeof i=="function"?i(t):i!=null&&(i.current=t)})}}/** 172 * react-router v8.3.0 173 * 174 * Copyright (c) Remix Software Inc. 175 * 176 * This source code is licensed under the MIT license found in the 177 * LICENSE.md file in the root directory of this source tree. 178 * 179 * @license MIT 180 */const bR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{bR&&(window.__reactRouterVersion="8.3.0")}catch{}function vR(e,t){return Kj({basename:t==null?void 0:t.basename,getContext:t==null?void 0:t.getContext,future:t==null?void 0:t.future,history:lj({window:t==null?void 0:t.window}),hydrationData:wR(),routes:e,mapRouteProperties:KS,hydrationRouteProperties:VN,dataStrategy:t==null?void 0:t.dataStrategy,patchRoutesOnNavigation:t==null?void 0:t.patchRoutesOnNavigation,window:t==null?void 0:t.window,instrumentations:t==null?void 0:t.instrumentations}).initialize()}function wR(){let e=window==null?void 0:window.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:SR(e.errors)}),e}function SR(e){if(!e)return null;let t=Object.entries(e),i={};for(let[r,s]of t)if(s&&s.__type==="RouteErrorResponse")i[r]=new eu(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(typeof s.__subType=="string"&&zj.includes(s.__subType)){let o=window[s.__subType];if(typeof o=="function")try{let u=new o(s.message);u.stack="",i[r]=u}catch{}}if(i[r]==null){let o=new Error(s.message);o.stack="",i[r]=o}}else i[r]=s;return i}const fn=R.forwardRef(function({onClick:t,discover:i="render",prefetch:r="none",relative:s,reloadDocument:o,replace:u,mask:d,state:f,target:h,to:p,preventScrollReset:x,viewTransition:b,defaultShouldRevalidate:v,...S},T){let{basename:C,navigator:A,useTransitions:N}=R.useContext(mi),M=typeof p=="string"&&Dd.test(p),K=e2(p,C);p=K.to;let G=SN(p,{relative:s}),U=zn(),ee=null;if(d){let ne=Qo(d,[],U.mask?U.mask.pathname:"/",!0);C!=="/"&&(ne.pathname=ne.pathname==="/"?C:di([C,ne.pathname])),ee=A.createHref(ne)}let[L,se,z]=hR(r,S),te=AR(p,{replace:u,mask:d,state:f,target:h,preventScrollReset:x,relative:s,viewTransition:b,defaultShouldRevalidate:v,useTransitions:N});function Z(ne){t&&t(ne),ne.defaultPrevented||te(ne)}let pe=!(K.isExternal||o),oe=R.createElement("a",{...S,...z,href:(pe?ee:void 0)||K.absoluteURL||G,onClick:pe?Z:t,ref:xR(T,se),target:h,"data-discover":!M&&i==="render"?"true":void 0});
180return L&&!M?R.createElement(R.Fragment,null,oe,R.createElement(mR,{page:G})):oe});fn.displayName="Link";const kR=R.forwardRef(function({"aria-current":t="page",caseSensitive:i=!1,className:r="",end:s=!1,style:o,to:u,viewTransition:d,children:f,...h},p){let x=nu(u,{relative:h.relative}),b=zn(),v=R.useContext(tu),{navigator:S,basename:T}=R.useContext(mi),C=v!=null&&_R(x)&&d===!0,A=S.encodeLocation?S.encodeLocation(x).pathname:x.pathname,N=b.pathname,M=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(N=N.toLowerCase(),M=M?M.toLowerCase():null,A=A.toLowerCase()),M&&T&&(M=Di(M,T)||M);const K=A!=="/"&&A.endsWith("/")?A.length-1:A.length;let G=N===A||!s&&N.startsWith(A)&&N.charAt(K)==="/",U=M!=null&&(M===A||!s&&M.startsWith(A)&&M.charAt(K)==="/"),ee={isActive:G,isPending:U,isTransitioning:C},L=G?t:void 0,se;typeof r=="function"?se=r(ee):se=[r,G?"active":null,U?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let z=typeof o=="function"?o(ee):o;return R.createElement(fn,{...h,"aria-current":L,className:se,ref:p,style:z,to:u,viewTransition:d},typeof f=="function"?f(ee):f)});kR.displayName="NavLink";const TR=R.forwardRef(({discover:e="render",fetcherKey:t,navigate:i,reloadDocument:r,replace:s,state:o,method:u="get",action:d,onSubmit:f,relative:h,preventScrollReset:p,viewTransition:x,defaultShouldRevalidate:b,...v},S)=>{let{useTransitions:T}=R.useContext(mi),C=RR(),A=MR(d,{relative:h}),N=u.toLowerCase()==="get"?"get":"post",M=typeof d=="string"&&Dd.test(d),K=G=>{if(f&&f(G),G.defaultPrevented)return;G.preventDefault();let U=G.nativeEvent.submitter,ee=(U==null?void 0:U.getAttribute("formmethod"))||u,L=()=>C(U||G.currentTarget,{fetcherKey:t,method:ee,navigate:i,replace:s,state:o,relative:h,preventScrollReset:p,viewTransition:x,defaultShouldRevalidate:b});T&&i!==!1?R.startTransition(()=>L()):L()};return R.createElement("form",{ref:S,method:N,action:A,onSubmit:r?f:K,...v,"data-discover":!M&&e==="render"?"true":void 0})});TR.displayName="Form";function CR(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function b2(e){let t=R.useContext(ss);return Ye(t,CR(e)),t}function AR(e,{target:t,replace:i,mask:r,state:s,preventScrollReset:o,relative:u,viewTransition:d,defaultShouldRevalidate:f,useTransitions:h}={}){let p=Cg(),x=zn(),b=nu(e,{relative:u});return R.useCallback(v=>{if(QN(v,t)){v.preventDefault();let S=i!==void 0?i:Yi(x)===Yi(b),T=()=>p(e,{replace:S,mask:r,state:s,preventScrollReset:o,relative:u,viewTransition:d,defaultShouldRevalidate:f});h?R.startTransition(()=>T()):T()}},[x,p,b,i,r,s,t,e,o,u,d,f,h])}function ER(e){hn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=R.useRef(yp(e)),i=R.useRef(!1),r=zn(),s=R.useMemo(()=>eR(r.search,i.current?null:t.current),[r.search]),o=Cg();return[s,R.useCallback((u,d)=>{const f=yp(typeof u=="function"?u(new URLSearchParams(s)):u);i.current=!0,o("?"+f,d)},[o,s])]}let jR=0,NR=()=>`__${String(++jR)}__`;function RR(){let{router:e}=b2("useSubmit"),{basename:t}=R.useContext(mi),i=PN(),r=e.fetch,s=e.navigate;return R.useCallback(async(o,u={})=>{let{action:d,method:f,encType:h,formData:p,body:x}=iR(o,t);u.navigate===!1?await r(u.fetcherKey||NR(),i,u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:p,body:x,formMethod:u.method||f,formEncType:u.encType||h,flushSync:u.flushSync}):await s(u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:p,body:x,formMethod:u.method||f,formEncType:u.encType||h,replace:u.replace,state:u.state,fromRouteId:i,flushSync:u.flushSync,viewTransition:u.viewTransition})},[r,s,t,i])}function MR(e,{relative:t}={}){let{basename:i}=R.useContext(mi),r=R.useContext(pi);Ye(r,"useFormAction must be used inside a RouteContext");let[s]=r.matches.slice(-1),o={...nu(e||".",{relative:t})},u=zn();if(e==null){o.search=u.search;let d=new URLSearchParams(o.search),f=d.getAll("index");if(f.some(h=>h==="")){d.delete("index"),f.filter(p=>
180p).forEach(p=>d.append("index",p));let h=d.toString();o.search=h?`?${h}`:""}}return(!e||e===".")&&s.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(o.pathname=o.pathname==="/"?i:di([i,o.pathname])),Yi(o)}function _R(e,{relative:t}={}){let i=R.useContext(kg);Ye(i!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=b2("useViewTransitionState"),s=nu(e,{relative:t});if(!i.isTransitioning)return!1;let o=Di(i.currentLocation.pathname,r)||i.currentLocation.pathname,u=Di(i.nextLocation.pathname,r)||i.nextLocation.pathname;return sd(s.pathname,u)!=null||sd(s.pathname,o)!=null}/** 181 * react-router v8.3.0 182 * 183 * Copyright (c) Remix Software Inc. 184 * 185 * This source code is licensed under the MIT license found in the 186 * LICENSE.md file in the root directory of this source tree. 187 * 188 * @license MIT 189 */function DR(e){return R.createElement(FN,{flushSync:OE.flushSync,...e})}class zR extends R.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0}}componentDidCatch(t,i){console.warn("CookieBanner error boundary caught an error:",t,i)}render(){return this.state.hasError?null:this.props.children}}const pm="c2_analytics_consent",LR=[{label:"Home",href:"/"},{label:"About",href:"/about"},{label:"Consultancy",href:"/consultancy"},{label:"Affiliations",href:"/affiliations"},{label:"Talks",href:"/talks"},{label:"Publications",href:"/publications"},{label:"Media",href:"/media"},{label:"Blog",href:"/blog"},{label:"Contact",href:"/contact"}];function OR(){const[e,t]=R.useState(()=>typeof window>"u"?!1:!!localStorage.getItem(pm));return R.useEffect(()=>{const i=()=>t(!!localStorage.getItem(pm));return window.addEventListener("cookie-consent-changed",i),()=>window.removeEventListener("cookie-consent-changed",i)},[]),y.jsxs(y.Fragment,{children:[y.jsx("footer",{className:"bg-background border-t border-border",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10 py-14 grid grid-cols-1 md:grid-cols-3 gap-10 md:gap-6",children:[y.jsxs("div",{className:"flex flex-col gap-3",children:[y.jsx("span",{className:"text-sm tracking-[0.2em] uppercase text-primary font-heading font-semibold",children:"Yousuf Syed Khan"}),y.jsx("p",{className:"text-xs leading-relaxed text-muted-foreground font-sans",children:"© 2023â2026 Yousuf Syed Khan"}),y.jsx(fn,{to:"/privacy-policy",className:"text-xs text-muted-foreground hover:text-primary transition-colors duration-200 font-sans w-fit",children:"Privacy Policy"})]}),y.jsx("nav",{"aria-label":"Footer links",className:"flex flex-col gap-2",children:LR.map(i=>y.jsx(fn,{to:i.href,className:"text-xs uppercase tracking-[0.12em] text-muted-foreground hover:text-primary transition-colors duration-200 font-sans w-fit",children:i.label},i.href))}),y.jsxs("div",{className:"flex flex-col gap-3",children:[y.jsx("span",{className:"text-xs uppercase tracking-[0.12em] text-muted-foreground font-sans",children:"Follow"}),y.jsxs("a",{href:"https://www.x.com/yousufsyedkhan",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 w-fit text-muted-foreground hover:text-primary transition-colors duration-200 group","aria-label":"Yousuf Syed Khan on X (Twitter)",children:[y.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.737-8.835L1.254 2.25H8.08l4.253 5.622 5.911-5.622Zm-1.161 17.52h1.833L7.084 4.126H5.117L17.083 19.77Z"})}),y.jsx("span",{className:"text-xs uppercase tracking-[0.12em] font-sans",children:"@yousufsyedkhan"})]}),y.jsxs("a",{href:"https://bsky.app/profile/yousufsyedkhan.bsky.social",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 w-fit text-muted-foreground hover:text-primary transition-colors duration-200 group","aria-label":"Yousuf Syed Khan on Bluesky",children:[y.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"
189currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:y.jsx("path",{d:"M12 10.8C10.9 8.7 7.9 4.5 5.1 2.5 2.4.6 1.4.9.7 1.2-.1 1.6 0 3 .1 3.8c.1.9.5 7.4.7 8.5.7 3.7 3.1 5 5.3 4.7 1.1-.2 2.1-1.1 3-2.4-1.2 2.3-2.8 4.5-5.4 4.9-1 .2-1.9.2-2.7.1.9 1.5 2.5 2.6 4.4 2.6 2.4 0 4.6-1.8 6.6-5.1 2 3.3 4.2 5.1 6.6 5.1 1.9 0 3.5-1.1 4.4-2.6-.8.1-1.7.1-2.7-.1-2.6-.4-4.2-2.6-5.4-4.9.9 1.3 1.9 2.2 3 2.4 2.2.3 4.6-1 5.3-4.7.2-1.1.6-7.6.7-8.5.1-.8.2-2.2-.6-2.6-.7-.3-1.7-.6-4.4 1.3-2.8 2-5.8 6.2-6.9 8.3Z"})}),y.jsx("span",{className:"text-xs uppercase tracking-[0.12em] font-sans",children:"@yousufsyedkhan.bsky.social"})]}),y.jsxs("a",{href:"https://www.linkedin.com/in/yousufsyedkhan",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 w-fit text-muted-foreground hover:text-primary transition-colors duration-200 group","aria-label":"Yousuf Syed Khan on LinkedIn",children:[y.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:y.jsx("path",{d:"M20.45 20.45h-3.56v-5.57c0-1.33-.03-3.04-1.85-3.04-1.85 0-2.13 1.45-2.13 2.94v5.67H9.35V8.98h3.42v1.57h.05c.48-.9 1.64-1.85 3.37-1.85 3.61 0 4.27 2.37 4.27 5.46v6.29ZM5.34 7.41a2.07 2.07 0 1 1 0-4.14 2.07 2.07 0 0 1 0 4.14Zm1.78 13.04H3.56V8.98h3.56v11.47ZM22.23 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.46c.98 0 1.77-.77 1.77-1.72V1.72C24 .77 23.21 0 22.23 0Z"})}),y.jsx("span",{className:"text-xs uppercase tracking-[0.12em] font-sans",children:"@yousufsyedkhan"})]})]})]})}),!e&&y.jsxs("div",{className:"fixed bottom-0 left-0 right-0 z-50 flex items-center justify-between gap-4 px-6 py-4 bg-card border-t border-border",children:[y.jsx("p",{className:"text-xs leading-relaxed text-muted-foreground font-sans",children:"This website uses cookies to analyse website traffic and optimise your experience."}),y.jsx("button",{onClick:()=>{localStorage.setItem(pm,JSON.stringify({analytics:!0,timestamp:Date.now()})),window.dispatchEvent(new CustomEvent("cookie-consent-changed",{detail:{consented:!0}})),t(!0)},className:"shrink-0 text-xs uppercase tracking-[0.12em] px-4 py-2 border border-primary text-primary hover:bg-primary hover:text-background transition-all duration-200 font-sans",children:"Accept"})]})]})}const Z0=[{label:"Home",href:"/"},{label:"About",href:"/about"},{label:"Consultancy",href:"/consultancy"},{label:"Affiliations",href:"/affiliations"},{label:"Talks",href:"/talks"},{label:"Publications",href:"/publications"},{label:"Media",href:"/media"},{label:"Blog",href:"/blog"},{label:"Contact",href:"/contact"}];function PR(){const[e,t]=R.useState(!1),[i,r]=R.useState(!1),s=zn();return R.useEffect(()=>{const o=()=>t(window.scrollY>40);return window.addEventListener("scroll",o,{passive:!0}),()=>window.removeEventListener("scroll",o)},[]),R.useEffect(()=>{r(!1)},[s.pathname]),y.jsxs(y.Fragment,{children:[y.jsx("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 ${e?"bg-background border-b border-border":"bg-transparent border-b border-transparent"}`,children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 sm:px-8 md:px-10 flex items-center justify-between h-16 md:h-20",children:[y.jsx(fn,{to:"/",className:`font-heading text-sm md:text-base tracking-[0.2em] uppercase transition-colors duration-300 leading-none ${e?"text-primary":"text-foreground"}`,style:{fontVariant:"small-caps",fontWeight:600},children:"Yousuf Syed Khan"}),y.jsx("nav",{"aria-label":"Main navigation",className:`hidden lg:flex items-center gap-7 transition-all duration-500 ${e?"":"px-5 py-1 rounded-sm bg-background/40 backdrop-blur-sm"}`,children:Z0.map(o=>y.jsx(fn,{to:o.href,className:`text-[11px] uppercase tracking-[0.15em] transition-colors duration-200 font-sans ${s.pathname===o.href?"text-primary":"text-foreground hover:text-primary"}`,children:o.label},o.href))}),y.jsxs("button",{className:"lg:hidden flex flex-col gap-[5px] p-2","aria-label":i?"Close menu":"Open menu",onClick:()=>r(o=>!o),children:[y.jsx("span",{className:`block w-6 h-[2px] transition-all duration-300 ${e||i?"bg-primary":"bg-foreground"} ${i?"translate-y-[7px] rotate-45":""}`}),y.jsx("span",{className:`block w-6 h-[2px] transition-all duration-300 ${e||i?"bg-primary":"bg-foreground"} ${i?"opacity-0":"opacity-100"}`}),y.jsx("span",{className:`block w-6 h-[2px] transition-all duration-300 ${e||i?"bg-primary":"bg-foreground"} ${i?"-translate-y-[7px] -rotate-45":""}`})]})]})}),y.jsx("div",{className:`fixed inset-0 z-40 flex flex-col pt-20 px-8 pb-10 lg:hidden bg-background transition-all duration-300 ${i?"opacity-100 pointer-events-auto translate-y-0":"opacity-0 pointer-events-none -translate-y-2"}`,children:y.jsx("nav",{"aria-label":"Mobile navigation",className:"flex flex-col gap-6 mt-8",children:Z0.map(o=>y.jsx(fn,{to:o.href,className:`text-2xl tracking-[0.05em] font-heading font-semibold ${s.pathname===o.href?"text-primary":"text-foreground"}`,children:o.label},o.href))})})]})}function v2(e){var t,i,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(i=v2(e[t]))&&(r&&(r+=" "),r+=i)}else for(i in e)e[i]&&(r&&(r+=" "),r+=i);return r}function BR(){for(var e,t,i=0,r="",s=arguments.length;i<s;i++)(e=arguments[i])&&(t=v2(e))&&(r&&(r+=" "),r+=t);return r}const Mg="-",UR=e=>{const t=VR(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{const d=u.split(Mg);return d[0]===""&&d.length!==1&&d.shift(),w2(d,t)||HR(u)},getConflictingClassGroupIds:(u,d)=>{const f=i[u]||[];return d&&r[u]?[...f,...r[u]]:f}}},w2=(e,t)=>
vendor: 5,597 bytes, line 189
189{var u;if(e.length===0)return t.classGroupId;const i=e[0],r=t.nextPart.get(i),s=r?w2(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const o=e.join(Mg);return(u=t.validators.find(({validator:d})=>d(o)))==null?void 0:u.classGroupId},$0=/^\[(.+)\]$/,HR=e=>{if($0.test(e)){const t=$0.exec(e)[1],i=t==null?void 0:t.substring(0,t.indexOf(":"));if(i)return"arbitrary.."+i}},VR=e=>{const{theme:t,prefix:i}=e,r={nextPart:new Map,validators:[]};return FR(Object.entries(e.classGroups),i).forEach(([o,u])=>{xp(u,r,o,t)}),r},xp=(e,t,i,r)=>{e.forEach(s=>{if(typeof s=="string"){const o=s===""?t:X0(t,s);o.classGroupId=i;return}if(typeof s=="function"){if(IR(s)){xp(s(r),t,i,r);return}t.validators.push({validator:s,classGroupId:i});return}Object.entries(s).forEach(([o,u])=>{xp(u,X0(t,o),i,r)})})},X0=(e,t)=>{let i=e;return t.split(Mg).forEach(r=>{i.nextPart.has(r)||i.nextPart.set(r,{nextPart:new Map,validators:[]}),i=i.nextPart.get(r)}),i},IR=e=>e.isThemeGetter,FR=(e,t)=>t?e.map(([i,r])=>{const s=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([u,d])=>[t+u,d])):o);return[i,s]}):e,qR=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,i=new Map,r=new Map;const s=(o,u)=>{i.set(o,u),t++,t>e&&(t=0,r=i,i=new Map)};return{get(o){let u=i.get(o);if(u!==void 0)return u;if((u=r.get(o))!==void 0)return s(o,u),u},set(o,u){i.has(o)?i.set(o,u):s(o,u)}}},S2="!",KR=e=>{const{separator:t,experimentalParseClassName:i}=e,r=t.length===1,s=t[0],o=t.length,u=d=>{const f=[];let h=0,p=0,x;for(let C=0;C<d.length;C++){let A=d[C];if(h===0){if(A===s&&(r||d.slice(C,C+o)===t)){f.push(d.slice(p,C)),p=C+o;continue}if(A==="/"){x=C;continue}}A==="["?h++:A==="]"&&h--}const b=f.length===0?d:d.substring(p),v=b.startsWith(S2),S=v?b.substring(1):b,T=x&&x>p?x-p:void 0;return{modifiers:f,hasImportantModifier:v,baseClassName:S,maybePostfixModifierPosition:T}};return i?d=>i({className:d,parseClassName:u}):u},GR=e=>{if(e.length<=1)return e;const t=[];let i=[];return e.forEach(r=>{r[0]==="["?(t.push(...i.sort(),r),i=[]):i.push(r)}),t.push(...i.sort()),t},YR=e=>({cache:qR(e.cacheSize),parseClassName:KR(e),...UR(e)}),ZR=/\s+/,$R=(e,t)=>{const{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:s}=t,o=[],u=e.trim().split(ZR);let d="";for(let f=u.length-1;f>=0;f-=1){const h=u[f],{modifiers:p,hasImportantModifier:x,baseClassName:b,maybePostfixModifierPosition:v}=i(h);let S=!!v,T=r(S?b.substring(0,v):b);if(!T){if(!S){d=h+(d.length>0?" "+d:d);continue}if(T=r(b),!T){d=h+(d.length>0?" "+d:d);continue}S=!1}const C=GR(p).join(":"),A=x?C+S2:C,N=A+T;if(o.includes(N))continue;o.push(N);const M=s(T,S);for(let K=0;K<M.length;++K){const G=M[K];o.push(A+G)}d=h+(d.length>0?" "+d:d)}return d};function XR(){let e=0,t,i,r="";for(;e<arguments.length;)(t=arguments[e++])&&(i=k2(t))&&(r&&(r+=" "),r+=i);return r}const k2=e=>{if(typeof e=="string")return e;let t,i="";for(let r=0;r<e.length;r++)e[r]&&(t=k2(e[r]))&&(i&&(i+=" "),i+=t);return i};function JR(e,...t){let i,r,s,o=u;function u(f){const h=t.reduce((p,x)=>x(p),e());return i=YR(h),r=i.cache.get,s=i.cache.set,o=d,d(f)}function d(f){const h=r(f);if(h)return h;const p=$R(f,i);return s(f,p),p}return function(){return o(XR.apply(null,arguments))}}const jt=e=>{const t=i=>i[e]||[];return t.isThemeGetter=!0,t},T2=/^\[(?:([a-z-]+):)?(.+)\]$/i,WR=/^\d+\/\d+$/,QR=new Set(["px","full","screen"]),eM=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tM=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,nM=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,iM=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aM=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ta=e=>al(e)||QR.has(e)||WR.test(e),ur=e=>gl(e,"length",fM),al=e=>!!e&&!Number.isNaN(Number(e)),gm=e=>gl(e,"number",al),bo=e=>!!e&&Number.isInteger(Number(e)),rM=e=>e.endsWith("%")&&al(e.slice(0,-1)),qe=e=>T2.test(e),cr=e=>eM.test(e),sM=new Set(["length","size","percentage"]),lM=e=>gl(e,sM,C2),oM=e=>gl(e,"position",C2),uM=new Set(["image","url"]),cM=e=>gl(e,uM,mM),dM=e=>gl(e,"",hM),vo=()=>!0,gl=(e,t,i)=>{const r=T2.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):i(r[2]):!1},fM=e=>tM.test(e)&&!nM.test(e),C2=()=>!1,hM=e=>iM.test(e),mM=e=>aM.test(e),pM=()=>{const e=jt("colors"),t=jt("spacing"),i=jt("blur"),r=jt("brightness"),s=jt("borderColor"),o=jt("borderRadius"),u=jt("borderSpacing"),d=jt("borderWidth"),f=jt("contrast"),h=jt("grayscale"),p=jt("hueRotate"),x=jt("invert"),b=jt("gap"),v=jt("gradientColorStops"),S=jt("gradientColorStopPositions"),T=jt("inset"),C=jt("margin"),A=jt("opacity"),N=jt("padding"),M=jt("saturate"),K=jt("scale"),G=jt("sepia"),U=jt("skew"),ee=jt("space"),L=jt("translate"),se=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto",qe,t],Z=()=>[qe,t],pe=()=>["",Ta,ur],oe=()=>["auto",al,qe],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],re=()=>["start","end","center","between","around","evenly","stretch"],de=()=>["","0",qe],E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ve=()=>[al,qe];return{cacheSize:500,separator:":",theme:{colors:[vo],spacing:[Ta,ur],blur:["none","",cr,qe],brightness:ve(),borderColor:[e],borderRadius:["n
189one","","full",cr,qe],borderSpacing:Z(),borderWidth:pe(),contrast:ve(),grayscale:de(),hueRotate:ve(),invert:de(),gap:Z(),gradientColorStops:[e],gradientColorStopPositions:[rM,ur],inset:te(),margin:te(),opacity:ve(),padding:Z(),saturate:ve(),scale:ve(),sepia:de(),skew:ve(),space:Z(),translate:Z()},classGroups:{aspect:[{aspect:["auto","square","video",qe]}],container:["container"],columns:[{columns:[cr]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ne(),qe]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:se()}],"overscroll-x":[{"overscroll-x":se()}],"overscroll-y":[{"overscroll-y":se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[T]}],"inset-x":[{"inset-x":[T]}],"inset-y":[{"inset-y":[T]}],start:[{start:[T]}],end:[{end:[T]}],top:[{top:[T]}],right:[{right:[T]}],bottom:[{bottom:[T]}],left:[{left:[T]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",bo,qe]}],basis:[{basis:te()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",qe]}],grow:[{grow:de()}],shrink:[{shrink:de()}],order:[{order:["first","last","none",bo,qe]}],"grid-cols":[{"grid-cols":[vo]}],"col-start-end":[{col:["auto",{span:["full",bo,qe]},qe]}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":[vo]}],"row-start-end":[{row:["auto",{span:[bo,qe]},qe]}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",qe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",qe]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...re()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...re(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...re(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",qe,t]}],"min-w":[{"min-w":[qe,t,"min","max","fit"]}],"max-w":[{"max-w":[qe,t,"none","full","min","max","fit","prose",{screen:[cr]},cr]}],h:[{h:[qe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[qe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[qe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[qe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",cr,ur]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",gm]}],"font-family":[{font:[vo]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",qe]}],"line-clamp":[{"line-clamp":["none",al,gm]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ta,qe]}],"list-image":[{"list-image":["none",qe]}],"list-style-type":[{list:["none","disc","decimal",qe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ta,ur]}],"underline-offset":[{"underline-offset":["auto",Ta,qe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",qe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),oM]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",lM]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},cM]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}
vendor: 5,183 bytes, line 189
189],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:H()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[Ta,qe]}],"outline-w":[{outline:[Ta,ur]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[Ta,ur]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",cr,dM]}],"shadow-color":[{shadow:[vo]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...J(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[r]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",cr,qe]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[x]}],saturate:[{saturate:[M]}],sepia:[{sepia:[G]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[G]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[u]}],"border-spacing-x":[{"border-spacing-x":[u]}],"border-spacing-y":[{"border-spacing-y":[u]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",qe]}],duration:[{duration:ve()}],ease:[{ease:["linear","in","out","in-out",qe]}],delay:[{delay:ve()}],animate:[{animate:["none","spin","ping","pulse","bounce",qe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[K]}],"scale-x":[{"scale-x":[K]}],"scale-y":[{"scale-y":[K]}],rotate:[{rotate:[bo,qe]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",qe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",qe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
189],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",qe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ta,ur,gm]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},gM=JR(pM);function yM(...e){return gM(BR(e))}function xM({children:e,config:t={},className:i}){const{layout:r={maxWidth:"full",padding:"md",background:"default",minHeight:!0}}=t,s=()=>{switch(r.background){case"muted":return"bg-muted";case"gradient":return"bg-gradient-to-b from-background to-muted/20";default:return"bg-background"}};return y.jsx("div",{className:yM(r.minHeight!==!1&&"min-h-screen",s(),"flex flex-col",i),children:e})}function bM(){const{pathname:e}=zn();return R.useEffect(()=>{window.scrollTo(0,0)},[e]),null}const vM="c2_analytics_consent";function wM(e){if(!e)return null;try{return JSON.parse(e)}catch{return null}}function SM(){if(typeof localStorage>"u")return!1;const e=wM(localStorage.getItem(vM));return(e==null?void 0:e.analytics)===!0}function kM(e){function t(i){e(i.detail.consented)}return window.addEventListener("cookie-consent-changed",t),()=>window.removeEventListener("cookie-consent-changed",t)}function J0(e){if(delete window[`ga-disable-${e}`],document.getElementById("gtag-script"))return;window.dataLayer=window.dataLayer??[],window.gtag=(...i)=>{window.dataLayer.push(i)},window.gtag("js",new Date),window.gtag("config",e);const t=document.createElement("script");t.id="gtag-script",t.src=`https://www.googletagmanager.com/gtag/js?id=${e}`,t.async=!0,document.head.appendChild(t)}function TM(e){window[`ga-disable-${e}`]=!0}function CM(){const e=zn(),t=R.useRef(null),i=R.useRef(!1);return R.useEffect(()=>{let r=!1;async function s(){try{const u=await fetch("/api/analytics/config");if(!u.ok||r)return;const d=await u.json();if(!d.measurementId||r)return;t.current=d.measurementId,SM()&&(i.current=!0,J0(d.measurementId))}catch{}}s();const o=kM(u=>{const d=t.current;d&&(u?(i.current=!0,J0(d)):(i.current=!1,TM(d)))});return()=>{r=!0,o()}},[]),R.useEffect(()=>{!i.current||typeof window.gtag!="function"||window.gtag("event","page_view",{page_path:e.pathname})},[e.pathname]),null}function AM({children:e}){return y.jsxs(xM,{children:[y.jsx(CM,{}),y.jsxs(hi,{children:[y.jsx("title",{children:"Jurist & Conflict Analyst | Yousuf Syed Khan"}),y.jsx("meta",{name:"description",content:"Jurist and conflict analyst advising on armed conflict, atrocity crimes, international humanitarian law, and accountability."}),y.jsx("link",{rel:"apple-touch-icon",href:"/assets/other/0c24b0ae1af884460e75c348df1a7425.svg",sizes:"180x180"}),y.jsx("link",{rel:"alternate",type:"application/rss+xml",title:"Yousuf Syed Khan Blog",href:"/feed.xml"})]}),y.jsx(bM,{}),y.jsx(PR,{}),e,y.jsx(OR,{})]})}function EM({className:e}){return y.jsx("div",{className:`inline-block ${e||""}`,children:y.jsxs("svg",{className:"animate-spin h-8 w-8 text-gray-600",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[y.jsx("circle",{className:"opacity-10",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),y.jsx("path",{className:"opacity-20",fill:"currentColor",d:"m4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})}const jM={overrides:{}};function _g(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function NM(e){return e==="bound-expression"||e==="content-key"||e==="content-key-template"}function RM(e){return _g(e)?typeof e.file=="string"&&typeof e.tagName=="string"&&NM(e.sourceKind)&&(e.contentKey===void 0||e.contentKey===null||typeof e.contentKey=="string")&&(e.contentKeyTemplate===void 0||e.contentKeyTemplate===null||typeof e.contentKeyTemplate=="string")&&(e.expressionH
189ash===void 0||e.expressionHash===null||typeof e.expressionHash=="string"):!1}function MM(e){return _g(e)?(e.bold===void 0||typeof e.bold=="boolean")&&(e.italic===void 0||typeof e.italic=="boolean")&&(e.color===void 0||e.color===null||typeof e.color=="string")&&(e.fontSize===void 0||typeof e.fontSize=="string"):!1}function _M(e){return _g(e)?RM(e.target)&&MM(e.marks)&&typeof e.updatedAt=="string":!1}function Gs(e){return e??null}function DM(e){const t=e.replace(/\\/g,"/"),i=t.indexOf("/src/");return i!==-1?t.slice(i+1):t.replace(/^\/+/,"")}function zM(e){const t=e.split("/");return t.some(i=>!/^[a-zA-Z0-9_-]+$/.test(i))?null:t.map(i=>i.toLowerCase()).join("/")}function LM(e){const t=DM(e),i=/^src\/pages\/(.+)\.[jt]sx?$/.exec(t);if(!(i!=null&&i[1]))return{key:"shared",filePath:"format-overrides/shared.json"};const r=zM(i[1]);return r?{key:`pages/${r}`,filePath:`format-overrides/pages/${r}.json`}:{key:"shared",filePath:"format-overrides/shared.json"}}function OM(e,t){return e.file===t.file&&e.tagName===t.tagName&&e.sourceKind===t.sourceKind&&Gs(e.contentKey)===Gs(t.contentKey)&&Gs(e.contentKeyTemplate)===Gs(t.contentKeyTemplate)&&Gs(e.expressionHash)===Gs(t.expressionHash)}function PM(e,t,i){const r=LM(i.file),o=(e.scopes[r.key]??jM).overrides[t];return o?_M(o)?OM(o.target,i)?{status:"applicable",marks:o.marks}:{status:"guard-mismatch",expected:o.target,actual:i}:(r.key,{status:"missing"}):{status:"missing"}}const BM={"0.75rem":"1rem","0.875rem":"1.25rem","1rem":"1.5rem","1.125rem":"1.75rem","1.25rem":"1.75rem","1.5rem":"2rem","1.875rem":"2.25rem","2.25rem":"2.5rem","3rem":"1","3.75rem":"1","4.5rem":"1","6rem":"1","8rem":"1"};function UM(e){const t=e.fontSize?BM[e.fontSize]:void 0;return{...e.bold?{fontWeight:700}:{},...e.italic?{fontStyle:"italic"}:{},...e.color?{color:e.color}:{},...e.fontSize?{fontSize:e.fontSize}:{},...t?{lineHeight:t}:{}}}const HM={version:1,scopes:{}},W0=new Set;let VM=HM;function Q0(){return VM}function IM(e){return W0.add(e),()=>{W0.delete(e)}}function FM(){return R.useSyncExternalStore(IM,Q0,Q0)}function et({devId:e,guard:t,children:i}){const r=FM(),s=PM(r,e,t);if(s.status==="missing")return y.jsx(y.Fragment,{children:i});if(s.status==="guard-mismatch")return y.jsx(y.Fragment,{children:i});const o=s.marks;return y.jsx("span",{"data-airo-formatted-bound-text":"true","data-airo-format-bold":o.bold?"true":void 0,"data-airo-format-italic":o.italic?"true":void 0,"data-airo-format-color":o.color||void 0,"data-airo-format-size":o.fontSize||void 0,style:UM(o),children:i})}/** 190 * @license lucide-react v0.454.0 - ISC 191 * 192 * This source code is licensed under the ISC license. 193 * See the LICENSE file in the root directory of this source tree. 194 */const qM=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),A2=(...e)=>e.filter((t,i,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===i).join(" ").trim();/** 195 * @license lucide-react v0.454.0 - ISC 196 * 197 * This source code is licensed under the ISC license. 198 * See the LICENSE file in the root directory of this source tree. 199 */var KM={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 200 * @license lucide-react v0.454.0 - ISC 201 * 202 * This source code is licensed under the ISC license. 203 * See the LICENSE file in the root directory of this source tree. 204 */const GM=R.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:i=2,absoluteStrokeWidth:r,className:s="",children:o,iconNode:u,...d},f)=>R.createElement("svg",{ref:f,...KM,width:t,height:t,stroke:e,strokeWidth:r?Number(i)*24/Number(t):i,className:A2("lucide",s),...d},[...u.map(([h,p])=>R.createElement(h,p)),...Array.isArray(o)?o:[o]]));/** 205 * @license lucide-react v0.454.0 - ISC 206 * 207 * This source code is licensed under the ISC license. 208 * See the LICENSE file in the root directory of this source tree. 209 */const iu=(e,t)=>{const i=R.forwardRef(({className:r,...s},o)=>R.createElement(GM,{ref:o,iconNode:t,className:A2(`lucide-${qM(e)}`,r),...s}));return i.displayName=`${e}`,i};/** 210 * @license lucide-react v0.454.0 - ISC 211 * 212 * This source code is licensed under the ISC license. 213 * See the LICENSE file in the root directory of this source tree. 214 */const e1=iu("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/** 215 * @license lucide-react v0.454.0 - ISC 216 * 217 * This source code is licensed under the ISC license. 218 * See the LICENSE file in the root directory of this source tree. 219 */const E2=iu("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 220 * @license lucide-react v0.454.0 - ISC 221 * 222 * This source code is licensed under the ISC license. 223 * See the LICENSE file in the root directory of this source tree. 224 */const YM=iu("Paperclip",[["path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",key:"1u3ebp"}]]);/** 225 * @license lucide-react v0.454.0 - ISC 226 * 227 * This source code is licensed under the ISC license. 228 * See the LICENSE file in the root directory of this source tree. 229 */const ZM=iu("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** 230 * @license lucide-react v0.454.0 - ISC 231 * 232 * This source code is licensed under the ISC license. 233 * See the LICENSE file in the root directory of this source tree.
vendor: 2,522 bytes, line 234
234 */const $M=iu("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),j2=R.createContext({});function XM(e){const t=R.useRef(null);return t.current===null&&(t.current=e()),t.current}const JM=typeof window<"u",WM=JM?R.useLayoutEffect:R.useEffect,Dg=R.createContext(null);function zg(e,t){e.indexOf(t)===-1&&e.push(t)}function ld(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const Zi=(e,t,i)=>i>t?t:i<e?e:i;let Lg=()=>{};const vr={},N2=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function R2(e){return typeof e=="object"&&e!==null}const M2=e=>/^0[^.\s]+$/u.test(e);function _2(e){let t;return()=>(t===void 0&&(t=e()),t)}const fi=e=>e,QM=(e,t)=>i=>t(e(i)),au=(...e)=>e.reduce(QM),qo=(e,t,i)=>{const r=t-e;return r===0?1:(i-e)/r};class Og{constructor(){this.subscriptions=[]}add(t){return zg(this.subscriptions,t),()=>ld(this.subscriptions,t)}notify(t,i,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,i,r);else for(let o=0;o<s;o++){const u=this.subscriptions[o];u&&u(t,i,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Gn=e=>e*1e3,ci=e=>e/1e3;function D2(e,t){return t?e*(1e3/t):0}const z2=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e,e4=1e-7,t4=12;function n4(e,t,i,r,s){let o,u,d=0;do u=t+(i-t)/2,o=z2(u,r,s)-e,o>0?i=u:t=u;while(Math.abs(o)>e4&&++d<t4);return u}function ru(e,t,i,r){if(e===t&&i===r)return fi;const s=o=>n4(o,0,1,e,i);return o=>o===0||o===1?o:z2(s(o),t,r)}const L2=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,O2=e=>t=>1-e(1-t),P2=ru(.33,1.53,.69,.99),Pg=O2(P2),B2=L2(Pg),U2=e=>e>=1?1:(e*=2)<1?.5*Pg(e):.5*(2-Math.pow(2,-10*(e-1))),Bg=e=>1-Math.sin(Math.acos(e)),H2=O2(Bg),V2=L2(Bg),i4=ru(.42,0,1,1),a4=ru(0,0,.58,1),I2=ru(.42,0,.58,1),r4=e=>Array.isArray(e)&&typeof e[0]!="number",F2=e=>Array.isArray(e)&&typeof e[0]=="number",s4={linear:fi,easeIn:i4,easeInOut:I2,easeOut:a4,circIn:Bg,circInOut:V2,circOut:H2,backIn:Pg,backInOut:B2,backOut:P2,anticipate:U2},l4=e=>typeof e=="string",t1=e=>{if(F2(e)){Lg(e.length===4);const[t,i,r,s]=e;return ru(t,i,r,s)}else if(l4(e))return s4[e];return e},Ec=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function o4(e,t){let i=new Set,r=new Set,s=!1,o=!1;const u=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function f(p){u.has(p)&&(h.schedule(p),e()),p(d)}const h={schedule:(p,x=!1,b=!1)=>{const S=b&&s?i:r;return x&&u.add(p),S.add(p),p},cancel:p=>{r.delete(p),u.delete(p)},process:p=>{if(d=p,s){o=!0;return}s=!0;const x=i;
vendor: 26,707 bytes, line 234
234i=r,r=x,i.forEach(f),i.clear(),s=!1,o&&(o=!1,h.process(p))}};return h}const u4=40;function q2(e,t){let i=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,u=Ec.reduce((M,K)=>(M[K]=o4(o),M),{}),{setup:d,read:f,resolveKeyframes:h,preUpdate:p,update:x,preRender:b,render:v,postRender:S}=u,T=()=>{const M=vr.useManualTiming,K=M?s.timestamp:performance.now();i=!1,M||(s.delta=r?1e3/60:Math.max(Math.min(K-s.timestamp,u4),1)),s.timestamp=K,s.isProcessing=!0,d.process(s),f.process(s),h.process(s),p.process(s),x.process(s),b.process(s),v.process(s),S.process(s),s.isProcessing=!1,i&&t&&(r=!1,e(T))},C=()=>{i=!0,r=!0,s.isProcessing||e(T)};return{schedule:Ec.reduce((M,K)=>{const G=u[K];return M[K]=(U,ee=!1,L=!1)=>(i||C(),G.schedule(U,ee,L)),M},{}),cancel:M=>{for(let K=0;K<Ec.length;K++)u[Ec[K]].cancel(M)},state:s,steps:u}}const{schedule:wt,cancel:wr,state:un,steps:ym}=q2(typeof requestAnimationFrame<"u"?requestAnimationFrame:fi,!0);let Vc;function c4(){Vc=void 0}const kn={now:()=>(Vc===void 0&&kn.set(un.isProcessing||vr.useManualTiming?un.timestamp:performance.now()),Vc),set:e=>{Vc=e,queueMicrotask(c4)}},K2=e=>t=>typeof t=="string"&&t.startsWith(e),G2=K2("--"),d4=K2("var(--"),Ug=e=>d4(e)?f4.test(e.split("/*")[0].trim()):!1,f4=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function n1(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const yl={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ko={...yl,transform:e=>Zi(0,1,e)},jc={...yl,default:1},Do=e=>Math.round(e*1e5)/1e5,Hg=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function h4(e){return e==null}const m4=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Vg=(e,t)=>i=>!!(typeof i=="string"&&m4.test(i)&&i.startsWith(e)||t&&!h4(i)&&Object.prototype.hasOwnProperty.call(i,t)),Y2=(e,t,i)=>r=>{if(typeof r!="string")return r;const[s,o,u,d]=r.match(Hg);return{[e]:parseFloat(s),[t]:parseFloat(o),[i]:parseFloat(u),alpha:d!==void 0?parseFloat(d):1}},p4=e=>Zi(0,255,e),xm={...yl,transform:e=>Math.round(p4(e))},Wr={test:Vg("rgb","red"),parse:Y2("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:r=1})=>"rgba("+xm.transform(e)+", "+xm.transform(t)+", "+xm.transform(i)+", "+Do(Ko.transform(r))+")"};function g4(e){let t="",i="",r="",s="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,i+=i,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const bp={test:Vg("#"),parse:g4,transform:Wr.transform},su=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),fr=su("deg"),Ki=su("%"),we=su("px"),y4=su("vh"),x4=su("vw"),i1={...Ki,parse:e=>Ki.parse(e)/100,transform:e=>Ki.transform(e*100)},Qs={test:Vg("hsl","hue"),parse:Y2("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ki.transform(Do(t))+", "+Ki.transform(Do(i))+", "+Do(Ko.transform(r))+")"},Yt={test:e=>Wr.test(e)||bp.test(e)||Qs.test(e),parse:e=>Wr.test(e)?Wr.parse(e):Qs.test(e)?Qs.parse(e):bp.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Wr.transform(e):Qs.transform(e),getAnimatableNone:e=>{const t=Yt.parse(e);return t.alpha=0,Yt.transform(t)}},b4=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function v4(e){var t,i;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Hg))==null?void 0:t.length)||0)+(((i=e.match(b4))==null?void 0:i.length)||0)>0}const Z2="number",$2="color",w4="var",S4="var(",a1="${}",k4=/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 ll(e){const t=e.toString(),i=[],r={color:[],number:[],var:[]},s=[];let o=0;const d=t.replace(k4,f=>(Yt.test(f)?(r.color.push(o),s.push($2),i.push(Yt.parse(f))):f.startsWith(S4)?(r.var.push(o),s.push(w4),i.push(f)):(r.number.push(o),s.push(Z2),i.push(parseFloat(f))),++o,a1)).split(a1);return{values:i,split:d,indexes:r,types:s}}function T4(e){return ll(e).values}function X2({split:e,types:t}){const i=e.length;return r=>{let s="";for(let o=0;o<i;o++)if(s+=e[o],r[o]!==void 0){const u=t[o];u===Z2?s+=Do(r[o]):u===$2?s+=Yt.transform(r[o]):s+=r[o]}return s}}function C4(e){return X2(ll(e))}const A4=e=>typeof e=="number"?0:Yt.test(e)?Yt.getAnimatableNone(e):e,E4=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:A4(e);function j4(e){const t=ll(e);return X2(t)(t.values.map((r,s)=>E4(r,t.split[s])))}const Mi={test:v4,parse:T4,createTransformer:C4,getAnimatableNone:j4};function bm(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function N4({hue:e,saturation:t,lightness:i,alpha:r}){e/=360,t/=100,i/=100;let s=0,o=0,u=0;if(!t)s=o=u=i;else{const d=i<.5?i*(1+t):i+t-i*t,f=2*i-d;s=bm(f,d,e+1/3),o=bm(f,d,e),u=bm(f,d,e-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(u*255),alpha:r}}function od(e,t){return i=>i>0?t:e}const Nt=(e,t,i)=>e+(t-e)*i,vm=(e,t,i)=>{const r=e*e,s=i*(t*t-r)+r;return s<0?0:Math.sqrt(s)},R4=[bp,Wr,Qs],M4=e=>R4.find(t=>t.test(e));function r1(e){const t=M4(e);if(!t)return!1;let i=t.parse(e);return t===Qs&&(i=N4(i)),i}const s1=(e,t)=>{const i=r1(e),r=r1(t);if(!i||!r)return od(e,t);const s={...i};return o=>(s.red=vm(i.red,r.red,o),s.green=vm(i.green,r.green,o),s.blue=vm(i.blue,r.blue,o),s.alpha=Nt(i.alpha,r.alpha,o),Wr.transform(s))},vp=new Set(["none","hidden"]);function _4(e,t){return vp.has(e)?i=>i<=0?e:t:i=>i>=1?t:e}function D4(e,t){return i=>Nt(e,t,i)}function Ig(e){return typeof e=="number"?D4:typeof e=="string"?Ug(e)?od:Yt.test(e)?s1:O4:Array.isArray(e)?J2:typeof e=="object"?Yt.test(e)?s1:z4:od}function J2(e,t){const i=[...e],r=i.length,s=e.map((o,u)=>Ig(o)(o,t[u]));return o=>{for(let u=0;u<r;u++)i[u]=s[u](o);return i}}function z4(e,t){const i={...e,...t},r={};for(const s in i)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Ig(e[s])(e[s],t[s]));return s=>{for(const o in r)i[o]=r[o](s);return i}}function L4(e,t){const i=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],u=e.indexes[o][r[o]],d=e.values[u]??0;i[s]=d,r[o]++}return i}const O4=(e,t)=>{const i=Mi.createTransformer(t),r=ll(e),s=ll(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?vp.has(e)&&!s.values.length||vp.has(t)&&!r.values.length?_4(e,t):au(J2(L4(r,s),s.values),i):od(e,t)};function W2(e,t,i){return typeof e=="number"&&typeof t=="number"&&typeof i=="number"?Nt(e,t,i):Ig(e)(e,t)}const P4=e=>{const t=({timestamp:i})=>e(i);return{start:(i=!0)=>wt.update(t,i),stop:()=>wr(t),now:()=>un.isProcessing?un.timestamp:kn.now()}},Q2=(e,t,i=10)=>{let r="";const s=Math.max(Math.round(t/i),2);for(let o=0;o<s;o++)r+=Math.round(e(o/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ud=2e4;function Fg(e){let t=0;const i=50;let r=e.next(t);for(;!r.done&&t<ud;)t+=i,r=e.next(t);return t>=ud?1/0:t}function B4(e,t=100,i){const r=i({...e,keyframes:[0,t]}),s=Math.min(Fg(r),ud);return{type:"keyframes",ease:o=>r.next(s*o).value/t,duration:ci(s)}}const Lt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function wp(e,t){return e*Math.sqrt(1-t*t)}const U4=12;function H4(e,t,i){let r=i;for(let s=1;s<U4;s++)r=r-e(r)/t(r);return r}const wm=.001;function V4({duration:e=Lt.duration,bounce:t=Lt.bounce,velocity:i=Lt.velocity,mass:r=Lt.mass}){let s,o,u=1-t;u=Zi(Lt.minDamping,Lt.maxDamping,u),e=Zi(Lt.minDuration,Lt.maxDuration,ci(e)),u<1?(s=h=>{const p=h*u,x=p*e,b=p-i,v=wp(h,u),S=Math.exp(-x);return wm-b/v*S},o=h=>{const x=h*u*e,b=x*i+i,v=Math.pow(u,2)*Math.pow(h,2)*e,S=Math.exp(-x),T=wp(Math.pow(h,2),u);return(-s(h)+wm>0?-1:1)*((b-v)*S)/T}):(s=h=>{const p=Math.exp(-h*e),x=(h-i)*e+1;return-wm+p*x},o=h=>{const p=Math.exp(-h*e),x=(i-h)*(e*e);return p*x});const d=5/e,f=H4(s,o,d);if(e=Gn(e),isNaN(f))return{stiffness:Lt.stiffness,damping:Lt.damping,duration:e};{const h=Math.pow(f,2)*r;return{stiffness:h,damping:u*2*Math.sqrt(r*h),duration:e}}}const I4=["duration","bounce"],F4=["stiffness","damping","mass"];function l1(e,t){return t.some(i=>e[i]!==void 0)}function q4(e){let t={velocity:Lt.velocity,stiffness:Lt.stiffness,damping:Lt.damping,mass:Lt.mass,isResolvedFromDuration:!1,...e};if(!l1(e,F4)&&l1(e,I4))if(t.velocity=0,e.visualDuration){const i=e.visualDuration,r=2*Math.PI/(i*1.2),s=r*r,o=2*Zi(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:Lt.mass,stiffness:s,damping:o}}else{const i=V4({...e,velocity:0});t={...t,...i,mass:Lt.mass},t.isResolvedFromDuration=!0}return t}function cd(e=Lt.visualDuration,t=Lt.bounce){const i=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=i;const o=i.keyframes[0],u=i.keyframes[i.keyframes.length-1],d={done:!1,value:o},{stiffness:f,damping:h,mass:p,duration:x,velocity:b,isResolvedFromDuration:v}=q4({...i,velocity:-ci(i.velocity||0)}),S=b||0,T=h/(2*Math.sqrt(f*p)),C=u-o,A=ci(Math.sqrt(f/p)),N=Math.abs(C)<5;r||(r=N?Lt.restSpeed.granular:Lt.restSpeed.default),s||(s=N?Lt.restDelta.granular:Lt.restDelta.default);let M,K,G,U,ee,L;if(T<1)G=wp(A,T),U=(S+T*A*C)/G,M=z=>{const te=Math.exp(-T*A*z);return u-te*(U*Math.sin(G*z)+C*Math.cos(G*z))},ee=T*A*U+C*G,L=T*A*C-U*G,K=z=>Math.exp(-T*A*z)*(ee*Math.sin(G*z)+L*Math.cos(G*z));else if(T===1){M=te=>u-Math.exp(-A*te)*(C+(S+A*C)*te);const z=S+A*C;K=te=>Math.exp(-A*te)*(A*z*te-S)}else{const z=A*Math.sqrt(T*T-1);M=oe=>{const ne=Math.exp(-T*A*oe),H=Math.min(z*oe,300);return u-ne*((S+T*A*C)*Math.sinh(H)+z*C*Math.cosh(H))/z};const te=(S+T*A*C)/z,Z=T*A*te-C*z,pe=T*A*C-te*z;K=oe=>{const ne=Math.exp(-T*A*oe),H=Math.min(z*oe,300);return ne*(Z*Math.sinh(H)+pe*Math.cosh(H))}}const se={calculatedDuration:v&&x||null,velocity:z=>Gn(K(z)),next:z=>{if(!v&&T<1){const Z=Math.exp(-T*A*z),pe=Math.sin(G*z),oe=Math.cos(G*z),ne=u-Z*(U*pe+C*oe),H=Gn(Z*(ee*pe+L*oe));return d.done=Math.abs(H)<=r&&Math.abs(u-ne)<=s,d.value=d.done?u:ne,d}const te=M(z);if(v)d.done=z>=x;else{const Z=Gn(K(z));d.done=Math.abs(Z)<=r&&Math.abs(u-te)<=s}return d.value=d.done?u:te,d},toString:()=>{const z=Math.min(Fg(se),ud),te=Q2(Z=>se.next(z*Z).value,z,30);return z+"ms "+te},toTransition:()=>{}};return se}cd.applyToOptions=e=>{const t=B4(e,100,cd);return e.ease=t.ease,e.duration=Gn(t.duration),e.type="keyframes",e};const K4=5;function ek(e,t,i){const r=Math.max(t-K4,0);return D2(i-e(r),t-r)}function Sp({keyframes:e,velocity:t=0,power:i=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:u,min:d,max:f,restDelta:h=.5,restSpeed:p}){const x=e[0],b={done:!1,value:x},v=L=>d!==void 0&&L<d||f!==void 0&&L>f,S=L=>d===void 0?f:f===void 0||Math.abs(d-L)<Math.abs(f-L)?d:f;let T=i*t;const C=x+T,A=u===void 0?C:u(C);A!==C&&(T=A-x);const N=L=>-T*Math.exp(-L/r),M=L=>A+N(L),K=L=>{const se=N(L),z=M(L);b.done=Math.abs(se)<=h,b.value=b.done?A:z};let G,U;const ee=L=>{v(b.value)&&(G=L,U=cd({keyframes:[b.value,S(b.value)],velocity:ek(M,L,b.value),damping:s,stiffness:o,restDelta:h,restSpeed:p}))};return ee(0),{calculatedDuration:null,next:L=>{let se=!1;return!U&&G===void 0&&(se=!0,K(L),ee(L)),G!==void 0&&L>=G?U.next(L-G):(!se&&K(L),b)}}}function G4(e,t,i){const r=[],s=i||vr.mix||W2,o=e.length-1;for(let u=0;u<o;u++){let d=s(e[u],e[u+1]);if(t){const f=Array.isArray(t)?t[u]||fi:t;d=au(f,d)}r.push(d)}return r}function Y4(e,t,{clamp:i=!0,ease:r,mixer:s}={}){const o=e.length;if(Lg(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const u=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=G4(t,r,s),f=d.length,h=p=>{if(u&&p<e[0])return t[0];let x=0;if(f>1)for(;x<e.length-2&&!(p<e[x+1]);x++);const b=qo(e[x],e[x+1],p);return d[x](b)};return i?p=>h(Zi(e[0],e[o-1],p)):h}function Z4(e,t){const i=e[e.length-1];for(let r=1;r<=t;r++){const s=qo(0,t,r);e.push(Nt(i,1,s))}}function $4(e){const t=[0];return Z4(t,e.length-1),t}function X4(e,t){return e.map(i=>i*t)}function J4(e,t){return e.map(()=>t||I2).splice(0,e.length-1)}function zo({duration:e=300,keyframes:t,times:i,ease:r="easeInOut"}){const s=r4(r)?r.map(t1):t1(r),o={done:!1,value:t[0]},u=X4(i&&i.length===t.length?i:$4(t),e),d=Y4(u,t,{ease:Array.isArray(s)?s:J4(t,s)});return{calculatedDuration:e,next:f=>(o.value=d(f),o.done=f>=e,o)}}const W4=e=>e!==null;function Pd(e,{repeat:t,repeatType:i="loop"},r,s=1){const o=e.filter(W4),d=s<0||t&&i!=="loop"&&t%2===1?0:o.length-1;return!d||r===void 0?o[d]:r}const Q4={decay:Sp,inertia:Sp,tween:zo,keyframes:zo,spring:cd};function tk(e){typeof e.type=="string"&&(e.type=Q4[e.type])}class qg{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,i){return this.finished.then(t,i)}}const e_=e=>e/100;class dd extends qg{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,s;const{motionValue:i}=this.options;i&&i.updatedAt!==kn.now()&&this.tick(kn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;tk(t);const{type:i=zo,repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:u=0}=t;let{keyframes:d}=t;const f=i||zo;f!==zo&&typeof d[0]!="number"&&(this.mixKeyframes=au(e_,W2(d[0],d[1])),d=[0,100]);const h=f({...t,keyframes:d});o==="mirror"&&(this.mirroredGenerator=f({...t,keyframes:[...d].reverse(),velocity:-u})),h.calculatedDuration===null&&(h.calculatedDuration=Fg(h));const{calculatedDuration:p}=h;this.calculatedDuration=p,this.resolvedDuration=p+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=h}updateTime(t){const i=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(t,i=!1){const{generator:r,totalDuration:s,mixKeyframes:o,mirroredGenerator:u,resolvedDuration:d,calculatedDuration:f}=this;if(this.startTime===null)return r.next(0);const{delay:h=0,keyframes:p,repeat:x,repeatType:b,repeatDelay:v,type:S,onUpdate:T,finalKeyframe:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),i?this.currentTime=t:this.updateTime(t);const A=this.currentTime-h*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?A<0:A>s;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let M=this.currentTime,K=r;if(x){const L=Math.min(this.currentTime,s)/d;let se=Math.floor(L),z=L%1;!z&&L>=1&&(z=1),z===1&&se--,se=Math.min(se,x+1),!!(se%2)&&(b==="reverse"?(z=1-z,v&&(z-=v/d)):b==="mirror"&&(K=u)),M=Zi(0,1,z)*d}let G;N?(this.delayState.value=p[0],G=this.delayState):G=K.next(M),o&&!N&&(G.value=o(G.value));let{done:U}=G;!N&&f!==null&&(U=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const ee=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&U);return ee&&S!==Sp&&(G.value=Pd(p,this.options,C,this.speed)),T&&T(G.value),ee&&this.finish(),G}then(t,i){return this.finished.then(t,i)}get duration(){return ci(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ci(t)}get time(){return ci(this.currentTime)}set time(t){t=Gn(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const i=this.generator.next(t).value;return ek(r=>this.generator.next(r).value,t,i)}get speed(){return this.playbackSpeed}set speed(t){const i=this.playbackSpeed!==t;i&&this.driver&&this.updateTime(kn.now()),this.playbackSpeed=t,i&&this.driver&&(this.time=ci(this.currentTime))}play(){var s,o;if(this.isStopped)return;const{driver:t=P4,startTime:i}=this.options;this.driver||(this.driver=t(u=>this.tick(u))),(o=(s=this.options).onPlay)==null||o.call(s);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=i??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(kn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,i;this.notifyFinished(),this.teardown(),this.state="finished",(i=(t=this.options).onComplete)==null||i.call(t)}cancel(){var t,i;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(i=(t=this.options).onCancel)==null||i.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var i;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(i=this.driver)==null||i.stop(),t.observe(this)}}function t_(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Qr=e=>e*180/Math.PI,kp=e=>{const t=Qr(Math.atan2(e[1],e[0]));return Tp(t)},n_={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:kp,rotateZ:kp,skewX:e=>Qr(Math.atan(e[1])),skewY:e=>Qr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Tp=e=>(e=e%360,e<0&&(e+=360),e),o1=kp,u1=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),c1=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),i_={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:u1,scaleY:c1,scale:e=>(u1(e)+c1(e))/2,rotateX:e=>Tp(Qr(Math.atan2(e[6],e[5]))),rotateY:e=>Tp(Qr(Math.atan2(-e[2],e[0]))),rotateZ:o1,rotate:o1,skewX:e=>Qr(Math.atan(e[4])),skewY:e=>Qr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Cp(e){return e.includes("scale")?1:0}function Ap(e,t){if(!e||e==="none")return Cp(t);const i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(i)r=i_,s=i;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=n_,s=d}if(!s)return Cp(t);const o=r[t],u=s[1].split(",").map(r_);return typeof o=="function"?o(u):u[o]}const a_=(e,t)=>{const{transform:i="none"}=getComputedStyle(e);return Ap(i,t)};function r_(e){return parseFloat(e.trim())}const xl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],bl=new Set(xl),d1=e=>e===yl||e===we,s_=new Set(["x","y","z"]),l_=xl.filter(e=>!s_.has(e));function o_(e){const t=[];return l_.forEach(i=>{const r=e.getValue(i);r!==void 0&&(t.push([i,r.get()]),r.set(i.startsWith("scale")?1:0))}),t}const yr={width:({x:e},{paddingLeft:t="0",paddingRight:i="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(i)},height:({y:e},{paddingTop:t="0",paddingBottom:i="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-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})=>Ap(t,"x"),y:(e,{transform:t})=>Ap(t,"y")};yr.translateX=yr.x;yr.translateY=yr.y;const ns=new Set;let Ep=!1,jp=!1,Np=!1;function nk(){if(jp){const e=Array.from(ns).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),i=new Map;t.forEach(r=>{const s=o_(r);s.length&&(i.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=i.get(r);s&&s.forEach(([o,u])=>{var d;(d=r.getValue(o))==null||d.set(u)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}jp=!1,Ep=!1,ns.forEach(e=>e.complete(Np)),ns.clear()}function ik(){ns.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(jp=!0)})}function u_(){Np=!0,ik(),nk(),Np=!1}class Kg{constructor(t,i,r,s,o,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=i,this.name=r,this.motionValue=s,this.element=o,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(ns.add(this),Ep||(Ep=!0,wt.read(ik),wt.resolveKeyframes(nk))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:i,element:r,motionValue:s}=this;if(t[0]===null){const o=s==null?void 0:s.get(),u=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&i){const d=r.readValue(i,u);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=u),s&&o===void 0&&s.set(t[0])}t_(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ns.delete(this)}cancel(){this.state==="scheduled"&&(ns.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const c_=e=>e.startsWith("--");function ak(e,t,i){c_(t)?e.style.setProperty(t,i):e.style[t]=i}const d_={};function rk(e,t){const i=_2(e);return()=>d_[t]??i()}const f_=rk(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),sk=rk(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ao=([e,t,i,r])=>`cubic-bezier(${e}, ${t}, ${i}, ${r})`,f1={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ao([0,.65,.55,1]),circOut:Ao([.55,0,1,.45]),backIn:Ao([.31,.01,.66,-.59]),backOut:Ao([.33,1.53,.69,.99])};function lk(e,t){if(e)return typeof e=="function"?sk()?Q2(e,t):"ease-out":F2(e)?Ao(e):Array.isArray(e)?e.map(i=>lk(i,t)||f1.easeOut):f1[e]}function h_(e,t,i,{delay:r=0,duration:s=300,repeat:o=0,repeatType:u="loop",ease:d="easeOut",times:f}={},h=void 0){const p={[t]:i};f&&(p.offset=f);const x=lk(d,s);Array.isArray(x)&&(p.easing=x);const b={delay:r,duration:s,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:o+1,direction:u==="reverse"?"alternate":"normal"};return h&&(b.pseudoElement=h),e.animate(p,b)}function ok(e){return typeof e=="function"&&"applyToOptions"in e}function m_({type:e,...t}){return ok(e)&&sk()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class uk extends qg{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:i,name:r,keyframes:s,pseudoElement:o,allowFlatten:u=!1,finalKeyframe:d,onComplete:f}=t;this.isPseudoElement=!!o,this.allowFlatten=u,this.options=t,Lg(typeof t.type!="string");const h=m_(t);this.animation=h_(i,r,s,h,o),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const p=Pd(s,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(p),ak(i,r,p),this.animation.cancel()}f==null||f(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,i;(i=(t=this.animation).finish)==null||i.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var i,r,s;const t=(i=this.options)==null?void 0:i.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}get duration(){var i,r;const t=((r=(i=this.animation.effect)==null?void 0:i.getComputedTiming)==null?void 0:r.call(i).duration)||0;return ci(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ci(t)}get time(){return ci(Number(this.animation.currentTime)||0)}set time(t){const i=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Gn(t),i&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:i,rangeEnd:r,observe:s}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&f_()?(this.animation.timeline=t,i&&(this.animation.rangeStart=i),r&&(this.animation.rangeEnd=r),fi):s(this)}}const ck={anticipate:U2,backInOut:B2,circInOut:V2};function p_(e){return e in ck}function g_(e){typeof e.ease=="string"&&p_(e.ease)&&(e.ease=ck[e.ease])}const Sm=10;class y_ extends uk{constructor(t){g_(t),tk(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:i,onUpdate:r,onComplete:s,element:o,...u}=this.options;if(!i)return;if(t!==void 0){i.set(t);return}const d=new dd({...u,autoplay:!1}),f=Math.max(Sm,kn.now()-this.startTime),h=Zi(0,Sm,f-Sm),p=d.sample(f).value,{name:x}=this.options;o&&x&&ak(o,x,p),i.setWithVelocity(d.sample(Math.max(0,f-h)).value,p,h),d.stop()}}const h1=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Mi.test(e)||e==="0")&&!e.startsWith("url("));function x_(e){const t=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}function b_(e,t,i,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],u=h1(s,t),d=h1(o,t);return!u||!d?!1:x_(e)||(i==="spring"||ok(i))&&r}function Rp(e){e.duration=0,e.type="keyframes"}const dk=new Set(["opacity","clipPath","filter","transform"]),v_=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function w_(e){for(let t=0;t<e.length;
234t++)if(typeof e[t]=="string"&&v_.test(e[t]))return!0;return!1}const S_=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),k_=_2(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function T_(e){var x;const{motionValue:t,name:i,repeatDelay:r,repeatType:s,damping:o,type:u,keyframes:d}=e;if(!(((x=t==null?void 0:t.owner)==null?void 0:x.current)instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:p}=t.owner.getProps();return k_()&&i&&(dk.has(i)||S_.has(i)&&w_(d))&&(i!=="transform"||!p)&&!h&&!r&&s!=="mirror"&&o!==0&&u!=="inertia"}const C_=40;class A_ extends qg{constructor({autoplay:t=!0,delay:i=0,type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:u="loop",keyframes:d,name:f,motionValue:h,element:p,...x}){var S;super(),this.stop=()=>{var T,C;this._animation&&(this._animation.stop(),(T=this.stopTimeline)==null||T.call(this)),(C=this.keyframeResolver)==null||C.cancel()},this.createdAt=kn.now();const b={autoplay:t,delay:i,type:r,repeat:s,repeatDelay:o,repeatType:u,name:f,motionValue:h,element:p,...x},v=(p==null?void 0:p.KeyframeResolver)||Kg;this.keyframeResolver=new v(d,(T,C,A)=>this.onKeyframesResolved(T,C,b,!A),f,h,p),(S=this.keyframeResolver)==null||S.scheduleResolve()}onKeyframesResolved(t,i,r,s){var A,N;this.keyframeResolver=void 0;const{name:o,type:u,velocity:d,delay:f,isHandoff:h,onUpdate:p}=r;this.resolvedAt=kn.now();let x=!0;b_(t,o,u,d)||(x=!1,(vr.instantAnimations||!f)&&(p==null||p(Pd(t,r,i))),t[0]=t[t.length-1],Rp(r),r.repeat=0);const v={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>C_?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...r,keyframes:t},S=x&&!h&&T_(v),T=(N=(A=v.motionValue)==null?void 0:A.owner)==null?void 0:N.current;let C;if(S)try{C=new y_({...v,element:T})}catch{C=new dd(v)}else C=new dd(v);C.finished.then(()=>{this.notifyFinished()}).catch(fi),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(t,i){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),u_()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function fk(e,t,i,r=0,s=1){const o=Array.from(e).sort((h,p)=>h.sortNodePosition(p)).indexOf(t),u=e.size,d=(u-1)*r;return typeof i=="function"?i(o,u):s===1?o*r:d-o*r}const E_=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function j_(e){const t=E_.exec(e);if(!t)return[,];const[,i,r,s]=t;return[`--${i??r}`,s]}function hk(e,t,i=1){const[r,s]=j_(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const u=o.trim();return N2(u)?parseFloat(u):u}return Ug(s)?hk(s,t,i+1):s}const N_={type:"spring",stiffness:500,damping:25,restSpeed:10},R_=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),M_={type:"keyframes",duration:.8},__={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},D_=(e,{keyframes:t})=>t.length>2?M_:bl.has(e)?e.startsWith("scale")?R_(t[1]):N_:__;function mk(e,t){if(e!=null&&e.inherit&&t){const{inherit:i,...r}=e;return{...t,...r}}return e}function Gg(e,t){const i=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return i!==e?mk(i,e):i}const z_=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function L_(e){for(const t in e)if(!z_.has(t))return!0;return!1}const Yg=(e,t,i,r={},s,o)=>u=>{const d=Gg(r,e)||{},f=d.delay||r.delay||0;
vendor: 51,534 bytes, line 234
234let{elapsed:h=0}=r;h=h-Gn(f);const p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-h,onUpdate:b=>{t.set(b),d.onUpdate&&d.onUpdate(b)},onComplete:()=>{u(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:o?void 0:s};L_(d)||Object.assign(p,D_(e,p)),p.duration&&(p.duration=Gn(p.duration)),p.repeatDelay&&(p.repeatDelay=Gn(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let x=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(Rp(p),p.delay===0&&(x=!0)),(vr.instantAnimations||vr.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(x=!0,Rp(p),p.delay=0),p.allowFlatten=!d.type&&!d.ease,x&&!o&&t.get()!==void 0){const b=Pd(p.keyframes,d);if(b!==void 0){wt.update(()=>{p.onUpdate(b),p.onComplete()});return}}return d.isSync?new dd(p):new A_(p)};function m1(e){const t=[{},{}];return e==null||e.values.forEach((i,r)=>{t[0][r]=i.get(),t[1][r]=i.getVelocity()}),t}function Zg(e,t,i,r){if(typeof t=="function"){const[s,o]=m1(r);t=t(i!==void 0?i:e.custom,s,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,o]=m1(r);t=t(i!==void 0?i:e.custom,s,o)}return t}function is(e,t,i){const r=e.getProps();return Zg(r,t,i!==void 0?i:r.custom,e)}const pk=new Set(["width","height","top","left","right","bottom",...xl]),p1=30,O_=e=>!isNaN(parseFloat(e));class P_{constructor(t,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var o;const s=kn.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=i.owner}setCurrent(t){this.current=t,this.updatedAt=kn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=O_(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new Og);const r=this.events[t].add(i);return t==="change"?()=>{r(),wt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,i){this.passiveEffect=t,this.stopPassiveEffect=i}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,i,r){this.set(i),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,i=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=kn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>p1)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,p1);return D2(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(t){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=t(i),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(){var t,i;(t=this.dependents)==null||t.clear(),(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ol(e,t){return new P_(e,t)}const Mp=e=>Array.isArray(e);function B_(e,t,i){e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,ol(i))}function U_(e){return Mp(e)?e[e.length-1]||0:e}function H_(e,t){const i=is(e,t);let{transitionEnd:r={},transition:s={},...o}=i||{};o={...o,...r};for(const u in o){const d=U_(o[u]);B_(e,u,d)}}const dn=e=>!!(e&&e.getVelocity);function V_(e){return!!(dn(e)&&e.add)}function _p(e,t){const i=e.getValue("willChange");if(V_(i))return i.add(t);if(!i&&vr.WillChange){const r=new vr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function $g(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const I_="framerAppearId",gk="data-"+$g(I_);function yk(e){return e.props[gk]}function F_({protectedKeys:e,needsAnimating:t},i){const r=e.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,r}function xk(e,t,{delay:i=0,transitionOverride:r,type:s}={}){let{transition:o,transitionEnd:u,...d}=t;const f=e.getDefaultTransition();o=o?mk(o,f):f;const h=o==null?void 0:o.reduceMotion;r&&(o=r);const p=[],x=s&&e.animationState&&e.animationState.getState()[s];for(const b in d){const v=e.getValue(b,e.latestValues[b]??null),S=d[b];if(S===void 0||x&&F_(x,b))continue;const T={delay:i,...Gg(o||{},b)},C=v.get();if(C!==void 0&&!v.isAnimating()&&!Array.isArray(S)&&S===C&&!T.velocity){wt.update(()=>v.set(S));continue}let A=!1;if(window.MotionHandoffAnimation){const K=yk(e);if(K){const G=window.MotionHandoffAnimation(K,b,wt);G!==null&&(T.startTime=G,A=!0)}}_p(e,b);const N=h??e.shouldReduceMotion;v.start(Yg(b,v,S,N&&pk.has(b)?{type:!1}:T,e,A));const M=v.animation;M&&p.push(M)}if(u){const b=()=>wt.update(()=>{u&&H_(e,u)});p.length?Promise.all(p).then(b):b()}return p}function Dp(e,t,i={}){var f;const r=is(e,t,i.type==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);const o=r?()=>Promise.all(xk(e,r,i)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:p=0,staggerChildren:x,staggerDirection:b}=s;return q_(e,t,h,p,x,b,i)}:()=>Promise.resolve(),{when:d}=s;if(d){const[h,p]=d==="beforeChildren"?[o,u]:[u,o];return h().then(()=>p())}else return Promise.all([o(),u(i.delay)])}function q_(e,t,i=0,r=0,s=0,o=1,u){const d=[];for(const f of e.variantChildren)f.notify("AnimationStart",t),d.push(Dp(f,t,{...u,delay:i+(typeof r=="function"?0:r)+fk(e.variantChildren,f,r,s,o)}).then(()=>f.notify("AnimationComplete",t)));return Promise.all(d)}function K_(e,t,i={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(o=>Dp(e,o,i));r=Promise.all(s)}else if(typeof t=="string")r=Dp(e,t,i);else{const s=typeof t=="function"?is(e,t,i.custom):t;r=Promise.all(xk(e,s,i))}return r.then(()=>{e.notify("AnimationComplete",t)})}const G_={test:e=>e==="auto",parse:e=>e},bk=e=>t=>t.test(e),vk=[yl,we,Ki,fr,x4,y4,G_],g1=e=>vk.find(bk(e));function Y_(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||M2(e):!0}const Z_=new Set(["brightness","contrast","saturate","opacity"]);function $_(e){const[t,i]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=i.match(Hg)||[];if(!r)return e;const s=i.replace(r,"");let o=Z_.has(t)?1:0;return r!==i&&(o*=100),t+"("+o+s+")"}const X_=/\b([a-z-]*)\(.*?\)/gu,zp={...Mi,getAnimatableNone:e=>{const t=e.match(X_);return t?t.map($_).join(" "):e}},Lp={...Mi,getAnimatableNone:e=>{const t=Mi.parse(e);return Mi.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},y1={...yl,transform:Math.round},J_={rotate:fr,rotateX:fr,rotateY:fr,rotateZ:fr,scale:jc,scaleX:jc,scaleY:jc,scaleZ:jc,skew:fr,skewX:fr,skewY:fr,distance:we,translateX:we,translateY:we,translateZ:we,x:we,y:we,z:we,perspective:we,transformPerspective:we,opacity:Ko,originX:i1,originY:i1,originZ:we},Xg={borderWidth:we,borderTopWidth:we,borderRightWidth:we,borderBottomWidth:we,borderLeftWidth:we,borderRadius:we,borderTopLeftRadius:we,borderTopRightRadius:we,borderBottomRightRadius:we,borderBottomLeftRadius:we,width:we,maxWidth:we,height:we,maxHeight:we,top:we,right:we,bottom:we,left:we,inset:we,insetBlock:we,insetBlockStart:we,insetBlockEnd:we,insetInline:we,insetInlineStart:we,insetInlineEnd:we,padding:we,paddingTop:we,paddingRight:we,paddingBottom:we,paddingLeft:we,paddingBlock:we,paddingBlockStart:we,paddingBlockEnd:we,paddingInline:we,paddingInlineStart:we,paddingInlineEnd:we,margin:we,marginTop:we,marginRight:we,marginBottom:we,marginLeft:we,marginBlock:we,marginBlockStart:we,marginBlockEnd:we,marginInline:we,marginInlineStart:we,marginInlineEnd:we,fontSize:we,backgroundPositionX:we,backgroundPositionY:we,...J_,zIndex:y1,fillOpacity:Ko,strokeOpacity:Ko,numOctaves:y1},W_={...Xg,color:Yt,backgroundColor:Yt,outlineColor:Yt,fill:Yt,stroke:Yt,borderColor:Yt,borderTopColor:Yt,borderRightColor:Yt,borderBottomColor:Yt,borderLeftColor:Yt,filter:zp,WebkitFilter:zp,mask:Lp,WebkitMask:Lp},wk=e=>W_[e],Q_=new Set([zp,Lp]);function Sk(e,t){let i=wk(e);return Q_.has(i)||(i=Mi),i.getAnimatableNone?i.getAnimatableNone(t):void 0}const e3=new Set(["auto","none","0"]);function t3(e,t,i){let r=0,s;for(;r<e.length&&!s;){const o=e[r];typeof o=="string"&&!e3.has(o)&&ll(o).values.length&&(s=e[r]),r++}if(s&&i)for(const o of t)e[o]=Sk(i,s)}class n3 extends Kg{constructor(t,i,r,s,o){super(t,i,r,s,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:i,name:r}=this;if(!i||!i.current)return;super.readKeyframes();for(let p=0;p<t.length;p++){let x=t[p];if(typeof x=="string"&&(x=x.trim(),Ug(x))){const b=hk(x,i.current);b!==void 0&&(t[p]=b),p===t.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!pk.has(r)||t.length!==2)return;const[s,o]=t,u=g1(s),d=g1(o),f=n1(s),h=n1(o);if(f!==h&&yr[r]){this.needsMeasurement=!0;return}if(u!==d)if(d1(u)&&d1(d))for(let p=0;p<t.length;p++){const x=t[p];typeof x=="string"&&(t[p]=parseFloat(x))}else yr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:i}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||Y_(t[s]))&&r.push(s);r.length&&t3(t,r,i)}measureInitialState(){const{element:t,unresolvedKeyframes:i,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=yr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),i[0]=this.measuredOrigin;const s=i[i.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var d;const{element:t,name:i,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(i);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,u=r[o];r[o]=yr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),(d=this.removedTransforms)!=null&&d.length&&this.removedTransforms.forEach(([f,h])=>{t.getValue(f).set(h)}),this.resolveNoneKeyframes()}}function kk(e,t,i){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const s=(i==null?void 0:i[e])??r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const Tk=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function i3(e){return R2(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Jg}=q2(queueMicrotask,!1),Ri={x:!1,y:!1};function Ck(){return Ri.x||Ri.y}function a3(e){return e==="x"||e==="y"?Ri[e]?null:(Ri[e]=!0,()=>{Ri[e]=!1}):Ri.x||Ri.y?null:(Ri.x=Ri.y=!0,()=>{Ri.x=Ri.y=!1})}function Ak(e,t){const i=kk(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[i,s,()=>r.abort()]}function r3(e){return!(e.pointerType==="touch"||Ck())}function s3(e,t,i={}){const[r,s,o]=Ak(e,i);return r.forEach(u=>{let d=!1,f=!1,h;const p=()=>{u.removeEventListener("pointerleave",S)},x=C=>{h&&(h(C),h=void 0),p()},b=C=>{d=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),f&&(f=!1,x(C))},v=()=>{d=!0,window.addEventListener("pointerup",b,s),window.addEventListener("pointercancel",b,s)},S=C=>{if(C.pointerType!=="touch"){if(d){f=!0;return}x(C)}},T=C=>{if(!r3(C))return;f=!1;const A=t(u,C);typeof A=="function"&&(h=A,u.addEventListener("pointerleave",S,s))};u.addEventListener("pointerenter",T,s),u.addEventListener("pointerdown",v,s)}),o}const Ek=(e,t)=>t?e===t?!0:Ek(e,t.parentElement):!1,Wg=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,l3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function o3(e){return l3.has(e.tagName)||e.isContentEditable===!0}const u3=new Set(["INPUT","SELECT","TEXTAREA"]);function c3(e){return u3.has(e.tagName)||e.isContentEditable===!0}const Ic=new WeakSet;function x1(e){return t=>{t.key==="Enter"&&e(t)}}function km(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const d3=(e,t)=>{const i=e.currentTarget;if(!i)return;const r=x1(()=>{if(Ic.has(i))return;km(i,"down");const s=x1(()=>{km(i,"up")}),o=()=>km(i,"cancel");i.addEventListener("keyup",s,t),i.addEventListener("blur",o,t)});i.addEventListener("keydown",r,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),t)};function b1(e){return Wg(e)&&!Ck()}const v1=new WeakSet;function f3(e,t,i={}){const[r,s,o]=Ak(e,i),u=d=>{const f=d.currentTarget;if(!b1(d)||v1.has(d))return;Ic.add(f),i.stopPropagation&&v1.add(d);const h=t(f,d),p=(v,S)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",b),Ic.has(f)&&Ic.delete(f),b1(v)&&typeof h=="function"&&h(v,{success:S})},x=v=>{p(v,f===window||f===document||i.useGlobalTarget||Ek(f,v.target))},b=v=>{p(v,!1)};window.addEventListener("pointerup",x,s),window.addEventListener("pointercancel",b,s)};return r.forEach(d=>{(i.useGlobalTarget?window:d).addEventListener("pointerdown",u,s),i3(d)&&(d.addEventListener("focus",h=>d3(h,s)),!o3(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),o}function Qg(e){return R2(e)&&"ownerSVGElement"in e}const Fc=new WeakMap;let hr;const jk=(e,t,i)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:Qg(r)&&"getBBox"in r?r.getBBox()[t]:r[i],h3=jk("inline","width","offsetWidth"),m3=jk("block","height","offsetHeight");function p3({target:e,borderBoxSize:t}){var i;(i=Fc.get(e))==null||i.forEach(r=>{r(e,{get width(){return h3(e,t)},get height(){return m3(e,t)}})})}function g3(e){e.forEach(p3)}function y3(){typeof ResizeObserver>"u"||(hr=new ResizeObserver(g3))}function x3(e,t){hr||y3();const i=kk(e);return i.forEach(r=>{let s=Fc.get(r);s||(s=new Set,Fc.set(r,s)),s.add(t),hr==null||hr.observe(r)}),()=>{i.forEach(r=>{const s=Fc.get(r);s==null||s.delete(t),s!=null&&s.size||hr==null||hr.unobserve(r)})}}const qc=new Set;let el;function b3(){el=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};qc.forEach(t=>t(e))},window.addEventListener("resize",el)}function v3(e){return qc.add(e),el||b3(),()=>{qc.delete(e),!qc.size&&typeof el=="function"&&(window.removeEventListener("resize",el),el=void 0)}}function w1(e,t){return typeof e=="function"?v3(e):x3(e,t)}function w3(e){return Qg(e)&&e.tagName==="svg"}const S3=[...vk,Yt,Mi],k3=e=>S3.find(bk(e)),S1=()=>({translate:0,scale:1,origin:0,originPoint:0}),tl=()=>({x:S1(),y:S1()}),k1=()=>({min:0,max:0}),Qt=()=>({x:k1(),y:k1()}),T3=new WeakMap;function Bd(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Go(e){return typeof e=="string"||Array.isArray(e)}const ey=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ty=["initial",...ey];function Ud(e){return Bd(e.animate)||ty.some(t=>Go(e[t]))}function Nk(e){return!!(Ud(e)||e.variants)}function C3(e,t,i){for(const r in t){const s=t[r],o=i[r];if(dn(s))e.addValue(r,s);else if(dn(o))e.addValue(r,ol(s,{owner:e}));else if(o!==s)if(e.hasValue(r)){const u=e.getValue(r);u.liveStyle===!0?u.jump(s):u.hasAnimated||u.set(s)}else{const u=e.getStaticValue(r);e.addValue(r,ol(u!==void 0?u:s,{owner:e}))}}for(const r in i)t[r]===void 0&&e.removeValue(r);return t}const Op={current:null},Rk={current:!1},A3=typeof window<"u";function E3(){if(Rk.current=!0,!!A3)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Op.current=e.matches;e.addEventListener("change",t),t()}else Op.current=!1}const T1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let fd={};function Mk(e){fd=e}function j3(){return fd}class N3{scrapeMotionValuesFromProps(t,i,r){return{}}constructor({parent:t,props:i,presenceContext:r,reducedMotionConfig:s,skipAnimations:o,blockInitialAnimation:u,visualState:d},f={}){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=Kg,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const v=kn.now();this.renderScheduledAt<v&&(this.renderScheduledAt=v,wt.render(this.render,!1,!0))};const{latestValues:h,renderState:p}=d;this.latestValues=h,this.baseTarget={...h},this.initialValues=i.initial?{...h}:{},this.renderState=p,this.parent=t,this.props=i,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=o,this.options=f,this.blockInitialAnimation=!!u,this.isControllingVariants=Ud(i),this.isVariantNode=Nk(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:x,...b}=this.scrapeMotionValuesFromProps(i,{},this);for(const v in b){const S=b[v];h[v]!==void 0&&dn(S)&&S.set(h[v])}}mount(t){var i,r;if(this.hasBeenMounted)for(const s in this.initialValues)(i=this.values.get(s))==null||i.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,T3.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,o)=>this.bindToMotionValue(o,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Rk.current||E3(),this.shouldReduceMotion=Op.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),wr(this.notifyUpdate),wr(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const r=this.features[i];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,i){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),i.accelerate&&dk.has(t)&&this.current instanceof HTMLElement){const{factory:u,keyframes:d,times:f,ease:h,duration:p}=i.accelerate,x=new uk({element:this.current,name:t,keyframes:d,times:f,ease:h,duration:Gn(p)}),b=u(x);this.valueSubscriptions.set(t,()=>{b(),x.cancel()});return}const r=bl.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=i.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&wt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{s(),o&&o(),i.owner&&i.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in fd){const i=fd[t];if(!i)continue;const{isEnabled:r,Feature:s}=i;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Qt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,i){this.latestValues[t]=i}update(t,i){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let r=0;r<T1.length;r++){const s=T1[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,u=t[o];u&&(this.propEventSubscriptions[s]=this.on(s,u))}this.prevMotionValues=C3(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(t),()=>i.variantChildren.delete(t)}addValue(t,i){const r=this.values.get(t);i!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,i),this.values.set(t,i),this.latestValues[t]=i.get())}removeValue(t){this.values.delete(t);const i=this.valueSubscriptions.get(t);i&&(i(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,i){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&i!==void 0&&(r=ol(i===null?void 0:i,{owner:this}),this.addValue(t,r)),r}readValue(t,i){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(N2(r)||M2(r))?r=parseFloat(r):!k3(r)&&Mi.test(i)&&(r=Sk(t,i)),this.setBaseTarget(t,dn(r)?r.get():r)),dn(r)?r.get():r}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){var o;const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const u=Zg(this.props,i,(o=this.presenceContext)==null?void 0:o.custom);u&&(r=u[t])}if(i&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!dn(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,i){return this.events[t]||(this.events[t]=new Og),this.events[t].add(i)}notify(t,...i){this.events[t]&&this.events[t].notify(...i)}scheduleRenderMicrotask(){Jg.render(this.render)}}class _k extends N3{constructor(){super(...arguments),this.KeyframeResolver=n3}sortInstanceNodePosition(t,i){return t.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(t,i){const r=t.style;return r?r[i]:void 0}removeValueFromRenderState(t,{vars:i,style:r}){delete i[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;dn(t)&&(this.childSubscription=t.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class Tr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Dk({top:e,left:t,right:i,bottom:r}){return{x:{min:t,max:i},y:{min:e,max:r}}}function R3({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function M3(e,t){if(!t)return e;const i=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}function Tm(e){return e===void 0||e===1}function Pp({scale:e,scaleX:t,scaleY:i}){return!Tm(e)||!Tm(t)||!Tm(i)}function Xr(e){return Pp(e)||zk(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function zk(e){return C1(e.x)||C1(e.y)}function C1(e){return e&&e!=="0%"}function hd(e,t,i){const r=e-i,s=t*r;return i+s}function A1(e,t,i,r,s){return s!==void 0&&(e=hd(e,s,r)),hd(e,i,r)+t}function Bp(e,t=0,i=1,r,s){e.min=A1(e.min,t,i,r,s),e.max=A1(e.max,t,i,r,s)}function Lk(e,{x:t,y:i}){Bp(e.x,t.translate,t.scale,t.originPoint),Bp(e.y,i.translate,i.scale,i.originPoint)}const E1=.999999999999,j1=1.0000000000001;function _3(e,t,i,r=!1){var d;const s=i.length;if(!s)return;t.x=t.y=1;let o,u;for(let f=0;f<s;f++){o=i[f],u=o.projectionDelta;const{visualElement:h}=o.options;h&&h.props.style&&h.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(qi(e.x,-o.scroll.offset.x),qi(e.y,-o.scroll.offset.y)),u&&(t.x*=u.x.scale,t.y*=u.y.scale,Lk(e,u)),r&&Xr(o.latestValues)&&Kc(e,o.latestValues,(d=o.layout)==null?void 0:d.layoutBox))}t.x<j1&&t.x>E1&&(t.x=1),t.y<j1&&t.y>E1&&(t.y=1)}function qi(e,t){e.min+=t,e.max+=t}function N1(e,t,i,r,s=.5){const o=Nt(e.min,e.max,s);Bp(e,t,i,o,r)}function R1(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Kc(e,t,i){const r=i??e;N1(e.x,R1(t.x,r.x),t.scaleX,t.scale,t.originX),N1(e.y,R1(t.y,r.y),t.scaleY,t.scale,t.originY)}function Ok(e,t){return Dk(M3(e.getBoundingClientRect(),t))}function D3(e,t,i){const r=Ok(e,i),{scroll:s}=t;return s&&(qi(r.x,s.offset.x),qi(r.y,s.offset.y)),r}const z3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},L3=xl.length;function O3(e,t,i){let r="",s=!0;for(let o=0;o<L3;o++){const u=xl[o],d=e[u];if(d===void 0)continue;let f=!0;if(typeof d=="number")f=d===(u.startsWith("scale")?1:0);else{const h=parseFloat(d);f=u.startsWith("scale")?h===1:h===0}if(!f||i){const h=Tk(d,Xg[u]);if(!f){s=!1;const p=z3[u]||u;r+=`${p}(${h}) `}i&&(t[u]=h)}}return r=r.trim(),i?r=i(t,s?"":r):s&&(r="none"),r}function ny(e,t,i){const{style:r,vars:s,transformOrigin:o}=e;let u=!1,d=!1;for(const f in t){const h=t[f];if(bl.has(f)){u=!0;continue}else if(G2(f)){s[f]=h;continue}else{const p=Tk(h,Xg[f]);f.startsWith("origin")?(d=!0,o[f]=p):r[f]=p}}if(t.transform||(u||i?r.transform=O3(t,e.transform,i):r.transform&&(r.transform="none")),d){const{originX:f="50%",originY:h="50%",originZ:p=0}=o;r.transformOrigin=`${f} ${h} ${p}`}}function Pk(e,{style:t,vars:i},r,s){const o=e.style;let u;for(u in t)o[u]=t[u];s==null||s.applyProjectionStyles(o,r);for(u in i)o.setProperty(u,i[u])}function M1(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const wo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(we.test(e))e=parseFloat(e);else return e;const i=M1(e,t.target.x),r=M1(e,t.target.y);return`${i}% ${r}%`}},P3={correct:(e,{treeScale:t,projectionDelta:i})=>{const r=e,s=Mi.parse(e);if(s.length>5)return r;const o=Mi.createTransformer(e),u=typeof s[0]!="number"?1:0,d=i.x.scale*t.x,f=i.y.scale*t.y;s[0+u]/=d,s[1+u]/=f;const h=Nt(d,f,.5);return typeof s[2+u]=="number"&&(s[2+u]/=h),typeof s[3+u]=="number"&&(s[3+u]/=h),o(s)}},Up={borderRadius:{...wo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:wo,borderTopRightRadius:wo,borderBottomLeftRadius:wo,borderBottomRightRadius:wo,boxShadow:P3};function Bk(e,{layout:t,layoutId:i}){return bl.has(e)||e.startsWith("origin")||(t||i!==void 0)&&(!!Up[e]||e==="opacity")}function iy(e,t,i){var u;const r=e.style,s=t==null?void 0:t.style,o={};if(!r)return o;for(const d in r)(dn(r[d])||s&&dn(s[d])||Bk(d,e)||((u=i==null?void 0:i.getValue(d))==null?void 0:u.liveStyle)!==void 0)&&(o[d]=r[d]);return o}function B3(e){return window.getComputedStyle(e)}class U3 extends _k{constructor(){super(...arguments),this.type="html",this.renderInstance=Pk}readValueFromInstance(t,i){var r;if(bl.has(i))return(r=this.projection)!=null&&r.isProjecting?Cp(i):a_(t,i);{const s=B3(t),o=(G2(i)?s.getPropertyValue(i):s[i])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:i}){return Ok(t,i)}build(t,i,r){ny(t,i,r.transformTemplate)}scrapeMotionValuesFromProps(t,i,r){return iy(t,i,r)}}const H3={offset:"stroke-dashoffset",array:"stroke-dasharray"},V3={offset:"strokeDashoffset",array:"strokeDasharray"};function I3(e,t,i=1,r=0,s=!0){e.pathLength=1;const o=s?H3:V3;e[o.offset]=`${-r}`,e[o.array]=`${t} ${i}`}const F3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Uk(e,{attrX:t,attrY:i,attrScale:r,pathLength:s,pathSpacing:o=1,pathOffset:u=0,...d},f,h,p){if(ny(e,d,h),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:x,style:b}=e;x.transform&&(b.transform=x.transform,delete x.transform),(b.transform||x.transformOrigin)&&(b.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),b.transform&&(b.transformBox=(p==null?void 0:p.transformBox)??"fill-box",delete x.transformBox);for(const v of F3)x[v]!==void 0&&(b[v]=x[v],delete x[v]);t!==void 0&&(x.x=t),i!==void 0&&(x.y=i),r!==void 0&&(x.scale=r),s!==void 0&&I3(x,s,o,u,!1)}const Hk=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"]),Vk=e=>typeof e=="string"&&e.toLowerCase()==="svg";function q3(e,t,i,r){Pk(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(Hk.has(s)?s:$g(s),t.attrs[s])}function Ik(e,t,i){const r=iy(e,t,i);for(const s in e)if(dn(e[s])||dn(t[s])){const o=xl.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[o]=e[s]}return r}class K3 extends _k{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Qt}getBaseTargetFromProps(t,i){return t[i]}readValueFromInstance(t,i){if(bl.has(i)){const r=wk(i);return r&&r.default||0}return i=Hk.has(i)?i:$g(i),t.getAttribute(i)}scrapeMotionValuesFromProps(t,i,r){return Ik(t,i,r)}build(t,i,r){Uk(t,i,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,i,r,s){q3(t,i,r,s)}mount(t){this.isSVGTag=Vk(t.tagName),super.mount(t)}}const G3=ty.length;function Fk(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?Fk(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const t={};for(let i=0;i<G3;i++){const r=ty[i],s=e.props[r];(Go(s)||s===!1)&&(t[r]=s)}return t}function qk(e,t){if(!Array.isArray(t))return!1;const i=t.length;if(i!==e.length)return!1;for(let r=0;r<i;r++)if(t[r]!==e[r])return!1;return!0}const Y3=[...ey].reverse(),Z3=ey.length;function $3(e){return t=>Promise.all(t.map(({animation:i,options:r})=>K_(e,i,r)))}function X3(e){let t=$3(e),i=_1(),r=!0,s=!1;const o=h=>(p,x)=>{var v;const b=is(e,x,h==="exit"?(v=e.presenceContext)==null?void 0:v.custom:void 0);if(b){const{transition:S,transitionEnd:T,...C}=b;p={...p,...C,...T}}return p};function u(h){t=h(e)}function d(h){const{props:p}=e,x=Fk(e.parent)||{},b=[],v=new Set;let S={},T=1/0;for(let A=0;A<Z3;A++){const N=Y3[A],M=i[N],K=p[N]!==void 0?p[N]:x[N],G=Go(K),U=N===h?M.isActive:null;U===!1&&(T=A);let ee=K===x[N]&&K!==p[N]&&G;if(ee&&(r||s)&&e.manuallyAnimateOnMount&&(ee=!1),M.protectedKeys={...S},!M.isActive&&U===null||!K&&!M.prevProp||Bd(K)||typeof K=="boolean")continue;if(N==="exit"&&M.isActive&&U!==!0){M.prevResolvedValues&&(S={...S,...M.prevResolvedValues});continue}const L=J3(M.prevProp,K);let se=L||N===h&&M.isActive&&!ee&&G||A>T&&G,z=!1;const te=Array.isArray(K)?K:[K];let Z=te.reduce(o(N),{});U===!1&&(Z={});const{prevResolvedValues:pe={}}=M,oe={...pe,...Z},ne=re=>{se=!0,v.has(re)&&(z=!0,v.delete(re)),M.needsAnimating[re]=!0;const de=e.getValue(re);de&&(de.liveStyle=!1)};for(const re in oe){const de=Z[re],E=pe[re];if(S.hasOwnProperty(re))continue;let ve=!1;Mp(de)&&Mp(E)?ve=!qk(de,E):ve=de!==E,ve?de!=null?ne(re):v.add(re):de!==void 0&&v.has(re)?ne(re):M.protectedKeys[re]=!0}M.prevProp=K,M.prevResolvedValues=Z,M.isActive&&(S={...S,...Z}),(r||s)&&e.blockInitialAnimation&&(se=!1);const H=ee&&L;se&&(!H||z)&&b.push(...te.map(re=>{const de={type:N};if(typeof re=="string"&&(r||s)&&!H&&e.manuallyAnimateOnMount&&e.parent){const{parent:E}=e,ve=is(E,re);if(E.enteringChildren&&ve){const{delayChildren:Me}=ve.transition||{};de.delay=fk(E.enteringChildren,e,Me)}}return{animation:re,options:de}}))}if(v.size){const A={};if(typeof p.initial!="boolean"){const N=is(e,Array.isArray(p.initial)?p.initial[0]:p.initial);N&&N.transition&&(A.transition=N.transition)}v.forEach(N=>{const M=e.getBaseTarget(N),K=e.getValue(N);K&&(K.liveStyle=!0),A[N]=M??null}),b.push({animation:A})}let C=!!b.length;return r&&(p.initial===!1||p.initial===p.animate)&&!e.manuallyAnimateOnMount&&(C=!1),r=!1,s=!1,C?t(b):Promise.resolve()}function f(h,p){var b;if(i[h].isActive===p)return Promise.resolve();(b=e.variantChildren)==null||b.forEach(v=>{var S;return(S=v.animationState)==null?void 0:S.setActive(h,p)}),i[h].isActive=p;const x=d(h);for(const v in i)i[v].protectedKeys={};return x}return{animateChanges:d,setActive:f,setAnimateFunction:u,getState:()=>i,reset:()=>{i=_1(),s=!0}}}function J3(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!qk(t,e):!1}function Zr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function _1(){return{animate:Zr(!0),whileInView:Zr(),whileHover:Zr(),whileTap:Zr(),whileDrag:Zr(),whileFocus:Zr(),exit:Zr()}}function Hp(e,t){e.min=t.min,e.max=t.max}function ji(e,t){Hp(e.x,t.x),Hp(e.y,t.y)}function D1(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Kk=1e-4,W3=1-Kk,Q3=1+Kk,Gk=.01,eD=0-Gk,tD=0+Gk;function Tn(e){return e.max-e.min}function nD(e,t,i){return Math.abs(e-t)<=i}function z1(e,t,i,r=.5){e.origin=r,e.originPoint=Nt(t.min,t.max,e.origin),e.scale=Tn(i)/Tn(t),e.translate=Nt(i.min,i.max,e.origin)-e.originPoint,(e.scale>=W3&&e.scale<=Q3||isNaN(e.scale))&&(e.scale=1),(e.translate>=eD&&e.translate<=tD||isNaN(e.translate))&&(e.translate=0)}function Lo(e,t,i,r){z1(e.x,t.x,i.x,r?r.originX:void 0),z1(e.y,t.y,i.y,r?r.originY:void 0)}function L1(e,t,i,r=0){const s=r?Nt(i.min,i.max,r):i.min;e.min=s+t.min,e.max=e.min+Tn(t)}function iD(e,t,i,r){L1(e.x,t.x,i.x,r==null?void 0:r.x),L1(e.y,t.y,i.y,r==null?void 0:r.y)}function O1(e,t,i,r=0){const s=r?Nt(i.min,i.max,r):i.min;e.min=t.min-s,e.max=e.min+Tn(t)}function md(e,t,i,r){O1(e.x,t.x,i.x,r==null?void 0:r.x),O1(e.y,t.y,i.y,r==null?void 0:r.y)}function P1(e,t,i,r,s){return e-=t,e=hd(e,1/i,r),s!==void 0&&(e=hd(e,1/s,r)),e}function aD(e,t=0,i=1,r=.5,s,o=e,u=e){if(Ki.test(t)&&(t=parseFloat(t),t=Nt(u.min,u.max,t/100)-u.min),typeof t!="number")return;let d=Nt(o.min,o.max,r);e===o&&(d-=t),e.min=P1(e.min,t,i,d,s),e.max=P1(e.max,t,i,d,s)}function B1(e,t,[i,r,s],o,u){aD(e,t[i],t[r],t[s],t.scale,o,u)}const rD=["x","scaleX","originX"],sD=["y","scaleY","originY"];function U1(e,t,i,r){B1(e.x,t,rD,i?i.x:void 0,r?r.x:void 0),B1(e.y,t,sD,i?i.y:void 0,r?r.y:void 0)}function H1(e){return e.translate===0&&e.scale===1}function Yk(e){return H1(e.x)&&H1(e.y)}function V1(e,t){return e.min===t.min&&e.max===t.max}function lD(e,t){return V1(e.x,t.x)&&V1(e.y,t.y)}function I1(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Zk(e,t){return I1(e.x,t.x)&&I1(e.y,t.y)}function F1(e){return Tn(e.x)/Tn(e.y)}function q1(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Hi(e){return[e("x"),e("y")]}function oD(e,t,i){let r="";const s=e.x.translate/t.x,o=e.y.translate/t.y,u=(i==null?void 0:i.z)||0;if((s||o||u)&&(r=`translate3d(${s}px, ${o}px, ${u}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),i){const{transformPerspective:h,rotate:p,rotateX:x,rotateY:b,skewX:v,skewY:S}=i;h&&(r=`perspective(${h}px) ${r}`),p&&(r+=`rotate(${p}deg) `),x&&(r+=`rotateX(${x}deg) `),b&&(r+=`rotateY(${b}deg) `),v&&(r+=`skewX(${v}deg) `),S&&(r+=`skewY(${S}deg) `)}const d=e.x.scale*t.x,f=e.y.scale*t.y;return(d!==1||f!==1)&&(r+=`scale(${d}, ${f})`),r||"none"}const $k=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],uD=$k.length,K1=e=>typeof e=="string"?parseFloat(e):e,G1=e=>typeof e=="number"||we.test(e);function cD(e,t,i,r,s,o){s?(e.opacity=Nt(0,i.opacity??1,dD(r)),e.opacityExit=Nt(t.opacity??1,0,fD(r))):o&&(e.opacity=Nt(t.opacity??1,i.opacity??1,r));for(let u=0;u<uD;u++){const d=$k[u];let f=Y1(t,d),h=Y1(i,d);if(f===void 0&&h===void 0)continue;f||(f=0),h||(h=0),f===0||h===0||G1(f)===G1(h)?(e[d]=Math.max(Nt(K1(f),K1(h),r),0),(Ki.test(h)||Ki.test(f))&&(e[d]+="%")):e[d]=h}(t.rotate||i.rotate)&&(e.rotate=Nt(t.rotate||0,i.rotate||0,r))}function Y1(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const dD=Xk(0,.5,H2),fD=Xk(.5,.95,fi);function Xk(e,t,i){return r=>r<e?0:r>t?1:i(qo(e,t,r))}function hD(e,t,i){const r=dn(e)?e:ol(e);return r.start(Yg("",r,t,i)),r.animation}function Yo(e,t,i,r={passive:!0}){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i)}const mD=(e,t)=>e.depth-t.depth;class pD{constructor(){this.children=[],this.isDirty=!1}add(t){zg(this.children,t),this.isDirty=!0}remove(t){ld(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(mD),this.isDirty=!1,this.children.forEach(t)}}function gD(e,t){const i=kn.now(),r=({timestamp:s})=>{const o=s-i;o>=t&&(wr(r),e(o-t))};return wt.setup(r,!0),()=>wr(r)}function Gc(e){return dn(e)?e.get():e}class yD{constructor(){this.members=[]}add(t){zg(this.members,t);for(let i=this.members.length-1;i>=0;i--){const r=this.members[i];if(r===t||r===this.lead||r===this.prevLead)continue;const s=r.instance;(!s||s.isConnected===!1)&&!r.snapshot&&(ld(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(ld(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(t){var i;for(let r=this.members.indexOf(t)-1;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1&&((i=s.instance)==null?void 0:i.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,i){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=r.options,{layoutDependency:u}=t.options;(o===void 0||o!==u)&&(t.resumeFrom=r,i&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var i,r,s,o,u;(r=(i=t.options).onExitComplete)==null||r.call(i),(u=(s=t.resumingFrom)==null?void 0:(o=s.options).onExitComplete)==null||u.call(o)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const Yc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Cm=["","X","Y","Z"],xD=1e3;let bD=0;function Am(e,t,i,r){const{latestValues:s}=t;s[e]&&(i[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Jk(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const i=yk(t);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:s,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",wt,!(s||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Jk(r)}function Wk({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(u={},d=t==null?void 0:t()){this.id=bD++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(SD),this.nodes.forEach(jD),this.nodes.forEach(ND),this.nodes.forEach(kD)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new pD)}addEventListener(u,d){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new Og),this.eventHandlers.get(u).add(d)}notifyListeners(u,...d){const f=this.eventHandlers.get(u);f&&f.notify(...d)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=Qg(u)&&!w3(u),this.instance=u;const{layoutId:d,layout:f,visualElement:h}=this.options;if(h&&!h.current&&h.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||d)&&(this.isLayoutDirty=!0),e){let p,x=0;const b=()=>this.root.updateBlockedByResize=!1;wt.read(()=>{x=window.innerWidth}),e(u,()=>{const v=window.innerWidth;v!==x&&(x=v,this.root.updateBlockedByResize=!0,p&&p(),p=gD(b,250),Yc.hasAnimatedSinceResize&&(Yc.hasAnimatedSinceResize=!1,this.nodes.forEach(X1)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&h&&(d||f)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:x,hasRelativeLayoutChanged:b,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||h.getDefaultTransition()||zD,{onLayoutAnimationStart:T,onLayoutAnimationComplete:C}=h.getProps(),A=!this.targetLayout||!Zk(this.targetLayout,v),N=!x&&b;if(this.options.layoutRoot||this.resumeFrom||N||x&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const M={...Gg(S,"layout"),onPlay:T,onComplete:C};(h.shouldReduceMotion||this.options.layoutRoot)&&(M.delay=0,M.type=!1),this.startAnimation(M),this.setAnimationOrigin(p,N)}else x||X1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),wr(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(RD),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Jk(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const x=this.path[p];x.shouldResetTransform=!0,(typeof x.latestValues.x=="string"||typeof x.latestValues.y=="string")&&(x.isLayoutDirty=!0),x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:d,layout:f}=this.options;if(d===void 0&&!f)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const f=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),f&&this.nodes.forEach(CD),this.nodes.forEach(Z1);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach($1);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(AD),this.nodes.forEach(ED),this.nodes.forEach(vD),this.nodes.forEach(wD)):this.nodes.forEach($1),this.clearAllSnapshots();const d=kn.now();un.delta=Zi(0,1e3/60,d-un.timestamp),un.timestamp=d,un.isProcessing=!0,ym.update.process(un),ym.preRender.process(un),ym.render.process(un),un.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Jg.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(TD),this.sharedNodes.forEach(MD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,wt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){wt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Tn(this.snapshot.measuredBox.x)&&!Tn(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 f=0;f<this.path.length;f++)this.path[f].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Qt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(d=!1),d&&this.instance){const f=r(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:f,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!s)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!Yk(this.projectionDelta),f=this.getTransformTemplate(),h=f?f(this.latestValues,""):void 0,p=h!==this.prevTransformTemplateValue;u&&this.instance&&(d||Xr(this.latestValues)||p)&&(s(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const d=this.measurePageBox();let f=this.removeElementScroll(d);return u&&(f=this.removeTransform(f)),LD(f),{animationId:this.root.animationId,measuredBox:d,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var h;const{visualElement:u}=this.options;if(!u)return Qt();const d=u.measureViewportBox();if(!(((h=this.scroll)==null?void 0:h.wasRoot)||this.path.some(OD))){const{scroll:p}=this.root;p&&(qi(d.x,p.offset.x),qi(d.y,p.offset.y))}return d}removeElementScroll(u){var f;const d=Qt();if(ji(d,u),(f=this.scroll)!=null&&f.wasRoot)return d;for(let h=0;h<this.path.length;h++){const p=this.path[h],{scroll:x,options:b}=p;p!==this.root&&x&&b.layoutScroll&&(x.wasRoot&&ji(d,u),qi(d.x,x.offset.x),qi(d.y,x.offset.y))}return d}applyTransform(u,d=!1,f){var p,x;const h=f||Qt();ji(h,u);for(let b=0;b<this.path.length;b++){const v=this.path[b];!d&&v.options.layoutScroll&&v.scroll&&v!==v.root&&(qi(h.x,-v.scroll.offset.x),qi(h.y,-v.scroll.offset.y)),Xr(v.latestValues)&&Kc(h,v.latestValues,(p=v.layout)==null?void 0:p.layoutBox)}return Xr(this.latestValues)&&Kc(h,this.latestValues,(x=this.layout)==null?void 0:x.layoutBox),h}removeTransform(u){var f;const d=Qt();ji(d,u);for(let h=0;h<this.path.length;h++){const p=this.path[h];if(!Xr(p.latestValues))continue;let x;p.instance&&(Pp(p.latestValues)&&p.updateSnapshot(),x=Qt(),ji(x,p.measurePageBox())),U1(d,p.latestValues,(f=p.snapshot)==null?void 0:f.layoutBox,x)}return Xr(this.latestValues)&&U1(d,this.latestValues),d}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.crossfade:!0}}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!==un.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var v;const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==d;if(!(u||f&&this.isSharedProjectionDirty||this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:p,layoutId:x}=this.options;if(!this.layout||!(p||x))return;this.resolvedRelativeTargetAt=un.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Qt(),this.targetWithTransforms=Qt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),iD(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ji(this.target,this.layout.layoutBox),Lk(this.target,this.targetDelta)):ji(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Pp(this.parent.latestValues)||zk(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,d,f){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Qt(),this.relativeTargetOrigin=Qt(),md(this.relativeTargetOrigin,d,f,this.options.layoutAnchor||void 0),ji(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var S;const u=this.getLead(),d=!!this.resumingFrom||this!==u;let f=!0;if((this.isProjectionDirty||(S=this.parent)!=null&&S.isProjectionDirty)&&
vendor: 5,333 bytes, line 234
234(f=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===un.timestamp&&(f=!1),f)return;const{layout:h,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||p))return;ji(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,b=this.treeScale.y;_3(this.layoutCorrected,this.treeScale,this.path,d),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=Qt());const{target:v}=u;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(D1(this.prevProjectionDelta.x,this.projectionDelta.x),D1(this.prevProjectionDelta.y,this.projectionDelta.y)),Lo(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==b||!q1(this.projectionDelta.x,this.prevProjectionDelta.x)||!q1(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){var d;if((d=this.options.visualElement)==null||d.scheduleRender(),u){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=tl(),this.projectionDelta=tl(),this.projectionDeltaWithTransform=tl()}setAnimationOrigin(u,d=!1){const f=this.snapshot,h=f?f.latestValues:{},p={...this.latestValues},x=tl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const b=Qt(),v=f?f.source:void 0,S=this.layout?this.layout.source:void 0,T=v!==S,C=this.getStack(),A=!C||C.members.length<=1,N=!!(T&&!A&&this.options.crossfade===!0&&!this.path.some(DD));this.animationProgress=0;let M;this.mixTargetDelta=K=>{const G=K/1e3;J1(x.x,u.x,G),J1(x.y,u.y,G),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(md(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),_D(this.relativeTarget,this.relativeTargetOrigin,b,G),M&&lD(this.relativeTarget,M)&&(this.isProjectionDirty=!1),M||(M=Qt()),ji(M,this.relativeTarget)),T&&(this.animationValues=p,cD(p,h,this.latestValues,G,N,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=G},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){var d,f,h;this.notifyListeners("animationStart"),(d=this.currentAnimation)==null||d.stop(),(h=(f=this.resumingFrom)==null?void 0:f.currentAnimation)==null||h.stop(),this.pendingAnimation&&(wr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=wt.update(()=>{Yc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ol(0)),this.motionValue.jump(0,!1),this.currentAnimation=hD(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:p=>{this.mixTargetDelta(p),u.onUpdate&&u.onUpdate(p)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(xD),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:d,target:f,layout:h,latestValues:p}=u;if(!(!d||!f||!h)){if(this!==u&&this.layout&&h&&Qk(this.options.animationType,this.layout.layoutBox,h.layoutBox)){f=this.target||Qt();const x=Tn(this.layout.layoutBox.x);f.x.min=u.target.x.min,f.x.max=f.x.min+x;const b=Tn(this.layout.layoutBox.y);f.y.min=u.target.y.min,f.y.max=f.y.min+b}ji(d,f),Kc(d,p),Lo(this.projectionDeltaWithTransform,this.layoutCorrected,d,p)}}registerSharedNode(u,d){this.sharedNodes.has(u)||this.sharedNodes.set(u,new yD),this.sharedNodes.get(u).add(d);const h=d.options.initialPromotionConfig;d.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(d):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var d;const{layoutId:u}=this.options;return u?((d=this.getStack())==null?void 0:d.lead)||this:this}getPrevLead(){var d;const{layoutId:u}=this.options;return u?(d=this.getStack())==null?void 0:d.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:d,preserveFollowOpacity:f}={}){const h=this.getStack();h&&h.promote(this,f),u&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}
vendor: 8,879 bytes, line 234
234resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let d=!1;const{latestValues:f}=u;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(d=!0),!d)return;const h={};f.z&&Am("z",u,h,this.animationValues);for(let p=0;p<Cm.length;p++)Am(`rotate${Cm[p]}`,u,h,this.animationValues),Am(`skew${Cm[p]}`,u,h,this.animationValues);u.render();for(const p in h)u.setStaticValue(p,h[p]),this.animationValues&&(this.animationValues[p]=h[p]);u.scheduleRender()}applyProjectionStyles(u,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const f=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=Gc(d==null?void 0:d.pointerEvents)||"",u.transform=f?f(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=Gc(d==null?void 0:d.pointerEvents)||""),this.hasProjected&&!Xr(this.latestValues)&&(u.transform=f?f({},""):"none",this.hasProjected=!1);return}u.visibility="";const p=h.animationValues||h.latestValues;this.applyTransformsToTarget();let x=oD(this.projectionDeltaWithTransform,this.treeScale,p);f&&(x=f(p,x)),u.transform=x;const{x:b,y:v}=this.projectionDelta;u.transformOrigin=`${b.origin*100}% ${v.origin*100}% 0`,h.animationValues?u.opacity=h===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:u.opacity=h===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const S in Up){if(p[S]===void 0)continue;const{correct:T,applyTo:C,isCSSVariable:A}=Up[S],N=x==="none"?p[S]:T(p[S],h);if(C){const M=C.length;for(let K=0;K<M;K++)u[C[K]]=N}else A?this.options.visualElement.renderState.vars[S]=N:u[S]=N}this.options.layoutId&&(u.pointerEvents=h===this?Gc(d==null?void 0:d.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>{var d;return(d=u.currentAnimation)==null?void 0:d.stop()}),this.root.nodes.forEach(Z1),this.root.sharedNodes.clear()}}}function vD(e){e.updateLayout()}function wD(e){var i;const t=((i=e.resumeFrom)==null?void 0:i.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:o}=e.options,u=t.source!==e.layout.source;if(o==="size")Hi(x=>{const b=u?t.measuredBox[x]:t.layoutBox[x],v=Tn(b);b.min=r[x].min,b.max=b.min+v});else if(o==="x"||o==="y"){const x=o==="x"?"y":"x";Hp(u?t.measuredBox[x]:t.layoutBox[x],r[x])}else Qk(o,t.layoutBox,r)&&Hi(x=>{const b=u?t.measuredBox[x]:t.layoutBox[x],v=Tn(r[x]);b.max=b.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[x].max=e.relativeTarget[x].min+v)});const d=tl();Lo(d,r,t.layoutBox);const f=tl();u?Lo(f,e.applyTransform(s,!0),t.measuredBox):Lo(f,r,t.layoutBox);const h=!Yk(d);let p=!1;if(!e.resumeFrom){const x=e.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:b,layout:v}=x;if(b&&v){const S=e.options.layoutAnchor||void 0,T=Qt();md(T,t.layoutBox,b.layoutBox,S);const C=Qt();md(C,r,v.layoutBox,S),Zk(T,C)||(p=!0),x.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=T,e.relativeParent=x)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:f,layoutDelta:d,hasLayoutChanged:h,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function SD(e){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 kD(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function TD(e){e.clearSnapshot()}function Z1(e){e.clearMeasurements()}function CD(e){e.isLayoutDirty=!0,e.updateLayout()}function $1(e){e.isLayoutDirty=!1}function AD(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function ED(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function X1(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function jD(e){e.resolveTargetDelta()}function ND(e){e.calcProjection()}function RD(e){e.resetSkewAndRotation()}function MD(e){e.removeLeadSnapshot()}function J1(e,t,i){e.translate=Nt(t.translate,0,i),e.scale=Nt(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function W1(e,t,i,r){e.min=Nt(t.min,i.min,r),e.max=Nt(t.max,i.max,r)}function _D(e,t,i,r){W1(e.x,t.x,i.x,r),W1(e.y,t.y,i.y,r)}function DD(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const zD={duration:.45,ease:[.4,0,.1,1]},Q1=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ew=Q1("applewebkit/")&&!Q1("chrome/")?Math.round:fi;function tw(e){e.min=ew(e.min),e.max=ew(e.max)}function LD(e){tw(e.x),tw(e.y)}function Qk(e,t,i){return e==="position"||e==="preserve-aspect"&&!nD(F1(t),F1(i),.2)}function OD(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const PD=Wk({attachResizeListener:(e,t)=>Yo(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Em={current:void 0},eT=Wk({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Em.current){const e=new PD({});e.mount(window),e.setOptions({layoutScroll:!0}),Em.current=e}return Em.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),tT=R.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function BD(e=!0){const t=R.useContext(Dg);if(t===null)return[!0,null];const{isPresent:i,onExitComplete:r,register:s}=t,o=R.useId();R.useEffect(()=>{if(e)return s(o)},[e]);const u=R.useCallback(()=>e&&r&&r(o),[o,r,e]);return!i&&r?[!1,u]:[!0]}const nT=R.createContext({strict:!1}),nw={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let iw=!1;function UD(){if(iw)return;const e={};for(const t in nw)e[t]={isEnabled:i=>nw[t].some(r=>!!i[r])};Mk(e),iw=!0}function iT(){return UD(),j3()}function HD(e){const t=iT();for(const i in e)t[i]={...t[i],...e[i]};Mk(t)}const VD=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 pd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||VD.has(e)}let aT=e=>!pd(e);function ID(e){typeof e=="function"&&(aT=t=>t.startsWith("on")?!pd(t):e(t))}try{ID(require("@emotion/is-prop-valid").default)}catch{}function FD(e,t,i){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||dn(e[s])||(aT(s)||i===!0&&pd(s)||!t&&!pd(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Hd=R.createContext({});function qD(e,t){if(Ud(e)){const{initial:i,animate:r}=e;return{initial:i===!1||Go(i)?i:void 0,animate:Go(r)?r:void 0}}return e.inherit!==!1?t:{}}function KD(e){const{initial:t,animate:i}=qD(e,R.useContext(Hd));return R.useMemo(()=>({initial:t,animate:i}),[aw(t),aw(i)])}function aw(e){return Array.isArray(e)?e.join(" "):e}const ay=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rT(e,t,i){for(const r in t)!dn(t[r])&&!Bk(r,i)&&(e[r]=t[r])}function GD({transformTemplate:e},t){return R.useMemo(()=>{const i=ay();return ny(i,t,e),Object.assign({},i.vars,i.style)},[t])}function YD(e,t){const i=e.style||{},r={};return rT(r,i,e),Object.assign(r,GD(e,t)),r}function ZD(e,t){const i={},r=YD(e,t);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
234`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=r,i}const sT=()=>({...ay(),attrs:{}});function $D(e,t,i,r){const s=R.useMemo(()=>{const o=sT();return Uk(o,t,Vk(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};rT(o,e.style,e),s.style={...o,...s.style}}return s}const XD=["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 ry(e){return typeof e!="string"||e.includes("-")?!1:!!(XD.indexOf(e)>-1||/[A-Z]/u.test(e))}function JD(e,t,i,{latestValues:r},s,o=!1,u){const f=(u??ry(e)?$D:ZD)(t,r,s,e),h=FD(t,typeof e=="string",o),p=e!==R.Fragment?{...h,...f,ref:i}:{},{children:x}=t,b=R.useMemo(()=>dn(x)?x.get():x,[x]);return R.createElement(e,{...p,children:b})}function WD({scrapeMotionValuesFromProps:e,createRenderState:t},i,r,s){return{latestValues:QD(i,r,s,e),renderState:t()}}function QD(e,t,i,r){const s={},o=r(e,{});for(const b in o)s[b]=Gc(o[b]);let{initial:u,animate:d}=e;const f=Ud(e),h=Nk(e);t&&h&&!f&&e.inherit!==!1&&(u===void 0&&(u=t.initial),d===void 0&&(d=t.animate));let p=i?i.initial===!1:!1;p=p||u===!1;const x=p?d:u;if(x&&typeof x!="boolean"&&!Bd(x)){const b=Array.isArray(x)?x:[x];for(let v=0;v<b.length;v++){const S=Zg(e,b[v]);if(S){const{transitionEnd:T,transition:C,...A}=S;for(const N in A){let M=A[N];if(Array.isArray(M)){const K=p?M.length-1:0;M=M[K]}M!==null&&(s[N]=M)}for(const N in T)s[N]=T[N]}}}return s}const lT=e=>(t,i)=>{const r=R.useContext(Hd),s=R.useContext(Dg),o=()=>WD(e,t,r,s);return i?o():XM(o)},ez=lT({scrapeMotionValuesFromProps:iy,createRenderState:ay}),tz=lT({scrapeMotionValuesFromProps:Ik,createRenderState:sT}),nz=Symbol.for("motionComponentSymbol");function iz(e,t,i){const r=R.useRef(i);R.useInsertionEffect(()=>{r.current=i});const s=R.useRef(null);return R.useCallback(o=>{var d;o&&((d=e.onMount)==null||d.call(e,o));const u=r.current;if(typeof u=="function")if(o){const f=u(o);typeof f=="function"&&(s.current=f)}else s.current?(s.current(),s.current=null):u(o);else u&&(u.current=o);t&&(o?t.mount(o):t.unmount())},[t])}const oT=R.createContext({});function Xs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function az(e,t,i,r,s,o){var M,K;const{visualElement:u}=R.useContext(Hd),d=R.useContext(nT),f=R.useContext(Dg),h=R.useContext(tT),p=h.reducedMotion,x=h.skipAnimations,b=R.useRef(null),v=R.useRef(!1);r=r||d.renderer,!b.current&&r&&(b.current=r(e,{visualState:t,parent:u,props:i,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:p,skipAnimations:x,isSVG:o}),v.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const S=b.current,T=R.useContext(oT);S&&!S.projection&&s&&(S.type==="html"||S.type==="svg")&&rz(b.current,i,s,T);const C=R.useRef(!1);R.useInsertionEffect(()=>{S&&C.current&&S.update(i,f)});const A=i[gk],N=R.useRef(!!A&&typeof window<"u"&&!((M=window.MotionHandoffIsComplete)!=null&&M.call(window,A))&&((K=window.MotionHasOptimisedAnimation)==null?void 0:K.call(window,A)));return WM(()=>{v.current=!0,S&&(C.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),N.current&&S.animationState&&S.animationState.animateChanges())}),R.useEffect(()=>{S&&(!N.current&&S.animationState&&S.animationState.animateChanges(),N.current&&(queueMicrotask(()=>{var G;(G=window.MotionHandoffMarkAsComplete)==null||G.call(window,A)}),N.current=!1),S.enteringChildren=void 0)}),S}function rz(e,t,i,r){const{layoutId:s,layout:o,drag:u,dragConstraints:d,layoutScroll:f,layoutRoot:h,layoutAnchor:p,layoutCrossfade:x}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:uT(e.parent)),e.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:!!u||d&&Xs(d),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:x,layoutScroll:f,layoutRoot:h,layoutAnchor:p})}function uT(e){if(e)return e.options.allowProjection!==!1?e.projection:uT(e.parent)}function jm(e,{forwardMotionProps:t=!1,type:i}={},r,s){r&&HD(r);const o=i?i==="svg":ry(e),u=o?tz:ez;function d(h,p){let x;const b={...R.useContext(tT),...h,layoutId:sz(h)},{isStatic:v}=b,S=KD(h),T=u(h,v);if(!v&&typeof window<"u"){lz();const C=oz(b);x=C.MeasureLayout,S.visualElement=az(e,T,b,s,C.ProjectionNode,o)}return y.jsxs(Hd.Provider,{value:S,children:[x&&S.visualElement?y.jsx(x,{visualElement:S.visualElement,...b}):null,JD(e,h,iz(T,S.visualElement,p),T,v,t,o)]})}d.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const f=R.forwardRef(d);return f[nz]=e,f}function sz({layoutId:e}){const t=R.useContext(j2).id;return t&&e!==void 0?t+"-"+e:e}function lz(e,t){R.useContext(nT).strict}function oz(e){const t=iT(),{drag:i,layout:r}=t;if(!i&&!r)return{};const s={...i,...r};return{MeasureLayout:i!=null&&i.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
vendor: 6,739 bytes, line 234
234function uz(e,t){if(typeof Proxy>"u")return jm;const i=new Map,r=(o,u)=>jm(o,u,e,t),s=(o,u)=>r(o,u);return new Proxy(s,{get:(o,u)=>u==="create"?r:(i.has(u)||i.set(u,jm(u,void 0,e,t)),i.get(u))})}const cz=(e,t)=>t.isSVG??ry(e)?new K3(t):new U3(t,{allowProjection:e!==R.Fragment});class dz extends Tr{constructor(t){super(t),t.animationState||(t.animationState=X3(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Bd(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:i}=this.node.prevProps||{};t!==i&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let fz=0;class hz extends Tr{constructor(){super(...arguments),this.id=fz++,this.isExitComplete=!1}update(){var o;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:i}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:u,custom:d}=this.node.getProps();if(typeof u=="string"){const f=is(this.node,u,d);if(f){const{transition:h,transitionEnd:p,...x}=f;for(const b in x)(o=this.node.getValue(b))==null||o.jump(x[b])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive("exit",!t);i&&!t&&s.then(()=>{this.isExitComplete=!0,i(this.id)})}mount(){const{register:t,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const mz={animation:{Feature:dz},exit:{Feature:hz}};function lu(e){return{point:{x:e.pageX,y:e.pageY}}}const pz=e=>t=>Wg(t)&&e(t,lu(t));function Oo(e,t,i,r){return Yo(e,t,pz(i),r)}const cT=({current:e})=>e?e.ownerDocument.defaultView:null,rw=(e,t)=>Math.abs(e-t);function gz(e,t){const i=rw(e.x,t.x),r=rw(e.y,t.y);return Math.sqrt(i**2+r**2)}const sw=new Set(["auto","scroll"]);class dT{constructor(t,i,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:o=!1,distanceThreshold:u=3,element:d}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=v=>{this.handleScroll(v.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Nc(this.lastRawMoveEventInfo,this.transformPagePoint));const v=Nm(this.lastMoveEventInfo,this.history),S=this.startEvent!==null,T=gz(v.offset,{x:0,y:0})>=this.distanceThreshold;if(!S&&!T)return;const{point:C}=v,{timestamp:A}=un;this.history.push({...C,timestamp:A});const{onStart:N,onMove:M}=this.handlers;S||(N&&N(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),M&&M(this.lastMoveEvent,v)},this.handlePointerMove=(v,S)=>{this.lastMoveEvent=v,this.lastRawMoveEventInfo=S,this.lastMoveEventInfo=Nc(S,this.transformPagePoint),wt.update(this.updatePoint,!0)},this.handlePointerUp=(v,S)=>{this.end();const{onEnd:T,onSessionEnd:C,resumeAnimation:A}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&A&&A(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const N=Nm(v.type==="pointercancel"?this.lastMoveEventInfo:Nc(S,this.transformPagePoint),this.history);this.startEvent&&T&&T(v,N),C&&C(v,N)},!Wg(t))return;this.dragSnapToOrigin=o,this.handlers=i,this.transformPagePoint=r,this.distanceThreshold=u,this.contextWindow=s||window;const f=lu(t),h=Nc(f,this.transformPagePoint),{point:p}=h,{timestamp:x}=un;this.history=[{...p,timestamp:x}];const{onSessionStart:b}=i;b&&b(t,Nm(h,this.history)),this.removeListeners=au(Oo(this.contextWindow,"pointermove",this.handlePointerMove),Oo(this.contextWindow,"pointerup",this.handlePointerUp),Oo(this.contextWindow,"pointercancel",this.handlePointerUp)),d&&this.startScrollTracking(d)}startScrollTracking(t){let i=t.parentElement;for(;i;){const r=getComputedStyle(i);(sw.has(r.overflowX)||sw.has(r.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const i=this.scrollPositions.get(t);if(!i)return;const r=t===window,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},o={x:s.x-i.x,y:s.y-i.y};o.x===0&&o.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(t,s),wt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),wr(this.updatePoint)}}function Nc(e,t){return t?{point:t(e.point)}:e}function lw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Nm({point:e},t){return{point:e,delta:lw(e,fT(t)),offset:lw(e,yz(t)),velocity:xz(t,.1)}}function yz(e){return e[0]}function fT(e){return e[e.length-1]}function xz(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,r=null;const s=fT(e);for(;i>=0&&(r=e[i],!(s.timestamp-r.timestamp>Gn(t)));)i--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>Gn(t)*2&&(r=e[1]);const o=ci(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const u={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function bz(e,{min:t,max:i},r){return t!==void 0&&e<t?e=r?Nt(t,e,r.min):Math.max(e,t):i!==void 0&&e>i&&(e=r?Nt(i,e,r.max):Math.min(e,i)),e}function ow(e,t,i){return{min:t!==void 0?e.min+t:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function vz(e,{top:t,left:i,bottom:r,right:s}){return{x:ow(e.x,i,s),y:ow(e.y,t,r)}}function uw(e,t){let i=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,r]=[r,i]),{min:i,max:r}}function wz(e,t){return{x:uw(e.x,t.x),y:uw(e.y,t.y)}}function Sz(e,t){let i=.5;const r=Tn(e),s=Tn(t);return s>r?i=qo(t.min,t.max-r,e.min):r>s&&(i=qo(e.min,e.max-s,t.min)),Zi(0,1,i)}function kz(e,t){const i={};return t.min!==void 0&&(i.min=t.min-e.min),t.max!==void 0&&(i.max=t.max-e.min),i}const Vp=.35;function Tz(e=Vp){return e===!1?e=0:e===!0&&(e=Vp),{x:cw(e,"left","right"),y:cw(e,"to
234p","bottom")}}function cw(e,t,i){return{min:dw(e,t),max:dw(e,i)}}function dw(e,t){return typeof e=="number"?e:e[t]||0}const Cz=new WeakMap;class Az{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Qt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:i=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const o=x=>{i&&this.snapToCursor(lu(x).point),this.stopAnimation()},u=(x,b)=>{const{drag:v,dragPropagation:S,onDragStart:T}=this.getProps();if(v&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=a3(v),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Hi(A=>{let N=this.getAxisMotionValue(A).get()||0;if(Ki.test(N)){const{projection:M}=this.visualElement;if(M&&M.layout){const K=M.layout.layoutBox[A];K&&(N=Tn(K)*(parseFloat(N)/100))}}this.originPoint[A]=N}),T&&wt.update(()=>T(x,b),!1,!0),_p(this.visualElement,"transform");const{animationState:C}=this.visualElement;C&&C.setActive("whileDrag",!0)},d=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b;const{dragPropagation:v,dragDirectionLock:S,onDirectionLock:T,onDrag:C}=this.getProps();if(!v&&!this.openDragLock)return;const{offset:A}=b;if(S&&this.currentDirection===null){this.currentDirection=jz(A),this.currentDirection!==null&&T&&T(this.currentDirection);return}this.updateAxis("x",b.point,A),this.updateAxis("y",b.point,A),this.visualElement.render(),C&&wt.update(()=>C(x,b),!1,!0)},f=(x,b)=>{this.latestPointerEvent=x,this.latestPanInfo=b,this.stop(x,b),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>{const{dragSnapToOrigin:x}=this.getProps();(x||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:p}=this.getProps();this.panSession=new dT(t,{onSessionStart:o,onStart:u,onMove:d,onSessionEnd:f,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:r,contextWindow:cT(this.visualElement),element:this.visualElement.current})}stop(t,i){const r=t||this.latestPointerEvent,s=i||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!s||!r)return;const{velocity:u}=s;this.startAnimation(u);const{onDragEnd:d}=this.getProps();d&&wt.postRender(()=>d(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:i}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,i,r){const{drag:s}=this.getProps();if(!r||!Rc(t,s,this.currentDirection))return;const o=this.getAxisMotionValue(t);let u=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(u=bz(u,this.constraints[t],this.elastic[t])),o.set(u)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,s=this.constraints;t&&Xs(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=vz(r.layoutBox,t):this.constraints=!1,this.elastic=Tz(i),s!==this.constraints&&!Xs(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Hi(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=kz(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!Xs(t))return!1;const r=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=D3(r,s.root,this.visualElement.getTransformPagePoint());let u=wz(s.layout.layoutBox,o);if(i){const d=i(R3(u));this.hasMutatedConstraints=!!d,d&&(u=Dk(d))}return u}startAnimation(t){const{drag:i,dragMomentum:r,dragElastic:s,dragTransition:o,dragSnapToOrigin:u,onDragTransitionEnd:d}=this.getProps(),f=this.constraints||{},h=Hi(p=>{if(!Rc(p,i,this.currentDirection))return;let x=f&&f[p]||{};(u===!0||u===p)&&(x={min:0,max:0});const b=s?200:1e6,v=s?40:1e7,S={type:"inertia",velocity:r?t[p]:0,bounceStiffness:b,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...o,...x};return this.startAxisValueAnimation(p,S)});return Promise.all(h).then(d)}startAxisValueAnimation(t,i){const r=this.getAxisMotionValue(t);return _p(this.visualElement,t),r.start(Yg(t,r,0,i,this.visualElement,!1))}stopAnimation(){Hi(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const i=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[i];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Hi(i=>{const{drag:r}=this.getProps();if(!Rc(i,r,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(i);if(s&&s.layout){const{min:u,max:d}=s.layout.layoutBox[i],f=o.get()||0;o.set(t[i]-Nt(u,d,.5)+f)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:r}=this.visualElement;if(!Xs(i)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Hi(u=>{const d=this.getAxisMotionValue(u);if(d&&this.constraints!==!1){const f=d.get();s[u]=Sz({min:f,max:f},this.constraints[u])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Hi(u=>{if(!Rc(u,t,null))return;const d=this.getAxisMotionValue(u),{min:f,max:h}=this.constraints[u];d.set(Nt(f,h,s[u]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Cz.set(this.visualElement,this);const t=this.visualElement.current,i=Oo(t,"pointerdown",h=>{const{drag:p,dragListener:x=!0}=this.getProps(),b=h.target,v=b!==t&&c3(b);p&&x&&!v&&this.start(h)});let r;const s=()=>{const{dragConstraints:h}=this.getProps();Xs(h)&&h.current&&(this.constraints=this.resolveRefConstraints(),r||(r=Ez(t,h.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,u=o.addEventListener("measure",s);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),wt.read(s);const d=Yo(window,"resize",()=>this.scalePositionWithinConstraints()),f=o.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:p})=>{this.isDragging&&p&&(Hi(x=>{const b=this.getAxisMotionValue(x);b&&(this.originPoint[x]+=h[x].translate,b.set(b.get()+h[x].translate))}),this.visualElement.render())}));return()=>{d(),i(),u(),f&&f(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:u=Vp,dragMomentum:d=!0}=t;return{...t,drag:i,dragDirectionLock:r,dragPropagation:s,dragConstraints:o,dragElastic:u,dragMomentum:d}}}function fw(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Ez(e,t,i){const r=w1(e,fw(i)),s=w1(t,fw(i));return()=>{r(),s()}}function Rc(e,t,i){return(t===!0||t===e)&&(i===null||i===e)}
vendor: 4,218 bytes, line 234
234function jz(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}class Nz extends Tr{constructor(t){super(t),this.removeGroupControls=fi,this.removeListeners=fi,this.controls=new Az(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||fi}update(){const{dragControls:t}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};t!==i&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Rm=e=>(t,i)=>{e&&wt.update(()=>e(t,i),!1,!0)};class Rz extends Tr{constructor(){super(...arguments),this.removePointerDownListener=fi}onPointerDown(t){this.session=new dT(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:cT(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:i,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Rm(t),onStart:Rm(i),onMove:Rm(r),onEnd:(o,u)=>{delete this.session,s&&wt.postRender(()=>s(o,u))}}}mount(){this.removePointerDownListener=Oo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Mm=!1;class Mz extends R.Component{componentDidMount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:r,layoutId:s}=this.props,{projection:o}=t;o&&(i.group&&i.group.add(o),r&&r.register&&s&&r.register(o),Mm&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Yc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:i,visualElement:r,drag:s,isPresent:o}=this.props,{projection:u}=r;return u&&(u.isPresent=o,t.layoutDependency!==i&&u.setOptions({...u.options,layoutDependency:i}),Mm=!0,s||t.layoutDependency!==i||i===void 0||t.isPresent!==o?u.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?u.promote():u.relegate()||wt.postRender(()=>{const d=u.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:i}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=i,r.root.didUpdate(),Jg.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:r}=this.props,{projection:s}=t;Mm=!0,s&&(s.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function hT(e){const[t,i]=BD(),r=R.useContext(j2);return y.jsx(Mz,{...e,layoutGroup:r,switchLayoutGroup:R.useContext(oT),isPresent:t,safeToRemove:i})}const _z={pan:{Feature:Rz},drag:{Feature:Nz,ProjectionNode:eT,MeasureLayout:hT}};function hw(e,t,i){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",i==="Start");const s="onHover"+i,o=r[s];o&&wt.postRender(()=>o(t,lu(t)))}class Dz extends Tr{mount(){const{current:t}=this.node;t&&(this.unmount=s3(t,(i,r)=>(hw(this.node,r,"Start"),s=>hw(this.node,s,"End"))))}unmount(){}}class zz extends Tr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=au(Yo(this.node.current,"focus",()=>this.onFocus()),Yo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function mw(e,t,i){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",i==="Start");const s="onTap"+(i==="End"?"":i),o=r[s];o&&wt.postRender(()=>o(t,lu(t)))}class Lz extends Tr{mount(){const{current:t}=this.node;if(!t)return;
234const{globalTapTarget:i,propagate:r}=this.node.props;this.unmount=f3(t,(s,o)=>(mw(this.node,o,"Start"),(u,{success:d})=>mw(this.node,u,d?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Ip=new WeakMap,_m=new WeakMap,Oz=e=>{const t=Ip.get(e.target);t&&t(e)},Pz=e=>{e.forEach(Oz)};function Bz({root:e,...t}){const i=e||document;_m.has(i)||_m.set(i,{});const r=_m.get(i),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(Pz,{root:e,...t})),r[s]}function Uz(e,t,i){const r=Bz(t);return Ip.set(e,i),r.observe(e),()=>{Ip.delete(e),r.unobserve(e)}}const Hz={some:0,all:1};class Vz extends Tr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var f;(f=this.stopObserver)==null||f.call(this);const{viewport:t={}}=this.node.getProps(),{root:i,margin:r,amount:s="some",once:o}=t,u={root:i?i.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:Hz[s]},d=h=>{const{isIntersecting:p}=h;if(this.isInView===p||(this.isInView=p,o&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:x,onViewportLeave:b}=this.node.getProps(),v=p?x:b;v&&v(h)};this.stopObserver=Uz(this.node.current,u,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:i}=this.node;["amount","margin","root"].some(Iz(t,i))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function Iz({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}const Fz={inView:{Feature:Vz},tap:{Feature:Lz},focus:{Feature:zz},hover:{Feature:Dz}},qz={layout:{ProjectionNode:eT,MeasureLayout:hT}},Kz={...mz,...Fz,..._z,...qz},Ce=uz(Kz,cz);function Gz(){return y.jsxs("section",{className:"relative min-h-screen flex items-center overflow-hidden bg-background",children:[y.jsxs("div",{className:"flex flex-col w-full lg:hidden",children:[y.jsxs("div",{className:"relative w-full mt-16",style:{height:"90vw",maxHeight:"480px"},children:[y.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 z-10 pointer-events-none",style:{background:"linear-gradient(to top, hsl(var(--background)) 0%, transparent 100%)"}}),y.jsx(Ce.img,{src:"/airo-assets/images/hero/portrait",alt:"Yousuf Syed Khan â International Lawyer",className:"w-full h-full object-cover object-top",style:{filter:"contrast(1.05) brightness(0.9)"},initial:{opacity:0}
234,animate:{opacity:1},transition:{duration:1,ease:"easeOut"},loading:"eager",fetchPriority:"high",width:720,height:900})]}),y.jsxs("div",{className:"flex flex-col px-6 pt-6 pb-16",children:[y.jsx(Ce.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] mb-5 text-primary font-sans font-medium",children:"Jurist & Conflict Analyst"}),y.jsxs(Ce.p,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:"easeOut"},className:"font-heading font-bold text-foreground leading-[1.05] mb-6","aria-hidden":"true",style:{fontSize:"clamp(42px, 11vw, 64px)",letterSpacing:"-0.01em"},children:["Yousuf",y.jsx("br",{}),"Syed Khan"]}),y.jsx(Ce.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.7,delay:.2,ease:"easeOut"},className:"mb-8 leading-[1.75] text-muted-foreground font-sans font-light",style:{fontSize:"15px"},children:"Yousuf Syed Khan provides expert legal advice to governments, international organisations, and NGOs on the effective implementation and enforcement of international humanitarian law."}),y.jsx(Ce.div,{initial:{opacity:0}
234,animate:{opacity:1},transition:{duration:.6,delay:.3,ease:"easeOut"},className:"flex flex-wrap items-center gap-x-3 gap-y-2 mb-10",children:["Starvation & Siege Warfare","Accountability Strategy & Case Development","Conflict Investigations & Fact-Finding"].map((e,t)=>y.jsxs("span",{className:"flex items-center gap-3",children:[y.jsx("span",{className:"text-[11px] uppercase tracking-[0.12em] text-muted-foreground font-sans",children:e}),t<2&&y.jsx("span",{className:"text-border font-sans","aria-hidden":"true",children:"·"})]},e))}),y.jsx(Ce.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4,ease:"easeOut"},children:y.jsx(fn,{to:"/about",className:"inline-block text-xs uppercase tracking-[0.2em] px-8 py-4 border border-primary text-primary hover:bg-primary hover:text-background transition-all duration-300 font-sans font-medium",children:"Meet Yousuf"})})]})]}),y.jsxs("div",{className:"hidden lg:grid max-w-7xl mx-auto px-10 w-full grid-cols-[55fr_45fr] gap-0 min-h-screen",children:[y.jsxs(Ce.div,{className:"absolute inset-y-0 right-0 w-[45%]",initial:{opacity:0}
234,animate:{opacity:1},transition:{duration:1.1,ease:"easeOut"},children:[y.jsx("div",{className:"absolute inset-y-0 left-0 w-32 z-10 pointer-events-none",style:{background:"linear-gradient(to right, hsl(var(--background)) 0%, transparent 100%)"}}),y.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-40 z-10 pointer-events-none",style:{background:"linear-gradient(to top, hsl(var(--background)) 0%, transparent 100%)"}}),y.jsx("img",{src:"/airo-assets/images/hero/portrait",alt:"Yousuf Syed Khan â International Lawyer",className:"absolute inset-0 w-full h-full object-cover",style:{objectPosition:"50% 22%",filter:"contrast(1.05) brightness(0.9)"},loading:"eager",fetchPriority:"high",width:720,height:900})]}),y.jsxs("div",{className:"flex flex-col justify-center py-0 pr-16 z-10",children:[y.jsx(Ce.p,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] mb-6 text-primary font-sans font-medium",children:"Jurist & Conflict Analyst"}),y.jsxs(Ce.p,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:"easeOut"},className:"font-heading font-bold text-foreground leading-[1.05] mb-8","aria-hidden":"true",style:{fontSize:"clamp(52px, 7vw, 96px)",letterSpacing:"-0.01em"},children:["Yousuf",y.jsx("br",{}),"Syed Khan"]}),y.jsx(Ce.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.2,ease:"easeOut"},className:"mb-10 max-w-lg leading-[1.75] text-muted-foreground font-sans font-light",style:{fontSize:"17px"},children:"Yousuf Syed Khan provides expert legal advice to governments, international organisations, and NGOs on the effective implementation and enforcement of international humanitarian law."}),y.jsx(Ce.div,{initial:{opacity:0}
234,animate:{opacity:1},transition:{duration:.6,delay:.35,ease:"easeOut"},className:"flex flex-wrap items-center gap-x-3 gap-y-2 mb-12",children:["Starvation & Siege Warfare","Accountability Strategy & Case Development","Conflict Investigations & Fact-Finding"].map((e,t)=>y.jsxs("span",{className:"flex items-center gap-3",children:[y.jsx("span",{className:"text-xs uppercase tracking-[0.12em] text-muted-foreground font-sans",children:e}),t<2&&y.jsx("span",{className:"text-border font-sans","aria-hidden":"true",children:"·"})]},e))}),y.jsx(Ce.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,delay:.45,ease:"easeOut"},children:y.jsx(fn,{to:"/about",className:"inline-block text-xs uppercase tracking-[0.2em] px-8 py-4 border border-primary text-primary hover:bg-primary hover:text-background transition-all duration-300 font-sans font-medium",children:"Meet Yousuf"})})]})]}),y.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-px bg-border pointer-events-none"})]})}const Yz=[{title:"International Humanitarian Law"},{title:"International Criminal Law"},{title:"Human Rights"}];function Zz(){return y.jsx("section",{className:"py-24 md:py-32 bg-card",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[auto_1fr] gap-8 lg:gap-16 mb-20",children:[y.jsx("div",{className:"hidden lg:flex flex-col items-center pt-2",children:y.jsx("div",{className:"w-px flex-1 bg-primary opacity-40",style:{minHeight:"200px"}})}),y.jsx(Ce.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,ease:"easeOut"},children:y.jsx("p",{className:"leading-[1.85] max-w-3xl text-muted-foreground font-sans font-light",style:{fontSize:"17px"},children:"For nearly a decade, Yousuf served with the United Nations where he was responsible for the legal analysis of core international crimes committed in the context of contemporary armed conflicts. He has particular expertise in starvation as a method of warfare and siege warfare, alongside broader specialisation in International Humanitarian Law, International Criminal Law, and Human Rights."})})]}),y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5",children:Yz.map((e,t)=>y.jsx(Ce.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.1,ease:"easeOut"},className:"p-8 bg-background border-t-2 border-primary",children:y.jsx("h3",{className:"leading-tight font-heading font-semibold text-foreground",style:{fontSize:"22px"},children:e.title})},e.title))})]})})}var lt;(function(e){e.assertEqual=s=>{};function t(s){}e.assertIs=t;function i(s){throw new Error}e.assertNever=i,e.arrayToEnum=s=>{const o={};for(const u of s)o[u]=u;return o},e.getValidEnumValues=s=>{const o=e.objectKeys(s).filter(d=>typeof s[s[d]]!="number"),u={};for(const d of o)u[d]=s[d];return e.objectValues(u)},e.objectValues=s=>e.objectKeys(s).map(function(o){return s[o]}),e.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{const o=[];for(const u in s)Object.prototype.hasOwnProperty.call(s,u)&&o.push(u);return o},e.find=(s,o)=>{for(const u of s)if(o(u))return u},e.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&Number.isFinite(s)&&Math.floor(s)===s;function r(s,o=" | "){return s.map(u=>typeof u=="string"?`'${u}'`:u).join(o)}e.joinValues=r,e.jsonStringifyReplacer=(s,o)=>typeof o=="bigint"?o.toString():o})(lt||(lt={}));var pw;(function(e){e.mergeShapes=(t,i)=>({...t,...i})})(pw||(pw={}));const Se=lt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),mr=e=>{switch(typeof e){case"undefined":return Se.undefined;case"string":return Se.string;case"number":return Number.isNaN(e)?Se.nan:Se.number;case"boolean":return Se.boolean;case"function":return Se.function;case"bigint":return Se.bigint;case"symbol":return Se.symbol;case"object":return Array.isArray(e)?Se.array:e===null?Se.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Se.promise:typeof Map<"u"&&e instanceof Map?Se.map:typeof Set<"u"&&e instanceof Set?Se.set:typeof Date<"u"&&e instanceof Date?Se.date:Se.object;default:return Se.unknown}}
vendor: 4,379 bytes, line 234
234,ue=lt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class _a extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const i=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,i):this.__proto__=i,this.name="ZodError",this.issues=t}format(t){const i=t||function(o){return o.message},r={_errors:[]},s=o=>{for(const u of o.issues)if(u.code==="invalid_union")u.unionErrors.map(s);else if(u.code==="invalid_return_type")s(u.returnTypeError);else if(u.code==="invalid_arguments")s(u.argumentsError);else if(u.path.length===0)r._errors.push(i(u));else{let d=r,f=0;for(;f<u.path.length;){const h=u.path[f];f===u.path.length-1?(d[h]=d[h]||{_errors:[]},d[h]._errors.push(i(u))):d[h]=d[h]||{_errors:[]},d=d[h],f++}}};return s(this),r}static assert(t){if(!(t instanceof _a))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,lt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=i=>i.message){const i={},r=[];for(const s of this.issues)if(s.path.length>0){const o=s.path[0];i[o]=i[o]||[],i[o].push(t(s))}else r.push(t(s));return{formErrors:r,fieldErrors:i}}get formErrors(){return this.flatten()}}_a.create=e=>new _a(e);const Fp=(e,t)=>{let i;switch(e.code){case ue.invalid_type:e.received===Se.undefined?i="Required":i=`Expected ${e.expected}, received ${e.received}`;break;case ue.invalid_literal:i=`Invalid literal value, expected ${JSON.stringify(e.expected,lt.jsonStringifyReplacer)}`;break;case ue.unrecognized_keys:i=`Unrecognized key(s) in object: ${lt.joinValues(e.keys,", ")}`;break;case ue.invalid_union:i="Invalid input";break;case ue.invalid_union_discriminator:i=`Invalid discriminator value. Expected ${lt.joinValues(e.options)}`;break;case ue.invalid_enum_value:i=`Invalid enum value. Expected ${lt.joinValues(e.options)}, received '${e.received}'`;break;case ue.invalid_arguments:i="Invalid function arguments";break;case ue.invalid_return_type:i="Invalid function return type";break;case ue.invalid_date:i="Invalid date";break;case ue.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(i=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(i=`${i} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?i=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?i=`Invalid input: must end with "${e.validation.endsWith}"`:lt.assertNever(e.validation):e.validation!=="regex"?i=`Invalid ${e.validation}`:i="Invalid";break;case ue.too_small:e.type==="array"?i=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?i=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?i=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?i=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?i=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:i="Invalid input";break;case ue.too_big:e.type==="array"?i=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?i=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?i=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?i=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?i=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:i="Invalid input";break;case ue.custom:i="Invalid input";break;
vendor: 7,534 bytes, line 234
234case ue.invalid_intersection_types:i="Intersection results could not be merged";break;case ue.not_multiple_of:i=`Number must be a multiple of ${e.multipleOf}`;break;case ue.not_finite:i="Number must be finite";break;default:i=t.defaultError,lt.assertNever(e)}return{message:i}};let $z=Fp;function Xz(){return $z}const Jz=e=>{const{data:t,path:i,errorMaps:r,issueData:s}=e,o=[...i,...s.path||[]],u={...s,path:o};if(s.message!==void 0)return{...s,path:o,message:s.message};let d="";const f=r.filter(h=>!!h).slice().reverse();for(const h of f)d=h(u,{data:t,defaultError:d}).message;return{...s,path:o,message:d}};function ge(e,t){const i=Xz(),r=Jz({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,i,i===Fp?void 0:Fp].filter(s=>!!s)});e.common.issues.push(r)}class Zn{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,i){const r=[];for(const s of i){if(s.status==="aborted")return Be;s.status==="dirty"&&t.dirty(),r.push(s.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,i){const r=[];for(const s of i){const o=await s.key,u=await s.value;r.push({key:o,value:u})}return Zn.mergeObjectSync(t,r)}static mergeObjectSync(t,i){const r={};for(const s of i){const{key:o,value:u}=s;if(o.status==="aborted"||u.status==="aborted")return Be;o.status==="dirty"&&t.dirty(),u.status==="dirty"&&t.dirty(),o.value!=="__proto__"&&(typeof u.value<"u"||s.alwaysSet)&&(r[o.value]=u.value)}return{status:t.value,value:r}}}const Be=Object.freeze({status:"aborted"}),Eo=e=>({status:"dirty",value:e}),gi=e=>({status:"valid",value:e}),gw=e=>e.status==="aborted",yw=e=>e.status==="dirty",ul=e=>e.status==="valid",gd=e=>typeof Promise<"u"&&e instanceof Promise;var Te;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(Te||(Te={}));class Sr{constructor(t,i,r,s){this._cachedPath=[],this.parent=t,this.data=i,this._path=r,this._key=s}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const xw=(e,t)=>{if(ul(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const i=new _a(e.common.issues);return this._error=i,this._error}}};function Ze(e){if(!e)return{};const{errorMap:t,invalid_type_error:i,required_error:r,description:s}=e;if(t&&(i||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:s}:{errorMap:(u,d)=>{const{message:f}=e;return u.code==="invalid_enum_value"?{message:f??d.defaultError}:typeof d.data>"u"?{message:f??r??d.defaultError}:u.code!=="invalid_type"?{message:d.defaultError}:{message:f??i??d.defaultError}},description:s}}class it{get description(){return this._def.description}_getType(t){return mr(t.data)}_getOrReturnCtx(t,i){return i||{common:t.parent.common,data:t.data,parsedType:mr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Zn,ctx:{common:t.parent.common,data:t.data,parsedType:mr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const i=this._parse(t);if(gd(i))throw new Error("Synchronous parse encountered promise.");return i}_parseAsync(t){const i=this._parse(t);return Promise.resolve(i)}parse(t,i){const r=this.safeParse(t,i);if(r.success)return r.data;throw r.error}safeParse(t,i){const r={common:{issues:[],async:(i==null?void 0:i.async)??!1,contextualErrorMap:i==null?void 0:i.errorMap},path:(i==null?void 0:i.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:mr(t)},s=this._parseSync({data:t,path:r.path,parent:r});return xw(r,s)}"~validate"(t){var r,s;const i={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:mr(t)};if(!this["~standard"].async)try{const o=this._parseSync({data:t,path:[],parent:i});return ul(o)?{value:o.value}:{issues:i.common.issues}}catch(o){(s=(r=o==null?void 0:o.message)==null?void 0:r.toLowerCase())!=null&&s.includes("encountered")&&(this["~standard"].async=!0),i.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:i}).then(o=>ul(o)?{value:o.value}:{issues:i.common.issues})}async parseAsync(t,i){const r=await this.safeParseAsync(t,i);if(r.success)return r.data;throw r.error}async safeParseAsync(t,i){const r={common:{issues:[],contextualErrorMap:i==null?void 0:i.errorMap,async:!0},path:(i==null?void 0:i.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:mr(t)},s=this._parse({data:t,path:r.path,parent:r}),o=await(gd(s)?s:Promise.resolve(s));return xw(r,o)}refine(t,i){const r=s=>typeof i=="string"||typeof i>"u"?{message:i}:typeof i=="function"?i(s):i;return this._refinement((s,o)=>{const u=t(s),d=()=>o.addIssue({code:ue.custom,...r(s)});return typeof Promise<"u"&&u instanceof Promise?u.then(f=>f?!0:(d(),!1)):u?!0:(d(),!1)})}refinement(t,i){return this._refinement((r,s)=>t(r)?!0:(s.addIssue(typeof i=="function"?i(r,s):i),!1))}_refinement(t){return new dl({schema:this,typeName:Ue.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:i=>this["~validate"](i)}}optional(){return br.create(this,this._def)}nullable(){return fl.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Gi.create(this)}promise(){return vd.create(this,this._def)}or(t){return xd.create([this,t],this._def)}and(t){return bd.create(this,t,this._def)}transform(t){return new dl({...Ze(this._def),schema:this,typeName:Ue.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const i=typeof t=="function"?t:()=>t;return new Gp({...Ze(this._def),innerType:this,defaultValue:i,typeName:Ue.ZodDefault})}brand(){return new vL({typeName:Ue.ZodBranded,type:this,...Ze(this._def)})}catch(t){const i=typeof t=="function"?t:()=>t;return new Yp({...Ze(this._def),innerType:this,catchValue:i,typeName:Ue.ZodCatch})}describe(t){const i=this.constructor;return new i({...this._def,description:t})}pipe(t){return sy.create(this,t)}readonly(){return Zp.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Wz=/^c[^\s-]{8,}
vendor: 4,618 bytes, line 234
234$/i,Qz=/^[0-9a-z]+$/,eL=/^[0-9A-HJKMNP-TV-Z]{26}$/i,tL=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,nL=/^[a-z0-9_-]{21}$/i,iL=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,aL=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,rL=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,sL="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Dm;const lL=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,oL=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,uL=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,cL=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,dL=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,fL=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,mT="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",hL=new RegExp(`^${mT}$`);function pT(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const i=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${i}`}function mL(e){return new RegExp(`^${pT(e)}$`)}function pL(e){let t=`${mT}T${pT(e)}`;const i=[];return i.push(e.local?"Z?":"Z"),e.offset&&i.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${i.join("|")})`,new RegExp(`^${t}$`)}function gL(e,t){return!!((t==="v4"||!t)&&lL.test(e)||(t==="v6"||!t)&&uL.test(e))}function yL(e,t){if(!iL.test(e))return!1;try{const[i]=e.split(".");if(!i)return!1;const r=i.replace(/-/g,"+").replace(/_/g,"/").padEnd(i.length+(4-i.length%4)%4,"="),s=JSON.parse(atob(r));return!(typeof s!="object"||s===null||"typ"in s&&(s==null?void 0:s.typ)!=="JWT"||!s.alg||t&&s.alg!==t)}catch{return!1}}function xL(e,t){return!!((t==="v4"||!t)&&oL.test(e)||(t==="v6"||!t)&&cL.test(e))}class xr extends it{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Se.string){const o=this._getOrReturnCtx(t);return ge(o,{code:ue.invalid_type,expected:Se.string,received:o.parsedType}),Be}const r=new Zn;let s;for(const o of this._def.checks)if(o.kind==="min")t.data.length<o.value&&(s=this._getOrReturnCtx(t,s),ge(s,{code:ue.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),r.dirty());else if(o.kind==="max")t.data.length>o.value&&(s=this._getOrReturnCtx(t,s),ge(s,{code:ue.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),r.dirty());else if(o.kind==="length"){const u=t.data.length>o.value,d=t.data.length<o.value;(u||d)&&(s=this._getOrReturnCtx(t,s),u?ge(s,{code:ue.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}):d&&ge(s,{code:ue.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}),r.dirty())}else if(o.kind==="email")rL.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"email",code:ue.invali
vendor: 6,028 bytes, line 234
234d_string,message:o.message}),r.dirty());else if(o.kind==="emoji")Dm||(Dm=new RegExp(sL,"u")),Dm.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"emoji",code:ue.invalid_string,message:o.message}),r.dirty());else if(o.kind==="uuid")tL.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"uuid",code:ue.invalid_string,message:o.message}),r.dirty());else if(o.kind==="nanoid")nL.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"nanoid",code:ue.invalid_string,message:o.message}),r.dirty());else if(o.kind==="cuid")Wz.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"cuid",code:ue.invalid_string,message:o.message}),r.dirty());else if(o.kind==="cuid2")Qz.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"cuid2",code:ue.invalid_string,message:o.message}),r.dirty());else if(o.kind==="ulid")eL.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"ulid",code:ue.invalid_string,message:o.message}),r.dirty());else if(o.kind==="url")try{new URL(t.data)}catch{s=this._getOrReturnCtx(t,s),ge(s,{validation:"url",code:ue.invalid_string,message:o.message}),r.dirty()}else o.kind==="regex"?(o.regex.lastIndex=0,o.regex.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"regex",code:ue.invalid_string,message:o.message}),r.dirty())):o.kind==="trim"?t.data=t.data.trim():o.kind==="includes"?t.data.includes(o.value,o.position)||(s=this._getOrReturnCtx(t,s),ge(s,{code:ue.invalid_string,validation:{includes:o.value,position:o.position},message:o.message}),r.dirty()):o.kind==="toLowerCase"?t.data=t.data.toLowerCase():o.kind==="toUpperCase"?t.data=t.data.toUpperCase():o.kind==="startsWith"?t.data.startsWith(o.value)||(s=this._getOrReturnCtx(t,s),ge(s,{code:ue.invalid_string,validation:{startsWith:o.value},message:o.message}),r.dirty()):o.kind==="endsWith"?t.data.endsWith(o.value)||(s=this._getOrReturnCtx(t,s),ge(s,{code:ue.invalid_string,validation:{endsWith:o.value},message:o.message}),r.dirty()):o.kind==="datetime"?pL(o).test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{code:ue.invalid_string,validation:"datetime",message:o.message}),r.dirty()):o.kind==="date"?hL.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{code:ue.invalid_string,validation:"date",message:o.message}),r.dirty()):o.kind==="time"?mL(o).test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{code:ue.invalid_string,validation:"time",message:o.message}),r.dirty()):o.kind==="duration"?aL.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"duration",code:ue.invalid_string,message:o.message}),r.dirty()):o.kind==="ip"?gL(t.data,o.version)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"ip",code:ue.invalid_string,message:o.message}),r.dirty()):o.kind==="jwt"?yL(t.data,o.alg)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"jwt",code:ue.invalid_string,message:o.message}),r.dirty()):o.kind==="cidr"?xL(t.data,o.version)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"cidr",code:ue.invalid_string,message:o.message}),r.dirty()):o.kind==="base64"?dL.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"base64",code:ue.invalid_string,message:o.message}),r.dirty()):o.kind==="base64url"?fL.test(t.data)||(s=this._getOrReturnCtx(t,s),ge(s,{validation:"base64url",code:ue.invalid_string,message:o.message}),r.dirty()):lt.assertNever(o);return{status:r.value,value:t.data}}_regex(t,i,r){return this.refinement(s=>t.test(s),{validation:i,code:ue.invalid_string,...Te.errToObj(r)})}_addCheck(t){return new xr({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Te.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Te.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Te.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Te.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Te.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Te.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Te.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Te.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Te.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Te.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Te.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Te.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Te.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(t==null?void 0:t.offset)??!1,local:(t==null?void 0:t.local)??!1,...Te.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...Te.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...Te.errToObj(t)})}regex(t,i){return this._addCheck({kind:"regex",regex:t,...Te.errToObj(i)})}includes(t,i){return this._addCheck({kind:"includes",value:t,position:i==null?void 0:i.position,...Te.errToObj(i==null?void 0:i.message)})}startsWith(t,i){return this._addCheck({kind:"startsWith",value:t,...Te.errToObj(i)})}endsWith(t,i){return this._addCheck({kind:"endsWith",value:t,...Te.errToObj(i)})}min(t,i){return this._addCheck({kind:"min",value:t,...Te.errToObj(i)})}max(t,i){return this._addCheck({kind:"max",value:t,...Te.errToObj(i)})}length(t,i){return this._addCheck({kind:"length",value:t,...Te.errToObj(i)})}nonempty(t){return this.min(1,Te.errToObj(t))}trim(){return new xr({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new xr({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new xr({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}
vendor: 4,670 bytes, line 234
234get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const i of this._def.checks)i.kind==="min"&&(t===null||i.value>t)&&(t=i.value);return t}get maxLength(){let t=null;for(const i of this._def.checks)i.kind==="max"&&(t===null||i.value<t)&&(t=i.value);return t}}xr.create=e=>new xr({checks:[],typeName:Ue.ZodString,coerce:(e==null?void 0:e.coerce)??!1,...Ze(e)});function bL(e,t){const i=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,s=i>r?i:r,o=Number.parseInt(e.toFixed(s).replace(".","")),u=Number.parseInt(t.toFixed(s).replace(".",""));return o%u/10**s}class Zo extends it{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Se.number){const o=this._getOrReturnCtx(t);return ge(o,{code:ue.invalid_type,expected:Se.number,received:o.parsedType}),Be}let r;const s=new Zn;for(const o of this._def.checks)o.kind==="int"?lt.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),ge(r,{code:ue.invalid_type,expected:"integer",received:"float",message:o.message}),s.dirty()):o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(r=this._getOrReturnCtx(t,r),ge(r,{code:ue.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),s.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(r=this._getOrReturnCtx(t,r),ge(r,{code:ue.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),s.dirty()):o.kind==="multipleOf"?bL(t.data,o.value)!==0&&(r=this._getOrReturnCtx(t,r),ge(r,{code:ue.not_multiple_of,multipleOf:o.value,message:o.message}),s.dirty()):o.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),ge(r,{code:ue.not_finite,message:o.message}),s.dirty()):lt.assertNever(o);return{status:s.value,value:t.data}}gte(t,i){return this.setLimit("min",t,!0,Te.toString(i))}gt(t,i){return this.setLimit("min",t,!1,Te.toString(i))}lte(t,i){return this.setLimit("max",t,!0,Te.toString(i))}lt(t,i){return this.setLimit("max",t,!1,Te.toString(i))}setLimit(t,i,r,s){return new Zo({...this._def,checks:[...this._def.checks,{kind:t,value:i,inclusive:r,message:Te.toString(s)}]})}_addCheck(t){return new Zo({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Te.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Te.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Te.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Te.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Te.toString(t)})}multipleOf(t,i){return this._addCheck({kind:"multipleOf",value:t,message:Te.toString(i)})}finite(t){return this._addCheck({kind:"finite",message:Te.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Te.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Te.toString(t)})}get minValue(){let t=null;for(const i of this._def.checks)i.kind==="min"&&(t===null||i.value>t)&&(t=i.value);return t}get maxValue(){let t=null;for(const i of this._def.checks)i.kind==="max"&&(t===null||i.value<t)&&(t=i.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&<.isInteger(t.value))}get isFinite(){let t=null,i=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(i===null||r.value>i)&&(i=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(i)&&Number.isFinite(t)}
vendor: 4,134 bytes, line 234
234}Zo.create=e=>new Zo({checks:[],typeName:Ue.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...Ze(e)});class $o extends it{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Se.bigint)return this._getInvalidInput(t);let r;const s=new Zn;for(const o of this._def.checks)o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(r=this._getOrReturnCtx(t,r),ge(r,{code:ue.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),s.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(r=this._getOrReturnCtx(t,r),ge(r,{code:ue.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),s.dirty()):o.kind==="multipleOf"?t.data%o.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),ge(r,{code:ue.not_multiple_of,multipleOf:o.value,message:o.message}),s.dirty()):lt.assertNever(o);return{status:s.value,value:t.data}}_getInvalidInput(t){const i=this._getOrReturnCtx(t);return ge(i,{code:ue.invalid_type,expected:Se.bigint,received:i.parsedType}),Be}gte(t,i){return this.setLimit("min",t,!0,Te.toString(i))}gt(t,i){return this.setLimit("min",t,!1,Te.toString(i))}lte(t,i){return this.setLimit("max",t,!0,Te.toString(i))}lt(t,i){return this.setLimit("max",t,!1,Te.toString(i))}setLimit(t,i,r,s){return new $o({...this._def,checks:[...this._def.checks,{kind:t,value:i,inclusive:r,message:Te.toString(s)}]})}_addCheck(t){return new $o({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Te.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Te.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Te.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Te.toString(t)})}multipleOf(t,i){return this._addCheck({kind:"multipleOf",value:t,message:Te.toString(i)})}get minValue(){let t=null;for(const i of this._def.checks)i.kind==="min"&&(t===null||i.value>t)&&(t=i.value);return t}get maxValue(){let t=null;for(const i of this._def.checks)i.kind==="max"&&(t===null||i.value<t)&&(t=i.value);return t}}$o.create=e=>new $o({checks:[],typeName:Ue.ZodBigInt,coerce:(e==null?void 0:e.coerce)??!1,...Ze(e)});class qp extends it{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Se.boolean){const r=this._getOrReturnCtx(t);return ge(r,{code:ue.invalid_type,expected:Se.boolean,received:r.parsedType}),Be}return gi(t.data)}}qp.create=e=>new qp({typeName:Ue.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...Ze(e)});class yd extends it{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Se.date){const o=this._getOrReturnCtx(t);return ge(o,{code:ue.invalid_type,expected:Se.date,received:o.parsedType}),Be}if(Number.isNaN(t.data.getTime())){const o=this._getOrReturnCtx(t);return ge(o,{code:ue.invalid_date}),Be}const r=new Zn;let s;for(const o of this._def.checks)o.kind==="min"?t.data.getTime()<o.value&&(s=this._getOrReturnCtx(t,s),ge(s,{code:ue.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),r.dirty()):o.kind==="max"?t.data.getTime()>o.value&&(s=this._getOrReturnCtx(t,s),ge(s,{code:ue.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),r.dirty()):lt.assertNever(o);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new yd({...this._def,checks:[...this._def.checks,t]})}min(t,i){return this._addCheck({kind:"min",value:t.getTime(),message:Te.toString(i)})}max(t,i){return this._addCheck({kind:"max",value:t.getTime(),message:Te.toString(i)})}get minDate(){let t=null;for(const i of this._def.checks)i.kind==="min"&&(t===null||i.value>t)&&(t=i.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const i of this._def.checks)i.kind==="max"&&(t===null||i.value<t)&&(t=i.value);return t!=null?new Date(t):null}}yd.create=e=>new yd({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Ue.ZodD
vendor: 8,669 bytes, line 234
234ate,...Ze(e)});class bw extends it{_parse(t){if(this._getType(t)!==Se.symbol){const r=this._getOrReturnCtx(t);return ge(r,{code:ue.invalid_type,expected:Se.symbol,received:r.parsedType}),Be}return gi(t.data)}}bw.create=e=>new bw({typeName:Ue.ZodSymbol,...Ze(e)});class vw extends it{_parse(t){if(this._getType(t)!==Se.undefined){const r=this._getOrReturnCtx(t);return ge(r,{code:ue.invalid_type,expected:Se.undefined,received:r.parsedType}),Be}return gi(t.data)}}vw.create=e=>new vw({typeName:Ue.ZodUndefined,...Ze(e)});class ww extends it{_parse(t){if(this._getType(t)!==Se.null){const r=this._getOrReturnCtx(t);return ge(r,{code:ue.invalid_type,expected:Se.null,received:r.parsedType}),Be}return gi(t.data)}}ww.create=e=>new ww({typeName:Ue.ZodNull,...Ze(e)});class Sw extends it{constructor(){super(...arguments),this._any=!0}_parse(t){return gi(t.data)}}Sw.create=e=>new Sw({typeName:Ue.ZodAny,...Ze(e)});class kw extends it{constructor(){super(...arguments),this._unknown=!0}_parse(t){return gi(t.data)}}kw.create=e=>new kw({typeName:Ue.ZodUnknown,...Ze(e)});class kr extends it{_parse(t){const i=this._getOrReturnCtx(t);return ge(i,{code:ue.invalid_type,expected:Se.never,received:i.parsedType}),Be}}kr.create=e=>new kr({typeName:Ue.ZodNever,...Ze(e)});class Tw extends it{_parse(t){if(this._getType(t)!==Se.undefined){const r=this._getOrReturnCtx(t);return ge(r,{code:ue.invalid_type,expected:Se.void,received:r.parsedType}),Be}return gi(t.data)}}Tw.create=e=>new Tw({typeName:Ue.ZodVoid,...Ze(e)});class Gi extends it{_parse(t){const{ctx:i,status:r}=this._processInputParams(t),s=this._def;if(i.parsedType!==Se.array)return ge(i,{code:ue.invalid_type,expected:Se.array,received:i.parsedType}),Be;if(s.exactLength!==null){const u=i.data.length>s.exactLength.value,d=i.data.length<s.exactLength.value;(u||d)&&(ge(i,{code:u?ue.too_big:ue.too_small,minimum:d?s.exactLength.value:void 0,maximum:u?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),r.dirty())}if(s.minLength!==null&&i.data.length<s.minLength.value&&(ge(i,{code:ue.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),r.dirty()),s.maxLength!==null&&i.data.length>s.maxLength.value&&(ge(i,{code:ue.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),i.common.async)return Promise.all([...i.data].map((u,d)=>s.type._parseAsync(new Sr(i,u,i.path,d)))).then(u=>Zn.mergeArray(r,u));const o=[...i.data].map((u,d)=>s.type._parseSync(new Sr(i,u,i.path,d)));return Zn.mergeArray(r,o)}get element(){return this._def.type}min(t,i){return new Gi({...this._def,minLength:{value:t,message:Te.toString(i)}})}max(t,i){return new Gi({...this._def,maxLength:{value:t,message:Te.toString(i)}})}length(t,i){return new Gi({...this._def,exactLength:{value:t,message:Te.toString(i)}})}nonempty(t){return this.min(1,t)}}Gi.create=(e,t)=>new Gi({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ue.ZodArray,...Ze(t)});function Js(e){if(e instanceof Zt){const t={};for(const i in e.shape){const r=e.shape[i];t[i]=br.create(Js(r))}return new Zt({...e._def,shape:()=>t})}else return e instanceof Gi?new Gi({...e._def,type:Js(e.element)}):e instanceof br?br.create(Js(e.unwrap())):e instanceof fl?fl.create(Js(e.unwrap())):e instanceof as?as.create(e.items.map(t=>Js(t))):e}class Zt extends it{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),i=lt.objectKeys(t);return this._cached={shape:t,keys:i},this._cached}_parse(t){if(this._getType(t)!==Se.object){const h=this._getOrReturnCtx(t);return ge(h,{code:ue.invalid_type,expected:Se.object,received:h.parsedType}),Be}const{status:r,ctx:s}=this._processInputParams(t),{shape:o,keys:u}=this._getCached(),d=[];if(!(this._def.catchall instanceof kr&&this._def.unknownKeys==="strip"))for(const h in s.data)u.includes(h)||d.push(h);const f=[];for(const h of u){const p=o[h],x=s.data[h];f.push({key:{status:"valid",value:h},value:p._parse(new Sr(s,x,s.path,h)),alwaysSet:h in s.data})}if(this._def.catchall instanceof kr){const h=this._def.unknownKeys;if(h==="passthrough")for(const p of d)f.push({key:{status:"valid",value:p},value:{status:"valid",value:s.data[p]}});else if(h==="strict")d.length>0&&(ge(s,{code:ue.unrecognized_keys,keys:d}),r.dirty());else if(h!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const h=this._def.catchall;for(const p of d){const x=s.data[p];f.push({key:{status:"valid",value:p},value:h._parse(new Sr(s,x,s.path,p)),alwaysSet:p in s.data})}}return s.common.async?Promise.resolve().then(async()=>{const h=[];for(const p of f){const x=await p.key,b=await p.value;h.push({key:x,value:b,alwaysSet:p.alwaysSet})}return h}).then(h=>Zn.mergeObjectSync(r,h)):Zn.mergeObjectSync(r,f)}get shape(){return this._def.shape()}strict(t){return Te.errToObj,new Zt({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(i,r)=>{var o,u;const s=((u=(o=this._def).errorMap)==null?void 0:u.call(o,i,r).message)??r.defaultError;return i.code==="unrecognized_keys"?{message:Te.errToObj(t).message??s}:{message:s}}}:{}})}strip(){return new Zt({...this._def,unknownKeys:"strip"})}passthrough(){return new Zt({...this._def,unknownKeys:"passthrough"})}extend(t){return new Zt({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Zt({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ue.ZodObject})}setKey(t,i){return this.augment({[t]:i})}catchall(t){return new Zt({...this._def,catchall:t})}pick(t){const i={};for(const r of lt.objectKeys(t))t[r]&&this.shape[r]&&(i[r]=this.shape[r]);return new Zt({...this._def,shape:()=>i})}omit(t){const i={};for(const r of lt.objectKeys(this.shape))t[r]||(i[r]=this.shape[r]);return new Zt({...this._def,shape:()=>i})}deepPartial(){return Js(this)}partial(t){const i={};for(const r of lt.objectKeys(this.shape)){const s=this.shape[r];t&&!t[r]?i[r]=s:i[r]=s.optional()}return new Zt({...this._def,shape:()=>i})}required(t){const i={};for(const r of lt.objectKeys(this.shape))if(t&&!t[r])i[r]=this.shape[r];else{let o=this.shape[r];for(;o instanceof br;)o=o._def.innerType;i[r]=o}return new Zt({...this._def,shape:()=>i})}keyof(){return gT(lt.objectKeys(this.shape))}}Zt.create=(e,t)=>new Zt({shape:()=>e,unknownKeys:"strip",catchall:kr.create(),typeName:Ue.ZodObject,...Ze(t)});Zt.strictCreate=(e,t)=>new Zt({shape:()=>e,unknownKeys:"strict",catchall:kr.create(),typeName:Ue.ZodObject,...Ze(t)});Zt.lazycreate=(e,t)=>new Zt({shape:e,unknownKeys:"strip",catchall:kr.create(),typeName:Ue.ZodObject,...Ze(t)});class xd extends it{_parse(t){const{ctx:i}=this._processInputParams(t),r=this._def.options;function s(o){for(const d of o)if(d.result.status==="valid")return d.result;for(const d of o)if(d.result.status==="dirty")return i.common.issues.push(...d.ctx.common.issues),d.result;const u=o.map(d=>new _a(d.ctx.common.issues));return ge(i,{code:ue.invalid_union,unionErrors:u}),Be}if(i.common.async)return Promise.all(r.map(async o=>{const u={...i,common:{...i.common,issues:[]},parent:null};return{result:await o._parseAsync({data:i.data,path:i.path,parent:u}),ctx:u}})).then(s);{let o;const u=[];for(const f of r){const h={...i,common:{...i.common,issues:[]},parent:null},p=f._parseSync({data:i.data,path:i.path,parent:h});if(p.status==="valid")return p;p.status==="dirty"&&!o&&(o={result:p,ctx:h}),h.common.issues.length&&u.push(h.common.issues)}if(o)return i.common.issues.push(...o.ctx.common.issues),o.result;const d=u.map(f=>new _a(f));return ge(i,{code:ue.invalid_union,unionErrors:d}),Be}}get options(){return this._def.options}}xd.create=(e,t)=>new xd({options:e,typeName:Ue.ZodUnion,...Ze(t)});function Kp(e,t){const i=mr(e),r=mr(t);if(e===t)return{valid:!0,data:e};if(i===Se.object&&r===Se.object){const s=lt.objectKeys(t),o=lt.objectKeys(e).filter(d=>s.indexOf(d)!==-1),u={...e,...t};for(const d of o){const f=Kp(e[d],t[d]);if(!f.valid)return{valid:!1};u[d]=f.data}return{valid:!0,data:u}}else if(i===Se.array&&r===Se.array){if(e.length!==t.length)return{valid:!1};const s=[];for(let o=0;o<e.length;o++){const u=e[o],d=t[o],f=Kp(u,d);if(!f.valid)return{valid:!1};s.push(f.data)}return{valid:!0,data:s}}else return i===Se.date&&r===Se.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class bd extends it{_parse(t){const{status:i,ctx:r}=this._processInputParams(t),s=(o,u)=>{if(gw(o)||gw(u))return Be;const d=Kp(o.value,u.value);return d.valid?((yw(o)||yw(u))&&i.dirty(),{status:i.value,value:d.data}
vendor: 4,144 bytes, line 234
234):(ge(r,{code:ue.invalid_intersection_types}),Be)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([o,u])=>s(o,u)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}bd.create=(e,t,i)=>new bd({left:e,right:t,typeName:Ue.ZodIntersection,...Ze(i)});class as extends it{_parse(t){const{status:i,ctx:r}=this._processInputParams(t);if(r.parsedType!==Se.array)return ge(r,{code:ue.invalid_type,expected:Se.array,received:r.parsedType}),Be;if(r.data.length<this._def.items.length)return ge(r,{code:ue.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Be;!this._def.rest&&r.data.length>this._def.items.length&&(ge(r,{code:ue.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),i.dirty());const o=[...r.data].map((u,d)=>{const f=this._def.items[d]||this._def.rest;return f?f._parse(new Sr(r,u,r.path,d)):null}).filter(u=>!!u);return r.common.async?Promise.all(o).then(u=>Zn.mergeArray(i,u)):Zn.mergeArray(i,o)}get items(){return this._def.items}rest(t){return new as({...this._def,rest:t})}}as.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new as({items:e,typeName:Ue.ZodTuple,rest:null,...Ze(t)})};class Cw extends it{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:i,ctx:r}=this._processInputParams(t);if(r.parsedType!==Se.map)return ge(r,{code:ue.invalid_type,expected:Se.map,received:r.parsedType}),Be;const s=this._def.keyType,o=this._def.valueType,u=[...r.data.entries()].map(([d,f],h)=>({key:s._parse(new Sr(r,d,r.path,[h,"key"])),value:o._parse(new Sr(r,f,r.path,[h,"value"]))}));if(r.common.async){const d=new Map;return Promise.resolve().then(async()=>{for(const f of u){const h=await f.key,p=await f.value;if(h.status==="aborted"||p.status==="aborted")return Be;(h.status==="dirty"||p.status==="dirty")&&i.dirty(),d.set(h.value,p.value)}return{status:i.value,value:d}})}else{const d=new Map;for(const f of u){const h=f.key,p=f.value;if(h.status==="aborted"||p.status==="aborted")return Be;(h.status==="dirty"||p.status==="dirty")&&i.dirty(),d.set(h.value,p.value)}return{status:i.value,value:d}}}}Cw.create=(e,t,i)=>new Cw({valueType:t,keyType:e,typeName:Ue.ZodMap,...Ze(i)});class Xo extends it{_parse(t){const{status:i,ctx:r}=this._processInputParams(t);if(r.parsedType!==Se.set)return ge(r,{code:ue.invalid_type,expected:Se.set,received:r.parsedType}),Be;const s=this._def;s.minSize!==null&&r.data.size<s.minSize.value&&(ge(r,{code:ue.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),i.dirty()),s.maxSize!==null&&r.data.size>s.maxSize.value&&(ge(r,{code:ue.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),i.dirty());const o=this._def.valueType;function u(f){const h=new Set;for(const p of f){if(p.status==="aborted")return Be;p.status==="dirty"&&i.dirty(),h.add(p.value)}return{status:i.value,value:h}}const d=[...r.data.values()].map((f,h)=>o._parse(new Sr(r,f,r.path,h)));return r.common.async?Promise.all(d).then(f=>u(f)):u(d)}min(t,i){return new Xo({...this._def,minSize:{value:t,message:Te.toString(i)}})}max(t,i){return new Xo({...this._def,maxSize:{value:t,message:Te.toString(i)}})}size(t,i){return this.min(t,i).max(t,i)}nonempty(t){return this.min(1,t)}}Xo.create=(e,t)=>new Xo({valueType:e,minSize:null,maxSize:null,typeName:Ue.ZodSet,...Ze(t)});class Aw extends it{get schema(){return this._def.getter()}_parse(t){const{ctx:i}=this._processInputParams(t);return this._def.getter()._parse({data:i.data,path:i.path,parent:i})}}Aw.create=(e,t)=>new Aw({getter:e,typeName:Ue.ZodLazy,...Ze(t)});class Ew extends it{_parse(t){if(t.data!==this._def.value){const i=this._getOrReturnCtx(t);return ge(i,{received:i.data,code:ue.invalid_literal,expected:this._def.value}),Be}return{status:"valid",value:t.data}}get value(){return this._def.value}}Ew.create=(e,t)=>
vendor: 4,437 bytes, line 234
234new Ew({value:e,typeName:Ue.ZodLiteral,...Ze(t)});function gT(e,t){return new cl({values:e,typeName:Ue.ZodEnum,...Ze(t)})}class cl extends it{_parse(t){if(typeof t.data!="string"){const i=this._getOrReturnCtx(t),r=this._def.values;return ge(i,{expected:lt.joinValues(r),received:i.parsedType,code:ue.invalid_type}),Be}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const i=this._getOrReturnCtx(t),r=this._def.values;return ge(i,{received:i.data,code:ue.invalid_enum_value,options:r}),Be}return gi(t.data)}get options(){return this._def.values}get enum(){const t={};for(const i of this._def.values)t[i]=i;return t}get Values(){const t={};for(const i of this._def.values)t[i]=i;return t}get Enum(){const t={};for(const i of this._def.values)t[i]=i;return t}extract(t,i=this._def){return cl.create(t,{...this._def,...i})}exclude(t,i=this._def){return cl.create(this.options.filter(r=>!t.includes(r)),{...this._def,...i})}}cl.create=gT;class jw extends it{_parse(t){const i=lt.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Se.string&&r.parsedType!==Se.number){const s=lt.objectValues(i);return ge(r,{expected:lt.joinValues(s),received:r.parsedType,code:ue.invalid_type}),Be}if(this._cache||(this._cache=new Set(lt.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const s=lt.objectValues(i);return ge(r,{received:r.data,code:ue.invalid_enum_value,options:s}),Be}return gi(t.data)}get enum(){return this._def.values}}jw.create=(e,t)=>new jw({values:e,typeName:Ue.ZodNativeEnum,...Ze(t)});class vd extends it{unwrap(){return this._def.type}_parse(t){const{ctx:i}=this._processInputParams(t);if(i.parsedType!==Se.promise&&i.common.async===!1)return ge(i,{code:ue.invalid_type,expected:Se.promise,received:i.parsedType}),Be;const r=i.parsedType===Se.promise?i.data:Promise.resolve(i.data);return gi(r.then(s=>this._def.type.parseAsync(s,{path:i.path,errorMap:i.common.contextualErrorMap})))}}vd.create=(e,t)=>new vd({type:e,typeName:Ue.ZodPromise,...Ze(t)});class dl extends it{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ue.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:i,ctx:r}=this._processInputParams(t),s=this._def.effect||null,o={addIssue:u=>{ge(r,u),u.fatal?i.abort():i.dirty()},get path(){return r.path}};if(o.addIssue=o.addIssue.bind(o),s.type==="preprocess"){const u=s.transform(r.data,o);if(r.common.async)return Promise.resolve(u).then(async d=>{if(i.value==="aborted")return Be;const f=await this._def.schema._parseAsync({data:d,path:r.path,parent:r});return f.status==="aborted"?Be:f.status==="dirty"||i.value==="dirty"?Eo(f.value):f});{if(i.value==="aborted")return Be;const d=this._def.schema._parseSync({data:u,path:r.path,parent:r});return d.status==="aborted"?Be:d.status==="dirty"||i.value==="dirty"?Eo(d.value):d}}if(s.type==="refinement"){const u=d=>{const f=s.refinement(d,o);if(r.common.async)return Promise.resolve(f);if(f instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return d};if(r.common.async===!1){const d=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return d.status==="aborted"?Be:(d.status==="dirty"&&i.dirty(),u(d.value),{status:i.value,value:d.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(d=>d.status==="aborted"?Be:(d.status==="dirty"&&i.dirty(),u(d.value).then(()=>({status:i.value,value:d.value}))))}if(s.type==="transform")if(r.common.async===!1){const u=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!ul(u))return Be;const d=s.transform(u.value,o);if(d instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:i.value,value:d}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(u=>ul(u)?Promise.resolve(s.transform(u.value,o)).then(d=>({status:i.value,value:d})):Be);lt.assertNever(s)}}dl.create=(e,t,i)=>new dl({schema:e,typeName:Ue.ZodEffects,effect:t,...Ze(i)});dl.createWithPreprocess=(e,t,i)=>new dl({schema:t,effect:{type:"preprocess",transform:e},typeName:Ue.ZodEffects,...Ze(i)});class br extends it{_parse(t){return this._getType(t)===Se.undefined?gi(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}br.create=(e,t)=>
234new br({innerType:e,typeName:Ue.ZodOptional,...Ze(t)});class fl extends it{_parse(t){return this._getType(t)===Se.null?gi(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}fl.create=(e,t)=>new fl({innerType:e,typeName:Ue.ZodNullable,...Ze(t)});class Gp extends it{_parse(t){const{ctx:i}=this._processInputParams(t);let r=i.data;return i.parsedType===Se.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:i.path,parent:i})}removeDefault(){return this._def.innerType}}Gp.create=(e,t)=>new Gp({innerType:e,typeName:Ue.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Ze(t)});class Yp extends it{_parse(t){const{ctx:i}=this._processInputParams(t),r={...i,common:{...i.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return gd(s)?s.then(o=>({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new _a(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new _a(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Yp.create=(e,t)=>new Yp({innerType:e,typeName:Ue.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Ze(t)});class Nw extends it{_parse(t){if(this._getType(t)!==Se.nan){const r=this._getOrReturnCtx(t);return ge(r,{code:ue.invalid_type,expected:Se.nan,received:r.parsedType}),Be}return{status:"valid",value:t.data}}}Nw.create=e=>new Nw({typeName:Ue.ZodNaN,...Ze(e)});class vL extends it{_parse(t){const{ctx:i}=this._processInputParams(t),r=i.data;return this._def.type._parse({data:r,path:i.path,parent:i})}unwrap(){return this._def.type}}class sy extends it{_parse(t){const{status:i,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const o=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?Be:o.status==="dirty"?(i.dirty(),Eo(o.value)):this._def.out._parseAsync({data:o.value,path:r.path,parent:r})})();{const s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Be:s.status==="dirty"?(i.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(t,i){return new sy({in:t,out:i,typeName:Ue.ZodPipeline})}}class Zp extends it{_parse(t){const i=this._def.innerType._parse(t),r=s=>(ul(s)&&(s.value=Object.freeze(s.value)),s);return gd(i)?i.then(s=>r(s)):r(i)}unwrap(){return this._def.innerType}}Zp.create=(e,t)=>new Zp({innerType:e,typeName:Ue.ZodReadonly,...Ze(t)});var Ue;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ue||(Ue={}));const xe=xr.create,yT=qp.create;kr.create;const wn=Gi.create,Wt=Zt.create;xd.create;bd.create;as.create;const wL=cl.create;vd.create;br.create;fl.create;const SL=Wt({id:xe(),slug:xe().min(1),title:xe(),excerpt:xe(),content:xe(),author:xe().optional(),publishedAt:xe(),updatedAt:xe().optional(),category:xe().optional(),tags:wn(xe()).optional(),featuredImage:xe().optional(),seoTitle:xe().optional(),seoDescription:xe().optional(),published:yT(),status:wL(["published","scheduled","draft"]).optional()}),nn={data:{blog:wn(SL).superRefine((e,t)=>{const i=new Set;e.forEach((r,s)=>{i.has(r.slug)&&t.addIssue({code:ue.custom,message:`duplicate blog slug "${r.slug}"`,path:[s,"slug"]}),i.add(r.slug)})})},pages:{about:Wt({expertise:wn(xe()),countries:wn(xe()),fellowships:wn(Wt({org:xe(),programme:xe(),role:xe(),id:xe()})),education:wn(Wt({type:xe(),items:wn(xe()),id:xe()}))}),consultancy:Wt({services:wn(Wt({title:xe(),description:xe(),id:xe()})),recentClients:wn(Wt({category:xe(),entries:wn(Wt({description:xe(),period:xe(),id:xe()})),id:xe()}))}),affiliations:Wt({fellowships:wn(Wt({org:xe(),programme:xe(),role:xe(),detail:xe(),period:xe(),current:yT(),id:xe()})),memberships:wn(Wt({org:xe(),role:xe(),detail:xe(),id:xe()}))}
234),media:Wt({pullQuotes:wn(Wt({quote:xe(),outlet:xe(),date:xe(),id:xe()}))}),privacy_policy:Wt({sections:wn(Wt({heading:xe(),body:wn(xe()),id:xe()}))}),blog_page:Wt({eyebrow:xe(),title:xe(),intro:xe(),emptyTitle:xe(),emptyBody:xe(),clearFilters:xe(),previous:xe(),next:xe(),pageLabel:xe()}),home:Wt({recentPublication:Wt({label:xe(),title:xe(),description:xe(),meta:xe(),coAuthor:xe(),href:xe(),linkLabel:xe(),partTwoHref:xe(),partTwoLinkLabel:xe()})}),publications:Wt({intro:xe()})}},Ea={parse:e=>e};var RS,MS,_S,DS,zS,LS,OS,PS;const Cr={about:(((RS=nn.pages)==null?void 0:RS.about)??nn.about??Ea).parse({expertise:["Law of Armed Conflict","International Criminal Law","Armed Non-State Actors","Counter-terrorism","Customary International Law","International Human Rights Law","International Cultural Heritage Law","Public International Law","UN Investigative Mechanisms"],countries:["Afghanistan","Belarus","Ethiopia (Tigray)","former Yugoslavia","Iran","Iraq","Israel/Palestine (incl. Golan Heights)","Libya","Myanmar (Rakhine/Rohingya & post-2021 coup)","South Sudan","Sudan","Syria","Ukraine","Yemen"],fellowships:[{org:"Atlantic Council",programme:"Strategic Litigation Project | Rafik Hariri Center & Middle East Programs",role:"Nonresident Senior Fellow",id:"IWoHbSWOtNdkkfbYPmRel"},{org:"International Centre for Counter-Terrorism â The Hague (ICCT)",programme:"Rule of Law Responses to Terrorism Programme",role:"Associate Fellow",id:"Jqo8vft6SwOblpvsWjCoN"}],education:[{type:"Degrees",items:["Master of Laws, Advanced Studies in Public International Law (LL.M. (Adv.))|Leiden University","Juris Doctor (J.D.)|University of WisconsinâMadison"],id:"jTHs0--Ia6w2DZu49dn_z"}]}),affiliations:(((MS=nn.pages)==null?void 0:MS.affiliations)??nn.affiliations??Ea).parse({fellowships:[{org:"Atlantic Council",programme:"Strategic Litigation Project | Rafik Hariri Center & Middle East Programs",role:"Nonresident Senior Fellow",detail:"International criminal law & international humanitarian law portfolio",period:"June 2024 â Present",current:!0,id:"f8ar2hQJN40eX7OfTr3U4"},{org:"International Centre for Counter-Terrorism â The Hague (ICCT)",programme:"Rule of Law Responses to Terrorism Programme",role:"Associate Fellow",detail:"",period:"January 2024 â Present",current:!0,id:"_jXS9F0E_N9Cs0BtvjUHy"},{org:"Gender Justice Practitioner Hub",programme:"",role:"Advisory Council Member",detail:"Global network of practitioners advancing gender justice in international accountability",period:"August 2026 â Present",current:!0,id:"gJPH_advisory_council_2026"},{org:"SOAS Food Studies Centre, SOAS University of London",programme:"",role:"Associate Member",detail:"Interdisciplinary centre examining the political, economic, and cultural dimensions of food",period:"June 2026 â Present",current:!0,id:"nCrOnnvbQmdWF22LZf7qq"},{org:"Core group of experts on the Wagner Group",programme:"",role:"Member",detail:"International specialists analysing the activities, legal accountability, and global security impacts of the Russian private military organisation",period:"March â October 2025",current:!1,id:"h9cWvIT2aHWCRuHzp7A6c"},{org:"Generating Respect Project",programme:"",role:"Advisory Board Member",detail:"Examined how religious leaders influence the behaviours of State and non-State parties to armed conflicts",period:"January 2020 â 2023",current:!1,id:"7tXbF_sgK78wbBR5qYpKb"}],memberships:[{org:"Justice Rapid Response (JRR)",role:"Rostered Expert",detail:"Prosecution Expert on (i) crimes affecting cultural heritage and (ii) on the law of occupation",id:"4AcmOzbPxwXU3tlNQ_AJI"},{org:"International Society for Military Law and The Law of War (ISMLLW)",role:"Member",detail:"",id:"Iw5GSHRl98iNX2OZWtRj-"}]}),blog_page:(((_S=nn.pages)==null?void 0:_S.blog_page)??nn.blog_page??Ea).parse({eyebrow:"Journal",title:"Notes & Analysis",intro:"Sporadic analysis and commentary on international law, armed conflict, and accountability",emptyTitle:"Coming soon",emptyBody:"",clearFilters:"Clear filters",previous:"Previous",next:"Next",pageLabel:"Page"}),consultancy:(((DS=nn.pages)==null?void 0:DS.consultancy)??nn.consultancy??Ea).parse({services:[{title:"Starvation",description:"Starvation as a method of warfare, famine, and food insecurity in emergencie
234s",id:"svc_starvation"},{title:"Law of Occupation",description:"Legal analysis of occupation, including the administration of occupied territory, public and private property, usufruct and natural resources, cultural property, and de facto annexation.",id:"svc_occupation"},{title:"Legal Opinions",description:"Preparation of legal opinions and memoranda on complex questions of armed conflict, atrocity crimes, and international accountability.",id:"svc_opinions"},{title:"Reports",description:"Drafting major human rights reports and peer review of unpublished reports",id:"svc_reports"},{title:"Investigations",description:"Conducting survivor-centred, trauma-informed field investigations, including interviews with survivors, witnesses, and defectors",id:"svc_investigations"},{title:"Training",description:"Designing and delivering bespoke training on international humanitarian law, international criminal law, and human rights law",id:"svc_training"},{title:"eDiscovery",description:"Evidence management and preservation, including eDiscovery and cooperation between civil society and national authorities",id:"svc_ediscovery"},{title:"OSINT",description:"Legal assessment of open-source and digital evidence, including geospatial analysis and satellite imagery",id:"svc_osint"},{title:"Conflict Analysis",description:"Conducting conflict analysis, including actor mapping, relationship analysis, and hypothesis development",id:"svc_conflict"}],recentClients:[{category:"Starvation as a method of warfare",entries:[{description:"[Redacted], for which he provided confidential legal advice to a national government in connection with a major war crimes prosecution concerning large-scale conduct arising from an on-going armed conflict.",period:"2026",id:"ncx2Eauinllzykk6FCjX0"},{description:"A prominent legal organisation based in Geneva, where he played a key role in advancing strategic litigation on behalf of victims and survivors of core international crimes (including by leading the analysis and findings on starvation as a method of warfare), before national jurisdictions including in Europe and Africa.",period:"2024â25",id:"ncx2Eauinllzykk6FCjX0"},{description:"[Redacted], for which he provided legal analysis to a national government pursuing war crimes prosecutions during an active and on-going armed conflict (including assessments of starvation as a method of warfare and associated starvation crimes).",period:"2023â24",id:"jRf6t_x8ag6HnlFxgFZiD"},{description:"The United Nations, for which he was contracted as an Expert to work on atrocity crimes determinations (including assessments of starvation as a method of warfare and associated starvation crimes).",period:"2023",id:"OddEHv1JWAbRWA8lbzLZh"}],id:"JkWiiAtbXNEGMUPj3WaX7"},{category:"Other engagements",entries:[{description:"[Redacted], by whom he was contracted to prepare a draft resolution for consideration by a group of Member States on human rights violations and atrocity crimes perpetrated by [redacted], including pathways for accountability.",period:"2025",id:"g_GX7xWgJYPmGGzNaF6R0"},{description:"[Redacted], by whom he was invited to deliver a high-level, confidential briefing to 24 UN Human Rights Council Member States, addressing critical accountability strategies for core atrocity crimes by a specific perpetrator operating in multiple jurisdictions.",period:"2025",id:"asqWCyXM6Z80KUcLlJOtY"},{description:"A major nonpartisan think tank, for which he was contracted to research and author a comprehensive investigative report on Iran's military involvement, roles, and violations perpetrated by its armed forces and allied militias in the Syrian conflict.",period:"2024â25",id:"Pl6ENZoWLMW1m8WYDDaU-"},{description:"A leading NGO, for which he was commissioned as the Senior Legal Adviser to conduct confidential interviews and produce a report concerning the efficacy of the evidence preservation efforts and archiving by UN atrocity inquiries.",period:"2023â24",id:"z9WZeOLIua34_d9YCLQtc"}],id:"ss502gvLc1M9SAiNsRnP0"}]}),home:(((zS=nn.pages)==null?void 0:zS.home)??nn.home??Ea).parse({recentPublication:{label:"Latest publication",title:"Minding the Gap, Properly",description:"Conflict Classification, Protected Persons, and What the Geneva Conventions Already Require",meta:"Opinio Juris · Featured Post · 28 August 2026",coAuthor:"with Jérôme de Hemptinne",href:"https://opiniojuris.org/2026/08/28/minding-the-gap-properly-conflict-classification-protected-persons-and-what-the-geneva-conventions-already-require-part-i/",linkLabel:"Read Part I",partTwoHref:"https://opiniojuris.org/2026/08/28/minding-the-gap-properly-conflict-classification-protected-persons-and-what-the-geneva-conventions-already-require-part-ii/",partTwoLinkLabel:"Read Part II"}}),media:(((LS=nn.pages)==null?void 0:LS.media)??nn.media??Ea).parse({pullQuotes:[{quote:"Not once through the 85-day offensive was there any pause in which they allowed humanitarian aid to enter Mariupol. There were numerous opportunities for Ru
234ssian forces to alleviate civilian suffering, he said, but they failed to do so.",outlet:"CNN",date:"Thursday, 13 June 2024",id:"YEQbOlNx3U9zR3YFMUKVQ"},{quote:"The IDF would not comment on the military advantage sought or achieved. 'What was the urgency? This is not yet being demonstrated,' said Yousuf Syed Khan, a senior lawyer with Global Rights Compliance, a law firm, who has drafted U.N. reports on siege warfare.",outlet:"The Washington Post",date:"Thursday, 21 December 2023",id:"XucwX7ZVMK6pdeAjyEKgb"},{quote:"Packed community venues offering food are deliberately targeted during peak visiting hours, either to deprive residents of their sustenance value, or simply to sow and spread terror.",outlet:"Al Jazeera",date:"5 October 2023",id:"oOWKAy1aiEJJpFzqXAvcZ"},{quote:"Putin could bear responsibility for having committed the acts directly, jointly with others and/or through others, and for a failure to exercise proper control over Russian military or others accused of specific criminal acts.",outlet:"The Guardian",date:"Sunday, 24 September 2023",id:"Wq_prPNnLS5Z85eHtsWhe"}]}),privacy_policy:(((OS=nn.pages)==null?void 0:OS.privacy_policy)??nn.privacy_policy??Ea).parse({sections:[{id:"intro",heading:"Your privacy matters.",body:["There are instances where yousuf.com may request information that identifies you personally for the purpose of corresponding with you or of providing you with specific services. Information that you supply in this way will not be shared with any third parties."]},{id:"how-used",heading:"How is the information used?",body:["We do not distribute, sell, or rent user information to anyone. We use the information collected about you to improve the understanding of web visitors and to send information that you have requested or that may be considered of interest to you."]},{id:"who-collecting",heading:"Who is collecting the information?",body:["Any personal information that you disclose on this website is shared only with Yousuf Syed Khan, unless stated otherwise."]},{id:"shared-with",heading:"With whom may the information be shared?",body:["As a general rule, we will not disclose any information identifying you personally, except with your permission or where required by law."]},{id:"choices",heading:"What choices are available to you regarding the collection, use, and distribution of the information?",body:["Any information on consulting services that you request to receive will be sent to you electronically or by other means. When you submit information using the contact form, we will maintain your information unless and until you ask us to delete this information. We may also send you unsolicited e-mail messages if we feel they may be of interest to you."]},{id:"cookies",heading:"Use of cookies",body:['We may collect data, which may include personal data, through the use of "cookies" that are stored on your device (eg, computer, phone, or tablet) to enhance your browsing experience. A cookie is a small text file sent by our web server to your browser, allowing the website to recognise your browser and remember certain information about your visit.',"When you visit our website, a cookie banner will appear, giving you the option to accept non-essential cookies. Your consent is required before we place any cookies that are not strictly necessary for the operation of the website."]},{id:"disclaimer",heading:"Disclaimer",body:["Yousuf Syed Khan is fully compliant with French business regulations and officially registered with a valid SIREN/SIRET number. This registration ensures full legal and administrative transparency in France, affirming commitment to operating in accordance with local laws and best practices.","The information contained in this website is educational and intended for informational purposes only. It does not constitute legal advice. While some of the content may relate to legal issues, it does not constitute the practice of law and should not be relied upon as such."]}]}),publications:(((PS=nn.pages)==null?void 0:PS.publications)??nn.publications??Ea).parse({intro:"Yousuf Syed Khan has conceptualised and led the drafting of more than a dozen public UN reports, as well as several major investigative and legal reports for international NGOs, in addition to the publications below. These include reports addressing starvation as a method of warfare, siege warfare, pillage and the unlawful appropriation of agricultural resources in occupied territory, forced displacement, detention, and other core international crimes."})};var BS;const Zc={blog:(((BS=nn.data)==null?void 0:BS.blog)??nn.blog??Ea).parse([])},zm=Cr.about,Rw=Cr.affiliations,Ca=Cr.blog_page,Mw=Cr.consultancy,Aa=Cr.home,kL=Cr.media,TL=Cr.privacy_policy,CL=Cr.publications,AL=Zc.blog,Vi="https://yousuf.com",EL={"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":`${Vi}/#website`,name:"Yousuf Syed Khan",url:`${Vi}/`},{"@type":"Person","@id":`${Vi}/#person`,name:"Yousuf Syed Khan",url:`${Vi}/`,jobTitle:"Jurist & Conflict Analyst",description:"Jurist and conflict analyst advising on armed conflict, atrocity crimes, international humanitarian law, and accountability.",address:{"@type":"PostalAddress",addressLocality:"Geneva",addressCountry:"CH"},sameAs:["https://www.x.com/yousufsyedkhan"]},{"@type":"WebPage","@id":`${Vi}/#webpage`,url:`${Vi}/`,name:"Jurist & Conflict Analyst | Yousuf Syed Khan",isPartOf:{"@id":`${Vi}/#website`},about:{"@id":`${Vi}/#person`},datePublished:"2023-01-01",dateModified:"2026-08-20"}]};function jL(){return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:"Jurist & Conflict Analyst | Yousuf Syed Khan"}),y.jsx("meta",{name:"description",content:"Jurist and conflict analyst advising on armed conflict, atrocity crimes, international humanitarian law, and accountability."}),y.jsx("link",{rel:"canonical",href:`${Vi}
234/`}),y.jsx("meta",{property:"og:title",content:"Jurist & Conflict Analyst | Yousuf Syed Khan"}),y.jsx("meta",{property:"og:description",content:"Jurist and conflict analyst advising on armed conflict, atrocity crimes, international humanitarian law, and accountability."}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:`${Vi}/`}),y.jsx("meta",{property:"og:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:"Jurist & Conflict Analyst | Yousuf Syed Khan"}),y.jsx("meta",{name:"twitter:description",content:"Jurist and conflict analyst advising on armed conflict, atrocity crimes, international humanitarian law, and accountability."}),y.jsx("meta",{name:"twitter:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(EL)})]}),y.jsxs("main",{children:[y.jsx("h1",{className:"sr-only",children:"Jurist & Conflict Analyst | Yousuf Syed Khan"}),y.jsx(Gz,{}),y.jsx("section",{"aria-labelledby":"recent-publication-heading",className:"border-y border-border bg-muted",children:y.jsxs("div",{className:"mx-auto grid max-w-7xl grid-cols-1 gap-5 px-6 py-8 md:grid-cols-[minmax(0,1fr)_auto] md:items-center md:px-10",children:[y.jsxs("div",{className:"min-w-0",children:[y.jsx("p",{className:"mb-2 text-sm font-sans text-primary",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"8a6fc1",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.recentPublication.label",contentKeyTemplate:null,expressionHash:null},children:Aa.recentPublication.label})}),y.jsx("h2",{id:"recent-publication-heading",className:"font-heading text-3xl leading-tight text-foreground md:text-4xl",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"d4432b",guard:{file:"src/pages/index.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"home.recentPublication.title",contentKeyTemplate:null,expressionHash:null},children:Aa.recentPublication.title})}),y.jsx("p",{className:"mt-2 max-w-2xl font-sans text-sm leading-relaxed text-muted-foreground md:text-base",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"8a6fc2",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.recentPublication.description",contentKeyTemplate:null,expressionHash:null},children:Aa.recentPublication.description})}),y.jsxs("p",{className:"mt-3 font-sans text-xs text-muted-foreground",children:[y.jsx("span",{style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"ba6f46",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.recentPublication.meta",contentKeyTemplate:null,expressionHash:null},children:Aa.recentPublication.meta})}),y.jsx("span",{children:" · "}),y.jsx("em",{children:Aa.recentPublication.coAuthor})]})]}),y.jsxs("div",{className:"flex flex-col items-start gap-2",children:[y.jsxs("a",{href:Aa.recentPublication.href,target:"_blank",rel:"noreferrer",className:"inline-flex w-fit items-center gap-2 font-sans text-sm text-primary transition-colors duration-200 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-card",children:[y.jsx("span",{style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"8ba1f6",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.recentPublication.linkLabel",contentKeyTemplate:null,expressionHash:null},children:Aa.recentPublication.linkLabel})}),y.jsx(e1,{"aria-hidden":"true",className:"size-4"})]}),y.jsxs("a",{href:Aa.recentPublication.partTwoHref,target:"_blank",rel:"noreferrer",className:"inline-flex w-fit items-center gap-2 font-sans text-sm text-primary transition-colors duration-200 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-card",children:[y.jsx("span",{style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"cd76d7",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.recentPublication.partTwoLinkLabel",contentKeyTemplate:null,expressionH
234ash:null},children:Aa.recentPublication.partTwoLinkLabel})}),y.jsx(e1,{"aria-hidden":"true",className:"size-4"})]})]})]})}),y.jsx(Zz,{})]})]})}const $p="https://yousuf.com",wd=`${$p}/about`,$c="About | Yousuf Syed Khan",Lm="Meet Yousuf Syed Khan, a Geneva-based international law consultant with 15+ years of experience in armed conflict, atrocity crimes, and accountability.",NL={"@context":"https://schema.org","@type":"AboutPage","@id":`${wd}#webpage`,name:$c,url:wd,isPartOf:{"@id":`${$p}/#website`},about:{"@id":`${$p}/#person`}};function RL(){return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:$c}),y.jsx("meta",{name:"description",content:Lm}),y.jsx("link",{rel:"canonical",href:wd}),y.jsx("meta",{property:"og:title",content:$c}),y.jsx("meta",{property:"og:description",content:Lm}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:wd}),y.jsx("meta",{property:"og:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:$c}),y.jsx("meta",{name:"twitter:description",content:Lm}),y.jsx("meta",{name:"twitter:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(NL)})]}),y.jsxs("main",{children:[y.jsx("section",{className:"pt-36 pb-20 md:pt-44 md:pb-24 border-b border-border",style:{background:"hsl(var(--background))"},children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsx(Ce.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-5",children:"About"}),y.jsx(Ce.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.65,delay:.08,ease:"easeOut"},className:"font-heading font-bold text-foreground leading-[1.1] max-w-3xl",style:{fontSize:"clamp(36px, 5vw, 64px)"},children:y.jsx("span",{style:{fontWeight:"normal"},children:y.jsx("strong",{children:"Yousuf Syed Khan"})})})]})}),y.jsx("section",{className:"py-20 md:py-28 bg-card",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10 grid grid-cols-1 lg:grid-cols-[1fr_340px] gap-16 lg:gap-24",children:[y.jsxs(Ce.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,ease:"easeOut"},className:"space-y-6",children:[y.jsx("p",{className:"leading-[1.85] text-muted-foreground font-sans font-light",style:{fontSize:"17px"},children:"Yousuf Syed Khan has over 15 years' legal experience dealing with complex conflict situations, with specific expertise in starvation as a method of warfare and siege warfare."}),y.jsx("p",{className:"leading-[1.85] text-muted-foreground font-sans font-light",style:{fontSize:"17px"},children:"Yousuf has served on four commissions and investigative/accountability bodies established by the UN Human Rights Council (Syria; South Sudan; Belarus; and Ethiopia). In these capacities, he conceptualised and led the drafting of over a dozen public UN reports â including the first-ever report by a UN-mandated mechanism on starvation as a method of warfare. Several of his most visible legal contributions have centred on the use of siege warfare, attacks against objects indispensable to the survival of the civilian population, and forced displacement as a warring strategy."}),y.jsx("p",{className:"leading-[1.85] text-muted-foreground font-sans font-light",style:{fontSize:"17px"},children:"In addition to these roles, Yousuf co-led a team of international and local lawyers to implement a national investigative strategy on accountability for starvation as a method of warfare in Ukraine; worked in human rights with the UN in Afghanistan (both in Kabul and in a Taliban stronghold on the southeastern border with Pakistan); led a team monitoring the post-ISIL administration of justice nationwide with the UN in Iraq; and served with the Trial Chambers of the International Criminal Tribunal for the former Yugoslavia (ICTY) in The Hague."}),y.jsx("p",{className:"leading-[1.85] text-muted-foreground font-sans font-light",style:{fontSize:"17px"},children:"Before joining the United Nations, he was a Legal Consultant to Professor M. Cherif Bassiouni, analysing war crimes and crimes against humanity in Libya, a Legal Adviser on issues of belligerent occupation and de facto annexation in the Golan Heights, and an attorney practising at a prominent law firm in the United States."}),y.jsx("p",{className:"leading-[1.85] text-muted-foreground font-sans font-light",style:{fontSize:"17px"},children:"Yousuf is also a recognised Prosecution Expert on crimes affecting cultural heritage and on the law of occupation, and is rostered in both areas with Justice Rapid Response (JRR), an intergovernmental mechanism of criminal justice experts. He has published various peer-reviewed articles and chapters in renowned international journals and edited volumes, and speaks and lectures frequently on international humanitarian law."}),y.jsx("p",{className:"leading-[1.85] text-muted-foreground font-sans font-light",style:{fontSize:"17px"},children:"Yousuf holds a Juris Doctor from the University of Wisconsin-Madison and an Advanced LL.M. in Public International Law from Leiden University, where he wrote his thesis under the supervision of eminent jurist John Dugard. Having worked in 10 countries across four continents, he is currently based in Geneva."})]}),y.jsxs(Ce.aside,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.15,ease:"easeOut"},className:"space-y-10",children:[y.jsxs("div",{children:[y.jsx("h2",{className:"text-xs uppercase tracking-[0.2em] text-primary font-sans font-medium mb-4",children:"Areas of Expertise"}),y.jsx("div",{className:"flex flex-wrap gap-2",children:zm.expertise.map(e=>y.jsx("span",{className:"text-xs uppercase tracking-[0.1em] px-3 py-1.5 border border-border text-muted-foreground font-sans",style:{whiteSpace:"pre-line"},children:e},e))})]}),y.jsxs("div",{children:[y.jsx("h2",{className:"text-xs uppercase tracking-[0.2em] text-primary font-sans font-medium mb-4",children:"Country experience"}),y.jsx("ul",{className:"space-y-1.5",children:zm.countries.map(e=>y.jsxs("li",{className:"text-sm text-muted-foreground font-sans font-light flex items-start gap-2",children:[y.jsx("span",{className:"text-primary mt-1 shrink-0","aria-hidden":"true",children:"·"}),y.jsx("span",{style:{whiteSpace:"pre-line"},children:e})]},e))})]}),y.jsxs("div",{children:[y.jsx("h2",{className:"text-xs uppercase tracking-[0.2em] text-primary font-sans font-medium mb-4",children:"Languages"}),y.jsx("div",{className:"flex flex-wrap gap-2",children:["English","Hindi","Urdu","Spanish"].map(e=>y.jsx("span",{className:"text-xs uppercase tracking-[0.1em] px-3 py-1.5 border border-border text-muted-foreground font-sans",children:e},e))})]}),y.jsxs("div",{children:[y.jsx("h2",{className:"text-xs uppercase tracking-[0.2em] text-primary font-sans font-medium mb-3",children:"Currently based"}),y.jsx("p",{className:"text-sm text-muted-foreground font-sans font-light leading-relaxed",children:"Geneva, Switzerland"})]})]})]})}),y.jsx("section",{className:"py-20 md:py-28 bg-background border-t border-border",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsx(Ce.h2,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-12",children:"Education"}),y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 md:gap-16",children:zm.education.map((e,t)=>y.jsxs(Ce.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.1,ease:"easeOut"},children:[y.jsx("h3",{className:"font-heading font-semibold text-foreground mb-6",style:{whiteSpace:"pre-line",fontSize:"17px"},children:e.type}),y.jsx("ul",{className:"space-y-5",children:e.items.map(i=>{const[r,s]=i.split("|");return y.jsxs("li",{className:"border-l border-primary pl-4",children:[y.jsx("p",{className:"text-sm text-muted-foreground font-sans font-light leading-relaxed",children:r}),y.jsx("p",{className:"mt-1 text-sm text-primary font-sans leading-relaxed",children:s})]},i)})})]},e.type))})]})})]})]})}const Xp="https://yousuf.com",Sd=`${Xp}/consultancy`,Xc="Consultancy | Yousuf Syed Khan",Om="International law consultancy on armed conflict, atrocity crimes, legal opinions, and accountability, led by Yousuf Syed Khan in Geneva.",ML={"@context":"https://schema.org","@type":"WebPage","@id":`${Sd}#webpage`,name:Xc,url:Sd,isPartOf:{"@id":`${Xp}/#website`},about:{"@id":`${Xp}/#person`}};function _L(){return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:Xc}),y.jsx("meta",{name:"description",content:Om}),y.jsx("link",{rel:"canonical",href:Sd}),y.jsx("meta",{property:"og:title",content:Xc}),y.jsx("meta",{property:"og:description",content:Om}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:Sd}),y.jsx("meta",{property:"og:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:Xc}),y.jsx("meta",{name:"twitter:description",content:Om}),y.jsx("meta",{name:"twitter:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(ML)})]}),y.jsxs("main",{children:[y.jsx("section",{className:"pt-36 pb-20 md:pt-44 md:pb-24 border-b border-border bg-background",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10 flex flex-col gap-8 md:flex-row md:items-end md:justify-between",children:[y.jsxs("div",{children:[y.jsx(Ce.p,{initial:{opacity:0,y:12}
234,animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-5",children:"Consultancy"}),y.jsx(Ce.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.65,delay:.08,ease:"easeOut"},className:"font-heading font-bold text-foreground leading-[1.1] max-w-3xl",style:{fontSize:"clamp(36px, 5vw, 64px)"},children:y.jsx("span",{style:{fontWeight:"normal"},children:y.jsx("strong",{children:"Senior Consultant & Strategic Adviser"})})})]}),y.jsxs("nav",{"aria-label":"Consultancy page sections",className:"flex items-center gap-5 text-xs uppercase tracking-[0.18em] font-sans font-medium text-primary",children:[y.jsx("a",{href:"#services",className:"transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:"Services"}),y.jsx("a",{href:"#recent-clients",className:"transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:"Recent clients"})]})]})}),y.jsx("section",{className:"py-20 md:py-28 bg-card",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10 grid grid-cols-1 lg:grid-cols-[1fr_380px] gap-16 lg:gap-24",children:[y.jsx(Ce.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,ease:"easeOut"},className:"space-y-6",children:[y.jsx(y.Fragment,{children:"Yousuf Syed Khan undertakes select consultancy and advisory engagements on atrocity crimes, conflict investigations, and accountability. He has more than 15 years of legal experience across conflict and post-conflict settings, including Ukraine, Syria, Afghanistan, Iraq, Libya, Gaza, Ethiopia, Sudan, South Sudan, Myanmar, and Belarus."}),y.jsx(y.Fragment,{children:"For nearly a decade, Yousuf served with the United Nations, where he was responsible for the legal analysis of core international crimes committed in contemporary armed conflicts and supported 14 UN-mandated experts in developing factual and legal findings. His work included the first-ever report by a UN-mandated mechanism on starvation as a method of warfare, as well as major findings concerning forced displacement, detention, siege warfare, and other international crimes. His work spans international humanitarian law, international criminal law, and human rights, with particular expertise in starvation as a method of warfare and siege warfare."}),y.jsx(y.Fragment,{children:"His work on starvation and siege warfare has encompassed Aleppo, eastern Ghouta, Madaya, Tigray, El Fasher, Mariupol, and Gaza. His broader UN work included developing major legal findings that the evacuation of eastern Aleppo amounted to forced displacement and that camps for internally displaced persons in northeast Syria functioned as de facto internment sites."}),y.jsxs(y.Fragment,{children:["His legal analysis has been cited in written submissions by Member States before the International Court of Justice, expert commentary on the Rome Statute of the International Criminal Court, the ICRC International Humanitarian Law Bibliography, and work by UN Special Rapporteurs, human rights and humanitarian organisations, scholars, and leading policy institutions. He has also been quoted for his legal analysis by major international ",y.jsx(fn,{to:"/media",className:"text-primary underline underline-offset-2 hover:opacity-80 transition-opacity",children:"media"})," outlets, including the BBC, The Washington Post, CNN, Reuters, The Guardian, and Al Jazeera."]}),y.jsxs(y.Fragment,{children:["Yousuf combines legal analysis with investigative and field experience. He has conducted in-country investigations during active armed conflicts, worked with large and complex evidentiary records, provided legal and strategic advice to senior officials, and trained judges, law enforcement and government officials, investigators, and other practitioners. He is also a recognised Prosecution Expert with Justice Rapid Response (",y.jsx("a",{href:"https://www.justicerapidresponse.org",target:"_blank",rel:"noopener noreferrer",className:"text-primary underline underline-offset-2 hover:opacity-80 transition-opacity",children:"JRR"}),"), rostered in relation to both the law of occupation and crimes affecting cultural heritage."]})].map((e,t)=>y.jsx("p",{className:"leading-[1.85] text-muted-foreground font-sans font-light",style:{fontSize:"17px"},children:e},t))}),y.jsxs(Ce.aside,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.15,ease:"easeOut"},className:"space-y-10",children:[y.jsxs("div",{className:"p-8 bg-background border-t-2 border-primary",children:[y.jsx("span",{className:"block font-heading text-primary opacity-40 leading-none mb-4 select-none",style:{fontSize:"60px",lineHeight:1},"aria-hidden":"true",children:'"'}),y.jsx("blockquote",{className:"text-sm leading-[1.85] text-muted-foreground font-sans font-light mb-5",children:"Yousuf has deep, field-informed expertise in international humanitarian and criminal law, shaped by years of direct conflict experience and a clear-eyed understanding of how law, politics, and humanitarian realities intersect. He's a trusted, sought-after voice in his niche."}),y.jsx("cite",{className:"not-italic text-xs uppercase tracking-[0.15em] text-primary font-sans font-medium",children:"Former Client â senior official, international justice sector"})]}),y.jsxs("div",{className:"p-8 bg-background border border-border",children:[y.jsx("p",{className:"text-sm leading-relaxed text-muted-foreground font-sans font-light mb-6",children:"Due to the sensitive nature of much of his work, a more detailed description of recent consultancy projects may be discussed only by contacting Yousuf directly."}),y.jsx(fn,{to:"/contact",className:"inline-block text-xs uppercase tracking-[0.2em] px-6 py-3 border border-primary text-primary hover:bg-primary hover:text-background transition-all duration-300 font-sans font-medium",children:"Enquire"})]})]})]})}),y.jsx("section",{id:"services",className:"py-20 md:py-28 bg-background border-t border-border scroll-mt-24",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsx(Ce.h2,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-12",children:"Services"}),y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5",children:Mw.services.map((e,t)=>y.jsxs(Ce.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.05,ease:"easeOut"},className:"p-6 bg-card border-l-2 border-primary",children:[y.jsx("p",{className:"font-heading font-semibold text-foreground mb-2",style:{whiteSpace:"pre-line",fontSize:"17px"},children:e.title}),y.jsx("p",{className:"text-sm leading-[1.75] text-muted-foreground font-sans font-light",style:{whiteSpace:"pre-line"},children:e.description})]},t))})]})}),y.jsx("section",{id:"recent-clients",className:"py-20 md:py-28 bg-card border-t border-border scroll-mt-24",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsxs(Ce.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},className:"mb-12",children:[y.jsx("h2",{className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-3",children:"Recent
234Clients"}),y.jsx("p",{className:"text-sm text-muted-foreground font-sans font-light max-w-2xl leading-relaxed",children:"The names of some organisations are withheld either to preserve confidentiality, or where disclosure could compromise vital work."})]}),y.jsx("div",{className:"space-y-14",children:Mw.recentClients.map((e,t)=>y.jsxs(Ce.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.1,ease:"easeOut"},children:[y.jsx("h3",{className:"font-heading font-semibold text-foreground mb-6 leading-tight",style:{whiteSpace:"pre-line",fontSize:"20px"},children:e.category}),y.jsx("div",{className:"space-y-4",children:e.entries.map((i,r)=>y.jsxs("div",{className:"flex gap-6 p-6 bg-background border border-border",children:[y.jsx("span",{className:"shrink-0 text-xs uppercase tracking-[0.1em] text-primary font-sans font-medium pt-0.5 w-16",style:{whiteSpace:"pre-line"},children:i.period}),y.jsx("p",{className:"text-sm leading-[1.8] text-muted-foreground font-sans font-light",style:{whiteSpace:"pre-line"},children:i.description})]},r))})]},e.category))})]})}),y.jsx("section",{className:"py-20 md:py-24 bg-background border-t border-border",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10 flex flex-col md:flex-row items-start md:items-center justify-between gap-8",children:[y.jsx("div",{children:y.jsx("h2",{className:"font-heading font-semibold text-foreground mb-2 leading-tight",style:{fontSize:"clamp(24px, 3vw, 36px)"},children:"Have something in mind? Letâs talk."})}),y.jsx(fn,{to:"/contact",className:"shrink-0 inline-block text-xs uppercase tracking-[0.2em] px-8 py-4 border border-primary text-primary hover:bg-primary hover:text-background transition-all duration-300 font-sans font-medium",children:"Get in touch"})]})})]})]})}const Jp="https://yousuf.com",kd=`${Jp}/affiliations`,Jc="Affiliations | Yousuf Syed Khan",Pm="Professional affiliations, fellowships, advisory roles, and expert groups of international law consultant Yousuf Syed Khan.",DL={"@context":"https://schema.org","@type":"WebPage","@id":`${kd}#webpage`,name:Jc,url:kd,isPartOf:{"@id":`${Jp}/#website`},about:{"@id":`${Jp}/#person`}};function zL(){return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:Jc}),y.jsx("meta",{name:"description",content:Pm}),y.jsx("link",{rel:"canonical",href:kd}),y.jsx("meta",{property:"og:title",content:Jc}),y.jsx("meta",{property:"og:description",content:Pm}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:kd}),y.jsx("meta",{property:"og:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:Jc}),y.jsx("meta",{name:"twitter:description",content:Pm}),y.jsx("meta",{name:"twitter:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(DL)})]}),y.jsxs("main",{children:[y.jsx("section",{className:"pt-36 pb-20 md:pt-44 md:pb-24 border-b border-border bg-background",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsx(Ce.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-5",children:"Affiliations"}),y.jsx(Ce.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.65,delay:.08,ease:"easeOut"},className:"font-heading font-bold text-foreground leading-[1.1] max-w-3xl",style:{fontSize:"clamp(36px, 5vw, 64px)"},children:y.jsx("span",{style:{fontWeight:"normal"},children:y.jsx("strong",{children:"Fellowships & Memberships"})})})]})}),y.jsx("section",{className:"py-20 md:py-28 bg-card",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsx(Ce.h2,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-12",children:"Fellowships, Advisory Roles & Expert Groups"}),y.jsx("div",{className:"space-y-5",children:Rw.fellowships.map((e,t)=>y.jsxs(Ce.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55,delay:t*.07,ease:"easeOut"},className:"grid grid-cols-1 md:grid-cols-[1fr_auto] gap-4 p-8 bg-background border-t-2 border-primary",children:[y.jsxs("div",{children:[y.jsx("p",{className:"text-xs uppercase tracking-[0.15em] text-primary font-sans font-medium mb-2",style:{whiteSpace:"pre-line"},children:e.role}),y.jsx("h3",{className:"font-heading font-semibold text-foreground leading-snug mb-1",style:{whiteSpace:"pre-line",fontSize:"20px"},children:e.org}),e.programme&&y.jsx("p",{className:"text-sm text-muted-foreground font-sans font-light mb-1",style:{whiteSpace:"pre-line"},children:e.programme}),e.detail&&y.jsx("p",{className:"text-sm text-muted-foreground font-sans font-light italic",style:{whiteSpace:"pre-line"},children:e.detail})]}),y.jsxs("div",{className:"flex md:flex-col md:items-end gap-3 md:gap-2",children:[y.jsx("span",{className:"text-xs uppercase tracking-[0.1em] text-muted-foreground font-sans whitespace-nowrap",style:{whiteSpace:"pre-line"},children:e.period}),e.current&&y.jsx("span",{className:"inline-block text-[10px] uppercase tracking-[0.15em] px-2.5 py-1 border border-primary text-primary font-sans font-medium whitespace-nowrap",children:"Current"})]})]},t))})]})}),y.jsx("section",{className:"py-20 md:py-28 bg-background border-t border-border",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsx(Ce.h2,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-12",children:"Professional & Academic Associations"}),y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5",children:Rw.memberships.map((e,t)=>y.jsxs(Ce.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55,delay:t*.1,ease:"easeOut"},className:"p-8 bg-card border-l-2 border-primary",children:[y.jsx("p",{className:"text-xs uppercase tracking-[0.15em] text-primary font-sans font-medium mb-3",style:{whiteSpace:"pre-line"},children:e.role}),y.jsx("h3",{className:"font-heading font-semibold text-foreground leading-snug mb-2",style:{whiteSpace:"pre-line",fontSize:"18px"},children:e.org}),e.detail&&y.jsx("p",{className:"text-sm text-muted-foreground font-sans font-light leading-relaxed italic",style:{whiteSpace:"pre-line"},children:e.detail})]},t))})]})})]})]})}const Wp="https://yousuf.com",Td=`${Wp}/talks`,Wc="Talks | Yousuf Syed Khan",Bm="Invited talks and keynotes by Yousuf Syed Khan on starvation crimes, armed conflict, international humanitarian law, and accountability.",_w=[{date:"18 January 2027",year:2027,venue:"SOAS Food Studies Centre, SOAS University of London",location:"London, England",title:"Food Forum Seminar on Starvation, Foodways, and Siege Warfare",description:"Invited to present a Food Forum seminar on starvation, foodways, and siege warfare.",type:"lecture",forthcoming:!0},{date:"5 March 2026",year:2026,venue:"Famine Voices | Tufts University | World Peace Foundation",location:"Webinar",title:"Rohingya Hu
234nger as State Policy",description:"Invited to present a webinar on hunger as state policy. Famine Voices foregrounds survivor perspectives and interdisciplinary approaches to acute hunger and starvation, and examines how these debates should inform the IPC framework, the legal definition of starvation crimes, and broader efforts at prevention.",type:"webinar"},{date:"28 January 2026",year:2026,venue:"University College London (UCL) | Institute of Epidemiology and Health Care",location:"London, England",title:"Guest Lecture â Master of Public Health (MPH)",description:"Invited to deliver a guest lecture in the Master of Public Health (MPH), Institute of Epidemiology and Health Care (the effects of IHL and ICL on civilian survival and health systems in armed conflict).",type:"lecture"},{date:"20 November 2025",year:2025,venue:"Lebanese American University (LAU)",location:"Beirut, Lebanon",title:"Starvation as a Method of Warfare and Starvation Crimes",description:"Delivered a guest lecture on starvation as a method of warfare and starvation crimes, examining the prohibition of starvation under international humanitarian law and international criminal law and discussing current developments.",type:"lecture"},{date:"21 October 2025",year:2025,venue:"Geneva Academy of International Humanitarian Law and Human Rights",location:"Geneva, Switzerland",title:"International Criminal Law Module, MAS in Transitional Justice",description:"Invited as a guest speaker for the International Criminal Law module of the Master of Advanced Studies (MAS) in Transitional Justice, Human Rights and the Rule of Law.",type:"lecture"},{date:"9â10 October 2025",year:2025,venue:"Tufts University | World Peace Foundation",location:"Somerville, Massachusetts",title:"Sexual and Gender Based Violence, Reproductive Violence & Starvation: Mutually Reinforcing Crimes",description:"Invited to present on the law of starvation as a method of warfare, including its intersection with sexual and gender-based violence (SGBV) and reproductive violence, at a two-day expert seminar.",type:"conference"},{date:"16 September 2025",year:2025,venue:"UN Human Rights Council 60th Session Side Event | Palais des Nations",location:"Geneva, Switzerland",title:"Strengthening Legal Accountability for Starvation Crimes under International Law",description:"This UN Human Rights Council side event, organised by Legal Action Worldwide (LAW) and co-sponsored by Physicians for Human Rights (PHR) and the International Commission of Jurists (ICJ), explored starvation as a war crime, crime against humanity, or act of genocide; unpacked patterns and recent developments; examined starvation's links to sexual violence and forced displacement; assessed impacts on maternal and child health; and highlighted the role of affected communities in advancing justice.",type:"panel"},{date:"27 March 2025",year:2025,venue:"UN Human Rights Council 58th Session Side Event | Palais des Nations",location:"Geneva, Switzerland",title:"Towards a Holistic Accountability Framework for Syria: Is It Possible?",description:"For the first time, the Permanent Mission of the Syrian Arab Republic sponsored a side event during a UN Human Rights Council session. The side event, organised by the Syrian Forum and Legal Action Worldwide (LAW), explored the possibility of consolidating and mainstreaming international mechanisms on Syria.",type:"panel"},{date:"19 March 2025",year:2025,venue:"Harvard University | T.H. Chan School of Public Health | Atrocity Prevention Lab",location:"Cambridge, Massachusetts",title:"Spatial Analysis and Early Warning: Anticipating Starvation as a Method of Warfare and Forced Displacement",description:"Presenter on spatial analysis and early warning at the Spatial Strategies for Peace Annual Conference. Research explores integrating advanced spatial analysis into early warning and atrocity prevention strategies to anticipate the deliberate use of starvation as a method of warfare and forced displacement.",type:"conference"},{date:"18 March 2025",year:2025,venue:"Geneva Academy of International Humanitarian Law and Human Rights",location:"Geneva, Switzerland",title:"Defining, Investigating, and Prosecuting Starvation as a War Crime",description:"Invited to deliver a guest lecture on 'Defining, Investigating, and Prosecuting Starvation as a War Crime' as part of the International Criminal Law LL.M. course.",type:"lecture"},{date:"10 March 2025",year:2025,venue:"Geneva Academy | Geneva Peacebuilding Platform",location:"Geneva, Switzerland",title:"Private Military and Security Companies â Trends, Legal Gaps and Challenges for Accountability",description:"Co-organised with the Geneva Peacebuilding Platform, this event took place on the sidelines of the Human Rights Council's 58th Session to explore alternative accountability pathways for those affected by the activities of Private Military and Security Companies (PMSCs). It identified avenues for enhancing international cooperation and strengthening legal frameworks to address these complex challenges.",type:"panel"},{date:"5 February 2025",year:2025,venue:"University College London (UCL) | Institute of Epidemiology and Health Care",location:"London, England",title:"Guest Lecture â Master of Public Health (MPH)",description:"Invited to deliver a guest lecture in the Master of Public Health (MPH), Institute of Epidemiology and Health Care (the effects of IHL and ICL on civilian survival and health systems in armed conflict).",type:"lecture"},{date:"16 December 2024",year:2024,venue:"Utrecht University School of Law",location:"Utrecht, Netherlands",title:"Masterclass â Investigation and Prosecution of Starvation Crimes",description:"Invited to deliver a 'Masterclass' to LL.M. students on the investigation and prosecution of starvation crimes under international criminal law and international humanitarian law.",type:"lecture"},{date:"10 December 2024",year:2024,venue:"Geneva Academy of International Humanitarian Law and Human Rights",location:"Geneva, Switzerland",title:"IHL Talk: Food Insecurity in Armed Conflict",description:"This IHL Talk, held in conjunction with the launch of the Geneva Academy's first spot report under the IHL in Focus project on Food Insecurity in Armed Conflict and the Use of Siege-Like Tactics, explored the intersection of armed conflict and food insecurity, through the lens of international humanitarian and human rights law. Panellists included Prof. Andrew Clapham, Dr. Krisztina Huszti-Orbán, and You
234suf Syed Khan.",type:"panel"},{date:"30 October 2024",year:2024,venue:"Maat for Peace, Development and Human Rights",location:"Webinar",title:"The Role of Arms Control in Promoting Human Rights",description:"Keynote Speaker for a webinar hosted on the sidelines of the United Nations Disarmament Week.",type:"keynote"},{date:"24 September 2024",year:2024,venue:"World Without Genocide",location:"Webinar",title:"Starvation: A War Crime â Global Prosecutions",description:"Invited as the Guest Speaker to present on 'Defining, investigating, and prosecuting starvation as a war crime'. This webinar examined challenges in prosecuting starvation as a war crime in situations such as Gaza, Ukraine, Sudan, and Ethiopia, given that no court to date has entered a conviction for an international crime on the charge.",type:"webinar"},{date:"20 August 2024",year:2024,venue:"Maat for Peace, Development and Human Rights",location:"Webinar",title:"Challenges Facing Arab Countries Joining the Arms Trade Treaty",description:"Panellist on a webinar hosted on the sidelines of the Tenth Conference of States Parties (CSP10) to the Arms Trade Treaty (ATT).",type:"webinar"},{date:"19â21 June 2024",year:2024,venue:"Environmental Peacebuilding Association (EnPAx) & Grotius Centre, Leiden University",location:"The Hague, Netherlands",title:"The Interlinkages Between Starvation as a Method of Warfare and Environmental Crimes in Ukraine",description:"Panellist and presentation of research paper on 'The interlinkages between starvation as a method of warfare and environmental crimes in Ukraine' at the Third International Conference on Environmental Peacebuilding. Session: Accountability for Wartime Environmental Damage in Ukraine.",type:"conference"},{date:"4 June 2024",year:2024,venue:"Geneva Academy of International Humanitarian Law and Human Rights",location:"Geneva, Switzerland",title:"Investigation and Prosecution of Starvation as a Method of Warfare",description:"Invited to deliver a guest lecture for the International Criminal Law LL.M. course on the investigation and prosecution of starvation as a method of warfare.",type:"lecture"},{date:"28â29 May 2024",year:2024,venue:"International Centre for Counter-Terrorism (ICCT) | Annual Conference 2024",location:"The Hague, Netherlands",title:"'Houston, we have a problem': Counter-Terrorism in the Age of Uncertainty",description:"The ICCT Annual Conference brings together key CT and P/CVE practitioners, policy makers, and international scholars. Invited expert participant in closed-door workshops on the Rise of Transnational Repression, Marginalisation of P/CVE, Monitoring and Evaluation of CT programmes, and the Rising Threat of State-Terrorism emanating from outside European Borders.",type:"conference"},{date:"17 May 2024",year:2024,venue:"Leiden University | Grotius Centre for International Legal Studies",location:"The Hague, Netherlands",title:"Rule of Law Responses to Terrorism in the Aftermath of Counterterrorism Operations in Syria",description:"Presentation of research on rule of law responses to terrorism in the aftermath of counterterrorism operations in Syria (ISIL): blanket unlawful internment as IDP camps.",type:"lecture"},{date:"27â28 February 2024",year:2024,venue:"International Commission of Jurists (ICJ)",location:"Tunis, Tunisia",title:"Criminal Justice Responses to the Situation in Libya",description:"Invited to present on the prospects of and modalities for the establishment of a Hybrid Special Tribunal for Libya or specialised chambers within the Libyan judicial system, utilising international technical assistance.",type:"panel"},{date:"25 January 2024",year:2024,venue:"Vanderbilt University | Journal of Transnational Law Symposium 2024",location:"Nashville, Tennessee",title:"Right to Food and Food Security",description:"Delivered one of two keynote lectures at the Vanderbilt Journal of Transnational Law biennial symposium, alongside former ICC Prosecutor Luis Moreno Ocampo.",type:"keynote"},{date:"19 December 2023",year:2023,venue:"T.M.C. Asser Instituut | Supranational Criminal Law Lectures",location:"Webinar",title:"Navigating the International Legal Landscape of the Israel-Palestine Conflict",description:"This supranational criminal law lecture discussed international legal aspects pertaining to the Israel/Palestine conflict, addressing: (1) the jus ad bellum, including the scope of the right to self-defence; (2) the jus in bello, including questions related to targeting; and (3) the jus post bellum and the search for accountability for violations, with a focus on the crime of starvation. Experts included Prof. Terry Gill, Yousuf Syed Khan, and Prof. Helen Duffy.",type:"panel"},{date:"9â11 November 2023",year:2023,venue:"American Society of International Law | ASIL Midyear Meeting, Research Forum",location:"Pennsylvania, USA",title:'Humanitarian Evacuations and "Forced Displacement" in the Syrian Arab Republic',description:`Panellist and presentation of research paper entitled 'Humanitarian Evacuations and "Forced Displacement" in the Syrian Arab Republic' during the panel session on 'Losing Autonomy: Individual Rights in Times of Conflict' with Discussant Professor Jaya Ramji-Nogales.`,type:"panel"},{date:"20 September 2023",year:2023,venue:"UN Human Rights Council 54th Session Side Event | Palais des Nations",location:"Geneva, Switzerland",title:"War Criminals for Hire: The Role of Mercenaries in Modern Armed Conflict",description:"Panellist speaking on the role played by mercenary groups in Ukraine, highlighting the legal qualification of Wagner Group members as mercenaries or combatants, the challenges encountered in curbing their activities, and the gaps in holding perpetrators to account.",type:"panel"},{date:"19â20 September 2023",year:2023,venue:"Global Rights Compliance | Pan-Asian Forum",location:"Seoul, South Korea",title:"Information Sharing with Commissions of Inquiry and Fact-Finding Missions",de
234scription:"Presentation on 'Information Sharing with Commissions of Inquiry and Fact-Finding Missions' during the GRC Pan-Asian Forum panel session on 'Engagement with Commissions of Inquiry, Independent Investigative Mechanisms, Fact-Finding Missions, and Special Procedures'.",type:"panel"},{date:"17 November 2022",year:2022,venue:"Office of the UN High Commissioner for Human Rights (OHCHR)",location:"Webinar",title:"Trial Monitoring â Post-ISIL Administration of Justice in Iraq",description:"Panellist speaking on experiences leading a team with the UN in Iraq to monitor the post-ISIL administration of justice, including on trial monitoring and procedural safeguards to ensure torture prevention.",type:"panel"},{date:"8â10 November 2022",year:2022,venue:"United States Military Academy at West Point",location:"West Point, New York",title:"Sixth Annual Lieber Institute Workshop â Making and Shaping the Law of Armed Conflict",description:"Presentation of research paper at the Sixth annual Lieber Institute Workshop at the United States Military Academy at West Point, dedicated to 'Making and Shaping the Law of Armed Conflict'.",type:"conference"},{date:"1 March 2022",year:2022,venue:"University of Wisconsin-Madison Law School",location:"Madison, Wisconsin",title:"Best Practices for International Investigation, Collection, and Preservation of Evidence",description:"Presentation regarding best practices for the international investigation, collection, and preservation of evidence of violations and international crimes and their role in the international legal order, particularly concerning the interplay between atrocity inquiries and actionable criminal accountability.",type:"lecture"},{date:"9 December 2021",year:2021,venue:"Generating Respect Project",location:"Conference",title:"Overlooked Iconoclasm: Intangible Heritage and Endangerment in Syria",description:"Presented research paper entitled 'Overlooked iconoclasm: intangible heritage and endangerment in Syria' at the conference on 'Religious Actors & Humanitarian Norms Compliance in Armed Conflict: Roles, Influence, Engagement'.",type:"conference"},{date:"19 May 2021",year:2021,venue:"Global Rights Compliance",location:"Webinar",title:"Implementation of UNSC Resolution 2417 â Forced Population Transfers and Starvation Crimes",description:"To mark the third anniversary of the adoption of landmark UNSC Resolution 2417, Global Rights Compliance convened a webinar on the implementation of Resolution 2417 with a focus on Syria, South Sudan, Yemen, Ethiopia, and broader UNSC action. Presented on forced and calculated population transfers and their link with starvation crimes.",type:"webinar"},{date:"2 April 2020",year:2020,venue:"University of Oslo | Norwegian Centre for Human Rights",location:"Oslo, Norway",title:"A Vanishing History: Iconoclasm and Syria's Endangered Cultural Heritage",description:"Presentation of research paper entitled 'A Vanishing History: Iconoclasm and Syria's Endangered Cultural Heritage', during the UiO 'Disentangling the Relationship between Religion and Law' conference.",type:"conference"},{date:"25 October 2017",year:2017,venue:"University of Amsterdam | Centre for International Law, War Reparations Centre",location:"Amsterdam, Netherlands",title:"Syria and the Question of Accountability for War Crimes and Crimes Against Humanity",description:"Panellist discussing 'Syria and the question of accountability for war crimes and crimes against humanity'.",type:"panel"},{date:"4â5 November 2017",year:2017,venue:"International Bar Association | Queen Mary University, Centre for Commercial Law Studies",location:"London, England",title:"ELSA Conference on International Human Rights Law",description:"Speaker at the ELSA Conference on International Human Rights Law.",type:"conference"},{date:"14 July 2017",year:2017,venue:"Leiden University | Grotius Centre for International Legal Studies",location:"The Hague, Netherlands",title:"Justice and Truth-finding for Syria",description:"Panellist discussing 'Justice and Truth-finding for Syria', moderated by Professor Carsten Stahn, with Lotte Leicht, EU Director of Human Rights Watch. The panel, part of the Human Rights & Transitional Justice Summer School, focussed on the importance of gathering evidence and the interplay with bringing perpetrators to justice.",type:"panel"},{date:"22 February 2017",year:2017,venue:"Harvard University | Harvard Humanitarian Initiative (HHI)",location:"Cambridge, Massachusetts",title:"Pursuing Accountability in Syria",description:"Prior to the release of the Syria Commission's report on the siege of eastern Aleppo, invited as a co-guest alongside Amb. Stephen Rapp (US Ambassador-at-Large for War Crimes, 2009â2015) to discu
234ss 'Pursuing Accountability in Syria'.",type:"lecture"},{date:"30 September 2016",year:2016,venue:"The Peace Palace",location:"The Hague, Netherlands",title:"Jus Post Bellum and the Protection of Cultural Property in the Syrian Arab Republic",description:"Presentation of research paper entitled 'Jus post bellum and the Protection of Cultural Property: A Consideration of the Situation in the Syrian Arab Republic', during the 'Jus Post Bellum and the Justice of Peace' conference.",type:"conference"}],Dw={lecture:"Lecture",keynote:"Keynote",panel:"Panel",conference:"Conference",webinar:"Webinar"},LL={"@context":"https://schema.org","@type":"WebPage","@id":`${Td}#webpage`,name:Wc,url:Td,isPartOf:{"@id":`${Wp}/#website`},about:{"@id":`${Wp}/#person`}};function OL(){const[e,t]=R.useState("all"),i=e==="all"?_w:_w.filter(s=>s.type===e),r=Array.from(new Set(i.map(s=>s.year))).sort((s,o)=>o-s);return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:Wc}),y.jsx("meta",{name:"description",content:Bm}),y.jsx("link",{rel:"canonical",href:Td}),y.jsx("meta",{property:"og:title",content:Wc}),y.jsx("meta",{property:"og:description",content:Bm}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:Td}),y.jsx("meta",{property:"og:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:Wc}),y.jsx("meta",{name:"twitter:description",content:Bm}),y.jsx("meta",{name:"twitter:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(LL)})]}),y.jsxs("main",{children:[y.jsx("section",{className:"pt-36 pb-20 md:pt-44 md:pb-24 border-b border-border bg-background",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsx(Ce.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-5",children:"Talks & Conferences"}),y.jsx(Ce.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.65,delay:.08,ease:"easeOut"},className:"font-heading text-foreground leading-[1.1] max-w-3xl mb-8",style:{fontSize:"clamp(36px, 5vw, 64px)"},children:y.jsx("strong",{children:"Invited Lectures & Presentations"})}),y.jsx(Ce.p,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,delay:.18,ease:"easeOut"},className:"text-base leading-[1.8] text-muted-foreground font-sans font-light max-w-3xl",children:"Yousuf Syed Khan is a frequent speaker on starvation as a method of warfare, siege warfare, and the application of international humanitarian law and international human rights law in armed conflict. He has delivered invited lectures and presented his research at universities including Harvard University, Vanderbilt University, the University of WisconsinâMadison, the United States Military Academy (West Point), Leiden University, Utrecht University, the University of Amsterdam, the University of Oslo, and University College London (UCL), as well as fora such as the Geneva Academy of International Humanitarian Law and Human Rights and the Peace Palace in The Hague."})]})}),y.jsx("section",{className:"sticky top-[72px] z-30 bg-card border-b border-border",children:y.jsx("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:y.jsx("div",{className:"flex items-center gap-1 overflow-x-auto py-4 scrollbar-none",role:"group","aria-label":"Filter by talk type",children:["all","lecture","keynote","panel","conference","webinar"].map(s=>y.jsx("button",{onClick:()=>t(s),className:`shrink-0 text-xs uppercase tracking-[0.15em] px-4 py-2 border transition-all duration-200 font-sans font-medium ${e===s?"border-primary bg-primary text-background":"border-border text-muted-foreground hover:border-primary hover:text-foreground"}`,children:s==="all"?"All":Dw[s]},s))})})}),y.jsx("section",{className:"py-16 md:py-24 bg-background",children:y.jsx("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:r.map(s=>y.jsxs("div",{className:"mb-16 last:mb-0",children:[y.jsxs(Ce.div,{initial:{opacity:0,x:-12},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},className:"flex items-center gap-4 mb-8",children:[y.jsx("span",{className:"font-heading font-bold text-primary",style:{fontSize:"clamp(28px, 3vw, 40px)"},children:s}),y.jsx("div",{className:"flex-1 h-px bg-border"})]}),y.jsx("div",{className:"space-y-4 pl-0 md:pl-16",children:i.filter(o=>o.year===s).map((o,u)=>y.jsxs(Ce.article,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:u*.04,ease:"easeOut"},className:"group p-6 md:p-8 bg-card border-l-2 border-transparent hover:border-primary transition-all duration-300",children:[y.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-3 mb-3",children:[y.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[y.jsx("span",{className:"text-xs uppercase tracking-[0.15em] px-2.5 py-1 border border-border text-muted-foreground font-sans font-medium",children:Dw[o.type]}),o.forthcoming&&y.jsx("span",{className:"text-xs uppercase tracking-[0.15em] px-2.5 py-1 border border-primary text-primary font-sans font-medium",children:"Forthcoming"})]}),y.jsx("time",{dateTime:o.date,className:"text-xs uppercase tracking-[0.1em] text-muted-foreground font-sans shrink-0",children:o.date})]}),y.jsx("h2",{className:"font-heading font-semibold text-foreground leading-snug mb-2",style:{fontSize:"clamp(17px, 1.5vw, 20px)"},children:o.title}),y.jsxs("p",{className:"text-xs uppercase tracking-[0.1em] text-primary font-sans font-medium mb-3",children:[o.venue,o.location&&o.location!=="Webinar"&&o.location!=="Conference"&&y.jsxs("span",{className:"text-muted-foreground normal-case tracking-normal font-light ml-2",children:["· ",o.location]}),(o.location==="Webinar"||o.location==="Conference")&&y.jsxs("span",{className:"text-muted-foreground normal-case tracking-normal font-light ml-2",children:["· ",o.location]})]}),y.jsx("p",{className:"text-sm leading-[1.75] text-muted-foreground font-sans font-light",children:o.description})]},`${s}-${u}`))})]},s))})})]})]})}const Qp="https://yousuf.com",Cd=`${Qp}/publications`,Qc="Publications | Yousuf Syed Khan",Um="Articles, book chapters, and legal analysis by Yousuf Syed Khan on starvation crimes, armed conflict, international humanitarian law, and accountability.",zw=[{type:"chapter",title:"Business and Human Rights in Armed Conflicts and the Competition for Natural Resources",venue:"Business, Human Rights and Natural Resource Governance: Accountability for a Just Transition · Hart Publishing",date:"19 February 2026",coauthors:"with Dr. Jelena Aparac",isbn:"9781509970841",doi:"10.5040/9781509970834.ch-008",note:"R. Pereira, A. Savaresi, & L. McConnel, eds.",href:"https://doi.org/10.5040/9781509970834.ch-008"}
234,{type:"chapter",title:"Applying and Interpreting the Law of Armed Conflict: Contributions by the UN Commissions on the Syrian Arab Republic and the Republic of South Sudan",venue:"Lieber Studies Series (Vol. 10), Making and Shaping the Law of Armed Conflict · Oxford University Press",date:"7 June 2024",isbn:"9780197775134",doi:"10.1093/oso/9780197775134.003.0011",note:"Sandesh Sivakumaran & Christian R. Burne, eds.",href:"https://doi.org/10.1093/oso/9780197775134.003.0011"},{type:"article",title:"From Documentation to Prevention: Spatial Analysis, AI, and Starvation Crimes",venue:"Disasters · Special Issue: Technology in Turbulent Times: Rethinking the Digital Transformation of Humanitarian Crisis Response · Wiley",date:"2026",issn:"1467-7717",forthcoming:!0,href:null},{type:"article",title:"Advancing the Rule of Law and Human Rights Protection through United Nations Mandated Mechanisms: The Cases of the Syrian Arab Republic and the State of Libya",venue:"Max Planck Yearbook of United Nations Law (Vol. 24) · Brill | Nijhoff",date:"17 December 2021",coauthors:"with Dr. Charles Majinge",isbn:"9789004504189",doi:"10.1163/18757413_02401011",href:"https://doi.org/10.1163/18757413_02401011"},{type:"commentary",title:"Minding the Gap, Properly: Conflict Classification, Protected Persons, and What the Geneva Conventions Already Require (Part II/II)",venue:"Opinio Juris · Featured Post",date:"28 August 2026",coauthors:"with Jérôme de Hemptinne",href:"https://opiniojuris.org/2026/08/28/minding-the-gap-properly-conflict-classification-protected-persons-and-what-the-geneva-conventions-already-require-part-ii"},{type:"commentary",title:"Minding the Gap, Properly: Conflict Classification, Protected Persons, and What the Geneva Conventions Already Require (Part I/II)",venue:"Opinio Juris · Featured Post",date:"28 August 2026",coauthors:"with Jérôme de Hemptinne",href:"https://opiniojuris.org/2026/08/28/minding-the-gap-properly-conflict-classification-protected-persons-and-what-the-geneva-conventions-already-require-part-i"},{type:"commentary",title:"Applying a Systems Lens to Starvation as a Method of Warfare",venue:"Beyond Compliance Consortium · Armed Groups and International Law · Featured Post",date:"18 June 2026",href:"https://armedgroups-internationallaw.org/2026/06/18/applying-a-systems-lens-to-starvation-as-a-method-of-warfare/"},{type:"commentary",title:"Rohingya Hunger as State Policy: Food Deprivation and the Question of Genocide",venue:"Tufts University · Fletcher School of Global Affairs · World Peace Foundation",date:"9 June 2026",href:"https://worldpeacefoundation.org/rohingya-hunger-as-state-policy/"},{type:"commentary",title:"Reframing Medical Deprivation Within the Starvation War Crime Paradigm",venue:"Tufts University · Fletcher School of Global Affairs · World Peace Foundation",date:"6 April 2026",href:"https://worldpeacefoundation.org/reframing-medical-deprivation-within-the-starvation-war-crime-paradigm/"},{type:"commentary",title:"Engineered Exodus: Iran's Role in Syria's Forced Displacement",venue:"Atlantic Council",date:"2026",forthcoming:!0,href:null},{type:"commentary",title:"After ISIS: Insights into Post-war Gaza Humanitarian Camps",venue:"International Centre for Counter-Terrorism",date:"13 June 2025",href:"https://www.icct.nl/publication/after-isis-insights-post-war-gaza-humanitarian-camps"},{type:"commentary",title:"Transnational Atrocity-by-Proxy: The Case for a Human Rights Council Inquiry into the Wagner Group",venue:"Armed Groups and International Law · Featured Post",date:"9 June 2025",href:"https://armedgroups-internationallaw.org/2025/06/09/transnational-atrocity-by-proxy-the-case-for-a-human-rights-council-inquiry-into-the-wagner-group/"},{type:"commentary",title:"Israeli officials are accused of weaponizing starvation in Gaza. Here's what you need to know.",venue:"Atlantic Council | New Atlanticist",date:"16 July 2024",coauthors:"with Alana Mitias",href:"https://www.atlanticcouncil.org/blogs/new-atlanticist/israeli-officials-are-accused-of-weaponizing-starvation-in-gaza-heres-what-you-need-to-know/"},{type:"commentary",title:"Gaza Arrest Warrants: Assessing Starvation as a Method of Warfare and Associated Starvation Crimes",venue:"Just Security",date:"31 May 2024",href:"https://www.justsecurity.org/96491/gaza-arrest-warrants-assessing-starvation-as-a-method-of-warfare-and-associated-starvation-crimes/"},{type:"commentary",title:"The Directive to Evacuate Northern Gaza: Advance Warning or Forced Displacement?",venue:"Just Security",date:"19 October 2023",note:"Included in the International Humanitarian Law: Syllabus Supplements, 19 December 2025",href:"https://www.justsecurity.org/89551/the-directive-to-evacuate-northern-gaza-advance-warning-or-forced-displacement/"},{type:"commentary",title:"The Nexus Between Starvation Crimes and Sexual Violence: Indicia of On-going Extermination in Tigray, Ethiopia",venue:"Opinio Juris · Featured Post",date:"9 October 2023",coauthors:"with Alexandra Lily Kather",href:"https://opiniojuris.org/2023/10/09/the-nexus-between-starvation-crimes-and-sexual-violence-indicia-of-on-going-extermination-in-tigray-ethiopia/"},{type:"commentary",title:"Population Transfers and the Civilian Toll of Starvation as a Method of Warfare in Syria and South Sudan",venue:"Opinio Juris · Pandemic of Hunger Symposium",date:"19 May 2021",href:"https://opiniojuris.org/2021/05/19/population-transfers-and-the-civilian-toll-of-starvation-as-a-method-of-warfare-in-syria-and-south-sudan/"},{type:"commentary",title:"Preserving Evidence of ISIL Atrocities: The International, Impartial and Independent Mechanism",venue:"Oxford Human Rights Hub",date:"8 August 2017",coauthors:"with Ewelina Ochab",href:"https://ohrh.law.ox.ac.uk/preserving-evidence-of-isil-atrocities-the-international-impartial-and-independent-mechanism/"},{type:"expert",title:"U.N. General Assembly High-Level Week 2024: What Experts Are Looking For",venue:"Just Security",date:"19 September 2024",href:"https://www.justsecurity.org/97861/u-n-general-assembly-high-level-week-2024-what-ex
234perts-are-looking-for/"},{type:"expert",title:"Response to the call for input made by the Special Rapporteur on the right to food, Michael Fakhri (Human Rights and Starvation, with an emphasis on the Palestinian People's Food Sovereignty)",venue:"United Nations",date:"14 June 2024",note:"Cited by the Special Rapporteur in his report to the U.N. General Assembly (U.N. Doc. A/79/171)",href:"https://www.ohchr.org/en/calls-for-input/2024/call-input-human-rights-and-starvation-emphasis-palestinian-peoples-food"},{type:"expert",title:"Top Experts' Views of Int'l Court of Justice Ruling on Israel Gaza Operations (South Africa v Israel, Genocide Convention Case)",venue:"Just Security",date:"26 January 2024",href:"https://www.justsecurity.org/92098/top-experts-views-of-intl-court-of-justice-ruling-on-israel-gaza-operations/"},{type:"expert",title:"Top Legal Experts on Why Aid to Gaza Can't Be Conditioned on Hostage Release",venue:"Just Security · 23 in 2023: Most-Read Just Security Articles of the Year",date:"20 November 2023",href:"https://www.justsecurity.org/89978/top-legal-experts-on-why-aid-to-gaza-cant-be-conditioned-on-hostage-release/"},{type:"citation",title:"International Humanitarian Law: Syllabus Supplements",venue:"Just Security",date:"August 2026",note:"Includes my article, The Directive to Evacuate Northern Gaza: Advance Warning or Forced Displacement?, as assigned reading on civilian protection law, accompanied by a discussion prompt on forced displacement and persecution",href:"https://www.justsecurity.org/127521/international-humanitarian-law-syllabus-supplements"},{type:"citation",title:"Gendering Mass Starvation",venue:"World Peace Foundation · Seminar Outcome Report",date:"July 2026",note:"Engages with my legal framework for analysing starvation as a method of warfare and objects indispensable to the survival of the civilian population (pp. 29â32)",href:"https://worldpeacefoundation.org/wp-content/uploads/2026/07/Gendering-Mass-Starvation-final-20260717.pdf"},{type:"citation",title:"Starvation as a Weapon: The ICJ Myanmar Case Could Redefine Genocide",venue:"Lowy Institute · The Interpreter",date:"28 July 2026",note:"Engages with my analysis that food deprivation and the systematic destruction of the Rohingya food system should receive substantive consideration under Article II(c) of the Genocide Convention in The Gambia v. Myanmar",href:"https://www.lowyinstitute.org/the-interpreter/starvation-weapon-icj-myanmar-case-could-redefine-genocide"},{type:"citation",title:"International Law in Gaza: Belligerent Intent and Provisional Measures",venue:"American Journal of International Law · Tom Dannenbaum & Janina Dill",date:"15 November 2024",note:"Cites my analysis of starvation as a method of warfare in Gaza in its discussion of belligerent intent and the intentional starvation of civilians as a method of warfare",href:"https://www.cambridge.org/core/journals/american-journal-of-international-law/article/international-law-in-gaza-belligerent-intent-and-provisional-measures/39356AC349B91754C6F85774DAF489B8"}],Hm=[{type:"chapter",label:"Chapters",heading:"Chapters (edited volumes)"},{type:"article",label:"Articles",heading:"Articles (peer-reviewed)"},{type:"commentary",label:"Commentary",heading:"Legal Commentary & Analysis"},{type:"expert",label:"Expert",heading:"Expert Commentary"},{type:"citation",label:"Citations",heading:"Selected Citations & Features"}],PL={"@context":"https://schema.org","@type":"WebPage","@id":`${Cd}#webpage`,name:Qc,url:Cd,isPartOf:{"@id":`${Qp}/#website`},about:{"@id":`${Qp}/#person`}};function BL(){const[e,t]=R.useState("all"),i=e==="all"?zw:zw.filter(s=>s.type===e),r=e==="all"?Hm:Hm.filter(s=>s.type===e);return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:Qc}),y.jsx("meta",{name:"description",content:Um}),y.jsx("link",{rel:"canonical",href:Cd}),y.jsx("meta",{property:"og:title",content:Qc}),y.jsx("meta",{property:"og:description",content:Um}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:Cd}),y.jsx("meta",{property:"og:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:Qc}),y.jsx("meta",{name:"twitter:description",content:Um}),y.jsx("meta",{name:"twitter:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(PL)})]}),y.jsxs("main",{children:[y.jsx("section",{className:"pt-36 pb-20 md:pt-44 md:pb-24 border-b border-border bg-background",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsx(Ce.p,{initial:{opacity:0,y:12}
234,animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-5",children:"Publications"}),y.jsx(Ce.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.65,delay:.08,ease:"easeOut"},className:"font-heading font-bold text-foreground leading-[1.1] max-w-3xl",style:{fontSize:"clamp(36px, 5vw, 64px)"},children:y.jsx("span",{style:{fontWeight:"normal"},children:y.jsx("strong",{children:"Latest Publications"})})}),y.jsx(Ce.p,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.55,delay:.16,ease:"easeOut"},className:"mt-7 max-w-2xl font-sans text-base leading-[1.8] text-muted-foreground font-light",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"efe307",guard:{file:"src/pages/publications.tsx",tagName:"p",sourceKind:"content-key",contentKey:"publications.intro",contentKeyTemplate:null,expressionHash:null},children:CL.intro})})]})}),y.jsx("section",{className:"sticky top-[72px] z-30 bg-card border-b border-border",children:y.jsx("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:y.jsx("div",{className:"flex items-center gap-1 overflow-x-auto py-4 scrollbar-none",role:"group","aria-label":"Filter by publication type",children:[{type:"all",label:"All"},...Hm.map(s=>({type:s.type,label:s.label}))].map(s=>y.jsx("button",{onClick:()=>t(s.type),className:`shrink-0 text-xs uppercase tracking-[0.15em] px-4 py-2 border transition-all duration-200 font-sans font-medium ${e===s.type?"border-primary bg-primary text-background":"border-border text-muted-foreground hover:border-primary hover:text-foreground"}`,children:s.label},s.type))})})}),y.jsx("section",{className:"py-16 md:py-24 bg-background",children:y.jsx("div",{className:"max-w-7xl mx-auto px-6 md:px-10 space-y-20",children:r.map(s=>{const o=i.filter(u=>u.type===s.type);return o.length===0?null:y.jsxs("div",{children:[y.jsxs(Ce.div,{initial:{opacity:0,x:-12},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},className:"flex items-center gap-4 mb-10",children:[y.jsx("h2",{className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium whitespace-nowrap",children:s.heading}),y.jsx("div",{className:"flex-1 h-px bg-border"})]}),y.jsx("div",{className:"space-y-4",children:o.map((u,d)=>y.jsxs(Ce.article,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:d*.05,ease:"easeOut"},className:"group p-6 md:p-8 bg-card border-l-2 border-transparent hover:border-primary transition-all duration-300",children:[y.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-3",children:[u.forthcoming&&y.jsx("span",{className:"text-[10px] uppercase tracking-[0.15em] px-2.5 py-1 border border-primary text-primary font-sans font-medium",children:"Forthcoming"}),y.jsx("time",{dateTime:u.date,className:"text-xs uppercase tracking-[0.1em] text-muted-foreground font-sans",children:u.date}),u.coauthors&&y.jsx("span",{className:"text-xs text-muted-foreground font-sans font-light italic",children:u.coauthors})]}),y.jsx("h3",{className:"font-heading font-semibold text-foreground leading-snug mb-2",style:{fontSize:"clamp(17px, 1.5vw, 21px)"},children:u.title}),y.jsx("p",{className:"text-sm text-primary font-sans font-medium mb-2 leading-relaxed",children:u.venue}),u.note&&y.jsx("p",{className:"text-sm text-muted-foreground font-sans font-light italic leading-relaxed mb-2",children:u.note}),(u.doi||u.isbn||u.issn)&&y.jsxs("div",{className:"flex flex-wrap gap-4 mt-3",children:[u.doi&&y.jsxs("a",{href:`https://doi.org/${u.doi}`,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-muted-foreground hover:text-primary font-sans font-light transition-colors duration-200",children:[y.jsx("span",{className:"uppercase tracking-[0.1em] mr-1",children:"DOI"}),u.doi]}),u.isbn&&y.jsxs("span",{className:"text-xs text-muted-foreground font-sans font-light",children:[y.jsx("span",{className:"uppercase tracking-[0.1em] mr-1",children:"ISBN"}),u.isbn]}),u.issn&&y.jsxs("span",{className:"text-xs text-muted-foreground font-sans font-light",children:[y.jsx("span",{className:"uppercase tracking-[0.1em] mr-1",children:"ISSN"}),u.issn]})]}),u.href&&y.jsx("div",{className:"mt-4",children:y.jsxs("a",{href:u.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs uppercase tracking-[0.18em] text-primary hover:text-foreground font-sans font-medium transition-colors duration-200",children:["Read",y.jsx(E2,{size:11,strokeWidth:2})]})})]},d))})]},s.type)})})})]})]})}const eg="https://yousuf.com",Ad=`${eg}/media`,ed="Media | Yousuf Syed Khan",Vm="Press interviews, podcasts, and media commentary by Yousuf Syed Khan on armed conflict, starvation crimes, and international law.",UL=[{type:"podcast",outlet:"EJIL: The Podcast!",t
234itle:"Contemporary Challenges to IHL",date:"October 2026",note:"Invited as a co-guest to discuss contemporary challenges to IHL, including non-compliance, conflict asymmetry, the uneven distribution of power and vulnerability, and the updated GC IV Commentary.",forthcoming:!0},{type:"podcast",outlet:"Beyond Compliance Consortium | In Conversation Podcast",title:"S2 EP2: Famines & Starvation",date:"8 January 2026",note:"Invited as a co-guest to discuss starvation as a method of warfare and famine, alongside Alex de Waal (The Fletcher School, Tufts University).",href:"https://beyondcomplianceconsortium.org/podcast/s2-ep2-famines-starvation/"},{type:"podcast",outlet:"Geneva Academy of International Humanitarian Law and Human Rights | In and Around War(s) Podcast",title:"Food Insecurity in Armed Conflict",date:"12 February 2025",note:"Invited guest to discuss starvation as a method of warfare, forced displacement in starvation contexts, and the use of siege-like tactics.",href:"https://www.geneva-academy.ch/news/detail/in-and-around-wars-podcast-food-insecurity-in-armed-conflict"}],HL=[{type:"interview",outlet:"The Washington Post",title:"The ICC charged Israeli officials with starving Gaza. What happens now?",date:"7 July 2024",href:"https://www.washingtonpost.com/world/2024/07/07/icc-israel-starvation-charges-gaza/"},{type:"interview",outlet:"CNN",title:"Russia accused of using hunger as a weapon of war in Ukraine",date:"13 June 2024",href:"https://edition.cnn.com/2024/06/13/europe/russia-hunger-weapon-ukraine-intl/index.html"},{type:"interview",outlet:"The Washington Post",title:"The case of al-Shifa: Investigating the assault on Gaza's largest hospital",date:"21 December 2023",href:"https://www.washingtonpost.com/world/2023/12/21/al-shifa-hospital-investigation-gaza/"},{type:"interview",outlet:"Newsweek",title:"Russian Barges Shipping 'Stolen' Ukraine Grain Collide in Black Sea",date:"27 November 2023",href:"https://www.newsweek.com/russia-barges-stolen-ukraine-grain-black-sea-collision-1847000"},{type:"interview",outlet:"The Independent",title:"Putin could face new war crime case as evidence suggests starvation of Ukraine was pre-planned",date:"16 November 2023",href:"https://www.independent.co.uk/news/world/europe/putin-war-crime-starvation-ukraine-icc-b2450000.html"},{type:"interview",outlet:"The Independent",title:"Russia loses vote to rejoin UN's top human rights body despite Putin's charm offensive with stolen grain",date:"11 October 2023",href:"https://www.independent.co.uk/news/world/europe/russia-un-human-rights-council-vote-b2430000.html"},{type:"interview",outlet:"Al Jazeera",title:"Human rights lawyer condemns Hroza cafe strike",date:"5 October 2023",href:"https://www.aljazeera.com/news/2023/10/5/human-rights-lawyer-condemns-hroza-cafe-strike"},{type:"interview",outlet:"The Globe and Mail",title:"Russia targets northeastern Ukrainian village, killing more than 50 civilians",date:"5 October 2023",href:"https://www.theglobeandmail.com/world/article-russia-targets-northeastern-ukrainian-village-killing-more-than-50/"},{type:"interview",outlet:"The Independent",title:"Putin's shameless UN charm offensive â with stolen grain from Ukraine",date:"28 September 2023",href:"https://www.independent.co.uk/news/world/europe/putin-un-charm-offensive-stolen-grain-ukraine-b2420000.html"},{type:"interview",outlet:"CNN",title:"U.N. Human Rights Council says there's continuous evidence of Russian war crimes in Ukraine",date:"26 September 2023",note:"Yousuf Syed Khan joins Bianca Nobilo.",href:"https://edition.cnn.com/2023/09/26/europe/un-human-rights-council-russia-war-crimes-ukraine-intl/index.html"},{type:"interview",outlet:"BBC World",title:"Live television interview",date:"25 September 2023",format:"Live television"},{type:"interview",outlet:"MSN",title:"Did Russia intentionally starve Ukraine? New war crime dossier to the ICC to provide damning evidence",date:"25 September 2023"},{type:"interview",outlet:"The Guardian",title:"War crimes dossier to accuse Russia of deliberately causing starvation in Ukraine",date:"24 September 2023",href:"https://www.theguardian.com/world/2023/sep/24/war-crimes-dossier-russia-starvation-ukraine-icc"},{type:"interview",outlet:"The Telegraph",title:"War crime investigators prepare case against Russia over food attacks",date:"18 September 2023",href:"https://www.telegraph.co.uk/world-news/2023/09/18/russia-war-crime-food-attacks-ukraine-icc/"},{type:"interview",outlet:"Reuters",title:"Explainer: Ukraine â When do attacks on civilian installations amount to war crimes?",date:"3 August 2023",href:"https://www.reuters.com/world/europe/when-do-attacks-civilian-installations-amount-war-crimes-2023-08-03/"},{type:"interview",outlet:"Deutsche Welle",title:"'Highly likely' Ru
234ssia behind Ukraine dam collapse",date:"20 June 2023",href:"https://www.dw.com/en/highly-likely-russia-behind-ukraine-dam-collapse/a-65980000"},{type:"interview",outlet:"Reuters",title:"Russia is highly likely behind Ukraine dam collapse, experts say",date:"17 June 2023",href:"https://www.reuters.com/world/europe/russia-highly-likely-behind-ukraine-dam-collapse-experts-say-2023-06-17/"},{type:"interview",outlet:"Al Jazeera",title:"Russia-Ukraine war updates: Putin says nuclear weapons in Belarus",date:"16 June 2023",href:"https://www.aljazeera.com/news/2023/6/16/russia-ukraine-war-updates-putin-says-nuclear-weapons-in-belarus"},{type:"interview",outlet:"France24",title:"In Kyiv, South African president calls on Russia and Ukraine to 'de-escalate' conflict",date:"16 June 2023",href:"https://www.france24.com/en/europe/20230616-in-kyiv-south-african-president-calls-on-russia-and-ukraine-to-de-escalate-conflict"},{type:"interview",outlet:"CNN",title:`It's "highly likely" Russia is behind collapse of Nova Kakhovka dam, according to international experts`,date:"16 June 2023",href:"https://edition.cnn.com/2023/06/16/europe/nova-kakhovka-dam-russia-experts-intl/index.html"},{type:"interview",outlet:"CNBC",title:"Russian forces 'highly likely' behind attack on Ukrainian dam, international law investigation says",date:"16 June 2023",href:"https://www.cnbc.com/2023/06/16/russia-highly-likely-behind-ukraine-dam-attack-international-law-probe.html"}],VL=[{type:"foreign",outlet:"la Repubblica",title:`L'ex consulente Onu: "Gaza come l'ex Jugoslavia, rischio violazione del diritto internazionale"`,date:"7 February 2025",note:"Intervista a Yousuf Syed Khan, esperto in Medio Oriente per il think tank americano Atlantic Council",href:"https://www.repubblica.it/esteri/2025/02/07/news/gaza_jugoslavia_diritto_internazionale_yousuf_syed_khan/"},{type:"foreign",outlet:"Anadolu Agency",title:"War crimes and legal routes: How Assad could be brought to justice for Syria atrocities",date:"23 December 2024",href:"https://www.aa.com.tr/en/middle-east/war-crimes-and-legal-routes-how-assad-could-be-brought-to-justice-for-syria-atrocities/3430000"},{type:"foreign",outlet:"The National",title:"Killed without warning: How a pattern of Israeli strikes on Lebanon may amount to war crimes",date:"29 November 2024",href:"https://www.thenationalnews.com/world/mena/2024/11/29/killed-without-warning-how-a-pattern-of-israeli-strikes-on-lebanon-may-amount-to-war-crimes/"},{type:"foreign",outlet:"The World",title:"Israeli 'double tap' strikes in Gaza and Lebanon 'raise serious ethical and legal concerns'",date:"7 November 2024",format:"Public radio interview",href:"https://theworld.org/stories/2024/11/07/israeli-double-tap-strikes-gaza-and-lebanon-raise-serious-ethical-and-legal-concerns"},{type:"foreign",outlet:"CNN Portugal",title:'"Mesmo que odiássemos a Rússia, Ãamos ter com eles. Não tÃnhamos nada para comer": Mariupol, um crime de guerra à base da fome',date:"14 June 2024",href:"https://cnnportugal.iol.pt/ucrania/russia/mariupol-crime-de-guerra-fome/2024/06/14/"},{type:"foreign",outlet:"CNN Brasil",title:"Rússia é acusada de usar fome como arma de guerra na Ucrânia",date:"13 June 2024",href:"https://www.cnnbrasil.com.br/internacional/russia-e-acusada-de-usar-fome-como-arma-de-guerra-na-ucrania/"},{type:"foreign",outlet:"The Centre for a European Future (CEF)",title:"How Putin Weaponises Food",date:"26 November 2023",href:"https://cef.eu/2023/11/26/how-putin-weaponises-food/"},{type:"foreign",outlet:"Euromaidan Press",title:`Russia's "unprecedented" Ukrainian grain theft premeditated war crime, legal report suggests`,date:"23 November 2023",href:"https://euromaidanpress.com/2023/11/23/russias-unprecedented-ukrainian-grain-theft-premeditated-war-crime-legal-report-suggests/"},{type:"foreign",outlet:"Chills, by Lauren Wolfe",title:"Russia Allegedly Plotted to Starve Ukrainians on an 'Unprecedented Scale'",date:"22 November 2023",href:"https://chills.substack.com/p/russia-allegedly-plotted-to-starve"},{type:"foreign",outlet:"Genocide Watch",title:"Russian Plan to Starve Ukraine",date:"21 November 2023",href:"https://www.genocidewatch.com/single-post/russian-plan-to-starve-ukraine"},{type:"foreign",outlet:"AgriPortal",title:"Russia's Billion Dollar Grain Heist: A Planned War Tactic",date:"20 November 2023",href:"https://agriportal.com/russias-billion-dollar-grain-heist-a-planned-war-tactic/"},{type:"foreign",outlet:"Podrobytsi (ÐнÑеÑ)",title:"Live television interview on the large-scale, organised plan by Russia to systematically pillage Ukraine's grain",date:"18 November 2023",format:"Live television",note:"Ðокази ÑÐ¿Ð»Ð°Ð½Ð¾Ð²Ð°Ð½Ð¾Ñ ÐºÑадÑжки зеÑна ÑвÑйдÑÑÑ Ð² Ð¿Ð¾Ð´Ð°Ð½Ð½Ñ Ð´Ð¾ ÐÐС пÑоÑи ÑÑ"},{type:"foreign",outlet:"Daily Mail",title:"Russia admits Ukrainian troops have crossed the Dnipro river",date:"16 November 2023",href:"https://www.dailymail.co.uk/news/article-12757000/Russia-admits-Ukrainian-troops-crossed-Dnipro-river.html"},{type:"foreign",outlet:"The National",title:"Pillaging Ukrainian grain to fund war was Russia's plan from the outset",date:"16 November 2023",href:"https://www.thenationalnews.com/world/europe/2023/11/16/pillaging-ukrainian-grain-to-fund-war-was-russias-plan-from-the-outset/"},{type:"foreign",outlet:"Seznam Zprávy",title:"HladovÄnà jako metoda války. Brit popisuje, proÄ kvůli tomu žaluje Putina",date:"2 October 2023",note:"A profile of my work on Ukraine featured in the Czech news.",href:"https://www.seznamzpravy.cz/clanek/zahranicni/hladoveni-jako-metoda-valky-brit-popisuje-proc-kvuli-tomu-zaluje-putina-238000"},{type:"foreign",outlet:"Justiceinfo.net",title:"Kakhovka Dam: Ukraine Pioneers Prosecution for Ecocide",date:"10 July 2023",href:"https://www.justiceinfo.net/en/116000-kakhovka-dam-ukraine-pioneers-prosecution-for-ecocide.html"},{type:"foreign",outlet:"Public Broadcasting Company of Ukraine (Suspilne)",title:"GRC Senior Lawyer Yousuf Syed Khan on the destruction of the Kakhovka Dam",date:"20 June 2023",href:"https://suspilne.media/488000-grc-senior-lawyer-yousuf-syed-khan-on-the-destruction-of-the-kakhovka-dam/"}],Lw=[{type:"podcast",label:"Podcasts",heading:"Podcasts (selected)",items:UL},{type:"interview",label:"Interviews",heading:"Interviews & Quotes (selected)",items:HL},{type:"foreign",label:"Foreign Press",heading:"Foreign Press & Other (selected)",items:VL}],IL={"@context":"https://schema.org","@type":"WebPage","@id":`${Ad}#webpage`,name:ed,url:Ad,isPartOf:{"@id":`${eg}/#website`},about:{"@id":`${eg}/#person`}};function FL(){const[e,t]=R.useState("all"),i=e==="all"?Lw:Lw.filter(r=>r.type===e);return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:ed}),y.jsx("meta",{name:"description",content:Vm}),y.jsx("link",{rel:"canonical",href:Ad}),y.jsx("meta",{property:"og:title",content:ed}),y.jsx("meta",{property:"og:description",content:Vm}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:Ad}),y.jsx("meta",{property:"og:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:ed}),y.jsx("meta",{name:"twitter:description",content:Vm}),y.jsx("meta",{name:"twitter:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(IL)})]}),y.jsxs("main",{children:[y.jsx("section",{className:"pt-36 pb-20 md:pt-44 md:pb-24 border-b border-border bg-background",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10 grid grid-cols-1 lg:grid-cols-[1fr_320px] gap-12 lg:gap-24 items-end",children:[y.jsxs("div",{children:[y.jsx(Ce.p,{initial:{opacity:0,y:12}
234,animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-5",children:"Media"}),y.jsx(Ce.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.65,delay:.08,ease:"easeOut"},className:"font-heading font-bold text-foreground leading-[1.1] max-w-2xl mb-6",style:{fontSize:"clamp(36px, 5vw, 64px)"},children:y.jsx("span",{style:{fontWeight:"normal"},children:y.jsx("strong",{children:"Media Appearances"})})}),y.jsx(Ce.p,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,delay:.18,ease:"easeOut"},className:"text-base leading-[1.8] text-muted-foreground font-sans font-light max-w-2xl",children:"Yousuf Syed Khan is a media commentator on international law, starvation as a method of warfare, and related issues. He has been quoted in or appeared live on outlets such as Reuters, BBC World, CNN, The Washington Post, The Guardian, Al Jazeera, Deutsche Welle, and France 24, among other international press and broadcast media."})]}),y.jsx(Ce.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,delay:.28,ease:"easeOut"},children:y.jsxs("div",{className:"p-7 bg-card border border-border",children:[y.jsx("p",{className:"text-sm leading-relaxed text-muted-foreground font-sans font-light mb-5",children:"For media requests, including time-sensitive inquiries, please use the contact form on this site."}),y.jsx(fn,{to:"/contact",className:"inline-block text-xs uppercase tracking-[0.2em] px-6 py-3 border border-primary text-primary hover:bg-primary hover:text-background transition-all duration-300 font-sans font-medium",children:"Enquire"})]})})]})}),y.jsx("section",{className:"sticky top-[72px] z-30 bg-card border-b border-border",children:y.jsx("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:y.jsx("div",{className:"flex items-center gap-1 overflow-x-auto py-4 scrollbar-none",role:"group","aria-label":"Filter by media type",children:[{type:"all",label:"All"},{type:"podcast",label:"Podcasts"},{type:"interview",label:"Interviews"},{type:"foreign",label:"Foreign Press"}].map(r=>y.jsx("button",{onClick:()=>t(r.type),className:`shrink-0 text-xs uppercase tracking-[0.15em] px-4 py-2 border transition-all duration-200 font-sans font-medium ${e===r.type?"border-primary bg-primary text-background":"border-border text-muted-foreground hover:border-primary hover:text-foreground"}`,children:r.label},r.type))})})}),y.jsx("section",{className:"py-16 md:py-24 bg-background",children:y.jsx("div",{className:"max-w-7xl mx-auto px-6 md:px-10 space-y-20",children:i.map(r=>y.jsxs("div",{children:[y.jsxs(Ce.div,{initial:{opacity:0,x:-12},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},className:"flex items-center gap-4 mb-10",children:[y.jsx("h2",{className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium whitespace-nowrap",children:r.heading}),y.jsx("div",{className:"flex-1 h-px bg-border"})]}),y.jsx("div",{className:"space-y-3",children:r.items.map((s,o)=>y.jsxs(Ce.article,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.45,delay:o*.03,ease:"easeOut"},className:"group p-6 md:p-7 bg-card border-l-2 border-transparent hover:border-primary transition-all duration-300",children:[y.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-2",children:[s.forthcoming&&y.jsx("span",{className:"text-[10px] uppercase tracking-[0.15em] px-2.5 py-1 border border-primary text-primary font-sans font-medium",children:"Forthcoming"}),s.format&&y.jsx("span",{className:"text-[10px] uppercase tracking-[0.15em] px-2.5 py-1 border border-border text-muted-foreground font-sans font-medium",children:s.format}),y.jsx("time",{dateTime:s.date,className:"text-xs uppercase tracking-[0.1em] text-muted-foreground font-sans",children:s.date})]}),y.jsx("p",{className:"text-xs uppercase tracking-[0.15em] text-primary font-sans font-medium mb-1",children:s.outlet}),y.jsx("h3",{className:"font-heading font-semibold text-foreground leading-snug",style:{fontSize:"clamp(16px, 1.4vw, 19px)"},children:s.title}),s.note&&y.jsx("p",{className:"mt-2 text-sm text-muted-foreground font-sans font-light italic leading-relaxed",children:s.note}),s.href&&y.jsx("div",{className:"mt-3",children:y.jsxs("a",{href:s.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs uppercase tracking-[0.18em] text-primary hover:text-foreground font-sans font-medium transition-colors duration-200",children:["Read",y.jsx(E2,{size:11,strokeWidth:2})]})})]},o))})]},r.type))})}),(e==="all"||e==="interview")&&y.jsx("section",{className:"py-16 md:py-24 bg-card border-t border-border",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsxs(Ce.div,{initial:{opacity:0,x:-12},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},className:"flex items-center gap-4 mb-12",children:[y.jsx("h2",{className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium whitespace-nowrap",children:"Selected Quotes"}),y.jsx("div",{className:"flex-1 h-px bg-border"})]}),y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:kL.pullQuotes.map((r,s)=>y.jsxs(Ce.figure,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55,delay:s*.08,ease:"easeOut"},className:"p-8 bg-background border-t-2 border-primary",children:[y.jsx("span",{className:"block font-heading text-primary opacity-30 leading-none mb-4 select-none",style:{fontSize:"56px",lineHeight:1},"aria-hidden":"true",children:'"'}),y.jsx("blockquote",{className:"text-sm leading-[1.85] text-muted-foreground font-sans font-light mb-5",style:{whiteSpace:"pre-line"},children:r.quote}),y.jsxs("figcaption",{className:"text-xs uppercase tracking-[0.15em] text-primary font-sans font-medium",children:[r.outlet,y.jsxs("span",{className:"text-muted-foreground normal-case tracking-normal font-light ml-2",children:["· ",r.date]})]})]},s))})]})})]})]})}const tg="https://yousuf.com",Ed=`${tg}/contact`,td="Contact | Yousuf Syed Khan",Im="Contact Yousuf Syed Khan for international law consultancy, legal opinions, media requests, speaking invitations, and professional enquiries.",qL={"@context":"https://schema.org","@type":"ContactPage","@id":`${Ed}#webpage`,name:td,url:Ed,isPartOf:{"@id":`${tg}/#website`},about:{"@id":`${tg}/#person`}};function Ow(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function KL(){const[e,t]=R.useState("idle"),[i,r]=R.useState(""),[s,o]=R.useState(null),[u,d]=R.useState(!1),f=R.useRef(null),h=R.useCallback(async v=>{o({file:v,serverFilename:null,uploading:!0,error:null});const T=new FormData;T.append("attachment",v);try{const A=await(await fetch("/api/contact/upload",{method:"POST",body:T})).json();A.success?o(N=>N?{...N,serverFilename:A.filename,uploading:!1}:null):o(N=>N?{...N,uploading:!1,error:A.error||"Upload failed"}:null)}catch{o(C=>C?{...C,uploading:!1,error:"Upload failed. Please try again."}:null)}},[]),p=v=>{!v||v.length===0||h(v[0])},x=v=>{v.preventDefault(),d(!1),p(v.dataTransfer.files)};async function b(v){v.preventDefault();const S=v.currentTarget,T=new FormData(S);if(T.get("_gotcha"))return;const C=String(T.get("name")??"").trim(),A=String(T.get("email")??"").trim(),N=String(T.get("subject")??"").trim(),M=String(T.get("message")??"").trim();if(s!=null&&s.uploading){r("Please wait for the file to finish uploading."),t("error");return}t("sending"),r("");const K=s!=null&&s.serverFilename?` 235 236[Attachment: ${s.file.name} (${Ow(s.file.size)}) â saved as ${s.serverFilename}]`:"";try{const U=await(await fetch("/api/contact/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({conversation:{messages_attributes:[{body:(M||"New contact form submission")+K}],data:{__gd_contact_form_title:"Contact Yousuf Syed Khan",Subject:N||"General enquiry",...(s==null?void 0:s.serverFilename)&&{Attachment:s.file.name}}},user:{email:A,name:C}})})).json();if(U.success)t("success"),o(null),S.reset();else throw new Error(U.error||"Something went wrong.")}catch(G){t("error"),r(G instanceof Error?G.message:"Something went wrong. Please try again.")}}return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:td}),y.jsx("meta",{name:"description",content:Im}),y.jsx("link",{rel:"canonical",href:Ed}),y.jsx("meta",{property:"og:title",content:td}),y.jsx("meta",{property:"og:description",content:Im}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:Ed}),y.jsx("meta",{property:"og:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:td}),y.jsx("meta",{name:"twitter:description",content:Im}),y.jsx("meta",{name:"twitter:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(qL)})]}),y.jsxs("main",{children:[y.jsx("section",{className:"pt-36 pb-20 md:pt-44 md:pb-24 border-b border-border bg-background",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10",children:[y.jsx(Ce.p,{initial:{opacity:0,y:12}
236,animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"text-xs uppercase tracking-[0.25em] text-primary font-sans font-medium mb-5",children:"Contact"}),y.jsx(Ce.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.65,delay:.08,ease:"easeOut"},className:"font-heading font-bold text-foreground leading-[1.1] max-w-2xl",style:{fontSize:"clamp(36px, 5vw, 64px)"},children:y.jsx("span",{style:{fontWeight:"normal"},children:y.jsx("strong",{children:"Get in Touch"})})})]})}),y.jsx("section",{className:"py-16 md:py-24 bg-background",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-10 grid grid-cols-1 lg:grid-cols-[1fr_400px] gap-16 lg:gap-24",children:[y.jsx(Ce.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1,ease:"easeOut"},children:e==="success"?y.jsxs("div",{className:"p-10 bg-card border-t-2 border-primary text-center",children:[y.jsx("p",{role:"status",className:"font-heading font-semibold text-foreground mb-3",style:{fontSize:"clamp(22px, 2vw, 28px)"},children:"Message received."}),y.jsx("p",{className:"text-sm text-muted-foreground font-sans font-light leading-relaxed",children:"Thank you for reaching out. I will respond as soon as possible."})]}):y.jsxs("form",{onSubmit:b,noValidate:!0,className:"space-y-6",children:[y.jsx("input",{type:"text",name:"_gotcha",tabIndex:-1,autoComplete:"off",style:{position:"absolute",left:"-9999px"},"aria-hidden":"true"}),y.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsxs("label",{htmlFor:"name",className:"text-xs uppercase tracking-[0.15em] text-muted-foreground font-sans font-medium",children:["Name ",y.jsx("span",{className:"text-primary",children:"*"})]}),y.jsx("input",{id:"name",name:"name",type:"text",required:!0,autoComplete:"name",className:"bg-card border border-border text-foreground font-sans text-sm px-4 py-3 focus:outline-none focus:border-primary transition-colors duration-200 placeholder:text-muted-foreground/40",placeholder:"Your name"})]}),y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsxs("label",{htmlFor:"email",className:"text-xs uppercase tracking-[0.15em] text-muted-foreground font-sans font-medium",children:["Email ",y.jsx("span",{className:"text-primary",children:"*"})]}),y.jsx("input",{id:"email",name:"email",type:"email",required:!0,autoComplete:"email",className:"bg-card border border-border text-foreground font-sans text-sm px-4 py-3 focus:outline-none focus:border-primary transition-colors duration-200 placeholder:text-muted-foreground/40",placeholder:"[email protected]"})]})]}),y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsx("label",{htmlFor:"subject",className:"text-xs uppercase tracking-[0.15em] text-muted-foreground font-sans font-medium",children:"Subject"}),y.jsx("input",{id:"subject",name:"subject",type:"text",autoComplete:"off",className:"bg-card border border-border text-foreground font-sans text-sm px-4 py-3 focus:outline-none focus:border-primary transition-colors duration-200 placeholder:text-muted-foreground/40",placeholder:"Consultancy enquiry, media request, speaking invitationâ¦"})]}),y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsxs("label",{htmlFor:"message",className:"text-xs uppercase tracking-[0.15em] text-muted-foreground font-sans font-medium",children:["Message ",y.jsx("span",{className:"text-primary",children:"*"})]}),y.jsx("textarea",{id:"message",name:"message",required:!0,rows:7,className:"bg-card border border-border text-foreground font-sans text-sm px-4 py-3 focus:outline-none focus:border-primary transition-colors duration-200 placeholder:text-muted-foreground/40 resize-none",placeholder:"Please describe your enquiryâ¦"})]}),y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsxs("span",{className:"text-xs uppercase tracking-[0.15em] text-muted-foreground font-sans font-medium",children:["Attachment ",y.jsx("span",{className:"text-muted-foreground/50 normal-case tracking-normal",children:"(optional)"})]}),s?y.jsxs("div",{className:`flex items-center gap-3 px-4 py-3 border font-sans text-sm transition-colors duration-200 ${s.error?"border-destructive bg-destructive/5":"border-border bg-card"}`,children:[y.jsx(YM,{className:"w-4 h-4 shrink-0 text-primary"}),y.jsxs("div",{className:"flex-1 min-w-0",children:[y.jsx("p",{className:"text-foreground truncate text-sm",children:y.jsx(et,{devId:"59645e",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
236ash:"sha256:63f3ce77982d13b1be64e92bae23add8e000da943bfca157606bd31ec0b9e938"},children:s.file.name})}),y.jsx("p",{className:"text-xs text-muted-foreground font-light mt-0.5",children:y.jsx(et,{devId:"59645f",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:c30806f3ec0e08efba0c0b4202791b6c0f095b2f4cb5e1d8157f8e4bdc937ac2"},children:s.error?s.error:s.uploading?"Uploadingâ¦":`${Ow(s.file.size)} â ready`})})]}),y.jsx("button",{type:"button",onClick:()=>{o(null),f.current&&(f.current.value="")},className:"shrink-0 text-muted-foreground hover:text-foreground transition-colors","aria-label":"Remove attachment",children:y.jsx($M,{className:"w-4 h-4"})})]}):y.jsxs("div",{role:"button",tabIndex:0,"aria-label":"Attach a file",onDragOver:v=>{v.preventDefault(),d(!0)},onDragLeave:()=>d(!1),onDrop:x,onClick:()=>{var v;return(v=f.current)==null?void 0:v.click()},onKeyDown:v=>{var S;(v.key==="Enter"||v.key===" ")&&((S=f.current)==null||S.click())},className:`flex flex-col items-center justify-center gap-2 px-4 py-6 border border-dashed cursor-pointer transition-colors duration-200 ${u?"border-primary bg-primary/5":"border-border hover:border-primary/60 hover:bg-card"}`,children:[y.jsx(ZM,{className:"w-5 h-5 text-muted-foreground"}),y.jsxs("p",{className:"text-sm text-muted-foreground font-sans font-light text-center",children:[y.jsx("span",{className:"text-primary",children:"Click to attach"})," or drag and drop"]}),y.jsx("p",{className:"text-xs text-muted-foreground/60 font-sans",children:"Any file type · Max 20 MB"})]}),y.jsx("input",{ref:f,type:"file",className:"sr-only","aria-hidden":"true",tabIndex:-1,onChange:v=>p(v.target.files)})]}),e==="error"&&y.jsx("p",{role:"alert",className:"text-sm text-destructive font-sans",children:y.jsx(et,{devId:"fd685f",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:1c0238d2a5401216440d3a40ef09cf8a641cbbc703bbdb0cfe4af2625e4564c6"},children:i})}),y.jsx("button",{type:"submit",disabled:e==="sending",className:"text-xs uppercase tracking-[0.2em] px-8 py-4 border border-primary text-primary hover:bg-primary hover:text-background transition-all duration-300 font-sans font-medium disabled:opacity-50 disabled:cursor-not-allowed",children:y.jsx(et,{devId:"d6e92b",guard:{file:"src/pages/contact.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:f24bbbc278b3d5ed6913f0a620069c217aa6072bd9f2d3fdfea0cdeed8483311"},children:e==="sending"?"Sendingâ¦":"Send Message"})})]})}),y.jsxs(Ce.aside,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.22,ease:"easeOut"},className:"space-y-6",children:[y.jsxs("div",{className:"p-7 bg-card border-t-2 border-primary",children:[y.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-primary font-sans font-medium mb-3",children:"Signal"}),y.jsx("p",{className:"text-sm text-foreground font-sans font-light leading-relaxed",children:"+31 970 102 10300"}),y.jsx("p",{className:"text-xs text-muted-foreground font-sans font-light mt-1",children:"For time-sensitive enquiries"})]}),y.jsxs("div",{className:"p-7 bg-card border border-border",children:[y.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-primary font-sans font-medium mb-4",children:"Enquiry Types"}),y.jsx("ul",{className:"space-y-3",children:["Consultancy & legal advisory","Media & press requests","Speaking & lecture invitations","Academic collaboration","General correspondence"].map(v
236=>y.jsxs("li",{className:"flex items-start gap-3",children:[y.jsx("span",{className:"mt-[6px] w-1 h-1 shrink-0 bg-primary rounded-full"}),y.jsx("span",{className:"text-sm text-muted-foreground font-sans font-light leading-relaxed",children:v})]},v))})]}),y.jsxs("div",{className:"p-7 bg-card border border-border",children:[y.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-primary font-sans font-medium mb-3",children:"Based"}),y.jsx("p",{className:"text-sm text-muted-foreground font-sans font-light leading-relaxed",children:"Geneva, Switzerland"})]})]})]})})]})]})}const ng="https://yousuf.com",jd=`${ng}/privacy-policy`,nd="Privacy Policy | Yousuf Syed Khan",Fm="How Yousuf Syed Khan collects, uses, and protects personal data submitted through yousuf.com.",GL={"@context":"https://schema.org","@type":"WebPage","@id":`${jd}#webpage`,name:nd,url:jd,isPartOf:{"@id":`${ng}/#website`},about:{"@id":`${ng}/#organization`}};function YL(){return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:nd}),y.jsx("meta",{name:"description",content:Fm}),y.jsx("link",{rel:"canonical",href:jd}),y.jsx("meta",{property:"og:title",content:nd}),y.jsx("meta",{property:"og:description",content:Fm}),y.jsx("meta",{property:"og:url",content:jd}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:nd}),y.jsx("meta",{name:"twitter:description",content:Fm}),y.jsx("meta",{name:"twitter:image",content:"https://yousuf.com/airo-assets/images/hero/portrait"}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(GL)})]}),y.jsxs("main",{className:"bg-background",children:[y.jsx("section",{className:"border-b border-border bg-card",children:y.jsxs("div",{className:"max-w-3xl mx-auto px-6 md:px-10 py-16 md:py-24",children:[y.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-primary font-sans mb-4",children:"Legal"}),y.jsx("h1",{className:"font-heading text-4xl md:text-5xl font-light text-foreground leading-tight",children:"Privacy Policy"}),y.jsx("p",{className:"mt-4 text-sm text-muted-foreground font-sans",children:"Effective date: 20 August 2026"})]})}),y.jsx("section",{className:"max-w-3xl mx-auto px-6 md:px-10 py-14 md:py-20",children:y.jsx("div",{className:"flex flex-col gap-12",children:TL.sections.map(e=>y.jsxs("div",{className:"flex flex-col gap-4",children:[y.jsx("h2",{className:"font-heading text-xl md:text-2xl font-light text-foreground",style:{whiteSpace:"pre-line"},children:e.heading}),y.jsx("div",{className:"w-8 h-px bg-primary"}),y.jsx("div",{className:"flex flex-col gap-3",children:e.body.map((t,i)=>y.jsx("p",{className:"text-sm md:text-base leading-relaxed text-muted-foreground font-sans",style:{whiteSpace:"pre-line"},children:t},i))})]},e.heading))})})]})]})}const vl=(Zc==null?void 0:Zc.blog)??AL??[];function xT(){const e=new Date;return vl.filter(t=>t.published&&new Date(t.publishedAt)<=e).sort((t,i)=>new Date(i.publishedAt).getTime()-new Date(t.publishedAt).getTime())}function ZL(e){const t=new Date;return vl.find(i=>i.slug===e&&i.published&&new Date(i.publishedAt)<=t)||null}function $L(e){const t=new Date;return vl.filter(i=>{var r;return i.published&&((r=i.tags)==null?void 0:r.includes(e))&&new Date(i.publishedAt)<=t}).sort((i,r)=>new Date(r.publishedAt).getTime()-new Date(i.publishedAt).getTime())}function XL(e){const t=new Date;return vl.filter(i=>i.published&&i.category===e&&new Date(i.publishedAt)<=t).sort((i,r)=>new Date(r.publishedAt).getTime()-new Date(i.publishedAt).getTime())}function JL(e,t=3){return xT().filter(s=>s.slug!==e.slug).map(s=>{let o=0;if(s.category===e.category&&(o+=3),s.tags&&e.tags){const u=s.tags.filter(d=>{var f;return(f=e.tags)==null?void 0:f.includes(d)});o+=u.length}return{post:s,score:o}}).filter(s=>s.score>0).sort((s,o)=>o.score!==s.score?o.score-s.score:new Date(o.post.publishedAt).getTime()-new Date(s.post.publishedAt).getTime()).slice(0,t).map(s=>s.post)}function WL(){const e=new Date,t=new Set;return vl.filter(i=>i.published&&new Date(i.publishedAt)<=e).forEach(i=>
236{var r;(r=i.tags)==null||r.forEach(s=>t.add(s))}),Array.from(t).sort()}function QL(){const e=new Date,t=new Set;return vl.filter(i=>i.published&&new Date(i.publishedAt)<=e).forEach(i=>{i.category&&t.add(i.category)}),Array.from(t).sort()}function bT(e){const i=e.replace(/<[^>]*>/g,"").replace(/[#*_`]/g,"").split(/\s+/).filter(s=>s.length>0).length;return Math.ceil(i/200)}function ig(e,t="long"){const i=new Date(e),s={short:{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"},long:{month:"long",day:"numeric",year:"numeric",timeZone:"UTC"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric",timeZone:"UTC"}}[t];return i.toLocaleDateString("en-US",s)}function eO(e,t=1,i=9){const r=e.length,s=Math.ceil(r/i),o=Math.max(1,Math.min(t,s)),u=(o-1)*i,d=u+i;return{posts:e.slice(u,d),pagination:{currentPage:o,totalPages:s,totalPosts:r,pageSize:i,hasNextPage:o<s,hasPreviousPage:o>1}}}function qm({post:e,variant:t="default"}){const i=bT(e.content),r=ig(e.publishedAt,"short");return t==="horizontal"?y.jsxs(fn,{to:`/blog/${e.slug}`,className:"group flex flex-col sm:flex-row gap-6 bg-card rounded-2xl border-2 border-border overflow-hidden hover:shadow-2xl hover:border-primary/30 transition-all duration-300",children:[e.featuredImage&&y.jsx("div",{className:"sm:w-72 h-56 sm:h-auto flex-shrink-0 overflow-hidden",children:y.jsx("img",{src:e.featuredImage,alt:e.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500"})}),y.jsxs("div",{className:"flex-1 p-8",children:[e.category&&y.jsx("span",{className:"inline-block px-3 py-1 text-xs font-bold tracking-wide uppercase text-primary bg-primary/10 rounded-full border border-primary/20 mb-3",children:y.jsx(et,{devId:"53b922",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:27107861c2ce944e7728ca19037a127d585ca550b05f380e7e69aa35da59bc8f"},children:e.category})}),y.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-card-foreground mt-2 group-hover:text-primary transition-colors leading-tight",children:y.jsx(et,{devId:"a6b8cb",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"h3",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:3d7762f3ba350673da1469c3e329e26b1f1c57e07da68dc04a2b45e92c636880"},children:e.title})}),y.jsx("p",{className:"text-muted-foreground mt-4 line-clamp-2 text-base leading-relaxed",children:y.jsx(et,{devId:"14b140",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:5fd23573df9cc310b2aae74cb3a9aeeeee60731085d5bf04171afe4ce2c58fcb"},children:e.excerpt})}),y.jsxs("div",{className:"flex items-center gap-3 mt-6 text-sm text-muted-foreground font-medium",children:[y.jsx("time",{dateTime:e.publishedAt,children:r}),y.jsx("span",{className:"text-border",children:"â¢"}),y.jsxs("span",{children:[i," min read"]}),e.author&&y.jsxs(y.Fragment,{children:[y.jsx("span",{className:"text-border",children:"â¢"}),y.jsx("span",{className:"text-card-foreground",children:y.jsx(et,{devId:"be0db9",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:03d87aa20466210eac1e3524b26a6ab217312234ab59349f4f5a1925f58e72c3"},children:e.author})})]})]})]})]}):t==="minimal"?y.jsx(fn,{to:`/blog/${e.slug}`,className:"group block py-6 border-b-2 border-border/50 hover:border-primary/50 transition-all",children:y.jsxs("div",{className:"flex items-start justify-between gap-6",children:[y.jsxs("div",{className:"flex-1",children:[e.category&&y.jsx("span",{className:"text-xs font-bold uppercase tracking-wide text-primary",children:y.jsx(et,{devId:"7dd415",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:27107861c2ce944e7728ca19037a127d585ca550b05f380e7e69aa35da59bc8f"},children:e.category})}),y.jsx("h3",{className:"text-xl font-bold text-foreground mt-2 group-hover:text-primary transition-colors leading-snug",children:y.jsx(et,{devId:"977afe",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"h3",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
236ash:"sha256:3d7762f3ba350673da1469c3e329e26b1f1c57e07da68dc04a2b45e92c636880"},children:e.title})}),y.jsxs("div",{className:"flex items-center gap-2 mt-3 text-sm text-muted-foreground font-medium",children:[y.jsx("time",{dateTime:e.publishedAt,children:r}),y.jsx("span",{className:"text-border",children:"â¢"}),y.jsxs("span",{children:[i," min read"]})]})]}),e.featuredImage&&y.jsx("div",{className:"w-24 h-24 flex-shrink-0 rounded-lg overflow-hidden ring-2 ring-border group-hover:ring-primary/30 transition-all",children:y.jsx("img",{src:e.featuredImage,alt:e.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-300"})})]})}):y.jsxs(fn,{to:`/blog/${e.slug}`,className:"group block bg-card rounded-2xl border-2 border-border overflow-hidden hover:shadow-2xl hover:border-primary/30 hover:-translate-y-1 transition-all duration-300",children:[e.featuredImage&&y.jsx("div",{className:"aspect-[16/9] overflow-hidden",children:y.jsx("img",{src:e.featuredImage,alt:e.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500"})}),y.jsxs("div",{className:"p-6 lg:p-8",children:[e.category&&y.jsx("span",{className:"inline-block px-3 py-1 text-xs font-bold tracking-wide uppercase text-primary bg-primary/10 rounded-full border border-primary/20",children:y.jsx(et,{devId:"53b922",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:27107861c2ce944e7728ca19037a127d585ca550b05f380e7e69aa35da59bc8f"},children:e.category})}),y.jsx("h3",{className:"text-xl md:text-2xl font-bold text-card-foreground mt-4 group-hover:text-primary transition-colors leading-tight",children:y.jsx(et,{devId:"a6b8cb",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"h3",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:3d7762f3ba350673da1469c3e329e26b1f1c57e07da68dc04a2b45e92c636880"},children:e.title})}),y.jsx("p",{className:"text-muted-foreground mt-3 line-clamp-3 leading-relaxed",children:y.jsx(et,{devId:"14b140",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:5fd23573df9cc310b2aae74cb3a9aeeeee60731085d5bf04171afe4ce2c58fcb"},children:e.excerpt})}),y.jsxs("div",{className:"flex items-center gap-3 mt-6 text-sm text-muted-foreground font-medium",children:[y.jsx("time",{dateTime:e.publishedAt,children:r}),y.jsx("span",{className:"text-border",children:"â¢"}),y.jsxs("span",{children:[i," min read"]}),e.author&&y.jsxs(y.Fragment,{children:[y.jsx("span",{className:"text-border",children:"â¢"}),y.jsx("span",{className:"text-card-foreground",children:y.jsx(et,{devId:"be0db9",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:03d87aa20466210eac1e3524b26a6ab217312234ab59349f4f5a1925f58e72c3"},children:e.author})})]})]}),e.tags&&e.tags.length>0&&y.jsx("div",{className:"flex flex-wrap gap-2 mt-5",children:e.tags.slice(0,3).map(s=>y.jsxs("span",{className:"px-3 py-1.5 text-xs font-semibold bg-accent text-accent-foreground rounded-lg border border-border/50",children:["#",s]},s))})]})]})}function vT({posts:e,variant:t="default",columns:i=3}){if(e.length===0)return y.jsx("div",{className:"text-center py-16",children:y.jsxs("div",{className:"max-w-md mx-auto",children:[y.jsx("svg",{className:"w-16 h-16 mx-auto mb-4 text-muted-foreground opacity-50",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),y.jsx("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"No posts yet"}),y.jsx("p",{className:"text-muted-foreground",children:"This blog is ready to go! Posts will appear here once they're created."})]})});if(t==="horizontal")return y.jsx("div",{className:"space-y-6",children:e.map(s=>y.jsx(qm,{post:s,variant:"horizontal"},s.slug))});if(t==="minimal")return y.jsx("div",{className:"space-y-0",children:e.map(s=>y.jsx(qm,{post:s,variant:"minimal"},s.slug))});const r={2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}[i];return y.jsx("div",{className:`grid ${r} gap-8`,children:e.map(s=>y.jsx(qm,{post:s,variant:"default"},s.slug))})}const jo="https://yousuf.com",Mc=`${jo}/blog`,_c="Blog | Yousuf Syed Khan",Dc="Analysis and commentary on international law, armed conflict, and accountability.";
236function tO(){const[e,t]=ER(),i=e.get("category"),r=e.get("tag"),s=Number.parseInt(e.get("page")??"1",10),o=Number.isFinite(s)&&s>0?s:1;let u;i?u=XL(i):r?u=$L(r):u=xT();const d=QL(),f=WL(),{posts:h,pagination:p}=eO(u,o,9),x=T=>t(T),b=()=>x({}),v=T=>{const C={page:String(T)};i&&(C.category=i),r&&(C.tag=r),x(C)},S={"@context":"https://schema.org","@type":"CollectionPage","@id":`${Mc}#webpage`,name:_c,url:Mc,description:Dc,isPartOf:{"@id":`${jo}/#website`},about:{"@id":`${jo}/#organization`}};return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:_c}),y.jsx("meta",{name:"description",content:Dc}),y.jsx("meta",{name:"robots",content:"noindex, nofollow"}),y.jsx("link",{rel:"canonical",href:Mc}),y.jsx("meta",{property:"og:title",content:_c}),y.jsx("meta",{property:"og:description",content:Dc}),y.jsx("meta",{property:"og:type",content:"website"}),y.jsx("meta",{property:"og:url",content:Mc}),y.jsx("meta",{property:"og:image",content:`${jo}/airo-assets/images/hero/portrait`}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:_c}),y.jsx("meta",{name:"twitter:description",content:Dc}),y.jsx("meta",{name:"twitter:image",content:`${jo}/airo-assets/images/hero/portrait`}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(S)})]}),y.jsxs("main",{className:"bg-background",children:[y.jsx("section",{className:"border-b border-border bg-background pb-20 pt-36 md:pb-24 md:pt-44",children:y.jsxs("div",{className:"mx-auto max-w-7xl px-6 md:px-10",children:[y.jsx(Ce.p,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"mb-5 font-sans text-xs font-medium uppercase tracking-[0.25em] text-primary",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"d1273d",guard:{file:"src/pages/Blog.tsx",tagName:"p",sourceKind:"content-key",contentKey:"blog_page.eyebrow",contentKeyTemplate:null,expressionHash:null},children:Ca.eyebrow})}),y.jsx(Ce.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.65,delay:.08,ease:"easeOut"},className:"mb-8 max-w-3xl font-heading font-bold text-foreground leading-[1.1]",style:{whiteSpace:"pre-line",fontSize:"clamp(36px, 5vw, 64px)"},children:y.jsx(et,{devId:"f1e5e6",guard:{file:"src/pages/Blog.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"blog_page.title",contentKeyTemplate:null,expressionHash:null},children:Ca.title})}),y.jsx(Ce.p,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,delay:.18,ease:"easeOut"},className:"max-w-3xl font-sans text-base font-light leading-[1.8] text-muted-foreground",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"d1273e",guard:{file:"src/pages/Blog.tsx",tagName:"p",sourceKind:"content-key",contentKey:"blog_page.intro",contentKeyTemplate:null,expressionHash:null},children:Ca.intro})})]})}),y.jsxs("section",{className:"mx-auto max-w-7xl px-6 py-16 md:px-10 md:py-24","aria-label":"Blog posts",children:[(i||r)&&y.jsxs("div",{className:"mb-8 flex flex-wrap items-center gap-3",role:"group","aria-label":"Active blog filters",children:[i&&y.jsxs("span",{className:"rounded-full bg-primary px-3 py-1.5 text-sm font-medium text-primary-foreground",children:["Category: ",i]}),r&&y.jsxs("span",{className:"rounded-full bg-primary px-3 py-1.5 text-sm font-medium text-primary-foreground",children:["Tag: ",r]}),y.jsx("button",{type:"button",onClick:b,className:"font-sans text-sm text-primary underline underline-offset-4",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"3870a6",guard:{file:"src/pages/Blog.tsx",tagName:"button",sourceKind:"content-key",contentKey:"blog_page.clearFilters",contentKeyTemplate:null,expressionHash:null},children:Ca.clearFilters})})]}),(d.length>0||f.length>0)&&y.jsxs("div",{className:"mb-10 flex flex-wrap items-center gap-4",role:"group","aria-label":"Filter blog posts",children:[d.length>0&&!i&&y.jsxs("select",{"aria-label":"Filter by category",className:"rounded-md border border-border bg-card px-4 py-2 font-sans text-sm text-card-foreground",defaultValue:"",onChange:T=>T.target.value&&x({category:T.target.value}),children:[y.jsx("option",{value:"",children:"Filter by category"}),d.map(T=>y.jsx("option",{value:T,children:T},T))]}),f.length>0&&!r&&y.jsx("div",{className:"flex flex-wrap items-center gap-2",children:f.map(T=>y.jsx("button",{type:"button",onClick:()=>x({tag:T}),className:"rounded-full border border-border px-3 py-1.5 font-sans text-xs text-muted-foreground transition-colors hover:border-primary hover:text-primary",children:T},T))})]}),p.totalPosts===0?y.jsxs("div",{className:"border border-border bg-card px-6 py-14 text-center",children:[y.jsx("h2",{className:"font-heading text-3xl font-semibold text-card-foreground",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"5ba2c6",guard:{file:"src/pages/Blog.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"blog_page.emptyTitle",contentKeyTemplate:null,expressionH
236ash:null},children:Ca.emptyTitle})}),y.jsx("p",{className:"mx-auto mt-3 max-w-lg font-sans leading-relaxed text-muted-foreground",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"86c7fc",guard:{file:"src/pages/Blog.tsx",tagName:"p",sourceKind:"content-key",contentKey:"blog_page.emptyBody",contentKeyTemplate:null,expressionHash:null},children:Ca.emptyBody})})]}):y.jsxs(y.Fragment,{children:[y.jsxs("p",{className:"mb-6 font-sans text-sm text-muted-foreground",children:[p.totalPosts," ",p.totalPosts===1?"post":"posts"]}),y.jsx(vT,{posts:h,variant:"default",columns:3})]}),p.totalPages>1&&y.jsxs("nav",{className:"mt-12 flex items-center justify-center gap-4","aria-label":"Blog pagination",children:[y.jsx("button",{type:"button",onClick:()=>v(p.currentPage-1),disabled:!p.hasPreviousPage,className:"rounded-md border border-border px-4 py-2 font-sans text-sm text-foreground disabled:cursor-not-allowed disabled:text-muted-foreground",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"c264e8",guard:{file:"src/pages/Blog.tsx",tagName:"button",sourceKind:"content-key",contentKey:"blog_page.previous",contentKeyTemplate:null,expressionHash:null},children:Ca.previous})}),y.jsxs("span",{className:"font-sans text-sm text-muted-foreground",children:[y.jsx("span",{style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"685b81",guard:{file:"src/pages/Blog.tsx",tagName:"span",sourceKind:"content-key",contentKey:"blog_page.pageLabel",contentKeyTemplate:null,expressionHash:null},children:Ca.pageLabel})}),y.jsxs("span",{children:[" ",p.currentPage," of ",p.totalPages]})]}),y.jsx("button",{type:"button",onClick:()=>v(p.currentPage+1),disabled:!p.hasNextPage,className:"rounded-md border border-border px-4 py-2 font-sans text-sm text-foreground disabled:cursor-not-allowed disabled:text-muted-foreground",style:{whiteSpace:"pre-line"},children:y.jsx(et,{devId:"c264e9",guard:{file:"src/pages/Blog.tsx",tagName:"button",sourceKind:"content-key",contentKey:"blog_page.next",contentKeyTemplate:null,expressionHash:null},children:Ca.next})})]})]})]})]})}function nO(e,t){const i={};return(e[e.length-1]===""?[...e,""]:e).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const iO=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,aO=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,rO={};function Pw(e,t){return(rO.jsx?aO:iO).test(e)}const sO=/[ \t\n\f\r]/g;function lO(e){return typeof e=="object"?e.type==="text"?Bw(e.value):!1:Bw(e)}function Bw(e){return e.replace(sO,"")===""}class ou{constructor(t,i,r){this.normal=i,this.property=t,r&&(this.space=r)}}ou.prototype.normal={};ou.prototype.property={};ou.prototype.space=void 0;function wT(e,t){const i={},r={};for(const s of e)Object.assign(i,s.property),Object.assign(r,s.normal);return new ou(i,r,t)}function ag(e){return e.toLowerCase()}class Ln{constructor(t,i){this.attribute=i,this.property=t}}Ln.prototype.attribute="";Ln.prototype.booleanish=!1;Ln.prototype.boolean=!1;Ln.prototype.commaOrSpaceSeparated=!1;Ln.prototype.commaSeparated=!1;Ln.prototype.defined=!1;Ln.prototype.mustUseProperty=!1;Ln.prototype.number=!1;Ln.prototype.overloadedBoolean=!1;Ln.prototype.property="";Ln.prototype.spaceSeparated=!1;Ln.prototype.space=void 0;let oO=0;const Ke=ls(),Gt=ls(),rg=ls(),le=ls(),Tt=ls(),rl=ls(),qn=ls();function ls(){return 2**++oO}const sg=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ke,booleanish:Gt,commaOrSpaceSeparated:qn,commaSeparated:rl,number:le,overloadedBoolean:rg,spaceSeparated:Tt},Symbol.toStringTag,{value:"Module"})),Km=Object.keys(sg);class ly extends Ln{constructor(t,i,r,s){let o=-1;if(super(t,i),Uw(this,"space",s),typeof r=="number")for(;++o<Km.length;){const u=Km[o];Uw(this,Km[o],(r&sg[u])===sg[u])}}}ly.prototype.defined=!0;function Uw(e,t,i){i&&(e[t]=i)}function wl(e){const t={},i={};for(const[r,s]of Object.entries(e.properties)){const o=new ly(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,i[ag(r)]=r,i[ag(o.attribute)]=r}return new ou(t,i,e.space)}const ST=wl({properties:{ariaActiveDescendant:null,ariaAtomic:Gt,ariaAutoComplete:null,ariaBusy:Gt,ariaChecked:Gt,ariaColCount:le,ariaColIndex:le,ariaColSpan:le,ariaControl
vendor: 5,434 bytes, line 236
236s:Tt,ariaCurrent:null,ariaDescribedBy:Tt,ariaDetails:null,ariaDisabled:Gt,ariaDropEffect:Tt,ariaErrorMessage:null,ariaExpanded:Gt,ariaFlowTo:Tt,ariaGrabbed:Gt,ariaHasPopup:null,ariaHidden:Gt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Tt,ariaLevel:le,ariaLive:null,ariaModal:Gt,ariaMultiLine:Gt,ariaMultiSelectable:Gt,ariaOrientation:null,ariaOwns:Tt,ariaPlaceholder:null,ariaPosInSet:le,ariaPressed:Gt,ariaReadOnly:Gt,ariaRelevant:null,ariaRequired:Gt,ariaRoleDescription:Tt,ariaRowCount:le,ariaRowIndex:le,ariaRowSpan:le,ariaSelected:Gt,ariaSetSize:le,ariaSort:null,ariaValueMax:le,ariaValueMin:le,ariaValueNow:le,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function kT(e,t){return t in e?e[t]:t}function TT(e,t){return kT(e,t.toLowerCase())}const uO=wl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:rl,acceptCharset:Tt,accessKey:Tt,action:null,allow:null,allowFullScreen:Ke,allowPaymentRequest:Ke,allowUserMedia:Ke,alt:null,as:null,async:Ke,autoCapitalize:null,autoComplete:Tt,autoFocus:Ke,autoPlay:Ke,blocking:Tt,capture:null,charSet:null,checked:Ke,cite:null,className:Tt,cols:le,colSpan:null,content:null,contentEditable:Gt,controls:Ke,controlsList:Tt,coords:le|rl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ke,defer:Ke,dir:null,dirName:null,disabled:Ke,download:rg,draggable:Gt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ke,formTarget:null,headers:Tt,height:le,hidden:rg,high:le,href:null,hrefLang:null,htmlFor:Tt,httpEquiv:Tt,id:null,imageSizes:null,imageSrcSet:null,inert:Ke,inputMode:null,integrity:null,is:null,isMap:Ke,itemId:null,itemProp:Tt,itemRef:Tt,itemScope:Ke,itemType:Tt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ke,low:le,manifest:null,max:null,maxLength:le,media:null,method:null,min:null,minLength:le,multiple:Ke,muted:Ke,name:null,nonce:null,noModule:Ke,noValidate:Ke,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ke,optimum:le,pattern:null,ping:Tt,placeholder:null,playsInline:Ke,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ke,referrerPolicy:null,rel:Tt,required:Ke,reversed:Ke,rows:le,rowSpan:le,sandbox:Tt,scope:null,scoped:Ke,seamless:Ke,selected:Ke,shadowRootClonable:Ke,shadowRootDelegatesFocus:Ke,shadowRootMode:null,shape:null,size:le,sizes:null,slot:null,span:le,spellCheck:Gt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:le,step:null,style:null,tabIndex:le,target:null,title:null,translate:null,type:null,typeMustMatch:Ke,useMap:null,value:Gt,width:le,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Tt,axis:null,background:null,bgColor:null,border:le,borderColor:null,bottomMargin:le,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ke,declare:Ke,event:null,face:null,frame:null,frameBorder:null,hSpace:le,leftMargin:le,link:null,longDesc:null,lowSrc:null,marginHeight:le,marginWidth:le,noResize:Ke,noHref:Ke,noShade:Ke,noWrap:Ke,object:null,profile:null,prompt:null,rev:null,rightMargin:le,rules:null,scheme:null,scrolling:Gt,standby:null,summary:null,text:null,topMargin:le,valueType:null,version:null,vAlign:null,vLink:null,vSpace:le,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ke,disableRemotePlayback:Ke,prefix:null,property:null,results:le,security:null,unselectable:null},space:"html",transform:TT}),cO=wl({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
236dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:qn,accentHeight:le,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:le,amplitude:le,arabicForm:null,ascent:le,attributeName:null,attributeType:null,azimuth:le,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:le,by:null,calcMode:null,capHeight:le,className:Tt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
236dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:le,diffuseConstant:le,direction:null,display:null,dur:null,divisor:le,dominantBaseline:null,download:Ke,dx:null,dy:null,edgeMode:null,editable:null,elevation:le,enableBackground:null,end:null,event:null,exponent:le,externalResourcesRequired:null,fill:null,fillOpacity:le,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:rl,g2:rl,glyphName:rl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:le,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:le,horizOriginX:le,horizOriginY:le,id:null,ideographic:le,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:le,k:le,k1:le,k2:le,k3:le,k4:le,kernelMatrix:qn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:le,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:le,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:le,overlineThickness:le,paintOrder:null,panose1:null,path:null,pathLength:le,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Tt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:le,pointsAtY:le,pointsAtZ:le,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qn,rev:qn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qn,requiredFeatures:qn,requiredFonts:qn,requiredFormats:qn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:le,specularExponent:le,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:le,strikethroughThickness:le,string:null,stroke:null,strokeDashArray:qn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:le,strokeOpacity:le,strokeWidth:null,style:null,surfaceScale:le,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:qn,tabIndex:le,tableValues:null,target:null,targetX:le,targetY:le,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:qn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:le,underlineThickness:le,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:le,values:null,vAlphabetic:le,vMathematical:le,vectorEffect:null,vHanging:le,vIdeographic:le,version:null,vertAdvY:le,vertOriginX:le,vertOriginY:le,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:le,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:kT}),CT=wl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 4,160 bytes, lines 236-237
236,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),AT=wl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:TT}),ET=wl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),dO={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},fO=/[A-Z]/g,Hw=/-[a-z]/g,hO=/^data[-\w.:]+$/i;function mO(e,t){const i=ag(t);let r=t,s=Ln;if(i in e.normal)return e.property[e.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&hO.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Hw,gO);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Hw.test(o)){let u=o.replace(fO,pO);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}s=ly}return new s(r,t)}function pO(e){return"-"+e.toLowerCase()}function gO(e){return e.charAt(1).toUpperCase()}const yO=wT([ST,uO,CT,AT,ET],"html"),oy=wT([ST,cO,CT,AT,ET],"svg");function xO(e){return e.join(" ").trim()}var Ys={},Gm,Vw;function bO(){if(Vw)return Gm;Vw=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,i=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,d=/^\s+|\s+$/g,f=` 237`,h="/",p="*",x="",b="comment",v="declaration";function S(C,A){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];A=A||{};var N=1,M=1;function K(oe){var ne=oe.match(t);ne&&(N+=ne.length);var H=oe.lastIndexOf(f);M=~H?oe.length-H:M+oe.length}function G(){var oe={line:N,column:M};return function(ne){return ne.position=new U(oe),se(),ne}}function U(oe){this.start=oe,this.end={line:N,column:M},this.source=A.source}U.prototype.content=C;function ee(oe){var ne=new Error(A.source+":"+N+":"+M+": "+oe);if(ne.reason=oe,ne.filename=A.source,ne.line=N,ne.column=M,ne.source=C,!A.silent)throw ne}function L(oe){var ne=oe.exec(C);if(ne){var H=ne[0];return K(H),C=C.slice(H.length),ne}}function se(){L(i)}function z(oe){var ne;for(oe=oe||[];ne=te();)ne!==!1&&oe.push(ne);return oe}function te(){var oe=G();if(!(h!=C.charAt(0)||p!=C.charAt(1))){for(var ne=2;x!=C.charAt(ne)&&(p!=C.charAt(ne)||h!=C.charAt(ne+1));)++ne;if(ne+=2,x===C.charAt(ne-1))return ee("End of comment missing");var H=C.slice(2,ne-2);return M+=2,K(H),C=C.slice(ne),M+=2,oe({type:b,comment:H})}}function Z(){var oe=G(),ne=L(r);if(ne){if(te(),!L(s))return ee("property missing ':'");var H=L(o),J=oe({type:v,property:T(ne[0].replace(e,x)),value:H?T(H[0].replace(e,x)):x});return L(u),J}}function pe(){var oe=[];z(oe);for(var ne;ne=Z();)ne!==!1&&(oe.push(ne),z(oe));return oe}return se(),pe()}function T(C){return C?C.replace(d,x):x}return Gm=S,Gm}var Iw;function vO(){if(Iw)return Ys;Iw=1;var e=Ys&&Ys.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.default=i;const t=e(bO());function i(r,s){let o=null;if(!r||typeof r!="string")return o;const u=(0,t.default)(r),d=typeof s=="function";return u.forEach(f=>{if(f.type!=="declaration")return;const{property:h,value:p}=f;d?s(h,p,f):p&&(o=o||{},o[h]=p)}),o}return Ys}var So={},Fw;function wO(){if(Fw)return So;Fw=1,Object.defineProperty(So,"__esModule",{value:!0}),So.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,i=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,o=function(h){return!h||i.test(h)||e.test(h)},u=function(h,p){return p.toUpperCase()},d=function(h,p){return"".concat(p,"-")},f=function(h,p){return p===void 0&&(p={}),o(h)?h:(h=h.toLowerCase(),p.reactCompat?h=h.replace(s,d):h=h.replace(r,d),h.replace(t,u))};return So.camelCase=f,So}var ko,qw;function SO(){if(qw)return ko;qw=1;var e=ko&&ko.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},t=e(vO()),i=wO();function r(s,o){var u={};
vendor: 2,733 bytes, line 237
237return!s||typeof s!="string"||(0,t.default)(s,function(d,f){d&&f&&(u[(0,i.camelCase)(d,o)]=f)}),u}return r.default=r,ko=r,ko}var kO=SO();const TO=US(kO),jT=NT("end"),uy=NT("start");function NT(e){return t;function t(i){const r=i&&i.position&&i.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function CO(e){const t=uy(e),i=jT(e);if(t&&i)return{start:t,end:i}}function Po(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Kw(e.position):"start"in e||"end"in e?Kw(e):"line"in e||"column"in e?lg(e):""}function lg(e){return Gw(e&&e.line)+":"+Gw(e&&e.column)}function Kw(e){return lg(e&&e.start)+"-"+lg(e&&e.end)}function Gw(e){return e&&typeof e=="number"?e:1}class yn extends Error{constructor(t,i,r){super(),typeof i=="string"&&(r=i,i=void 0);let s="",o={},u=!1;if(i&&("line"in i&&"column"in i?o={place:i}:"start"in i&&"end"in i?o={place:i}:"type"in i?o={ancestors:[i],place:i.position}:o={...i}),typeof t=="string"?s=t:!o.cause&&t&&(u=!0,s=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const f=r.indexOf(":");f===-1?o.ruleId=r:(o.source=r.slice(0,f),o.ruleId=r.slice(f+1))}if(!o.place&&o.ancestors&&o.ancestors){const f=o.ancestors[o.ancestors.length-1];f&&(o.place=f.position)}const d=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=d?d.line:void 0,this.name=Po(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=u&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}yn.prototype.file="";yn.prototype.name="";yn.prototype.reason="";yn.prototype.message="";yn.prototype.stack="";yn.prototype.column=void 0;yn.prototype.line=void 0;yn.prototype.ancestors=void 0;yn.prototype.cause=void 0;yn.prototype.fatal=void 0;yn.prototype.place=void 0;yn.prototype.ruleId=void 0;yn.prototype.source=void 0;const cy={}.hasOwnProperty,AO=new Map,EO=/[A-Z]/g,jO=new Set(["table","tbody","thead","tfoot","tr"]),NO=new Set(["td","th"]),RT="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function RO(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=BO(i,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 237
237if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=PO(i,t.jsx,t.jsxs)}const s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?oy:yO,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=MT(s,e,void 0);return o&&typeof o!="string"?o:s.create(e,s.Fragment,{children:o||void 0},void 0)}function MT(e,t,i){if(t.type==="element")return MO(e,t,i);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return _O(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return zO(e,t,i);if(t.type==="mdxjsEsm")return DO(e,t);if(t.type==="root")return LO(e,t,i);if(t.type==="text")return OO(e,t)}function MO(e,t,i){const r=e.schema;let s=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(s=oy,e.schema=s),e.ancestors.push(t);const o=DT(e,t.tagName,!1),u=UO(e,t);let d=fy(e,t);return jO.has(t.tagName)&&(d=d.filter(function(f){return typeof f=="string"?!lO(f):!0})),_T(e,u,o,t),dy(u,d),e.ancestors.pop(),e.schema=r,e.create(t,o,u,i)}function _O(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Jo(e,t.position)}function DO(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Jo(e,t.position)}function zO(e,t,i){const r=e.schema;let s=r;t.name==="svg"&&r.space==="html"&&(s=oy,e.schema=s),e.ancestors.push(t);const o=t.name===null?e.Fragment:DT(e,t.name,!0),u=HO(e,t),d=fy(e,t);return _T(e,u,o,t),dy(u,d),e.ancestors.pop(),e.schema=r,e.create(t,o,u,i)}function LO(e,t,i){const r={};return dy(r,fy(e,t)),e.create(t,e.Fragment,r,i)}function OO(e,t){return t.value}function _T(e,t,i,r){typeof i!="string"&&i!==e.Fragment&&e.passNode&&(t.node=r)}function dy(e,t){if(t.length>0){const i=t.length>1?t:t[0];i&&(e.children=i)}}function PO(e,t,i){return r;function r(s,o,u,d){const h=Array.isArray(u.children)?i:t;return d?h(o,u,d):h(o,u)}}function BO(e,t){return i;function i(r,s,o,u){const d=Array.isArray(o.children),f=uy(r);return t(s,o,u,d,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function UO(e,t){const i={};let r,s;for(s in t.properties)if(s!=="children"&&cy.call(t.properties,s)){const o=VO(e,s,t.properties[s]);if(o){const[u,d]=o;e.tableCellAlignToStyle&&u==="align"&&typeof d=="string"&&NO.has(t.tagName)?r=d:i[u]=d}}if(r){const o=i.style||(i.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return i}function HO(e,t){const i={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const u=o.expression;u.type;const d=u.properties[0];d.type,Object.assign(i,e.evaluater.evaluateExpression(d.argument))}else Jo(e,t.position);else{const s=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const d=r.value.data.estree.body[0];d.type,o=e.evaluater.evaluateExpression(d.expression)}else Jo(e,t.position);else o=r.value===null?!0:r.value;i[s]=o}return i}function fy(e,t){const i=[];let r=-1;const s=e.passKeys?new Map:AO;for(;++r<t.children.length;){const o=t.children[r];let u;if(e.passKeys){const f=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(f){const h=s.get(f)||0;u=f+"-"+h,s.set(f,h+1)}}const d=MT(e,o,u);d!==void 0&&i.push(d)}return i}function VO(e,t,i){const r=mO(e.schema,t);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=r.commaSeparated?nO(i):xO(i)),r.property==="style"){let s=typeof i=="object"?i:IO(e,String(i));return e.stylePropertyNameCase==="css"&&(s=FO(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&r.space?dO[r.property]||r.property:r.attribute,i]}}function IO(e,t){try{return TO(t,{reactCompat:!0})}catch(i){if(e.ignoreInvalidStyle)return{};const r=i,s=new yn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=RT+"#cannot-parse-style-attribute",s}}function DT(e,t,i){let r;if(!i)r={type:"Literal",value:t};else if(t.includes(".")){const s=t.split(".");let o=-1,u;for(;++o<s.length;){const d=Pw(s[o])?{type:"Identifier",name:s[o]}:{type:"Literal",value:s[o]};u=u?{type:"MemberExpression",object:u,property:d,computed:!!(o&&d.type==="Literal"),optional:!1}:d}r=u}else r=Pw(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const s=r.value;return cy.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(r);Jo(e)}function Jo(e,t){const i=new yn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=RT+"#cannot-handle-mdx-estrees-without-createevaluater",i}function FO(e){const t={};let i;for(i in e)cy.call(e,i)&&(t[qO(i)]=e[i]);return t}function qO(e){let t=e.replace(EO,KO);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function KO(e){return"-"+e.toLowerCase()}const Ym={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},GO={};function hy(e,t){const i=GO,r=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,s=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return zT(e,r,s)}function zT(e,t,i){if(YO(e)){if("value"in e)return e.type==="html"&&!i?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Yw(e.children,t,i)}return Array.isArray(e)?Yw(e,t,i):""}function Yw(e,t,i){const r=[];let s=-1;for(;++s<e.length;)r[s]=zT(e[s],t,i);return r.join("")}function YO(e){return!!(e&&typeof e=="object")}const Zw=document.createElement("i");function my(e){const t="&"+e+";";Zw.innerHTML=t;const i=Zw.textContent;
vendor: 14,531 bytes, line 237
237return i.charCodeAt(i.length-1)===59&&e!=="semi"||i===t?!1:i}function Yn(e,t,i,r){const s=e.length;let o=0,u;if(t<0?t=-t>s?0:s+t:t=t>s?s:t,i=i>0?i:0,r.length<1e4)u=Array.from(r),u.unshift(t,i),e.splice(...u);else for(i&&e.splice(t,i);o<r.length;)u=r.slice(o,o+1e4),u.unshift(t,0),e.splice(...u),o+=1e4,t+=1e4}function ui(e,t){return e.length>0?(Yn(e,e.length,0,t),e):t}const $w={}.hasOwnProperty;function LT(e){const t={};let i=-1;for(;++i<e.length;)ZO(t,e[i]);return t}function ZO(e,t){let i;for(i in t){const s=($w.call(e,i)?e[i]:void 0)||(e[i]={}),o=t[i];let u;if(o)for(u in o){$w.call(s,u)||(s[u]=[]);const d=o[u];$O(s[u],Array.isArray(d)?d:d?[d]:[])}}}function $O(e,t){let i=-1;const r=[];for(;++i<t.length;)(t[i].add==="after"?e:r).push(t[i]);Yn(e,0,0,r)}function OT(e,t){const i=Number.parseInt(e,t);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?"�":String.fromCodePoint(i)}function _i(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Sn=Ar(/[A-Za-z]/),gn=Ar(/[\dA-Za-z]/),XO=Ar(/[#-'*+\--9=?A-Z^-~]/);function Nd(e){return e!==null&&(e<32||e===127)}const og=Ar(/\d/),JO=Ar(/[\dA-Fa-f]/),WO=Ar(/[!-/:-@[-`{-~]/);function Re(e){return e!==null&&e<-2}function St(e){return e!==null&&(e<0||e===32)}function Je(e){return e===-2||e===-1||e===32}const Vd=Ar(new RegExp("\\p{P}|\\p{S}","u")),rs=Ar(/\s/);function Ar(e){return t;function t(i){return i!==null&&i>-1&&e.test(String.fromCharCode(i))}}function Sl(e){const t=[];let i=-1,r=0,s=0;for(;++i<e.length;){const o=e.charCodeAt(i);let u="";if(o===37&&gn(e.charCodeAt(i+1))&&gn(e.charCodeAt(i+2)))s=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(u=String.fromCharCode(o));else if(o>55295&&o<57344){const d=e.charCodeAt(i+1);o<56320&&d>56319&&d<57344?(u=String.fromCharCode(o,d),s=1):u="�"}else u=String.fromCharCode(o);u&&(t.push(e.slice(r,i),encodeURIComponent(u)),r=i+s+1,u=""),s&&(i+=s,s=0)}return t.join("")+e.slice(r)}function nt(e,t,i,r){const s=r?r-1:Number.POSITIVE_INFINITY;let o=0;return u;function u(f){return Je(f)?(e.enter(i),d(f)):t(f)}function d(f){return Je(f)&&o++<s?(e.consume(f),d):(e.exit(i),t(f))}}const QO={tokenize:e5};function e5(e){const t=e.attempt(this.parser.constructs.contentInitial,r,s);let i;return t;function r(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),nt(e,t,"linePrefix")}function s(d){return e.enter("paragraph"),o(d)}function o(d){const f=e.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=f),i=f,u(d)}function u(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return Re(d)?(e.consume(d),e.exit("chunkText"),o):(e.consume(d),u)}}const t5={tokenize:n5},Xw={tokenize:i5};function n5(e){const t=this,i=[];let r=0,s,o,u;return d;function d(M){if(r<i.length){const K=i[r];return t.containerState=K[1],e.attempt(K[0].continuation,f,h)(M)}return h(M)}function f(M){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&N();const K=t.events.length;let G=K,U;for(;G--;)if(t.events[G][0]==="exit"&&t.events[G][1].type==="chunkFlow"){U=t.events[G][1].end;break}A(r);let ee=K;for(;ee<t.events.length;)t.events[ee][1].end={...U},ee++;return Yn(t.events,G+1,0,t.events.slice(K)),t.events.length=ee,h(M)}return d(M)}function h(M){if(r===i.length){if(!s)return b(M);if(s.currentConstruct&&s.currentConstruct.concrete)return S(M);t.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Xw,p,x)(M)}function p(M){return s&&N(),A(r),b(M)}function x(M){return t.parser.lazy[t.now().line]=r!==i.length,u=t.now().offset,S(M)}function b(M){return t.containerState={},e.attempt(Xw,v,S)(M)}function v(M){return r++,i.push([t.currentConstruct,t.containerState]),b(M)}function S(M){if(M===null){s&&N(),A(0),e.consume(M);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:o}),T(M)}function T(M){if(M===null){C(e.exit("chunkFlow"),!0),A(0),e.consume(M);return}return Re(M)?(e.consume(M),C(e.exit("chunkFlow")),r=0,t.interrupt=void 0,d):(e.consume(M),T)}function C(M,K){const G=t.sliceStream(M);if(K&&G.push(null),M.previous=o,o&&(o.next=M),o=M,s.defineSkip(M.start),s.write(G),t.parser.lazy[M.start.line]){let U=s.events.length;for(;U--;)if(s.events[U][1].start.offset<u&&(!s.events[U][1].end||s.events[U][1].end.offset>u))return;const ee=t.events.length;let L=ee,se,z;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){if(se){z=t.events[L][1].end;break}se=!0}for(A(r),U=ee;U<t.events.length;)t.events[U][1].end={...z},U++;Yn(t.events,L+1,0,t.events.slice(ee)),t.events.length=U}}function A(M){let K=i.length;for(;K-- >M;){const G=i[K];t.containerState=G[1],G[0].exit.call(t,e)}i.length=M}function N(){s.write([null]),o=void 0,s=void 0,t.containerState._closeFlow=void 0}}function i5(e,t,i){return nt(e,e.attempt(this.parser.constructs.document,t,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function hl(e){if(e===null||St(e)||rs(e))return 1;if(Vd(e))return 2}function Id(e,t,i){const r=[];let s=-1;for(;++s<e.length;){const o=e[s].resolveAll;o&&!r.includes(o)&&(t=o(t,i),r.push(o))}return t}const ug={name:"attention",resolveAll:a5,tokenize:r5};function a5(e,t){let i=-1,r,s,o,u,d,f,h,p;for(;++i<e.length;)if(e[i][0]==="enter"&&e[i][1].type==="attentionSequence"&&e[i][1]._close){for(r=i;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[i][1]).charCodeAt(0)){if((e[r][1]._close||e[i][1]._open)&&(e[i][1].end.offset-e[i][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[i][1].end.offset-e[i][1].start.offset)%3))continue;f=e[r][1].end.offset-e[r][1].start.offset>1&&e[i][1].end.offset-e[i][1].start.offset>1?2:1;const x={...e[r][1].end},b={...e[i][1].start};Jw(x,-f),Jw(b,f),u={type:f>1?"strongSequence":"emphasisSequence",start:x,end:{...e[r][1].end}},d={type:f>1?"strongSequence":"emphasisSequence",start:{...e[i][1].start},end:b},o={type:f>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[i][1].start}},s={type:f>1?"strong":"emphasis",start:{...u.start},end:{...d.end}},e[r][1].end={...u.start},e[i][1].start={...d.end},h=[],e[r][1].end.offset-e[r][1].start.offset&&(h=ui(h,[["enter",e[r][1],t],["exit",e[r][1],t]])),h=ui(h,[["enter",s,t],["enter",u,t],["exit",u,t],["enter",o,t]]),h=ui(h,Id(t.parser.constructs.insideSpan.null,e.slice(r+1,i),t)),h=ui(h,[["exit",o,t],["enter",d,t],["exit",d,t],["exit",s,t]]),e[i][1].end.offset-e[i][1].start.offset?(p=2,h=ui(h,[["enter",e[i][1],t],["exit",e[i][1],t]])):p=0,Yn(e,r-1,i-r+3,h),i=r+h.length-p-2;break}}for(i=-1;++i<e.length;)e[i][1].type==="attentionSequence"&&(e[i][1].type="data");return e}function r5(e,t){const i=this.parser.constructs.attentionMarkers.null,r=this.previous,s=hl(r);let o;return u;function u(f){return o=f,e.enter("attentionSequence"),d(f)}function d(f){if(f===o)return e.consume(f),d;const h=e.exit("attentionSequence"),p=hl(f),x=!p||p===2&&s||i.includes(f),b=!s||s===2&&p||i.includes(r);return h._open=!!(o===42?x:x&&(s||!b)),h._close=!!(o===42?b:b&&(p||!x)),t(f)}}function Jw(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const s5={name:"autolink",tokenize:l5};function l5(e,t,i){let r=0;return s;function s(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(v){return Sn(v)?(e.consume(v),u):v===64?i(v):h(v)}function u(v){return v===43||v===45||v===46||gn(v)?(r=1,d(v)):h(v)}function d(v){return v===58?(e.consume(v),r=0,f):(v===43||v===45||v===46||gn(v))&&r++<32?(e.consume(v),d):(r=0,h(v))}function f(v){return v===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):v===null||v===32||v===60||Nd(v)?i(v):(e.consume(v),f)}function h(v){return v===64?(e.consume(v),p):XO(v)?(e.consume(v),h):i(v)}function p(v){return gn(v)?x(v):i(v)}function x(v){return v===46?(e.consume(v),r=0,p):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):b(v)}function b(v){if((v===45||gn(v))&&r++<63){const S=v===45?b:x;return e.consume(v),S}return i(v)}}const uu={partial:!0,tokenize:o5};function o5(e,t,i){return r;function r(o){return Je(o)?nt(e,s,"linePrefix")(o):s(o)}function s(o){return o===null||Re(o)?t(o):i(o)}}const PT={continuation:{tokenize:c5},exit:d5,name:"blockQuote",tokenize:u5};function u5(e,t,i){const r=this;return s;function s(u){if(u===62){const d=r.containerState;return d.open||(e.enter("blockQuote",{_container:!0}),d.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),o}return i(u)}function o(u){return Je(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function c5(e,t,i){const r=this;return s;function s(u){return Je(u)?nt(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):o(u)}function o(u){return e.attempt(PT,t,i)(u)}}function d5(e){e.exit("blockQuote")}const BT={name:"characterEscape",tokenize:f5};function f5(e,t,i){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),s}function s(o){return WO(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):i(o)}}const UT={name:"characterReference",tokenize:h5};function h5(e,t,i){const r=this;let s=0,o,u;return d;function d(x){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(x),e.exit("characterReferenceMarker"),f}function f(x){return x===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(x),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),o=31,u=gn,p(x))}function h(x){return x===88||x===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(x),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,u=JO,p):(e.enter("characterReferenceValue"),o=7,u=og,p(x))}function p(x){if(x===59&&s){const b=e.exit("characterReferenceValue");return u===gn&&!my(r.sliceSerialize(b))?i(x):(e.enter("characterReferenceMarker"),e.consume(x),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(x)&&s++<o?(e.consume(x),p):i(x)}}const Ww={partial:!0,tokenize:p5},Qw={concrete:!0,name:"codeFenced",tokenize:m5};function m5(e,t,i){const r=this,s={partial:!0,tokenize:G};let o=0,u=0,d;return f;function f(U){return h(U)}function h(U){const ee=r.events[r.events.length-1];return o=ee&&ee[1].type==="linePrefix"?ee[2].sliceSerialize(ee[1],!0).length:0,d=U,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(U)}function p(U){return U===d?(u++,e.consume(U),p):u<3?i(U):(e.exit("codeFencedFenceSequence"),Je(U)?nt(e,x,"whitespace")(U):x(U))}function x(U){return U===null||Re(U)?(e.exit("codeFencedFence"),r.interrupt?t(U):e.check(Ww,T,K)(U)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(U))}function b(U){return U===null||Re(U)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),x(U)):Je(U)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),nt(e,v,"whitespace")(U)):U===96&&U===d?i(U):(e.consume(U),b)}function v(U){return U===null||Re(U)?x(U):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),S(U))}function S(U){return U===null||Re(U)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),x(U)):U===96&&U===d?i(U):(e.consume(U),S)}function T(U){return e.attempt(s,K,C)(U)}function C(U){return e.enter("lineEnding"),e.consume(U),e.exit("lineEnding"),A}function A(U){return o>0&&Je(U)?nt(e,N,"linePrefix",o+1)(U):N(U)}function N(U){return U===null||Re(U)?e.check(Ww,T,K)(U):(e.enter("codeFlowValue"),M(U))}function M(U){return U===null||Re(U)?(e.exit("codeFlowValue"),N(U)):(e.consume(U),M)}function K(U){return e.exit("codeFenced"),t(U)}function G(U,ee,L){let se=0;return z;function z(ne){return U.enter("lineEnding"),U.consume(ne),U.exit("lineEnding"),te}function te(ne){return U.enter("codeFencedFence"),Je(ne)?nt(U,Z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ne):Z(ne)}function Z(ne){return ne===d?(U.enter("codeFencedFenceSequence"),pe(ne)):L(ne)}function pe(ne){return ne===d?(se++,U.consume(ne),pe):se>=u?(U.exit("codeFencedFenceSequence"),Je(ne)?nt(U,oe,"whitespace")(ne):oe(ne)):L(ne)}function oe(ne){return ne===null||Re(ne)?(U.exit("codeFencedFence"),ee(ne)):L(ne)}}}function p5(e,t,i){const r=this;return s;function s(u){return u===null?i(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),o)}function o(u){return r.parser.lazy[r.now().line]?i(u):t(u)}}const Zm={name:"codeIndented",tokenize:y5},g5={partial:!0,tokenize:x5};function y5(e,t,i){const r=this;return s;function s(h){return e.enter("codeIndented"),nt(e,o,"linePrefix",5)(h)}function o(h){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?u(h):i(h)}function u(h){return h===null?f(h):Re(h)?e.attempt(g5,u,f)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||Re(h)?(e.exit("codeFlowValue"),u(h)):(e.consume(h),d)}function f(h){return e.exit("codeIndented"),t(h)}}function x5(e,t,i){const r=this;return s;function s(u){return r.parser.lazy[r.now().line]?i(u):Re(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):nt(e,o,"linePrefix",5)(u)}function o(u){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(u):Re(u)?s(u):i(u)}}const b5={name:"codeText",previous:w5,resolve:v5,tokenize:S5};function v5(e){let t=e.length-4,i=3,r,s;if((e[i][1].type==="lineEnding"||e[i][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=i;++r<t;)if(e[r][1].type==="codeTextData"){e[i][1].type="codeTextPadding",e[t][1].type="codeTextPadding",i+=2,t-=2;break}}for(r=i-1,t++;++r<=t;)s===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(s=r):(r===t||e[r][1].type==="lineEnding")&&(e[s][1].type="codeTextData",r!==s+2&&(e[s][1].end=e[r-1][1].end,e.splice(s+2,r-s-2),t-=r-s-2,r=s+2),s=void 0);return e}function w5(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function S5(e,t,i){let r=0,s,o;return u;
vendor: 8,380 bytes, line 237
237function u(x){return e.enter("codeText"),e.enter("codeTextSequence"),d(x)}function d(x){return x===96?(e.consume(x),r++,d):(e.exit("codeTextSequence"),f(x))}function f(x){return x===null?i(x):x===32?(e.enter("space"),e.consume(x),e.exit("space"),f):x===96?(o=e.enter("codeTextSequence"),s=0,p(x)):Re(x)?(e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(x))}function h(x){return x===null||x===32||x===96||Re(x)?(e.exit("codeTextData"),f(x)):(e.consume(x),h)}function p(x){return x===96?(e.consume(x),s++,p):s===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(x)):(o.type="codeTextData",h(x))}}class k5{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,i){const r=i??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,i,r){const s=i||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return r&&To(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),To(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),To(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const i=this.left.splice(t,Number.POSITIVE_INFINITY);To(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);To(this.left,i.reverse())}}}function To(e,t){let i=0;if(t.length<1e4)e.push(...t);else for(;i<t.length;)e.push(...t.slice(i,i+1e4)),i+=1e4}function HT(e){const t={};let i=-1,r,s,o,u,d,f,h;const p=new k5(e);for(;++i<p.length;){for(;i in t;)i=t[i];if(r=p.get(i),i&&r[1].type==="chunkFlow"&&p.get(i-1)[1].type==="listItemPrefix"&&(f=r[1]._tokenizer.events,o=0,o<f.length&&f[o][1].type==="lineEndingBlank"&&(o+=2),o<f.length&&f[o][1].type==="content"))for(;++o<f.length&&f[o][1].type!=="content";)f[o][1].type==="chunkText"&&(f[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,T5(p,i)),i=t[i],h=!0);else if(r[1]._container){for(o=i,s=void 0;o--;)if(u=p.get(o),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(s&&(p.get(s)[1].type="lineEndingBlank"),u[1].type="lineEnding",s=o);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;s&&(r[1].end={...p.get(s)[1].start},d=p.slice(s,i),d.unshift(r),p.splice(s,i-s+1,d))}}return Yn(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!h}function T5(e,t){const i=e.get(t)[1],r=e.get(t)[2];let s=t-1;const o=[];let u=i._tokenizer;u||(u=r.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const d=u.events,f=[],h={};let p,x,b=-1,v=i,S=0,T=0;const C=[T];for(;v;){for(;e.get(++s)[1]!==v;);o.push(s),v._tokenizer||(p=r.sliceStream(v),v.next||p.push(null),x&&u.defineSkip(v.start),v._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(p),v._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),x=v,v=v.next}for(v=i;++b<d.length;)d[b][0]==="exit"&&d[b-1][0]==="enter"&&d[b][1].type===d[b-1][1].type&&d[b][1].start.line!==d[b][1].end.line&&(T=b+1,C.push(T),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(u.events=[],v?(v._tokenizer=void 0,v.previous=void 0):C.pop(),b=C.length;b--;){const A=d.slice(C[b],C[b+1]),N=o.pop();f.push([N,N+A.length-1]),e.splice(N,2,A)}for(f.reverse(),b=-1;++b<f.length;)h[S+f[b][0]]=S+f[b][1],S+=f[b][1]-f[b][0]-1;return h}const C5={resolve:E5,tokenize:j5},A5={partial:!0,tokenize:N5};function E5(e){return HT(e),e}function j5(e,t){let i;return r;function r(d){return e.enter("content"),i=e.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?o(d):Re(d)?e.check(A5,u,o)(d):(e.consume(d),s)}function o(d){return e.exit("chunkContent"),e.exit("content"),t(d)}function u(d){return e.consume(d),e.exit("chunkContent"),i.next=e.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,s}}function N5(e,t,i){const r=this;return s;function s(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),nt(e,o,"linePrefix")}function o(u){if(u===null||Re(u))return i(u);const d=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(u):e.interrupt(r.parser.constructs.flow,i,t)(u)}}function VT(e,t,i,r,s,o,u,d,f){const h=f||Number.POSITIVE_INFINITY;let p=0;return x;function x(A){return A===60?(e.enter(r),e.enter(s),e.enter(o),e.consume(A),e.exit(o),b):A===null||A===32||A===41||Nd(A)?i(A):(e.enter(r),e.enter(u),e.enter(d),e.enter("chunkString",{contentType:"string"}),T(A))}function b(A){return A===62?(e.enter(o),e.consume(A),e.exit(o),e.exit(s),e.exit(r),t):(e.enter(d),e.enter("chunkString",{contentType:"string"}),v(A))}function v(A){return A===62?(e.exit("chunkString"),e.exit(d),b(A)):A===null||A===60||Re(A)?i(A):(e.consume(A),A===92?S:v)}function S(A){return A===60||A===62||A===92?(e.consume(A),v):v(A)}function T(A){return!p&&(A===null||A===41||St(A))?(e.exit("chunkString"),e.exit(d),e.exit(u),e.exit(r),t(A)):p<h&&A===40?(e.consume(A),p++,T):A===41?(e.consume(A),p--,T):A===null||A===32||A===40||Nd(A)?i(A):(e.consume(A),A===92?C:T)}function C(A){return A===40||A===41||A===92?(e.consume(A),T):T(A)}}function IT(e,t,i,r,s,o){const u=this;let d=0,f;return h;function h(v){return e.enter(r),e.enter(s),e.consume(v),e.exit(s),e.enter(o),p}function p(v){return d>999||v===null||v===91||v===93&&!f||v===94&&!d&&"_hiddenFootnoteSupport"in u.parser.constructs?i(v):v===93?(e.exit(o),e.enter(s),e.consume(v),e.exit(s),e.exit(r),t):Re(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),x(v))}function x(v){return v===null||v===91||v===93||Re(v)||d++>999?(e.exit("chunkString"),p(v)):(e.consume(v),f||(f=!Je(v)),v===92?b:x)}function b(v){return v===91||v===92||v===93?(e.consume(v),d++,x):x(v)}}function FT(e,t,i,r,s,o){let u;return d;function d(b){return b===34||b===39||b===40?(e.enter(r),e.enter(s),e.consume(b),e.exit(s),u=b===40?41:b,f):i(b)}function f(b){return b===u?(e.enter(s),e.consume(b),e.exit(s),e.exit(r),t):(e.enter(o),h(b))}function h(b){return b===u?(e.exit(o),f(u)):b===null?i(b):Re(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),nt(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===u||b===null||Re(b)?(e.exit("chunkString"),h(b)):(e.consume(b),b===92?x:p)}function x(b){return b===u||b===92?(e.consume(b),p):p(b)}}function Bo(e,t){let i;return r;function r(s){return Re(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i=!0,r):Je(s)?nt(e,r,i?"linePrefix":"lineSuffix")(s):t(s)}}const R5={name:"definition",tokenize:_5},M5={partial:!0,tokenize:D5};function _5(e,t,i){const r=this;let s;return o;function o(v){return e.enter("definition"),u(v)}function u(v){return IT.call(r,e,d,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function d(v){return s=_i(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),f):i(v)}function f(v){return St(v)?Bo(e,h)(v):h(v)}function h(v){return VT(e,p,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function p(v){return e.attempt(M5,x,x)(v)}function x(v){return Je(v)?nt(e,b,"whitespace")(v):b(v)}function b(v){return v===null||Re(v)?(e.exit("definition"),r.parser.defined.push(s),t(v)):i(v)}}function D5(e,t,i){return r;
vendor: 13,822 bytes, line 237
237function r(d){return St(d)?Bo(e,s)(d):i(d)}function s(d){return FT(e,o,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function o(d){return Je(d)?nt(e,u,"whitespace")(d):u(d)}function u(d){return d===null||Re(d)?t(d):i(d)}}const z5={name:"hardBreakEscape",tokenize:L5};function L5(e,t,i){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),s}function s(o){return Re(o)?(e.exit("hardBreakEscape"),t(o)):i(o)}}const O5={name:"headingAtx",resolve:P5,tokenize:B5};function P5(e,t){let i=e.length-2,r=3,s,o;return e[r][1].type==="whitespace"&&(r+=2),i-2>r&&e[i][1].type==="whitespace"&&(i-=2),e[i][1].type==="atxHeadingSequence"&&(r===i-1||i-4>r&&e[i-2][1].type==="whitespace")&&(i-=r+1===i?2:4),i>r&&(s={type:"atxHeadingText",start:e[r][1].start,end:e[i][1].end},o={type:"chunkText",start:e[r][1].start,end:e[i][1].end,contentType:"text"},Yn(e,r,i-r+1,[["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t]])),e}function B5(e,t,i){let r=0;return s;function s(p){return e.enter("atxHeading"),o(p)}function o(p){return e.enter("atxHeadingSequence"),u(p)}function u(p){return p===35&&r++<6?(e.consume(p),u):p===null||St(p)?(e.exit("atxHeadingSequence"),d(p)):i(p)}function d(p){return p===35?(e.enter("atxHeadingSequence"),f(p)):p===null||Re(p)?(e.exit("atxHeading"),t(p)):Je(p)?nt(e,d,"whitespace")(p):(e.enter("atxHeadingText"),h(p))}function f(p){return p===35?(e.consume(p),f):(e.exit("atxHeadingSequence"),d(p))}function h(p){return p===null||p===35||St(p)?(e.exit("atxHeadingText"),d(p)):(e.consume(p),h)}}const U5=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eS=["pre","script","style","textarea"],H5={concrete:!0,name:"htmlFlow",resolveTo:F5,tokenize:q5},V5={partial:!0,tokenize:G5},I5={partial:!0,tokenize:K5};function F5(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function q5(e,t,i){const r=this;let s,o,u,d,f;return h;function h(j){return p(j)}function p(j){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(j),x}function x(j){return j===33?(e.consume(j),b):j===47?(e.consume(j),o=!0,T):j===63?(e.consume(j),s=3,r.interrupt?t:E):Sn(j)?(e.consume(j),u=String.fromCharCode(j),C):i(j)}function b(j){return j===45?(e.consume(j),s=2,v):j===91?(e.consume(j),s=5,d=0,S):Sn(j)?(e.consume(j),s=4,r.interrupt?t:E):i(j)}function v(j){return j===45?(e.consume(j),r.interrupt?t:E):i(j)}function S(j){const He="CDATA[";return j===He.charCodeAt(d++)?(e.consume(j),d===He.length?r.interrupt?t:Z:S):i(j)}function T(j){return Sn(j)?(e.consume(j),u=String.fromCharCode(j),C):i(j)}function C(j){if(j===null||j===47||j===62||St(j)){const He=j===47,ft=u.toLowerCase();return!He&&!o&&eS.includes(ft)?(s=1,r.interrupt?t(j):Z(j)):U5.includes(u.toLowerCase())?(s=6,He?(e.consume(j),A):r.interrupt?t(j):Z(j)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?i(j):o?N(j):M(j))}return j===45||gn(j)?(e.consume(j),u+=String.fromCharCode(j),C):i(j)}function A(j){return j===62?(e.consume(j),r.interrupt?t:Z):i(j)}function N(j){return Je(j)?(e.consume(j),N):z(j)}function M(j){return j===47?(e.consume(j),z):j===58||j===95||Sn(j)?(e.consume(j),K):Je(j)?(e.consume(j),M):z(j)}function K(j){return j===45||j===46||j===58||j===95||gn(j)?(e.consume(j),K):G(j)}function G(j){return j===61?(e.consume(j),U):Je(j)?(e.consume(j),G):M(j)}function U(j){return j===null||j===60||j===61||j===62||j===96?i(j):j===34||j===39?(e.consume(j),f=j,ee):Je(j)?(e.consume(j),U):L(j)}function ee(j){return j===f?(e.consume(j),f=null,se):j===null||Re(j)?i(j):(e.consume(j),ee)}function L(j){return j===null||j===34||j===39||j===47||j===60||j===61||j===62||j===96||St(j)?G(j):(e.consume(j),L)}function se(j){return j===47||j===62||Je(j)?M(j):i(j)}function z(j){return j===62?(e.consume(j),te):i(j)}function te(j){return j===null||Re(j)?Z(j):Je(j)?(e.consume(j),te):i(j)}function Z(j){return j===45&&s===2?(e.consume(j),H):j===60&&s===1?(e.consume(j),J):j===62&&s===4?(e.consume(j),ve):j===63&&s===3?(e.consume(j),E):j===93&&s===5?(e.consume(j),de):Re(j)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(V5,Me,pe)(j)):j===null||Re(j)?(e.exit("htmlFlowData"),pe(j)):(e.consume(j),Z)}function pe(j){return e.check(I5,oe,Me)(j)}function oe(j){return e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),ne}function ne(j){return j===null||Re(j)?pe(j):(e.enter("htmlFlowData"),Z(j))}function H(j){return j===45?(e.consume(j),E):Z(j)}function J(j){return j===47?(e.consume(j),u="",re):Z(j)}function re(j){if(j===62){const He=u.toLowerCase();return eS.includes(He)?(e.consume(j),ve):Z(j)}return Sn(j)&&u.length<8?(e.consume(j),u+=String.fromCharCode(j),re):Z(j)}function de(j){return j===93?(e.consume(j),E):Z(j)}function E(j){return j===62?(e.consume(j),ve):j===45&&s===2?(e.consume(j),E):Z(j)}function ve(j){return j===null||Re(j)?(e.exit("htmlFlowData"),Me(j)):(e.consume(j),ve)}function Me(j){return e.exit("htmlFlow"),t(j)}}function K5(e,t,i){const r=this;return s;function s(u){return Re(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),o):i(u)}function o(u){return r.parser.lazy[r.now().line]?i(u):t(u)}}function G5(e,t,i){return r;function r(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(uu,t,i)}}const Y5={name:"htmlText",tokenize:Z5};function Z5(e,t,i){const r=this;let s,o,u;return d;function d(E){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(E),f}function f(E){return E===33?(e.consume(E),h):E===47?(e.consume(E),G):E===63?(e.consume(E),M):Sn(E)?(e.consume(E),L):i(E)}function h(E){return E===45?(e.consume(E),p):E===91?(e.consume(E),o=0,S):Sn(E)?(e.consume(E),N):i(E)}function p(E){return E===45?(e.consume(E),v):i(E)}function x(E){return E===null?i(E):E===45?(e.consume(E),b):Re(E)?(u=x,J(E)):(e.consume(E),x)}function b(E){return E===45?(e.consume(E),v):x(E)}function v(E){return E===62?H(E):E===45?b(E):x(E)}function S(E){const ve="CDATA[";return E===ve.charCodeAt(o++)?(e.consume(E),o===ve.length?T:S):i(E)}function T(E){return E===null?i(E):E===93?(e.consume(E),C):Re(E)?(u=T,J(E)):(e.consume(E),T)}function C(E){return E===93?(e.consume(E),A):T(E)}function A(E){return E===62?H(E):E===93?(e.consume(E),A):T(E)}function N(E){return E===null||E===62?H(E):Re(E)?(u=N,J(E)):(e.consume(E),N)}function M(E){return E===null?i(E):E===63?(e.consume(E),K):Re(E)?(u=M,J(E)):(e.consume(E),M)}function K(E){return E===62?H(E):M(E)}function G(E){return Sn(E)?(e.consume(E),U):i(E)}function U(E){return E===45||gn(E)?(e.consume(E),U):ee(E)}function ee(E){return Re(E)?(u=ee,J(E)):Je(E)?(e.consume(E),ee):H(E)}function L(E){return E===45||gn(E)?(e.consume(E),L):E===47||E===62||St(E)?se(E):i(E)}function se(E){return E===47?(e.consume(E),H):E===58||E===95||Sn(E)?(e.consume(E),z):Re(E)?(u=se,J(E)):Je(E)?(e.consume(E),se):H(E)}function z(E){return E===45||E===46||E===58||E===95||gn(E)?(e.consume(E),z):te(E)}function te(E){return E===61?(e.consume(E),Z):Re(E)?(u=te,J(E)):Je(E)?(e.consume(E),te):se(E)}function Z(E){return E===null||E===60||E===61||E===62||E===96?i(E):E===34||E===39?(e.consume(E),s=E,pe):Re(E)?(u=Z,J(E)):Je(E)?(e.consume(E),Z):(e.consume(E),oe)}function pe(E){return E===s?(e.consume(E),s=void 0,ne):E===null?i(E):Re(E)?(u=pe,J(E)):(e.consume(E),pe)}function oe(E){return E===null||E===34||E===39||E===60||E===61||E===96?i(E):E===47||E===62||St(E)?se(E):(e.consume(E),oe)}function ne(E){return E===47||E===62||St(E)?se(E):i(E)}function H(E){return E===62?(e.consume(E),e.exit("htmlTextData"),e.exit("htmlText"),t):i(E)}function J(E){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),re}function re(E){return Je(E)?nt(e,de,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):de(E)}function de(E){return e.enter("htmlTextData"),u(E)}}const py={name:"labelEnd",resolveAll:W5,resolveTo:Q5,tokenize:e6},$5={tokenize:t6},X5={tokenize:n6},J5={tokenize:i6};function W5(e){let t=-1;const i=[];for(;++t<e.length;){const r=e[t][1];if(i.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const s=r.type==="labelImage"?4:2;r.type="data",t+=s}}return e.length!==i.length&&Yn(e,0,e.length,i),e}function Q5(e,t){let i=e.length,r=0,s,o,u,d;for(;i--;)if(s=e[i][1],o){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[i][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(u){if(e[i][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(o=i,s.type!=="labelLink")){r=2;break}}else s.type==="labelEnd"&&(u=i);const f={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[o][1].start},end:{...e[u][1].end}},p={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[u-2][1].start}};return d=[["enter",f,t],["enter",h,t]],d=ui(d,e.slice(o+1,o+r+3)),d=ui(d,[["enter",p,t]]),d=ui(d,Id(t.parser.constructs.insideSpan.null,e.slice(o+r+4,u-3),t)),d=ui(d,[["exit",p,t],e[u-2],e[u-1],["exit",h,t]]),d=ui(d,e.slice(u+1)),d=ui(d,[["exit",f,t]]),Yn(e,o,e.length,d),e}function e6(e,t,i){const r=this;let s=r.events.length,o,u;for(;s--;)if((r.events[s][1].type==="labelImage"||r.events[s][1].type==="labelLink")&&!r.events[s][1]._balanced){o=r.events[s][1];break}return d;function d(b){return o?o._inactive?x(b):(u=r.parser.defined.includes(_i(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),f):i(b)}function f(b){return b===40?e.attempt($5,p,u?p:x)(b):b===91?e.attempt(X5,p,u?h:x)(b):u?p(b):x(b)}function h(b){return e.attempt(J5,p,x)(b)}function p(b){return t(b)}function x(b){return o._balanced=!0,i(b)}}function t6(e,t,i){return r;function r(x){return e.enter("resource"),e.enter("resourceMarker"),e.consume(x),e.exit("resourceMarker"),s}function s(x){return St(x)?Bo(e,o)(x):o(x)}function o(x){return x===41?p(x):VT(e,u,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(x)}function u(x){return St(x)?Bo(e,f)(x):p(x)}function d(x){return i(x)}function f(x){return x===34||x===39||x===40?FT(e,h,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(x):p(x)}function h(x){return St(x)?Bo(e,p)(x):p(x)}function p(x){return x===41?(e.enter("resourceMarker"),e.consume(x),e.exit("resourceMarker"),e.exit("resource"),t):i(x)}}function n6(e,t,i){const r=this;return s;function s(d){return IT.call(r,e,o,u,"reference","referenceMarker","referenceString")(d)}function o(d){return r.parser.defined.includes(_i(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(d):i(d)}function u(d){return i(d)}}function i6(e,t,i){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),s}function s(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):i(o)}}const a6={name:"labelStartImage",resolveAll:py.resolveAll,tokenize:r6};function r6(e,t,i){const r=this;return s;function s(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),o}function o(d){return d===91?(e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),u):i(d)}function u(d){return d===94&&"_hiddenFootnoteSupport"in r.parser.constructs?i(d):t(d)}}const s6={name:"labelStartLink",resolveAll:py.resolveAll,tokenize:l6};function l6(e,t,i){const r=this;return s;function s(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),o}function o(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?i(u):t(u)}}const $m={name:"lineEnding",tokenize:o6};function o6(e,t){return i;function i(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),nt(e,t,"linePrefix")}}const id={name:"thematicBreak",tokenize:u6};function u6(e,t,i){let r=0,s;return o;function o(h){return e.enter("thematicBreak"),u(h)}function u(h){return s=h,d(h)}function d(h){return h===s?(e.enter("thematicBreakSequence"),f(h)):r>=3&&(h===null||Re(h))?(e.exit("thematicBreak"),t(h)):i(h)}function f(h){return h===s?(e.consume(h),r++,f):(e.exit("thematicBreakSequence"),Je(h)?nt(e,d,"whitespace")(h):d(h))}}const Dn={continuation:{tokenize:h6},exit:p6,name:"list",tokenize:f6},c6={partial:!0,tokenize:g6},d6={partial:!0,tokenize:m6};function f6(e,t,i){const r=this,s=r.events[r.events.length-1];let o=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,u=0;return d;function d(v){const S=r.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(S==="listUnordered"?!r.containerState.marker||v===r.containerState.marker:og(v)){if(r.containerState.type||(r.containerState.type=S,e.enter(S,{_container:!0})),S==="listUnordered")return e.enter("listItemPrefix"),v===42||v===45?e.check(id,i,h)(v):h(v);if(!r.interrupt||v===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(v)}return i(v)}function f(v){return og(v)&&++u<10?(e.consume(v),f):(!r.interrupt||u<2)&&(r.containerState.marker?v===r.containerState.marker:v===41||v===46)?(e.exit("listItemValue"),h(v)):i(v)}function h(v){return e.enter("listItemMarker"),e.consume(v),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||v,e.check(uu,r.interrupt?i:p,e.attempt(c6,b,x))}
vendor: 7,380 bytes, line 237
237function p(v){return r.containerState.initialBlankLine=!0,o++,b(v)}function x(v){return Je(v)?(e.enter("listItemPrefixWhitespace"),e.consume(v),e.exit("listItemPrefixWhitespace"),b):i(v)}function b(v){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(v)}}function h6(e,t,i){const r=this;return r.containerState._closeFlow=void 0,e.check(uu,s,o);function s(d){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,nt(e,t,"listItemIndent",r.containerState.size+1)(d)}function o(d){return r.containerState.furtherBlankLines||!Je(d)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(d)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(d6,t,u)(d))}function u(d){return r.containerState._closeFlow=!0,r.interrupt=void 0,nt(e,e.attempt(Dn,t,i),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function m6(e,t,i){const r=this;return nt(e,s,"listItemIndent",r.containerState.size+1);function s(o){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?t(o):i(o)}}function p6(e){e.exit(this.containerState.type)}function g6(e,t,i){const r=this;return nt(e,s,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(o){const u=r.events[r.events.length-1];return!Je(o)&&u&&u[1].type==="listItemPrefixWhitespace"?t(o):i(o)}}const tS={name:"setextUnderline",resolveTo:y6,tokenize:x6};function y6(e,t){let i=e.length,r,s,o;for(;i--;)if(e[i][0]==="enter"){if(e[i][1].type==="content"){r=i;break}e[i][1].type==="paragraph"&&(s=i)}else e[i][1].type==="content"&&e.splice(i,1),!o&&e[i][1].type==="definition"&&(o=i);const u={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",o?(e.splice(s,0,["enter",u,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=u,e.push(["exit",u,t]),e}function x6(e,t,i){const r=this;let s;return o;function o(h){let p=r.events.length,x;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){x=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||x)?(e.enter("setextHeadingLine"),s=h,u(h)):i(h)}function u(h){return e.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===s?(e.consume(h),d):(e.exit("setextHeadingLineSequence"),Je(h)?nt(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||Re(h)?(e.exit("setextHeadingLine"),t(h)):i(h)}}const b6={tokenize:v6};function v6(e){const t=this,i=e.attempt(uu,r,e.attempt(this.parser.constructs.flowInitial,s,nt(e,e.attempt(this.parser.constructs.flow,s,e.attempt(C5,s)),"linePrefix")));return i;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,i}function s(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,i}}const w6={resolveAll:KT()},S6=qT("string"),k6=qT("text");function qT(e){return{resolveAll:KT(e==="text"?T6:void 0),tokenize:t};function t(i){const r=this,s=this.parser.constructs[e],o=i.attempt(s,u,d);return u;function u(p){return h(p)?o(p):d(p)}function d(p){if(p===null){i.consume(p);return}return i.enter("data"),i.consume(p),f}function f(p){return h(p)?(i.exit("data"),o(p)):(i.consume(p),f)}function h(p){if(p===null)return!0;const x=s[p];let b=-1;if(x)for(;++b<x.length;){const v=x[b];if(!v.previous||v.previous.call(r,r.previous))return!0}return!1}}}function KT(e){return t;function t(i,r){let s=-1,o;for(;++s<=i.length;)o===void 0?i[s]&&i[s][1].type==="data"&&(o=s,s++):(!i[s]||i[s][1].type!=="data")&&(s!==o+2&&(i[o][1].end=i[s-1][1].end,i.splice(o+2,s-o-2),s=o+2),o=void 0);return e?e(i,r):i}}function T6(e,t){let i=0;for(;++i<=e.length;)if((i===e.length||e[i][1].type==="lineEnding")&&e[i-1][1].type==="data"){const r=e[i-1][1],s=t.sliceStream(r);let o=s.length,u=-1,d=0,f;for(;o--;){const h=s[o];if(typeof h=="string"){for(u=h.length;h.charCodeAt(u-1)===32;)d++,u--;if(u)break;u=-1}else if(h===-2)f=!0,d++;else if(h!==-1){o++;break}}if(t._contentTypeTextTrailing&&i===e.length&&(d=0),d){const h={type:i===e.length||f||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?u:r.start._bufferIndex+u,_index:r.start._index+o,line:r.end.line,column:r.end.column-d,offset:r.end.offset-d},end:{...r.end}};r.end={...h.start},r.start.offset===r.end.offset?Object.assign(r,h):(e.splice(i,0,["enter",h,t],["exit",h,t]),i+=2)}i++}return e}const C6={42:Dn,43:Dn,45:Dn,48:Dn,49:Dn,50:Dn,51:Dn,52:Dn,53:Dn,54:Dn,55:Dn,56:Dn,57:Dn,62:PT},A6={91:R5},E6={[-2]:Zm,[-1]:Zm,32:Zm},j6={35:O5,42:id,45:[tS,id],60:H5,61:tS,95:id,96:Qw,126:Qw},N6={38:UT,92:BT},R6={[-5]:$m,[-4]:$m,[-3]:$m,33:a6,38:UT,42:ug,60:[s5,Y5],91:s6,92:[z5,BT],93:py,95:ug,96:b5},M6={null:[ug,w6]},_6={null:[42,95]},D6={null:[]},z6=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:_6,contentInitial:A6,disable:D6,document:C6,flow:j6,flowInitial:E6,insideSpan:M6,string:N6,text:R6},Symbol.toStringTag,{value:"Module"}));function L6(e,t,i){let r={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const s={},o=[];let u=[],d=[];const f={attempt:ee(G),check:ee(U),consume:N,enter:M,exit:K,interrupt:ee(U,{interrupt:!0})},h={code:null,containerState:{},defineSkip:T,events:[],now:S,parser:e,previous:null,sliceSerialize:b,sliceStream:v,write:x};let p=t.tokenize.call(h,f);return t.resolveAll&&o.push(t),h;function x(te){return u=ui(u,te),C(),u[u.length-1]!==null?[]:(L(t,0),h.events=Id(o,h.events,h),h.events)}function b(te,Z){return P6(v(te),Z)}function v(te){return O6(u,te)}function S(){const{_bufferIndex:te,_index:Z,line:pe,column:oe,offset:ne}=r;return{_bufferIndex:te,_index:Z,line:pe,column:oe,offset:ne}}function T(te){s[te.line]=te.column,z()}function C(){let te;for(;r._index<u.length;){const Z=u[r._index];if(typeof Z=="string")for(te=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===te&&r._bufferIndex<Z.length;)A(Z.charCodeAt(r._bufferIndex));else A(Z)}}function A(te){p=p(te)}function N(te){Re(te)?(r.line++,r.column=1,r.offset+=te===-3?2:1,z()):te!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++)),h.previous=te}function M(te,Z){const pe=Z||{};return pe.type=te,pe.start=S(),h.events.push(["enter",pe,h]),d.push(pe),pe}function K(te){const Z=d.pop();return Z.end=S(),h.events.push(["exit",Z,h]),Z}function G(te,Z){L(te,Z.from)}function U(te,Z){Z.restore()}function ee(te,Z){return pe;function pe(oe,ne,H){let J,re,de,E;return Array.isArray(oe)?Me(oe):"tokenize"in oe?Me([oe]):ve(oe);function ve(Oe){return Ot;function Ot(en){const Pt=en!==null&&Oe[en],$n=en!==null&&Oe.null,yi=[...Array.isArray(Pt)?Pt:Pt?[Pt]:[],...Array.isArray($n)?$n:$n?[$n]:[]];return Me(yi)(en)}}function Me(Oe){return J=Oe,re=0,Oe.length===0?H:j(Oe[re])}function j(Oe){return Ot;function Ot(en){return E=se(),de=Oe,Oe.partial||(h.currentConstruct=Oe),Oe.name&&h.parser.constructs.disable.null.includes(Oe.name)?ft():Oe.tokenize.call(Z?Object.assign(Object.create(h),Z):h,f,He,ft)(en)}}
vendor: 10,605 bytes, lines 237-239
237function He(Oe){return te(de,E),ne}function ft(Oe){return E.restore(),++re<J.length?j(J[re]):H}}}function L(te,Z){te.resolveAll&&!o.includes(te)&&o.push(te),te.resolve&&Yn(h.events,Z,h.events.length-Z,te.resolve(h.events.slice(Z),h)),te.resolveTo&&(h.events=te.resolveTo(h.events,h))}function se(){const te=S(),Z=h.previous,pe=h.currentConstruct,oe=h.events.length,ne=Array.from(d);return{from:oe,restore:H};function H(){r=te,h.previous=Z,h.currentConstruct=pe,h.events.length=oe,d=ne,z()}}function z(){r.line in s&&r.column<2&&(r.column=s[r.line],r.offset+=s[r.line]-1)}}function O6(e,t){const i=t.start._index,r=t.start._bufferIndex,s=t.end._index,o=t.end._bufferIndex;let u;if(i===s)u=[e[i].slice(r,o)];else{if(u=e.slice(i,s),r>-1){const d=u[0];typeof d=="string"?u[0]=d.slice(r):u.shift()}o>0&&u.push(e[s].slice(0,o))}return u}function P6(e,t){let i=-1;const r=[];let s;for(;++i<e.length;){const o=e[i];let u;if(typeof o=="string")u=o;else switch(o){case-5:{u="\r";break}case-4:{u=` 238`;break}case-3:{u=`\r 239`;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&s)continue;u=" ";break}default:u=String.fromCharCode(o)}s=o===-2,r.push(u)}return r.join("")}function B6(e){const r={constructs:LT([z6,...(e||{}).extensions||[]]),content:s(QO),defined:[],document:s(t5),flow:s(b6),lazy:{},string:s(S6),text:s(k6)};return r;function s(o){return u;function u(d){return L6(r,o,d)}}}function U6(e){for(;!HT(e););return e}const nS=/[\0\t\n\r]/g;function H6(){let e=1,t="",i=!0,r;return s;function s(o,u,d){const f=[];let h,p,x,b,v;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(u||void 0).decode(o)),x=0,t="",i&&(o.charCodeAt(0)===65279&&x++,i=void 0);x<o.length;){if(nS.lastIndex=x,h=nS.exec(o),b=h&&h.index!==void 0?h.index:o.length,v=o.charCodeAt(b),!h){t=o.slice(x);break}if(v===10&&x===b&&r)f.push(-3),r=void 0;else switch(r&&(f.push(-5),r=void 0),x<b&&(f.push(o.slice(x,b)),e+=b-x),v){case 0:{f.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,f.push(-2);e++<p;)f.push(-1);break}case 10:{f.push(-4),e=1;break}default:r=!0,e=1}x=b+1}return d&&(r&&f.push(-5),t&&f.push(t),f.push(null)),f}}const V6=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function I6(e){return e.replace(V6,F6)}function F6(e,t,i){if(t)return t;if(i.charCodeAt(0)===35){const s=i.charCodeAt(1),o=s===120||s===88;return OT(i.slice(o?2:1),o?16:10)}return my(i)||e}const GT={}.hasOwnProperty;function q6(e,t,i){return t&&typeof t=="object"&&(i=t,t=void 0),K6(i)(U6(B6(i).document().write(H6()(e,t,!0))))}function K6(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(La),autolinkProtocol:se,autolinkEmail:se,atxHeading:o(Ji),blockQuote:o($n),characterEscape:se,characterReference:se,codeFenced:o(yi),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:o(yi,u),codeText:o(Er,u),codeTextData:se,data:se,codeFlowValue:se,definition:o(Bt),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:o(mn),hardBreakEscape:o(za),hardBreakTrailing:o(za),htmlFlow:o(Xn,u),htmlFlowData:se,htmlText:o(Xn,u),htmlTextData:se,image:o(os),label:u,link:o(La),listItem:o(jr),listItemValue:b,listOrdered:o(Wi,x),listUnordered:o(Wi),paragraph:o(kl),reference:j,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:o(Ji),strong:o(Tl),thematicBreak:o(xi)},exit:{atxHeading:f(),atxHeadingSequence:G,autolink:f(),autolinkEmail:Pt,autolinkProtocol:en,blockQuote:f(),characterEscapeValue:z,characterReferenceMarkerHexadecimal:ft,characterReferenceMarkerNumeric:ft,characterReferenceValue:Oe,characterReference:Ot,codeFenced:f(C),codeFencedFence:T,codeFencedFenceInfo:v,codeFencedFenceMeta:S,codeFlowValue:z,codeIndented:f(A),codeText:f(ne),codeTextData:z,data:z,definition:f(),definitionDestinationString:K,definitionLabelString:N,definitionTitleString:M,emphasis:f(),hardBreakEscape:f(Z),hardBreakTrailing:f(Z),htmlFlow:f(pe),htmlFlowData:z,htmlText:f(oe),htmlTextData:z,image:f(J),label:de,labelText:re,lineEnding:te,link:f(H),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:He,resourceDestinationString:E,resourceTitleString:ve,resource:Me,setextHeading:f(L),setextHeadingLineSequence:ee,setextHeadingText:U,strong:f(),thematicBreak:f()}};YT(t,(e||{}).mdastExtensions||[]);const i={};return r;function r($){let ce={type:"root",children:[]};const Ne={stack:[ce],tokenStack:[],config:t,enter:d,exit:h,buffer:u,resume:p,data:i},ze=[];let Ge=-1;for(;++Ge<$.length;)if($[Ge][1].type==="listOrdered"||$[Ge][1].type==="listUnordered")if($[Ge][0]==="enter")ze.push(Ge);else{const xn=ze.pop();Ge=s($,xn,Ge)}for(Ge=-1;++Ge<$.length;){const xn=t[$[Ge][0]];GT.call(xn,$[Ge][1].type)&&xn[$[Ge][1].type].call(Object.assign({sliceSerialize:$[Ge][2].sliceSerialize},Ne),$[Ge][1])}if(Ne.tokenStack.length>0){const xn=Ne.tokenStack[Ne.tokenStack.length-1];(xn[1]||iS).call(Ne,void 0,xn[0])}for(ce.position={start:dr($.length>0?$[0][1].start:{line:1,column:1,offset:0}),end:dr($.length>0?$[$.length-2][1].end:{line:1,column:1,offset:0})},Ge=-1;++Ge<t.transforms.length;)ce=t.transforms[Ge](ce)||ce;return ce}function s($,ce,Ne){let ze=ce-1,Ge=-1,xn=!1,bi,$t,Ut,Rt;for(;++ze<=Ne;){const ht=$[ze];switch(ht[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ht[0]==="enter"?Ge++:Ge--,Rt=void 0;break}case"lineEndingBlank":{ht[0]==="enter"&&(bi&&!Rt&&!Ge&&!Ut&&(Ut=ze),Rt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Rt=void 0}if(!Ge&&ht[0]==="enter"&&ht[1].type==="listItemPrefix"||Ge===-1&&ht[0]==="exit"&&(ht[1].type==="listUnordered"||ht[1].type==="listOrdered")){if(bi){let vi=ze;for($t=void 0;vi--;){const Cn=$[vi];if(Cn[1].type==="lineEnding"||Cn[1].type==="lineEndingBlank"){if(Cn[0]==="exit")continue;$t&&($[$t][1].type="lineEndingBlank",xn=!0),Cn[1].type="lineEnding",$t=vi}else if(!(Cn[1].type==="linePrefix"||Cn[1].type==="blockQuotePrefix"||Cn[1].type==="blockQuotePrefixWhitespace"||Cn[1].type==="blockQuoteMarker"||Cn[1].type==="listItemIndent"))break}Ut&&(!$t||Ut<$t)&&(bi._spread=!0),bi.end=Object.assign({},$t?$[$t][1].start:ht[1].end),$.splice($t||ze,0,["exit",bi,ht[2]]),ze++,Ne++}if(ht[1].type==="listItemPrefix"){const vi={type:"listItem",_spread:!1,start:Object.assign({},ht[1].start),end:void 0};bi=vi,$.splice(ze,0,["enter",vi,ht[2]]),ze++,Ne++,Ut=void 0,Rt=!0}}}return $[ce][1]._spread=xn,Ne}function o($,ce){return Ne;function Ne(ze){d.call(this,$(ze),ze),ce&&ce.call(this,ze)}}function u(){this.stack.push({type:"fragment",children:[]})}function d($,ce,Ne){this.stack[this.stack.length-1].children.push($),this.stack.push($),this.tokenStack.push([ce,Ne||void 0]),$.position={start:dr(ce.start),end:void 0}}function f($){return ce;function ce(Ne){$&&$.call(this,Ne),h.call(this,Ne)}}function h($,ce){const Ne=this.stack.pop(),ze=this.tokenStack.pop();if(ze)ze[0].type!==$.type&&(ce?ce.call(this,$,ze[0]):(ze[1]||iS).call(this,$,ze[0]));else throw new Error("Cannot close `"+$.type+"` ("+Po({start:$.start,end:$.end})+"): itâs not open");Ne.position.end=dr($.end)}function p(){return hy(this.stack.pop())}function x(){this.data.expectingFirstListItemValue=!0}function b($){if(this.data.expectingFirstListItemValue){const ce=this.stack[this.stack.length-2];ce.start=Number.parseInt(this.sliceSerialize($),10),this.data.expectingFirstListItemValue=void 0}}function v(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.lang=$}function S(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.meta=$}function T(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.value=$.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.value=$.replace(/(\r?\n|\r)$/g,"")}function N($){const ce=this.resume(),Ne=this.stack[this.stack.length-1];Ne.label=ce,Ne.identifier=_i(this.sliceSerialize($)).toLowerCase()}function M(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.title=$}function K(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.url=$}function G($){const ce=this.stack[this.stack.length-1];if(!ce.depth){const Ne=this.sliceSerialize($).length;ce.depth=Ne}}function U(){this.data.setextHeadingSlurpLineEnding=!0}function ee($){const ce=this.stack[this.stack.length-1];ce.depth=this.sliceSerialize($).codePointAt(0)===61?1:2}function L(){this.data.setextHeadingSlurpLineEnding=void 0}function se($){const Ne=this.stack[this.stack.length-1].children;let ze=Ne[Ne.length-1];(!ze||ze.type!=="text")&&(ze=an(),ze.position={start:dr($.start),end:void 0},Ne.push(ze)),this.stack.push(ze)}function z($){const ce=this.stack.pop();ce.value+=this.sliceSerialize($),ce.position.end=dr($.end)}function te($){const ce=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ne=ce.children[ce.children.length-1];Ne.position.end=dr($.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ce.type)&&(se.call(this,$),z.call(this,$))}function Z(){this.data.atHardBreak=!0}function pe(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.value=$}function oe(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.value=$}function ne(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.value=$}function H(){const $=this.stack[this.stack.length-1];if(this.data.inReference){const ce=this.data.referenceType||"shortcut";$.type+="Reference",$.referenceType=ce,delete $.url,delete $.title}else delete $.identifier,delete $.label;this.data.referenceType=void 0}function J(){const $=this.stack[this.stack.length-1];if(this.data.inReference){const ce=this.data.referenceType||"shortcut";$.type+="Reference",$.referenceType=ce,delete $.url,delete $.title}else delete $.identifier,delete $.label;this.data.referenceType=void 0}function re($){const ce=this.sliceSerialize($),Ne=this.stack[this.stack.length-2];Ne.label=I6(ce),Ne.identifier=_i(ce).toLowerCase()}function de(){const $=this.stack[this.stack.length-1],ce=this.resume(),Ne=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ne.type==="link"){const ze=$.children;Ne.children=ze}else Ne.alt=ce}function E(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.url=$}function ve(){const $=this.resume(),ce=this.stack[this.stack.length-1];ce.title=$}function Me(){this.data.inReference=void 0}function j(){this.data.referenceType="collapsed"}function He($){const ce=this.resume(),Ne=this.stack[this.stack.length-1];
vendor: 5,959 bytes, lines 239-241
239Ne.label=ce,Ne.identifier=_i(this.sliceSerialize($)).toLowerCase(),this.data.referenceType="full"}function ft($){this.data.characterReferenceType=$.type}function Oe($){const ce=this.sliceSerialize($),Ne=this.data.characterReferenceType;let ze;Ne?(ze=OT(ce,Ne==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ze=my(ce);const Ge=this.stack[this.stack.length-1];Ge.value+=ze}function Ot($){const ce=this.stack.pop();ce.position.end=dr($.end)}function en($){z.call(this,$);const ce=this.stack[this.stack.length-1];ce.url=this.sliceSerialize($)}function Pt($){z.call(this,$);const ce=this.stack[this.stack.length-1];ce.url="mailto:"+this.sliceSerialize($)}function $n(){return{type:"blockquote",children:[]}}function yi(){return{type:"code",lang:null,meta:null,value:""}}function Er(){return{type:"inlineCode",value:""}}function Bt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mn(){return{type:"emphasis",children:[]}}function Ji(){return{type:"heading",depth:0,children:[]}}function za(){return{type:"break"}}function Xn(){return{type:"html",value:""}}function os(){return{type:"image",title:null,url:"",alt:null}}function La(){return{type:"link",title:null,url:"",children:[]}}function Wi($){return{type:"list",ordered:$.type==="listOrdered",start:null,spread:$._spread,children:[]}}function jr($){return{type:"listItem",spread:$._spread,checked:null,children:[]}}function kl(){return{type:"paragraph",children:[]}}function Tl(){return{type:"strong",children:[]}}function an(){return{type:"text",value:""}}function xi(){return{type:"thematicBreak"}}}function dr(e){return{line:e.line,column:e.column,offset:e.offset}}function YT(e,t){let i=-1;for(;++i<t.length;){const r=t[i];Array.isArray(r)?YT(e,r):G6(e,r)}}function G6(e,t){let i;for(i in t)if(GT.call(t,i))switch(i){case"canContainEols":{const r=t[i];r&&e[i].push(...r);break}case"transforms":{const r=t[i];r&&e[i].push(...r);break}case"enter":case"exit":{const r=t[i];r&&Object.assign(e[i],r);break}}}function iS(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Po({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Po({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Po({start:t.start,end:t.end})+") is still open")}function Y6(e){const t=this;t.parser=i;function i(r){return q6(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Z6(e,t){const i={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,i),e.applyData(t,i)}function $6(e,t){const i={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,i),[e.applyData(t,i),{type:"text",value:` 240`}]}function X6(e,t){const i=t.value?t.value+` 241`:"",r={},s=t.lang?t.lang.split(/\s+/):[];s.length>0&&(r.className=["language-"+s[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:i}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function J6(e,t){const i={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function W6(e,t){const i={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function Q6(e,t){const i=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),s=Sl(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let u,d=e.footnoteCounts.get(r);d===void 0?(d=0,e.footnoteOrder.push(r),u=e.footnoteOrder.length):u=o+1,d+=1,e.footnoteCounts.set(r,d);const f={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+s,id:i+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,f);const h={type:"element",tagName:"sup",properties:{},children:[f]};return e.patch(t,h),e.applyData(t,h)}function eP(e,t){const i={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function tP(e,t){if(e.options.allowDangerousHtml){const i={type:"raw",value:t.value};return e.patch(t,i),e.applyData(t,i)}}function ZT(e,t){const i=t.referenceType;let r="]";if(i==="collapsed"?r+="[]":i==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const s=e.all(t),o=s[0];o&&o.type==="text"?o.value="["+o.value:s.unshift({type:"text",value:"["});const u=s[s.length-1];return u&&u.type==="text"?u.value+=r:s.push({type:"text",value:r}),s}function nP(e,t){const i=String(t.identifier).toUpperCase(),r=e.definitionById.get(i);if(!r)return ZT(e,t);const s={src:Sl(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(s.title=r.title);const o={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,o),e.applyData(t,o)}function iP(e,t){const i={src:Sl(t.url)};t.alt!==null&&t.alt!==void 0&&(i.alt=t.alt),t.title!==null&&t.title!==void 0&&(i.title=t.title);const r={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,r),e.applyData(t,r)}function aP(e,t){const i={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,i);const r={type:"element",tagName:"code",properties:{},children:[i]};return e.patch(t,r),e.applyData(t,r)}function rP(e,t){const i=String(t.identifier).toUpperCase(),r=e.definitionById.get(i);if(!r)return ZT(e,t);const s={href:Sl(r.url||"")};r.title!==null&&r.title!==void 0&&(s.title=r.title);const o={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function sP(e,t){const i={href:Sl(t.url)};t.title!==null&&t.title!==void 0&&(i.title=t.title);const r={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function lP(e,t,i){const r=e.all(t),s=i?oP(i):$T(t),o={},u=[];
vendor: 4,118 bytes, lines 241-243
241if(typeof t.checked=="boolean"){const p=r[0];let x;p&&p.type==="element"&&p.tagName==="p"?x=p:(x={type:"element",tagName:"p",properties:{},children:[]},r.unshift(x)),x.children.length>0&&x.children.unshift({type:"text",value:" "}),x.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let d=-1;for(;++d<r.length;){const p=r[d];(s||d!==0||p.type!=="element"||p.tagName!=="p")&&u.push({type:"text",value:` 242`}),p.type==="element"&&p.tagName==="p"&&!s?u.push(...p.children):u.push(p)}const f=r[r.length-1];f&&(s||f.type!=="element"||f.tagName!=="p")&&u.push({type:"text",value:` 243`});const h={type:"element",tagName:"li",properties:o,children:u};return e.patch(t,h),e.applyData(t,h)}function oP(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const i=e.children;let r=-1;for(;!t&&++r<i.length;)t=$T(i[r])}return t}function $T(e){const t=e.spread;return t??e.children.length>1}function uP(e,t){const i={},r=e.all(t);let s=-1;for(typeof t.start=="number"&&t.start!==1&&(i.start=t.start);++s<r.length;){const u=r[s];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:i,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function cP(e,t){const i={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function dP(e,t){const i={type:"root",children:e.wrap(e.all(t))};return e.patch(t,i),e.applyData(t,i)}function fP(e,t){const i={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function hP(e,t){const i=e.all(t),r=i.shift(),s=[];if(r){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],u),s.push(u)}if(i.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(i,!0)},d=uy(t.children[1]),f=jT(t.children[t.children.length-1]);d&&f&&(u.position={start:d,end:f}),s.push(u)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,o),e.applyData(t,o)}function mP(e,t,i){const r=i?i.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",u=i&&i.type==="table"?i.align:void 0,d=u?u.length:t.children.length;let f=-1;const h=[];for(;++f<d;){const x=t.children[f],b={},v=u?u[f]:void 0;v&&(b.align=v);let S={type:"element",tagName:o,properties:b,children:[]};x&&(S.children=e.all(x),e.patch(x,S),S=e.applyData(x,S)),h.push(S)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,p),e.applyData(t,p)}function pP(e,t){const i={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}const aS=9,rS=32;function gP(e){const t=String(e),i=/\r?\n|\r/g;let r=i.exec(t),s=0;const o=[];for(;r;)o.push(sS(t.slice(s,r.index),s>0,!0),r[0]),s=r.index+r[0].length,r=i.exec(t);return o.push(sS(t.slice(s),s>0,!1)),o.join("")}function sS(e,t,i){let r=0,s=e.length;if(t){let o=e.codePointAt(r);for(;o===aS||o===rS;)r++,o=e.codePointAt(r)}if(i){let o=e.codePointAt(s-1);for(;o===aS||o===rS;)s--,o=e.codePointAt(s-1)}return s>r?e.slice(r,s):""}function yP(e,t){const i={type:"text",value:gP(String(t.value))};return e.patch(t,i),e.applyData(t,i)}function xP(e,t){const i={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,i),e.applyData(t,i)}const bP={blockquote:Z6,break:$6,code:X6,delete:J6,emphasis:W6,footnoteReference:Q6,heading:eP,html:tP,imageReference:nP,image:iP,inlineCode:aP,linkReference:rP,link:sP,listItem:lP,list:uP,paragraph:cP,root:dP,strong:fP,table:hP,tableCell:pP,tableRow:mP,text:yP,thematicBreak:xP,toml:zc,yaml:zc,definition:zc,footnoteDefinition:zc};function zc(){}const XT=-1,Fd=0,Uo=1,Rd=2,gy=3,yy=4,xy=5,by=6,JT=7,WT=8,lS=typeof self=="object"?self:globalThis,vP=(e,t)=>{const i=(s,o)=>(e.set(o,s),s),r=s=>{if(e.has(s))return e.get(s);const[o,u]=t[s];switch(o){case Fd:case XT:return i(u,s);case Uo:{const d=i([],s);
vendor: 4,264 bytes, lines 243-244
243for(const f of u)d.push(r(f));return d}case Rd:{const d=i({},s);for(const[f,h]of u)d[r(f)]=r(h);return d}case gy:return i(new Date(u),s);case yy:{const{source:d,flags:f}=u;return i(new RegExp(d,f),s)}case xy:{const d=i(new Map,s);for(const[f,h]of u)d.set(r(f),r(h));return d}case by:{const d=i(new Set,s);for(const f of u)d.add(r(f));return d}case JT:{const{name:d,message:f}=u;return i(new lS[d](f),s)}case WT:return i(BigInt(u),s);case"BigInt":return i(Object(BigInt(u)),s);case"ArrayBuffer":return i(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:d}=new Uint8Array(u);return i(new DataView(d),u)}}return i(new lS[o](u),s)};return r},oS=e=>vP(new Map,e)(0),Zs="",{toString:wP}={},{keys:SP}=Object,Co=e=>{const t=typeof e;if(t!=="object"||!e)return[Fd,t];const i=wP.call(e).slice(8,-1);switch(i){case"Array":return[Uo,Zs];case"Object":return[Rd,Zs];case"Date":return[gy,Zs];case"RegExp":return[yy,Zs];case"Map":return[xy,Zs];case"Set":return[by,Zs];case"DataView":return[Uo,i]}return i.includes("Array")?[Uo,i]:i.includes("Error")?[JT,i]:[Rd,i]},Lc=([e,t])=>e===Fd&&(t==="function"||t==="symbol"),kP=(e,t,i,r)=>{const s=(u,d)=>{const f=r.push(u)-1;return i.set(d,f),f},o=u=>{if(i.has(u))return i.get(u);let[d,f]=Co(u);switch(d){case Fd:{let p=u;switch(f){case"bigint":d=WT,p=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);p=null;break;case"undefined":return s([XT],u)}return s([d,p],u)}case Uo:{if(f){let b=u;return f==="DataView"?b=new Uint8Array(u.buffer):f==="ArrayBuffer"&&(b=new Uint8Array(u)),s([f,[...b]],u)}const p=[],x=s([d,p],u);for(const b of u)p.push(o(b));return x}case Rd:{if(f)switch(f){case"BigInt":return s([f,u.toString()],u);case"Boolean":case"Number":case"String":return s([f,u.valueOf()],u)}if(t&&"toJSON"in u)return o(u.toJSON());const p=[],x=s([d,p],u);for(const b of SP(u))(e||!Lc(Co(u[b])))&&p.push([o(b),o(u[b])]);return x}case gy:return s([d,u.toISOString()],u);case yy:{const{source:p,flags:x}=u;return s([d,{source:p,flags:x}],u)}case xy:{const p=[],x=s([d,p],u);for(const[b,v]of u)(e||!(Lc(Co(b))||Lc(Co(v))))&&p.push([o(b),o(v)]);return x}case by:{const p=[],x=s([d,p],u);for(const b of u)(e||!Lc(Co(b)))&&p.push(o(b));return x}}const{message:h}=u;return s([d,{name:f,message:h}],u)};return o},uS=(e,{json:t,lossy:i}={})=>{const r=[];return kP(!(t||i),!!t,new Map,r)(e),r},Md=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?oS(uS(e,t)):structuredClone(e):(e,t)=>oS(uS(e,t));function TP(e,t){const i=[{type:"text",value:"â©"}];return t>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),i}function CP(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function AP(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",i=e.options.footnoteBackContent||TP,r=e.options.footnoteBackLabel||CP,s=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let f=-1;for(;++f<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[f]);if(!h)continue;const p=e.all(h),x=String(h.identifier).toUpperCase(),b=Sl(x.toLowerCase());let v=0;const S=[],T=e.footnoteCounts.get(x);for(;T!==void 0&&++v<=T;){S.length>0&&S.push({type:"text",value:" "});let N=typeof i=="string"?i:i(f,v);typeof N=="string"&&(N={type:"text",value:N}),S.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+b+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(f,v),className:["data-footnote-backref"]},children:Array.isArray(N)?N:[N]})}const C=p[p.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const N=C.children[C.children.length-1];N&&N.type==="text"?N.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...S)}else p.push(...S);const A={type:"element",tagName:"li",properties:{id:t+"fn-"+b},children:e.wrap(p,!0)};e.patch(h,A),d.push(A)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Md(u),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:` 244`},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)}
vendor: 5,561 bytes, lines 244-249
244,{type:"text",value:` 245`}]}}const qd=(function(e){if(e==null)return RP;if(typeof e=="function")return Kd(e);if(typeof e=="object")return Array.isArray(e)?EP(e):jP(e);if(typeof e=="string")return NP(e);throw new Error("Expected function, string, or object as test")});function EP(e){const t=[];let i=-1;for(;++i<e.length;)t[i]=qd(e[i]);return Kd(r);function r(...s){let o=-1;for(;++o<t.length;)if(t[o].apply(this,s))return!0;return!1}}function jP(e){const t=e;return Kd(i);function i(r){const s=r;let o;for(o in e)if(s[o]!==t[o])return!1;return!0}}function NP(e){return Kd(t);function t(i){return i&&i.type===e}}function Kd(e){return t;function t(i,r,s){return!!(MP(i)&&e.call(this,i,typeof r=="number"?r:void 0,s||void 0))}}function RP(){return!0}function MP(e){return e!==null&&typeof e=="object"&&"type"in e}const QT=[],_P=!0,cg=!1,DP="skip";function eC(e,t,i,r){let s;typeof t=="function"&&typeof i!="function"?(r=i,i=t):s=t;const o=qd(s),u=r?-1:1;d(e,void 0,[])();function d(f,h,p){const x=f&&typeof f=="object"?f:{};if(typeof x.type=="string"){const v=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(f.type+(v?"<"+v+">":""))+")"})}return b;function b(){let v=QT,S,T,C;if((!t||o(f,h,p[p.length-1]||void 0))&&(v=zP(i(f,p)),v[0]===cg))return v;if("children"in f&&f.children){const A=f;if(A.children&&v[0]!==DP)for(T=(r?A.children.length:-1)+u,C=p.concat(A);T>-1&&T<A.children.length;){const N=A.children[T];if(S=d(N,T,C)(),S[0]===cg)return S;T=typeof S[1]=="number"?S[1]:T+u}}return v}}}function zP(e){return Array.isArray(e)?e:typeof e=="number"?[_P,e]:e==null?QT:[e]}function vy(e,t,i,r){let s,o,u;typeof t=="function"&&typeof i!="function"?(o=void 0,u=t,s=i):(o=t,u=i,s=r),eC(e,o,d,s);function d(f,h){const p=h[h.length-1],x=p?p.children.indexOf(f):void 0;return u(f,x,p)}}const dg={}.hasOwnProperty,LP={};function OP(e,t){const i=t||LP,r=new Map,s=new Map,o=new Map,u={...bP,...i.handlers},d={all:h,applyData:BP,definitionById:r,footnoteById:s,footnoteCounts:o,footnoteOrder:[],handlers:u,one:f,options:i,patch:PP,wrap:HP};return vy(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const x=p.type==="definition"?r:s,b=String(p.identifier).toUpperCase();x.has(b)||x.set(b,p)}}),d;function f(p,x){const b=p.type,v=d.handlers[b];if(dg.call(d.handlers,b)&&v)return v(d,p,x);if(d.options.passThrough&&d.options.passThrough.includes(b)){if("children"in p){const{children:T,...C}=p,A=Md(C);return A.children=d.all(p),A}return Md(p)}return(d.options.unknownHandler||UP)(d,p,x)}function h(p){const x=[];if("children"in p){const b=p.children;let v=-1;for(;++v<b.length;){const S=d.one(b[v],p);if(S){if(v&&b[v-1].type==="break"&&(!Array.isArray(S)&&S.type==="text"&&(S.value=cS(S.value)),!Array.isArray(S)&&S.type==="element")){const T=S.children[0];T&&T.type==="text"&&(T.value=cS(T.value))}Array.isArray(S)?x.push(...S):x.push(S)}}}return x}}function PP(e,t){e.position&&(t.position=CO(e))}function BP(e,t){let i=t;if(e&&e.data){const r=e.data.hName,s=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(i.type==="element")i.tagName=r;else{const u="children"in i?i.children:[i];i={type:"element",tagName:r,properties:{},children:u}}i.type==="element"&&o&&Object.assign(i.properties,Md(o)),"children"in i&&i.children&&s!==null&&s!==void 0&&(i.children=s)}return i}function UP(e,t){const i=t.data||{},r="value"in t&&!(dg.call(i,"hProperties")||dg.call(i,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function HP(e,t){const i=[];let r=-1;for(t&&i.push({type:"text",value:` 246`});++r<e.length;)r&&i.push({type:"text",value:` 247`}),i.push(e[r]);return t&&e.length>0&&i.push({type:"text",value:` 248`}),i}function cS(e){let t=0,i=e.charCodeAt(t);for(;i===9||i===32;)t++,i=e.charCodeAt(t);return e.slice(t)}function dS(e,t){const i=OP(e,t),r=i.one(e,void 0),s=AP(i),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return s&&o.children.push({type:"text",value:` 249`},s),o}function VP(e,t){return e&&"run"in e?async function(i,r){const s=dS(i,{file:r,...t});await e.run(s,r)}:function(i,r){return dS(i,{file:r,...e||t})}}function fS(e){if(e)throw e}var Xm,hS;function IP(){if(hS)return Xm;hS=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,i=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},o=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var p=e.call(h,"constructor"),x=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!p&&!x)return!1;var b;for(b in h);return typeof b>"u"||e.call(h,b)},u=function(h,p){i&&p.name==="__proto__"?i(h,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):h[p.name]=p.newValue},d=function(h,p){if(p==="__proto__")if(e.call(h,p)){if(r)return r(h,p).value}else return;return h[p]};return Xm=function f(){var h,p,x,b,v,S,T=arguments[0],C=1,A=arguments.length,N=!1;for(typeof T=="boolean"&&(N=T,T=arguments[1]||{},C=2),(T==null||typeof T!="object"&&typeof T!="function")&&(T={});C<A;++C)if(h=arguments[C],h!=null)for(p in h)x=d(T,p),b=d(h,p),T!==b&&(N&&b&&(o(b)||(v=s(b)))?(v?(v=!1,S=x&&s(x)?x:[]):S=x&&o(x)?x:{},u(T,{name:p,newValue:f(N,S,b)})):typeof b<"u"&&u(T,{name:p,newValue:b}));return T},Xm}var FP=IP();const Jm=US(FP);function fg(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);
vendor: 4,083 bytes, line 249
249return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function qP(){const e=[],t={run:i,use:r};return t;function i(...s){let o=-1;const u=s.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);d(null,...s);function d(f,...h){const p=e[++o];let x=-1;if(f){u(f);return}for(;++x<s.length;)(h[x]===null||h[x]===void 0)&&(h[x]=s[x]);s=h,p?KP(p,d)(...h):u(null,...h)}}function r(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function KP(e,t){let i;return r;function r(...u){const d=e.length>u.length;let f;d&&u.push(s);try{f=e.apply(this,u)}catch(h){const p=h;if(d&&i)throw p;return s(p)}d||(f&&f.then&&typeof f.then=="function"?f.then(o,s):f instanceof Error?s(f):o(f))}function s(u,...d){i||(i=!0,t(u,...d))}function o(u){s(null,u)}}const Ii={basename:GP,dirname:YP,extname:ZP,join:$P,sep:"/"};function GP(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');cu(e);let i=0,r=-1,s=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(o){i=s+1;break}}else r<0&&(o=!0,r=s+1);return r<0?"":e.slice(i,r)}if(t===e)return"";let u=-1,d=t.length-1;for(;s--;)if(e.codePointAt(s)===47){if(o){i=s+1;break}}else u<0&&(o=!0,u=s+1),d>-1&&(e.codePointAt(s)===t.codePointAt(d--)?d<0&&(r=s):(d=-1,r=u));return i===r?r=u:r<0&&(r=e.length),e.slice(i,r)}function YP(e){if(cu(e),e.length===0)return".";let t=-1,i=e.length,r;for(;--i;)if(e.codePointAt(i)===47){if(r){t=i;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function ZP(e){cu(e);let t=e.length,i=-1,r=0,s=-1,o=0,u;for(;t--;){const d=e.codePointAt(t);if(d===47){if(u){r=t+1;break}continue}i<0&&(u=!0,i=t+1),d===46?s<0?s=t:o!==1&&(o=1):s>-1&&(o=-1)}return s<0||i<0||o===0||o===1&&s===i-1&&s===r+1?"":e.slice(s,i)}function $P(...e){let t=-1,i;for(;++t<e.length;)cu(e[t]),e[t]&&(i=i===void 0?e[t]:i+"/"+e[t]);return i===void 0?".":XP(i)}function XP(e){cu(e);const t=e.codePointAt(0)===47;let i=JP(e,!t);return i.length===0&&!t&&(i="."),i.length>0&&e.codePointAt(e.length-1)===47&&(i+="/"),t?"/"+i:i}function JP(e,t){let i="",r=0,s=-1,o=0,u=-1,d,f;for(;++u<=e.length;){if(u<e.length)d=e.codePointAt(u);else{if(d===47)break;d=47}if(d===47){if(!(s===u-1||o===1))if(s!==u-1&&o===2){if(i.length<2||r!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(f=i.lastIndexOf("/"),f!==i.length-1){f<0?(i="",r=0):(i=i.slice(0,f),r=i.length-1-i.lastIndexOf("/")),s=u,o=0;continue}}else if(i.length>0){i="",r=0,s=u,o=0;continue}}t&&(i=i.length>0?i+"/..":"..",r=2)}else i.length>0?i+="/"+e.slice(s+1,u):i=e.slice(s+1,u),r=u-s-1;s=u,o=0}else d===46&&o>-1?o++:o=-1}return i}function cu(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const WP={cwd:QP};function QP(){return"/"}function hg(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function e8(e){if(typeof e=="string")e=new URL(e);else if(!hg(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return t8(e)}function t8(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let i=-1;for(;++i<t.length;)if(t.codePointAt(i)===37&&t.codePointAt(i+1)===50){const r=t.codePointAt(i+2);if(r===70||r===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}const Wm=["history","path","basename","stem","extname","dirname"];class tC{constructor(t){let i;t?hg(t)?i={path:t}:typeof t=="string"||n8(t)?i={value:t}:i=t:i={}
vendor: 17,796 bytes, lines 249-253
249,this.cwd="cwd"in i?"":WP.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Wm.length;){const o=Wm[r];o in i&&i[o]!==void 0&&i[o]!==null&&(this[o]=o==="history"?[...i[o]]:i[o])}let s;for(s in i)Wm.includes(s)||(this[s]=i[s])}get basename(){return typeof this.path=="string"?Ii.basename(this.path):void 0}set basename(t){ep(t,"basename"),Qm(t,"basename"),this.path=Ii.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ii.dirname(this.path):void 0}set dirname(t){mS(this.basename,"dirname"),this.path=Ii.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ii.extname(this.path):void 0}set extname(t){if(Qm(t,"extname"),mS(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ii.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){hg(t)&&(t=e8(t)),ep(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ii.basename(this.path,this.extname):void 0}set stem(t){ep(t,"stem"),Qm(t,"stem"),this.path=Ii.join(this.dirname||"",t+(this.extname||""))}fail(t,i,r){const s=this.message(t,i,r);throw s.fatal=!0,s}info(t,i,r){const s=this.message(t,i,r);return s.fatal=void 0,s}message(t,i,r){const s=new yn(t,i,r);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Qm(e,t){if(e&&e.includes(Ii.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ii.sep+"`")}function ep(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function mS(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function n8(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const i8=(function(e){const r=this.constructor.prototype,s=r[e],o=function(){return s.apply(o,arguments)};return Object.setPrototypeOf(o,r),o}),a8={}.hasOwnProperty;class wy extends i8{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=qP()}copy(){const t=new wy;let i=-1;for(;++i<this.attachers.length;){const r=this.attachers[i];t.use(...r)}return t.data(Jm(!0,{},this.namespace)),t}data(t,i){return typeof t=="string"?arguments.length===2?(ip("data",this.frozen),this.namespace[t]=i,this):a8.call(this.namespace,t)&&this.namespace[t]||void 0:t?(ip("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[i,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const s=i.call(t,...r);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const i=Oc(t),r=this.parser||this.Parser;return tp("parse",r),r(String(i),i)}process(t,i){const r=this;return this.freeze(),tp("process",this.parser||this.Parser),np("process",this.compiler||this.Compiler),i?s(void 0,i):new Promise(s);function s(o,u){const d=Oc(t),f=r.parse(d);r.run(f,d,function(p,x,b){if(p||!x||!b)return h(p);const v=x,S=r.stringify(v,b);l8(S)?b.value=S:b.result=S,h(p,b)});function h(p,x){p||!x?u(p):o?o(x):i(void 0,x)}}}processSync(t){let i=!1,r;return this.freeze(),tp("processSync",this.parser||this.Parser),np("processSync",this.compiler||this.Compiler),this.process(t,s),gS("processSync","process",i),r;function s(o,u){i=!0,fS(o),r=u}}run(t,i,r){pS(t),this.freeze();const s=this.transformers;return!r&&typeof i=="function"&&(r=i,i=void 0),r?o(void 0,r):new Promise(o);function o(u,d){const f=Oc(i);s.run(t,f,h);function h(p,x,b){const v=x||t;p?d(p):u?u(v):r(void 0,v,b)}}}runSync(t,i){let r=!1,s;return this.run(t,i,o),gS("runSync","run",r),s;function o(u,d){fS(u),s=d,r=!0}}stringify(t,i){this.freeze();const r=Oc(i),s=this.compiler||this.Compiler;return np("stringify",s),pS(t),s(t,r)}use(t,...i){const r=this.attachers,s=this.namespace;if(ip("use",this.frozen),t!=null)if(typeof t=="function")f(t,i);else if(typeof t=="object")Array.isArray(t)?d(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[p,...x]=h;f(p,x)}else u(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function u(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(h.plugins),h.settings&&(s.settings=Jm(!0,s.settings,h.settings))}function d(h){let p=-1;if(h!=null)if(Array.isArray(h))for(;++p<h.length;){const x=h[p];o(x)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,p){let x=-1,b=-1;for(;++x<r.length;)if(r[x][0]===h){b=x;break}if(b===-1)r.push([h,...p]);else if(p.length>0){let[v,...S]=p;const T=r[b][1];fg(T)&&fg(v)&&(v=Jm(!0,T,v)),r[b]=[h,v,...S]}}}}const r8=new wy().freeze();function tp(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function np(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ip(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function pS(e){if(!fg(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function gS(e,t,i){if(!i)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Oc(e){return s8(e)?e:new tC(e)}function s8(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function l8(e){return typeof e=="string"||o8(e)}function o8(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const u8="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",yS=[],xS={allowDangerousHtml:!0},c8=/^(https?|ircs?|mailto|xmpp)$/i,d8=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function f8(e){const t=h8(e),i=m8(e);return p8(t.runSync(t.parse(i),i),e)}function h8(e){const t=e.rehypePlugins||yS,i=e.remarkPlugins||yS,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...xS}:xS;return r8().use(Y6).use(i).use(VP,r).use(t)}function m8(e){const t=e.children||"",i=new tC;return typeof t=="string"&&(i.value=t),i}function p8(e,t){const i=t.allowedElements,r=t.allowElement,s=t.components,o=t.disallowedElements,u=t.skipHtml,d=t.unwrapDisallowed,f=t.urlTransform||g8;for(const p of d8)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+u8+p.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),vy(e,h),RO(e,{Fragment:y.Fragment,components:s,ignoreInvalidStyle:!0,jsx:y.jsx,jsxs:y.jsxs,passKeys:!0,passNode:!0});function h(p,x,b){if(p.type==="raw"&&b&&typeof x=="number")return u?b.children.splice(x,1):b.children[x]={type:"text",value:p.value},x;if(p.type==="element"){let v;for(v in Ym)if(Object.hasOwn(Ym,v)&&Object.hasOwn(p.properties,v)){const S=p.properties[v],T=Ym[v];(T===null||T.includes(p.tagName))&&(p.properties[v]=f(String(S||""),v,p))}}if(p.type==="element"){let v=i?!i.includes(p.tagName):o?o.includes(p.tagName):!1;if(!v&&r&&typeof x=="number"&&(v=!r(p,x,b)),v&&b&&typeof x=="number")return d&&p.children?b.children.splice(x,1,...p.children):b.children.splice(x,1),x}}}function g8(e){const t=e.indexOf(":"),i=e.indexOf("?"),r=e.indexOf("#"),s=e.indexOf("/");return t===-1||s!==-1&&t>s||i!==-1&&t>i||r!==-1&&t>r||c8.test(e.slice(0,t))?e:""}function bS(e,t){const i=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=i.indexOf(t);for(;s!==-1;)r++,s=i.indexOf(t,s+t.length);return r}function y8(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function x8(e,t,i){const s=qd((i||{}).ignore||[]),o=b8(t);let u=-1;for(;++u<o.length;)eC(e,"text",d);function d(h,p){let x=-1,b;for(;++x<p.length;){const v=p[x],S=b?b.children:void 0;if(s(v,S?S.indexOf(v):void 0,b))return;b=v}if(b)return f(h,p)}function f(h,p){const x=p[p.length-1],b=o[u][0],v=o[u][1];let S=0;const C=x.children.indexOf(h);let A=!1,N=[];b.lastIndex=0;let M=b.exec(h.value);for(;M;){const K=M.index,G={index:M.index,input:M.input,stack:[...p,h]};let U=v(...M,G);if(typeof U=="string"&&(U=U.length>0?{type:"text",value:U}:void 0),U===!1?b.lastIndex=K+1:(S!==K&&N.push({type:"text",value:h.value.slice(S,K)}),Array.isArray(U)?N.push(...U):U&&N.push(U),S=K+M[0].length,A=!0),!b.global)break;M=b.exec(h.value)}return A?(S<h.value.length&&N.push({type:"text",value:h.value.slice(S)}),x.children.splice(C,1,...N)):N=[h],C+N.length}}function b8(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const i=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<i.length;){const s=i[r];t.push([v8(s[0]),w8(s[1])])}return t}function v8(e){return typeof e=="string"?new RegExp(y8(e),"g"):e}function w8(e){return typeof e=="function"?e:function(){return e}}const ap="phrasing",rp=["autolink","link","image","label"];function S8(){return{transforms:[N8],enter:{literalAutolink:T8,literalAutolinkEmail:sp,literalAutolinkHttp:sp,literalAutolinkWww:sp},exit:{literalAutolink:j8,literalAutolinkEmail:E8,literalAutolinkHttp:C8,literalAutolinkWww:A8}}}function k8(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ap,notInConstruct:rp},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ap,notInConstruct:rp},{character:":",before:"[ps]",after:"\\/",inConstruct:ap,notInConstruct:rp}]}}function T8(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function sp(e){this.config.enter.autolinkProtocol.call(this,e)}function C8(e){this.config.exit.autolinkProtocol.call(this,e)}function A8(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function E8(e){this.config.exit.autolinkEmail.call(this,e)}function j8(e){this.exit(e)}function N8(e){x8(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,R8],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),M8]],{ignore:["link","linkReference"]})}function R8(e,t,i,r,s){let o="";if(!nC(s)||(/^w/i.test(t)&&(i=t+i,t="",o="http://"),!_8(i)))return!1;const u=D8(i+r);if(!u[0])return!1;const d={type:"link",title:null,url:o+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[d,{type:"text",value:u[1]}]:d}function M8(e,t,i,r){return!nC(r,!0)||/[-\d_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+i,children:[{type:"text",value:t+"@"+i}]}}function _8(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function D8(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let i=t[0],r=i.indexOf(")");const s=bS(e,"(");let o=bS(e,")");for(;r!==-1&&s>o;)e+=i.slice(0,r+1),i=i.slice(r+1),r=i.indexOf(")"),o++;return[e,i]}function nC(e,t){const i=e.input.charCodeAt(e.index-1);return(e.index===0||rs(i)||Vd(i))&&(!t||i!==47)}iC.peek=I8;function z8(){this.buffer()}function L8(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function O8(){this.buffer()}function P8(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function B8(e){const t=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=_i(this.sliceSerialize(e)).toLowerCase(),i.label=t}function U8(e){this.exit(e)}function H8(e){const t=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=_i(this.sliceSerialize(e)).toLowerCase(),i.label=t}function V8(e){this.exit(e)}function I8(){return"["}function iC(e,t,i,r){const s=i.createTracker(r);let o=s.move("[^");const u=i.enter("footnoteReference"),d=i.enter("reference");return o+=s.move(i.safe(i.associationId(e),{after:"]",before:o})),d(),u(),o+=s.move("]"),o}function F8(){return{enter:{gfmFootnoteCallString:z8,gfmFootnoteCall:L8,gfmFootnoteDefinitionLabelString:O8,gfmFootnoteDefinition:P8},exit:{gfmFootnoteCallString:B8,gfmFootnoteCall:U8,gfmFootnoteDefinitionLabelString:H8,gfmFootnoteDefinition:V8}}}function q8(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:i,footnoteReference:iC},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function i(r,s,o,u){const d=o.createTracker(u);let f=d.move("[^");const h=o.enter("footnoteDefinition"),p=o.enter("label");return f+=d.move(o.safe(o.associationId(r),{before:f,after:"]"})),p(),f+=d.move("]:"),r.children&&r.children.length>0&&(d.shift(4),f+=d.move((t?` 250`:" ")+o.indentLines(o.containerFlow(r,d.current()),t?aC:K8))),h(),f}}function K8(e,t,i){return t===0?e:aC(e,t,i)}function aC(e,t,i){return(i?"":" ")+e}const G8=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];rC.peek=J8;function Y8(){return{canContainEols:["delete"],enter:{strikethrough:$8},exit:{strikethrough:X8}}}function Z8(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:G8}],handlers:{delete:rC}}}function $8(e){this.enter({type:"delete",children:[]},e)}function X8(e){this.exit(e)}function rC(e,t,i,r){const s=i.createTracker(r),o=i.enter("strikethrough");let u=s.move("~~");return u+=i.containerPhrasing(e,{...s.current(),before:u,after:"~"}),u+=s.move("~~"),o(),u}function J8(){return"~"}function W8(e){return e.length}function Q8(e,t){const i=t||{},r=(i.align||[]).concat(),s=i.stringLength||W8,o=[],u=[],d=[],f=[];let h=0,p=-1;for(;++p<e.length;){const T=[],C=[];let A=-1;for(e[p].length>h&&(h=e[p].length);++A<e[p].length;){const N=e9(e[p][A]);if(i.alignDelimiters!==!1){const M=s(N);C[A]=M,(f[A]===void 0||M>f[A])&&(f[A]=M)}T.push(N)}u[p]=T,d[p]=C}let x=-1;if(typeof r=="object"&&"length"in r)for(;++x<h;)o[x]=vS(r[x]);else{const T=vS(r);for(;++x<h;)o[x]=T}x=-1;const b=[],v=[];for(;++x<h;){const T=o[x];let C="",A="";T===99?(C=":",A=":"):T===108?C=":":T===114&&(A=":");let N=i.alignDelimiters===!1?1:Math.max(1,f[x]-C.length-A.length);const M=C+"-".repeat(N)+A;i.alignDelimiters!==!1&&(N=C.length+N+A.length,N>f[x]&&(f[x]=N),v[x]=N),b[x]=M}u.splice(1,0,b),d.splice(1,0,v),p=-1;const S=[];for(;++p<u.length;){const T=u[p],C=d[p];x=-1;const A=[];for(;++x<h;){const N=T[x]||"";let M="",K="";if(i.alignDelimiters!==!1){const G=f[x]-(C[x]||0),U=o[x];U===114?M=" ".repeat(G):U===99?G%2?(M=" ".repeat(G/2+.5),K=" ".repeat(G/2-.5)):(M=" ".repeat(G/2),K=M):K=" ".repeat(G)}i.delimiterStart!==!1&&!x&&A.push("|"),i.padding!==!1&&!(i.alignDelimiters===!1&&N==="")&&(i.delimiterStart!==!1||x)&&A.push(" "),i.alignDelimiters!==!1&&A.push(M),A.push(N),i.alignDelimiters!==!1&&A.push(K),i.padding!==!1&&A.push(" "),(i.delimiterEnd!==!1||x!==h-1)&&A.push("|")}S.push(i.delimiterEnd===!1?A.join("").replace(/ +$/,""):A.join(""))}return S.join(` 251`)}function e9(e){return e==null?"":String(e)}function vS(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function t9(e,t,i,r){const s=i.enter("blockquote"),o=i.createTracker(r);o.move("> "),o.shift(2);const u=i.indentLines(i.containerFlow(e,o.current()),n9);return s(),u}function n9(e,t,i){return">"+(i?"":" ")+e}function i9(e,t){return wS(e,t.inConstruct,!0)&&!wS(e,t.notInConstruct,!1)}function wS(e,t,i){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return i;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function SS(e,t,i,r){let s=-1;for(;++s<i.unsafe.length;)if(i.unsafe[s].character===` 252`&&i9(i.stack,i.unsafe[s]))return/[ \t]/.test(r.before)?"":" ";return`\\ 253`}function a9(e,t){const i=String(e);let r=i.indexOf(t),s=r,o=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===s?++o>u&&(u=o):o=1,s=r+t.length,r=i.indexOf(t,s);return u}function r9(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function s9(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function l9(e,t,i,r){const s=s9(i),o=e.value||"",u=s==="`"?"GraveAccent":"Tilde";
vendor: 12,673 bytes, lines 253-264
253if(r9(e,i)){const x=i.enter("codeIndented"),b=i.indentLines(o,o9);return x(),b}const d=i.createTracker(r),f=s.repeat(Math.max(a9(o,s)+1,3)),h=i.enter("codeFenced");let p=d.move(f);if(e.lang){const x=i.enter(`codeFencedLang${u}`);p+=d.move(i.safe(e.lang,{before:p,after:" ",encode:["`"],...d.current()})),x()}if(e.lang&&e.meta){const x=i.enter(`codeFencedMeta${u}`);p+=d.move(" "),p+=d.move(i.safe(e.meta,{before:p,after:` 254`,encode:["`"],...d.current()})),x()}return p+=d.move(` 255`),o&&(p+=d.move(o+` 256`)),p+=d.move(f),h(),p}function o9(e,t,i){return(i?"":" ")+e}function Sy(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function u9(e,t,i,r){const s=Sy(i),o=s==='"'?"Quote":"Apostrophe",u=i.enter("definition");let d=i.enter("label");const f=i.createTracker(r);let h=f.move("[");return h+=f.move(i.safe(i.associationId(e),{before:h,after:"]",...f.current()})),h+=f.move("]: "),d(),!e.url||/[\0- \u007F]/.test(e.url)?(d=i.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(i.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=i.enter("destinationRaw"),h+=f.move(i.safe(e.url,{before:h,after:e.title?" ":` 257`,...f.current()}))),d(),e.title&&(d=i.enter(`title${o}`),h+=f.move(" "+s),h+=f.move(i.safe(e.title,{before:h,after:s,...f.current()})),h+=f.move(s),d()),u(),h}function c9(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Wo(e){return"&#x"+e.toString(16).toUpperCase()+";"}function _d(e,t,i){const r=hl(e),s=hl(t);return r===void 0?s===void 0?i==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}sC.peek=d9;function sC(e,t,i,r){const s=c9(i),o=i.enter("emphasis"),u=i.createTracker(r),d=u.move(s);let f=u.move(i.containerPhrasing(e,{after:s,before:d,...u.current()}));const h=f.charCodeAt(0),p=_d(r.before.charCodeAt(r.before.length-1),h,s);p.inside&&(f=Wo(h)+f.slice(1));const x=f.charCodeAt(f.length-1),b=_d(r.after.charCodeAt(0),x,s);b.inside&&(f=f.slice(0,-1)+Wo(x));const v=u.move(s);return o(),i.attentionEncodeSurroundingInfo={after:b.outside,before:p.outside},d+f+v}function d9(e,t,i){return i.options.emphasis||"*"}function f9(e,t){let i=!1;return vy(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return i=!0,cg}),!!((!e.depth||e.depth<3)&&hy(e)&&(t.options.setext||i))}function h9(e,t,i,r){const s=Math.max(Math.min(6,e.depth||1),1),o=i.createTracker(r);if(f9(e,i)){const p=i.enter("headingSetext"),x=i.enter("phrasing"),b=i.containerPhrasing(e,{...o.current(),before:` 258`,after:` 259`});return x(),p(),b+` 260`+(s===1?"=":"-").repeat(b.length-(Math.max(b.lastIndexOf("\r"),b.lastIndexOf(` 261`))+1))}const u="#".repeat(s),d=i.enter("headingAtx"),f=i.enter("phrasing");o.move(u+" ");let h=i.containerPhrasing(e,{before:"# ",after:` 262`,...o.current()});return/^[\t ]/.test(h)&&(h=Wo(h.charCodeAt(0))+h.slice(1)),h=h?u+" "+h:u,i.options.closeAtx&&(h+=" "+u),f(),d(),h}lC.peek=m9;function lC(e){return e.value||""}function m9(){return"<"}oC.peek=p9;function oC(e,t,i,r){const s=Sy(i),o=s==='"'?"Quote":"Apostrophe",u=i.enter("image");let d=i.enter("label");const f=i.createTracker(r);let h=f.move("![");return h+=f.move(i.safe(e.alt,{before:h,after:"]",...f.current()})),h+=f.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=i.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(i.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=i.enter("destinationRaw"),h+=f.move(i.safe(e.url,{before:h,after:e.title?" ":")",...f.current()}))),d(),e.title&&(d=i.enter(`title${o}`),h+=f.move(" "+s),h+=f.move(i.safe(e.title,{before:h,after:s,...f.current()})),h+=f.move(s),d()),h+=f.move(")"),u(),h}function p9(){return"!"}uC.peek=g9;function uC(e,t,i,r){const s=e.referenceType,o=i.enter("imageReference");let u=i.enter("label");const d=i.createTracker(r);let f=d.move("![");const h=i.safe(e.alt,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),u();const p=i.stack;i.stack=[],u=i.enter("reference");const x=i.safe(i.associationId(e),{before:f,after:"]",...d.current()});return u(),i.stack=p,o(),s==="full"||!h||h!==x?f+=d.move(x+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function g9(){return"!"}cC.peek=y9;function cC(e,t,i){let r=e.value||"",s="`",o=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(r);)s+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<i.unsafe.length;){const u=i.unsafe[o],d=i.compilePattern(u);let f;if(u.atBreak)for(;f=d.exec(r);){let h=f.index;r.charCodeAt(h)===10&&r.charCodeAt(h-1)===13&&h--,r=r.slice(0,h)+" "+r.slice(f.index+1)}}return s+r+s}function y9(){return"`"}function dC(e,t){const i=hy(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(i===e.url||"mailto:"+i===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}fC.peek=x9;function fC(e,t,i,r){const s=Sy(i),o=s==='"'?"Quote":"Apostrophe",u=i.createTracker(r);let d,f;if(dC(e,i)){const p=i.stack;i.stack=[],d=i.enter("autolink");let x=u.move("<");return x+=u.move(i.containerPhrasing(e,{before:x,after:">",...u.current()})),x+=u.move(">"),d(),i.stack=p,x}d=i.enter("link"),f=i.enter("label");let h=u.move("[");return h+=u.move(i.containerPhrasing(e,{before:h,after:"](",...u.current()})),h+=u.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=i.enter("destinationLiteral"),h+=u.move("<"),h+=u.move(i.safe(e.url,{before:h,after:">",...u.current()})),h+=u.move(">")):(f=i.enter("destinationRaw"),h+=u.move(i.safe(e.url,{before:h,after:e.title?" ":")",...u.current()}))),f(),e.title&&(f=i.enter(`title${o}`),h+=u.move(" "+s),h+=u.move(i.safe(e.title,{before:h,after:s,...u.current()})),h+=u.move(s),f()),h+=u.move(")"),d(),h}function x9(e,t,i){return dC(e,i)?"<":"["}hC.peek=b9;function hC(e,t,i,r){const s=e.referenceType,o=i.enter("linkReference");let u=i.enter("label");const d=i.createTracker(r);let f=d.move("[");const h=i.containerPhrasing(e,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),u();const p=i.stack;i.stack=[],u=i.enter("reference");const x=i.safe(i.associationId(e),{before:f,after:"]",...d.current()});return u(),i.stack=p,o(),s==="full"||!h||h!==x?f+=d.move(x+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function b9(){return"["}function ky(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function v9(e){const t=ky(e),i=e.options.bulletOther;if(!i)return t==="*"?"-":"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+i+"`) to be different");return i}function w9(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function mC(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function S9(e,t,i,r){const s=i.enter("list"),o=i.bulletCurrent;let u=e.ordered?w9(i):ky(i);const d=e.ordered?u==="."?")":".":v9(i);let f=t&&i.bulletLastUsed?u===i.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&p&&(!p.children||!p.children[0])&&i.stack[i.stack.length-1]==="list"&&i.stack[i.stack.length-2]==="listItem"&&i.stack[i.stack.length-3]==="list"&&i.stack[i.stack.length-4]==="listItem"&&i.indexStack[i.indexStack.length-1]===0&&i.indexStack[i.indexStack.length-2]===0&&i.indexStack[i.indexStack.length-3]===0&&(f=!0),mC(i)===u&&p){let x=-1;for(;++x<e.children.length;){const b=e.children[x];if(b&&b.type==="listItem"&&b.children&&b.children[0]&&b.children[0].type==="thematicBreak"){f=!0;break}}}}f&&(u=d),i.bulletCurrent=u;const h=i.containerFlow(e,r);return i.bulletLastUsed=u,i.bulletCurrent=o,s(),h}function k9(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function T9(e,t,i,r){const s=k9(i);let o=i.bulletCurrent||ky(i);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(i.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let u=o.length+1;(s==="tab"||s==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const d=i.createTracker(r);d.move(o+" ".repeat(u-o.length)),d.shift(u);const f=i.enter("listItem"),h=i.indentLines(i.containerFlow(e,d.current()),p);return f(),h;function p(x,b,v){return b?(v?"":" ".repeat(u))+x:(v?o:o+" ".repeat(u-o.length))+x}}function C9(e,t,i,r){const s=i.enter("paragraph"),o=i.enter("phrasing"),u=i.containerPhrasing(e,r);return o(),s(),u}const A9=qd(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function E9(e,t,i,r){return(e.children.some(function(u){return A9(u)})?i.containerPhrasing:i.containerFlow).call(i,e,r)}function j9(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}pC.peek=N9;function pC(e,t,i,r){const s=j9(i),o=i.enter("strong"),u=i.createTracker(r),d=u.move(s+s);let f=u.move(i.containerPhrasing(e,{after:s,before:d,...u.current()}));const h=f.charCodeAt(0),p=_d(r.before.charCodeAt(r.before.length-1),h,s);p.inside&&(f=Wo(h)+f.slice(1));const x=f.charCodeAt(f.length-1),b=_d(r.after.charCodeAt(0),x,s);b.inside&&(f=f.slice(0,-1)+Wo(x));const v=u.move(s+s);return o(),i.attentionEncodeSurroundingInfo={after:b.outside,before:p.outside},d+f+v}function N9(e,t,i){return i.options.strong||"*"}function R9(e,t,i,r){return i.safe(e.value,r)}function M9(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function _9(e,t,i){const r=(mC(i)+(i.options.ruleSpaces?" ":"")).repeat(M9(i));return i.options.ruleSpaces?r.slice(0,-1):r}const gC={blockquote:t9,break:SS,code:l9,definition:u9,emphasis:sC,hardBreak:SS,heading:h9,html:lC,image:oC,imageReference:uC,inlineCode:cC,link:fC,linkReference:hC,list:S9,listItem:T9,paragraph:C9,root:E9,strong:pC,text:R9,thematicBreak:_9};function D9(){return{enter:{table:z9,tableData:kS,tableHeader:kS,tableRow:O9},exit:{codeText:P9,table:L9,tableData:lp,tableHeader:lp,tableRow:lp}}}function z9(e){const t=e._align;this.enter({type:"table",align:t.map(function(i){return i==="none"?null:i}),children:[]},e),this.data.inTable=!0}function L9(e){this.exit(e),this.data.inTable=void 0}function O9(e){this.enter({type:"tableRow",children:[]},e)}function lp(e){this.exit(e)}function kS(e){this.enter({type:"tableCell",children:[]},e)}function P9(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,B9));const i=this.stack[this.stack.length-1];i.type,i.value=t,this.exit(e)}function B9(e,t){return t==="|"?t:e}function U9(e){const t=e||{},i=t.tableCellPadding,r=t.tablePipeAlign,s=t.stringLength,o=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 263`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:b,table:u,tableCell:f,tableRow:d}};function u(v,S,T,C){return h(p(v,T,C),v.align)}function d(v,S,T,C){const A=x(v,T,C),N=h([A]);return N.slice(0,N.indexOf(` 264`))}function f(v,S,T,C){const A=T.enter("tableCell"),N=T.enter("phrasing"),M=T.containerPhrasing(v,{...C,before:o,after:o});return N(),A(),M}function h(v,S){return Q8(v,{align:S,alignDelimiters:r,padding:i,stringLength:s})}function p(v,S,T){const C=v.children;let A=-1;const N=[],M=S.enter("table");for(;++A<C.length;)N[A]=x(C[A],S,T);return M(),N}function x(v,S,T){const C=v.children;let A=-1;const N=[],M=S.enter("tableRow");for(;++A<C.length;)N[A]=f(C[A],v,S,T);return M(),N}function b(v,S,T){let C=gC.inlineCode(v,S,T);
vendor: 9,820 bytes, line 264
264return T.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function H9(){return{exit:{taskListCheckValueChecked:TS,taskListCheckValueUnchecked:TS,paragraph:I9}}}function V9(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:F9}}}function TS(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function I9(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const i=this.stack[this.stack.length-1];i.type;const r=i.children[0];if(r&&r.type==="text"){const s=t.children;let o=-1,u;for(;++o<s.length;){const d=s[o];if(d.type==="paragraph"){u=d;break}}u===i&&(r.value=r.value.slice(1),r.value.length===0?i.children.shift():i.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,i.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function F9(e,t,i,r){const s=e.children[0],o=typeof e.checked=="boolean"&&s&&s.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",d=i.createTracker(r);o&&d.move(u);let f=gC.listItem(e,t,i,{...r,...d.current()});return o&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(p){return p+u}}function q9(){return[S8(),F8(),Y8(),D9(),H9()]}function K9(e){return{extensions:[k8(),q8(e),Z8(),U9(e),V9()]}}const G9={tokenize:W9,partial:!0},yC={tokenize:Q9,partial:!0},xC={tokenize:eB,partial:!0},bC={tokenize:tB,partial:!0},Y9={tokenize:nB,partial:!0},vC={name:"wwwAutolink",tokenize:X9,previous:SC},wC={name:"protocolAutolink",tokenize:J9,previous:kC},Da={name:"emailAutolink",tokenize:$9,previous:TC},Xi={};function Z9(){return{text:Xi}}let $r=48;for(;$r<123;)Xi[$r]=Da,$r++,$r===58?$r=65:$r===91&&($r=97);Xi[43]=Da;Xi[45]=Da;Xi[46]=Da;Xi[95]=Da;Xi[72]=[Da,wC];Xi[104]=[Da,wC];Xi[87]=[Da,vC];Xi[119]=[Da,vC];function $9(e,t,i){const r=this;let s,o;return u;function u(x){return!mg(x)||!TC.call(r,r.previous)||Ty(r.events)?i(x):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(x))}function d(x){return mg(x)?(e.consume(x),d):x===64?(e.consume(x),f):i(x)}function f(x){return x===46?e.check(Y9,p,h)(x):x===45||x===95||gn(x)?(o=!0,e.consume(x),f):p(x)}function h(x){return e.consume(x),s=!0,f}function p(x){return o&&s&&Sn(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(x)):i(x)}}function X9(e,t,i){const r=this;return s;function s(u){return u!==87&&u!==119||!SC.call(r,r.previous)||Ty(r.events)?i(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(G9,e.attempt(yC,e.attempt(xC,o),i),i)(u))}function o(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function J9(e,t,i){const r=this;let s="",o=!1;return u;function u(x){return(x===72||x===104)&&kC.call(r,r.previous)&&!Ty(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(x),e.consume(x),d):i(x)}function d(x){if(Sn(x)&&s.length<5)return s+=String.fromCodePoint(x),e.consume(x),d;if(x===58){const b=s.toLowerCase();if(b==="http"||b==="https")return e.consume(x),f}return i(x)}function f(x){return x===47?(e.consume(x),o?h:(o=!0,f)):i(x)}function h(x){return x===null||Nd(x)||St(x)||rs(x)||Vd(x)?i(x):e.attempt(yC,e.attempt(xC,p),i)(x)}function p(x){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(x)}}function W9(e,t,i){let r=0;return s;function s(u){return(u===87||u===119)&&r<3?(r++,e.consume(u),s):u===46&&r===3?(e.consume(u),o):i(u)}function o(u){return u===null?i(u):t(u)}}function Q9(e,t,i){let r,s,o;return u;function u(h){return h===46||h===95?e.check(bC,f,d)(h):h===null||St(h)||rs(h)||h!==45&&Vd(h)?f(h):(o=!0,e.consume(h),u)}function d(h){return h===95?r=!0:(s=r,r=void 0),e.consume(h),u}function f(h){return s||r||!o?i(h):t(h)}}function eB(e,t){let i=0,r=0;return s;function s(u){return u===40?(i++,e.consume(u),s):u===41&&r<i?o(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(bC,t,o)(u):u===null||St(u)||rs(u)?t(u):(e.consume(u),s)}function o(u){return u===41&&r++,e.consume(u),s}}function tB(e,t,i){return r;function r(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(e.consume(d),r):d===38?(e.consume(d),o):d===93?(e.consume(d),s):d===60||d===null||St(d)||rs(d)?t(d):i(d)}function s(d){return d===null||d===40||d===91||St(d)||rs(d)?t(d):r(d)}function o(d){return Sn(d)?u(d):i(d)}function u(d){return d===59?(e.consume(d),r):Sn(d)?(e.consume(d),u):i(d)}}function nB(e,t,i){return r;function r(o){return e.consume(o),s}function s(o){return gn(o)?i(o):t(o)}}function SC(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||St(e)}function kC(e){return!Sn(e)}function TC(e){return!(e===47||mg(e))}function mg(e){return e===43||e===45||e===46||e===95||gn(e)}function Ty(e){let t=e.length,i=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){i=!0;break}if(r._gfmAutolinkLiteralWalkedInto){i=!1;break}}return e.length>0&&!i&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}const iB={tokenize:dB,partial:!0};function aB(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:oB,continuation:{tokenize:uB},exit:cB}},text:{91:{name:"gfmFootnoteCall",tokenize:lB},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:rB,resolveTo:sB}}}}function rB(e,t,i){const r=this;let s=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u;for(;s--;){const f=r.events[s][1];if(f.type==="labelImage"){u=f;break}if(f.type==="gfmFootnoteCall"||f.type==="labelLink"||f.type==="label"||f.type==="image"||f.type==="link")break}return d;function d(f){if(!u||!u._balanced)return i(f);const h=_i(r.sliceSerialize({start:u.end,end:r.now()}));return h.codePointAt(0)!==94||!o.includes(h.slice(1))?i(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),t(f))}}function sB(e,t){let i=e.length;for(;i--;)if(e[i][1].type==="labelImage"&&e[i][0]==="enter"){e[i][1];break}e[i+1][1].type="data",e[i+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[i+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[i+3][1].end),end:Object.assign({},e[i+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},d=[e[i+1],e[i+2],["enter",r,t],e[i+3],e[i+4],["enter",s,t],["exit",s,t],["enter",o,t],["enter",u,t],["exit",u,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(i,e.length-i+1,...d),e}function lB(e,t,i){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,u;return d;function d(x){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(x),e.exit("gfmFootnoteCallLabelMarker"),f}function f(x){return x!==94?i(x):(e.enter("gfmFootnoteCallMarker"),e.consume(x),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(x){if(o>999||x===93&&!u||x===null||x===91||St(x))return i(x);if(x===93){e.exit("chunkString");const b=e.exit("gfmFootnoteCallString");return s.includes(_i(r.sliceSerialize(b)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(x),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):i(x)}return St(x)||(u=!0),o++,e.consume(x),x===92?p:h}function p(x){return x===91||x===92||x===93?(e.consume(x),o++,h):h(x)}}function oB(e,t,i){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,u=0,d;return f;function f(S){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(S){return S===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):i(S)}function p(S){if(u>999||S===93&&!d||S===null||S===91||St(S))return i(S);if(S===93){e.exit("chunkString");const T=e.exit("gfmFootnoteDefinitionLabelString");return o=_i(r.sliceSerialize(T)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(S),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),b}return St(S)||(d=!0),u++,e.consume(S),S===92?x:p}function x(S){return S===91||S===92||S===93?(e.consume(S),u++,p):p(S)}function b(S){return S===58?(e.enter("definitionMarker"),e.consume(S),e.exit("definitionMarker"),s.includes(o)||s.push(o),nt(e,v,"gfmFootnoteDefinitionWhitespace")):i(S)}function v(S){return t(S)}}function uB(e,t,i){return e.check(uu,t,e.attempt(iB,t,i))}function cB(e){e.exit("gfmFootnoteDefinition")}function dB(e,t,i){const r=this;return nt(e,s,"gfmFootnoteDefinitionIndent",5);function s(o){const u=r.events[r.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(o):i(o)}}function fB(e){let i=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:s};return i==null&&(i=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function s(u,d){let f=-1;for(;++f<u.length;)if(u[f][0]==="enter"&&u[f][1].type==="strikethroughSequenceTemporary"&&u[f][1]._close){let h=f;for(;h--;)if(u[h][0]==="exit"&&u[h][1].type==="strikethroughSequenceTemporary"&&u[h][1]._open&&u[f][1].end.offset-u[f][1].start.offset===u[h][1].end.offset-u[h][1].start.offset){u[f][1].type="strikethroughSequence",u[h][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({}
vendor: 4,857 bytes, line 264
264,u[h][1].start),end:Object.assign({},u[f][1].end)},x={type:"strikethroughText",start:Object.assign({},u[h][1].end),end:Object.assign({},u[f][1].start)},b=[["enter",p,d],["enter",u[h][1],d],["exit",u[h][1],d],["enter",x,d]],v=d.parser.constructs.insideSpan.null;v&&Yn(b,b.length,0,Id(v,u.slice(h+1,f),d)),Yn(b,b.length,0,[["exit",x,d],["enter",u[f][1],d],["exit",u[f][1],d],["exit",p,d]]),Yn(u,h-1,f-h+3,b),f=h+b.length-2;break}}for(f=-1;++f<u.length;)u[f][1].type==="strikethroughSequenceTemporary"&&(u[f][1].type="data");return u}function o(u,d,f){const h=this.previous,p=this.events;let x=0;return b;function b(S){return h===126&&p[p.length-1][1].type!=="characterEscape"?f(S):(u.enter("strikethroughSequenceTemporary"),v(S))}function v(S){const T=hl(h);if(S===126)return x>1?f(S):(u.consume(S),x++,v);if(x<2&&!i)return f(S);const C=u.exit("strikethroughSequenceTemporary"),A=hl(S);return C._open=!A||A===2&&!!T,C._close=!T||T===2&&!!A,d(S)}}}class hB{constructor(){this.map=[]}add(t,i,r){mB(this,t,i,r)}consume(t){if(this.map.sort(function(o,u){return o[0]-u[0]}),this.map.length===0)return;let i=this.map.length;const r=[];for(;i>0;)i-=1,r.push(t.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),t.length=this.map[i][0];r.push(t.slice()),t.length=0;let s=r.pop();for(;s;){for(const o of s)t.push(o);s=r.pop()}this.map.length=0}}function mB(e,t,i,r){let s=0;if(!(i===0&&r.length===0)){for(;s<e.map.length;){if(e.map[s][0]===t){e.map[s][1]+=i,e.map[s][2].push(...r);return}s+=1}e.map.push([t,i,r])}}function pB(e,t){let i=!1;const r=[];for(;t<e.length;){const s=e[t];if(i){if(s[0]==="enter")s[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(i=!0);t+=1}return r}function gB(){return{flow:{null:{name:"table",tokenize:yB,resolveAll:xB}}}}function yB(e,t,i){const r=this;let s=0,o=0,u;return d;function d(z){let te=r.events.length-1;for(;te>-1;){const oe=r.events[te][1].type;if(oe==="lineEnding"||oe==="linePrefix")te--;else break}const Z=te>-1?r.events[te][1].type:null,pe=Z==="tableHead"||Z==="tableRow"?U:f;return pe===U&&r.parser.lazy[r.now().line]?i(z):pe(z)}function f(z){return e.enter("tableHead"),e.enter("tableRow"),h(z)}function h(z){return z===124||(u=!0,o+=1),p(z)}function p(z){return z===null?i(z):Re(z)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),v):i(z):Je(z)?nt(e,p,"whitespace")(z):(o+=1,u&&(u=!1,s+=1),z===124?(e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),u=!0,p):(e.enter("data"),x(z)))}function x(z){return z===null||z===124||St(z)?(e.exit("data"),p(z)):(e.consume(z),z===92?b:x)}function b(z){return z===92||z===124?(e.consume(z),x):x(z)}function v(z){return r.interrupt=!1,r.parser.lazy[r.now().line]?i(z):(e.enter("tableDelimiterRow"),u=!1,Je(z)?nt(e,S,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):S(z))}function S(z){return z===45||z===58?C(z):z===124?(u=!0,e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),T):G(z)}function T(z){return Je(z)?nt(e,C,"whitespace")(z):C(z)}function C(z){return z===58?(o+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(z),e.exit("tableDelimiterMarker"),A):z===45?(o+=1,A(z)):z===null||Re(z)?K(z):G(z)}function A(z){return z===45?(e.enter("tableDelimiterFiller"),N(z)):G(z)}function N(z){return z===45?(e.consume(z),N):z===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(z),e.exit("tableDelimiterMarker"),M):(e.exit("tableDelimiterFiller"),M(z))}function M(z){return Je(z)?nt(e,K,"whitespace")(z):K(z)}function K(z){return z===124?S(z):z===null||Re(z)?!u||s!==o?G(z):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(z)):G(z)}function G(z){return i(z)}function U(z){return e.enter("tableRow"),ee(z)}function ee(z){return z===124?(e.enter("tableCellDivider"),e.consume(z),e.exit("tableCellDivider"),ee):z===null||Re(z)?(e.exit("tableRow"),t(z)):Je(z)?nt(e,ee,"whitespace")(z):(e.enter("data"),L(z))}function L(z){return z===null||z===124||St(z)?(e.exit("data"),ee(z)):(e.consume(z),z===92?se:L)}function se(z){return z===92||z===124?(e.consume(z),L):L(z)}}function xB(e,t){let i=-1,r=!0,s=0,o=[0,0,0,0],u=[0,0,0,0],d=!1,f=0,h,p,x;const b=new hB;for(;++i<e.length;){const v=e[i],S=v[1];v[0]==="enter"?S.type==="tableHead"?(d=!1,f!==0&&(CS(b,t,f,h,p),p=void 0,f=0),h={type:"table",start:Object.assign({},S.start),end:Object.assign({},S.end)},b.add(i,0,[["enter",h,t]])):S.type==="tableRow"||S.type==="tableDelimiterRow"?(r=!0,x=void 0,o=[0,0,0,0],u=[0,i+1,0,0],d&&(d=!1,p={type:"tableBody",start:Object.assign({},S.start),end:Object.assign({},S.end)}
vendor: 4,868 bytes, line 264
264,b.add(i,0,[["enter",p,t]])),s=S.type==="tableDelimiterRow"?2:p?3:1):s&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")?(r=!1,u[2]===0&&(o[1]!==0&&(u[0]=u[1],x=Pc(b,t,o,s,void 0,x),o=[0,0,0,0]),u[2]=i)):S.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(u[0]=u[1],x=Pc(b,t,o,s,void 0,x)),o=u,u=[o[1],i,0,0])):S.type==="tableHead"?(d=!0,f=i):S.type==="tableRow"||S.type==="tableDelimiterRow"?(f=i,o[1]!==0?(u[0]=u[1],x=Pc(b,t,o,s,i,x)):u[1]!==0&&(x=Pc(b,t,u,s,i,x)),s=0):s&&(S.type==="data"||S.type==="tableDelimiterMarker"||S.type==="tableDelimiterFiller")&&(u[3]=i)}for(f!==0&&CS(b,t,f,h,p),b.consume(t.events),i=-1;++i<t.events.length;){const v=t.events[i];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=pB(t.events,i))}return e}function Pc(e,t,i,r,s,o){const u=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",d="tableContent";i[0]!==0&&(o.end=Object.assign({},Ws(t.events,i[0])),e.add(i[0],0,[["exit",o,t]]));const f=Ws(t.events,i[1]);if(o={type:u,start:Object.assign({},f),end:Object.assign({},f)},e.add(i[1],0,[["enter",o,t]]),i[2]!==0){const h=Ws(t.events,i[2]),p=Ws(t.events,i[3]),x={type:d,start:Object.assign({},h),end:Object.assign({},p)};if(e.add(i[2],0,[["enter",x,t]]),r!==2){const b=t.events[i[2]],v=t.events[i[3]];if(b[1].end=Object.assign({},v[1].end),b[1].type="chunkText",b[1].contentType="text",i[3]>i[2]+1){const S=i[2]+1,T=i[3]-i[2]-1;e.add(S,T,[])}}e.add(i[3]+1,0,[["exit",x,t]])}return s!==void 0&&(o.end=Object.assign({},Ws(t.events,s)),e.add(s,0,[["exit",o,t]]),o=void 0),o}function CS(e,t,i,r,s){const o=[],u=Ws(t.events,i);s&&(s.end=Object.assign({},u),o.push(["exit",s,t])),r.end=Object.assign({},u),o.push(["exit",r,t]),e.add(i+1,0,o)}function Ws(e,t){const i=e[t],r=i[0]==="enter"?"start":"end";return i[1][r]}const bB={name:"tasklistCheck",tokenize:wB};function vB(){return{text:{91:bB}}}function wB(e,t,i){const r=this;return s;function s(f){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?i(f):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),o)}function o(f){return St(f)?(e.enter("taskListCheckValueUnchecked"),e.consume(f),e.exit("taskListCheckValueUnchecked"),u):f===88||f===120?(e.enter("taskListCheckValueChecked"),e.consume(f),e.exit("taskListCheckValueChecked"),u):i(f)}function u(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),d):i(f)}function d(f){return Re(f)?t(f):Je(f)?e.check({tokenize:SB},t,i)(f):i(f)}}function SB(e,t,i){return nt(e,r,"whitespace");function r(s){return s===null?i(s):t(s)}}function kB(e){return LT([Z9(),aB(),fB(e),gB(),vB()])}const TB={};function CB(e){const t=this,i=e||TB,r=t.data(),s=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),u=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);s.push(kB(i)),o.push(q9()),u.push(K9(i))}function AB({post:e}){const t=bT(e.content),i=ig(e.publishedAt,"full"),r=e.updatedAt?ig(e.updatedAt,"long"):null,[s,o]=R.useState(0);return R.useEffect(()=>{const u=()=>{const d=window.innerHeight,f=document.documentElement.scrollHeight-d,p=window.scrollY/f*100;o(Math.min(100,Math.max(0,p)))};return window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u)},[]),y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"fixed top-0 left-0 right-0 z-50 h-1 bg-border/30",children:y.jsx("div",{className:"h-full bg-gradient-to-r from-primary via-primary/80 to-primary transition-all duration-150 ease-out",style:{width:`${s}%`}})}),y.jsxs("article",{className:"relative",children:[y.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none","aria-hidden":"true",children:[y.jsx("div",{className:"absolute -top-40 -right-40 w-96 h-96 bg-primary/5 rounded-full blur-3xl"}),y.jsx("div",{className:"absolute top-1/3 -left-40 w-80 h-80 bg-accent/5 rounded-full blur-3xl"}),y.jsx("div",{className:"absolute bottom-1/4 -right-32 w-72 h-72 bg-primary/5 rounded-full blur-3xl"})]}),y.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12 lg:py-20",children:[y.jsx("header",{className:"mb-16 lg:mb-24",children:y.jsxs("div",{className:"text-center",children:[e.category&&y.jsx("div",{className:"mb-8 animate-fade-in",children:y.jsxs("span",{className:"inline-flex items-center gap-2 px-6 py-2.5 text-xs font-bold tracking-widest uppercase text-primary bg-gradient-to-r from-primary/10 to-primary/5 rounded-full border-2 border-primary/20 shadow-lg shadow-primary/10",children:[y.jsx("span",{className:"w-2 h-2 rounded-full bg-primary animate-pulse"}),e.category]})}),y.jsx("h1",{className:"page-title mb-10",children:y.jsx(et,{devId:"612919",guard:{file:"src/components/blog/BlogPost.tsx",tagName:"h1",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
264ash:"sha256:3d7762f3ba350673da1469c3e329e26b1f1c57e07da68dc04a2b45e92c636880"},children:e.title})}),e.excerpt&&y.jsx("p",{className:"text-lg text-muted-foreground mb-12 max-w-3xl mx-auto leading-relaxed font-light",children:y.jsx(et,{devId:"fb5010",guard:{file:"src/components/blog/BlogPost.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:5fd23573df9cc310b2aae74cb3a9aeeeee60731085d5bf04171afe4ce2c58fcb"},children:e.excerpt})}),y.jsxs("div",{className:"inline-flex items-center gap-4 px-8 py-4 bg-accent/30 rounded-2xl border-2 border-border/50 shadow-xl backdrop-blur-sm",children:[e.author&&y.jsxs("div",{className:"flex items-center gap-3",children:[y.jsx("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-primary to-primary/70 flex items-center justify-center shadow-lg",children:y.jsx("span",{className:"text-lg font-bold text-white",children:y.jsx(et,{devId:"95830f",guard:{file:"src/components/blog/BlogPost.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:440c340efe3187542fea353ae76c12d1bd2f490169a2bee375e8416e3547e598"},children:e.author.charAt(0).toUpperCase()})})}),y.jsx("span",{className:"font-bold text-foreground tracking-wide",children:y.jsx(et,{devId:"385fbb",guard:{file:"src/components/blog/BlogPost.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:03d87aa20466210eac1e3524b26a6ab217312234ab59349f4f5a1925f58e72c3"},children:e.author})})]}),y.jsx("span",{className:"text-border text-2xl",children:"â¢"}),y.jsx("time",{dateTime:e.publishedAt,className:"tracking-wide text-muted-foreground font-medium",children:i}),y.jsx("span",{className:"text-border text-2xl",children:"â¢"}),y.jsxs("span",{className:"tracking-wide text-muted-foreground font-medium flex items-center gap-2",children:[y.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})}),t," min read"]})]}),r&&y.jsxs("div",{className:"mt-6 text-sm text-muted-foreground/80 italic",children:["Last updated: ",r]})]})}),e.featuredImage&&y.jsxs("div",{className:"mb-20 lg:mb-28 relative group",children:[y.jsx("div",{className:"absolute -inset-4 bg-gradient-to-r from-primary/20 to-accent/20 rounded-3xl blur-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),y.jsx("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl ring-1 ring-border/50",children:y.jsx("img",{src:e.featuredImage,alt:e.title,className:"w-full h-auto object-cover transform group-hover:scale-[1.02] transition-transform duration-700",loading:"eager"})})]}),y.jsxs("div",{className:"relative",children:[y.jsx("div",{className:"hidden lg:block absolute -left-20 top-0 bottom-0 w-1 bg-gradient-to-b from-transparent via-primary/30 to-transparent"}),y.jsx("div",{className:"rich-text","data-dev-content-file":`src/content/data/blog/${e.slug}.md`,children:y.jsx(f8,{remarkPlugins:[CB],children:e.content})})]}),e.tags&&e.tags.length>0&&y.jsxs("div",{className:"mt-24 pt-12 border-t-2 border-border/50 relative",children:[y.jsx("div",{className:"absolute -top-4 left-1/2 -translate-x-1/2 px-6 py-2 bg-background",children:y.jsxs("div",{className:"flex gap-2",children:[y.jsx("div",{className:"w-2 h-2 rounded-full bg-primary"}),y.jsx("div",{className:"w-2 h-2 rounded-full bg-primary/60"}),y.jsx("div",{className:"w-2 h-2 rounded-full bg-primary/30"})]})}),y.jsx("div",{className:"text-center mb-8",children:y.jsx("h3",{className:"text-sm font-black uppercase tracking-[0.2em] text-muted-foreground",children:"Explore Topics"})}),y.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:e.tags.map(u=>y.jsxs("span",{className:"group relative px-6 py-3 text-sm font-bold bg-gradient-to-br from-accent/50 to-accent/30 text-foreground rounded-xl border-2 border-border/50 hover:border-primary hover:shadow-lg hover:shadow-primary/20 hover:-translate-y-0.5 transition-all duration-200 cursor-pointer overflow-hidden",children:[y.jsx("span",{className:"absolute inset-0 bg-gradient-to-br from-primary/0 to-primary/0 group-hover:from-primary/10 group-hover:to-primary/5 transition-all duration-200"}),y.jsxs("span",{className:"relative",children:["#",u]})]},u))})]}),e.author&&y.jsxs("div",{className:"mt-24 pt-12 border-t-2 border-border/50 relative",children:[y.jsx("div",{className:"absolute -top-4 left-1/2 -translate-x-1/2 px-6 py-2 bg-background",children:y.jsx("div",{className:"w-8 h-1 bg-gradient-to-r from-transparent via-primary to-transparent roun
264ded-full"})}),y.jsxs("div",{className:"relative p-10 bg-gradient-to-br from-accent/40 via-accent/20 to-transparent rounded-3xl border-2 border-border/50 shadow-2xl overflow-hidden",children:[y.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-primary/5 rounded-bl-full"}),y.jsx("div",{className:"absolute bottom-0 left-0 w-24 h-24 bg-accent/10 rounded-tr-full"}),y.jsxs("div",{className:"relative flex items-start gap-8",children:[y.jsxs("div",{className:"flex-shrink-0 relative group",children:[y.jsx("div",{className:"absolute -inset-2 bg-gradient-to-br from-primary to-primary/50 rounded-full blur opacity-50 group-hover:opacity-75 transition-opacity"}),y.jsx("div",{className:"relative w-24 h-24 rounded-full bg-gradient-to-br from-primary to-primary/70 flex items-center justify-center shadow-xl ring-4 ring-background",children:y.jsx("span",{className:"text-2xl font-black text-white",children:y.jsx(et,{devId:"04882f",guard:{file:"src/components/blog/BlogPost.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:440c340efe3187542fea353ae76c12d1bd2f490169a2bee375e8416e3547e598"},children:e.author.charAt(0).toUpperCase()})})})]}),y.jsxs("div",{className:"flex-1",children:[y.jsx("p",{className:"text-xs font-black uppercase tracking-[0.2em] text-muted-foreground mb-3",children:"Written by"}),y.jsx("h3",{className:"text-xl font-black text-foreground mb-3",children:y.jsx(et,{devId:"e06f04",guard:{file:"src/components/blog/BlogPost.tsx",tagName:"h3",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:03d87aa20466210eac1e3524b26a6ab217312234ab59349f4f5a1925f58e72c3"},children:e.author})}),y.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Content creator and writer sharing insights and stories."})]})]})]})]})]})]})]})}const AS="https://yousuf.com";function EB(){const{slug:e}=AN(),t=e?ZL(e):null,i=t?JL(t,3):[];if(!t)return y.jsx(GN,{to:"/blog",replace:!0});const r=`${AS}/blog/${t.slug}`,s=t.seoTitle??`${t.title} | Yousuf Syed Khan`,o=t.seoDescription??t.excerpt,u={"@context":"https://schema.org","@type":"BlogPosting","@id":`${r}#article`,headline:t.title,description:o,url:r,datePublished:t.publishedAt,dateModified:t.updatedAt??t.publishedAt,author:{"@type":"Person",name:t.author??"Yousuf Syed Khan"},publisher:{"@id":`${AS}/#organization`}};return y.jsxs(y.Fragment,{children:[y.jsxs(hi,{children:[y.jsx("title",{children:s}),y.jsx("meta",{name:"description",content:o}),y.jsx("meta",{name:"robots",content:"noindex, nofollow"}),y.jsx("link",{rel:"canonical",href:r}),y.jsx("meta",{property:"og:title",content:s}),y.jsx("meta",{property:"og:description",content:o}),y.jsx("meta",{property:"og:type",content:"article"}),y.jsx("meta",{property:"og:url",content:r}),t.featuredImage&&y.jsx("meta",{property:"og:image",content:t.featuredImage}),y.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),y.jsx("meta",{name:"twitter:title",content:s}),y.jsx("meta",{name:"twitter:description",content:o}),t.featuredImage&&y.jsx("meta",{name:"twitter:image",content:t.featuredImage}),y.jsx("script",{type:"application/ld+json",children:JSON.stringify(u)})]}),y.jsxs("main",{className:"bg-background px-6 pb-20 pt-28 sm:px-8 md:px-10 md:pt-36",children:[y.jsx(AB,{post:t}),i.length>0&&y.jsxs("section",{className:"mx-auto mt-16 max-w-5xl border-t border-border pt-12","aria-label":"Related posts",children:[y.jsx("h2",{className:"font-heading text-3xl font-semibold text-foreground",children:"Related posts"}),y.jsx("div",{className:"mt-8",children:y.jsx(vT,{posts:i,variant:"default",columns:3})})]})]})]})}const jB=fn;function NB(){return y.jsx("div",{className:"min-h-screen flex items-center justify-center",style:{background:"linear-gradient(to bottom right, hsl(var(--primary)), hsl(var(--secondary)))"},children:y.jsx("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:y.jsxs("div",{className:"space-y-8",children:[y.jsxs("div",{className:"space-y-4",children:[y.jsx("h1",{className:"text-6xl font-bold text-white/90",children:"404"}),y.jsx("h2",{className:"text-2xl font-semibold text-white/90",children:"Page Not Found"}),y.jsx("p",{className:"text-white/90",children:"Sorry, the page you're looking for doesn't exist or has been moved."})]}),y.jsxs("div",{className:"flex justify-center gap-4",children:[y.jsx(jB,{to:"/",children:y.jsx("button",{className:"px-8 py-3 bg-white font-semibold rounded-lg shadow-lg hover:shadow-xl transition-all hover:scale-105",style:{color:"hsl(var(--primary))"},children:"ð Go Home"})}),y.jsx("button",{className:"px-8 py-3 bg-white font-semibold rounded-lg shadow-lg hover:shadow-xl transition-all hover:scale-105",style:{color:"hsl(var(--primary))"},onClick:()=>window.history.back(),children:"â Go Back"})]})]})})})}const RB=NB,MB=[{path:"/",element:y.jsx(jL,{})},{path:"/about",element:y.jsx(RL,{})},{path:"/consultancy",element:y.jsx(_L,{})},{path:"/affiliations",element:y.jsx(zL,{})},{path:"/talks",element:y.jsx(OL,{})},{path:"/publications",element:y.jsx(BL,{})},{path:"/media",element:y.jsx(FL,{})},{path:"/contact",element:y.jsx(KL,{})},{path:"/privacy-policy",element:y.jsx(YL,{})},{path:"/blog",element:y.jsx(tO,{})},{path:"/blog/:slug",element:y.jsx(EB,{})},{path:"*",element:y.jsx(RB,{})}],_B=R.lazy(()=>sj(()=>import("./CookieBanner-CbB4K4Xw.js"),__vite__mapDeps([0,1,2,3])).catch(e=>(console.warn("Failed to load CookieBanner:",e),{default:()=>null}))),DB=()=>y.jsx("div",{className:"flex justify-center py-8 h-screen items-center",children:y.jsx(EM,{})}),zB=y.jsx(R.Suspense,{fallback:y.jsx(DB,{}),children:y.jsx(AM,{children:y.jsx(YN,{})})}),LB=[{element:zB,children:MB}],OB=vR(LB);function PB(){return y.jsxs(y.Fragment,{children:[y.jsx(DR,{router:OB}),y.jsx(zR,{children:y.jsx(R.Suspense,{fallback:null,children:y.jsx(_B,{})})})]})}const BB=new DE({defaultOptions:{queries:{staleTime:1e3*60*5,gcTime:1e3*60*10,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}}),ad=document.getElementById("app");if(!ad)throw new Error("Root element not found");const UB=y.jsx(nj,{children:y.jsx(zE,{client:BB,children:y.jsx(PB,{})})}),ES=y.jsx(R.StrictMode,{children:UB});ad.firstElementChild?m0.hydrateRoot(ad,ES):m0.createRoot(ad).render(ES);export{yM as a,BR as c};
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.