PageSourceSearch

https://benpovlow.com/assets/index-C901cd4r.js

js benpovlow.com collected 2026-10-09 22:40:21 UTC 1,057,451 bytes, 608 lines download raw bytes

vendor: 4,946 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CookieBanner-DBt1t_aA.js","assets/query-DZ5kcTm3.js","assets/radix-ui-CQNv7Kjr.js","assets/react-vendor-lGbB5yuE.js"])))=>i.map(i=>d[i]);
2var mC=Object.defineProperty;var kv=e=>{throw TypeError(e)};var pC=(e,t,n)=>t in e?mC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var $a=(e,t,n)=>pC(e,typeof t!="symbol"?t+"":t,n),Nv=(e,t,n)=>t.has(e)||kv("Cannot "+n);var ha=(e,t,n)=>(Nv(e,t,"read from private field"),n?n.call(e):t.get(e)),Lo=(e,t,n)=>t.has(e)?kv("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Za=(e,t,n,r)=>(Nv(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);import{a as gC,j as m,r as D,g as Dw,Q as yC,b as bC}from"./query-DZ5kcTm3.js";import{r as xC}from"./react-vendor-lGbB5yuE.js";import{r as vC}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 l of s)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();var wp={exports:{}},fu={},Sp={exports:{}},Ap={};/**
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 Cv;function TC(){return Cv||(Cv=1,(function(e){function t(Y,re){var pe=Y.length;Y.push(re);e:for(;0<pe;){var Ee=pe-1>>>1,R=Y[Ee];if(0<s(R,re))Y[Ee]=re,Y[pe]=R,pe=Ee;else break e}}function n(Y){return Y.length===0?null:Y[0]}function r(Y){if(Y.length===0)return null;var re=Y[0],pe=Y.pop();if(pe!==re){Y[0]=pe;e:for(var Ee=0,R=Y.length,Re=R>>>1;Ee<Re;){var He=2*(Ee+1)-1,O=Y[He],Xe=He+1,Et=Y[Xe];if(0>s(O,pe))Xe<R&&0>s(Et,O)?(Y[Ee]=Et,Y[Xe]=pe,Ee=Xe):(Y[Ee]=O,Y[He]=pe,Ee=He);else if(Xe<R&&0>s(Et,pe))Y[Ee]=Et,Y[Xe]=pe,Ee=Xe;else break e}}return re}function s(Y,re){var pe=Y.sortIndex-re.sortIndex;return pe!==0?pe:Y.id-re.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var f=[],h=[],g=1,y=null,v=3,T=!1,w=!1,A=!1,_=!1,N=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function Q(Y){for(var re=n(h);re!==null;){if(re.callback===null)r(h);else if(re.startTime<=Y)r(h),re.sortIndex=re.expirationTime,t(f,re);else break;re=n(h)}}function Z(Y){if(A=!1,Q(Y),!w)if(n(f)!==null)w=!0,V||(V=!0,ee());else{var re=n(h);re!==null&&de(Z,re.startTime-Y)}}var V=!1,ue=-1,U=5,ge=-1;function j(){return _?!0:!(e.unstable_now()-ge<U)}function ce(){if(_=!1,V){var Y=e.unstable_now();ge=Y;var re=!0;try{e:{w=!1,A&&(A=!1,P(ue),ue=-1),T=!0;var pe=v;try{t:{for(Q(Y),y=n(f);y!==null&&!(y.expirationTime>Y&&j());){var Ee=y.callback;if(typeof Ee=="function"){y.callback=null,v=y.priorityLevel;var R=Ee(y.expirationTime<=Y);if(Y=e.unstable_now(),typeof R=="function"){y.callback=R,Q(Y),re=!0;break t}y===n(f)&&r(f),Q(Y)}else r(f);y=n(f)}if(y!==null)re=!0;else{var Re=n(h);Re!==null&&de(Z,Re.startTime-Y),re=!1}}break e}finally{y=null,v=pe,T=!1}re=void 0}}finally{re?ee():V=!1}}}var ee;if(typeof I=="function")ee=function(){I(ce)};else if(typeof MessageChannel<"u"){var _e=new MessageChannel,xe=_e.port2;_e.port1.onmessage=ce,ee=function(){xe.postMessage(null)}}else ee=function(){N(ce,0)};function de(Y,re){ue=N(function(){Y(e.unstable_now())},re)}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(Y){Y.callback=null},e.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<Y?Math.floor(1e3/Y):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_next=function(Y){switch(v){case 1:case 2:case 3:var re=3;break;default:re=v}var pe=v;v=re;try{return Y()}finally{v=pe}},e.unstable_requestPaint=function(){_=!0},e.unstable_runWithPriority=function(Y,re){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var pe=v;v=Y;try{return re()}finally{v=pe}},e.unstable_scheduleCallback=function(Y,re,pe){var Ee=e.unstable_now();
vendor: 4,455 bytes, lines 10-18
10switch(typeof pe=="object"&&pe!==null?(pe=pe.delay,pe=typeof pe=="number"&&0<pe?Ee+pe:Ee):pe=Ee,Y){case 1:var R=-1;break;case 2:R=250;break;case 5:R=1073741823;break;case 4:R=1e4;break;default:R=5e3}return R=pe+R,Y={id:g++,callback:re,priorityLevel:Y,startTime:pe,expirationTime:R,sortIndex:-1},pe>Ee?(Y.sortIndex=pe,t(h,Y),n(f)===null&&Y===n(h)&&(A?(P(ue),ue=-1):A=!0,de(Z,pe-Ee))):(Y.sortIndex=R,t(f,Y),w||T||(w=!0,V||(V=!0,ee()))),Y},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(Y){var re=v;return function(){var pe=v;v=re;try{return Y.apply(this,arguments)}finally{v=pe}}}})(Ap)),Ap}var Rv;function EC(){return Rv||(Rv=1,Sp.exports=TC()),Sp.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 Dv;function wC(){if(Dv)return fu;Dv=1;var e=EC(),t=gC(),n=xC();function r(a){var i="https://react.dev/errors/"+a;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)i+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+a+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function l(a){var i=a,o=a;if(a.alternate)for(;i.return;)i=i.return;else{a=i;do i=a,(i.flags&4098)!==0&&(o=i.return),a=i.return;while(a)}return i.tag===3?o:null}function u(a){if(a.tag===13){var i=a.memoizedState;if(i===null&&(a=a.alternate,a!==null&&(i=a.memoizedState)),i!==null)return i.dehydrated}return null}function d(a){if(a.tag===31){var i=a.memoizedState;if(i===null&&(a=a.alternate,a!==null&&(i=a.memoizedState)),i!==null)return i.dehydrated}return null}function f(a){if(l(a)!==a)throw Error(r(188))}function h(a){var i=a.alternate;if(!i){if(i=l(a),i===null)throw Error(r(188));return i!==a?null:a}for(var o=a,c=i;;){var p=o.return;if(p===null)break;var b=p.alternate;if(b===null){if(c=p.return,c!==null){o=c;continue}break}if(p.child===b.child){for(b=p.child;b;){if(b===o)return f(p),a;if(b===c)return f(p),i;b=b.sibling}throw Error(r(188))}if(o.return!==c.return)o=p,c=b;else{for(var E=!1,S=p.child;S;){if(S===o){E=!0,o=p,c=b;break}if(S===c){E=!0,c=p,o=b;break}S=S.sibling}if(!E){for(S=b.child;S;){if(S===o){E=!0,o=b,c=p;break}if(S===c){E=!0,c=b,o=p;break}S=S.sibling}if(!E)throw Error(r(189))}}if(o.alternate!==c)throw Error(r(190))}if(o.tag!==3)throw Error(r(188));return o.stateNode.current===o?a:i}function g(a){var i=a.tag;if(i===5||i===26||i===27||i===6)return a;for(a=a.child;a!==null;){if(i=g(a),i!==null)return i;a=a.sibling}return null}var y=Object.assign,v=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),I=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),ge=Symbol.for("react.activity"),j=Symbol.for("react.memo_cache_sentinel"),ce=Symbol.iterator;function ee(a){return a===null||typeof a!="object"?null:(a=ce&&a[ce]||a["@@iterator"],typeof a=="function"?a:null)}var _e=Symbol.for("react.client.reference");function xe(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===_e?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case A:return"Fragment";case N:return"Profiler";case _:return"StrictMode";case Z:return"Suspense";case V:return"SuspenseList";case ge:return"Activity"}if(typeof a=="object")switch(a.$$typeof){case w:return"Portal";case I:return a.displayName||"Context";case P:return(a._context.displayName||"Context")+".Consumer";case Q:var i=a.render;return a=a.displayName,a||(a=i.displayName||i.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case ue:return i=a.displayName||null,i!==null?i:xe(a.type)||"Memo";case U:i=a._payload,a=a._init;try{return xe(a(i))}catch{}}return null}var de=Array.isArray,Y=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pe={pending:!1,data:null,method:null,action:null},Ee=[],R=-1;function Re(a){return{current:a}}function He(a){0>
vendor: 4,124 bytes, lines 18-25
18R||(a.current=Ee[R],Ee[R]=null,R--)}function O(a,i){R++,Ee[R]=a.current,a.current=i}var Xe=Re(null),Et=Re(null),Ke=Re(null),$t=Re(null);function xn(a,i){switch(O(Ke,i),O(Et,a),O(Xe,null),i.nodeType){case 9:case 11:a=(a=i.documentElement)&&(a=a.namespaceURI)?Qx(a):0;break;default:if(a=i.tagName,i=i.namespaceURI)i=Qx(i),a=$x(i,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}He(Xe),O(Xe,a)}function Zt(){He(Xe),He(Et),He(Ke)}function xa(a){a.memoizedState!==null&&O($t,a);var i=Xe.current,o=$x(i,a.type);i!==o&&(O(Et,a),O(Xe,o))}function za(a){Et.current===a&&(He(Xe),He(Et)),$t.current===a&&(He($t),lu._currentValue=pe)}var ds,Jt;function On(a){if(ds===void 0)try{throw Error()}catch(o){var i=o.stack.trim().match(/\n( *(at )?)/);ds=i&&i[1]||"",Jt=-1<o.stack.indexOf(`
19    at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
20`+ds+a+Jt}var _r=!1;function hi(a,i){if(!a||_r)return"";_r=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(i){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(J){var X=J}Reflect.construct(a,[],se)}else{try{se.call()}catch(J){X=J}a.call(se.prototype)}}else{try{throw Error()}catch(J){X=J}(se=a())&&typeof se.catch=="function"&&se.catch(function(){})}}catch(J){if(J&&X&&typeof J.stack=="string")return[J.stack,X.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var p=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");p&&p.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=c.DetermineComponentFrameRoot(),E=b[0],S=b[1];if(E&&S){var M=E.split(`
21`),W=S.split(`
22`);for(p=c=0;c<M.length&&!M[c].includes("DetermineComponentFrameRoot");)c++;for(;p<W.length&&!W[p].includes("DetermineComponentFrameRoot");)p++;if(c===M.length||p===W.length)for(c=M.length-1,p=W.length-1;1<=c&&0<=p&&M[c]!==W[p];)p--;for(;1<=c&&0<=p;c--,p--)if(M[c]!==W[p]){if(c!==1||p!==1)do if(c--,p--,0>p||M[c]!==W[p]){var ae=`
23`+M[c].replace(" at new "," at ");return a.displayName&&ae.includes("<anonymous>")&&(ae=ae.replace("<anonymous>",a.displayName)),ae}while(1<=c&&0<=p);break}}}finally{_r=!1,Error.prepareStackTrace=o}return(o=a?a.displayName||a.name:"")?On(o):""}function va(a,i){switch(a.tag){case 26:case 27:case 5:return On(a.type);case 16:return On("Lazy");case 13:return a.child!==i&&i!==null?On("Suspense Fallback"):On("Suspense");case 19:return On("SuspenseList");case 0:case 15:return hi(a.type,!1);case 11:return hi(a.type.render,!1);case 1:return hi(a.type,!0);case 31:return On("Activity");default:return""}}function Qs(a){try{var i="",o=null;do i+=va(a,o),o=a,a=a.return;while(a);return i}catch(c){return`
24Error generating stack: `+c.message+`
25`+c.stack}}var mi=Object.prototype.hasOwnProperty,kr=e.unstable_scheduleCallback,fs=e.unstable_cancelCallback,El=e.unstable_shouldYield,wl=e.unstable_requestPaint,wn=e.unstable_now,Va=e.unstable_getCurrentPriorityLevel,ne=e.unstable_ImmediatePriority,Te=e.unstable_UserBlockingPriority,je=e.unstable_NormalPriority,Ve=e.unstable_LowPriority,nt=e.unstable_IdlePriority,jn=e.log,Ya=e.unstable_setDisableYieldValue,mn=null,en=null;function Yt(a){if(typeof jn=="function"&&Ya(a),en&&typeof en.setStrictMode=="function")try{en.setStrictMode(mn,a)}catch{}}var wt=Math.clz32?Math.clz32:ph,Ka=Math.log,Gn=Math.LN2;function ph(a){return a>>>=0,a===0?32:31-(Ka(a)/Gn|0)|0}var hs=256,Nr=262144,ms=4194304;function qa(a){var i=a&42;if(i!==0)return i;switch(a&-a){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 a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;
vendor: 5,220 bytes, line 25
25case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function $s(a,i,o){var c=a.pendingLanes;if(c===0)return 0;var p=0,b=a.suspendedLanes,E=a.pingedLanes;a=a.warmLanes;var S=c&134217727;return S!==0?(c=S&~b,c!==0?p=qa(c):(E&=S,E!==0?p=qa(E):o||(o=S&~a,o!==0&&(p=qa(o))))):(S=c&~b,S!==0?p=qa(S):E!==0?p=qa(E):o||(o=c&~a,o!==0&&(p=qa(o)))),p===0?0:i!==0&&i!==p&&(i&b)===0&&(b=p&-p,o=i&-i,b>=o||b===32&&(o&4194048)!==0)?i:p}function pi(a,i){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&i)===0}function gh(a,i){switch(a){case 1:case 2:case 4:case 8:case 64:return i+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 i+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 Sl(){var a=ms;return ms<<=1,(ms&62914560)===0&&(ms=4194304),a}function gi(a){for(var i=[],o=0;31>o;o++)i.push(a);return i}function sr(a,i){a.pendingLanes|=i,i!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Tc(a,i,o,c,p,b){var E=a.pendingLanes;a.pendingLanes=o,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=o,a.entangledLanes&=o,a.errorRecoveryDisabledLanes&=o,a.shellSuspendCounter=0;var S=a.entanglements,M=a.expirationTimes,W=a.hiddenUpdates;for(o=E&~o;0<o;){var ae=31-wt(o),se=1<<ae;S[ae]=0,M[ae]=-1;var X=W[ae];if(X!==null)for(W[ae]=null,ae=0;ae<X.length;ae++){var J=X[ae];J!==null&&(J.lane&=-536870913)}o&=~se}c!==0&&Ec(a,c,0),b!==0&&p===0&&a.tag!==0&&(a.suspendedLanes|=b&~(E&~i))}function Ec(a,i,o){a.pendingLanes|=i,a.suspendedLanes&=~i;var c=31-wt(i);a.entangledLanes|=i,a.entanglements[c]=a.entanglements[c]|1073741824|o&261930}function wc(a,i){var o=a.entangledLanes|=i;for(a=a.entanglements;o;){var c=31-wt(o),p=1<<c;p&i|a[c]&i&&(a[c]|=i),o&=~p}}function B(a,i){var o=i&-i;return o=(o&42)!==0?1:F(o),(o&(a.suspendedLanes|i))!==0?0:o}function F(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=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:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function K(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function fe(){var a=re.p;return a!==0?a:(a=window.event,a===void 0?32:vv(a.type))}function he(a,i){var o=re.p;try{return re.p=a,i()}finally{re.p=o}}var Ne=Math.random().toString(36).slice(2),Se="__reactFiber$"+Ne,Ae="__reactProps$"+Ne,we="__reactContainer$"+Ne,Me="__reactEvents$"+Ne,ze="__reactListeners$"+Ne,Be="__reactHandles$"+Ne,Ye="__reactResources$"+Ne,bt="__reactMarker$"+Ne;function mt(a){delete a[Se],delete a[Ae],delete a[Me],delete a[ze],delete a[Be]}function Bt(a){var i=a[Se];if(i)return i;for(var o=a.parentNode;o;){if(i=o[we]||o[Se]){if(o=i.alternate,i.child!==null||o!==null&&o.child!==null)for(a=rv(a);a!==null;){if(o=a[Se])return o;a=rv(a)}return i}a=o,o=a.parentNode}return null}function Qe(a){if(a=a[Se]||a[we]){var i=a.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return a}return null}function Un(a){var i=a.tag;if(i===5||i===26||i===27||i===6)return a.stateNode;throw Error(r(33))}function Gt(a){var i=a[Ye];return i||(i=a[Ye]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function xt(a){a[bt]=!0}var Ga=new Set,Cr={};function Ta(a,i){pn(a,i),pn(a+"Capture",i)}function pn(a,i){for(Cr[a]=i,a=0;a<i.length;a++)Ga.add(i[a])}var yi=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]*$"),Rr={},Dr={};function Zs(a){return mi.call(Dr,a)?!0:mi.call(Rr,a)?!1:yi.test(a)?Dr[a]=!0:(Rr[a]=!0,!1)}function Or(a,i,o){if(Zs(i))if(o===null)a.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":a.removeAttribute(i);return;case"boolean":var c=i.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){a.removeAttribute(i);return}}a.setAttribute(i,""+o)}}function Lr(a,i,o){if(o===null)a.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(i);return}a.setAttribute(i,""+o)}}function qe(a,i,o,c){if(c===null)a.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(o);return}a.setAttributeNS(i,o,""+c)}}function vt(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Ea(a){var i=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function bi(a,i,o){var c=Object.getOwnPropertyDescriptor(a.constructor.prototype,i
vendor: 5,332 bytes, line 25
25);if(!a.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var p=c.get,b=c.set;return Object.defineProperty(a,i,{configurable:!0,get:function(){return p.call(this)},set:function(E){o=""+E,b.call(this,E)}}),Object.defineProperty(a,i,{enumerable:c.enumerable}),{getValue:function(){return o},setValue:function(E){o=""+E},stopTracking:function(){a._valueTracker=null,delete a[i]}}}}function ps(a){if(!a._valueTracker){var i=Ea(a)?"checked":"value";a._valueTracker=bi(a,i,""+a[i])}}function Ut(a){if(!a)return!1;var i=a._valueTracker;if(!i)return!0;var o=i.getValue(),c="";return a&&(c=Ea(a)?a.checked?"true":"false":a.value),a=c,a!==o?(i.setValue(a),!0):!1}function wa(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var Sc=/[\n"\\]/g;function Wn(a){return a.replace(Sc,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function yh(a,i,o,c,p,b,E,S){a.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?a.type=E:a.removeAttribute("type"),i!=null?E==="number"?(i===0&&a.value===""||a.value!=i)&&(a.value=""+vt(i)):a.value!==""+vt(i)&&(a.value=""+vt(i)):E!=="submit"&&E!=="reset"||a.removeAttribute("value"),i!=null?bh(a,E,vt(i)):o!=null?bh(a,E,vt(o)):c!=null&&a.removeAttribute("value"),p==null&&b!=null&&(a.defaultChecked=!!b),p!=null&&(a.checked=p&&typeof p!="function"&&typeof p!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?a.name=""+vt(S):a.removeAttribute("name")}function Yy(a,i,o,c,p,b,E,S){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(a.type=b),i!=null||o!=null){if(!(b!=="submit"&&b!=="reset"||i!=null)){ps(a);return}o=o!=null?""+vt(o):"",i=i!=null?""+vt(i):o,S||i===a.value||(a.value=i),a.defaultValue=i}c=c??p,c=typeof c!="function"&&typeof c!="symbol"&&!!c,a.checked=S?a.checked:!!c,a.defaultChecked=!!c,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(a.name=E),ps(a)}function bh(a,i,o){i==="number"&&wa(a.ownerDocument)===a||a.defaultValue===""+o||(a.defaultValue=""+o)}function Js(a,i,o,c){if(a=a.options,i){i={};for(var p=0;p<o.length;p++)i["$"+o[p]]=!0;for(o=0;o<a.length;o++)p=i.hasOwnProperty("$"+a[o].value),a[o].selected!==p&&(a[o].selected=p),p&&c&&(a[o].defaultSelected=!0)}else{for(o=""+vt(o),i=null,p=0;p<a.length;p++){if(a[p].value===o){a[p].selected=!0,c&&(a[p].defaultSelected=!0);return}i!==null||a[p].disabled||(i=a[p])}i!==null&&(i.selected=!0)}}function Ky(a,i,o){if(i!=null&&(i=""+vt(i),i!==a.value&&(a.value=i),o==null)){a.defaultValue!==i&&(a.defaultValue=i);return}a.defaultValue=o!=null?""+vt(o):""}function qy(a,i,o,c){if(i==null){if(c!=null){if(o!=null)throw Error(r(92));if(de(c)){if(1<c.length)throw Error(r(93));c=c[0]}o=c}o==null&&(o=""),i=o}o=vt(i),a.defaultValue=o,c=a.textContent,c===o&&c!==""&&c!==null&&(a.value=c),ps(a)}function eo(a,i){if(i){var o=a.firstChild;if(o&&o===a.lastChild&&o.nodeType===3){o.nodeValue=i;return}}a.textContent=i}var uk=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 Gy(a,i,o){var c=i.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?c?a.setProperty(i,""):i==="float"?a.cssFloat="":a[i]="":c?a.setProperty(i,o):typeof o!="number"||o===0||uk.has(i)?i==="float"?a.cssFloat=o:a[i]=(""+o).trim():a[i]=o+"px"}function Wy(a,i,o){if(i!=null&&typeof i!="object")throw Error(r(62));if(a=a.style,o!=null){for(var c in o)!o.hasOwnProperty(c)||i!=null&&i.hasOwnProperty(c)||(c.indexOf("--")===0?a.setProperty(c,""):c==="float"?a.cssFloat="":a[c]="");for(var p in i)c=i[p],i.hasOwnProperty(p)&&o[p]!==c&&Gy(a,p,c)}else for(var b in i)i.hasOwnProperty(b)&&Gy(a,b,i[b])}function xh(a){if(a.indexOf("-")===-1)return!1;switch(a){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 ck=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"]]),dk=/^[\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 Ac(a){return dk.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function Ir(){}var vh=null;function Th(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var to=null,no=null;function Xy(a){var i=Qe(a);if(i&&(a=i.stateNode)){var o=a[Ae]||null;e:switch(a=i.stateNode,i.type){case"input":if(yh(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),i=o.name,o.type==="radio"&&i!=null){for(o=a;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+Wn(""+i)+'"][type="radio"]'),i=0;i<o.length;i++){var c=o[i];if(c!==a&&c.form===a.form){var p=c[Ae]||null;if(!p)throw Error(r(90));yh(c,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(i=0;i<o.length;i++)c=o[i],c.form===a.form&&Ut(c)}break e;case"textarea":Ky(a,o.value,o.defaultValue);break e;case"select":i=o.value,i!=null&&Js(a,!!o.multiple,i,!1)}}}var Eh=!1;function Qy(a,i,o){if(Eh)return a(i,o);Eh=!0;try{var c=a(i);return c}finally{if(Eh=!1,(to!==null||no!==null)&&(fd(),to&&(i=to,a=no,no=to=null,Xy(i),a)))for(i=0;i<a.length;i++)Xy(a[i])}}function Al(a,i){var o=a.stateNode;if(o===null)return null;var c=o[Ae]||null;if(c===null)return null;o=c[i];e:switch(i){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)||(a=a.type,c=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!c;break e;default:a=!1}if(a)return null;if(o&&typeof o!="function")throw Error(r(231,i,typeof o));return o}var Mr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wh=!1;if(Mr)try{var _l={};Object.defineProperty(_l,"passive",{get:function(){wh=!0}}),window.addEventListener("test",_l,_l),window.removeEventListener("test",_l,_l)}catch{wh=!1}var xi=null,Sh=null,_c=null;function $y(){if(_c)return _c;
vendor: 3,037 bytes, line 25
25var a,i=Sh,o=i.length,c,p="value"in xi?xi.value:xi.textContent,b=p.length;for(a=0;a<o&&i[a]===p[a];a++);var E=o-a;for(c=1;c<=E&&i[o-c]===p[b-c];c++);return _c=p.slice(a,1<c?1-c:void 0)}function kc(a){var i=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&i===13&&(a=13)):a=i,a===10&&(a=13),32<=a||a===13?a:0}function Nc(){return!0}function Zy(){return!1}function Xn(a){function i(o,c,p,b,E){this._reactName=o,this._targetInst=p,this.type=c,this.nativeEvent=b,this.target=E,this.currentTarget=null;for(var S in a)a.hasOwnProperty(S)&&(o=a[S],this[S]=o?o(b):b[S]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?Nc:Zy,this.isPropagationStopped=Zy,this}return y(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Nc)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Nc)},persist:function(){},isPersistent:Nc}),i}var gs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cc=Xn(gs),kl=y({},gs,{view:0,detail:0}),fk=Xn(kl),Ah,_h,Nl,Rc=y({},kl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nh,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Nl&&(Nl&&a.type==="mousemove"?(Ah=a.screenX-Nl.screenX,_h=a.screenY-Nl.screenY):_h=Ah=0,Nl=a),Ah)},movementY:function(a){return"movementY"in a?a.movementY:_h}}),Jy=Xn(Rc),hk=y({},Rc,{dataTransfer:0}),mk=Xn(hk),pk=y({},kl,{relatedTarget:0}),kh=Xn(pk),gk=y({},gs,{animationName:0,elapsedTime:0,pseudoElement:0}),yk=Xn(gk),bk=y({},gs,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),xk=Xn(bk),vk=y({},gs,{data:0}),eb=Xn(vk),Tk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ek={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"},wk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sk(a){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(a):(a=wk[a])?!!i[a]:!1}function Nh(){return Sk}var Ak=y({},kl,{key:function(a){if(a.key){var i=Tk[a.key]||a.key;if(i!=="Unidentified")return i}
vendor: 4,492 bytes, line 25
25return a.type==="keypress"?(a=kc(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?Ek[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nh,charCode:function(a){return a.type==="keypress"?kc(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?kc(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),_k=Xn(Ak),kk=y({},Rc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tb=Xn(kk),Nk=y({},kl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nh}),Ck=Xn(Nk),Rk=y({},gs,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dk=Xn(Rk),Ok=y({},Rc,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Lk=Xn(Ok),Ik=y({},gs,{newState:0,oldState:0}),Mk=Xn(Ik),Pk=[9,13,27,32],Ch=Mr&&"CompositionEvent"in window,Cl=null;Mr&&"documentMode"in document&&(Cl=document.documentMode);var Bk=Mr&&"TextEvent"in window&&!Cl,nb=Mr&&(!Ch||Cl&&8<Cl&&11>=Cl),ab=" ",rb=!1;function ib(a,i){switch(a){case"keyup":return Pk.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sb(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var ao=!1;function jk(a,i){switch(a){case"compositionend":return sb(i);case"keypress":return i.which!==32?null:(rb=!0,ab);case"textInput":return a=i.data,a===ab&&rb?null:a;default:return null}}function Uk(a,i){if(ao)return a==="compositionend"||!Ch&&ib(a,i)?(a=$y(),_c=Sh=xi=null,ao=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return nb&&i.locale!=="ko"?null:i.data;default:return null}}var Hk={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 ob(a){var i=a&&a.nodeName&&a.nodeName.toLowerCase();return i==="input"?!!Hk[a.type]:i==="textarea"}function lb(a,i,o,c){to?no?no.push(c):no=[c]:to=c,i=xd(i,"onChange"),0<i.length&&(o=new Cc("onChange","change",null,o,c),a.push({event:o,listeners:i}))}var Rl=null,Dl=null;function Fk(a){Yx(a,0)}function Dc(a){var i=Un(a);if(Ut(i))return a}function ub(a,i){if(a==="change")return i}var cb=!1;if(Mr){var Rh;if(Mr){var Dh="oninput"in document;if(!Dh){var db=document.createElement("div");db.setAttribute("oninput","return;"),Dh=typeof db.oninput=="function"}Rh=Dh}else Rh=!1;cb=Rh&&(!document.documentMode||9<document.documentMode)}function fb(){Rl&&(Rl.detachEvent("onpropertychange",hb),Dl=Rl=null)}function hb(a){if(a.propertyName==="value"&&Dc(Dl)){var i=[];lb(i,Dl,a,Th(a)),Qy(Fk,i)}}function zk(a,i,o){a==="focusin"?(fb(),Rl=i,Dl=o,Rl.attachEvent("onpropertychange",hb)):a==="focusout"&&fb()}function Vk(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Dc(Dl)}function Yk(a,i){if(a==="click")return Dc(i)}function Kk(a,i){if(a==="input"||a==="change")return Dc(i)}function qk(a,i){return a===i&&(a!==0||1/a===1/i)||a!==a&&i!==i}var sa=typeof Object.is=="function"?Object.is:qk;function Ol(a,i){if(sa(a,i))return!0;if(typeof a!="object"||a===null||typeof i!="object"||i===null)return!1;var o=Object.keys(a),c=Object.keys(i);if(o.length!==c.length)return!1;for(c=0;c<o.length;c++){var p=o[c];if(!mi.call(i,p)||!sa(a[p],i[p]))return!1}return!0}function mb(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function pb(a,i){var o=mb(a);a=0;for(var c;o;){if(o.nodeType===3){if(c=a+o.textContent.length,a<=i&&c>=i)return{node:o,offset:i-a};a=c}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=mb(o)}}function gb(a,i){return a&&i?a===i?!0:a&&a.nodeType===3?!1:i&&i.nodeType===3?gb(a,i.parentNode):"contains"in a?a.contains(i):a.compareDocumentPosition?!!(a.compareDocumentPosition(i)&16):!1:!1}function yb(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var i=wa(a.document);i instanceof a.HTMLIFrameElement;){try{var o=typeof i.contentWindow.location.href=="string"}catch{o=!1}
vendor: 20,943 bytes, line 25
25if(o)a=i.contentWindow;else break;i=wa(a.document)}return i}function Oh(a){var i=a&&a.nodeName&&a.nodeName.toLowerCase();return i&&(i==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||i==="textarea"||a.contentEditable==="true")}var Gk=Mr&&"documentMode"in document&&11>=document.documentMode,ro=null,Lh=null,Ll=null,Ih=!1;function bb(a,i,o){var c=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Ih||ro==null||ro!==wa(c)||(c=ro,"selectionStart"in c&&Oh(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Ll&&Ol(Ll,c)||(Ll=c,c=xd(Lh,"onSelect"),0<c.length&&(i=new Cc("onSelect","select",null,i,o),a.push({event:i,listeners:c}),i.target=ro)))}function ys(a,i){var o={};return o[a.toLowerCase()]=i.toLowerCase(),o["Webkit"+a]="webkit"+i,o["Moz"+a]="moz"+i,o}var io={animationend:ys("Animation","AnimationEnd"),animationiteration:ys("Animation","AnimationIteration"),animationstart:ys("Animation","AnimationStart"),transitionrun:ys("Transition","TransitionRun"),transitionstart:ys("Transition","TransitionStart"),transitioncancel:ys("Transition","TransitionCancel"),transitionend:ys("Transition","TransitionEnd")},Mh={},xb={};Mr&&(xb=document.createElement("div").style,"AnimationEvent"in window||(delete io.animationend.animation,delete io.animationiteration.animation,delete io.animationstart.animation),"TransitionEvent"in window||delete io.transitionend.transition);function bs(a){if(Mh[a])return Mh[a];if(!io[a])return a;var i=io[a],o;for(o in i)if(i.hasOwnProperty(o)&&o in xb)return Mh[a]=i[o];return a}var vb=bs("animationend"),Tb=bs("animationiteration"),Eb=bs("animationstart"),Wk=bs("transitionrun"),Xk=bs("transitionstart"),Qk=bs("transitioncancel"),wb=bs("transitionend"),Sb=new Map,Ph="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(" ");Ph.push("scrollEnd");function Wa(a,i){Sb.set(a,i),Ta(i,[a])}var Oc=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},Sa=[],so=0,Bh=0;function Lc(){for(var a=so,i=Bh=so=0;i<a;){var o=Sa[i];Sa[i++]=null;var c=Sa[i];Sa[i++]=null;var p=Sa[i];Sa[i++]=null;var b=Sa[i];if(Sa[i++]=null,c!==null&&p!==null){var E=c.pending;E===null?p.next=p:(p.next=E.next,E.next=p),c.pending=p}b!==0&&Ab(o,p,b)}}function Ic(a,i,o,c){Sa[so++]=a,Sa[so++]=i,Sa[so++]=o,Sa[so++]=c,Bh|=c,a.lanes|=c,a=a.alternate,a!==null&&(a.lanes|=c)}function jh(a,i,o,c){return Ic(a,i,o,c),Mc(a)}function xs(a,i){return Ic(a,null,null,i),Mc(a)}function Ab(a,i,o){a.lanes|=o;var c=a.alternate;c!==null&&(c.lanes|=o);for(var p=!1,b=a.return;b!==null;)b.childLanes|=o,c=b.alternate,c!==null&&(c.childLanes|=o),b.tag===22&&(a=b.stateNode,a===null||a._visibility&1||(p=!0)),a=b,b=b.return;return a.tag===3?(b=a.stateNode,p&&i!==null&&(p=31-wt(o),a=b.hiddenUpdates,c=a[p],c===null?a[p]=[i]:c.push(i),i.lane=o|536870912),b):null}function Mc(a){if(50<tu)throw tu=0,Gm=null,Error(r(185));for(var i=a.return;i!==null;)a=i,i=a.return;return a.tag===3?a.stateNode:null}var oo={};function $k(a,i,o,c){this.tag=a,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,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 oa(a,i,o,c){return new $k(a,i,o,c)}function Uh(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Pr(a,i){var o=a.alternate;return o===null?(o=oa(a.tag,i,a.key,a.mode),o.elementType=a.elementType,o.type=a.type,o.stateNode=a.stateNode,o.alternate=a,a.alternate=o):(o.pendingProps=i,o.type=a.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=a.flags&65011712,o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,i=a.dependencies,o.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},o.sibling=a.sibling,o.index=a.index,o.ref=a.ref,o.refCleanup=a.refCleanup,o}function _b(a,i){a.flags&=65011714;var o=a.alternate;return o===null?(a.childLanes=0,a.lanes=i,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,i=o.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),a}function Pc(a,i,o,c,p,b){var E=0;if(c=a,typeof a=="function")Uh(a)&&(E=1);else if(typeof a=="string")E=nC(a,o,Xe.current)?26:a==="html"||a==="head"||a==="body"?27:5;else e:switch(a){case ge:return a=oa(31,o,i,p),a.elementType=ge,a.lanes=b,a;case A:return vs(o.children,p,b,i);case _:E=8,p|=24;break;case N:return a=oa(12,o,i,p|2),a.elementType=N,a.lanes=b,a;case Z:return a=oa(13,o,i,p),a.elementType=Z,a.lanes=b,a;case V:return a=oa(19,o,i,p),a.elementType=V,a.lanes=b,a;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case I:E=10;break e;case P:E=9;break e;case Q:E=11;break e;case ue:E=14;break e;case U:E=16,c=null;break e}E=29,o=Error(r(130,a===null?"null":typeof a,"")),c=null}return i=oa(E,o,i,p),i.elementType=a,i.type=c,i.lanes=b,i}function vs(a,i,o,c){return a=oa(7,a,c,i),a.lanes=o,a}function Hh(a,i,o){return a=oa(6,a,null,i),a.lanes=o,a}function kb(a){var i=oa(18,null,null,0);return i.stateNode=a,i}function Fh(a,i,o){return i=oa(4,a.children!==null?a.children:[],a.key,i),i.lanes=o,i.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},i}var Nb=new WeakMap;function Aa(a,i){if(typeof a=="object"&&a!==null){var o=Nb.get(a);return o!==void 0?o:(i={value:a,source:i,stack:Qs(i)},Nb.set(a,i),i)}return{value:a,source:i,stack:Qs(i)}}var lo=[],uo=0,Bc=null,Il=0,_a=[],ka=0,vi=null,or=1,lr="";function Br(a,i){lo[uo++]=Il,lo[uo++]=Bc,Bc=a,Il=i}function Cb(a,i,o){_a[ka++]=or,_a[ka++]=lr,_a[ka++]=vi,vi=a;var c=or;a=lr;var p=32-wt(c)-1;c&=~(1<<p),o+=1;var b=32-wt(i)+p;if(30<b){var E=p-p%5;b=(c&(1<<E)-1).toString(32),c>>=E,p-=E,or=1<<32-wt(i)+p|o<<p|c,lr=b+a}else or=1<<b|o<<p|c,lr=a}function zh(a){a.return!==null&&(Br(a,1),Cb(a,1,0))}function Vh(a){for(;a===Bc;)Bc=lo[--uo],lo[uo]=null,Il=lo[--uo],lo[uo]=null;for(;a===vi;)vi=_a[--ka],_a[ka]=null,lr=_a[--ka],_a[ka]=null,or=_a[--ka],_a[ka]=null}function Rb(a,i){_a[ka++]=or,_a[ka++]=lr,_a[ka++]=vi,or=i.id,lr=i.overflow,vi=a}var Sn=null,Ht=null,dt=!1,Ti=null,Na=!1,Yh=Error(r(519));function Ei(a){var i=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ml(Aa(i,a)),Yh}function Db(a){var i=a.stateNode,o=a.type,c=a.memoizedProps;switch(i[Se]=a,i[Ae]=c,o){case"dialog":ot("cancel",i),ot("close",i);break;case"iframe":case"object":case"embed":ot("load",i);break;case"video":case"audio":for(o=0;o<au.length;o++)ot(au[o],i);break;case"source":ot("error",i);break;case"img":case"image":case"link":ot("error",i),ot("load",i);break;case"details":ot("toggle",i);break;case"input":ot("invalid",i),Yy(i,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":ot("invalid",i);break;case"textarea":ot("invalid",i),qy(i,c.value,c.defaultValue,c.children)}o=c.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||i.textContent===""+o||c.suppressHydrationWarning===!0||Wx(i.textContent,o)?(c.popover!=null&&(ot("beforetoggle",i),ot("toggle",i)),c.onScroll!=null&&ot("scroll",i),c.onScrollEnd!=null&&ot("scrollend",i),c.onClick!=null&&(i.onclick=Ir),i=!0):i=!1,i||Ei(a,!0)}function Ob(a){for(Sn=a.return;Sn;)switch(Sn.tag){case 5:case 31:case 13:Na=!1;return;case 27:case 3:Na=!0;return;default:Sn=Sn.return}}function co(a){if(a!==Sn)return!1;if(!dt)return Ob(a),dt=!0,!1;var i=a.tag,o;if((o=i!==3&&i!==27)&&((o=i===5)&&(o=a.type,o=!(o!=="form"&&o!=="button")||lp(a.type,a.memoizedProps)),o=!o),o&&Ht&&Ei(a),Ob(a),i===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));Ht=av(a)}else if(i===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));Ht=av(a)}else i===27?(i=Ht,Pi(a.type)?(a=hp,hp=null,Ht=a):Ht=i):Ht=Sn?Ra(a.stateNode.nextSibling):null;return!0}function Ts(){Ht=Sn=null,dt=!1}function Kh(){var a=Ti;return a!==null&&(Jn===null?Jn=a:Jn.push.apply(Jn,a),Ti=null),a}function Ml(a){Ti===null?Ti=[a]:Ti.push(a)}var qh=Re(null),Es=null,jr=null;function wi(a,i,o){O(qh,i._currentValue),i._currentValue=o}function Ur(a){a._currentValue=qh.current,He(qh)}function Gh(a,i,o){for(;a!==null;){var c=a.alternate;if((a.childLanes&i)!==i?(a.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),a===o)break;a=a.return}}function Wh(a,i,o,c){var p=a.child;for(p!==null&&(p.return=a);p!==null;){var b=p.dependencies;if(b!==null){var E=p.child;b=b.firstContext;e:for(;b!==null;){var S=b;b=p;for(var M=0;M<i.length;M++)if(S.context===i[M]){b.lanes|=o,S=b.alternate,S!==null&&(S.lanes|=o),Gh(b.return,o,a),c||(E=null);break e}b=S.next}}else if(p.tag===18){if(E=p.return,E===null)throw Error(r(341));E.lanes|=o,b=E.alternate,b!==null&&(b.lanes|=o),Gh(E,o,a),E=null}else E=p.child;if(E!==null)E.return=p;else for(E=p;E!==null;){if(E===a){E=null;break}if(p=E.sibling,p!==null){p.return=E.return,E=p;break}E=E.return}p=E}}function fo(a,i,o,c){a=null;for(var p=i,b=!1;p!==null;){if(!b){if((p.flags&524288)!==0)b=!0;else if((p.flags&262144)!==0)break}if(p.tag===10){var E=p.alternate;if(E===null)throw Error(r(387));if(E=E.memoizedProps,E!==null){var S=p.type;sa(p.pendingProps.value,E.value)||(a!==null?a.push(S):a=[S])}}else if(p===$t.current){if(E=p.alternate,E===null)throw Error(r(387));E.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(a!==null?a.push(lu):a=[lu])}p=p.return}a!==null&&Wh(i,a,o,c),i.flags|=262144}function jc(a){for(a=a.firstContext;a!==null;){if(!sa(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function ws(a){Es=a,jr=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function An(a){return Lb(Es,a)}function Uc(a,i){return Es===null&&ws(a),Lb(a,i)}function Lb(a,i){var o=i._currentValue;if(i={context:i,memoizedValue:o,next:null},jr===null){if(a===null)throw Error(r(308));jr=i,a.dependencies={lanes:0,firstContext:i},a.flags|=524288}else jr=jr.next=i;return o}var Zk=typeof AbortController<"u"?AbortController:function(){var a=[],i=this.signal={aborted:!1,addEventListener:function(o,c){a.push(c)}};this.abort=function(){i.aborted=!0,a.forEach(function(o){return o()})}},Jk=e.unstable_scheduleCallback,eN=e.unstable_NormalPriority,rn={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xh(){return{controller:new Zk,data:new Map,refCount:0}}function Pl(a){a.refCount--,a.refCount===0&&Jk(eN,function(){a.controller.abort()})}var Bl=null,Qh=0,ho=0,mo=null;function tN(a,i){if(Bl===null){var o=Bl=[];Qh=0,ho=Jm(),mo={status:"pending",value:void 0,then:function(c){o.push(c)}}}return Qh++,i.then(Ib,Ib),i}function Ib(){if(--Qh===0&&Bl!==null){mo!==null&&(mo.status="fulfilled");var a=Bl;Bl=null,ho=0,mo=null;for(var i=0;i<a.length;i++)(0,a[i])()}}function nN(a,i){var o=[],c={status:"pending",value:null,reason:null,then:function(p){o.push(p)}};return a.then(function(){c.status="fulfilled",c.value=i;for(var p=0;p<o.length;p++)(0,o[p])(i)},function(p){for(c.status="rejected",c.reason=p,p=0;p<o.length;p++)(0,o[p])(void 0)}),c}var Mb=Y.S;Y.S=function(a,i){bx=wn(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&tN(a,i),Mb!==null&&Mb(a,i)};var Ss=Re(null);function $h(){var a=Ss.current;return a!==null?a:Ot.pooledCache}function Hc(a,i){i===null?O(Ss,Ss.current):O(Ss,i.pool)}function Pb(){var a=$h();return a===null?null:{parent:rn._currentValue,pool:a}}var po=Error(r(460)),Zh=Error(r(474)),Fc=Error(r(542)),zc={then:function(){}};function Bb(a){return a=a.status,a==="fulfilled"||a==="rejected"}function jb(a,i,o){switch(o=a[o],o===void 0?a.push(i):o!==i&&(i.then(Ir,Ir),i=o),i.status){case"fulfilled":return i.value;case"rejected":throw a=i.reason,Hb(a),a;default:if(typeof i.status=="string")i.then(Ir,Ir);else{if(a=Ot,a!==null&&100<a.shellSuspendCounter)throw Error(r(482));a=i,a.status="pending",a.then(function(c){if(i.status==="pending"){var p=i;p.status="fulfilled",p.value=c}},function(c){if(i.status==="pending"){var p=i;p.status="rejected",p.reason=c}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw a=i.reason,Hb(a),a}throw _s=i,po}}function As(a){try{var i=a._init;return i(a._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(_s=o,po):o}}var _s=null;function Ub(){if(_s===null)throw Error(r(459));var a=_s;return _s=null,a}function Hb(a){if(a===po||a===Fc)throw Error(r(483))}var go=null,jl=0;function Vc(a){var i=jl;return jl+=1,go===null&&(go=[]),jb(go,a,i)}function Ul(a,i){i=i.props.ref,a.ref=i!==void 0?i:null}function Yc(a,i){throw i.$$typeof===v?Error(r(525)):(a=Object.prototype.toString.call(i),Error(r(31,a==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":a)))}function Fb(a){function i(z,H){if(a){var G=z.deletions;G===null?(z.deletions=[H],z.flags|=16):G.push(H)}}function o(z,H){if(!a)return null;for(;H!==null;)i(z,H),H=H.sibling;return null}function c(z){for(var H=new Map;z!==null;)z.key!==null?H.set(z.key,z):H.set(z.index,z),z=z.sibling;return H}function p(z,H){return z=Pr(z,H),z.index=0,z.sibling=null,z}function b(z,H,G){return z.index=G,a?(G=z.alternate,G!==null?(G=G.index,G<H?(z.flags|=67108866,H):G):(z.flags|=67108866,H)):(z.flags|=1048576,H)}function E(z){return a&&z.alternate===null&&(z.flags|=67108866),z}function S(z,H,G,ie){return H===null||H.tag!==6?(H=Hh(G,z.mode,ie),H.return=z,H):(H=p(H,G),H.return=z,H)}function M(z,H,G,ie){var Pe=G.type;return Pe===A?ae(z,H,G.props.children,ie,G.key):H!==null&&(H.elementType===Pe||typeof Pe=="object"&&Pe!==null&&Pe.$$typeof===U&&As(Pe)===H.type)?(H=p(H,G.props),Ul(H,G),H.return=z,H):(H=Pc(G.type,G.key,G.props,null,z.mode,ie),Ul(H,G),H.return=z,H)}function W(z,H,G,ie){return H===null||H.tag!==4||H.stateNode.containerInfo!==G.containerInfo||H.stateNode.implementation!==G.implementation?(H=Fh(G,z.mode,ie),H.return=z,H):(H=p(H,G.children||[]),H.return=z,H)}function ae(z,H,G,ie,Pe){return H===null||H.tag!==7?(H=vs(G,z.mode,ie,Pe),H.return=z,H):(H=p(H,G),H.return=z,H)}function se(z,H,G){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Hh(""+H,z.mode,G),H.return=z,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case T:return G=Pc(H.type,H.key,H.props,null,z.mode,G),Ul(G,H),G.return=z,G;case w:return H=Fh(H,z.mode,G),H.return=z,H;case U:return H=As(H),se(z,H,G)}if(de(H)||ee(H))return H=vs(H,z.mode,G,null),H.return=z,H;if(typeof H.then=="function")return se(z,Vc(H),G);if(H.$$typeof===I)return se(z,Uc(z,H),G);Yc(z,H)}return null}function X(z,H,G,ie){var Pe=H!==null?H.key:null;if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return Pe!==null?null:S(z,H,""+G,ie);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case T:return G.key===Pe?M(z,H,G,ie):null;case w:return G.key===Pe?W(z,H,G,ie):null;case U:return G=As(G),X(z,H,G,ie)}if(de(G)||ee(G))return Pe!==null?null:ae(z,H,G,ie,null);if(typeof G.then=="function")return X(z,H,Vc(G),ie);if(G.$$typeof===I)return X(z,H,Uc(z,G),ie);Yc(z,G)}return null}function J(z,H,G,ie,Pe){if(typeof ie=="string"&&ie!==""||typeof ie=="number"||typeof ie=="bigint")return z=z.get(G)||null,S(H,z,""+ie,Pe);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case T:return z=z.get(ie.key===null?G:ie.key)||null,M(H,z,ie,Pe);case w:return z=z.get(ie.key===null?G:ie.key)||null,W(H,z,ie,Pe);case U:return ie=As(ie),J(z,H,G,ie,Pe)}if(de(ie)||ee(ie))return z=z.get(G)||null,ae(H,z,ie,Pe,null);if(typeof ie.then=="function")return J(z,H,G,Vc(ie),Pe);if(ie.$$typeof===I)return J(z,H,G,Uc(H,ie),Pe);Yc(H,ie)}return null}function Ce(z,H,G,ie){for(var Pe=null,pt=null,Le=H,Ze=H=0,ct=null;Le!==null&&Ze<G.length;Ze++){Le.index>Ze?(ct=Le,Le=null):ct=Le.sibling;var gt=X(z,Le,G[Ze],ie);if(gt===null){Le===null&&(Le=ct);break}a&&Le&&gt.alternate===null&&i(z,Le),H=b(gt,H,Ze),pt===null?Pe=gt:pt.sibling=gt,pt=gt,Le=ct}if(Ze===G.length)return o(z,Le),dt&&Br(z,Ze),Pe;if(Le===null){for(;Ze<G.length;Ze++)Le=se(z,G[Ze],ie),Le!==null&&(H=b(Le,H,Ze),pt===null?Pe=Le:pt.sibling=Le,pt=Le);return dt&&Br(z,Ze),Pe}for(Le=c(Le);Ze<G.length;Ze++)ct=J(Le,z,Ze,G[Ze],ie),ct!==null&&(a&&ct.alternate!==null&&Le.delete(ct.key===null?Ze:ct.key),H=b(ct,H,Ze),pt===null?Pe=ct:pt.sibling=ct,pt=ct);return a&&Le.forEach(function(Fi){return i(z,Fi)}),dt&&Br(z,Ze),Pe}function Fe(z,H,G,ie){if(G==null)throw Error(r(151));for(var Pe=null,pt=null,Le=H,Ze=H=0,ct=null,gt=G.next();Le!==null&&!gt.done;Ze++,gt=G.next()){Le.index>Ze?(ct=Le,Le=null):ct=Le.sibling;var Fi=X(z,Le,gt.value,ie);if(Fi===null){Le===null&&(Le=ct);break}a&&Le&&Fi.alternate===null&&i(z,Le),H=b(Fi,H,Ze),pt===null?Pe=Fi:pt.sibling=Fi,pt=Fi,Le=ct}if(gt.done)return o(z,Le),dt&&Br(z,Ze),Pe;if(Le===null){for(;!gt.done;Ze++,gt=G.next())gt=se(z,gt.value,ie),gt!==null&&(H=b(gt,H,Ze),pt===null?Pe=gt:pt.sibling=gt,pt=gt);return dt&&Br(z,Ze),Pe}for(Le=c(Le);!gt.done;Ze++,gt=G.next())gt=J(Le,z,Ze,gt.value,ie),gt!==null&&(a&&gt.alternate!==null&&Le.delete(gt.key===null?Ze:gt.key),H=b(gt,H,Ze),pt===null?Pe=gt:pt.sibling=gt,pt=gt);return a&&Le.forEach(function(hC){return i(z,hC)}),dt&&Br(z,Ze),Pe}function Dt(z,H,G,ie){if(typeof G=="object"&&G!==null&&G.type===A&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case T:e:{for(var Pe=G.key;H!==null;){if(H.key===Pe){if(Pe=G.type,Pe===A){if(H.tag===7){o(z,H.sibling),ie=p(H,G.props.children),ie.return=z,z=ie;break e}}else if(H.elementType===Pe||typeof Pe=="object"&&Pe!==null&&Pe.$$typeof===U&&As(Pe)===H.type){o(z,H.sibling),ie=p(H,G.props),Ul(ie,G),ie.return=z,z=ie;break e}o(z,H);break}else i(z,H);H=H.sibling}G.type===A?(ie=vs(G.props.children,z.mode,ie,G.key),ie.return=z,z=ie):(ie=Pc(G.type,G.key,G.props,null,z.mode,ie),Ul(ie,G),ie.return=z,z=ie)}return E(z);case w:e:{for(Pe=G.key;H!==null;){if(H.key===Pe)if(H.tag===4&&H.stateNode.containerInfo===G.containerInfo&&H.stateNode.implementation===G.implementation){o(z,H.sibling),ie=p(H,G.children||[]),ie.return=z,z=ie;break e}else{o(z,H);break}else i(z,H);H=H.sibling}ie=Fh(G,z.mode,ie),ie.return=z,z=ie}return E(z);case U:return G=As(G),Dt(z,H,G,ie)}if(de(G))return Ce(z,H,G,ie);if(ee(G)){if(Pe=ee(G),typeof Pe!="function")throw Error(r(150));return G=Pe.call(G),Fe(z,H,G,ie)}if(typeof G.then=="function")return Dt(z,H,Vc(G),ie);if(G.$$typeof===I)return Dt(z,H,Uc(z,G),ie);Yc(z,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,H!==null&&H.tag===6?(o(z,H.sibling),ie=p(H,G),ie.return=z,z=ie):(o(z,H),ie=Hh(G,z.mode,ie),ie.return=z,z=ie),E(z)):o(z,H)}return function(z,H,G,ie){try{jl=0;var Pe=Dt(z,H,G,ie);return go=null,Pe}catch(Le){if(Le===po||Le===Fc)throw Le;var pt=oa(29,Le,null,z.mode);return pt.lanes=ie,pt.return=z,pt}finally{}}}var ks=Fb(!0),zb=Fb(!1),Si=!1;function Jh(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function em(a,i){a=a.updateQueue,i.updateQueue===a&&(i.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Ai(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function _i(a,i,o){var c=a.updateQueue;if(c===null)return null;if(c=c.shared,(Tt&2)!==0){var p=c.pending;return p===null?i.next=i:(i.next=p.next,p.next=i),c.pending=i,i=Mc(a),Ab(a,null,o),i}return Ic(a,c,i,o),Mc(a)}function Hl(a,i,o){if(i=i.updateQueue,i!==null&&(i=i.shared,(o&4194048)!==0)){var c=i.lanes;
vendor: 4,088 bytes, line 25
25c&=a.pendingLanes,o|=c,i.lanes=o,wc(a,o)}}function tm(a,i){var o=a.updateQueue,c=a.alternate;if(c!==null&&(c=c.updateQueue,o===c)){var p=null,b=null;if(o=o.firstBaseUpdate,o!==null){do{var E={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};b===null?p=b=E:b=b.next=E,o=o.next}while(o!==null);b===null?p=b=i:b=b.next=i}else p=b=i;o={baseState:c.baseState,firstBaseUpdate:p,lastBaseUpdate:b,shared:c.shared,callbacks:c.callbacks},a.updateQueue=o;return}a=o.lastBaseUpdate,a===null?o.firstBaseUpdate=i:a.next=i,o.lastBaseUpdate=i}var nm=!1;function Fl(){if(nm){var a=mo;if(a!==null)throw a}}function zl(a,i,o,c){nm=!1;var p=a.updateQueue;Si=!1;var b=p.firstBaseUpdate,E=p.lastBaseUpdate,S=p.shared.pending;if(S!==null){p.shared.pending=null;var M=S,W=M.next;M.next=null,E===null?b=W:E.next=W,E=M;var ae=a.alternate;ae!==null&&(ae=ae.updateQueue,S=ae.lastBaseUpdate,S!==E&&(S===null?ae.firstBaseUpdate=W:S.next=W,ae.lastBaseUpdate=M))}if(b!==null){var se=p.baseState;E=0,ae=W=M=null,S=b;do{var X=S.lane&-536870913,J=X!==S.lane;if(J?(ut&X)===X:(c&X)===X){X!==0&&X===ho&&(nm=!0),ae!==null&&(ae=ae.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var Ce=a,Fe=S;X=i;var Dt=o;switch(Fe.tag){case 1:if(Ce=Fe.payload,typeof Ce=="function"){se=Ce.call(Dt,se,X);break e}se=Ce;break e;case 3:Ce.flags=Ce.flags&-65537|128;case 0:if(Ce=Fe.payload,X=typeof Ce=="function"?Ce.call(Dt,se,X):Ce,X==null)break e;se=y({},se,X);break e;case 2:Si=!0}}X=S.callback,X!==null&&(a.flags|=64,J&&(a.flags|=8192),J=p.callbacks,J===null?p.callbacks=[X]:J.push(X))}else J={lane:X,tag:S.tag,payload:S.payload,callback:S.callback,next:null},ae===null?(W=ae=J,M=se):ae=ae.next=J,E|=X;if(S=S.next,S===null){if(S=p.shared.pending,S===null)break;J=S,S=J.next,J.next=null,p.lastBaseUpdate=J,p.shared.pending=null}}while(!0);ae===null&&(M=se),p.baseState=M,p.firstBaseUpdate=W,p.lastBaseUpdate=ae,b===null&&(p.shared.lanes=0),Di|=E,a.lanes=E,a.memoizedState=se}}function Vb(a,i){if(typeof a!="function")throw Error(r(191,a));a.call(i)}function Yb(a,i){var o=a.callbacks;if(o!==null)for(a.callbacks=null,a=0;a<o.length;a++)Vb(o[a],i)}var yo=Re(null),Kc=Re(0);function Kb(a,i){a=Wr,O(Kc,a),O(yo,i),Wr=a|i.baseLanes}function am(){O(Kc,Wr),O(yo,yo.current)}function rm(){Wr=Kc.current,He(yo),He(Kc)}var la=Re(null),Ca=null;function ki(a){var i=a.alternate;O(tn,tn.current&1),O(la,a),Ca===null&&(i===null||yo.current!==null||i.memoizedState!==null)&&(Ca=a)}function im(a){O(tn,tn.current),O(la,a),Ca===null&&(Ca=a)}function qb(a){a.tag===22?(O(tn,tn.current),O(la,a),Ca===null&&(Ca=a)):Ni()}function Ni(){O(tn,tn.current),O(la,la.current)}function ua(a){He(la),Ca===a&&(Ca=null),He(tn)}var tn=Re(0);function qc(a){for(var i=a;i!==null;){if(i.tag===13){var o=i.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||dp(o)||fp(o)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break;for(;i.sibling===null;){if(i.return===null||i.return===a)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Hr=0,$e=null,Ct=null,sn=null,Gc=!1,bo=!1,Ns=!1,Wc=0,Vl=0,xo=null,aN=0;function Wt(){throw Error(r(321))}function sm(a,i){if(i===null)return!1;for(var o=0;o<i.length&&o<a.length;o++)if(!sa(a[o],i[o]))return!1;return!0}function om(a,i,o,c,p,b){return Hr=b,$e=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,Y.H=a===null||a.memoizedState===null?C1:Em,Ns=!1,b=o(c,p),Ns=!1,bo&&(b=Wb(i,o,c,p)),Gb(a),b}function Gb(a){Y.H=ql;var i=Ct!==null&&Ct.next!==null;if(Hr=0,sn=Ct=$e=null,Gc=!1,Vl=0,xo=null,i)throw Error(r(300));a===null||on||(a=a.dependencies,a!==null&&jc(a)&&(on=!0))}function Wb(a,i,o,c){$e=a;var p=0;do{if(bo&&(xo=null),Vl=0,bo=!1,25<=p)throw Error(r(301));if(p+=1,sn=Ct=null,a.updateQueue!=null){var b=a.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}
vendor: 16,775 bytes, line 25
25Y.H=R1,b=i(o,c)}while(bo);return b}function rN(){var a=Y.H,i=a.useState()[0];return i=typeof i.then=="function"?Yl(i):i,a=a.useState()[0],(Ct!==null?Ct.memoizedState:null)!==a&&($e.flags|=1024),i}function lm(){var a=Wc!==0;return Wc=0,a}function um(a,i,o){i.updateQueue=a.updateQueue,i.flags&=-2053,a.lanes&=~o}function cm(a){if(Gc){for(a=a.memoizedState;a!==null;){var i=a.queue;i!==null&&(i.pending=null),a=a.next}Gc=!1}Hr=0,sn=Ct=$e=null,bo=!1,Vl=Wc=0,xo=null}function Hn(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return sn===null?$e.memoizedState=sn=a:sn=sn.next=a,sn}function nn(){if(Ct===null){var a=$e.alternate;a=a!==null?a.memoizedState:null}else a=Ct.next;var i=sn===null?$e.memoizedState:sn.next;if(i!==null)sn=i,Ct=a;else{if(a===null)throw $e.alternate===null?Error(r(467)):Error(r(310));Ct=a,a={memoizedState:Ct.memoizedState,baseState:Ct.baseState,baseQueue:Ct.baseQueue,queue:Ct.queue,next:null},sn===null?$e.memoizedState=sn=a:sn=sn.next=a}return sn}function Xc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yl(a){var i=Vl;return Vl+=1,xo===null&&(xo=[]),a=jb(xo,a,i),i=$e,(sn===null?i.memoizedState:sn.next)===null&&(i=i.alternate,Y.H=i===null||i.memoizedState===null?C1:Em),a}function Qc(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return Yl(a);if(a.$$typeof===I)return An(a)}throw Error(r(438,String(a)))}function dm(a){var i=null,o=$e.updateQueue;if(o!==null&&(i=o.memoCache),i==null){var c=$e.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(i={data:c.data.map(function(p){return p.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),o===null&&(o=Xc(),$e.updateQueue=o),o.memoCache=i,o=i.data[i.index],o===void 0)for(o=i.data[i.index]=Array(a),c=0;c<a;c++)o[c]=j;return i.index++,o}function Fr(a,i){return typeof i=="function"?i(a):i}function $c(a){var i=nn();return fm(i,Ct,a)}function fm(a,i,o){var c=a.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=o;var p=a.baseQueue,b=c.pending;if(b!==null){if(p!==null){var E=p.next;p.next=b.next,b.next=E}i.baseQueue=p=b,c.pending=null}if(b=a.baseState,p===null)a.memoizedState=b;else{i=p.next;var S=E=null,M=null,W=i,ae=!1;do{var se=W.lane&-536870913;if(se!==W.lane?(ut&se)===se:(Hr&se)===se){var X=W.revertLane;if(X===0)M!==null&&(M=M.next={lane:0,revertLane:0,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),se===ho&&(ae=!0);else if((Hr&X)===X){W=W.next,X===ho&&(ae=!0);continue}else se={lane:0,revertLane:W.revertLane,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},M===null?(S=M=se,E=b):M=M.next=se,$e.lanes|=X,Di|=X;se=W.action,Ns&&o(b,se),b=W.hasEagerState?W.eagerState:o(b,se)}else X={lane:se,revertLane:W.revertLane,gesture:W.gesture,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},M===null?(S=M=X,E=b):M=M.next=X,$e.lanes|=se,Di|=se;W=W.next}while(W!==null&&W!==i);if(M===null?E=b:M.next=S,!sa(b,a.memoizedState)&&(on=!0,ae&&(o=mo,o!==null)))throw o;a.memoizedState=b,a.baseState=E,a.baseQueue=M,c.lastRenderedState=b}return p===null&&(c.lanes=0),[a.memoizedState,c.dispatch]}function hm(a){var i=nn(),o=i.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=a;var c=o.dispatch,p=o.pending,b=i.memoizedState;if(p!==null){o.pending=null;var E=p=p.next;do b=a(b,E.action),E=E.next;while(E!==p);sa(b,i.memoizedState)||(on=!0),i.memoizedState=b,i.baseQueue===null&&(i.baseState=b),o.lastRenderedState=b}return[b,c]}function Xb(a,i,o){var c=$e,p=nn(),b=dt;if(b){if(o===void 0)throw Error(r(407));o=o()}else o=i();var E=!sa((Ct||p).memoizedState,o);if(E&&(p.memoizedState=o,on=!0),p=p.queue,gm(Zb.bind(null,c,p,a),[a]),p.getSnapshot!==i||E||sn!==null&&sn.memoizedState.tag&1){if(c.flags|=2048,vo(9,{destroy:void 0},$b.bind(null,c,p,o,i),null),Ot===null)throw Error(r(349));b||(Hr&127)!==0||Qb(c,i,o)}return o}function Qb(a,i,o){a.flags|=16384,a={getSnapshot:i,value:o},i=$e.updateQueue,i===null?(i=Xc(),$e.updateQueue=i,i.stores=[a]):(o=i.stores,o===null?i.stores=[a]:o.push(a))}function $b(a,i,o,c){i.value=o,i.getSnapshot=c,Jb(i)&&e1(a)}function Zb(a,i,o){return o(function(){Jb(i)&&e1(a)})}function Jb(a){var i=a.getSnapshot;a=a.value;try{var o=i();return!sa(a,o)}catch{return!0}}function e1(a){var i=xs(a,2);i!==null&&ea(i,a,2)}function mm(a){var i=Hn();if(typeof a=="function"){var o=a;if(a=o(),Ns){Yt(!0);try{o()}finally{Yt(!1)}}}return i.memoizedState=i.baseState=a,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:a},i}function t1(a,i,o,c){return a.baseState=o,fm(a,Ct,typeof c=="function"?c:Fr)}function iN(a,i,o,c,p){if(ed(a))throw Error(r(485));if(a=i.action,a!==null){var b={payload:p,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(E){b.listeners.push(E)}};Y.T!==null?o(!0):b.isTransition=!1,c(b),o=i.pending,o===null?(b.next=i.pending=b,n1(i,b)):(b.next=o.next,i.pending=o.next=b)}}function n1(a,i){var o=i.action,c=i.payload,p=a.state;if(i.isTransition){var b=Y.T,E={};Y.T=E;try{var S=o(p,c),M=Y.S;M!==null&&M(E,S),a1(a,i,S)}catch(W){pm(a,i,W)}finally{b!==null&&E.types!==null&&(b.types=E.types),Y.T=b}}else try{b=o(p,c),a1(a,i,b)}catch(W){pm(a,i,W)}}function a1(a,i,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(c){r1(a,i,c)},function(c){return pm(a,i,c)}):r1(a,i,o)}function r1(a,i,o){i.status="fulfilled",i.value=o,i1(i),a.state=o,i=a.pending,i!==null&&(o=i.next,o===i?a.pending=null:(o=o.next,i.next=o,n1(a,o)))}function pm(a,i,o){var c=a.pending;if(a.pending=null,c!==null){c=c.next;do i.status="rejected",i.reason=o,i1(i),i=i.next;while(i!==c)}a.action=null}function i1(a){a=a.listeners;for(var i=0;i<a.length;i++)(0,a[i])()}function s1(a,i){return i}function o1(a,i){if(dt){var o=Ot.formState;if(o!==null){e:{var c=$e;if(dt){if(Ht){t:{for(var p=Ht,b=Na;p.nodeType!==8;){if(!b){p=null;break t}if(p=Ra(p.nextSibling),p===null){p=null;break t}}b=p.data,p=b==="F!"||b==="F"?p:null}if(p){Ht=Ra(p.nextSibling),c=p.data==="F!";break e}}Ei(c)}c=!1}c&&(i=o[0])}}return o=Hn(),o.memoizedState=o.baseState=i,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s1,lastRenderedState:i},o.queue=c,o=_1.bind(null,$e,c),c.dispatch=o,c=mm(!1),b=Tm.bind(null,$e,!1,c.queue),c=Hn(),p={state:i,dispatch:null,action:a,pending:null},c.queue=p,o=iN.bind(null,$e,p,b,o),p.dispatch=o,c.memoizedState=a,[i,o,!1]}function l1(a){var i=nn();return u1(i,Ct,a)}function u1(a,i,o){if(i=fm(a,i,s1)[0],a=$c(Fr)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var c=Yl(i)}catch(E){throw E===po?Fc:E}else c=i;i=nn();var p=i.queue,b=p.dispatch;return o!==i.memoizedState&&($e.flags|=2048,vo(9,{destroy:void 0},sN.bind(null,p,o),null)),[c,b,a]}function sN(a,i){a.action=i}function c1(a){var i=nn(),o=Ct;if(o!==null)return u1(i,o,a);nn(),i=i.memoizedState,o=nn();var c=o.queue.dispatch;return o.memoizedState=a,[i,c,!1]}function vo(a,i,o,c){return a={tag:a,create:o,deps:c,inst:i,next:null},i=$e.updateQueue,i===null&&(i=Xc(),$e.updateQueue=i),o=i.lastEffect,o===null?i.lastEffect=a.next=a:(c=o.next,o.next=a,a.next=c,i.lastEffect=a),a}function d1(){return nn().memoizedState}function Zc(a,i,o,c){var p=Hn();$e.flags|=a,p.memoizedState=vo(1|i,{destroy:void 0},o,c===void 0?null:c)}function Jc(a,i,o,c){var p=nn();c=c===void 0?null:c;var b=p.memoizedState.inst;Ct!==null&&c!==null&&sm(c,Ct.memoizedState.deps)?p.memoizedState=vo(i,b,o,c):($e.flags|=a,p.memoizedState=vo(1|i,b,o,c))}function f1(a,i){Zc(8390656,8,a,i)}function gm(a,i){Jc(2048,8,a,i)}function oN(a){$e.flags|=4;var i=$e.updateQueue;if(i===null)i=Xc(),$e.updateQueue=i,i.events=[a];else{var o=i.events;o===null?i.events=[a]:o.push(a)}}function h1(a){var i=nn().memoizedState;return oN({ref:i,nextImpl:a}),function(){if((Tt&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}function m1(a,i){return Jc(4,2,a,i)}function p1(a,i){return Jc(4,4,a,i)}function g1(a,i){if(typeof i=="function"){a=a();var o=i(a);return function(){typeof o=="function"?o():i(null)}}if(i!=null)return a=a(),i.current=a,function(){i.current=null}}function y1(a,i,o){o=o!=null?o.concat([a]):null,Jc(4,4,g1.bind(null,i,a),o)}function ym(){}function b1(a,i){var o=nn();i=i===void 0?null:i;var c=o.memoizedState;return i!==null&&sm(i,c[1])?c[0]:(o.memoizedState=[a,i],a)}function x1(a,i){var o=nn();i=i===void 0?null:i;var c=o.memoizedState;if(i!==null&&sm(i,c[1]))return c[0];if(c=a(),Ns){Yt(!0);try{a()}finally{Yt(!1)}}return o.memoizedState=[c,i],c}function bm(a,i,o){return o===void 0||(Hr&1073741824)!==0&&(ut&261930)===0?a.memoizedState=i:(a.memoizedState=o,a=vx(),$e.lanes|=a,Di|=a,o)}function v1(a,i,o,c){return sa(o,i)?o:yo.current!==null?(a=bm(a,o,c),sa(a,i)||(on=!0),a):(Hr&42)===0||(Hr&1073741824)!==0&&(ut&261930)===0?(on=!0,a.memoizedState=o):(a=vx(),$e.lanes|=a,Di|=a,i)}function T1(a,i,o,c,p){var b=re.p;re.p=b!==0&&8>b?b:8;var E=Y.T,S={};Y.T=S,Tm(a,!1,i,o);try{var M=p(),W=Y.S;if(W!==null&&W(S,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var ae=nN(M,c);Kl(a,i,ae,fa(a))}else Kl(a,i,c,fa(a))}catch(se){Kl(a,i,{then:function(){},status:"rejected",reason:se},fa())}finally{re.p=b,E!==null&&S.types!==null&&(E.types=S.types),Y.T=E}}function lN(){}function xm(a,i,o,c){if(a.tag!==5)throw Error(r(476));var p=E1(a).queue;T1(a,p,i,pe,o===null?lN:function(){return w1(a),o(c)})}function E1(a){var i=a.memoizedState;if(i!==null)return i;i={memoizedState:pe,baseState:pe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:pe},next:null};var o={};return i.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:o},next:null},a.memoizedState=i,a=a.alternate,a!==null&&(a.memoizedState=i),i}function w1(a){var i=E1(a);i.next===null&&(i=a.alternate.memoizedState),Kl(a,i.next.queue,{},fa())}function vm(){return An(lu)}function S1(){return nn().memoizedState}function A1(){return nn().memoizedState}function uN(a){for(var i=a.return;i!==null;){switch(i.tag){case 24:case 3:var o=fa();a=Ai(o);var c=_i(i,a,o);c!==null&&(ea(c,i,o),Hl(c,i,o)),i={cache:Xh()},a.payload=i;return}i=i.return}}function cN(a,i,o){var c=fa();o={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},ed(a)?k1(i,o):(o=jh(a,i,o,c),o!==null&&(ea(o,a,c),N1(o,i,c)))}function _1(a,i,o){var c=fa();Kl(a,i,o,c)}function Kl(a,i,o,c){var p={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(ed(a))k1(i,p);else{var b=a.alternate;if(a.lanes===0&&(b===null||b.lanes===0)&&(b=i.lastRenderedReducer,b!==null))try{var E=i.lastRenderedState,S=b(E,o);if(p.hasEagerState=!0,p.eagerState=S,sa(S,E))return Ic(a,i,p,0),Ot===null&&Lc(),!1}catch{}finally{}if(o=jh(a,i,p,c),o!==null)return ea(o,a,c),N1(o,i,c),!0}return!1}function Tm(a,i,o,c){if(c={lane:2,revertLane:Jm(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},ed(a)){if(i)throw Error(r(479))}else i=jh(a,o,c,2),i!==null&&ea(i,a,2)}function ed(a){var i=a.alternate;return a===$e||i!==null&&i===$e}function k1(a,i){bo=Gc=!0;var o=a.pending;o===null?i.next=i:(i.next=o.next,o.next=i),a.pending=i}function N1(a,i,o){if((o&4194048)!==0){var c=i.lanes;c&=a.pendingLanes,o|=c,i.lanes=o,wc(a,o)}}var ql={readContext:An,use:Qc,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt,useHostTransitionStatus:Wt,useFormState:Wt,useActionState:Wt,useOptimistic:Wt,useMemoCache:Wt,useCacheRefresh:Wt};ql.useEffectEvent=Wt;var C1={readContext:An,use:Qc,useCallback:function(a,i){return Hn().memoizedState=[a,i===void 0?null:i],a},useContext:An,useEffect:f1,useImperativeHandle:function(a,i,o){o=o!=null?o.concat([a]):null,Zc(4194308,4,g1.bind(null,i,a),o)},useLayoutEffect:function(a,i){return Zc(4194308,4,a,i)},useInsertionEffect:function(a,i){Zc(4,2,a,i)},useMemo:function(a,i){var o=Hn();i=i===void 0?null:i;var c=a();if(Ns){Yt(!0);try{a()}finally{Yt(!1)}}return o.memoizedState=[c,i],c},useReducer:function(a,i,o){var c=Hn();if(o!==void 0){var p=o(i);if(Ns){Yt(!0);try{o(i)}finally{Yt(!1)}}}else p=i;return c.memoizedState=c.baseState=p,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:p},c.queue=a,a=a.dispatch=cN.bind(null,$e,a),[c.memoizedState,a]},useRef:function(a){var i=Hn();return a={current:a},i.memoizedState=a},useState:function(a){a=mm(a);var i=a.queue,o=_1.bind(null,$e,i);return i.dispatch=o,[a.memoizedState,o]},useDebugValue:ym,useDeferredValue:function(a,i){var o=Hn();return bm(o,a,i)},useTransition:function(){var a=mm(!1);return a=T1.bind(null,$e,a.queue,!0,!1),Hn().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,i,o){var c=$e,p=Hn();if(dt){if(o===void 0)throw Error(r(407));o=o()}else{if(o=i(),Ot===null)throw Error(r(349));(ut&127)!==0||Qb(c,i,o)}p.memoizedState=o;var b={value:o,getSnapshot:i};return p.queue=b,f1(Zb.bind(null,c,b,a),[a]),c.flags|=2048,vo(9,{destroy:void 0},$b.bind(null,c,b,o,i),null),o},useId:function(){var a=Hn(),i=Ot.identifierPrefix;if(dt){var o=lr,c=or;o=(c&~(1<<32-wt(c)-1)).toString(32)+o,i="_"+i+"R_"+o,o=Wc++,0<o&&(i+="H"+o.toString(32)),i+="_"}else o=aN++,i="_"+i+"r_"+o.toString(32)+"_";return a.memoizedState=i},useHostTransitionStatus:vm,useFormState:o1,useActionState:o1,useOptimistic:function(a){var i=Hn();i.memoizedState=i.baseState=a;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=o,i=Tm.bind(null,$e,!0,o),o.dispatch=i,[a,i]},useMemoCache:dm,useCacheRefresh:function(){return Hn().memoizedState=uN.bind(null,$e)},useEffectEvent:function(a){var i=Hn(),o={impl:a};return i.memoizedState=o,function(){if((Tt&2)!==0)throw Error(r(440));return o.impl.apply(void 0,arguments)}}},Em={readContext:An,use:Qc,useCallback:b1,useContext:An,useEffect:gm,useImperativeHandle:y1,useInsertionEffect:m1,useLayoutEffect:p1,useMemo:x1,useReducer:$c,useRef:d1,useState:function(){return $c(Fr)},useDebugValue:ym,useDeferredValue:function(a,i){var o=nn();return v1(o,Ct.memoizedState,a,i)},useTransition:function(){var a=$c(Fr)[0],i=nn().memoizedState;return[typeof a=="boolean"?a:Yl(a),i]},useSyncExternalStore:Xb,useId:S1,useHostTransitionStatus:vm,useFormState:l1,useActionState:l1,useOptimistic:function(a,i){var o=nn();return t1(o,Ct,a,i)},useMemoCache:dm,useCacheRefresh:A1};Em.useEffectEvent=h1;var R1={readContext:An,use:Qc,useCallback:b1,useContext:An,useEffect:gm,useImperativeHandle:y1,useInsertionEffect:m1,useLayoutEffect:p1,useMemo:x1,useReducer:hm,useRef:d1,useState:function(){return hm(Fr)},useDebugValue:ym,useDeferredValue:function(a,i){var o=nn();return Ct===null?bm(o,a,i):v1(o,Ct.memoizedState,a,i)},useTransition:function(){var a=hm(Fr)[0],i=nn().memoizedState;return[typeof a=="boolean"?a:Yl(a),i]},useSyncExternalStore:Xb,useId:S1,useHostTransitionStatus:vm,useFormState:c1,useActionState:c1,useOptimistic:function(a,i){var o=nn();return Ct!==null?t1(o,Ct,a,i):(o.baseState=a,[a,o.queue.dispatch])},useMemoCache:dm,useCacheRefresh:A1};R1.useEffectEvent=h1;function wm(a,i,o,c){i=a.memoizedState,o=o(c,i),o=o==null?i:y({},i,o),a.memoizedState=o,a.lanes===0&&(a.updateQueue.baseState=o)}var Sm={enqueueSetState:function(a,i,o){a=a._reactInternals;var c=fa(),p=Ai(c);p.payload=i,o!=null&&(p.callback=o),i=_i(a,p,c),i!==null&&(ea(i,a,c),Hl(i,a,c))},enqueueReplaceState:function(a,i,o){a=a._reactInternals;var c=fa(),p=Ai(c);p.tag=1,p.payload=i,o!=null&&(p.callback=o),i=_i(a,p,c),i!==null&&(ea(i,a,c),Hl(i,a,c))},enqueueForceUpdate:function(a,i){a=a._reactInternals;var o=fa(),c=Ai(o);c.tag=2,i!=null&&(c.callback=i),i=_i(a,c,o),i!==null&&(ea(i,a,o),Hl(i,a,o))}};function D1(a,i,o,c,p,b,E){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(c,b,E):i.prototype&&i.prototype.isPureReactComponent?!Ol(o,c)||!Ol(p,b):!0}function O1(a,i,o,c){a=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(o,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(o,c),i.state!==a&&Sm.enqueueReplaceState(i,i.state,null)}function Cs(a,i){var o=i;if("ref"in i){o={};for(var c in i)c!=="ref"&&(o[c]=i[c])}if(a=a.defaultProps){o===i&&(o=y({},o));for(var p in a)o[p]===void 0&&(o[p]=a[p])}return o}function L1(a){Oc(a)}function I1(a){console.error(a)}function M1(a){Oc(a)}function td(a,i){try{var o=a.onUncaughtError;o(i.value,{componentStack:i.stack})}catch(c){setTimeout(function(){throw c})}}function P1(a,i,o){try{var c=a.onCaughtError;c(o.value,{componentStack:o.stack,errorBoundary:i.tag===1?i.stateNode:null})}
vendor: 12,549 bytes, line 25
25catch(p){setTimeout(function(){throw p})}}function Am(a,i,o){return o=Ai(o),o.tag=3,o.payload={element:null},o.callback=function(){td(a,i)},o}function B1(a){return a=Ai(a),a.tag=3,a}function j1(a,i,o,c){var p=o.type.getDerivedStateFromError;if(typeof p=="function"){var b=c.value;a.payload=function(){return p(b)},a.callback=function(){P1(i,o,c)}}var E=o.stateNode;E!==null&&typeof E.componentDidCatch=="function"&&(a.callback=function(){P1(i,o,c),typeof p!="function"&&(Oi===null?Oi=new Set([this]):Oi.add(this));var S=c.stack;this.componentDidCatch(c.value,{componentStack:S!==null?S:""})})}function dN(a,i,o,c,p){if(o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(i=o.alternate,i!==null&&fo(i,o,p,!0),o=la.current,o!==null){switch(o.tag){case 31:case 13:return Ca===null?hd():o.alternate===null&&Xt===0&&(Xt=3),o.flags&=-257,o.flags|=65536,o.lanes=p,c===zc?o.flags|=16384:(i=o.updateQueue,i===null?o.updateQueue=new Set([c]):i.add(c),Qm(a,c,p)),!1;case 22:return o.flags|=65536,c===zc?o.flags|=16384:(i=o.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([c])},o.updateQueue=i):(o=i.retryQueue,o===null?i.retryQueue=new Set([c]):o.add(c)),Qm(a,c,p)),!1}throw Error(r(435,o.tag))}return Qm(a,c,p),hd(),!1}if(dt)return i=la.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=p,c!==Yh&&(a=Error(r(422),{cause:c}),Ml(Aa(a,o)))):(c!==Yh&&(i=Error(r(423),{cause:c}),Ml(Aa(i,o))),a=a.current.alternate,a.flags|=65536,p&=-p,a.lanes|=p,c=Aa(c,o),p=Am(a.stateNode,c,p),tm(a,p),Xt!==4&&(Xt=2)),!1;var b=Error(r(520),{cause:c});if(b=Aa(b,o),eu===null?eu=[b]:eu.push(b),Xt!==4&&(Xt=2),i===null)return!0;c=Aa(c,o),o=i;do{switch(o.tag){case 3:return o.flags|=65536,a=p&-p,o.lanes|=a,a=Am(o.stateNode,c,a),tm(o,a),!1;case 1:if(i=o.type,b=o.stateNode,(o.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(Oi===null||!Oi.has(b))))return o.flags|=65536,p&=-p,o.lanes|=p,p=B1(p),j1(p,a,o,c),tm(o,p),!1}o=o.return}while(o!==null);return!1}var _m=Error(r(461)),on=!1;function _n(a,i,o,c){i.child=a===null?zb(i,null,o,c):ks(i,a.child,o,c)}function U1(a,i,o,c,p){o=o.render;var b=i.ref;if("ref"in c){var E={};for(var S in c)S!=="ref"&&(E[S]=c[S])}else E=c;return ws(i),c=om(a,i,o,E,b,p),S=lm(),a!==null&&!on?(um(a,i,p),zr(a,i,p)):(dt&&S&&zh(i),i.flags|=1,_n(a,i,c,p),i.child)}function H1(a,i,o,c,p){if(a===null){var b=o.type;return typeof b=="function"&&!Uh(b)&&b.defaultProps===void 0&&o.compare===null?(i.tag=15,i.type=b,F1(a,i,b,c,p)):(a=Pc(o.type,null,c,i,i.mode,p),a.ref=i.ref,a.return=i,i.child=a)}if(b=a.child,!Im(a,p)){var E=b.memoizedProps;if(o=o.compare,o=o!==null?o:Ol,o(E,c)&&a.ref===i.ref)return zr(a,i,p)}return i.flags|=1,a=Pr(b,c),a.ref=i.ref,a.return=i,i.child=a}function F1(a,i,o,c,p){if(a!==null){var b=a.memoizedProps;if(Ol(b,c)&&a.ref===i.ref)if(on=!1,i.pendingProps=c=b,Im(a,p))(a.flags&131072)!==0&&(on=!0);else return i.lanes=a.lanes,zr(a,i,p)}return km(a,i,o,c,p)}function z1(a,i,o,c){var p=c.children,b=a!==null?a.memoizedState:null;if(a===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((i.flags&128)!==0){if(b=b!==null?b.baseLanes|o:o,a!==null){for(c=i.child=a.child,p=0;c!==null;)p=p|c.lanes|c.childLanes,c=c.sibling;c=p&~b}else c=0,i.child=null;return V1(a,i,b,o,c)}if((o&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},a!==null&&Hc(i,b!==null?b.cachePool:null),b!==null?Kb(i,b):am(),qb(i);else return c=i.lanes=536870912,V1(a,i,b!==null?b.baseLanes|o:o,o,c)}else b!==null?(Hc(i,b.cachePool),Kb(i,b),Ni(),i.memoizedState=null):(a!==null&&Hc(i,null),am(),Ni());return _n(a,i,p,o),i.child}function Gl(a,i){return a!==null&&a.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function V1(a,i,o,c,p){var b=$h();return b=b===null?null:{parent:rn._currentValue,pool:b},i.memoizedState={baseLanes:o,cachePool:b},a!==null&&Hc(i,null),am(),qb(i),a!==null&&fo(a,i,c,!0),i.childLanes=p,null}function nd(a,i){return i=rd({mode:i.mode,children:i.children},a.mode),i.ref=a.ref,a.child=i,i.return=a,i}function Y1(a,i,o){return ks(i,a.child,null,o),a=nd(i,i.pendingProps),a.flags|=2,ua(i),i.memoizedState=null,a}function fN(a,i,o){var c=i.pendingProps,p=(i.flags&128)!==0;if(i.flags&=-129,a===null){if(dt){if(c.mode==="hidden")return a=nd(i,c),i.lanes=536870912,Gl(null,a);if(im(i),(a=Ht)?(a=nv(a,Na),a=a!==null&&a.data==="&"?a:null,a!==null&&(i.memoizedState={dehydrated:a,treeContext:vi!==null?{id:or,overflow:lr}:null,retryLane:536870912,hydrationErrors:null},o=kb(a),o.return=i,i.child=o,Sn=i,Ht=null)):a=null,a===null)throw Ei(i);return i.lanes=536870912,null}return nd(i,c)}var b=a.memoizedState;if(b!==null){var E=b.dehydrated;if(im(i),p)if(i.flags&256)i.flags&=-257,i=Y1(a,i,o);else if(i.memoizedState!==null)i.child=a.child,i.flags|=128,i=null;else throw Error(r(558));else if(on||fo(a,i,o,!1),p=(o&a.childLanes)!==0,on||p){if(c=Ot,c!==null&&(E=B(c,o),E!==0&&E!==b.retryLane))throw b.retryLane=E,xs(a,E),ea(c,a,E),_m;hd(),i=Y1(a,i,o)}else a=b.treeContext,Ht=Ra(E.nextSibling),Sn=i,dt=!0,Ti=null,Na=!1,a!==null&&Rb(i,a),i=nd(i,c),i.flags|=4096;return i}return a=Pr(a.child,{mode:c.mode,children:c.children}),a.ref=i.ref,i.child=a,a.return=i,a}function ad(a,i){var o=i.ref;if(o===null)a!==null&&a.ref!==null&&(i.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(r(284));(a===null||a.ref!==o)&&(i.flags|=4194816)}}function km(a,i,o,c,p){return ws(i),o=om(a,i,o,c,void 0,p),c=lm(),a!==null&&!on?(um(a,i,p),zr(a,i,p)):(dt&&c&&zh(i),i.flags|=1,_n(a,i,o,p),i.child)}function K1(a,i,o,c,p,b){return ws(i),i.updateQueue=null,o=Wb(i,c,o,p),Gb(a),c=lm(),a!==null&&!on?(um(a,i,b),zr(a,i,b)):(dt&&c&&zh(i),i.flags|=1,_n(a,i,o,b),i.child)}function q1(a,i,o,c,p){if(ws(i),i.stateNode===null){var b=oo,E=o.contextType;typeof E=="object"&&E!==null&&(b=An(E)),b=new o(c,b),i.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=Sm,i.stateNode=b,b._reactInternals=i,b=i.stateNode,b.props=c,b.state=i.memoizedState,b.refs={},Jh(i),E=o.contextType,b.context=typeof E=="object"&&E!==null?An(E):oo,b.state=i.memoizedState,E=o.getDerivedStateFromProps,typeof E=="function"&&(wm(i,o,E,c),b.state=i.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(E=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),E!==b.state&&Sm.enqueueReplaceState(b,b.state,null),zl(i,c,b,p),Fl(),b.state=i.memoizedState),typeof b.componentDidMount=="function"&&(i.flags|=4194308),c=!0}else if(a===null){b=i.stateNode;var S=i.memoizedProps,M=Cs(o,S);b.props=M;var W=b.context,ae=o.contextType;E=oo,typeof ae=="object"&&ae!==null&&(E=An(ae));var se=o.getDerivedStateFromProps;ae=typeof se=="function"||typeof b.getSnapshotBeforeUpdate=="function",S=i.pendingProps!==S,ae||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(S||W!==E)&&O1(i,b,c,E),Si=!1;var X=i.memoizedState;b.state=X,zl(i,c,b,p),Fl(),W=i.memoizedState,S||X!==W||Si?(typeof se=="function"&&(wm(i,o,se,c),W=i.memoizedState),(M=Si||D1(i,o,M,c,X,W,E))?(ae||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(i.flags|=4194308)):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=W),b.props=c,b.state=W,b.context=E,c=M):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{b=i.stateNode,em(a,i),E=i.memoizedProps,ae=Cs(o,E),b.props=ae,se=i.pendingProps,X=b.context,W=o.contextType,M=oo,typeof W=="object"&&W!==null&&(M=An(W)),S=o.getDerivedStateFromProps,(W=typeof S=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(E!==se||X!==M)&&O1(i,b,c,M),Si=!1,X=i.memoizedState,b.state=X,zl(i,c,b,p),Fl();var J=i.memoizedState;E!==se||X!==J||Si||a!==null&&a.dependencies!==null&&jc(a.dependencies)?(typeof S=="function"&&(wm(i,o,S,c),J=i.memoizedState),(ae=Si||D1(i,o,ae,c,X,J,M)||a!==null&&a.dependencies!==null&&jc(a.dependencies))?(W||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(c,J,M),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(c,J,M)),typeof b.componentDidUpdate=="function"&&(i.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof b.componentDidUpdate!="function"||E===a.memoizedProps&&X===a.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||E===a.memoizedProps&&X===a.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=J),b.props=c,b.state=J,b.context=M,c=ae):(typeof b.componentDidUpdate!="function"||E===a.memoizedProps&&X===a.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||E===a.memoizedProps&&X===a.memoizedState||(i.flags|=1024),c=!1)}return b=c,ad(a,i),c=(i.flags&128)!==0,b||c?(b=i.stateNode,o=c&&typeof o.getDerivedStateFromError!="function"?null:b.render(),i.flags|=1,a!==null&&c?(i.child=ks(i,a.child,null,p),i.child=ks(i,null,o,p)):_n(a,i,o,p),i.memoizedState=b.state,a=i.child):a=zr(a,i,p),a}function G1(a,i,o,c){return Ts(),i.flags|=256,_n(a,i,o,c),i.child}var Nm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Cm(a){return{baseLanes:a,cachePool:Pb()}}function Rm(a,i,o){return a=a!==null?a.childLanes&~o:0,i&&(a|=da),a}function W1(a,i,o){var c=i.pendingProps,p=!1,b=(i.flags&128)!==0,E;if((E=b)||(E=a!==null&&a.memoizedState===null?!1:(tn.current&2)!==0),E&&(p=!0,i.flags&=-129),E=(i.flags&32)!==0,i.flags&=-33,a===null){if(dt){if(p?ki(i):Ni(),(a=Ht)?(a=nv(a,Na),a=a!==null&&a.data!=="&"?a:null,a!==null&&(i.memoizedState={dehydrated:a,treeContext:vi!==null?{id:or,overflow:lr}:null,retryLane:536870912,hydrationErrors:null},o=kb(a),o.return=i,i.child=o,Sn=i,Ht=null)):a=null,a===null)throw Ei(i);return fp(a)?i.lanes=32:i.lanes=536870912,null}var S=c.children;return c=c.fallback,p?(Ni(),p=i.mode,S=rd({mode:"hidden",children:S},p),c=vs(c,p,o,null),S.return=i,c.return=i,S.sibling=c,i.child=S,c=i.child,c.memoizedState=Cm(o),c.childLanes=Rm(a,E,o),i.memoizedState=Nm,Gl(null,c)):(ki(i),Dm(i,S))}var M=a.memoizedState;if(M!==null&&(S=M.dehydrated,S!==null)){if(b)i.flags&256?(ki(i),i.flags&=-257,i=Om(a,i,o)):i.memoizedState!==null?(Ni(),i.child=a.child,i.flags|=128,i=null):(Ni(),S=c.fallback,p=i.mode,c=rd({mode:"visible",children:c.children},p),S=vs(S,p,o,null),S.flags|=2,c.return=i,S.return=i,c.sibling=S,i.child=c,ks(i,a.child,null,o),c=i.child,c.memoizedState=Cm(o),c.childLanes=Rm(a,E,o),i.memoizedState=Nm,i=Gl(null,c));else if(ki(i),fp(S)){if(E=S.nextSibling&&S.nextSibling.dataset,E)var W=E.dgst;E=W,c=Error(r(419)),c.stack="",c.digest=E,Ml({value:c,source:null,stack:null}),i=Om(a,i,o)}else if(on||fo(a,i,o,!1),E=(o&a.childLanes)!==0,on||E){if(E=Ot,E!==null&&(c=B(E,o),c!==0&&c!==M.retryLane))throw M.retryLane=c,xs(a,c),ea(E,a,c),_m;dp(S)||hd(),i=Om(a,i,o)}else dp(S)?(i.flags|=192,i.child=a.child,i=null):(a=M.treeContext,Ht=Ra(S.nextSibling),Sn=i,dt=!0,Ti=null,Na=!1,a!==null&&Rb(i,a),i=Dm(i,c.children),i.flags|=4096);return i}return p?(Ni(),S=c.fallback,p=i.mode,M=a.child,W=M.sibling,c=Pr(M,{mode:"hidden",children:c.children}),c.subtreeFlags=M.subtreeFlags&65011712,W!==null?S=Pr(W,S):(S=vs(S,p,o,null),S.flags|=2),S.return=i,c.return=i,c.sibling=S,i.child=c,Gl(null,c),c=i.child,S=a.child.memoizedState,S===null?S=Cm(o):(p=S.cachePool,p!==null?(M=rn._currentValue,p=p.parent!==M?{parent:M,pool:M}:p):p=Pb(),S={baseLanes:S.baseLanes|o,cachePool:p}),c.memoizedState=S,c.childLanes=Rm(a,E,o),i.memoizedState=Nm,Gl(a.child,c)):(ki(i),o=a.child,a=o.sibling,o=Pr(o,{mode:"visible",children:c.children}),o.return=i,o.sibling=null,a!==null&&(E=i.deletions,E===null?(i.deletions=[a],i.flags|=16):E.push(a)),i.child=o,i.memoizedState=null,o)}function Dm(a,i){return i=rd({mode:"visible",children:i},a.mode),i.return=a,a.child=i}function rd(a,i){return a=oa(22,a,null,i),a.lanes=0,a}
vendor: 5,451 bytes, line 25
25function Om(a,i,o){return ks(i,a.child,null,o),a=Dm(i,i.pendingProps.children),a.flags|=2,i.memoizedState=null,a}function X1(a,i,o){a.lanes|=i;var c=a.alternate;c!==null&&(c.lanes|=i),Gh(a.return,i,o)}function Lm(a,i,o,c,p,b){var E=a.memoizedState;E===null?a.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:o,tailMode:p,treeForkCount:b}:(E.isBackwards=i,E.rendering=null,E.renderingStartTime=0,E.last=c,E.tail=o,E.tailMode=p,E.treeForkCount=b)}function Q1(a,i,o){var c=i.pendingProps,p=c.revealOrder,b=c.tail;c=c.children;var E=tn.current,S=(E&2)!==0;if(S?(E=E&1|2,i.flags|=128):E&=1,O(tn,E),_n(a,i,c,o),c=dt?Il:0,!S&&a!==null&&(a.flags&128)!==0)e:for(a=i.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&X1(a,o,i);else if(a.tag===19)X1(a,o,i);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break e;for(;a.sibling===null;){if(a.return===null||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(p){case"forwards":for(o=i.child,p=null;o!==null;)a=o.alternate,a!==null&&qc(a)===null&&(p=o),o=o.sibling;o=p,o===null?(p=i.child,i.child=null):(p=o.sibling,o.sibling=null),Lm(i,!1,p,o,b,c);break;case"backwards":case"unstable_legacy-backwards":for(o=null,p=i.child,i.child=null;p!==null;){if(a=p.alternate,a!==null&&qc(a)===null){i.child=p;break}a=p.sibling,p.sibling=o,o=p,p=a}Lm(i,!0,o,null,b,c);break;case"together":Lm(i,!1,null,null,void 0,c);break;default:i.memoizedState=null}return i.child}function zr(a,i,o){if(a!==null&&(i.dependencies=a.dependencies),Di|=i.lanes,(o&i.childLanes)===0)if(a!==null){if(fo(a,i,o,!1),(o&i.childLanes)===0)return null}else return null;if(a!==null&&i.child!==a.child)throw Error(r(153));if(i.child!==null){for(a=i.child,o=Pr(a,a.pendingProps),i.child=o,o.return=i;a.sibling!==null;)a=a.sibling,o=o.sibling=Pr(a,a.pendingProps),o.return=i;o.sibling=null}return i.child}function Im(a,i){return(a.lanes&i)!==0?!0:(a=a.dependencies,!!(a!==null&&jc(a)))}function hN(a,i,o){switch(i.tag){case 3:xn(i,i.stateNode.containerInfo),wi(i,rn,a.memoizedState.cache),Ts();break;case 27:case 5:xa(i);break;case 4:xn(i,i.stateNode.containerInfo);break;case 10:wi(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,im(i),null;break;case 13:var c=i.memoizedState;if(c!==null)return c.dehydrated!==null?(ki(i),i.flags|=128,null):(o&i.child.childLanes)!==0?W1(a,i,o):(ki(i),a=zr(a,i,o),a!==null?a.sibling:null);ki(i);break;case 19:var p=(a.flags&128)!==0;if(c=(o&i.childLanes)!==0,c||(fo(a,i,o,!1),c=(o&i.childLanes)!==0),p){if(c)return Q1(a,i,o);i.flags|=128}if(p=i.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),O(tn,tn.current),c)break;return null;case 22:return i.lanes=0,z1(a,i,o,i.pendingProps);case 24:wi(i,rn,a.memoizedState.cache)}return zr(a,i,o)}function $1(a,i,o){if(a!==null)if(a.memoizedProps!==i.pendingProps)on=!0;else{if(!Im(a,o)&&(i.flags&128)===0)return on=!1,hN(a,i,o);on=(a.flags&131072)!==0}else on=!1,dt&&(i.flags&1048576)!==0&&Cb(i,Il,i.index);switch(i.lanes=0,i.tag){case 16:e:{var c=i.pendingProps;if(a=As(i.elementType),i.type=a,typeof a=="function")Uh(a)?(c=Cs(a,c),i.tag=1,i=q1(null,i,a,c,o)):(i.tag=0,i=km(null,i,a,c,o));else{if(a!=null){var p=a.$$typeof;if(p===Q){i.tag=11,i=U1(null,i,a,c,o);break e}else if(p===ue){i.tag=14,i=H1(null,i,a,c,o);break e}}throw i=xe(a)||a,Error(r(306,i,""))}}return i;case 0:return km(a,i,i.type,i.pendingProps,o);case 1:return c=i.type,p=Cs(c,i.pendingProps),q1(a,i,c,p,o);case 3:e:{if(xn(i,i.stateNode.containerInfo),a===null)throw Error(r(387));c=i.pendingProps;var b=i.memoizedState;p=b.element,em(a,i),zl(i,c,null,o);var E=i.memoizedState;if(c=E.cache,wi(i,rn,c),c!==b.cache&&Wh(i,[rn],o,!0),Fl(),c=E.element,b.isDehydrated)if(b={element:c,isDehydrated:!1,cache:E.cache},i.updateQueue.baseState=b,i.memoizedState=b,i.flags&256){i=G1(a,i,c,o);break e}else if(c!==p){p=Aa(Error(r(424)),i),Ml(p),i=G1(a,i,c,o);break e}else{switch(a=i.stateNode.containerInfo,a.nodeType){case 9:a=a.body;break;default:a=a.nodeName==="HTML"?a.ownerDocument.body:a}for(Ht=Ra(a.firstChild),Sn=i,dt=!0,Ti=null,Na=!0,o=zb(i,null,c,o),i.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(Ts(),c===p){i=zr(a,i,o);break e}_n(a,i,c,o)}i=i.child}return i;case 26:return ad(a,i),a===null?(o=lv(i.type,null,i.pendingProps,null))?i.memoizedState=o:dt||(o=i.type,a=i.pendingProps,c=vd(Ke.current).createElement(o),c[Se]=i,c[Ae]=a,kn(c,o,a),xt(c),i.stateNode=c):i.memoizedState=lv(i.type,a.memoizedProps,i.pendingProps,a.memoizedState),null;case 27:return xa(i),a===null&&dt&&(c=i.stateNode=iv(i.type,i.pendingProps,Ke.current),Sn=i,Na=!0,p=Ht,Pi(i.type)?(hp=p,Ht=Ra(c.firstChild)):Ht=p),_n(a,i,i.pendingProps.children,o),ad(a,i),a===null&&(i.flags|=4194304),i.child;case 5:return a===null&&dt&&((p=c=Ht)&&(c=VN(c,i.type,i.pendingProps,Na),c!==null?(i.stateNode=c,Sn=i,Ht=Ra(c.firstChild),Na=!1,p=!0):p=!1),p||Ei(i)),xa(i),p=i.type,b=i.pendingProps,E=a!==null?a.memoizedProps:null,c=b.children,lp(p,b)?c=null:E!==null&&lp(p,E)&&(i.flags|=32),i.memoizedState!==null&&(p=om(a,i,rN,null,null,o),lu._currentValue=p),ad(a,i),_n(a,i,c,o),i.child;case 6:return a===null&&dt&&((a=o=Ht)&&(o=YN(o,i.pendingProps,Na),o!==null?(i.stateNode=o,Sn=i,Ht=null,a=!0):a=!1),a||Ei(i)),null;case 13:return W1(a,i,o);case 4:return xn(i,i.stateNode.containerInfo),c=i.pendingProps,a===null?i.child=ks(i,null,c,o):_n(a,i,c,o),i.child;case 11:return U1(a,i,i.type,i.pendingProps,o);
vendor: 4,563 bytes, line 25
25case 7:return _n(a,i,i.pendingProps,o),i.child;case 8:return _n(a,i,i.pendingProps.children,o),i.child;case 12:return _n(a,i,i.pendingProps.children,o),i.child;case 10:return c=i.pendingProps,wi(i,i.type,c.value),_n(a,i,c.children,o),i.child;case 9:return p=i.type._context,c=i.pendingProps.children,ws(i),p=An(p),c=c(p),i.flags|=1,_n(a,i,c,o),i.child;case 14:return H1(a,i,i.type,i.pendingProps,o);case 15:return F1(a,i,i.type,i.pendingProps,o);case 19:return Q1(a,i,o);case 31:return fN(a,i,o);case 22:return z1(a,i,o,i.pendingProps);case 24:return ws(i),c=An(rn),a===null?(p=$h(),p===null&&(p=Ot,b=Xh(),p.pooledCache=b,b.refCount++,b!==null&&(p.pooledCacheLanes|=o),p=b),i.memoizedState={parent:c,cache:p},Jh(i),wi(i,rn,p)):((a.lanes&o)!==0&&(em(a,i),zl(i,null,null,o),Fl()),p=a.memoizedState,b=i.memoizedState,p.parent!==c?(p={parent:c,cache:c},i.memoizedState=p,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=p),wi(i,rn,c)):(c=b.cache,wi(i,rn,c),c!==p.cache&&Wh(i,[rn],o,!0))),_n(a,i,i.pendingProps.children,o),i.child;case 29:throw i.pendingProps}throw Error(r(156,i.tag))}function Vr(a){a.flags|=4}function Mm(a,i,o,c,p){if((i=(a.mode&32)!==0)&&(i=!1),i){if(a.flags|=16777216,(p&335544128)===p)if(a.stateNode.complete)a.flags|=8192;else if(Sx())a.flags|=8192;else throw _s=zc,Zh}else a.flags&=-16777217}function Z1(a,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!hv(i))if(Sx())a.flags|=8192;else throw _s=zc,Zh}function id(a,i){i!==null&&(a.flags|=4),a.flags&16384&&(i=a.tag!==22?Sl():536870912,a.lanes|=i,So|=i)}function Wl(a,i){if(!dt)switch(a.tailMode){case"hidden":i=a.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?a.tail=null:o.sibling=null;break;case"collapsed":o=a.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?i||a.tail===null?a.tail=null:a.tail.sibling=null:c.sibling=null}}function Ft(a){var i=a.alternate!==null&&a.alternate.child===a.child,o=0,c=0;if(i)for(var p=a.child;p!==null;)o|=p.lanes|p.childLanes,c|=p.subtreeFlags&65011712,c|=p.flags&65011712,p.return=a,p=p.sibling;else for(p=a.child;p!==null;)o|=p.lanes|p.childLanes,c|=p.subtreeFlags,c|=p.flags,p.return=a,p=p.sibling;return a.subtreeFlags|=c,a.childLanes=o,i}function mN(a,i,o){var c=i.pendingProps;switch(Vh(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ft(i),null;case 1:return Ft(i),null;case 3:return o=i.stateNode,c=null,a!==null&&(c=a.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),Ur(rn),Zt(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(a===null||a.child===null)&&(co(i)?Vr(i):a===null||a.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Kh())),Ft(i),null;case 26:var p=i.type,b=i.memoizedState;return a===null?(Vr(i),b!==null?(Ft(i),Z1(i,b)):(Ft(i),Mm(i,p,null,c,o))):b?b!==a.memoizedState?(Vr(i),Ft(i),Z1(i,b)):(Ft(i),i.flags&=-16777217):(a=a.memoizedProps,a!==c&&Vr(i),Ft(i),Mm(i,p,a,c,o)),null;case 27:if(za(i),o=Ke.current,p=i.type,a!==null&&i.stateNode!=null)a.memoizedProps!==c&&Vr(i);else{if(!c){if(i.stateNode===null)throw Error(r(166));return Ft(i),null}a=Xe.current,co(i)?Db(i):(a=iv(p,c,o),i.stateNode=a,Vr(i))}return Ft(i),null;case 5:if(za(i),p=i.type,a!==null&&i.stateNode!=null)a.memoizedProps!==c&&Vr(i);else{if(!c){if(i.stateNode===null)throw Error(r(166));return Ft(i),null}if(b=Xe.current,co(i))Db(i);else{var E=vd(Ke.current);switch(b){case 1:b=E.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:b=E.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":b=E.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":b=E.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":b=E.createElement("div"),b.innerHTML="<script><\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof c.is=="string"?E.createElement("select",{is:c.is}):E.createElement("select"),c.multiple?b.multiple=!0:c.size&&(b.size=c.size);break;default:b=typeof c.is=="string"?E.createElement(p,{is:c.is}):E.createElement(p)}}b[Se]=i,b[Ae]=c;e:for(E=i.child;E!==null;){if(E.tag===5||E.tag===6)b.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===i)break e;for(;E.sibling===null;){if(E.return===null||E.return===i)break e;E=E.return}E.sibling.return=E.return,E=E.sibling}i.stateNode=b;e:switch(kn(b,p,c),p){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}
vendor: 26,358 bytes, line 25
25c&&Vr(i)}}return Ft(i),Mm(i,i.type,a===null?null:a.memoizedProps,i.pendingProps,o),null;case 6:if(a&&i.stateNode!=null)a.memoizedProps!==c&&Vr(i);else{if(typeof c!="string"&&i.stateNode===null)throw Error(r(166));if(a=Ke.current,co(i)){if(a=i.stateNode,o=i.memoizedProps,c=null,p=Sn,p!==null)switch(p.tag){case 27:case 5:c=p.memoizedProps}a[Se]=i,a=!!(a.nodeValue===o||c!==null&&c.suppressHydrationWarning===!0||Wx(a.nodeValue,o)),a||Ei(i,!0)}else a=vd(a).createTextNode(c),a[Se]=i,i.stateNode=a}return Ft(i),null;case 31:if(o=i.memoizedState,a===null||a.memoizedState!==null){if(c=co(i),o!==null){if(a===null){if(!c)throw Error(r(318));if(a=i.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(557));a[Se]=i}else Ts(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ft(i),a=!1}else o=Kh(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=o),a=!0;if(!a)return i.flags&256?(ua(i),i):(ua(i),null);if((i.flags&128)!==0)throw Error(r(558))}return Ft(i),null;case 13:if(c=i.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(p=co(i),c!==null&&c.dehydrated!==null){if(a===null){if(!p)throw Error(r(318));if(p=i.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(r(317));p[Se]=i}else Ts(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ft(i),p=!1}else p=Kh(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=p),p=!0;if(!p)return i.flags&256?(ua(i),i):(ua(i),null)}return ua(i),(i.flags&128)!==0?(i.lanes=o,i):(o=c!==null,a=a!==null&&a.memoizedState!==null,o&&(c=i.child,p=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(p=c.alternate.memoizedState.cachePool.pool),b=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(b=c.memoizedState.cachePool.pool),b!==p&&(c.flags|=2048)),o!==a&&o&&(i.child.flags|=8192),id(i,i.updateQueue),Ft(i),null);case 4:return Zt(),a===null&&ap(i.stateNode.containerInfo),Ft(i),null;case 10:return Ur(i.type),Ft(i),null;case 19:if(He(tn),c=i.memoizedState,c===null)return Ft(i),null;if(p=(i.flags&128)!==0,b=c.rendering,b===null)if(p)Wl(c,!1);else{if(Xt!==0||a!==null&&(a.flags&128)!==0)for(a=i.child;a!==null;){if(b=qc(a),b!==null){for(i.flags|=128,Wl(c,!1),a=b.updateQueue,i.updateQueue=a,id(i,a),i.subtreeFlags=0,a=o,o=i.child;o!==null;)_b(o,a),o=o.sibling;return O(tn,tn.current&1|2),dt&&Br(i,c.treeForkCount),i.child}a=a.sibling}c.tail!==null&&wn()>cd&&(i.flags|=128,p=!0,Wl(c,!1),i.lanes=4194304)}else{if(!p)if(a=qc(b),a!==null){if(i.flags|=128,p=!0,a=a.updateQueue,i.updateQueue=a,id(i,a),Wl(c,!0),c.tail===null&&c.tailMode==="hidden"&&!b.alternate&&!dt)return Ft(i),null}else 2*wn()-c.renderingStartTime>cd&&o!==536870912&&(i.flags|=128,p=!0,Wl(c,!1),i.lanes=4194304);c.isBackwards?(b.sibling=i.child,i.child=b):(a=c.last,a!==null?a.sibling=b:i.child=b,c.last=b)}return c.tail!==null?(a=c.tail,c.rendering=a,c.tail=a.sibling,c.renderingStartTime=wn(),a.sibling=null,o=tn.current,O(tn,p?o&1|2:o&1),dt&&Br(i,c.treeForkCount),a):(Ft(i),null);case 22:case 23:return ua(i),rm(),c=i.memoizedState!==null,a!==null?a.memoizedState!==null!==c&&(i.flags|=8192):c&&(i.flags|=8192),c?(o&536870912)!==0&&(i.flags&128)===0&&(Ft(i),i.subtreeFlags&6&&(i.flags|=8192)):Ft(i),o=i.updateQueue,o!==null&&id(i,o.retryQueue),o=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==o&&(i.flags|=2048),a!==null&&He(Ss),null;case 24:return o=null,a!==null&&(o=a.memoizedState.cache),i.memoizedState.cache!==o&&(i.flags|=2048),Ur(rn),Ft(i),null;case 25:return null;case 30:return null}throw Error(r(156,i.tag))}function pN(a,i){switch(Vh(i),i.tag){case 1:return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 3:return Ur(rn),Zt(),a=i.flags,(a&65536)!==0&&(a&128)===0?(i.flags=a&-65537|128,i):null;case 26:case 27:case 5:return za(i),null;case 31:if(i.memoizedState!==null){if(ua(i),i.alternate===null)throw Error(r(340));Ts()}return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 13:if(ua(i),a=i.memoizedState,a!==null&&a.dehydrated!==null){if(i.alternate===null)throw Error(r(340));Ts()}return a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 19:return He(tn),null;case 4:return Zt(),null;case 10:return Ur(i.type),null;case 22:case 23:return ua(i),rm(),a!==null&&He(Ss),a=i.flags,a&65536?(i.flags=a&-65537|128,i):null;case 24:return Ur(rn),null;case 25:return null;default:return null}}function J1(a,i){switch(Vh(i),i.tag){case 3:Ur(rn),Zt();break;case 26:case 27:case 5:za(i);break;case 4:Zt();break;case 31:i.memoizedState!==null&&ua(i);break;case 13:ua(i);break;case 19:He(tn);break;case 10:Ur(i.type);break;case 22:case 23:ua(i),rm(),a!==null&&He(Ss);break;case 24:Ur(rn)}}function Xl(a,i){try{var o=i.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var p=c.next;o=p;do{if((o.tag&a)===a){c=void 0;var b=o.create,E=o.inst;c=b(),E.destroy=c}o=o.next}while(o!==p)}}catch(S){kt(i,i.return,S)}}function Ci(a,i,o){try{var c=i.updateQueue,p=c!==null?c.lastEffect:null;if(p!==null){var b=p.next;c=b;do{if((c.tag&a)===a){var E=c.inst,S=E.destroy;if(S!==void 0){E.destroy=void 0,p=i;var M=o,W=S;try{W()}catch(ae){kt(p,M,ae)}}}c=c.next}while(c!==b)}}catch(ae){kt(i,i.return,ae)}}function ex(a){var i=a.updateQueue;if(i!==null){var o=a.stateNode;try{Yb(i,o)}catch(c){kt(a,a.return,c)}}}function tx(a,i,o){o.props=Cs(a.type,a.memoizedProps),o.state=a.memoizedState;try{o.componentWillUnmount()}catch(c){kt(a,i,c)}}function Ql(a,i){try{var o=a.ref;if(o!==null){switch(a.tag){case 26:case 27:case 5:var c=a.stateNode;break;case 30:c=a.stateNode;break;default:c=a.stateNode}typeof o=="function"?a.refCleanup=o(c):o.current=c}}catch(p){kt(a,i,p)}}function ur(a,i){var o=a.ref,c=a.refCleanup;if(o!==null)if(typeof c=="function")try{c()}catch(p){kt(a,i,p)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(p){kt(a,i,p)}else o.current=null}function nx(a){var i=a.type,o=a.memoizedProps,c=a.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":o.autoFocus&&c.focus();break e;case"img":o.src?c.src=o.src:o.srcSet&&(c.srcset=o.srcSet)}}catch(p){kt(a,a.return,p)}}function Pm(a,i,o){try{var c=a.stateNode;BN(c,a.type,o,i),c[Ae]=i}catch(p){kt(a,a.return,p)}}function ax(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&Pi(a.type)||a.tag===4}function Bm(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||ax(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&Pi(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function jm(a,i,o){var c=a.tag;if(c===5||c===6)a=a.stateNode,i?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(a,i):(i=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,i.appendChild(a),o=o._reactRootContainer,o!=null||i.onclick!==null||(i.onclick=Ir));else if(c!==4&&(c===27&&Pi(a.type)&&(o=a.stateNode,i=null),a=a.child,a!==null))for(jm(a,i,o),a=a.sibling;a!==null;)jm(a,i,o),a=a.sibling}function sd(a,i,o){var c=a.tag;if(c===5||c===6)a=a.stateNode,i?o.insertBefore(a,i):o.appendChild(a);else if(c!==4&&(c===27&&Pi(a.type)&&(o=a.stateNode),a=a.child,a!==null))for(sd(a,i,o),a=a.sibling;a!==null;)sd(a,i,o),a=a.sibling}function rx(a){var i=a.stateNode,o=a.memoizedProps;try{for(var c=a.type,p=i.attributes;p.length;)i.removeAttributeNode(p[0]);kn(i,c,o),i[Se]=a,i[Ae]=o}catch(b){kt(a,a.return,b)}}var Yr=!1,ln=!1,Um=!1,ix=typeof WeakSet=="function"?WeakSet:Set,vn=null;function gN(a,i){if(a=a.containerInfo,sp=kd,a=yb(a),Oh(a)){if("selectionStart"in a)var o={start:a.selectionStart,end:a.selectionEnd};else e:{o=(o=a.ownerDocument)&&o.defaultView||window;var c=o.getSelection&&o.getSelection();if(c&&c.rangeCount!==0){o=c.anchorNode;var p=c.anchorOffset,b=c.focusNode;c=c.focusOffset;try{o.nodeType,b.nodeType}catch{o=null;break e}var E=0,S=-1,M=-1,W=0,ae=0,se=a,X=null;t:for(;;){for(var J;se!==o||p!==0&&se.nodeType!==3||(S=E+p),se!==b||c!==0&&se.nodeType!==3||(M=E+c),se.nodeType===3&&(E+=se.nodeValue.length),(J=se.firstChild)!==null;)X=se,se=J;for(;;){if(se===a)break t;if(X===o&&++W===p&&(S=E),X===b&&++ae===c&&(M=E),(J=se.nextSibling)!==null)break;se=X,X=se.parentNode}se=J}o=S===-1||M===-1?null:{start:S,end:M}}else o=null}o=o||{start:0,end:0}}else o=null;for(op={focusedElem:a,selectionRange:o},kd=!1,vn=i;vn!==null;)if(i=vn,a=i.child,(i.subtreeFlags&1028)!==0&&a!==null)a.return=i,vn=a;else for(;vn!==null;){switch(i=vn,b=i.alternate,a=i.flags,i.tag){case 0:if((a&4)!==0&&(a=i.updateQueue,a=a!==null?a.events:null,a!==null))for(o=0;o<a.length;o++)p=a[o],p.ref.impl=p.nextImpl;break;case 11:case 15:break;case 1:if((a&1024)!==0&&b!==null){a=void 0,o=i,p=b.memoizedProps,b=b.memoizedState,c=o.stateNode;try{var Ce=Cs(o.type,p);a=c.getSnapshotBeforeUpdate(Ce,b),c.__reactInternalSnapshotBeforeUpdate=a}catch(Fe){kt(o,o.return,Fe)}}break;case 3:if((a&1024)!==0){if(a=i.stateNode.containerInfo,o=a.nodeType,o===9)cp(a);else if(o===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":cp(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(r(163))}if(a=i.sibling,a!==null){a.return=i.return,vn=a;break}vn=i.return}}function sx(a,i,o){var c=o.flags;switch(o.tag){case 0:case 11:case 15:qr(a,o),c&4&&Xl(5,o);break;case 1:if(qr(a,o),c&4)if(a=o.stateNode,i===null)try{a.componentDidMount()}catch(E){kt(o,o.return,E)}else{var p=Cs(o.type,i.memoizedProps);i=i.memoizedState;try{a.componentDidUpdate(p,i,a.__reactInternalSnapshotBeforeUpdate)}catch(E){kt(o,o.return,E)}}c&64&&ex(o),c&512&&Ql(o,o.return);break;case 3:if(qr(a,o),c&64&&(a=o.updateQueue,a!==null)){if(i=null,o.child!==null)switch(o.child.tag){case 27:case 5:i=o.child.stateNode;break;case 1:i=o.child.stateNode}try{Yb(a,i)}catch(E){kt(o,o.return,E)}}break;case 27:i===null&&c&4&&rx(o);case 26:case 5:qr(a,o),i===null&&c&4&&nx(o),c&512&&Ql(o,o.return);break;case 12:qr(a,o);break;case 31:qr(a,o),c&4&&ux(a,o);break;case 13:qr(a,o),c&4&&cx(a,o),c&64&&(a=o.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(o=AN.bind(null,o),KN(a,o))));break;case 22:if(c=o.memoizedState!==null||Yr,!c){i=i!==null&&i.memoizedState!==null||ln,p=Yr;var b=ln;Yr=c,(ln=i)&&!b?Gr(a,o,(o.subtreeFlags&8772)!==0):qr(a,o),Yr=p,ln=b}break;case 30:break;default:qr(a,o)}}function ox(a){var i=a.alternate;i!==null&&(a.alternate=null,ox(i)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(i=a.stateNode,i!==null&&mt(i)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var Kt=null,Qn=!1;function Kr(a,i,o){for(o=o.child;o!==null;)lx(a,i,o),o=o.sibling}function lx(a,i,o){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(mn,o)}catch{}switch(o.tag){case 26:ln||ur(o,i),Kr(a,i,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:ln||ur(o,i);var c=Kt,p=Qn;Pi(o.type)&&(Kt=o.stateNode,Qn=!1),Kr(a,i,o),iu(o.stateNode),Kt=c,Qn=p;break;case 5:ln||ur(o,i);case 6:if(c=Kt,p=Qn,Kt=null,Kr(a,i,o),Kt=c,Qn=p,Kt!==null)if(Qn)try{(Kt.nodeType===9?Kt.body:Kt.nodeName==="HTML"?Kt.ownerDocument.body:Kt).removeChild(o.stateNode)}catch(b){kt(o,i,b)}else try{Kt.removeChild(o.stateNode)}catch(b){kt(o,i,b)}break;case 18:Kt!==null&&(Qn?(a=Kt,ev(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,o.stateNode),Oo(a)):ev(Kt,o.stateNode));break;case 4:c=Kt,p=Qn,Kt=o.stateNode.containerInfo,Qn=!0,Kr(a,i,o),Kt=c,Qn=p;break;case 0:case 11:case 14:case 15:Ci(2,o,i),ln||Ci(4,o,i),Kr(a,i,o);break;case 1:ln||(ur(o,i),c=o.stateNode,typeof c.componentWillUnmount=="function"&&tx(o,i,c)),Kr(a,i,o);break;case 21:Kr(a,i,o);break;case 22:ln=(c=ln)||o.memoizedState!==null,Kr(a,i,o),ln=c;break;default:Kr(a,i,o)}}function ux(a,i){if(i.memoizedState===null&&(a=i.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{Oo(a)}catch(o){kt(i,i.return,o)}}}function cx(a,i){if(i.memoizedState===null&&(a=i.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{Oo(a)}catch(o){kt(i,i.return,o)}}function yN(a){switch(a.tag){case 31:case 13:case 19:var i=a.stateNode;return i===null&&(i=a.stateNode=new ix),i;case 22:return a=a.stateNode,i=a._retryCache,i===null&&(i=a._retryCache=new ix),i;default:throw Error(r(435,a.tag))}}function od(a,i){var o=yN(a);i.forEach(function(c){if(!o.has(c)){o.add(c);var p=_N.bind(null,a,c);c.then(p,p)}})}function $n(a,i){var o=i.deletions;if(o!==null)for(var c=0;c<o.length;c++){var p=o[c],b=a,E=i,S=E;e:for(;S!==null;){switch(S.tag){case 27:if(Pi(S.type)){Kt=S.stateNode,Qn=!1;break e}break;case 5:Kt=S.stateNode,Qn=!1;break e;case 3:case 4:Kt=S.stateNode.containerInfo,Qn=!0;break e}S=S.return}if(Kt===null)throw Error(r(160));lx(b,E,p),Kt=null,Qn=!1,b=p.alternate,b!==null&&(b.return=null),p.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)dx(i,a),i=i.sibling}var Xa=null;function dx(a,i){var o=a.alternate,c=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:$n(i,a),Zn(a),c&4&&(Ci(3,a,a.return),Xl(3,a),Ci(5,a,a.return));break;case 1:$n(i,a),Zn(a),c&512&&(ln||o===null||ur(o,o.return)),c&64&&Yr&&(a=a.updateQueue,a!==null&&(c=a.callbacks,c!==null&&(o=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=o===null?c:o.concat(c))));break;case 26:var p=Xa;if($n(i,a),Zn(a),c&512&&(ln||o===null||ur(o,o.return)),c&4){var b=o!==null?o.memoizedState:null;if(c=a.memoizedState,o===null)if(c===null)if(a.stateNode===null){e:{c=a.type,o=a.memoizedProps,p=p.ownerDocument||p;t:switch(c){case"title":b=p.getElementsByTagName("title")[0],(!b||b[bt]||b[Se]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=p.createElement(c),p.head.insertBefore(b,p.querySelector("head > title"))),kn(b,c,o),b[Se]=a,xt(b),c=b;break e;case"link":var E=dv("link","href",p).get(c+(o.href||""));if(E){for(var S=0;S<E.length;S++)if(b=E[S],b.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&b.getAttribute("rel")===(o.rel==null?null:o.rel)&&b.getAttribute("title")===(o.title==null?null:o.title)&&b.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){E.splice(S,1);break t}}b=p.createElement(c),kn(b,c,o),p.head.appendChild(b);break;case"meta":if(E=dv("meta","content",p).get(c+(o.content||""))){for(S=0;S<E.length;S++)if(b=E[S],b.getAttribute("content")===(o.content==null?null:""+o.content)&&b.getAttribute("name")===(o.name==null?null:o.name)&&b.getAttribute("property")===(o.property==null?null:o.property)&&b.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&b.getAttribute("charset")===(o.charSet==null?null:o.charSet)){E.splice(S,1);break t}}b=p.createElement(c),kn(b,c,o),p.head.appendChild(b);break;default:throw Error(r(468,c))}b[Se]=a,xt(b),c=b}a.stateNode=c}else fv(p,a.type,a.stateNode);else a.stateNode=cv(p,c,a.memoizedProps);else b!==c?(b===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):b.count--,c===null?fv(p,a.type,a.stateNode):cv(p,c,a.memoizedProps)):c===null&&a.stateNode!==null&&Pm(a,a.memoizedProps,o.memoizedProps)}break;case 27:$n(i,a),Zn(a),c&512&&(ln||o===null||ur(o,o.return)),o!==null&&c&4&&Pm(a,a.memoizedProps,o.memoizedProps);break;case 5:if($n(i,a),Zn(a),c&512&&(ln||o===null||ur(o,o.return)),a.flags&32){p=a.stateNode;try{eo(p,"")}catch(Ce){kt(a,a.return,Ce)}}c&4&&a.stateNode!=null&&(p=a.memoizedProps,Pm(a,p,o!==null?o.memoizedProps:p)),c&1024&&(Um=!0);break;case 6:if($n(i,a),Zn(a),c&4){if(a.stateNode===null)throw Error(r(162));c=a.memoizedProps,o=a.stateNode;try{o.nodeValue=c}catch(Ce){kt(a,a.return,Ce)}}break;case 3:if(wd=null,p=Xa,Xa=Td(i.containerInfo),$n(i,a),Xa=p,Zn(a),c&4&&o!==null&&o.memoizedState.isDehydrated)try{Oo(i.containerInfo)}catch(Ce){kt(a,a.return,Ce)}Um&&(Um=!1,fx(a));break;case 4:c=Xa,Xa=Td(a.stateNode.containerInfo),$n(i,a),Zn(a),Xa=c;break;case 12:$n(i,a),Zn(a);break;case 31:$n(i,a),Zn(a),c&4&&(c=a.updateQueue,c!==null&&(a.updateQueue=null,od(a,c)));break;case 13:$n(i,a),Zn(a),a.child.flags&8192&&a.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(ud=wn()),c&4&&(c=a.updateQueue,c!==null&&(a.updateQueue=null,od(a,c)));break;case 22:p=a.memoizedState!==null;var M=o!==null&&o.memoizedState!==null,W=Yr,ae=ln;if(Yr=W||p,ln=ae||M,$n(i,a),ln=ae,Yr=W,Zn(a),c&8192)e:for(i=a.stateNode,i._visibility=p?i._visibility&-2:i._visibility|1,p&&(o===null||M||Yr||ln||Rs(a)),o=null,i=a;;){if(i.tag===5||i.tag===26){if(o===null){M=o=i;try{if(b=M.stateNode,p)E=b.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none";else{S=M.stateNode;var se=M.memoizedProps.style,X=se!=null&&se.hasOwnProperty("display")?se.display:null;S.style.display=X==null||typeof X=="boolean"?"":(""+X).trim()}}catch(Ce){kt(M,M.return,Ce)}}}else if(i.tag===6){if(o===null){M=i;try{M.stateNode.nodeValue=p?"":M.memoizedProps}catch(Ce){kt(M,M.return,Ce)}}}else if(i.tag===18){if(o===null){M=i;try{var J=M.stateNode;p?tv(J,!0):tv(M.stateNode,!1)}catch(Ce){kt(M,M.return,Ce)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===a)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break e;for(;i.sibling===null;){if(i.return===null||i.return===a)break e;o===i&&(o=null),i=i.return}o===i&&(o=null),i.sibling.return=i.return,i=i.sibling}c&4&&(c=a.updateQueue,c!==null&&(o=c.retryQueue,o!==null&&(c.retryQueue=null,od(a,o))));break;case 19:$n(i,a),Zn(a),c&4&&(c=a.updateQueue,c!==null&&(a.updateQueue=null,od(a,c)));break;case 30:break;case 21:break;default:$n(i,a),Zn(a)}}function Zn(a){var i=a.flags;if(i&2){try{for(var o,c=a.return;c!==null;){if(ax(c)){o=c;break}c=c.return}if(o==null)throw Error(r(160));switch(o.tag){case 27:var p=o.stateNode,b=Bm(a);sd(a,b,p);break;case 5:var E=o.stateNode;o.flags&32&&(eo(E,""),o.flags&=-33);var S=Bm(a);sd(a,S,E);break;case 3:case 4:var M=o.stateNode.containerInfo,W=Bm(a);jm(a,W,M);break;default:throw Error(r(161))}}catch(ae){kt(a,a.return,ae)}a.flags&=-3}i&4096&&(a.flags&=-4097)}function fx(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var i=a;fx(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),a=a.sibling}}function qr(a,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)sx(a,i.alternate,i),i=i.sibling}function Rs(a){for(a=a.child;a!==null;){var i=a;switch(i.tag){case 0:case 11:case 14:case 15:Ci(4,i,i.return),Rs(i);break;case 1:ur(i,i.return);var o=i.stateNode;typeof o.componentWillUnmount=="function"&&tx(i,i.return,o),Rs(i);break;case 27:iu(i.stateNode);case 26:case 5:ur(i,i.return),Rs(i);break;case 22:i.memoizedState===null&&Rs(i);break;case 30:Rs(i);break;default:Rs(i)}a=a.sibling}}function Gr(a,i,o){for(o=o&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var c=i.alternate,p=a,b=i,E=b.flags;switch(b.tag){case 0:case 11:case 15:Gr(p,b,o),Xl(4,b);break;case 1:if(Gr(p,b,o),c=b,p=c.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch(W){kt(c,c.return,W)}if(c=b,p=c.updateQueue,p!==null){var S=c.stateNode;try{var M=p.shared.hiddenCallbacks;if(M!==null)for(p.shared.hiddenCallbacks=null,p=0;p<M.length;p++)Vb(M[p],S)}catch(W){kt(c,c.return,W)}}o&&E&64&&ex(b),Ql(b,b.return);break;case 27:rx(b);case 26:case 5:Gr(p,b,o),o&&c===null&&E&4&&nx(b),Ql(b,b.return);break;case 12:Gr(p,b,o);break;case 31:Gr(p,b,o),o&&E&4&&ux(p,b);break;case 13:Gr(p,b,o),o&&E&4&&cx(p,b);break;case 22:b.memoizedState===null&&Gr(p,b,o),Ql(b,b.return);break;case 30:break;default:Gr(p,b,o)}i=i.sibling}}function Hm(a,i){var o=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),a=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(a=i.memoizedState.cachePool.pool),a!==o&&(a!=null&&a.refCount++,o!=null&&Pl(o))}function Fm(a,i){a=null,i.alternate!==null&&(a=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==a&&(i.refCount++,a!=null&&Pl(a))}function Qa(a,i,o,c){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)hx(a,i,o,c),i=i.sibling}function hx(a,i,o,c){var p=i.flags;switch(i.tag){case 0:case 11:case 15:Qa(a,i,o,c),p&2048&&Xl(9,i);break;case 1:Qa(a,i,o,c);break;case 3:Qa(a,i,o,c),p&2048&&(a=null,i.alternate!==null&&(a=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==a&&(i.refCount++,a!=null&&Pl(a)));break;case 12:if(p&2048){Qa(a,i,o,c),a=i.stateNode;try{var b=i.memoizedProps,E=b.id,S=b.onPostCommit;typeof S=="function"&&S(E,i.alternate===null?"mount":"update",a.passiveEffectDuration,-0)}catch(M){kt(i,i.return,M)}}else Qa(a,i,o,c);break;case 31:Qa(a,i,o,c);break;case 13:Qa(a,i,o,c);break;case 23:break;case 22:b=i.stateNode,E=i.alternate,i.memoizedState!==null?b._visibility&2?Qa(a,i,o,c):$l(a,i):b._visibility&2?Qa(a,i,o,c):(b._visibility|=2,To(a,i,o,c,(i.subtreeFlags&10256)!==0||!1)),p&2048&&Hm(E,i);break;case 24:Qa(a,i,o,c),p&2048&&Fm(i.alternate,i);break;default:Qa(a,i,o,c)}}function To(a,i,o,c,p){for(p=p&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var b=a,E=i,S=o,M=c,W=E.flags;switch(E.tag){case 0:case 11:case 15:To(b,E,S,M,p),Xl(8,E);break;case 23:break;case 22:var ae=E.stateNode;E.memoizedState!==null?ae._visibility&2?To(b,E,S,M,p):$l(b,E):(ae._visibility|=2,To(b,E,S,M,p)),p&&W&2048&&Hm(E.alternate,E);break;case 24:To(b,E,S,M,p),p&&W&2048&&Fm(E.alternate,E);break;default:To(b,E,S,M,p)}i=i.sibling}}function $l(a,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var o=a,c=i,p=c.flags;switch(c.tag){case 22:$l(o,c),p&2048&&Hm(c.alternate,c);break;case 24:$l(o,c),p&2048&&Fm(c.alternate,c);break;default:$l(o,c)}i=i.sibling}}var Zl=8192;function Eo(a,i,o){if(a.subtreeFlags&Zl)for(a=a.child;a!==null;)mx(a,i,o),a=a.sibling}function mx(a,i,o){switch(a.tag){case 26:Eo(a,i,o),a.flags&Zl&&a.memoizedState!==null&&aC(o,Xa,a.memoizedState,a.memoizedProps);break;case 5:Eo(a,i,o);break;case 3:case 4:var c=Xa;Xa=Td(a.stateNode.containerInfo),Eo(a,i,o),Xa=c;break;case 22:a.memoizedState===null&&(c=a.alternate,c!==null&&c.memoizedState!==null?(c=Zl,Zl=16777216,Eo(a,i,o),Zl=c):Eo(a,i,o));break;default:Eo(a,i,o)}}function px(a){var i=a.alternate;if(i!==null&&(a=i.child,a!==null)){i.child=null;do i=a.sibling,a.sibling=null,a=i;while(a!==null)}}function Jl(a){var i=a.deletions;if((a.flags&16)!==0){if(i!==null)for(var o=0;o<i.length;o++){var c=i[o];vn=c,yx(c,a)}px(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)gx(a),a=a.sibling}function gx(a){switch(a.tag){case 0:case 11:case 15:Jl(a),a.flags&2048&&Ci(9,a,a.return);break;case 3:Jl(a);break;case 12:Jl(a);break;case 22:var i=a.stateNode;a.memoizedState!==null&&i._visibility&2&&(a.return===null||a.return.tag!==13)?(i._visibility&=-3,ld(a)):Jl(a);break;default:Jl(a)}}function ld(a){var i=a.deletions;if((a.flags&16)!==0){if(i!==null)for(var o=0;o<i.length;o++){var c=i[o];vn=c,yx(c,a)}px(a)}for(a=a.child;a!==null;){switch(i=a,i.tag){case 0:case 11:case 15:Ci(8,i,i.return),ld(i);break;case 22:o=i.stateNode,o._visibility&2&&(o._visibility&=-3,ld(i));break;default:ld(i)}a=a.sibling}}function yx(a,i){for(;vn!==null;){var o=vn;switch(o.tag){case 0:case 11:case 15:Ci(8,o,i);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var c=o.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Pl(o.memoizedState.cache)}if(c=o.child,c!==null)c.return=o,vn=c;else e:for(o=a;vn!==null;){c=vn;var p=c.sibling,b=c.return;if(ox(c),c===o){vn=null;break e}if(p!==null){p.return=b,vn=p;break e}vn=b}}}var bN={getCacheForType:function(a){var i=An(rn),o=i.data.get(a);return o===void 0&&(o=a(),i.data.set(a,o)),o},cacheSignal:function(){return An(rn).controller.signal}},xN=typeof WeakMap=="function"?WeakMap:Map,Tt=0,Ot=null,st=null,ut=0,_t=0,ca=null,Ri=!1,wo=!1,zm=!1,Wr=0,Xt=0,Di=0,Ds=0,Vm=0,da=0,So=0,eu=null,Jn=null,Ym=!1,ud=0,bx=0,cd=1/0,dd=null,Oi=null,gn=0,Li=null,Ao=null,Xr=0,Km=0,qm=null,xx=null,tu=0,Gm=null;function fa(){return(Tt&2)!==0&&ut!==0?ut&-ut:Y.T!==null?Jm():fe()}function vx(){if(da===0)if((ut&536870912)===0||dt){var a=Nr;Nr<<=1,(Nr&3932160)===0&&(Nr=262144),da=a}else da=536870912;return a=la.current,a!==null&&(a.flags|=32),da}function ea(a,i,o){(a===Ot&&(_t===2||_t===9)||a.cancelPendingCommit!==null)&&(_o(a,0),Ii(a,ut,da,!1)),sr(a,o),((Tt&2)===0||a!==Ot)&&(a===Ot&&((Tt&2)===0&&(Ds|=o),Xt===4&&Ii(a,ut,da,!1)),cr(a))}function Tx(a,i,o){if((Tt&6)!==0)throw Error(r(327));var c=!o&&(i&127)===0&&(i&a.expiredLanes)===0||pi(a,i),p=c?EN(a,i):Xm(a,i,!0),b=c;do{if(p===0){wo&&!c&&Ii(a,i,0,!1);break}else{if(o=a.current.alternate,b&&!vN(o)){p=Xm(a,i,!1),b=!1;continue}if(p===2){if(b=i,a.errorRecoveryDisabledLanes&b)var E=0;else E=a.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){i=E;e:{var S=a;p=eu;var M=S.current.memoizedState.isDehydrated;if(M&&(_o(S,E).flags|=256),E=Xm(S,E,!1),E!==2){if(zm&&!M){S.errorRecoveryDisabledLanes|=b,Ds|=b,p=4;break e}b=Jn,Jn=p,b!==null&&(Jn===null?Jn=b:Jn.push.apply(Jn,b))}p=E}if(b=!1,p!==2)continue}}if(p===1){_o(a,0),Ii(a,i,0,!0);break}e:{switch(c=a,b=p,b){case 0:case 1:throw Error(r(345));case 4:if((i&4194048)!==i)break;case 6:Ii(c,i,da,!Ri);break e;case 2:Jn=null;break;case 3:case 5:break;default:throw Error(r(329))}if((i&62914560)===i&&(p=ud+300-wn(),10<p)){if(Ii(c,i,da,!Ri),$s(c,0,!0)!==0)break e;Xr=i,c.timeoutHandle=Zx(Ex.bind(null,c,o,Jn,dd,Ym,i,da,Ds,So,Ri,b,"Throttled",-0,0),p);break e}Ex(c,o,Jn,dd,Ym,i,da,Ds,So,Ri,b,null,-0,0)}}break}while(!0);cr(a)}function Ex(a,i,o,c,p,b,E,S,M,W,ae,se,X,J){if(a.timeoutHandle=-1,se=i.subtreeFlags,se&8192||(se&16785408)===16785408){se={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ir},mx(i,b,se);var Ce=(b&62914560)===b?ud-wn():(b&4194048)===b?bx-wn():0;if(Ce=rC(se,Ce),Ce!==null){Xr=b,a.cancelPendingCommit=Ce(Rx.bind(null,a,i,b,o,c,p,E,S,M,ae,se,null,X,J)),Ii(a,b,E,!W);return}}Rx(a,i,b,o,c,p,E,S,M)}function vN(a){for(var i=a;;){var o=i.tag;if((o===0||o===11||o===15)&&i.flags&16384&&(o=i.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var c=0;c<o.length;c++){var p=o[c],b=p.getSnapshot;p=p.value;try{if(!sa(b(),p))return!1}catch{return!1}}if(o=i.child,i.subtreeFlags&16384&&o!==null)o.return=i,i=o;else{if(i===a)break;for(;i.sibling===null;){if(i.return===null||i.return===a)return!0;
vendor: 14,453 bytes, line 25
25i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Ii(a,i,o,c){i&=~Vm,i&=~Ds,a.suspendedLanes|=i,a.pingedLanes&=~i,c&&(a.warmLanes|=i),c=a.expirationTimes;for(var p=i;0<p;){var b=31-wt(p),E=1<<b;c[b]=-1,p&=~E}o!==0&&Ec(a,o,i)}function fd(){return(Tt&6)===0?(nu(0),!1):!0}function Wm(){if(st!==null){if(_t===0)var a=st.return;else a=st,jr=Es=null,cm(a),go=null,jl=0,a=st;for(;a!==null;)J1(a.alternate,a),a=a.return;st=null}}function _o(a,i){var o=a.timeoutHandle;o!==-1&&(a.timeoutHandle=-1,HN(o)),o=a.cancelPendingCommit,o!==null&&(a.cancelPendingCommit=null,o()),Xr=0,Wm(),Ot=a,st=o=Pr(a.current,null),ut=i,_t=0,ca=null,Ri=!1,wo=pi(a,i),zm=!1,So=da=Vm=Ds=Di=Xt=0,Jn=eu=null,Ym=!1,(i&8)!==0&&(i|=i&32);var c=a.entangledLanes;if(c!==0)for(a=a.entanglements,c&=i;0<c;){var p=31-wt(c),b=1<<p;i|=a[p],c&=~b}return Wr=i,Lc(),o}function wx(a,i){$e=null,Y.H=ql,i===po||i===Fc?(i=Ub(),_t=3):i===Zh?(i=Ub(),_t=4):_t=i===_m?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,ca=i,st===null&&(Xt=1,td(a,Aa(i,a.current)))}function Sx(){var a=la.current;return a===null?!0:(ut&4194048)===ut?Ca===null:(ut&62914560)===ut||(ut&536870912)!==0?a===Ca:!1}function Ax(){var a=Y.H;return Y.H=ql,a===null?ql:a}function _x(){var a=Y.A;return Y.A=bN,a}function hd(){Xt=4,Ri||(ut&4194048)!==ut&&la.current!==null||(wo=!0),(Di&134217727)===0&&(Ds&134217727)===0||Ot===null||Ii(Ot,ut,da,!1)}function Xm(a,i,o){var c=Tt;Tt|=2;var p=Ax(),b=_x();(Ot!==a||ut!==i)&&(dd=null,_o(a,i)),i=!1;var E=Xt;e:do try{if(_t!==0&&st!==null){var S=st,M=ca;switch(_t){case 8:Wm(),E=6;break e;case 3:case 2:case 9:case 6:la.current===null&&(i=!0);var W=_t;if(_t=0,ca=null,ko(a,S,M,W),o&&wo){E=0;break e}break;default:W=_t,_t=0,ca=null,ko(a,S,M,W)}}TN(),E=Xt;break}catch(ae){wx(a,ae)}while(!0);return i&&a.shellSuspendCounter++,jr=Es=null,Tt=c,Y.H=p,Y.A=b,st===null&&(Ot=null,ut=0,Lc()),E}function TN(){for(;st!==null;)kx(st)}function EN(a,i){var o=Tt;Tt|=2;var c=Ax(),p=_x();Ot!==a||ut!==i?(dd=null,cd=wn()+500,_o(a,i)):wo=pi(a,i);e:do try{if(_t!==0&&st!==null){i=st;var b=ca;t:switch(_t){case 1:_t=0,ca=null,ko(a,i,b,1);break;case 2:case 9:if(Bb(b)){_t=0,ca=null,Nx(i);break}i=function(){_t!==2&&_t!==9||Ot!==a||(_t=7),cr(a)},b.then(i,i);break e;case 3:_t=7;break e;case 4:_t=5;break e;case 7:Bb(b)?(_t=0,ca=null,Nx(i)):(_t=0,ca=null,ko(a,i,b,7));break;case 5:var E=null;switch(st.tag){case 26:E=st.memoizedState;case 5:case 27:var S=st;if(E?hv(E):S.stateNode.complete){_t=0,ca=null;var M=S.sibling;if(M!==null)st=M;else{var W=S.return;W!==null?(st=W,md(W)):st=null}break t}}_t=0,ca=null,ko(a,i,b,5);break;case 6:_t=0,ca=null,ko(a,i,b,6);break;case 8:Wm(),Xt=6;break e;default:throw Error(r(462))}}wN();break}catch(ae){wx(a,ae)}while(!0);return jr=Es=null,Y.H=c,Y.A=p,Tt=o,st!==null?0:(Ot=null,ut=0,Lc(),Xt)}function wN(){for(;st!==null&&!El();)kx(st)}function kx(a){var i=$1(a.alternate,a,Wr);a.memoizedProps=a.pendingProps,i===null?md(a):st=i}function Nx(a){var i=a,o=i.alternate;switch(i.tag){case 15:case 0:i=K1(o,i,i.pendingProps,i.type,void 0,ut);break;case 11:i=K1(o,i,i.pendingProps,i.type.render,i.ref,ut);break;case 5:cm(i);default:J1(o,i),i=st=_b(i,Wr),i=$1(o,i,Wr)}a.memoizedProps=a.pendingProps,i===null?md(a):st=i}function ko(a,i,o,c){jr=Es=null,cm(i),go=null,jl=0;var p=i.return;try{if(dN(a,p,i,o,ut)){Xt=1,td(a,Aa(o,a.current)),st=null;return}}catch(b){if(p!==null)throw st=p,b;Xt=1,td(a,Aa(o,a.current)),st=null;return}i.flags&32768?(dt||c===1?a=!0:wo||(ut&536870912)!==0?a=!1:(Ri=a=!0,(c===2||c===9||c===3||c===6)&&(c=la.current,c!==null&&c.tag===13&&(c.flags|=16384))),Cx(i,a)):md(i)}function md(a){var i=a;do{if((i.flags&32768)!==0){Cx(i,Ri);return}a=i.return;var o=mN(i.alternate,i,Wr);if(o!==null){st=o;return}if(i=i.sibling,i!==null){st=i;return}st=i=a}while(i!==null);Xt===0&&(Xt=5)}function Cx(a,i){do{var o=pN(a.alternate,a);if(o!==null){o.flags&=32767,st=o;return}if(o=a.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!i&&(a=a.sibling,a!==null)){st=a;return}st=a=o}while(a!==null);Xt=6,st=null}function Rx(a,i,o,c,p,b,E,S,M){a.cancelPendingCommit=null;do pd();while(gn!==0);if((Tt&6)!==0)throw Error(r(327));if(i!==null){if(i===a.current)throw Error(r(177));if(b=i.lanes|i.childLanes,b|=Bh,Tc(a,o,b,E,S,M),a===Ot&&(st=Ot=null,ut=0),Ao=i,Li=a,Xr=o,Km=b,qm=p,xx=c,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,kN(je,function(){return Mx(),null})):(a.callbackNode=null,a.callbackPriority=0),c=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||c){c=Y.T,Y.T=null,p=re.p,re.p=2,E=Tt,Tt|=4;try{gN(a,i,o)}finally{Tt=E,re.p=p,Y.T=c}}gn=1,Dx(),Ox(),Lx()}}function Dx(){if(gn===1){gn=0;var a=Li,i=Ao,o=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||o){o=Y.T,Y.T=null;var c=re.p;re.p=2;var p=Tt;Tt|=4;try{dx(i,a);var b=op,E=yb(a.containerInfo),S=b.focusedElem,M=b.selectionRange;if(E!==S&&S&&S.ownerDocument&&gb(S.ownerDocument.documentElement,S)){if(M!==null&&Oh(S)){var W=M.start,ae=M.end;if(ae===void 0&&(ae=W),"selectionStart"in S)S.selectionStart=W,S.selectionEnd=Math.min(ae,S.value.length);else{var se=S.ownerDocument||document,X=se&&se.defaultView||window;if(X.getSelection){var J=X.getSelection(),Ce=S.textContent.length,Fe=Math.min(M.start,Ce),Dt=M.end===void 0?Fe:Math.min(M.end,Ce);!J.extend&&Fe>Dt&&(E=Dt,Dt=Fe,Fe=E);var z=pb(S,Fe),H=pb(S,Dt);if(z&&H&&(J.rangeCount!==1||J.anchorNode!==z.node||J.anchorOffset!==z.offset||J.focusNode!==H.node||J.focusOffset!==H.offset)){var G=se.createRange();G.setStart(z.node,z.offset),J.removeAllRanges(),Fe>Dt?(J.addRange(G),J.extend(H.node,H.offset)):(G.setEnd(H.node,H.offset),J.addRange(G))}}}}for(se=[],J=S;J=J.parentNode;)J.nodeType===1&&se.push({element:J,left:J.scrollLeft,top:J.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<se.length;S++){var ie=se[S];ie.element.scrollLeft=ie.left,ie.element.scrollTop=ie.top}}kd=!!sp,op=sp=null}finally{Tt=p,re.p=c,Y.T=o}}a.current=i,gn=2}}function Ox(){if(gn===2){gn=0;var a=Li,i=Ao,o=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||o){o=Y.T,Y.T=null;var c=re.p;re.p=2;var p=Tt;Tt|=4;try{sx(a,i.alternate,i)}finally{Tt=p,re.p=c,Y.T=o}}gn=3}}function Lx(){if(gn===4||gn===3){gn=0,wl();var a=Li,i=Ao,o=Xr,c=xx;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?gn=5:(gn=0,Ao=Li=null,Ix(a,a.pendingLanes));var p=a.pendingLanes;if(p===0&&(Oi=null),K(o),i=i.stateNode,en&&typeof en.onCommitFiberRoot=="function")try{en.onCommitFiberRoot(mn,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=Y.T,p=re.p,re.p=2,Y.T=null;try{for(var b=a.onRecoverableError,E=0;E<c.length;E++){var S=c[E];b(S.value,{componentStack:S.stack})}}finally{Y.T=i,re.p=p}}(Xr&3)!==0&&pd(),cr(a),p=a.pendingLanes,(o&261930)!==0&&(p&42)!==0?a===Gm?tu++:(tu=0,Gm=a):tu=0,nu(0)}}function Ix(a,i){(a.pooledCacheLanes&=i)===0&&(i=a.pooledCache,i!=null&&(a.pooledCache=null,Pl(i)))}function pd(){return Dx(),Ox(),Lx(),Mx()}function Mx(){if(gn!==5)return!1;var a=Li,i=Km;Km=0;var o=K(Xr),c=Y.T,p=re.p;try{re.p=32>o?32:o,Y.T=null,o=qm,qm=null;var b=Li,E=Xr;if(gn=0,Ao=Li=null,Xr=0,(Tt&6)!==0)throw Error(r(331));var S=Tt;if(Tt|=4,gx(b.current),hx(b,b.current,E,o),Tt=S,nu(0,!1),en&&typeof en.onPostCommitFiberRoot=="function")try{en.onPostCommitFiberRoot(mn,b)}catch{}return!0}finally{re.p=p,Y.T=c,Ix(a,i)}}function Px(a,i,o){i=Aa(o,i),i=Am(a.stateNode,i,2),a=_i(a,i,2),a!==null&&(sr(a,2),cr(a))}function kt(a,i,o){if(a.tag===3)Px(a,a,o);else for(;i!==null;){if(i.tag===3){Px(i,a,o);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Oi===null||!Oi.has(c))){a=Aa(o,a),o=B1(2),c=_i(i,o,2),c!==null&&(j1(o,c,i,a),sr(c,2),cr(c));break}}i=i.return}}function Qm(a,i,o){var c=a.pingCache;if(c===null){c=a.pingCache=new xN;var p=new Set;c.set(i,p)}else p=c.get(i),p===void 0&&(p=new Set,c.set(i,p));p.has(o)||(zm=!0,p.add(o),a=SN.bind(null,a,i,o),i.then(a,a))}function SN(a,i,o){var c=a.pingCache;c!==null&&c.delete(i),a.pingedLanes|=a.suspendedLanes&o,a.warmLanes&=~o,Ot===a&&(ut&o)===o&&(Xt===4||Xt===3&&(ut&62914560)===ut&&300>wn()-ud?(Tt&2)===0&&_o(a,0):Vm|=o,So===ut&&(So=0)),cr(a)}function Bx(a,i){i===0&&(i=Sl()),a=xs(a,i),a!==null&&(sr(a,i),cr(a))}function AN(a){var i=a.memoizedState,o=0;i!==null&&(o=i.retryLane),Bx(a,o)}function _N(a,i){var o=0;switch(a.tag){case 31:case 13:var c=a.stateNode,p=a.memoizedState;p!==null&&(o=p.retryLane);break;case 19:c=a.stateNode;break;case 22:c=a.stateNode._retryCache;break;default:throw Error(r(314))}c!==null&&c.delete(i),Bx(a,o)}function kN(a,i){return kr(a,i)}var gd=null,No=null,$m=!1,yd=!1,Zm=!1,Mi=0;function cr(a){a!==No&&a.next===null&&(No===null?gd=No=a:No=No.next=a),yd=!0,$m||($m=!0,CN())}function nu(a,i){if(!Zm&&yd){Zm=!0;do for(var o=!1,c=gd;c!==null;){if(a!==0){var p=c.pendingLanes;if(p===0)var b=0;else{var E=c.suspendedLanes,S=c.pingedLanes;b=(1<<31-wt(42|a)+1)-1,b&=p&~(E&~S),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(o=!0,Fx(c,b))}else b=ut,b=$s(c,c===Ot?b:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(b&3)===0||pi(c,b)||(o=!0,Fx(c,b));c=c.next}while(o);Zm=!1}}function NN(){jx()}function jx(){yd=$m=!1;var a=0;Mi!==0&&UN()&&(a=Mi);for(var i=wn(),o=null,c=gd;c!==null;){var p=c.next,b=Ux(c,i);b===0?(c.next=null,o===null?gd=p:o.next=p,p===null&&(No=o)):(o=c,(a!==0||(b&3)!==0)&&(yd=!0)),c=p}gn!==0&&gn!==5||nu(a),Mi!==0&&(Mi=0)}function Ux(a,i){for(var o=a.suspendedLanes,c=a.pingedLanes,p=a.expirationTimes,b=a.pendingLanes&-62914561;0<b;){var E=31-wt(b),S=1<<E,M=p[E];M===-1?((S&o)===0||(S&c)!==0)&&(p[E]=gh(S,i)):M<=i&&(a.expiredLanes|=S),b&=~S}if(i=Ot,o=ut,o=$s(a,a===i?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),c=a.callbackNode,o===0||a===i&&(_t===2||_t===9)||a.cancelPendingCommit!==null)return c!==null&&c!==null&&fs(c),a.callbackNode=null,a.callbackPriority=0;if((o&3)===0||pi(a,o)){if(i=o&-o,i===a.callbackPriority)return i;switch(c!==null&&fs(c),K(o)){case 2:case 8:o=Te;break;case 32:o=je;break;case 268435456:o=nt;break;default:o=je}return c=Hx.bind(null,a),o=kr(o,c),a.callbackPriority=i,a.callbackNode=o,i}return c!==null&&c!==null&&fs(c),a.callbackPriority=2,a.callbackNode=null,2}function Hx(a,i){if(gn!==0&&gn!==5)return a.callbackNode=null,a.callbackPriority=0,null;var o=a.callbackNode;if(pd()&&a.callbackNode!==o)return null;var c=ut;return c=$s(a,a===Ot?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),c===0?null:(Tx(a,c,i),Ux(a,wn()),a.callbackNode!=null&&a.callbackNode===o?Hx.bind(null,a):null)}function Fx(a,i){if(pd())return null;Tx(a,i,!0)}function CN(){FN(function(){(Tt&6)!==0?kr(ne,NN):jx()})}function Jm(){if(Mi===0){var a=ho;a===0&&(a=hs,hs<<=1,(hs&261888)===0&&(hs=256)),Mi=a}return Mi}function zx(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:Ac(""+a)}function Vx(a,i){var o=i.ownerDocument.createElement("input");return o.name=i.name,o.value=i.value,a.id&&o.setAttribute("form",a.id),i.parentNode.insertBefore(o,i),a=new FormData(a),o.parentNode.removeChild(o),a}function RN(a,i,o,c,p){if(i==="submit"&&o&&o.stateNode===p){var b=zx((p[Ae]||null).action),E=c.submitter;E&&(i=(i=E[Ae]||null)?zx(i.formAction):E.getAttribute("formAction"),i!==null&&(b=i,E=null));var S=new Cc("action","action",null,c,p);a.push({event:S,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Mi!==0){var M=E?Vx(p,E):new FormData(p);xm(o,{pending:!0,data:M,method:p.method,action:b},null,M)}}else typeof b=="function"&&(S.preventDefault(),M=E?Vx(p,E):new FormData(p),xm(o,{pending:!0,data:M,method:p.method,action:b},b,M))},currentTarget:p}]})}}for(var ep=0;ep<Ph.length;ep++){var tp=Ph[ep],DN=tp.toLowerCase(),ON=tp[0].toUpperCase()+tp.slice(1);Wa(DN,"on"+ON)}Wa(vb,"onAnimationEnd"),Wa(Tb,"onAnimationIteration"),Wa(Eb,"onAnimationStart"),Wa("dblclick","onDoubleClick"),Wa("focusin","onFocus"),Wa("focusout","onBlur"),Wa(Wk,"onTransitionRun"),Wa(Xk,"onTransitionStart"),Wa(Qk,"onTransitionCancel"),Wa(wb,"onTransitionEnd"),pn("onMouseEnter",["mouseout","mouseover"]),pn("onMouseLeave",["mouseout","mouseover"]),pn("onPointerEnter",["pointerout","pointerover"]),pn("onPointerLeave",["pointerout","pointerover"]),Ta("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ta("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ta("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ta("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ta("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ta("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var au="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(" "),LN=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(au));function Yx(a,i){i=(i&4)!==0;for(var o=0;o<a.length;o++){var c=a[o],p=c.event;c=c.listeners;e:{var b=void 0;if(i)for(var E=c.length-1;0<=E;E--){var S=c[E],M=S.instance,W=S.currentTarget;if(S=S.listener,M!==b&&p.isPropagationStopped())break e;b=S,p.currentTarget=W;try{b(p)}catch(ae){Oc(ae)}p.currentTarget=null,b=M}else for(E=0;E<c.length;E++){if(S=c[E],M=S.instance,W=S.currentTarget,S=S.listener,M!==b&&p.isPropagationStopped())break e;b=S,p.currentTarget=W;try{b(p)}catch(ae){Oc(ae)}p.currentTarget=null,b=M}}}}function ot(a,i){var o=i[Me];o===void 0&&(o=i[Me]=new Set);var c=a+"__bubble";o.has(c)||(Kx(i,a,2,!1),o.add(c))}function np(a,i,o){var c=0;i&&(c|=4),Kx(o,a,c,i)}var bd="_reactListening"+Math.random().toString(36).slice(2);function ap(a){if(!a[bd]){a[bd]=!0,Ga.forEach(function(o){o!=="selectionchange"&&(LN.has(o)||np(o,!1,a),np(o,!0,a))});var i=a.nodeType===9?a:a.ownerDocument;i===null||i[bd]||(i[bd]=!0,np("selectionchange",!1,i))}}function Kx(a,i,o,c){switch(vv(i)){case 2:var p=oC;break;case 8:p=lC;break;default:p=bp}o=p.bind(null,i,o,a),p=void 0,!wh||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(p=!0),c?p!==void 0?a.addEventListener(i,o,{capture:!0,passive:p}):a.addEventListener(i,o,!0):p!==void 0?a.addEventListener(i,o,{passive:p}):a.addEventListener(i,o,!1)}function rp(a,i,o,c,p){var b=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var E=c.tag;if(E===3||E===4){var S=c.stateNode.containerInfo;
vendor: 2,687 bytes, line 25
25if(S===p)break;if(E===4)for(E=c.return;E!==null;){var M=E.tag;if((M===3||M===4)&&E.stateNode.containerInfo===p)return;E=E.return}for(;S!==null;){if(E=Bt(S),E===null)return;if(M=E.tag,M===5||M===6||M===26||M===27){c=b=E;continue e}S=S.parentNode}}c=c.return}Qy(function(){var W=b,ae=Th(o),se=[];e:{var X=Sb.get(a);if(X!==void 0){var J=Cc,Ce=a;switch(a){case"keypress":if(kc(o)===0)break e;case"keydown":case"keyup":J=_k;break;case"focusin":Ce="focus",J=kh;break;case"focusout":Ce="blur",J=kh;break;case"beforeblur":case"afterblur":J=kh;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=Jy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=mk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=Ck;break;case vb:case Tb:case Eb:J=yk;break;case wb:J=Dk;break;case"scroll":case"scrollend":J=fk;break;case"wheel":J=Lk;break;case"copy":case"cut":case"paste":J=xk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=tb;break;case"toggle":case"beforetoggle":J=Mk}var Fe=(i&4)!==0,Dt=!Fe&&(a==="scroll"||a==="scrollend"),z=Fe?X!==null?X+"Capture":null:X;Fe=[];for(var H=W,G;H!==null;){var ie=H;if(G=ie.stateNode,ie=ie.tag,ie!==5&&ie!==26&&ie!==27||G===null||z===null||(ie=Al(H,z),ie!=null&&Fe.push(ru(H,ie,G))),Dt)break;H=H.return}0<Fe.length&&(X=new J(X,Ce,null,o,ae),se.push({event:X,listeners:Fe}))}}if((i&7)===0){e:{if(X=a==="mouseover"||a==="pointerover",J=a==="mouseout"||a==="pointerout",X&&o!==vh&&(Ce=o.relatedTarget||o.fromElement)&&(Bt(Ce)||Ce[we]))break e;if((J||X)&&(X=ae.window===ae?ae:(X=ae.ownerDocument)?X.defaultView||X.parentWindow:window,J?(Ce=o.relatedTarget||o.toElement,J=W,Ce=Ce?Bt(Ce):null,Ce!==null&&(Dt=l(Ce),Fe=Ce.tag,Ce!==Dt||Fe!==5&&Fe!==27&&Fe!==6)&&(Ce=null)):(J=null,Ce=W),J!==Ce)){if(Fe=Jy,ie="onMouseLeave",z="onMouseEnter",H="mouse",(a==="pointerout"||a==="pointerover")&&(Fe=tb,ie="onPointerLeave",z="onPointerEnter",H="pointer"),Dt=J==null?X:Un(J),G=Ce==null?X:Un(Ce),X=new Fe(ie,H+"leave",J,o,ae),X.target=Dt,X.relatedTarget=G,ie=null,Bt(ae)===W&&(Fe=new Fe(z,H+"enter",Ce,o,ae),Fe.target=G,Fe.relatedTarget=Dt,ie=Fe),Dt=ie,J&&Ce)t:{for(Fe=IN,z=J,H=Ce,G=0,ie=z;ie;ie=Fe(ie))G++;ie=0;for(var Pe=H;Pe;Pe=Fe(Pe))ie++;for(;0<G-ie;)z=Fe(z),G--;for(;0<ie-G;)H=Fe(H),ie--;for(;G--;){if(z===H||H!==null&&z===H.alternate){Fe=z;break t}z=Fe(z),H=Fe(H)}Fe=null}else Fe=null;J!==null&&qx(se,X,J,Fe,!1),Ce!==null&&Dt!==null&&qx(se,Dt,Ce,Fe,!0)}}
vendor: 5,203 bytes, lines 25-26
25e:{if(X=W?Un(W):window,J=X.nodeName&&X.nodeName.toLowerCase(),J==="select"||J==="input"&&X.type==="file")var pt=ub;else if(ob(X))if(cb)pt=Kk;else{pt=Vk;var Le=zk}else J=X.nodeName,!J||J.toLowerCase()!=="input"||X.type!=="checkbox"&&X.type!=="radio"?W&&xh(W.elementType)&&(pt=ub):pt=Yk;if(pt&&(pt=pt(a,W))){lb(se,pt,o,ae);break e}Le&&Le(a,X,W),a==="focusout"&&W&&X.type==="number"&&W.memoizedProps.value!=null&&bh(X,"number",X.value)}switch(Le=W?Un(W):window,a){case"focusin":(ob(Le)||Le.contentEditable==="true")&&(ro=Le,Lh=W,Ll=null);break;case"focusout":Ll=Lh=ro=null;break;case"mousedown":Ih=!0;break;case"contextmenu":case"mouseup":case"dragend":Ih=!1,bb(se,o,ae);break;case"selectionchange":if(Gk)break;case"keydown":case"keyup":bb(se,o,ae)}var Ze;if(Ch)e:{switch(a){case"compositionstart":var ct="onCompositionStart";break e;case"compositionend":ct="onCompositionEnd";break e;case"compositionupdate":ct="onCompositionUpdate";break e}ct=void 0}else ao?ib(a,o)&&(ct="onCompositionEnd"):a==="keydown"&&o.keyCode===229&&(ct="onCompositionStart");ct&&(nb&&o.locale!=="ko"&&(ao||ct!=="onCompositionStart"?ct==="onCompositionEnd"&&ao&&(Ze=$y()):(xi=ae,Sh="value"in xi?xi.value:xi.textContent,ao=!0)),Le=xd(W,ct),0<Le.length&&(ct=new eb(ct,a,null,o,ae),se.push({event:ct,listeners:Le}),Ze?ct.data=Ze:(Ze=sb(o),Ze!==null&&(ct.data=Ze)))),(Ze=Bk?jk(a,o):Uk(a,o))&&(ct=xd(W,"onBeforeInput"),0<ct.length&&(Le=new eb("onBeforeInput","beforeinput",null,o,ae),se.push({event:Le,listeners:ct}),Le.data=Ze)),RN(se,a,W,o,ae)}Yx(se,i)})}function ru(a,i,o){return{instance:a,listener:i,currentTarget:o}}function xd(a,i){for(var o=i+"Capture",c=[];a!==null;){var p=a,b=p.stateNode;if(p=p.tag,p!==5&&p!==26&&p!==27||b===null||(p=Al(a,o),p!=null&&c.unshift(ru(a,p,b)),p=Al(a,i),p!=null&&c.push(ru(a,p,b))),a.tag===3)return c;a=a.return}return[]}function IN(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function qx(a,i,o,c,p){for(var b=i._reactName,E=[];o!==null&&o!==c;){var S=o,M=S.alternate,W=S.stateNode;if(S=S.tag,M!==null&&M===c)break;S!==5&&S!==26&&S!==27||W===null||(M=W,p?(W=Al(o,b),W!=null&&E.unshift(ru(o,W,M))):p||(W=Al(o,b),W!=null&&E.push(ru(o,W,M)))),o=o.return}E.length!==0&&a.push({event:i,listeners:E})}var MN=/\r\n?/g,PN=/\u0000|\uFFFD/g;function Gx(a){return(typeof a=="string"?a:""+a).replace(MN,`
26`).replace(PN,"")}function Wx(a,i){return i=Gx(i),Gx(a)===i}function Rt(a,i,o,c,p,b){switch(o){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||eo(a,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&eo(a,""+c);break;case"className":Lr(a,"class",c);break;case"tabIndex":Lr(a,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":Lr(a,o,c);break;case"style":Wy(a,c,b);break;case"data":if(i!=="object"){Lr(a,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||o!=="href")){a.removeAttribute(o);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){a.removeAttribute(o);break}c=Ac(""+c),a.setAttribute(o,c);break;case"action":case"formAction":if(typeof c=="function"){a.setAttribute(o,"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 b=="function"&&(o==="formAction"?(i!=="input"&&Rt(a,i,"name",p.name,p,null),Rt(a,i,"formEncType",p.formEncType,p,null),Rt(a,i,"formMethod",p.formMethod,p,null),Rt(a,i,"formTarget",p.formTarget,p,null)):(Rt(a,i,"encType",p.encType,p,null),Rt(a,i,"method",p.method,p,null),Rt(a,i,"target",p.target,p,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){a.removeAttribute(o);break}c=Ac(""+c),a.setAttribute(o,c);break;case"onClick":c!=null&&(a.onclick=Ir);break;case"onScroll":c!=null&&ot("scroll",a);break;case"onScrollEnd":c!=null&&ot("scrollend",a);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(o=c.__html,o!=null){if(p.children!=null)throw Error(r(60));a.innerHTML=o}}break;case"multiple":a.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":a.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"){a.removeAttribute("xlink:href");break}o=Ac(""+c),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);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"?a.setAttribute(o,""+c):a.removeAttribute(o);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"playsInl
26ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?a.setAttribute(o,""):a.removeAttribute(o);break;case"capture":case"download":c===!0?a.setAttribute(o,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?a.setAttribute(o,c):a.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?a.setAttribute(o,c):a.removeAttribute(o);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?a.removeAttribute(o):a.setAttribute(o,c);break;case"popover":ot("beforetoggle",a),ot("toggle",a),Or(a,"popover",c);break;case"xlinkActuate":qe(a,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":qe(a,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":qe(a,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":qe(a,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":qe(a,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":qe(a,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":qe(a,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":qe(a,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":qe(a,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Or(a,"is",c);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=ck.get(o)||o,Or(a,o,c))}}function ip(a,i,o,c,p,b){switch(o){case"style":Wy(a,c,b);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(o=c.__html,o!=null){if(p.children!=null)throw Error(r(60));a.innerHTML=o}}break;case"children":typeof c=="string"?eo(a,c):(typeof c=="number"||typeof c=="bigint")&&eo(a,""+c);break;case"onScroll":c!=null&&ot("scroll",a);break;case"onScrollEnd":c!=null&&ot("scrollend",a);break;case"onClick":c!=null&&(a.onclick=Ir);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Cr.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(p=o.endsWith("Capture"),i=o.slice(2,p?o.length-7:void 0),b=a[Ae]||null,b=b!=null?b[o]:null,typeof b=="function"&&a.removeEventListener(i,b,p),typeof c=="function")){typeof b!="function"&&b!==null&&(o in a?a[o]=null:a.hasAttribute(o)&&a.removeAttribute(o)),a.addEventListener(i,c,p);break e}o in a?a[o]=c:c===!0?a.setAttribute(o,""):Or(a,o,c)}}}function kn(a,i,o){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ot("error",a),ot("load",a);var c=!1,p=!1,b;for(b in o)if(o.hasOwnProperty(b)){var E=o[b];if(E!=null)switch(b){case"src":c=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Rt(a,i,b,E,o,null)}}p&&Rt(a,i,"srcSet",o.srcSet,o,null),c&&Rt(a,i,"src",o.src,o,null);return;case"input":ot("invalid",a);var S=b=E=p=null,M=null,W=null;for(c in o)if(o.hasOwnProperty(c)){var ae=o[c];if(ae!=null)switch(c){case"name":p=ae;break;case"type":E=ae;break;case"checked":M=ae;break;case"defaultChecked":W=ae;break;case"value":b=ae;break;case"defaultValue":S=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(r(137,i));break;default:Rt(a,i,c,ae,o,null)}}Yy(a,b,S,M,W,E,p,!1);return;case"select":ot("invalid",a),c=E=b=null;for(p in o)if(o.hasOwnProperty(p)&&(S=o[p],S!=null))switch(p){case"value":b=S;break;case"defaultValue":E=S;break;case"multiple":c=S;default:Rt(a,i,p,S,o,null)}i=b,o=E,a.multiple=!!c,i!=null?Js(a,!!c,i,!1):o!=null&&Js(a,!!c,o,!0);return;case"textarea":ot("invalid",a),b=p=c=null;for(E in o)if(o.hasOwnProperty(E)&&(S=o[E],S!=null))switch(E){case"value":c=S;break;case"defaultValue":p=S;break;case"children":b=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(r(91));break;default:Rt(a,i,E,S,o,null)}qy(a,c,p,b);return;case"option":for(M in o)if(o.hasOwnProperty(M)&&(c=o[M],c!=null))switch(M){case"selected":a.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Rt(a,i,M,c,o,null)}return;case"dialog":ot("beforetoggle",a),ot("toggle",a),ot("cancel",a),ot("close",a);break;case"iframe":case"object":ot("load",a);break;case"video":case"audio":for(c=0;c<au.length;c++)ot(au[c],a);break;case"image":ot("error",a),ot("load",a);break;case"details":ot("toggle",a);break;case"embed":case"source":case"link":ot("error",a),ot("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(W in o)if(o.hasOwnProperty(W)&&(c=o[W],c!=null))switch(W){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Rt(a,i,W,c,o,null)}return;default:if(xh(i)){for(ae in o)o.hasOwnProperty(ae)&&(c=o[ae],c!==void 0&&ip(a,i,ae,c,o,void 0));return}}for(S in o)o.hasOwnProperty(S)&&(c=o[S],c!=null&&Rt(a,i,S,c,o,null))}function BN(a,i,o,c){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var p=null,b=null,E=null,S=null,M=null,W=null,ae=null;for(J in o){var se=o[J];if(o.hasOwnProperty(J)&&se!=null)switch(J){case"checked":break;case"value":break;case"defaultValue":M=se;default:c.hasOwnProperty(J)||Rt(a,i,J,null,c,se)}}for(var X in c){var J=c[X];if(se=o[X],c.hasOwnProperty(X)&&(J!=null||se!=null))switch(X){case"type":b=J;break;case"name":p=J;break;case"checked":W=J;break;case"defaultChecked":ae=J;break;case"value":E=J;break;case"defaultValue":S=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(r(137,i));break;default:J!==se&&Rt(a,i,X,J,c,se)}}yh(a,E,S,M,W,ae,b,p);return;case"select":J=E=S=X=null;for(b in o)if(M=o[b],o.hasOwnProperty(b)&&M!=null)switch(b){case"value":break;case"multiple":J=M;default:c.hasOwnProperty(b)||Rt(a,i,b,null,c,M)}for(p in c)if(b=c[p],M=o[p],c.hasOwnProperty(p)&&(b!=null||M!=null))switch(p){case"value":X=b;break;case"defaultValue":S=b;break;case"multiple":E=b;default:b!==M&&Rt(a,i,p,b,c,M)}i=S,o=E,c=J,X!=null?Js(a,!!o,X,!1):!!c!=!!o&&(i!=null?Js(a,!!o,i,!0):Js(a,!!o,o?[]:"",!1));return;case"textarea":J=X=null;for(S in o)if(p=o[S],o.hasOwnProperty(S)&&p!=null&&!c.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Rt(a,i,S,null,c,p)}for(E in c)if(p=c[E],b=o[E],c.hasOwnProperty(E)&&(p!=null||b!=null))switch(E){case"value":X=p;break;case"defaultValue":J=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(r(91));break;default:p!==b&&Rt(a,i,E,p,c,b)}Ky(a,X,J);return;case"option":for(var Ce in o)if(X=o[Ce],o.hasOwnProperty(Ce)&&X!=null&&!c.hasOwnProperty(Ce))switch(Ce){case"selected":a.selected=!1;break;default:Rt(a,i,Ce,null,c,X)}for(M in c)if(X=c[M],J=o[M],c.hasOwnProperty(M)&&X!==J&&(X!=null||J!=null))switch(M){case"selected":a.selected=X&&typeof X!="function"&&typeof X!="symbol";break;default:Rt(a,i,M,X,c,J)}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 Fe in o)X=o[Fe],o.hasOwnProperty(Fe)&&X!=null&&!c.hasOwnProperty(Fe)&&Rt(a,i,Fe,null,c,X);for(W in c)if(X=c[W],J=o[W],c.hasOwnProperty(W)&&X!==J&&(X!=null||J!=null))switch(W){case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(r(137,i));break;default:Rt(a,i,W,X,c,J)}return;default:if(xh(i)){for(var Dt in o)X=o[Dt],o.hasOwnProperty(Dt)&&X!==void 0&&!c.hasOwnProperty(Dt)&&ip(a,i,Dt,void 0,c,X);for(ae in c)X=c[ae],J=o[ae],!c.hasOwnProperty(ae)||X===J||X===void 0&&J===void 0||ip(a,i,ae,X,c,J);return}}for(var z in o)X=o[z],o.hasOwnProperty(z)&&X!=null&&!c.hasOwnProperty(z)&&Rt(a,i,z,null,c,X);for(se in c)X=c[se],J=o[se],!c.hasOwnProperty(se)||X===J||X==null&&J==null||Rt(a,i,se,X,c,J)}function Xx(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function jN(){if(typeof performance.getEntriesByType=="function"){for(var a=0,i=0,o=performance.getEntriesByType("resource"),c=0;c<o.length;c++){var p=o[c],b=p.transferSize,E=p.initiatorType,S=p.duration;if(b&&S&&Xx(E)){for(E=0,S=p.responseEnd,c+=1;c<o.length;c++){var M=o[c],W=M.startTime;if(W>S)break;var ae=M.transferSize,se=M.initiatorType;ae&&Xx(se)&&(M=M.responseEnd,E+=ae*(M<S?1:(S-W)/(M-W)))}if(--c,i+=8*(b+E)/(p.duration/1e3),a++,10<a)break}}if(0<a)return i/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a=="number")?a:5}var sp=null,op=null;function vd(a){return a.nodeType===9?a:a.ownerDocument}function Qx(a){switch(a){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function $x(a,i){if(a===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return a===1&&i==="foreignObject"?0:a}function lp(a,i){return a==="textarea"||a==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var up=null;function UN(){var a=window.event;return a&&a.type==="popstate"?a===up?!1:(up=a,!0):(up=null,!1)}var Zx=typeof setTimeout=="function"?setTimeout:void 0,HN=typeof clearTimeout=="function"?clearTimeout:void 0,Jx=typeof Promise=="function"?Promise:void 0,FN=typeof queueMicrotask=="function"?queueMicrotask:typeof Jx<"u"?function(a){return Jx.resolve(null).then(a).catch(zN)}:Zx;function zN(a){setTimeout(function(){throw a})}function Pi(a){return a==="head"}function ev(a,i){var o=i,c=0;do{var p=o.nextSibling;if(a.removeChild(o),p&&p.nodeType===8)if(o=p.data,o==="/$"||o==="/&"){if(c===0){a.removeChild(p),Oo(i);return}c--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")c++;else if(o==="html")iu(a.ownerDocument.documentElement);else if(o==="head"){o=a.ownerDocument.head,iu(o);for(var b=o.firstChild;b;){var E=b.nextSibling,S=b.nodeName;b[bt]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&b.rel.toLowerCase()==="stylesheet"||o.removeChild(b),b=E}}else o==="body"&&iu(a.ownerDocument.body);o=p}while(o);Oo(i)}function tv(a,i){var o=a;a=0;do{var c=o.nextSibling;
vendor: 14,732 bytes, line 26
26if(o.nodeType===1?i?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(i?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),c&&c.nodeType===8)if(o=c.data,o==="/$"){if(a===0)break;a--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||a++;o=c}while(o)}function cp(a){var i=a.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var o=i;switch(i=i.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":cp(o),mt(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}a.removeChild(o)}}function VN(a,i,o,c){for(;a.nodeType===1;){var p=o;if(a.nodeName.toLowerCase()!==i.toLowerCase()){if(!c&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(c){if(!a[bt])switch(i){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(b=a.getAttribute("rel"),b==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(b!==p.rel||a.getAttribute("href")!==(p.href==null||p.href===""?null:p.href)||a.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin)||a.getAttribute("title")!==(p.title==null?null:p.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(b=a.getAttribute("src"),(b!==(p.src==null?null:p.src)||a.getAttribute("type")!==(p.type==null?null:p.type)||a.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin))&&b&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(i==="input"&&a.type==="hidden"){var b=p.name==null?null:""+p.name;if(p.type==="hidden"&&a.getAttribute("name")===b)return a}else return a;if(a=Ra(a.nextSibling),a===null)break}return null}function YN(a,i,o){if(i==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!o||(a=Ra(a.nextSibling),a===null))return null;return a}function nv(a,i){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!i||(a=Ra(a.nextSibling),a===null))return null;return a}function dp(a){return a.data==="$?"||a.data==="$~"}function fp(a){return a.data==="$!"||a.data==="$?"&&a.ownerDocument.readyState!=="loading"}function KN(a,i){var o=a.ownerDocument;if(a.data==="$~")a._reactRetry=i;else if(a.data!=="$?"||o.readyState!=="loading")i();else{var c=function(){i(),o.removeEventListener("DOMContentLoaded",c)};o.addEventListener("DOMContentLoaded",c),a._reactRetry=c}}function Ra(a){for(;a!=null;a=a.nextSibling){var i=a.nodeType;if(i===1||i===3)break;if(i===8){if(i=a.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return a}var hp=null;function av(a){a=a.nextSibling;for(var i=0;a;){if(a.nodeType===8){var o=a.data;if(o==="/$"||o==="/&"){if(i===0)return Ra(a.nextSibling);i--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||i++}a=a.nextSibling}return null}function rv(a){a=a.previousSibling;for(var i=0;a;){if(a.nodeType===8){var o=a.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(i===0)return a;i--}else o!=="/$"&&o!=="/&"||i++}a=a.previousSibling}return null}function iv(a,i,o){switch(i=vd(o),a){case"html":if(a=i.documentElement,!a)throw Error(r(452));return a;case"head":if(a=i.head,!a)throw Error(r(453));return a;case"body":if(a=i.body,!a)throw Error(r(454));return a;default:throw Error(r(451))}}function iu(a){for(var i=a.attributes;i.length;)a.removeAttributeNode(i[0]);mt(a)}var Da=new Map,sv=new Set;function Td(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}var Qr=re.d;re.d={f:qN,r:GN,D:WN,C:XN,L:QN,m:$N,X:JN,S:ZN,M:eC};function qN(){var a=Qr.f(),i=fd();return a||i}function GN(a){var i=Qe(a);i!==null&&i.tag===5&&i.type==="form"?w1(i):Qr.r(a)}var Co=typeof document>"u"?null:document;function ov(a,i,o){var c=Co;if(c&&typeof i=="string"&&i){var p=Wn(i);p='link[rel="'+a+'"][href="'+p+'"]',typeof o=="string"&&(p+='[crossorigin="'+o+'"]'),sv.has(p)||(sv.add(p),a={rel:a,crossOrigin:o,href:i},c.querySelector(p)===null&&(i=c.createElement("link"),kn(i,"link",a),xt(i),c.head.appendChild(i)))}}function WN(a){Qr.D(a),ov("dns-prefetch",a,null)}function XN(a,i){Qr.C(a,i),ov("preconnect",a,i)}function QN(a,i,o){Qr.L(a,i,o);var c=Co;if(c&&a&&i){var p='link[rel="preload"][as="'+Wn(i)+'"]';i==="image"&&o&&o.imageSrcSet?(p+='[imagesrcset="'+Wn(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(p+='[imagesizes="'+Wn(o.imageSizes)+'"]')):p+='[href="'+Wn(a)+'"]';var b=p;switch(i){case"style":b=Ro(a);break;case"script":b=Do(a)}Da.has(b)||(a=y({rel:"preload",href:i==="image"&&o&&o.imageSrcSet?void 0:a,as:i},o),Da.set(b,a),c.querySelector(p)!==null||i==="style"&&c.querySelector(su(b))||i==="script"&&c.querySelector(ou(b))||(i=c.createElement("link"),kn(i,"link",a),xt(i),c.head.appendChild(i)))}}function $N(a,i){Qr.m(a,i);var o=Co;if(o&&a){var c=i&&typeof i.as=="string"?i.as:"script",p='link[rel="modulepreload"][as="'+Wn(c)+'"][href="'+Wn(a)+'"]',b=p;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=Do(a)}if(!Da.has(b)&&(a=y({rel:"modulepreload",href:a},i),Da.set(b,a),o.querySelector(p)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(ou(b)))return}c=o.createElement("link"),kn(c,"link",a),xt(c),o.head.appendChild(c)}}}function ZN(a,i,o){Qr.S(a,i,o);var c=Co;if(c&&a){var p=Gt(c).hoistableStyles,b=Ro(a);i=i||"default";var E=p.get(b);if(!E){var S={loading:0,preload:null};if(E=c.querySelector(su(b)))S.loading=5;else{a=y({rel:"stylesheet",href:a,"data-precedence":i},o),(o=Da.get(b))&&mp(a,o);var M=E=c.createElement("link");xt(M),kn(M,"link",a),M._p=new Promise(function(W,ae){M.onload=W,M.onerror=ae}),M.addEventListener("load",function(){S.loading|=1}),M.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Ed(E,i,c)}E={type:"stylesheet",instance:E,count:1,state:S},p.set(b,E)}}}function JN(a,i){Qr.X(a,i);var o=Co;if(o&&a){var c=Gt(o).hoistableScripts,p=Do(a),b=c.get(p);b||(b=o.querySelector(ou(p)),b||(a=y({src:a,async:!0},i),(i=Da.get(p))&&pp(a,i),b=o.createElement("script"),xt(b),kn(b,"link",a),o.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},c.set(p,b))}}function eC(a,i){Qr.M(a,i);var o=Co;if(o&&a){var c=Gt(o).hoistableScripts,p=Do(a),b=c.get(p);b||(b=o.querySelector(ou(p)),b||(a=y({src:a,async:!0,type:"module"},i),(i=Da.get(p))&&pp(a,i),b=o.createElement("script"),xt(b),kn(b,"link",a),o.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},c.set(p,b))}}function lv(a,i,o,c){var p=(p=Ke.current)?Td(p):null;if(!p)throw Error(r(446));switch(a){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(i=Ro(o.href),o=Gt(p).hoistableStyles,c=o.get(i),c||(c={type:"style",instance:null,count:0,state:null},o.set(i,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){a=Ro(o.href);var b=Gt(p).hoistableStyles,E=b.get(a);if(E||(p=p.ownerDocument||p,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(a,E),(b=p.querySelector(su(a)))&&!b._p&&(E.instance=b,E.state.loading=5),Da.has(a)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Da.set(a,o),b||tC(p,a,o,E.state))),i&&c===null)throw Error(r(528,""));return E}if(i&&c!==null)throw Error(r(529,""));return null;case"script":return i=o.async,o=o.src,typeof o=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Do(o),o=Gt(p).hoistableScripts,c=o.get(i),c||(c={type:"script",instance:null,count:0,state:null},o.set(i,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function Ro(a){return'href="'+Wn(a)+'"'}function su(a){return'link[rel="stylesheet"]['+a+"]"}function uv(a){return y({},a,{"data-precedence":a.precedence,precedence:null})}function tC(a,i,o,c){a.querySelector('link[rel="preload"][as="style"]['+i+"]")?c.loading=1:(i=a.createElement("link"),c.preload=i,i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),kn(i,"link",o),xt(i),a.head.appendChild(i))}function Do(a){return'[src="'+Wn(a)+'"]'}function ou(a){return"script[async]"+a}function cv(a,i,o){if(i.count++,i.instance===null)switch(i.type){case"style":var c=a.querySelector('style[data-href~="'+Wn(o.href)+'"]');if(c)return i.instance=c,xt(c),c;var p=y({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return c=(a.ownerDocument||a).createElement("style"),xt(c),kn(c,"style",p),Ed(c,o.precedence,a),i.instance=c;case"stylesheet":p=Ro(o.href);var b=a.querySelector(su(p));if(b)return i.state.loading|=4,i.instance=b,xt(b),b;c=uv(o),(p=Da.get(p))&&mp(c,p),b=(a.ownerDocument||a).createElement("link"),xt(b);var E=b;return E._p=new Promise(function(S,M){E.onload=S,E.onerror=M}),kn(b,"link",c),i.state.loading|=4,Ed(b,o.precedence,a),i.instance=b;case"script":return b=Do(o.src),(p=a.querySelector(ou(b)))?(i.instance=p,xt(p),p):(c=o,(p=Da.get(b))&&(c=y({},o),pp(c,p)),a=a.ownerDocument||a,p=a.createElement("script"),xt(p),kn(p,"link",c),a.head.appendChild(p),i.instance=p);case"void":return null;default:throw Error(r(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(c=i.instance,i.state.loading|=4,Ed(c,o.precedence,a));return i.instance}function Ed(a,i,o){for(var c=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=c.length?c[c.length-1]:null,b=p,E=0;E<c.length;E++){var S=c[E];if(S.dataset.precedence===i)b=S;else if(b!==p)break}b?b.parentNode.insertBefore(a,b.nextSibling):(i=o.nodeType===9?o.head:o,i.insertBefore(a,i.firstChild))}function mp(a,i){a.crossOrigin==null&&(a.crossOrigin=i.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=i.referrerPolicy),a.title==null&&(a.title=i.title)}function pp(a,i){a.crossOrigin==null&&(a.crossOrigin=i.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=i.referrerPolicy),a.integrity==null&&(a.integrity=i.integrity)}var wd=null;function dv(a,i,o){if(wd===null){var c=new Map,p=wd=new Map;p.set(o,c)}else p=wd,c=p.get(o),c||(c=new Map,p.set(o,c));if(c.has(a))return c;for(c.set(a,null),o=o.getElementsByTagName(a),p=0;p<o.length;p++){var b=o[p];if(!(b[bt]||b[Se]||a==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var E=b.getAttribute(i)||"";E=a+E;var S=c.get(E);S?S.push(b):c.set(E,[b])}}return c}function fv(a,i,o){a=a.ownerDocument||a,a.head.insertBefore(o,i==="title"?a.querySelector("head > title"):null)}function nC(a,i,o){if(o===1||i.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return a=i.disabled,typeof i.precedence=="string"&&a==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function hv(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function aC(a,i,o,c){if(o.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var p=Ro(c.href),b=i.querySelector(su(p));if(b){i=b._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(a.count++,a=Sd.bind(a),i.then(a,a)),o.state.loading|=4,o.instance=b,xt(b);return}b=i.ownerDocument||i,c=uv(c),(p=Da.get(p))&&mp(c,p),b=b.createElement("link"),xt(b);var E=b;E._p=new Promise(function(S,M){E.onload=S,E.onerror=M}),kn(b,"link",c),o.instance=b}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(o,i),(i=o.state.preload)&&(o.state.loading&3)===0&&(a.count++,o=Sd.bind(a),i.addEventListener("load",o),i.addEventListener("error",o))}}var gp=0;function rC(a,i){return a.stylesheets&&a.count===0&&_d(a,a.stylesheets),0<a.count||0<a.imgCount?function(o){var c=setTimeout(function(){if(a.stylesheets&&_d(a,a.stylesheets),a.unsuspend){var b=a.unsuspend;a.unsuspend=null,b()}},6e4+i);0<a.imgBytes&&gp===0&&(gp=62500*jN());var p=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&_d(a,a.stylesheets),a.unsuspend)){var b=a.unsuspend;a.unsuspend=null,b()}},(a.imgBytes>gp?50:800)+i);return a.unsuspend=o,function(){a.unsuspend=null,clearTimeout(c),clearTimeout(p)}}:null}function Sd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)_d(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var Ad=null;function _d(a,i){a.stylesheets=null,a.unsuspend!==null&&(a.count++,Ad=new Map,i.forEach(iC,a),Ad=null,Sd.call(a))}function iC(a,i){if(!(i.state.loading&4)){var o=Ad.get(a);if(o)var c=o.get(null);else{o=new Map,Ad.set(a,o);for(var p=a.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<p.length;b++){var E=p[b];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(o.set(E.dataset.precedence,E),c=E)}c&&o.set(null,c)}p=i.instance,E=p.getAttribute("data-precedence"),b=o.get(E)||c,b===c&&o.set(null,p),o.set(E,p),this.count++,c=Sd.bind(this),p.addEventListener("load",c),p.addEventListener("error",c),b?b.parentNode.insertBefore(p,b.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(p,a.firstChild)),i.state.loading|=4}}var lu={$$typeof:I,Provider:null,Consumer:null,_currentValue:pe,_currentValue2:pe,_threadCount:0};function sC(a,i,o,c,p,b,E,S,M){this.tag=1,this.containerInfo=a,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=gi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gi(0),this.hiddenUpdates=gi(null),this.identifierPrefix=c,this.onUncaughtError=p,this.onCaughtError=b,this.onRecoverableError=E,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map}function mv(a,i,o,c,p,b,E,S,M,W,ae,se){return a=new sC(a,i,o,E,M,W,ae,se,S),i=1,b===!0&&(i|=24),b=oa(3,null,null,i),a.current=b,b.stateNode=a,i=Xh(),i.refCount++,a.pooledCache=i,i.refCount++,b.memoizedState={element:c,isDehydrated:o,cache:i}
vendor: 7,564 bytes, line 26
26,Jh(b),a}function pv(a){return a?(a=oo,a):oo}function gv(a,i,o,c,p,b){p=pv(p),c.context===null?c.context=p:c.pendingContext=p,c=Ai(i),c.payload={element:o},b=b===void 0?null:b,b!==null&&(c.callback=b),o=_i(a,c,i),o!==null&&(ea(o,a,i),Hl(o,a,i))}function yv(a,i){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var o=a.retryLane;a.retryLane=o!==0&&o<i?o:i}}function yp(a,i){yv(a,i),(a=a.alternate)&&yv(a,i)}function bv(a){if(a.tag===13||a.tag===31){var i=xs(a,67108864);i!==null&&ea(i,a,67108864),yp(a,67108864)}}function xv(a){if(a.tag===13||a.tag===31){var i=fa();i=F(i);var o=xs(a,i);o!==null&&ea(o,a,i),yp(a,i)}}var kd=!0;function oC(a,i,o,c){var p=Y.T;Y.T=null;var b=re.p;try{re.p=2,bp(a,i,o,c)}finally{re.p=b,Y.T=p}}function lC(a,i,o,c){var p=Y.T;Y.T=null;var b=re.p;try{re.p=8,bp(a,i,o,c)}finally{re.p=b,Y.T=p}}function bp(a,i,o,c){if(kd){var p=xp(c);if(p===null)rp(a,i,c,Nd,o),Tv(a,c);else if(cC(p,a,i,o,c))c.stopPropagation();else if(Tv(a,c),i&4&&-1<uC.indexOf(a)){for(;p!==null;){var b=Qe(p);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var E=qa(b.pendingLanes);if(E!==0){var S=b;for(S.pendingLanes|=2,S.entangledLanes|=2;E;){var M=1<<31-wt(E);S.entanglements[1]|=M,E&=~M}cr(b),(Tt&6)===0&&(cd=wn()+500,nu(0))}}break;case 31:case 13:S=xs(b,2),S!==null&&ea(S,b,2),fd(),yp(b,2)}if(b=xp(c),b===null&&rp(a,i,c,Nd,o),b===p)break;p=b}p!==null&&c.stopPropagation()}else rp(a,i,c,null,o)}}function xp(a){return a=Th(a),vp(a)}var Nd=null;function vp(a){if(Nd=null,a=Bt(a),a!==null){var i=l(a);if(i===null)a=null;else{var o=i.tag;if(o===13){if(a=u(i),a!==null)return a;a=null}else if(o===31){if(a=d(i),a!==null)return a;a=null}else if(o===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;a=null}else i!==a&&(a=null)}}return Nd=a,null}function vv(a){switch(a){case"beforetoggle":case"cancel":case"click":case"close":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(Va()){case ne:return 2;case Te:return 8;case je:case Ve:return 32;case nt:return 268435456;default:return 32}default:return 32}}var Tp=!1,Bi=null,ji=null,Ui=null,uu=new Map,cu=new Map,Hi=[],uC="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 Tv(a,i){switch(a){case"focusin":case"focusout":Bi=null;break;case"dragenter":case"dragleave":ji=null;break;case"mouseover":case"mouseout":Ui=null;break;case"pointerover":case"pointerout":uu.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":cu.delete(i.pointerId)}}function du(a,i,o,c,p,b){return a===null||a.nativeEvent!==b?(a={blockedOn:i,domEventName:o,eventSystemFlags:c,nativeEvent:b,targetContainers:[p]},i!==null&&(i=Qe(i),i!==null&&bv(i)),a):(a.eventSystemFlags|=c,i=a.targetContainers,p!==null&&i.indexOf(p)===-1&&i.push(p),a)}function cC(a,i,o,c,p){switch(i){case"focusin":return Bi=du(Bi,a,i,o,c,p),!0;case"dragenter":return ji=du(ji,a,i,o,c,p),!0;case"mouseover":return Ui=du(Ui,a,i,o,c,p),!0;case"pointerover":var b=p.pointerId;return uu.set(b,du(uu.get(b)||null,a,i,o,c,p)),!0;case"gotpointercapture":return b=p.pointerId,cu.set(b,du(cu.get(b)||null,a,i,o,c,p)),!0}return!1}function Ev(a){var i=Bt(a.target);if(i!==null){var o=l(i);if(o!==null){if(i=o.tag,i===13){if(i=u(o),i!==null){a.blockedOn=i,he(a.priority,function(){xv(o)});return}}else if(i===31){if(i=d(o),i!==null){a.blockedOn=i,he(a.priority,function(){xv(o)});return}}else if(i===3&&o.stateNode.current.memoizedState.isDehydrated){a.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}a.blockedOn=null}function Cd(a){if(a.blockedOn!==null)return!1;for(var i=a.targetContainers;0<i.length;){var o=xp(a.nativeEvent);if(o===null){o=a.nativeEvent;var c=new o.constructor(o.type,o);vh=c,o.target.dispatchEvent(c),vh=null}else return i=Qe(o),i!==null&&bv(i),a.blockedOn=o,!1;i.shift()}return!0}function wv(a,i,o){Cd(a)&&o.delete(i)}function dC(){Tp=!1,Bi!==null&&Cd(Bi)&&(Bi=null),ji!==null&&Cd(ji)&&(ji=null),Ui!==null&&Cd(Ui)&&(Ui=null),uu.forEach(wv),cu.forEach(wv)}function Rd(a,i){a.blockedOn===i&&(a.blockedOn=null,Tp||(Tp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,dC)))}var Dd=null;function Sv(a){Dd!==a&&(Dd=a,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Dd===a&&(Dd=null);for(var i=0;i<a.length;i+=3){var o=a[i],c=a[i+1],p=a[i+2];if(typeof c!="function"){if(vp(c||o)===null)continue;break}var b=Qe(o);b!==null&&(a.splice(i,3),i-=3,xm(b,{pending:!0,data:p,method:o.method,action:c},c,p))}}))}function Oo(a){function i(M){return Rd(M,a)}Bi!==null&&Rd(Bi,a),ji!==null&&Rd(ji,a),Ui!==null&&Rd(Ui,a),uu.forEach(i),cu.forEach(i);for(var o=0;o<Hi.length;o++){var c=Hi[o];c.blockedOn===a&&(c.blockedOn=null)}for(;0<Hi.length&&(o=Hi[0],o.blockedOn===null);)Ev(o),o.blockedOn===null&&Hi.shift();if(o=(a.ownerDocument||a).$$reactFormReplay,o!=null)for(c=0;c<o.length;c+=3){var p=o[c],b=o[c+1],E=p[Ae]||null;if(typeof b=="function")E||Sv(o);else if(E){var S=null;if(b&&b.hasAttribute("formAction")){if(p=b,E=b[Ae]||null)S=E.formAction;else if(vp(p)!==null)continue}else S=E.action;typeof S=="function"?o[c+1]=S:(o.splice(c,3),c-=3),Sv(o)}}}function Av(){function a(b){b.canIntercept&&b.info==="react-transition"&&b.intercept({handler:function(){return new Promise(function(E){return p=E})},focusReset:"manual",scroll:"manual"})}function i(){p!==null&&(p(),p=null),c||setTimeout(o,20)}function o(){if(!c&&!navigation.transition){var b=navigation.currentEntry;b&&b.url!=null&&navigation.navigate(b.url,{state:b.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,p=null;return navigation.addEventListener("navigate",a),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(o,100),function(){c=!0,navigation.removeEventListener("navigate",a),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),p!==null&&(p(),p=null)}}}function Ep(a){this._internalRoot=a}Od.prototype.render=Ep.prototype.render=function(a){var i=this._internalRoot;if(i===null)throw Error(r(409));var o=i.current,c=fa();gv(o,c,a,i,null,null)},Od.prototype.unmount=Ep.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var i=a.containerInfo;gv(a.current,2,null,a,null,null),fd(),i[we]=null}};function Od(a){this._internalRoot=a}
26Od.prototype.unstable_scheduleHydration=function(a){if(a){var i=fe();a={blockedOn:null,target:a,priority:i};for(var o=0;o<Hi.length&&i!==0&&i<Hi[o].priority;o++);Hi.splice(o,0,a),o===0&&Ev(a)}};var _v=t.version;if(_v!=="19.2.8")throw Error(r(527,_v,"19.2.8"));re.findDOMNode=function(a){var i=a._reactInternals;if(i===void 0)throw typeof a.render=="function"?Error(r(188)):(a=Object.keys(a).join(","),Error(r(268,a)));return a=h(i),a=a!==null?g(a):null,a=a===null?null:a.stateNode,a};var fC={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:Y,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ld=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ld.isDisabled&&Ld.supportsFiber)try{mn=Ld.inject(fC),en=Ld}catch{}}return fu.createRoot=function(a,i){if(!s(a))throw Error(r(299));var o=!1,c="",p=L1,b=I1,E=M1;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(p=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(E=i.onRecoverableError)),i=mv(a,1,!1,null,null,o,c,null,p,b,E,Av),a[we]=i.current,ap(a),new Ep(i)},fu.hydrateRoot=function(a,i,o){if(!s(a))throw Error(r(299));var c=!1,p="",b=L1,E=I1,S=M1,M=null;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(p=o.identifierPrefix),o.onUncaughtError!==void 0&&(b=o.onUncaughtError),o.onCaughtError!==void 0&&(E=o.onCaughtError),o.onRecoverableError!==void 0&&(S=o.onRecoverableError),o.formState!==void 0&&(M=o.formState)),i=mv(a,1,!0,i,o??null,c,p,M,b,E,S,Av),i.context=pv(null),o=i.current,c=fa(),c=F(c),p=Ai(c),p.callback=null,_i(o,p,c),o=c,i.current.lanes=o,sr(i,o),cr(i),a[we]=i.current,ap(a),new Od(i)},fu.version="19.2.8",fu}var Ov;function SC(){if(Ov)return wp.exports;Ov=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(),wp.exports=wC(),wp.exports}var Lv=SC();let Rn=(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})({}),It=(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 _p={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"]}},Iv=Object.values(It),C0={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},qu=(()=>{const e={};for(const[t,n]of Object.entries(C0))e[n]=t;return e})(),ui="data-rh",AC=!!(typeof window<"u"&&window.document.createElement);function Wo(e,t){for(let n=e.length-1;n>=0;--n){const r=e[n][1][t];if(r!==void 0)return r}}function _C(e){let t=Wo(e,It.TITLE);const n=Wo(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Wo(e,"defaultTitle");return(t||r)??void 0}function kp(e,t){const n={};for(const r of t){const s=r[1][e];s&&Object.assign(n,s)}return n}function kC(e){for(let t=e.length-1;t>=0;--t){const n=e[t][1].base;if(n!=null&&n.href||n!=null&&n.target)return n}}function NC(e,t){let n;for(const r of Object.keys(e)){const s=r;t.includes(s)&&!(n===Rn.REL&&e[n].toLowerCase()==="canonical")&&!(s===Rn.REL&&e[s].toLowerCase()==="stylesheet")&&(n=s),t.includes(s)&&(s===Rn.INNER_HTML||s===Rn.CSS_TEXT||s===Rn.ITEM_PROP)&&(n=s)}return n??null}function hu(e,t,n){const r={};return n.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,l)=>{const u={};l.filter(f=>{const h=NC(f,t);if(!h||!f[h])return!1;const g=f[h].toLowerCase();return r[h]||(r[h]={}),u[h]||(u[h]={}),r[h][g]?!1:(u[h][g]=!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 CC(e,t){for(const[,n]of e)if(n[t])return!0;return!1}function Ow(e){return Array.isArray(e)?e.join(""):e}function RC(e,t){var n;for(const r of Object.keys(e))if((n=t[r])!=null&&n.includes(e[r]))return!0;return!1}function Np(e,t){const n={default:Array(),priority:Array()};if(e)for(const r of e)RC(r,t)?n.priority.push(r):n.default.push(r);return n}function DC(e){const t={};for(const[n,r]of Object.entries(e))t[n]=Array.isArray(r)?r.slice():r;return t}function OC(e,t){const n=e;for(const[r,s]of Object.entries(t))if(Array.isArray(s)){const l=n[r];n[r]=l?l.concat(s):s}else n[r]=s}function Cp(e,t,n){const r=e[t];r?r.push(n):e[t]=[n]}function Ag(e){let t=hu(It.LINK,[Rn.REL,Rn.HREF],e),n=hu("meta",[Rn.NAME,"charSet","httpEquiv",Rn.PROPERTY,"itemProp"],e),r=hu("script",[Rn.SRC,Rn.INNER_HTML],e);const s=CC(e,"prioritizeSeoTags");let l;if(s){const u=Np(t,_p.link);t=u.default;const d=Np(n,_p.meta);n=d.default;const f=Np(r,_p.script);r=f.default,l={links:u.priority,meta:d.priority,script:f.priority}}return{base:kC(e),bodyAttributes:kp("bodyAttributes",e),defer:Wo(e,"defer"),encodeSpecialCharacters:Wo(e,"encodeSpecialCharacters")??!0,htmlAttributes:kp("htmlAttributes",e),links:t,meta:n,noscript:hu("noscript",[Rn.INNER_HTML],e),onChangeClientState:Wo(e,"onChangeClientState"),priority:l,script:r,style:hu("style",[Rn.CSS_TEXT],e),title:_C(e),titleAttributes:kp("titleAttributes",e)}}function LC(e){return qu[e]??e}function Io(e,t){const n=document.head||document.querySelector(It.HEAD),r=n.querySelectorAll(`${e}[${ui}]`),s=[],l=[...r],u=[];for(const d of t){const f=document.createElement(e);for(const[g,y]of Object.entries(d))if(Object.prototype.hasOwnProperty.call(d,g)){const v=qu[g]??g;v===Rn.INNER_HTML?f.innerHTML=y:v===Rn.CSS_TEXT?f.styleSheet?f.styleSheet.cssText=d.cssText:f.appendChild(document.createTextNode(d.cssText)):f.setAttribute(v,y??"")}f.setAttribute(ui,"true");const h={};for(const{name:g,value:y}of f.attributes)h[g]=y;s.push(h);for(let g=0;;++g){if(f.isEqualNode(l[g])){l.splice(g,1);break}if(g>=l.length){u.push(f);break}}}return l.forEach(d=>{var f;(f=d.parentNode)==null||f.removeChild(d)}),u.forEach(d=>{n.appendChild(d)}),{allTags:s,newTags:u,oldTags:l}}function _g(e,t){const[n]=document.getElementsByTagName(e);if(!n)return;const r=n.getAttribute(ui),s=r?r.split(","):[],l=[...s],u=[];for(const d of Object.keys(t))u.push(qu[d]??d);for(const[d,f]of Object.entries(t)){const h=qu[d]??d;n.getAttribute(h)!==f&&n.setAttribute(h,f??""),s.includes(h)||s.push(h);const g=l.indexOf(h);g!==-1&&l.splice(g,1)}for(let d=l.length-1;d>=0;d-=1)n.removeAttribute(l[d]);s.length===l.length?n.removeAttribute(ui):n.getAttribute(ui)!==u.join(",")&&n.setAttribute(ui,u.join(","))}function IC(e,t){e!==void 0&&document.title!==e&&(document.title=Ow(e)),_g(It.TITLE,t)}function Mv(e,t){const{base:n,bodyAttributes:r,defer:s,htmlAttributes:l,links:u,meta:d,noscript:f,onChangeClientState:h,priority:g,script:y,style:v,title:T,titleAttributes:w}=e;_g(It.BODY,r??{}),_g(It.HTML,l??{}),IC(T,w);const A={baseTag:Io(It.BASE,n?[n]:[]),linkTags:Io(It.LINK,[...(g==null?void 0:g.links)??[],...u??[]]),metaTags:Io(It.META,[...(g==null?void 0:g.meta)??[],...d??[]]),noscriptTags:Io(It.NOSCRIPT,f??[]),scriptTags:Io(It.SCRIPT,[...(g==null?void 0:g.script)??[],...y??[]]),styleTags:Io(It.STYLE,v??[])},_={baseTag:[],bodyAttributes:{},defer:s??!1,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],onChangeClientState:h??(()=>{}),scriptTags:[],styleTags:[],title:T??"",titleAttributes:{}},N={},P={};Object.keys(A).forEach(I=>{const{allTags:Q,newTags:Z,oldTags:V}=A[I];_[I]=Q,Z.length&&(N[I]=Z),V.length&&(P[I]=A[I].oldTags)}),(t||Object.keys(N).length||Object.keys(P).length)&&(h==null||h(_,N,P))}const MC=[It.NOSCRIPT,It.SCRIPT,It.STYLE],Lw=(e,t=!0)=>t?e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"):e;function kg(e){let t="";for(const[n,r]of Object.entries(e)){const s=LC(n),l=r===void 0?s:`${s}="${r}"`;l&&t&&(t+=" "),t+=l}return t}const PC=(e,t,n)=>{let r=kg(t);r&&(r=` ${r}`);const s=Ow(e);return`<title ${ui}="true"${r}>${Lw(s,n)}</title>`};function $r(e,t,n){let r="";for(const s of t){let l="";const u=Object.entries(s);for(const[h,g]of u)if(!(h===Rn.INNER_HTML||h===Rn.CSS_TEXT)){const y=qu[h]??h;let v;if(g===void 0)v=y;else{const T=typeof g=="string"?g:String(g);v=`${y}="${Lw(T,n)}"`}l?l+=` ${v}`:l=v}const d=s.innerHTML??s.cssText??"",f=!MC.includes(e);r+=`<${e} ${ui}="true" ${l}${f?"/>":`>${d}</${e}>`}`}return r}function xf(e,t={}){const n={};t.addHelmetDataAttr&&(n[ui]=!0),t.addKey!==void 0&&(n.key=t.addKey);for(const[r,s]of Object.entries(e)){const l=C0[r]??r;switch(l){case"cssText":case"innerHTML":n.dangerouslySetInnerHTML={__html:s};break;default:n[l]=s}}return n}function BC(e,t){return[m.jsx("title",{...xf(t,{addHelmetDataAttr:!0}),children:e},e)]}function jC(e,t,n){return D.createElement(e,xf(t,{addHelmetDataAttr:!0,addKey:n}))}function Zr(e,t){const n=[];for(let r=0;r<t.length;++r)n.push(jC(e,t[r],r));return n}function UC(e){const t=()=>(e.state??(e.state=Ag(e.helmets)),e.state);return{base:{toComponent(){const n=t().base;return n?Zr("base",[n]):[]},toString(){const n=t();return n.base?$r("base",[n.base],n.encodeSpecialCharacters):""}},bodyAttributes:{toComponent(){const n=t().bodyAttributes;return xf(n??{})},toString(){const n=t().bodyAttributes;return kg(n??{})}},htmlAttributes:{toComponent(){const n=t().htmlAttributes;return xf(n??{})},toString(){const n=t().htmlAttributes;return kg(n??{})}},link:{toComponent(){return Zr("link",t().links??[])},toString(){const n=t();
26return $r("link",n.links??[],n.encodeSpecialCharacters)}},meta:{toComponent(){return Zr("meta",t().meta??[])},toString(){const n=t();return $r("meta",n.meta??[],n.encodeSpecialCharacters)}},noscript:{toComponent(){return Zr("noscript",t().noscript??[])},toString(){const n=t();return $r("noscript",n.noscript??[],n.encodeSpecialCharacters)}},priority:{toComponent(){var r,s,l;const n=t();return[...Zr("meta",((r=n.priority)==null?void 0:r.meta)??[]),...Zr("link",((s=n.priority)==null?void 0:s.links)??[]),...Zr("script",((l=n.priority)==null?void 0:l.script)??[])]},toString(){var d,f,h;const n=t(),r=$r("meta",((d=n.priority)==null?void 0:d.meta)??[],n.encodeSpecialCharacters),s=$r("link",((f=n.priority)==null?void 0:f.links)??[],n.encodeSpecialCharacters),l=$r("script",((h=n.priority)==null?void 0:h.script)??[],n.encodeSpecialCharacters);let u=r;return s&&(u&&(u+=" "),u+=s),l&&(u&&(u+=" "),u+=l),u}},script:{toComponent(){return Zr("script",t().script??[])},toString(){const n=t();return $r("script",n.script??[],n.encodeSpecialCharacters)}},style:{toComponent(){return Zr("style",t().style??[])},toString(){const n=t();return $r("style",n.style??[],n.encodeSpecialCharacters)}},title:{toComponent(){const n=t();return BC(n.title??"",n.titleAttributes??{})},toString(){const n=t();return PC(n.title??"",n.titleAttributes??{},n.encodeSpecialCharacters)}}}}const Iw=D.createContext(void 0),HC=({children:e,context:t})=>{const{current:n}
26=D.useRef({firstRender:!0,helmets:[],state:void 0}),r=D.useRef(null);return r.current??(r.current={clientApply(){AC&&!n.state&&(n.state=Ag(n.helmets),n.state.defer?n.nextAnimFrameId??(n.nextAnimFrameId=requestAnimationFrame(()=>{n.state??(n.state=Ag(n.helmets)),Mv(n.state,n.firstRender),n.firstRender=!1,delete n.nextAnimFrameId})):(n.nextAnimFrameId!==void 0&&(cancelAnimationFrame(n.nextAnimFrameId),delete n.nextAnimFrameId),Mv(n.state,n.firstRender),n.firstRender=!1))},update(s,l){const u=n.helmets.findIndex(d=>d[0]===s);u>=0?(delete n.state,l?n.helmets[u][1]=l:n.helmets.splice(u,1)):l&&(delete n.state,n.helmets.push([s,l]))}}),t&&(!t.helmet||t.helmet!==n.serverState)&&(n.serverState??(n.serverState=UC(n)),t.helmet=n.serverState),m.jsx(Iw,{value:r.current,children:e})};function FC(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(!Iv.includes(e))throw Error(`Only elements types ${Iv.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 Rp(e){const t=C0[e];return t&&console.warn(`"${e}" is not a valid JSX prop, replace it by "${t}"`),t??e}function Ng(e){const t=DC(e);for(const n of Object.values(e))if(Array.isArray(n)){for(const r of n)if(r)for(const s of Object.keys(r)){const l=Rp(s);l!==s&&(r[l]=r[s],delete r[s])}}else if(n&&typeof n=="object"){const r=n;for(const s of Object.keys(r)){const l=Rp(s);l!==s&&(r[l]=r[s],delete r[s])}}return D.Children.forEach(e.children,n=>{if(n==null)return;if(typeof n!="object"||!("props"in n))throw Error(`"${typeof n}" is not a valid <Helmet> descendant`);let r;const s={};if(n.props)for(const[d,f]of Object.entries(n.props))d==="children"?r=f:s[Rp(d)]=f;let{type:l}=n;typeof l=="symbol"&&(l=l.toString()),FC(l,r);function u(d){typeof d!="string"&&console.error(`child of ${l} element should be a string`)}switch(l){case It.BASE:t.base=s;break;case It.BODY:t.bodyAttributes=s;break;case It.FRAGMENT:OC(t,Ng({children:r}));break;case It.HTML:t.htmlAttributes=s;break;case It.LINK:case It.META:if(r)throw Error(`<${l} /> elements are self-closing and can not contain children. Refer to our API for more information.`);Cp(t,l,s);break;case It.NOSCRIPT:case It.SCRIPT:r!==void 0&&(u(r),s.innerHTML=r),Cp(t,l,s);break;case It.STYLE:u(r),s.cssText=r,Cp(t,l,s);break;case It.TITLE:t.titleAttributes=s,typeof r=="string"?t.title=r:Array.isArray(r)&&(t.title=r.join(""));break;case It.HEAD:}}),delete t.children,t}const Kn=e=>{const t=D.use(Iw);if(!t)throw Error("<Helmet> component must be within a <HelmetProvider> children tree");const n=D.useId();return t.update(n,Ng(e)),D.useEffect(()=>{t.update(n,Ng(e)),t.clientApply()}),D.useEffect(()=>()=>{t.update(n,void 0),t.clientApply()},[t,n]),null},zC="modulepreload",VC=function(e){return"/"+e},Pv={},YC=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(h){return Promise.all(h.map(g=>Promise.resolve(g).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};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(n.map(h=>{if(h=VC(h),h in Pv)return;Pv[h]=!0;const g=h.endsWith(".css"),y=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${y}`))return;const v=document.createElement("link");if(v.rel=g?"stylesheet":zC,g||(v.as="script"),v.crossOrigin="",v.href=h,f&&v.setAttribute("nonce",f),document.head.appendChild(v),g)return new Promise((T,w)=>{v.addEventListener("load",T),v.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${h}`)))})}))}function l(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"&&l(d.reason);return t().catch(l)})};/**
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 qf=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,R0=/^[\\/]{2}/;function Mw(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 Bv="popstate";function jv(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function KC(e={}){function t(r,s){var h;let l=(h=s.state)==null?void 0:h.masked,{pathname:u,search:d,hash:f}=l||r.location;return Gu("",{pathname:u,search:d,hash:f},s.state&&s.state.usr||null,s.state&&s.state.key||"default",l?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,s){return typeof s=="string"?s:Tr(s)}return GC(t,n,null,e)}function tt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function bn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function qC(){return Math.random().toString(36).substring(2,10)}function Uv(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 Gu(e,t,n=null,r,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?wr(t):t,state:n,key:t&&t.key||r||qC(),mask:s}}function Tr({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function wr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function GC(e,t,n,r={}){let{window:s=document.defaultView,v5Compat:l=!1}=r,u=s.history,d="POP",f=null,h=g();
44h==null&&(h=0,u.replaceState({...u.state,idx:h},""));function g(){return(u.state||{idx:null}).idx}function y(){d="POP";let _=g(),N=_==null?null:_-h;h=_,f&&f({action:d,location:A.location,delta:N})}function v(_,N){d="PUSH";let P=jv(_)?_:Gu(A.location,_,N);h=g()+1;let I=Uv(P,h),Q=A.createHref(P.mask||P);try{u.pushState(I,"",Q)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;s.location.assign(Q)}l&&f&&f({action:d,location:A.location,delta:1})}function T(_,N){d="REPLACE";let P=jv(_)?_:Gu(A.location,_,N);h=g();let I=Uv(P,h),Q=A.createHref(P.mask||P);u.replaceState(I,"",Q),l&&f&&f({action:d,location:A.location,delta:0})}function w(_){return Pw(s,_)}let A={get action(){return d},get location(){return e(s,u)},listen(_){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(Bv,y),f=_,()=>{s.removeEventListener(Bv,y),f=null}},createHref(_){return t(s,_)},createURL:w,encodeLocation(_){let N=w(_);return{pathname:N.pathname,search:N.search,hash:N.hash}},push:v,replace:T,go(_){return u.go(_)}};return A}function Pw(e,t,n=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),tt(r,"No window.location.(origin|href) available to create URL");let s=typeof t=="string"?t:Tr(t);return s=s.replace(/ $/,"%20"),!n&&R0.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 Zo,xw,Hv=(xw=class{constructor(e){Lo(this,Zo,new Map);if(e)for(let[t,n]of e)this.set(t,n)}get(e){if(ha(this,Zo).has(e))return ha(this,Zo).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){ha(this,Zo).set(e,t)}},Zo=new WeakMap,xw);const WC=new Set(["lazy","caseSensitive","path","id","index","children"]);function XC(e){return WC.has(e)}const QC=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function $C(e){return QC.has(e)}function ZC(e){return e.index===!0}function Bw(e){let t={};return e.Component&&Object.assign(t,{element:D.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:D.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:D.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function Wu(e,t=Bw,n=[],r={},s=!1){return e.map((l,u)=>{let d=[...n,String(u)],f=typeof l.id=="string"?l.id:d.join("-");if(tt(l.index!==!0||!l.children,"Cannot specify children on an index route"),tt(s||!r[f],`Found a route id collision on i
53d "${f}".  Route id's must be globally unique within Data Router usages`),ZC(l)){let h={...l,id:f};return r[f]=Fv(h,t(h)),h}else{let h={...l,id:f,children:void 0};return r[f]=Fv(h,t(h)),l.children&&(h.children=Wu(l.children,t,d,r,s)),h}})}function Fv(e,t){return Object.assign(e,{...t,...typeof t.lazy=="object"&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function jw(e,t,n="/"){return tr(e,t,n,!1)}function tr(e,t,n,r,s){let l=Ua((typeof t=="string"?wr(t):t).pathname||"/",n);if(l==null)return null;let u=s??nf(e),d=null,f=d6(l);for(let h=0;d==null&&h<u.length;++h)d=c6(u[h],f,r);return d}function Uw(e,t){let{route:n,pathname:r,params:s}=e;return{id:n.id,pathname:r,params:s,loaderData:t[n.id],handle:n.handle}}function nf(e){let t=Hw(e);return JC(t),t}function Hw(e,t=[],n=[],r="",s=!1){let l=(u,d,f=s,h)=>{let g={relativePath:h===void 0?u.path||"":h,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(r)&&f)return;tt(g.relativePath.startsWith(r),`Absolute route path "${g.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(r.length)}let y=Ba([r,g.relativePath]),v=n.concat(g);u.children&&u.children.length>0&&(tt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),Hw(u.children,t,v,y,f)),!(u.path==null&&!u.index)&&t.push({path:y,score:l6(y,u.index),routesMeta:v.map((T,w)=>{let[A,_]=Vw(T.relativePath,T.caseSensitive,w===v.length-1);return{...T,matcher:A,compiledParams:_}})})};return e.forEach((u,d)=>{var f;if(u.path===""||!((f=u.path)!=null&&f.includes("?")))l(u,d);else for(let h of Fw(u.path))l(u,d,!0,h)}),t}function Fw(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return s?[l,""]:[l];let u=Fw(r.join("/")),d=[];return d.push(...u.map(f=>f===""?l:[l,f].join("/"))),s&&d.push(...u),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function JC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:u6(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const e6=/^:[\w-]+$/,t6=/^:[\w-]+/,n6=3.5,a6=3,r6=2,i6=1,s6=10,o6=-2,zv=e=>e==="*";function l6(e,t){let n=e.split("/"),r=n.length;return n.some(zv)&&(r+=o6),t&&(r+=r6),n.filter(s=>!zv(s)).reduce((s,l)=>s+(e6.test(l)?a6:t6.test(l)?n6:l===""?i6:s6),r)}function u6(e,t){return e.length===t.length&&e.slice(0,-1).every((n,r)=>n===t[r])?e[e.length-1]-t[t.length-1]:0}function c6(e,t,n=!1){let{routesMeta:r}=e,s={},l="/",u=[];for(let d=0;d<r.length;++d){let f=r[d],h=d===r.length-1,g=l==="/"?t:t.slice(l.length)||"/",y={path:f.relativePath,caseSensitive:f.caseSensitive,end:h},v=f.matcher&&f.compiledParams?zw(y,g,f.matcher,f.compiledParams):vf(y,g),T=f.route;if(!v&&h&&n&&!r[r.length-1].route.index&&(v=vf({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},g)),!v)return null;
53Object.assign(s,v.params),u.push({params:s,pathname:Ba([l,v.pathname]),pathnameBase:m6(Ba([l,v.pathnameBase])),route:T}),v.pathnameBase!=="/"&&(l=Ba([l,v.pathnameBase]))}return u}function vf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Vw(e.path,e.caseSensitive,e.end);return zw(e,t,n,r)}function zw(e,t,n,r){let s=t.match(n);if(!s)return null;let l=s[0],u=l.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:r.reduce((f,{paramName:h,isOptional:g},y)=>{if(h==="*"){let T=d[y]||"";u=l.slice(0,l.length-T.length).replace(/(.)\/+$/,"$1")}const v=d[y];return g&&!v?f[h]=void 0:f[h]=(v||"").replace(/%2F/g,"/"),f},{}),pathname:l,pathnameBase:u,pattern:e}}function Vw(e,t=!1,n=!0){bn(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,(l,u,d,f,h)=>{if(r.push({paramName:u,isOptional:d!=null}),d){let g=h.charAt(f+l.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function d6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return bn(!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 Ua(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function f6({basename:e,pathname:t}){return t==="/"?e:Ba([e,t])}const D0=e=>qf.test(e);function h6(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?wr(e):e,l;return n?(n=O0(n),n.startsWith("/")?l=Vv(n.substring(1),"/"):l=Vv(n,t)):l=t,{pathname:l,search:p6(r),hash:g6(s)}}function Vv(e,t){let n=Kw(t).split("/");return e.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function Dp(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Yw(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Gf(e){let t=Yw(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function lc(e,t,n,r=!1){let s;typeof e=="string"?s=wr(e):(s={...e},tt(!s.pathname||!s.pathname.includes("?"),Dp("?","pathname","search",s)),tt(!s.pathname||!s.pathname.includes("#"),Dp("#","pathname","hash",s)),tt(!s.search||!s.search.includes("#"),Dp("#","search","hash",s)));let l=e===""||s.pathname==="",u=l?"/":s.pathname,d;if(u==null)d=n;else{let y=t.length-1;if(!r&&u.startsWith("..")){let v=u.split("/");for(;v[0]==="..";)v.shift(),y-=1;s.pathname=v.join("/")}d=y>=0?t[y]:"/"}let f=h6(s,d),h=u&&u!=="/"&&u.endsWith("/"),g=(l||u===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(h||g)&&(f.pathname+="/"),f}const O0=e=>e.replace(/[\\/]{2,}/g,"/"),Ba=e=>O0(e.join("/")),Kw=e=>e.replace(/\/+$/,""),m6=e=>Kw(e).replace(/^\/*/,"/"),p6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,g6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,y6=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"];var uc=class{constructor(e,t,n,r=!1){$a(this,"status");$a(this,"statusText");$a(this,"data");$a(this,"error");$a(this,"internal");this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Xu(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function ul(e){return Ba(e.map(t=>
53t.route.path).filter(Boolean))||"/"}function L0(e,t){let n=new URL(typeof e=="string"||e instanceof URL?e:e.url),r=typeof t=="string"?wr(t):t;if(n.pathname=r.pathname||"/",r.search){let s=new URLSearchParams(r.search),l=s.getAll("index");s.delete("index");for(let d of l.filter(Boolean))s.append("index",d);let u=s.toString();n.search=u?`?${u}`:""}else n.search="";return n.hash=r.hash||"",n}const qw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Gw(e,t){let n=e;if(typeof n!="string"||!qf.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,s=!1;if(qw)try{let l=new URL(window.location.href),u=R0.test(n)?new URL(Mw(n,l.protocol)):new URL(n),d=Ua(u.pathname,t);u.origin===l.origin&&d!=null?n=d+u.search+u.hash:s=!0}catch{bn(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:s,to:n}}/**
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 Ww=Symbol("Uninstrumented");let Ru=new WeakMap;function b6(e,t){let n={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(s=>s({id:t.id,index:t.index,path:t.path,instrument(l){l.lazy!=null&&n.lazy.push(l.lazy),l["lazy.loader"]!=null&&n["lazy.loader"].push(l["lazy.loader"]),l["lazy.action"]!=null&&n["lazy.action"].push(l["lazy.action"]),l["lazy.middleware"]!=null&&n["lazy.middleware"].push(l["lazy.middleware"]),l.middleware!=null&&n.middleware.push(l.middleware),l.loader!=null&&n.loader.push(l.loader),l.action!=null&&n.action.push(l.action)}}));let r={};if(typeof t.lazy=="function"&&n.lazy.length>0){let s=t.lazy;r.lazy=async(...l)=>ii(await gr(n.lazy,void 0,()=>s(...l),si))}if(typeof t.lazy=="object"){let s=t.lazy;if(typeof s.middleware=="function"&&n["lazy.middleware"].length>0){let l=s.middleware;r.lazy=Object.assign(r.lazy||{},{middleware:async(...u)=>ii(await gr(n["lazy.middleware"],void 0,()=>l(...u),si))})}if(typeof s.loader=="function"&&n["lazy.loader"].length>0){let l=s.loader;r.lazy=Object.assign(r.lazy||{},{loader:async(...u)=>ii(await gr(n["lazy.loader"],void 0,()=>l(...u),si))})}if(typeof s.action=="function"&&n["lazy.action"].length>0){let l=s.action;r.lazy=Object.assign(r.lazy||{},{action:async(...u)=>ii(await gr(n["lazy.action"],void 0,()=>l(...u),si))})}}if(typeof t.loader=="function"&&n.loader.length>0){let s=Du(t.loader),l=async(...u)=>ii(await gr(n.loader,Op(u[0]),()=>s(...u),si));s.hydrate===!0&&(l.hydrate=!0),Ou(l,s),r.loader=l}if(typeof t.action=="function"&&n.action.length>0){let s=Du(t.action),l=async(...u)=>ii(await gr(n.action,Op(u[0]),()=>s(...u),si));Ou(l,s),r.action=l}return t.middleware&&t.middleware.length>0&&n.middleware.length>0&&(r.middleware=t.middleware.map(s=>{let l=Du(s),u=async(...d)=>ii(await gr(n.middleware,Op(d[0]),()=>l(...d),si));return Ou(u,l),u})),r}function x6(e,t){let n={navigate:[],fetch:[]};if(t.forEach(r=>r({instrument(s){s.navigate!=null&&n.navigate.push(s.navigate),s.fetch!=null&&n.fetch.push(s.fetch)}})),n.navigate.length>0){let r=Du(e.navigate),s=async(...l)=>{let[u,d]=l,f,h={to:typeof u=="number"||typeof u=="string"?u:u?Tr(u):".",...qv(e,d??{})};return ii(await gr(n.navigate,h,async()=>{if(typeof u=="number")return await r(...l);let g=Yv(e,y=>{f=y});try{return await r(...l)}finally{g()}},g=>({...si(g),meta:f})))};Ou(s,r),e.navigate=s}if(n.fetch.length>0){let r=Du(e.fetch),s=async(...l)=>{let[u,d,f,h]=l,g;return ii(await gr(n.fetch,{href:f??".",fetcherKey:u,...qv(e,h??{})},async()=>{let y=Yv(e,v=>{g=v});try{return await r(...l)}finally{y()}},y=>({...si(y),meta:g})))};Ou(s,r),e.fetch=s}return e}function Du(e){return e[Ww]??e}function Ou(e,t){e[Ww]=t}function Yv(e,t){return Ru.set(e,t),()=>{Ru.get(e)===t&&Ru.delete(e)}}function Kv(e){let t=Ru.get(e);return Ru.delete(e),t}function ii(e){if(e.type==="error")throw e.value;return e.value}async function gr(e,t,n,r,s={result:null,innerResult:null},l=e.length-1){let u=e[l];if(u){let d,f=async()=>(d?console.error("You cannot call instrumented handlers more than once"):d=gr(e,t,n,r,s,l-1),await d,tt(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 n()}}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 si(e){return e.type==="error"&&e.value instanceof Error?{status:"error",error:e.value}:{status:"success",error:void 0}}function Op(e){let{request:t,context:n,params:r}=e;return{...e,request:v6(t),params:{...r},context:T6(n)}}function qv(e,t){return{currentUrl:Tr(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 v6(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function T6(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 Xw=["POST","PUT","PATCH","DELETE"],E6=new Set(Xw),w6=["GET",...Xw],S6=new Set(w6),Qw=new Set([301,302,303,307,308]),A6=new Set([307,308]),Lp={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},_6={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},mu={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},$w="remix-router-transitions",Zw=Symbol("ResetLoaderData");var Ji,Hs,oi,Fs,vw,k6=(vw=class{constructor(t){Lo(this,Ji);Lo(this,Hs);Lo(this,oi);Lo(this,Fs);Za(this,Ji,t),Za(this,Hs,nf(t))}get stableRoutes(){return ha(this,Ji)}get activeRoutes(){return ha(this,oi)??ha(this,Ji)}get branches(){return ha(this,Fs)??ha(this,Hs)}get hasHMRRoutes(){return ha(this,oi)!=null}setRoutes(t){Za(this,Ji,t),Za(this,Hs,nf(t))}setHmrRoutes(t){Za(this,oi,t),Za(this,Fs,nf(t))}commitHmrRoutes(){ha(this,oi)&&(Za(this,Ji,ha(this,oi)),Za(this,Hs,ha(this,Fs)),Za(this,oi,void 0),Za(this,Fs,void 0))}},Ji=new WeakMap,Hs=new WeakMap,oi=new WeakMap,Fs=new WeakMap,vw);function N6(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";tt(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let r=e.hydrationRouteProperties||[],s=e.mapRouteProperties,l=s||(()=>({}));if(e.instrumentations){let B=e.instrumentations;l=F=>({...s==null?void 0:s(F),...b6(B.map(K=>
71K.route).filter(Boolean),F)})}let u={},d=new k6(Wu(e.routes,l,void 0,u)),f=e.basename||"/";f.startsWith("/")||(f=`/${f}`);let h=e.dataStrategy||L6,g={...e.future},y=null,v=new Set,T=null,w=null,A=null,_=null,N=e.hydrationData!=null,P=tr(d.activeRoutes,e.history.location,f,!1,d.branches),I=!1,Q=null,Z,V;if(P==null&&!e.patchRoutesOnNavigation){let B=La(404,{pathname:e.history.location.pathname}),{matches:F,route:K}=Id(d.activeRoutes);Z=!0,V=!Z,P=F,Q={[K.id]:B}}else if(P&&!e.hydrationData&&gi(P,d.activeRoutes,e.history.location.pathname).active&&(P=null),P)if(P.some(B=>B.route.lazy))Z=!1,V=!Z;else if(!P.some(B=>I0(B.route)))Z=!0,V=!Z;else{let B=e.hydrationData?e.hydrationData.loaderData:null,F=e.hydrationData?e.hydrationData.errors:null,K=P;if(F){let fe=P.findIndex(he=>F[he.route.id]!==void 0);K=K.slice(0,fe+1)}V=!1,Z=!0,K.forEach(fe=>{let he=Jw(fe.route,B,F);V=V||he.renderFallback,Z=Z&&!he.shouldLoad})}else{Z=!1,V=!Z,P=[];let B=gi(null,d.activeRoutes,e.history.location.pathname);B.active&&B.matches&&(I=!0,P=B.matches)}let ue,U={historyAction:e.history.action,location:e.history.location,matches:P,initialized:Z,renderFallback:V,navigation:Lp,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||Q,fetchers:new Map,blockers:new Map},ge="POP",j=null,ce=!1,ee,_e=!1,xe=new Map,de=null,Y=!1,re=!1,pe=new Set,Ee=new Map,R=0,Re=-1,He=new Map,O=new Set,Xe=new Map,Et=new Map,Ke=new Set,$t=new Map,xn,Zt=null;function xa(){if(y=e.history.listen(({action:B,location:F,delta:K})=>{if(xn){xn(),xn=void 0;return}bn($t.size===0||K!=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 fe=ms({currentLocation:U.location,nextLocation:F,historyAction:B});if(fe&&K!=null){let he=new Promise(Ne=>{xn=Ne});e.history.go(K*-1),Nr(fe,{state:"blocked",location:F,proceed(){Nr(fe,{state:"proceeding",proceed:void 0,reset:void 0,location:F}),he.then(()=>e.history.go(K))},reset(){let Ne=new Map(U.blockers);Ne.set(fe,mu),Jt({blockers:Ne})}}),j==null||j.resolve(),j=null;return}return va(B,F)}),n){Z6(t,xe);let B=()=>J6(t,xe);t.addEventListener("pagehide",B),de=()=>t.removeEventListener("pagehide",B)}return U.initialized||va("POP",U.location,{initialHydration:!0}),ue}function za(){y&&y(),de&&de(),v.clear(),ee&&ee.abort(),U.fetchers.forEach((B,F)=>mn(U.fetchers,F)),U.blockers.forEach((B,F)=>hs(F))}function ds(B){if(v.add(B),T){let{newErrors:F}=T;T=null,B(U,{deletedFetchers:[],newErrors:F,viewTransitionOpts:void 0,flushSync:!1})}return()=>v.delete(B)}function Jt(B,F={}){B.matches&&(B.matches=B.matches.map(he=>{let Ne=u[he.route.id],Se=he.route;return Se.element!==Ne.element||Se.errorElement!==Ne.errorElement||Se.hydrateFallbackElement!==Ne.hydrateFallbackElement?{...he,route:Ne}:he})),U={...U,...B};let K=[],fe=[];U.fetchers.forEach((he,Ne)=>{he.state==="idle"&&(Ke.has(Ne)?K.push(Ne):fe.push(Ne))}),Ke.forEach(he=>{!U.fetchers.has(he)&&!Ee.has(he)&&K.push(he)}),v.size===0&&(T={newErrors:B.errors??null}),[...v].forEach(he=>he(U,{deletedFetchers:K,newErrors:B.errors??null,viewTransitionOpts:F.viewTransitionOpts,flushSync:F.flushSync===!0})),K.forEach(he=>mn(U.fetchers,he)),fe.forEach(he=>U.fetchers.delete(he))}function On(B,F,{flushSync:K}={}){var ze,Be;let fe=U.actionData!=null&&U.navigation.formMethod!=null&&In(U.navigation.formMethod)&&U.navigation.state==="loading"&&((ze=B.state)==null?void 0:ze._isRedirect)!==!0,he;F.actionData?Object.keys(F.actionData).length>0?he=F.actionData:he=null:fe?he=U.actionData:he=null;let Ne=F.loaderData?nT(U.loaderData,F.loaderData,F.matches||[],F.errors):U.loaderData,Se=U.blockers;Se.size>0&&!Y&&(Se=new Map(Se),Se.forEach((Ye,bt)=>Se.set(bt,mu)));let Ae=Y?!1:Sl(B,F.matches||U.matches),we=ce===!0||U.navigation.formMethod!=null&&In(U.navigation.formMethod)&&((Be=B.state)==null?void 0:Be._isRedirect)!==!0;d.commitHmrRoutes(),Y||ge==="POP"||(ge==="PUSH"?e.history.push(B,B.state):ge==="REPLACE"&&e.history.replace(B,B.state));let Me;if(ge==="POP"){let Ye=xe.get(U.location.pathname);Ye&&Ye.has(B.pathname)?Me={currentLocation:U.location,nextLocation:B}:xe.has(B.pathname)&&(Me={currentLocation:B,nextLocation:U.location})}else if(_e){let Ye=xe.get(U.location.pathname);Ye?Ye.add(B.pathname):(Ye=new Set([B.pathname]),xe.set(U.location.pathname,Ye)),Me={currentLocation:U.location,nextLocation:B}}Jt({...F,actionData:he,loaderData:Ne,historyAction:ge,location:B,initialized:!0,renderFallback:!1,navigation:Lp,revalidation:"idle",restoreScrollPosition:Ae,preventScrollReset:we,blockers:Se},{viewTransitionOpts:Me,flushSync:K===!0}),ge="POP",ce=!1,_e=!1,Y=!1,re=!1,j==null||j.resolve(),j=null,Zt==null||Zt.resolve(),Zt=null}async function _r(B,F){if(j==null||j.resolve(),j=null,typeof B=="number"){j||(j=oT());let mt=j.promise;return e.history.go(B),mt}let K=Kv(ue),{path:fe,submission:he,error:Ne}=Gv(!1,Cg(U.location,U.matches,f,B,F==null?void 0:F.fromRouteId,F==null?void 0:F.relative),F),Se;F!=null&&F.mask&&(Se={pathname:"",search:"",hash:"",...typeof F.mask=="str
71ing"?wr(F.mask):{...U.location.mask,...F.mask}});let Ae=U.location,we=Gu(Ae,fe,F&&F.state,void 0,Se);we={...we,...e.history.encodeLocation(we)};let Me=F&&F.replace!=null?F.replace:void 0,ze="PUSH";Me===!0?ze="REPLACE":Me===!1||he!=null&&In(he.formMethod)&&he.formAction===U.location.pathname+U.location.search&&(ze="REPLACE");let Be=F&&"preventScrollReset"in F?F.preventScrollReset===!0:void 0,Ye=(F&&F.flushSync)===!0,bt=ms({currentLocation:Ae,nextLocation:we,historyAction:ze});if(bt){Nr(bt,{state:"blocked",location:we,proceed(){Nr(bt,{state:"proceeding",proceed:void 0,reset:void 0,location:we}),_r(B,F)},reset(){let mt=new Map(U.blockers);mt.set(bt,mu),Jt({blockers:mt})}});return}await va(ze,we,{submission:he,pendingError:Ne,preventScrollReset:Be,replace:F&&F.replace,enableViewTransition:F&&F.viewTransition,flushSync:Ye,callSiteDefaultShouldRevalidate:F&&F.defaultShouldRevalidate,instrumentationNavigateMetaReceiver:K})}function hi(){Zt||(Zt=oT()),je(),Jt({revalidation:"loading"});let B=Zt.promise;return U.navigation.state==="submitting"?B:U.navigation.state==="idle"?(va(U.historyAction,U.location,{startUninterruptedRevalidation:!0}),B):(va(ge||U.historyAction,U.navigation.location,{overrideNavigation:U.navigation,enableViewTransition:_e===!0}),B)}async function va(B,F,K){ee&&ee.abort(),ee=null,ge=B,Y=(K&&K.startUninterruptedRevalidation)===!0,gh(U.location,U.matches),ce=(K&&K.preventScrollReset)===!0,_e=(K&&K.enableViewTransition)===!0;let fe=d.activeRoutes,he=K!=null&&K.initialHydration&&U.matches&&U.matches.length>0&&!I?U.matches:tr(fe,F,f,!1,d.branches),Ne=(K&&K.flushSync)===!0;if(he&&U.initialized&&!re&&z6(U.location,F)&&!(K&&K.submission&&In(K.submission.formMethod))){On(F,{matches:he},{flushSync:Ne});return}let Se=gi(he,fe,F.pathname);if(Se.active&&Se.matches&&(he=Se.matches),K!=null&&K.instrumentationNavigateMetaReceiver){let Qe=iT(e.history,F,he);K.instrumentationNavigateMetaReceiver(Qe)}if(!he){let{error:Qe,notFoundMatches:Un,route:Gt}=qa(F.pathname);On(F,{matches:Un,loaderData:{},errors:{[Gt.id]:Qe}},{flushSync:Ne});return}let Ae=K&&K.overrideNavigation?{...K.overrideNavigation,matches:he,historyAction:B}:void 0;ee=new AbortController;let we=Ho(e.history,F,ee.signal,K&&K.submission),Me=e.getContext?await e.getContext():new Hv,ze;if(K&&K.pendingError)ze=[Zi(he).route.id,{type:"error",error:K.pendingError}];else if(K&&K.submission&&In(K.submission.formMethod)){let Qe=await Qs(we,F,K.submission,he,B,Me,Se.active,K&&K.initialHydration===!0,{replace:K.replace,flushSync:Ne});if(Qe.shortCircuited)return;if(Qe.pendingActionResult){let[Un,Gt]=Qe.pendingActionResult;if(pa(Gt)&&Xu(Gt.error)&&Gt.error.status===404){ee=null,On(F,{matches:Qe.matches,loaderData:{},errors:{[Un]:Gt.error}});return}}he=Qe.matches||he,ze=Qe.pendingActionResult,Ae=Ip(F,he,B,K.submission),Ne=!1,Se.active=!1,we=Ho(e.history,we.url,we.signal)}let{shortCircuited:Be,matches:Ye,loaderData:bt,errors:mt,workingFetchers:Bt}=await mi(we,F,he,B,Me,Se.active,Ae,K&&K.submission,K&&K.fetcherSubmission,K&&K.replace,K&&K.initialHydration===!0,Ne,ze,K&&K.callSiteDefaultShouldRevalidate);Be||(ee=null,On(F,{matches:Ye||he,...aT(ze),loaderData:bt,errors:mt,...Bt?{fetchers:Bt}:{}}))}async function Qs(B,F,K,fe,he,Ne,Se,Ae,we={}){if(je(),Jt({navigation:Q6(F,fe,he,K)},{flushSync:we.flushSync===!0}),Se){let Be=await sr(fe,F.pathname,B.signal);if(Be.type==="aborted")return{shortCircuited:!0};if(Be.type==="error"){if(Be.partialMatches.length===0){let{matches:bt,route:mt}=Id(d.activeRoutes);return{matches:bt,pendingActionResult:[mt.id,{type:"error",error:Be.error}]}}let Ye=Zi(Be.partialMatches).route.id;return{matches:Be.partialMatches,pendingActionResult:[Ye,{type:"error",error:Be.error}]}}else if(Be.matches)fe=Be.matches;else{let{notFoundMatches:Ye,error:bt,route:mt}=qa(F.pathname);return{matches:Ye,pendingActionResult:[mt.id,{type:"error",error:bt}]}}}let Me,ze=af(fe,F);if(!ze.route.action&&!ze.route.lazy)Me={type:"error",error:La(405,{method:B.method,pathname:F.pathname,routeId:ze.route.id})};else{let Be=await ne(B,F,Xo(l,u,B,F,fe,ze,Ae?[]:r,Ne),Ne,null);if(Me=Be[ze.route.id],!Me){for(let Ye of fe)if(Be[Ye.route.id]){Me=Be[Ye.route.id];break}}if(B.signal.aborted)return{shortCircuited:!0}}if(Ps(Me)){let Be;return we&&we.replace!=null?Be=we.replace:Be=Jv(Me.response.headers.get("Location"),new URL(B.url),f,e.history)===U.location.pathname+U.location.search,await Va(B,Me,!0,{submission:K,replace:Be}),{shortCircuited:!0}}if(pa(Me)){let Be=Zi(fe,ze.route.id);
71return(we&&we.replace)!==!0&&(ge="PUSH"),{matches:fe,pendingActionResult:[Be.route.id,Me,ze.route.id]}}return{matches:fe,pendingActionResult:[ze.route.id,Me]}}async function mi(B,F,K,fe,he,Ne,Se,Ae,we,Me,ze,Be,Ye,bt){let mt=Se||Ip(F,K,fe,Ae),Bt=Ae||we||sT(mt),Qe=!Y&&!ze;if(Ne){if(Qe){let vt=kr(Ye);Jt({navigation:mt,...vt!==void 0?{actionData:vt}:{}},{flushSync:Be})}let qe=await sr(K,F.pathname,B.signal);if(qe.type==="aborted")return{shortCircuited:!0};if(qe.type==="error"){if(qe.partialMatches.length===0){let{matches:Ea,route:bi}=Id(d.activeRoutes);return{matches:Ea,loaderData:{},errors:{[bi.id]:qe.error}}}let vt=Zi(qe.partialMatches).route.id;return{matches:qe.partialMatches,loaderData:{},errors:{[vt]:qe.error}}}else if(qe.matches)K=qe.matches;else{let{error:vt,notFoundMatches:Ea,route:bi}=qa(F.pathname);return{matches:Ea,loaderData:{},errors:{[bi.id]:vt}}}}let Un=d.activeRoutes,{dsMatches:Gt,revalidatingFetchers:xt}=Wv(B,he,l,u,e.history,U,K,Bt,F,ze?[]:r,ze===!0,re,pe,Ke,Xe,O,Un,f,e.patchRoutesOnNavigation!=null,d.branches,Ye,bt);if(Re=++R,!e.dataStrategy&&!Gt.some(qe=>qe.shouldLoad)&&!Gt.some(qe=>qe.route.middleware&&qe.route.middleware.length>0)&&xt.length===0){let qe=new Map(U.fetchers),vt=Ka(qe);return On(F,{matches:K,loaderData:{},errors:Ye&&pa(Ye[1])?{[Ye[0]]:Ye[1].error}:null,...aT(Ye),...vt?{fetchers:qe}:{}},{flushSync:Be}),{shortCircuited:!0}}if(Qe){let qe={};if(!Ne){qe.navigation=mt;let vt=kr(Ye);vt!==void 0&&(qe.actionData=vt)}xt.length>0&&(qe.fetchers=fs(xt)),Jt(qe,{flushSync:Be})}xt.forEach(qe=>{Yt(qe.key),qe.controller&&Ee.set(qe.key,qe.controller)});let Ga=()=>xt.forEach(qe=>Yt(qe.key));ee&&ee.signal.addEventListener("abort",Ga);let{loaderResults:Cr,fetcherResults:Ta}=await Te(Gt,xt,B,F,he);if(B.signal.aborted)return{shortCircuited:!0};ee&&ee.signal.removeEventListener("abort",Ga),xt.forEach(qe=>Ee.delete(qe.key));let pn=Md(Cr);if(pn)return await Va(B,pn.result,!0,{replace:Me}),{shortCircuited:!0};if(pn=Md(Ta),pn)return O.add(pn.key),await Va(B,pn.result,!0,{replace:Me}),{shortCircuited:!0};let yi=new Map(U.fetchers),{loaderData:Rr,errors:Dr}=tT(U,K,Cr,Ye,xt,Ta,yi);ze&&U.errors&&(Dr={...U.errors,...Dr});let Zs=Ka(yi),Or=Gn(Re,yi),Lr=Zs||Or||xt.length>0;return{matches:K,loaderData:Rr,errors:Dr,...Lr?{workingFetchers:yi}:{}}}function kr(B){if(B&&!pa(B[1]))return{[B[0]]:B[1].data};if(U.actionData)return Object.keys(U.actionData).length===0?null:U.actionData}function fs(B){let F=new Map(U.fetchers);return B.forEach(K=>{let fe=F.get(K.key),he=pu(void 0,fe?fe.data:void 0);F.set(K.key,he)}),F}async function El(B,F,K,fe){Yt(B);let he=(fe&&fe.flushSync)===!0,Ne=Kv(ue),Se=d.activeRoutes,Ae=Cg(U.location,U.matches,f,K,F,fe==null?void 0:fe.relative),we=tr(Se,Ae,f,!1,d.branches),Me=gi(we,Se,Ae);if(Me.active&&Me.matches&&(we=Me.matches),Ne&&Ne(iT(e.history,Ae,we)),!we){nt(B,F,La(404,{pathname:Ae}),{flushSync:he});return}let{path:ze,submission:Be,error:Ye}=Gv(!0,Ae,fe);if(Ye){nt(B,F,Ye,{flushSync:he});return}let bt=e.getContext?await e.getContext():new Hv,mt=(fe&&fe.preventScrollReset)===!0;if(Be&&In(Be.formMethod)){await wl(B,F,ze,we,bt,Me.active,he,mt,Be,fe&&fe.defaultShouldRevalidate);return}Xe.set(B,{routeId:F,path:ze}),await wn(B,F,ze,we,bt,Me.active,he,mt,Be)}async function wl(B,F,K,fe,he,Ne,Se,Ae,we,Me){je(),Xe.delete(B),Ve(B,$6(we,U.fetchers.get(B)),{flushSync:Se});let ze=new AbortController,Be=Ho(e.history,K,ze.signal,we);if(Ne){let Ut=await sr(fe,new URL(Be.url).pathname,Be.signal,B);if(Ut.type==="aborted")return;if(Ut.type==="error"){nt(B,F,Ut.error,{flushSync:Se});return}else if(Ut.matches)fe=Ut.matches;else{nt(B,F,La(404,{pathname:K}),{flushSync:Se});return}}let Ye=af(fe,K);if(!Ye.route.action&&!Ye.route.lazy){nt(B,F,La(405,{method:we.formMethod,pathname:K,routeId:F}),{flushSync:Se});return}Ee.set(B,ze);let bt=R,mt=Xo(l,u,Be,K,fe,Ye,r,he),Bt=await ne(Be,K,mt,he,B),Qe=Bt[Ye.route.id];if(!Qe){for(let Ut of mt)if(Bt[Ut.route.id]){Qe=Bt[Ut.route.id];break}}if(Be.signal.aborted){Ee.get(B)===ze&&Ee.delete(B);return}if(Ke.has(B)){if(Ps(Qe)||pa(Qe)){Ve(B,dr(void 0));return}}else{if(Ps(Qe))if(Ee.delete(B),Re>bt){Ve(B,dr(void 0));return}else return O.add(B),Ve(B,pu(we)),Va(Be,Qe,!1,{fetcherSubmission:we,preventScrollReset:Ae});if(pa(Qe)){nt(B,F,Qe.error);return}}let Un=U.navigation.location||U.location,Gt=Ho(e.history,Un,ze.signal),xt=d.activeRoutes,Ga=U.navigation.state!=="idle"?tr(xt,U.navigation.location,f,!1,d.branches):U.matches;tt(Ga,"Didn't find any matches after fetcher action");let Cr=++R;He.set(B,Cr);let{dsMatches:Ta,revalidatingFetchers:pn}=Wv(Gt,he,l,u,e.history,U,Ga,we,Un,r,!1,re,pe,Ke,Xe,O,xt,f,e.patchRoutesOnNavigation!=null,d.branches,[Ye.route.id,Qe],Me),yi=pu(we,Qe.data),Rr=new Map(U.fetchers);Rr.set(B,yi),pn.filter(Ut=>
71Ut.key!==B).forEach(Ut=>{let wa=Ut.key,Sc=Rr.get(wa),Wn=pu(void 0,Sc?Sc.data:void 0);Rr.set(wa,Wn),Yt(wa),Ut.controller&&Ee.set(wa,Ut.controller)}),Jt({fetchers:Rr});let Dr=()=>pn.forEach(Ut=>Yt(Ut.key));ze.signal.addEventListener("abort",Dr);let{loaderResults:Zs,fetcherResults:Or}=await Te(Ta,pn,Gt,Un,he);if(ze.signal.aborted)return;ze.signal.removeEventListener("abort",Dr),He.delete(B),Ee.delete(B),pn.forEach(Ut=>Ee.delete(Ut.key));let Lr=U.fetchers.has(B),qe=Ut=>{if(!Lr)return Ut;let wa=new Map(Ut.fetchers);return wa.set(B,dr(Qe.data)),{...Ut,fetchers:wa}},vt=Md(Zs);if(vt)return U=qe(U),Va(Gt,vt.result,!1,{preventScrollReset:Ae});if(vt=Md(Or),vt)return O.add(vt.key),U=qe(U),Va(Gt,vt.result,!1,{preventScrollReset:Ae});let Ea=new Map(U.fetchers);Lr&&Ea.set(B,dr(Qe.data));let{loaderData:bi,errors:ps}=tT(U,Ga,Zs,void 0,pn,Or,Ea);Gn(Cr,Ea),U.navigation.state==="loading"&&Cr>Re?(tt(ge,"Expected pending action"),ee&&ee.abort(),On(U.navigation.location,{matches:Ga,loaderData:bi,errors:ps,fetchers:Ea})):(Jt({errors:ps,loaderData:nT(U.loaderData,bi,Ga,ps),fetchers:Ea}),re=!1)}async function wn(B,F,K,fe,he,Ne,Se,Ae,we){let Me=U.fetchers.get(B);Ve(B,pu(we,Me?Me.data:void 0),{flushSync:Se});let ze=new AbortController,Be=Ho(e.history,K,ze.signal);if(Ne){let Qe=await sr(fe,new URL(Be.url).pathname,Be.signal,B);if(Qe.type==="aborted")return;if(Qe.type==="error"){nt(B,F,Qe.error,{flushSync:Se});return}else if(Qe.matches)fe=Qe.matches;else{nt(B,F,La(404,{pathname:K}),{flushSync:Se});return}}let Ye=af(fe,K);Ee.set(B,ze);let bt=R,mt=await ne(Be,K,Xo(l,u,Be,K,fe,Ye,r,he),he,B),Bt=mt[Ye.route.id];if(!Bt){for(let Qe of fe)if(mt[Qe.route.id]){Bt=mt[Qe.route.id];break}}if(Ee.get(B)===ze&&Ee.delete(B),!Be.signal.aborted){if(Ke.has(B)){Ve(B,dr(void 0));return}if(Ps(Bt))if(Re>bt){Ve(B,dr(void 0));return}else{O.add(B),await Va(Be,Bt,!1,{preventScrollReset:Ae});return}if(pa(Bt)){nt(B,F,Bt.error);return}Ve(B,dr(Bt.data))}}async function Va(B,F,K,{submission:fe,fetcherSubmission:he,preventScrollReset:Ne,replace:Se}={}){K||(j==null||j.resolve(),j=null),F.response.headers.has("X-Remix-Revalidate")&&(re=!0);let Ae=F.response.headers.get("Location");tt(Ae,"Expected a Location header on the redirect Response"),Ae=Jv(Ae,new URL(B.url),f,e.history);let we=Gu(U.location,Ae,{_isRedirect:!0});if(n){let mt=!1;if(F.response.headers.has("X-Remix-Reload-Document"))mt=!0;else if(D0(Ae)){const Bt=Pw(t,Ae,!0);mt=Bt.origin!==t.location.origin||Ua(Bt.pathname,f)==null}if(mt){Se?t.location.replace(Ae):t.location.assign(Ae);return}}ee=null;let Me=Se===!0||F.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:ze,formAction:Be,formEncType:Ye}=U.navigation;!fe&&!he&&ze&&Be&&Ye&&(fe=sT(U.navigation));let bt=fe||he;A6.has(F.response.status)&&bt&&In(bt.formMethod)?await va(Me,we,{submission:{...bt,formAction:Ae},preventScrollReset:Ne||ce,enableViewTransition:K?_e:void 0}):await va(Me,we,{overrideNavigation:Ip(we,[],Me,fe),fetcherSubmission:he,preventScrollReset:Ne||ce,enableViewTransition:K?_e:void 0})}async function ne(B,F,K,fe,he){var Ae;let Ne,Se={};try{Ne=await M6(h,B,F,K,he,fe,!1)}catch(we){return K.filter(Me=>Me.shouldLoad).forEach(Me=>{Se[Me.route.id]={type:"error",error:we}}),Se}if(B.signal.aborted)return Se;
71if(!In(B.method))for(let we of K){if(((Ae=Ne[we.route.id])==null?void 0:Ae.type)==="error")break;!Ne.hasOwnProperty(we.route.id)&&!U.loaderData.hasOwnProperty(we.route.id)&&(!U.errors||!U.errors.hasOwnProperty(we.route.id))&&we.shouldCallHandler()&&(Ne[we.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${we.route.id}`)})}for(let[we,Me]of Object.entries(Ne))if(q6(Me)){let ze=Me.result;Se[we]={type:"redirect",response:U6(ze,B,we,K,f)}}else Se[we]=await j6(Me);return Se}async function Te(B,F,K,fe,he){let Ne=ne(K,fe,B,he,null),Se=Promise.all(F.map(async Ae=>{if(Ae.matches&&Ae.match&&Ae.request&&Ae.controller){let we=(await ne(Ae.request,Ae.path,Ae.matches,he,Ae.key))[Ae.match.route.id];return{[Ae.key]:we}}else return Promise.resolve({[Ae.key]:{type:"error",error:La(404,{pathname:Ae.path})}})}));return{loaderResults:await Ne,fetcherResults:(await Se).reduce((Ae,we)=>Object.assign(Ae,we),{})}}function je(){re=!0,Xe.forEach((B,F)=>{Ee.has(F)&&pe.add(F),Yt(F)})}function Ve(B,F,K={}){let fe=new Map(U.fetchers);fe.set(B,F),Jt({fetchers:fe},{flushSync:(K&&K.flushSync)===!0})}function nt(B,F,K,fe={}){let he=Zi(U.matches,F),Ne=new Map(U.fetchers);mn(Ne,B),Jt({errors:{[he.route.id]:K},fetchers:Ne},{flushSync:(fe&&fe.flushSync)===!0})}function jn(B){return Et.set(B,(Et.get(B)||0)+1),Ke.has(B)&&Ke.delete(B),U.fetchers.get(B)||_6}function Ya(B,F){Yt(B,F==null?void 0:F.reason),Ve(B,dr(null))}function mn(B,F){let K=U.fetchers.get(F);Ee.has(F)&&!(K&&K.state==="loading"&&He.has(F))&&Yt(F),Xe.delete(F),He.delete(F),O.delete(F),Ke.delete(F),pe.delete(F),B.delete(F)}function en(B){let F=(Et.get(B)||0)-1;F<=0?(Et.delete(B),Ke.add(B)):Et.set(B,F),Jt({fetchers:new Map(U.fetchers)})}function Yt(B,F){let K=Ee.get(B);K&&(K.abort(F),Ee.delete(B))}function wt(B,F){for(let K of B){let fe=F.get(K);tt(fe,`Expected fetcher: ${K}`);let he=dr(fe.data);F.set(K,he)}}function Ka(B){let F=[],K=!1;for(let fe of O){let he=B.get(fe);tt(he,`Expected fetcher: ${fe}`),he.state==="loading"&&(O.delete(fe),F.push(fe),K=!0)}return wt(F,B),K}function Gn(B,F){let K=[];for(let[fe,he]of He)if(he<B){let Ne=F.get(fe);tt(Ne,`Expected fetcher: ${fe}`),Ne.state==="loading"&&(Yt(fe),He.delete(fe),K.push(fe))}return wt(K,F),K.length>0}function ph(B,F){let K=U.blockers.get(B)||mu;return $t.get(B)!==F&&$t.set(B,F),K}function hs(B){U.blockers.delete(B),$t.delete(B)}function Nr(B,F){let K=U.blockers.get(B)||mu;tt(K.state==="unblocked"&&F.state==="blocked"||K.state==="blocked"&&F.state==="blocked"||K.state==="blocked"&&F.state==="proceeding"||K.state==="blocked"&&F.state==="unblocked"||K.state==="proceeding"&&F.state==="unblocked",`Invalid blocker state transition: ${K.state} -> ${F.state}`);let fe=new Map(U.blockers);fe.set(B,F),Jt({blockers:fe})}function ms({currentLocation:B,nextLocation:F,historyAction:K}){if($t.size===0)return;$t.size>1&&bn(!1,"A router only supports one blocker at a time");let fe=Array.from($t.entries()),[he,Ne]=fe[fe.length-1],Se=U.blockers.get(he);if(!(Se&&Se.state==="proceeding")&&Ne({currentLocation:B,nextLocation:F,historyAction:K}))return he}function qa(B){let F=La(404,{pathname:B}),K=d.activeRoutes,{matches:fe,route:he}=Id(K);return{notFoundMatches:fe,route:he,error:F}}function $s(B,F,K){if(w=B,_=F,A=K||null,!N&&U.navigation===Lp){N=!0;let fe=Sl(U.location,U.matches);fe!=null&&Jt({restoreScrollPosition:fe})}return()=>{w=null,_=null,A=null}}function pi(B,F){return A&&A(B,F.map(K=>Uw(K,U.loaderData)))||B.key}function gh(B,F){if(w&&_){let K=pi(B,F);w[K]=_()}}function Sl(B,F){if(w){let K=pi(B,F),fe=w[K];if(typeof fe=="number")return fe}return null}function gi(B,F,K){if(e.patchRoutesOnNavigation){let fe=d.branches;if(B){if(Object.keys(B[0].params).length>0)return{active:!0,matches:tr(F,K,f,!0,fe)}}else return{active:!0,matches:tr(F,K,f,!0,fe)||[]}}return{active:!1,matches:null}}async function sr(B,F,K,fe){if(!e.patchRoutesOnNavigation)return{type:"success",matches:B};let he=B;for(;;){let Ne=u;try{await e.patchRoutesOnNavigation({signal:K,path:F,matches:he,fetcherKey:fe,patch:(Me,ze)=>{K.aborted||Xv(Me,ze,d,Ne,l,!1)}})}catch(Me){return{type:"error",error:Me,partialMatches:he}}if(K.aborted)return{type:"aborted"};let Se=d.branches,Ae=tr(d.activeRoutes,F,f,!1,Se),we=null;if(Ae){if(Object.keys(Ae[0].params).length===0)return{type:"success",matches:Ae};if(we=tr(d.activeRoutes,F,f,!0,Se),!(we&&he.length<we.length&&Tc(he,we.slice(0,he.length))))return{type:"success",matches:Ae}}if(we||(we=tr(d.activeRoutes,F,f,!0,Se)),!we||Tc(he,we))return{type:"success",matches:null};he=we}}function Tc(B,F){return B.length===F.length&&B.every((K,fe)=>K.route.id===F[fe].route.id)}function Ec(B){u={},d.setHmrRoutes(Wu(B,l,void 0,u))}function wc(B,F,K=!1){Xv(B,F,d,u,l,K),d.hasHMRRoutes||Jt({})}return ue={get basename(){return f},get future(){return g},get state(){return U},get routes(){return d.stableRoutes},get branches(){return d.branches},get manifest(){return u},get window(){return t},initialize:xa,subscribe:ds,enableScrollRestoration:$s,navigate:_r,fetch:El,revalidate:hi,createHref:B=>e.history.createHref(B),encodeLocation:B=>e.history.encodeLocation(B),getFetcher:jn,resetFetcher:Ya,deleteFetcher:en,dispose:za,getBlocker:ph,deleteBlocker:hs,patchRoutes:wc,_internalFetchControllers:Ee,_internalSetRoutes:Ec,_internalSetStateDoNotUseOrYouWillBreakYourApp(B){Jt(B)}},e.instrumentations&&(ue=x6(ue,e.instrumentations.map(B=>
71B.router).filter(Boolean))),ue}function C6(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Cg(e,t,n,r,s,l){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=lc(r||".",Gf(u),Ua(e.pathname,n)||e.pathname,l==="path");if(r==null&&(f.search=e.search,f.hash=e.hash),(r==null||r===""||r===".")&&d){let h=P0(f.search);if(d.route.index&&!h)f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index";else if(!d.route.index&&h){let g=new URLSearchParams(f.search),y=g.getAll("index");g.delete("index"),y.filter(T=>T).forEach(T=>g.append("index",T));let v=g.toString();f.search=v?`?${v}`:""}}return n!=="/"&&(f.pathname=f6({basename:n,pathname:f.pathname})),Tr(f)}function Gv(e,t,n){if(!n||!C6(n))return{path:t};if(n.formMethod&&!X6(n.formMethod))return{path:t,error:La(405,{method:n.formMethod})};let r=()=>({path:t,error:La(400,{type:"invalid-body"})}),s=(n.formMethod||"get").toUpperCase(),l=iS(t);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!In(s))return r();let g=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((y,[v,T])=>`${y}${v}=${T}
72`,""):String(n.body);return{path:t,submission:{formMethod:s,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:g}}}else if(n.formEncType==="application/json"){if(!In(s))return r();try{let g=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:s,formAction:l,formEncType:n.formEncType,formData:void 0,json:g,text:void 0}}}catch{return r()}}}tt(typeof FormData=="function","FormData is not available in this environment");let u,d;if(n.formData)u=Og(n.formData),d=n.formData;else if(n.body instanceof FormData)u=Og(n.body),d=n.body;else if(n.body instanceof URLSearchParams)u=n.body,d=eT(u);else if(n.body==null)u=new URLSearchParams,d=new FormData;else try{u=new URLSearchParams(n.body),d=eT(u)}catch{return r()}let f={formMethod:s,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:d,json:void 0,text:void 0};if(In(f.formMethod))return{path:t,submission:f};let h=wr(t);return e&&h.search&&P0(h.search)&&u.append("index",""),h.search=`?${u}`,{path:Tr(h),submission:f}}function Wv(e,t,n,r,s,l,u,d,f,h,g,y,v,T,w,A,_,N,P,I,Q,Z){var Y;let V=Q?pa(Q[1])?Q[1].error:Q[1].data:void 0,ue=s.createURL(l.location),U=s.createURL(f),ge;if(g&&l.errors){let re=Object.keys(l.errors)[0];ge=u.findIndex(pe=>pe.route.id===re)}else if(Q&&pa(Q[1])){let re=Q[0];ge=u.findIndex(pe=>pe.route.id===re)-1}let j=Q?Q[1].statusCode:void 0,ce=j&&j>=400,ee={currentUrl:ue,currentParams:((Y=l.matches[0])==null?void 0:Y.params)||{},nextUrl:U,nextParams:u[0].params,...d,actionResult:V,actionStatus:j},_e=ul(u),xe=u.map((re,pe)=>{let{route:Ee}=re,R=null;if(ge!=null&&pe>ge)R=!1;else if(Ee.lazy)R=!0;else if(!I0(Ee))R=!1;else if(g){let{shouldLoad:O}=Jw(Ee,l.loaderData,l.errors);R=O}else R6(l.loaderData,l.matches[pe],re)&&(R=!0);if(R!==null)return Rg(n,r,e,f,_e,re,h,t,R);let Re=!1;typeof Z=="boolean"?Re=Z:ce?Re=!1:(y||ue.pathname+ue.search===U.pathname+U.search||ue.search!==U.search||D6(l.matches[pe],re))&&(Re=!0);let He={...ee,defaultShouldRevalidate:Re};return Rg(n,r,e,f,_e,re,h,t,Lu(re,He),He,Z)}),de=[];return w.forEach((re,pe)=>{if(g||!u.some(Ke=>Ke.route.id===re.routeId)||T.has(pe))return;let Ee=l.fetchers.get(pe),R=Ee&&Ee.state!=="idle"&&Ee.data===void 0,Re=tr(_,re.path,N??"/",!1,I);if(!Re){if(P&&R)return;de.push({key:pe,routeId:re.routeId,path:re.path,matches:null,match:null,request:null,controller:null});return}if(A.has(pe))return;let He=af(Re,re.path),O=new AbortController,Xe=Ho(s,re.path,O.signal),Et=null;if(v.has(pe))v.delete(pe),Et=Xo(n,r,Xe,re.path,Re,He,h,t);else if(R)y&&(Et=Xo(n,r,Xe,re.path,Re,He,h,t));else{let Ke;typeof Z=="boolean"?Ke=Z:ce?Ke=!1:Ke=y;let $t={...ee,defaultShouldRevalidate:Ke};Lu(He,$t)&&(Et=Xo(n,r,Xe,re.path,Re,He,h,t,$t))}Et&&de.push({key:pe,routeId:re.routeId,path:re.path,matches:Et,match:He,request:Xe,controller:O})}),{dsMatches:xe,revalidatingFetchers:de}}function I0(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}
72function Jw(e,t,n){if(e.lazy)return{shouldLoad:!0,renderFallback:!0};if(!I0(e))return{shouldLoad:!1,renderFallback:!1};let r=t!=null&&e.id in t,s=n!=null&&n[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 l=!r&&!s;return{shouldLoad:l,renderFallback:l}}function R6(e,t,n){let r=!t||n.route.id!==t.route.id,s=!e.hasOwnProperty(n.route.id);return r||s}function D6(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Lu(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function Xv(e,t,n,r,s,l){let u;if(e){let h=r[e];tt(h,`No route found to patch children into: routeId = ${e}`),h.children||(h.children=[]),u=h.children}else u=n.activeRoutes;let d=[],f=[];if(t.forEach(h=>{let g=u.find(y=>eS(h,y));g?f.push({existingRoute:g,newRoute:h}):d.push(h)}),d.length>0){let h=Wu(d,s,[e||"_","patch",String((u==null?void 0:u.length)||"0")],r);u.push(...h)}if(l&&f.length>0)for(let h=0;h<f.length;h++){let{existingRoute:g,newRoute:y}=f[h],v=g,[T]=Wu([y],s,[],{},!0);Object.assign(v,{element:T.element?T.element:v.element,errorElement:T.errorElement?T.errorElement:v.errorElement,hydrateFallbackElement:T.hydrateFallbackElement?T.hydrateFallbackElement:v.hydrateFallbackElement})}n.hasHMRRoutes||n.setRoutes([...n.activeRoutes])}function eS(e,t){var n;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:((n=e.children)==null?void 0:n.every((r,s)=>{var l;return(l=t.children)==null?void 0:l.some(u=>eS(r,u))}))??!1:!1}const Qv=new WeakMap,tS=({key:e,route:t,manifest:n,mapRouteProperties:r})=>{let s=n[t.id];if(tt(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let l=s.lazy[e];if(!l)return;let u=Qv.get(s);u||(u={},Qv.set(s,u));let d=u[e];if(d)return d;let f=(async()=>{let h=XC(e),g=s[e]!==void 0;if(h)bn(!h,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),u[e]=Promise.resolve();else if(g)bn(!1,`Route "${s.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let y=await l();y!=null&&(Object.assign(s,{[e]:y}),Object.assign(s,r(s)))}typeof s.lazy=="object"&&(s.lazy[e]=void 0,Object.values(s.lazy).every(y=>y===void 0)&&(s.lazy=void 0))})();return u[e]=f,f},$v=new WeakMap;function O6(e,t,n,r,s){let l=n[e.id];if(tt(l,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let g=$v.get(l);if(g)return{lazyRoutePromise:g,lazyHandlerPromise:g};let y=(async()=>{tt(typeof e.lazy=="function","No lazy route function found");let v=await e.lazy(),T={};for(let w in v){let A=v[w];if(A===void 0)continue;let _=$C(w),N=l[w]!==void 0;_?bn(!_,"Route property "+w+" is not a supported property to be returned from a lazy route function. This property will be ignored."):N?bn(!N,`Route "${l.id}" has a static property "${w}" defined but its lazy function is also returning a value for this property. The lazy route property "${w}" will be ignored.`):T[w]=A}Object.assign(l,T),Object.assign(l,{...r(l),lazy:void 0})})();return $v.set(l,y),y.catch(()=>{}),{lazyRoutePromise:y,lazyHandlerPromise:y}}let u=Object.keys(e.lazy),d=[],f;for(let g of u){if(s&&s.includes(g))continue;let y=tS({key:g,route:e,manifest:n,mapRouteProperties:r});y&&(d.push(y),g===t&&(f=y))}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 Zv(e){let t=e.matches.filter(r=>r.shouldLoad),n={};return(await Promise.all(t.map(r=>r.resolve()))).forEach((r,s)=>{n[t[s].route.id]=r}),n}async function L6(e){return e.matches.some(t=>t.route.middleware)?nS(e,()=>Zv(e)):Zv(e)}function nS(e,t){return I6(e,t,r=>{if(W6(r))throw r;return r},Y6,n);async function n(r,s,l){var u;if(l)return Object.assign(l.value,{[s]:{type:"error",result:r}});{let{matches:d}=e,f=Math.min(Math.max(d.findIndex(g=>g.route.id===s),0),Math.max(d.findIndex(g=>g.shouldCallHandler()),0)),h=d[f].route.id;for(let g of d.slice(0,f+1))try{await((u=g._lazyPromises)==null?void 0:u.route)}catch{h=g.route.id;break}return{[Zi(d,h).route.id]:{type:"error",result:r}}}}}
72async function I6(e,t,n,r,s){let{matches:l,...u}=e;return await aS(u,l.flatMap(d=>d.route.middleware?d.route.middleware.map(f=>[d.route.id,f]):[]),t,n,r,s)}async function aS(e,t,n,r,s,l,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 n();let[h,g]=f,y,v=async()=>{if(y)throw new Error("You may only call `next()` once per middleware");try{return y={value:await aS(e,t,n,r,s,l,u+1)},y.value}catch(T){return y={value:await l(T,h,y)},y.value}};try{let T=await g(e,v),w=T!=null?r(T):void 0;return s(w)?w:y?w??y.value:(y={value:await v()},y.value)}catch(T){return await l(T,h,y)}}function rS(e,t,n,r,s){let l=tS({key:"middleware",route:r.route,manifest:t,mapRouteProperties:e}),u=O6(r.route,In(n.method)?"action":"loader",t,e,s);return{middleware:l,route:u.lazyRoutePromise,handler:u.lazyHandlerPromise}}function Rg(e,t,n,r,s,l,u,d,f,h=null,g){let y=!1,v=rS(e,t,n,l,u);return{...l,_lazyPromises:v,shouldLoad:f,shouldRevalidateArgs:h,shouldCallHandler(T){return y=!0,h?typeof g=="boolean"?Lu(l,{...h,defaultShouldRevalidate:g}):typeof T=="boolean"?Lu(l,{...h,defaultShouldRevalidate:T}):Lu(l,h):f},resolve(T){let{lazy:w,loader:A,middleware:_}=l.route,N=y||f||T&&!In(n.method)&&(w||A),P=_&&_.length>0&&!A&&!w;return N&&(In(n.method)||!P)?P6({request:n,path:r,pattern:s,match:l,lazyHandlerPromise:v==null?void 0:v.handler,lazyRoutePromise:v==null?void 0:v.route,handlerOverride:T,scopedContext:d}):Promise.resolve({type:"data",result:void 0})}}}function Xo(e,t,n,r,s,l,u,d,f=null){return s.map(h=>h.route.id!==l.route.id?{...h,shouldLoad:!1,shouldRevalidateArgs:f,shouldCallHandler:()=>!1,_lazyPromises:rS(e,t,n,h,u),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Rg(e,t,n,r,ul(s),h,u,d,!0,f))}async function M6(e,t,n,r,s,l,u){r.some(g=>{var y;return(y=g._lazyPromises)==null?void 0:y.middleware})&&await Promise.all(r.map(g=>{var y;return(y=g._lazyPromises)==null?void 0:y.middleware}));let d={request:t,url:L0(t,n),pattern:ul(r),params:r[0].params,context:l,matches:r},h=await e({...d,fetcherKey:s,runClientMiddleware:g=>{let y=d;return nS(y,()=>g({...y,fetcherKey:s,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(r.flatMap(g=>{var y,v;return[(y=g._lazyPromises)==null?void 0:y.handler,(v=g._lazyPromises)==null?void 0:v.route]}))}catch{}return h}async function P6({request:e,path:t,pattern:n,match:r,lazyHandlerPromise:s,lazyRoutePromise:l,handlerOverride:u,scopedContext:d}){let f,h,g=In(e.method),y=g?"action":"loader",v=T=>{let w,A=new Promise((P,I)=>w=I);h=()=>w(),e.signal.addEventListener("abort",h);let _=P=>typeof T!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${y}" [routeId: ${r.route.id}]`)):T({request:e,url:L0(e,t),pattern:n,params:r.params,context:d},...P!==void 0?[P]:[]),N=(async()=>{try{return{type:"data",result:await(u?u(P=>_(P)):_())}}catch(P){return{type:"error",result:P}}})();return Promise.race([N,A])};try{let T=g?r.route.action:r.route.loader;if(s||l)if(T){let w,[A]=await Promise.all([v(T).catch(_=>{w=_}),s,l]);if(w!==void 0)throw w;f=A}else{await s;let w=g?r.route.action:r.route.loader;if(w)[f]=await Promise.all([v(w),l]);else if(y==="action"){let A=new URL(e.url),_=A.pathname+A.search;throw La(405,{method:e.method,pathname:_,routeId:r.route.id})}else return{type:"data",result:void 0}}else if(T)f=await v(T);else{let w=new URL(e.url);throw La(404,{pathname:w.pathname+w.search})}}catch(T){return{type:"error",result:T}}finally{h&&e.signal.removeEventListener("abort",h)}return f}async function B6(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 j6(e){var r,s,l,u,d;let{result:t,type:n}=e;if(M0(t)){let f;try{f=await B6(t)}catch(h){return{type:"error",error:h}}return n==="error"?{type:"error",error:new uc(t.status,t.statusText,f),statusCode:t.status,headers:t.headers}:{type:"data",data:f,statusCode:t.status,headers:t.headers}}return n==="error"?rT(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:V6(t),statusCode:Xu(t)?t.status:void 0,headers:(l=t.init)!=null&&l.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:Xu(t)?t.status:void 0}:rT(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}}
72function U6(e,t,n,r,s){let l=e.headers.get("Location");if(tt(l,"Redirects returned/thrown from loaders/actions must have a Location header"),!D0(l)){let u=r.slice(0,r.findIndex(d=>d.route.id===n)+1);l=Cg(new URL(t.url),u,s,l),e.headers.set("Location",l)}return e}const H6=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Dg(e){try{return H6.includes(new URL(e).protocol)}catch{return!1}}function Jv(e,t,n,r){if(D0(e)){let s=e,l=R0.test(s)?new URL(Mw(s,t.protocol)):new URL(s);if(Dg(l.toString()))throw new Error("Invalid redirect location");let u=Ua(l.pathname,n)!=null;if(l.origin===t.origin&&u)return O0(l.pathname)+l.search+l.hash}try{if(Dg(r.createURL(e).toString()))throw new Error("Invalid redirect location")}catch{}return e}function Ho(e,t,n,r){let s=e.createURL(iS(t)).toString(),l={signal:n};if(r&&In(r.formMethod)){let{formMethod:u,formEncType:d}=r;l.method=u.toUpperCase(),d==="application/json"?(l.headers=new Headers({"Content-Type":d}),l.body=JSON.stringify(r.json)):d==="text/plain"?l.body=r.text:d==="application/x-www-form-urlencoded"&&r.formData?l.body=Og(r.formData):l.body=r.formData}return new Request(s,l)}function Og(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function eT(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function F6(e,t,n,r=!1,s=!1){let l={},u=null,d,f=!1,h={},g=n&&pa(n[1])?n[1].error:void 0;return e.forEach(y=>{if(!(y.route.id in t))return;let v=y.route.id,T=t[v];if(tt(!Ps(T),"Cannot handle redirect results in processLoaderData"),pa(T)){let w=T.error;if(g!==void 0&&(w=g,g=void 0),u=u||{},s)u[v]=w;else{let A=Zi(e,v);u[A.route.id]==null&&(u[A.route.id]=w)}r||(l[v]=Zw),f||(f=!0,d=Xu(T.error)?T.error.status:500),T.headers&&(h[v]=T.headers)}else l[v]=T.data,T.statusCode&&T.statusCode!==200&&!f&&(d=T.statusCode),T.headers&&(h[v]=T.headers)}),g!==void 0&&n&&(u={[n[0]]:g},n[2]&&(l[n[2]]=void 0)),{loaderData:l,errors:u,statusCode:d||200,loaderHeaders:h}}function tT(e,t,n,r,s,l,u){let{loaderData:d,errors:f}=F6(t,n,r);return s.filter(h=>!h.matches||h.matches.some(g=>g.shouldLoad)).forEach(h=>{let{key:g,match:y,controller:v}=h;if(v&&v.signal.aborted)return;let T=l[g];if(tt(T,"Did not find corresponding fetcher result"),pa(T)){let w=Zi(e.matches,y==null?void 0:y.route.id);f&&f[w.route.id]||(f={...f,[w.route.id]:T.error}),u.delete(g)}else if(Ps(T))tt(!1,"Unhandled fetcher revalidation redirect");else{let w=dr(T.data);u.set(g,w)}}),{loaderData:d,errors:f}}function nT(e,t,n,r){let s=Object.entries(t).filter(([,l])=>l!==Zw).reduce((l,[u,d])=>(l[u]=d,l),{});for(let l of n){let u=l.route.id;if(!t.hasOwnProperty(u)&&e.hasOwnProperty(u)&&l.route.loader&&(s[u]=e[u]),r&&r.hasOwnProperty(u))break}return s}function aT(e){return e?pa(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Zi(e,t){return(t?e.slice(0,e.findIndex(n=>n.route.id===t)+1):[...e]).reverse().find(n=>n.route.ErrorBoundary!=null||n.route.errorElement!=null)||e[0]}function Id(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function La(e,{pathname:t,routeId:n,method:r,type:s,message:l}={}){let u="Unknown Server Error",d="Unknown @remix-run/router error";return e===400?(u="Bad Request",r&&t&&n?d=`You made a ${r} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:s==="invalid-body"&&(d="Unable to encode submission body")):e===403?(u="Forbidden",d=`Route "${n}" does not match URL "${t}"`):e===404?(u="Not Found",d=`No route matches URL "${t}"`):e===405&&(u="Method Not Allowed",r&&t&&n?d=`You made a ${r.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:r&&(d=`Invalid request method "${r.toUpperCase()}"`)),new uc(e||500,u,new Error(d),!0)}function Md(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,s]=t[n];if(Ps(s))return{key:r,result:s}}}function iS(e){return Tr({...typeof e=="string"?wr(e):e,hash:""})}function z6(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function V6(e){var t,n;return new uc(((t=e.init)==null?void 0:t.status)??500,((n=e.init)==null?void 0:n.statusText)??"Internal Server Error",e.data)}function Y6(e){return e!=null&&typeof e=="object"&&Object.entries(e).every(([t,n])=>typeof t=="string"&&K6(n))}function K6(e){return e!=null&&typeof e=="object"&&"type"in e&&"result"in e&&(e.type==="data"||e.type==="error")}function q6(e){return M0(e.result)&&Qw.has(e.result.status)}function pa(e){return e.type==="error"}function Ps(e){return(e&&e.type)==="redirect"}function rT(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function M0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function G6(e){return Qw.has(e)}function W6(e){return M0(e)&&G6(e.status)&&e.headers.has("Location")}function X6(e){return S6.has(e.toUpperCase())}function In(e){return E6.has(e.toUpperCase())}function P0(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function af(e,t){let n=typeof t=="string"?wr(t).search:t.search;if(e[e.length-1].route.index&&P0(n||""))return e[e.length-1];let r=Yw(e);return r[r.length-1]}function iT(e,t,n){var r;return{url:L0(e.createURL(t),t),pattern:n?ul(n):"",params:(r=n==null?void 0:n[0])!=null&&r.params?{...n[0].params}:{}}}function sT(e){let{formMethod:t,formAction:n,formEncType:r,text:s,formData:l,json:u}=e;if(!(!t||!n||!r)){if(s!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:s};if(l!=null)return{formMethod:t,formAction:n,formEncType:r,formData:l,json:void 0,text:void 0};if(u!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:u,text:void 0}}}function Ip(e,t,n,r){return r?{state:"loading",location:e,matches:t,historyAction:n,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:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Q6(e,t,n,r){return{state:"submitting",location:e,matches:t,historyAction:n,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}}function pu(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 $6(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 dr(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 Z6(e,t){try{let n=e.sessionStorage.getItem($w);if(n){let r=JSON.parse(n);for(let[s,l]of Object.entries(r||{}))l&&Array.isArray(l)&&t.set(s,new Set(l||[]))}}catch{}}function J6(e,t){if(t.size>0){let n={};for(let[r,s]of t)n[r]=[...s];try{e.sessionStorage.setItem($w,JSON.stringify(n))}catch(r){bn(!1,`Failed to save applied view transitions in sessionStorage (${r}).`)}}}function oT(){let e,t,n=new Promise((r,s)=>{e=async l=>{r(l);try{await n}catch{}},t=async l=>{s(l);try{await n}catch{}}});return{promise:n,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 Gs=D.createContext(null);Gs.displayName="DataRouter";const cl=D.createContext(null);cl.displayName="DataRouterState";const sS=D.createContext(!1);function oS(){return D.useContext(sS)}const B0=D.createContext({isTransitioning:!1});B0.displayName="ViewTransition";const lS=D.createContext(new Map);lS.displayName="Fetchers";const e4=D.createContext(null);e4.displayName="Await";const ra=D.createContext(null);ra.displayName="Navigation";const Wf=D.createContext(null);Wf.displayName="Location";const Ha=D.createContext({outlet:null,matches:[],isDataRoute:!1});Ha.displayName="Route";const j0=D.createContext(null);j0.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 uS="REACT_ROUTER_ERROR",t4="REDIRECT",n4="ROUTE_ERROR_RESPONSE";function a4(e){if(e.startsWith(`${uS}:${t4}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="str
90ing"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function r4(e){if(e.startsWith(`${uS}:${n4}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new uc(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 i4(e,{relative:t}={}){tt(dl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=D.useContext(ra),{hash:s,pathname:l,search:u}=cc(e,{relative:t}),d=l;return n!=="/"&&(d=l==="/"?n:Ba([n,l])),r.createHref({pathname:d,search:u,hash:s})}function dl(){return D.useContext(Wf)!=null}function qn(){return tt(dl(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(Wf).location}const cS="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function U0(){let{isDataRoute:e}=D.useContext(Ha);return e?w4():s4()}function s4(){tt(dl(),"useNavigate() may be used only in the context of a <Router> component.");let e=D.useContext(Gs),{basename:t,navigator:n}=D.useContext(ra),{matches:r}=D.useContext(Ha),{pathname:s}=qn(),l=JSON.stringify(Gf(r)),u=D.useRef(!1);return D.useLayoutEffect(()=>{u.current=!0}),D.useCallback((d,f={})=>{if(bn(u.current,cS),!u.current)return;if(typeof d=="number"){n.go(d);return}let h=lc(d,JSON.parse(l),s,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Ba([t,h.pathname])),(f.replace?n.replace:n.push)(h,f.state,f)},[t,n,l,s,e])}const o4=D.createContext(null);function l4(e){let t=D.useContext(Ha).outlet;return D.useMemo(()=>t&&D.createElement(o4.Provider,{value:e},t),[t,e])}function u4(){var t;let{matches:e}=D.useContext(Ha);return((t=e[e.length-1])==null?void 0:t.params)??{}}function cc(e,{relative:t}={}){let{matches:n}=D.useContext(Ha),{pathname:r}=qn(),s=JSON.stringify(Gf(n));return D.useMemo(()=>lc(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function c4(e,t,n){tt(dl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=D.useContext(ra),{matches:s}=D.useContext(Ha),l=s[s.length-1],u=l?l.params:{};l&&l.pathname;let d=l?l.pathnameBase:"/";l&&l.route;let f=qn(),h;h=f;let g=h.pathname||"/",y=g;if(d!=="/"){let w=d.replace(/^\//,"").split("/");y="/"+g.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=n&&n.state.matches.length?n.state.matches.map(w=>Object.assign(w,{route:n.manifest[w.route.id]||w.route})):jw(e,{pathname:y});return g4(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},u,w.params),pathname:Ba([d,r.encodeLocation?r.encodeLocation(w.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?d:Ba([d,r.encodeLocation?r.encodeLocation(w.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathnameBase])})),s,n)}function d4(){let e=E4(),t=Xu(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},t),n?D.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},n):null,null)}const f4=D.createElement(d4,null);var Sg,h4=(Sg=class extends D.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 n=r4(e.digest);n&&(e=n)}let t=e!==void 0?D.createElement(Ha.Provider,{value:this.props.routeContext},D.createElement(j0.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?D.createElement(m4,{error:e},t):t}},$a(Sg,"contextType",sS),Sg);const Mp=new WeakMap;function m4({children:e,error:t}){let{basename:n}=D.useContext(ra);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=a4(t.digest);if(r){let s=Mp.get(t);if(s)throw s;let l=Gw(r.location,n),u=l.absoluteURL||l.to;if(Dg(u))throw new Error("Invalid redirect location");if(qw&&!Mp.get(t))if(l.isExternal||r.reloadDocument)window.location.href=u;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(l.to,{replace:r.replace}));throw Mp.set(t,d),d}return D.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u}`})}}return e}function p4({routeContext:e,match:t,children:n}){let r=D.useContext(Gs);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),D.createElement(Ha.Provider,{value:e},n)}function g4(e,t=[],n){let r=n==null?void 0:n.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,l=r==null?void 0:r.errors;if(l!=null){let g=s.findIndex(y=>y.route.id&&(l==null?void 0:l[y.route.id])!==void 0);tt(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),s=s.slice(0,Math.min(s.length,g+1))}let u=!1,d=-1;if(n&&r){u=r.renderFallback;for(let g=0;g<s.length;g++){let y=s[g];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(d=g),y.route.id){let{loaderData:v,errors:T}
99=r,w=y.route.loader&&!v.hasOwnProperty(y.route.id)&&(!T||T[y.route.id]===void 0);if(y.route.lazy||w){n.isStatic&&(u=!0),d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}}let f=n==null?void 0:n.onError,h=r&&f?(g,y)=>{var v,T;f(g,{location:r.location,params:((T=(v=r.matches)==null?void 0:v[0])==null?void 0:T.params)??{},pattern:ul(r.matches),errorInfo:y})}:void 0;return s.reduceRight((g,y,v)=>{let T,w=!1,A=null,_=null;r&&(T=l&&y.route.id?l[y.route.id]:void 0,A=y.route.errorElement||f4,u&&(d<0&&v===0?(S4("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,_=null):d===v&&(w=!0,_=y.route.hydrateFallbackElement||null)));let N=t.concat(s.slice(0,v+1)),P=()=>{let I;return T?I=A:w?I=_:y.route.Component?I=D.createElement(y.route.Component,null):y.route.element?I=y.route.element:I=g,D.createElement(p4,{match:y,routeContext:{outlet:g,matches:N,isDataRoute:r!=null},children:I})};return r&&(y.route.ErrorBoundary||y.route.errorElement||v===0)?D.createElement(h4,{location:r.location,revalidation:r.revalidation,component:A,error:T,children:P(),routeContext:{outlet:null,matches:N,isDataRoute:!0},onError:h}):P()},null)}function H0(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function y4(e){let t=D.useContext(Gs);return tt(t,H0(e)),t}function Xf(e){let t=D.useContext(cl);return tt(t,H0(e)),t}function b4(e){let t=D.useContext(Ha);return tt(t,H0(e)),t}function Qf(e){let t=b4(e),n=t.matches[t.matches.length-1];return tt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function x4(){return Qf("useRouteId")}function v4(){let e=Xf("useNavigation");return D.useMemo(()=>{let{matches:t,historyAction:n,...r}=e.navigation;return r},[e.navigation])}function dS(){let{matches:e,loaderData:t}=Xf("useMatches");return D.useMemo(()=>e.map(n=>Uw(n,t)),[e,t])}function T4(){let e=Xf("useLoaderData"),t=Qf("useLoaderData");return e.loaderData[t]}function E4(){var r;let e=D.useContext(j0),t=Xf("useRouteError"),n=Qf("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function w4(){let{router:e}=y4("useNavigate"),t=Qf("useNavigate"),n=D.useRef(!1);return D.useLayoutEffect(()=>{n.current=!0}),D.useCallback(async(r,s={})=>{bn(n.current,cS),n.current&&(typeof r=="number"?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...s}))},[e,t])}const lT={};function S4(e,t,n){lT[e]||(lT[e]=!0,bn(!1,n))}/**
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 uT={};function cT(e,t){!e&&!uT[t]&&(uT[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 A4=["HydrateFallback","hydrateFallbackElement"];var _4=class{constructor(){$a(this,"status","pending");$a(this,"promise");$a(this,"resolve");$a(this,"reject");this.promise=new Promise((e,t)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",e(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",t(n))}})}};function k4({router:e,flushSync:t,onError:n,useTransitions:r}){r=oS()||r;let[s,l]=D.useState(e.state),[u,d]=D.useOptimistic(s),[f,h]=D.useState(),[g,y]=D.useState({isTransitioning:!1}),[v,T]=D.useState(),[w,A]=D.useState(),[_,N]=D.useState(),P=D.useRef(new Map),I=D.useCallback((ue,{deletedFetchers:U,newErrors:ge,flushSync:j,viewTransitionOpts:ce})=>{ge&&n&&Object.values(ge).forEach(_e=>{var xe;return n(_e,{location:ue.location,params:((xe=ue.matches[0])==null?void 0:xe.params)??{},pattern:ul(ue.matches)})}),ue.fetchers.forEach((_e,xe)=>{_e.data!==void 0&&P.current.set(xe,_e.data)}),U.forEach(_e=>P.current.delete(_e)),cT(j===!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 ee=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(cT(ce==null||ee,"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."),!ce||!ee){t&&j?t(()=>l(ue)):r===!1?l(ue):D.startTransition(()=>{r===!0&&d(_e=>dT(_e,ue)),l(ue)}
117);return}if(t&&j){t(()=>{w&&(v==null||v.resolve(),w.skipTransition()),y({isTransitioning:!0,flushSync:!0,currentLocation:ce.currentLocation,nextLocation:ce.nextLocation})});let _e=e.window.document.startViewTransition(()=>{t(()=>l(ue))});_e.finished.finally(()=>{t(()=>{T(void 0),A(void 0),h(void 0),y({isTransitioning:!1})})}),t(()=>A(_e));return}w?(v==null||v.resolve(),w.skipTransition(),N({state:ue,currentLocation:ce.currentLocation,nextLocation:ce.nextLocation})):(h(ue),y({isTransitioning:!0,flushSync:!1,currentLocation:ce.currentLocation,nextLocation:ce.nextLocation}))},[e.window,t,w,v,r,d,n]);D.useLayoutEffect(()=>e.subscribe(I),[e,I]),D.useEffect(()=>{g.isTransitioning&&!g.flushSync&&T(new _4)},[g]),D.useEffect(()=>{if(v&&f&&e.window){let ue=f,U=v.promise,ge=e.window.document.startViewTransition(async()=>{r===!1?l(ue):D.startTransition(()=>{r===!0&&d(j=>dT(j,ue)),l(ue)}),await U});ge.finished.finally(()=>{T(void 0),A(void 0),h(void 0),y({isTransitioning:!1})}),A(ge)}},[f,v,e.window,r,d]),D.useEffect(()=>{v&&f&&u.location.key===f.location.key&&v.resolve()},[v,w,u.location,f]),D.useEffect(()=>{!g.isTransitioning&&_&&(h(_.state),y({isTransitioning:!0,flushSync:!1,currentLocation:_.currentLocation,nextLocation:_.nextLocation}),N(void 0))},[g.isTransitioning,_]);let Q=D.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:ue=>e.navigate(ue),push:(ue,U,ge)=>e.navigate(ue,{state:U,preventScrollReset:ge==null?void 0:ge.preventScrollReset}),replace:(ue,U,ge)=>e.navigate(ue,{replace:!0,state:U,preventScrollReset:ge==null?void 0:ge.preventScrollReset})}),[e]),Z=e.basename||"/",V=D.useMemo(()=>({router:e,navigator:Q,static:!1,basename:Z,onError:n}),[e,Q,Z,n]);return D.createElement(D.Fragment,null,D.createElement(Gs.Provider,{value:V},D.createElement(cl.Provider,{value:u},D.createElement(lS.Provider,{value:P.current},D.createElement(B0.Provider,{value:g},D.createElement(O4,{basename:Z,location:u.location,navigationType:u.historyAction,navigator:Q,useTransitions:r},D.createElement(N4,{routes:e.routes,manifest:e.manifest,future:e.future,state:u,isStatic:!1,onError:n})))))),null)}function dT(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 N4=D.memo(C4);function C4({routes:e,manifest:t,future:n,state:r,isStatic:s,onError:l}){return c4(e,void 0,{manifest:t,state:r,isStatic:s,onError:l})}function R4({to:e,replace:t,state:n,relative:r}){tt(dl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=D.useContext(ra);bn(!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:l}=D.useContext(Ha),{pathname:u}=qn(),d=U0(),f=lc(e,Gf(l),u,r==="path"),h=JSON.stringify(f);return D.useEffect(()=>{d(JSON.parse(h),{replace:t,state:n,relative:r})},[d,h,r,t,n]),null}function D4(e){return l4(e.context)}function O4({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:s,static:l=!1,useTransitions:u}){tt(!dl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),f=D.useMemo(()=>({basename:d,navigator:s,static:l,useTransitions:u,future:{}}),[d,s,l,u]);typeof n=="string"&&(n=wr(n));let{pathname:h="/",search:g="",hash:y="",state:v=null,key:T="default",mask:w}=n,A=D.useMemo(()=>{let _=Ua(h,d);return _==null?null:{location:{pathname:_,search:g,hash:y,state:v,key:T,mask:w},navigationType:r}},[d,h,g,y,v,T,r,w]);return bn(A!=null,`<Router basename="${d}"> is not able to match the URL "${h}${g}${y}" because it does not start with the basename, so the <Router> won't render anything.`),A==null?null:D.createElement(ra.Provider,{value:f},D.createElement(Wf.Provider,{children:t,value:A}))}/**
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 rf="application/x-www-form-urlencoded";function $f(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function L4(e){return $f(e)&&e.tagName.toLowerCase()==="button"}function I4(e){return $f(e)&&e.tagName.toLowerCase()==="form"}function M4(e){return $f(e)&&e.tagName.toLowerCase()==="input"}function P4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function B4(e,t){return e.button===0&&(!t||t==="_self")&&!P4(e)}function Lg(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function j4(e,t){let n=Lg(e);return t&&t.forEach((r,s)=>
126{n.has(s)||t.getAll(s).forEach(l=>{n.append(s,l)})}),n}let Pd=null;function U4(){if(Pd===null)try{new FormData(document.createElement("form"),0),Pd=!1}catch{Pd=!0}return Pd}const H4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Pp(e){return e!=null&&!H4.has(e)?(bn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${rf}"`),null):e}function F4(e,t){let n,r,s,l,u;if(I4(e)){let d=e.getAttribute("action");r=d?Ua(d,t):null,n=e.getAttribute("method")||"get",s=Pp(e.getAttribute("enctype"))||rf,l=new FormData(e)}else if(L4(e)||M4(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?Ua(f,t):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||"get",s=Pp(e.getAttribute("formenctype"))||Pp(d.getAttribute("enctype"))||rf,l=new FormData(d,e),!U4()){let{name:h,type:g,value:y}=e;if(g==="image"){let v=h?`${h}.`:"";l.append(`${v}x`,"0"),l.append(`${v}y`,"0")}else h&&l.append(h,y)}}else{if($f(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n="get",r=null,s=rf,u=e}return l&&s==="text/plain"&&(u=l,l=void 0),{action:r,method:n.toLowerCase(),encType:s,formData:l,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 F0(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 */const z4={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},V4=/[&><\u2028\u2029]/g;function fT(e){return e.replace(V4,t=>z4[t])}/**
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 */function fS(e,t){let n=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n.pathname.endsWith("/")?n.pathname=`${n.pathname}_.${t}`:n.pathname=`${n.pathname}.${t}`,n}/**
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 */async function Y4(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}/**
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 K4(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 q4(e,t,n){return Q4((await Promise.all(e.map(async r=>{let s=t.routes[r.route.id];if(s){let l=await Y4(s,n);return l.links?l.links():[]}return[]}))).flat(1).filter(K4).filter(r=>r.rel==="stylesheet"||r.rel==="preload").map(r=>r.rel==="stylesheet"?{...r,rel:"prefetch",as:"style"}:{...r,rel:"prefetch"}))}function hT(e,t,n,r,s,l){let u=(f,h)=>n[h]?f.route.id!==n[h].route.id:!0,d=(f,h)=>{var g;return n[h].pathname!==f.pathname||((g=n[h].route.path)==null?void 0:g.endsWith("*"))&&n[h].params["*"]!==f.params["*"]};return l==="assets"?t.filter((f,h)=>u(f,h)||d(f,h)):l==="data"?t.filter((f,h)=>{var y;let g=r.routes[f.route.id];if(!g||!g.hasLoader)return!1;if(u(f,h)||d(f,h))return!0;
171if(f.route.shouldRevalidate){let v=f.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:((y=n[0])==null?void 0:y.params)||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function G4(e,t,{includeHydrateFallback:n}={}){return W4(e.map(r=>{let s=t.routes[r.route.id];if(!s)return[];let l=[s.module];return s.clientActionModule&&(l=l.concat(s.clientActionModule)),s.clientLoaderModule&&(l=l.concat(s.clientLoaderModule)),n&&s.hydrateFallbackModule&&(l=l.concat(s.hydrateFallbackModule)),s.imports&&(l=l.concat(s.imports)),l}).flat(1))}function W4(e){return[...new Set(e)]}function X4(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function Q4(e,t){let n=new Set;return new Set(t),e.reduce((r,s)=>{let l=JSON.stringify(X4(s));return n.has(l)||(n.add(l),r.push({key:l,link:s})),r},[])}/**
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 */function $4(){let e=D.useContext(Gs);return F0(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Z4(){let e=D.useContext(cl);return F0(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}const Zf=D.createContext(void 0);Zf.displayName="FrameworkContext";function z0(){let e=D.useContext(Zf);return F0(e,"You must render this element inside a <HydratedRouter> element"),e}function J4(e,t){let n=D.useContext(Zf),[r,s]=D.useState(!1),[l,u]=D.useState(!1),{onFocus:d,onBlur:f,onMouseEnter:h,onMouseLeave:g,onTouchStart:y}=t,v=D.useRef(null);D.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let A=N=>{N.forEach(P=>{u(P.isIntersecting)})},_=new IntersectionObserver(A,{threshold:.5});return v.current&&_.observe(v.current),()=>{_.disconnect()}}},[e]),D.useEffect(()=>{if(r){let A=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(A)}}},[r]);let T=()=>{s(!0)},w=()=>{s(!1),u(!1)};return n?e!=="intent"?[l,v,{}]:[l,v,{onFocus:gu(d,T),onBlur:gu(f,w),onMouseEnter:gu(h,T),onMouseLeave:gu(g,w),onTouchStart:gu(y,T)}]:[!1,v,{}]}function gu(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function eR({page:e,...t}){let n=oS(),{nonce:r}=z0(),{router:s}=$4(),l=D.useMemo(()=>jw(s.routes,e,s.basename),[s.routes,e,s.basename]);return l?(t.nonce==null&&r&&(t={...t,nonce:r}),n?D.createElement(nR,{page:e,matches:l,...t}):D.createElement(aR,{page:e,matches:l,...t})):null}function tR(e){let{manifest:t,routeModules:n}=z0(),[r,s]=D.useState([]);return D.useEffect(()=>{let l=!1;return q4(e,t,n).then(u=>{l||s(u)}),()=>{l=!0}},[e,t,n]),r}function nR({page:e,matches:t,...n}){let r=qn(),s=D.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let l=fS(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&&l.searchParams.set("_routes",d.join(",")),[l.pathname+l.search]},[e,r,t]);return D.createElement(D.Fragment,null,s.map(l=>D.createElement("link",{key:l,rel:"prefetch",as:"fetch",href:l,...n})))}function aR({page:e,matches:t,...n}){let r=qn(),{manifest:s,routeModules:l}=z0(),{loaderData:u,matches:d}=Z4(),f=D.useMemo(()=>hT(e,t,d,s,r,"data"),[e,t,d,s,r]),h=D.useMemo(()=>hT(e,t,d,s,r,"assets"),[e,t,d,s,r]),g=D.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let T=new Set,w=!1;if(t.forEach(_=>{var P;let N=s.routes[_.route.id];!N||!N.hasLoader||(!f.some(I=>I.route.id===_.route.id)&&_.route.id in u&&((P=l[_.route.id])!=null&&P.shouldRevalidate)||N.hasClientLoader?w=!0:T.add(_.route.id))}),T.size===0)return[];let A=fS(e,"data");return w&&T.size>0&&A.searchParams.set("_routes",t.filter(_=>T.has(_.route.id)).map(_=>_.route.id).join(",")),[A.pathname+A.search]},[u,r,s,f,t,e,l]),y=D.useMemo(()=>G4(h,s),[h,s]),v=tR(h);return D.createElement(D.Fragment,null,g.map(T=>D.createElement("link",{key:T,rel:"prefetch",as:"fetch",href:T,...n})),y.map(T=>D.createElement("link",{key:T,rel:"modulepreload",href:T,...n})),v.map(({key:T,link:w})=>D.createElement("link",{key:T,nonce:n.nonce,...w,crossOrigin:w.crossOrigin??n.crossOrigin})))}function rR(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}/**
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 */const iR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{iR&&(window.__reactRouterVersion="8.3.0")}catch{}function sR(e,t){return N6({basename:t==null?void 0:t.basename,getContext:t==null?void 0:t.getContext,future:t==null?void 0:t.future,history:KC({window:t==null?void 0:t.window}),hydrationData:oR(),routes:e,mapRouteProperties:Bw,hydrationRouteProperties:A4,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 oR(){let e=window==null?void 0:window.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:lR(e.errors)}),e}function lR(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,s]of t)if(s&&s.__type==="RouteErrorResponse")n[r]=new uc(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(typeof s.__subType=="string"&&y6.includes(s.__subType)){let l=window[s.__subType];if(typeof l=="function")try{let u=new l(s.message);u.stack="",n[r]=u}catch{}}if(n[r]==null){let l=new Error(s.message);l.stack="",n[r]=l}}else n[r]=s;return n}const hn=D.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:s,reloadDocument:l,replace:u,mask:d,state:f,target:h,to:g,preventScrollReset:y,viewTransition:v,defaultShouldRevalidate:T,...w},A){let{basename:_,navigator:N,useTransitions:P}=D.useContext(ra),I=typeof g=="string"&&qf.test(g),Q=Gw(g,_);g=Q.to;let Z=i4(g,{relative:s}),V=qn(),ue=null;if(d){let de=lc(d,[],V.mask?V.mask.pathname:"/",!0);_!=="/"&&(de.pathname=de.pathname==="/"?_:Ba([_,de.pathname])),ue=N.createHref(de)}let[U,ge,j]=J4(r,w),ce=fR(g,{replace:u,mask:d,state:f,target:h,preventScrollReset:y,relative:s,viewTransition:v,defaultShouldRevalidate:T,useTransitions:P});function ee(de){t&&t(de),de.defaultPrevented||ce(de)}let _e=!(Q.isExternal||l),xe=D.createElement("a",{...w,...j,href:(_e?ue:void 0)||Q.absoluteURL||Z,onClick:_e?ee:t,ref:rR(A,ge),target:h,"data-discover":!I&&n==="render"?"true":void 0});return U&&!I?D.createElement(D.Fragment,null,xe,D.createElement(eR,{page:Z})):xe});hn.displayName="Link";const uR=D.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:s=!1,style:l,to:u,viewTransition:d,children:f,...h},g){let y=cc(u,{relative:h.relative}),v=qn(),T=D.useContext(cl),{navigator:w,basename:A}=D.useContext(ra),_=T!=null&&vR(y)&&d===!0,N=w.encodeLocation?w.encodeLocation(y).pathname:y.pathname,P=v.pathname,I=T&&T.navigation&&T.navigation.location?T.navigation.location.pathname:null;n||(P=P.toLowerCase(),I=I?I.toLowerCase():null,N=N.toLowerCase()),I&&A&&(I=Ua(I,A)||I);const Q=N!=="/"&&N.endsWith("/")?N.length-1:N.length;let Z=P===N||!s&&P.startsWith(N)&&P.charAt(Q)==="/",V=I!=null&&(I===N||!s&&I.startsWith(N)&&I.charAt(Q)==="/"),ue={isActive:Z,isPending:V,isTransitioning:_},U=Z?t:void 0,ge;typeof r=="function"?ge=r(ue):ge=[r,Z?"active":null,V?"pending":null,_?"transitioning":null].filter(
189Boolean).join(" ");let j=typeof l=="function"?l(ue):l;return D.createElement(hn,{...h,"aria-current":U,className:ge,ref:g,style:j,to:u,viewTransition:d},typeof f=="function"?f(ue):f)});uR.displayName="NavLink";const cR=D.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:s,state:l,method:u="get",action:d,onSubmit:f,relative:h,preventScrollReset:g,viewTransition:y,defaultShouldRevalidate:v,...T},w)=>{let{useTransitions:A}=D.useContext(ra),_=gR(),N=yR(d,{relative:h}),P=u.toLowerCase()==="get"?"get":"post",I=typeof d=="string"&&qf.test(d),Q=Z=>{if(f&&f(Z),Z.defaultPrevented)return;Z.preventDefault();let V=Z.nativeEvent.submitter,ue=(V==null?void 0:V.getAttribute("formmethod"))||u,U=()=>_(V||Z.currentTarget,{fetcherKey:t,method:ue,navigate:n,replace:s,state:l,relative:h,preventScrollReset:g,viewTransition:y,defaultShouldRevalidate:v});A&&n!==!1?D.startTransition(()=>U()):U()};return D.createElement("form",{ref:w,method:P,action:N,onSubmit:r?f:Q,...T,"data-discover":!I&&e==="render"?"true":void 0})});cR.displayName="Form";function hS({getKey:e,storageKey:t,...n}){let r=D.useContext(Zf),{basename:s}=D.useContext(ra),l=qn(),u=dS();bR({getKey:e,storageKey:t});let d=D.useMemo(()=>{if(!r||!e)return null;let h=Mg(l,u,s,e);return h!==l.key?h:null},[]);if(!r||r.isSpaMode)return null;let f=((h,g)=>{if(!window.history.state||!window.history.state.key){let y=Math.random().toString(32).slice(2);window.history.replaceState({key:y},"")}try{let y=JSON.parse(sessionStorage.getItem(h)||"{}")[g||window.history.state.key];typeof y=="number"&&window.scrollTo(0,y)}catch(y){console.error(y),sessionStorage.removeItem(h)}}).toString();return n.nonce==null&&(r!=null&&r.nonce)&&(n.nonce=r.nonce),D.createElement("script",{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${f})(${fT(JSON.stringify(t||Ig))}, ${fT(JSON.stringify(d))})`}})}hS.displayName="ScrollRestoration";function mS(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function V0(e){let t=D.useContext(Gs);return tt(t,mS(e)),t}function dR(e){let t=D.useContext(cl);return tt(t,mS(e)),t}function fR(e,{target:t,replace:n,mask:r,state:s,preventScrollReset:l,relative:u,viewTransition:d,defaultShouldRevalidate:f,useTransitions:h}={}){let g=U0(),y=qn(),v=cc(e,{relative:u});return D.useCallback(T=>{if(B4(T,t)){T.preventDefault();let w=n!==void 0?n:Tr(y)===Tr(v),A=()=>g(e,{replace:w,mask:r,state:s,preventScrollReset:l,relative:u,viewTransition:d,defaultShouldRevalidate:f});h?D.startTransition(()=>A()):A()}},[y,g,v,n,r,s,t,e,l,u,d,f,h])}function hR(e){bn(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=D.useRef(Lg(e)),n=D.useRef(!1),r=qn(),s=D.useMemo(()=>j4(r.search,n.current?null:t.current),[r.search]),l=U0();return[s,D.useCallback((u,d)=>{const f=Lg(typeof u=="function"?u(new URLSearchParams(s)):u);n.current=!0,l("?"+f,d)},[l,s])]}let mR=0,pR=()=>`__${String(++mR)}__`;function gR(){let{router:e}=V0("useSubmit"),{basename:t}=D.useContext(ra),n=x4(),r=e.fetch,s=e.navigate;return D.useCallback(async(l,u={})=>{let{action:d,method:f,encType:h,formData:g,body:y}=F4(l,t);u.navigate===!1?await r(u.fetcherKey||pR(),n,u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:g,body:y,formMethod:u.method||f,formEncType:u.encType||h,flushSync:u.flushSync}):await s(u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:g,body:y,formMethod:u.method||f,formEncType:u.encType||h,replace:u.replace,state:u.state,fromRouteId:n,flushSync:u.flushSync,viewTransition:u.viewTransition})},[r,s,t,n])}function yR(e,{relative:t}={}){let{basename:n}=D.useContext(ra),r=D.useContext(Ha);tt(r,"useFormAction must be used inside a RouteContext");let[s]=r.matches.slice(-1),l={...cc(e||".",{relative:t})},u=qn();if(e==null){l.search=u.search;let d=new URLSearchParams(l.search),f=d.getAll("index");if(f.some(h=>h==="")){d.delete("index"),f.filter(g=>g).forEach(g=>d.append("index",g));let h=d.toString();l.search=h?`?${h}`:""}}return(!e||e===".")&&s.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(l.pathname=l.pathname==="/"?n:Ba([n,l.pathname])),Tr(l)}const Ig="react-router-scroll-positions";let Bd={};function Mg(e,t,n,r){let s=null;return r&&(n!=="/"?s=r({...e,pathname:Ua(e.pathname,n)||e.pathname},t):s=r(e,t)),s==null&&(s=e.key),s}function bR({getKey:e,storageKey:t}={}){let{router:n}
189=V0("useScrollRestoration"),{restoreScrollPosition:r,preventScrollReset:s}=dR("useScrollRestoration"),{basename:l}=D.useContext(ra),u=qn(),d=dS(),f=v4();D.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),xR(D.useCallback(()=>{if(f.state==="idle"){let h=Mg(u,d,l,e);Bd[h]=window.scrollY}try{sessionStorage.setItem(t||Ig,JSON.stringify(Bd))}catch(h){bn(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${h}).`)}window.history.scrollRestoration="auto"},[f.state,e,l,u,d,t])),typeof document<"u"&&(D.useLayoutEffect(()=>{try{let h=sessionStorage.getItem(t||Ig);h&&(Bd=JSON.parse(h))}catch{}},[t]),D.useLayoutEffect(()=>{let h=n==null?void 0:n.enableScrollRestoration(Bd,()=>window.scrollY,e?(g,y)=>Mg(g,y,l,e):void 0);return()=>h&&h()},[n,l,e]),D.useLayoutEffect(()=>{if(r!==!1){if(typeof r=="number"){window.scrollTo(0,r);return}try{if(u.hash){let h=document.getElementById(decodeURIComponent(u.hash.slice(1)));if(h){h.scrollIntoView();return}}}catch{bn(!1,`"${u.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}s!==!0&&window.scrollTo(0,0)}},[u,r,s]))}function xR(e,t){let{capture:n}={};D.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,n])}function vR(e,{relative:t}={}){let n=D.useContext(B0);tt(n!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=V0("useViewTransitionState"),s=cc(e,{relative:t});if(!n.isTransitioning)return!1;let l=Ua(n.currentLocation.pathname,r)||n.currentLocation.pathname,u=Ua(n.nextLocation.pathname,r)||n.nextLocation.pathname;return vf(s.pathname,u)!=null||vf(s.pathname,l)!=null}/**
190 * react-router v8.3.0
191 *
192 * Copyright (c) Remix Software Inc.
193 *
194 * This source code is licensed under the MIT license found in the
195 * LICENSE.md file in the root directory of this source tree.
196 *
197 * @license MIT
198 */function TR(e){return D.createElement(k4,{flushSync:vC.flushSync,...e})}class ER extends D.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0}}componentDidCatch(t,n){console.warn("CookieBanner error boundary caught an error:",t,n)}render(){return this.state.hasError?null:this.props.children}}const wR=[],mT={urls:wR};function pS(){return(Array.isArray(mT.urls)?mT.urls:[]).filter(t=>typeof t=="string"&&t.length>0)}function gS(e){const n={"@type":e.businessType??"Organization","@id":`${e.siteUrl}/#organization`,name:e.name,url:`${e.siteUrl}/`};e.logo&&(n.logo=e.logo);const r=pS();return r.length>0&&(n.sameAs=r),n}function SR(e){return{"@context":"https://schema.org",...gS({siteUrl:e.siteUrl,name:e.organizationName})}}function AR(e){const t=`${e.siteUrl}/#website`,n=`${e.siteUrl}/#webpage`;return{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":t,name:e.organizationName,url:`${e.siteUrl}/`},gS({siteUrl:e.siteUrl,name:e.organizationName,logo:e.logo,businessType:e.businessType}),{"@type":"Person","@id":`${e.siteUrl}/#person`,name:"Ben Povlow",url:`${e.siteUrl}/`,description:"Ben Povlow is an author of self-help books and memoir, and the host of the Raising Yourself Up podcast. His work focuses on personal growth, overcoming adversity, and helping teens and young adults thrive.",jobTitle:["Author","Podcast Host"],knowsAbout:["Spiritual Development","Personal Development","Self-Help"],sameAs:pS()},{"@type":"WebPage","@id":n,url:`${e.siteUrl}/`,isPartOf:{"@id":t},about:{"@id":`${e.siteUrl}/#organization`},datePublished:e.datePublished,dateModified:e.dateModified}]}}const _R=D.createContext(void 0);function kR(){const e=D.useContext(_R);return e||(typeof window<"u"?window.location.origin:"")}const NR={name:"Ben Povlow"};function CR(){const e=qn(),t=kR();if(e.pathname!=="/"||!t)return null;const n=SR({siteUrl:t,organizationName:NR.name.trim()||new globalThis.URL(t).hostname});return m.jsx(Kn,{children:m.jsx("script",{type:"application/ld+json",children:JSON.stringify(n).replace(/</g,"\\u003c")})})}const RR=[{label:"Home",href:"/"},{label:"Books",href:"/books"},{label:"Podcast",href:"/podcast"},{label:"Blog",href:"/blog"},{label:"Resources",href:"/writing-resources"},{label:"Work With Ben",href:"/work-with-ben"},{label:"About",href:"/about"},{label:"Contact",href:"/contact"}];function DR(){return m.jsx("footer",{className:"border-t py-12 px-6",
198style:{borderColor:"hsl(var(--border))",background:"hsl(var(--background))"},children:m.jsxs("div",{className:"max-w-6xl mx-auto",children:[m.jsxs("div",{className:"flex flex-col md:flex-row items-center md:items-start justify-between gap-8",children:[m.jsxs("div",{className:"flex flex-col items-center md:items-start gap-3",children:[m.jsx(hn,{to:"/",children:m.jsx("img",{src:"/airo-assets/images/logo/horizontal",alt:"Ben Povlow",className:"block h-auto max-h-8 w-auto max-w-full object-contain self-center"})}),m.jsx("p",{className:"text-sm",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:"Author. Storyteller. Guide."})]}),m.jsx("nav",{"aria-label":"Footer links",className:"flex flex-wrap justify-center md:justify-start gap-x-8 gap-y-3",children:RR.map(e=>m.jsx(hn,{to:e.href,className:"text-sm transition-colors duration-200 hover:text-primary",style:{color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:e.label},e.href))})]}),m.jsxs("div",{className:"mt-10 pt-6 border-t text-center text-xs flex flex-col sm:flex-row items-center justify-center gap-3",style:{borderColor:"hsl(var(--border))",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:[m.jsxs("span",{children:["© ",new Date().getFullYear()," Ben Povlow. All rights reserved."]}),m.jsx("span",{className:"hidden sm:inline","aria-hidden":"true",children:"·"}),m.jsx(hn,{to:"/privacy",className:"hover:text-primary transition-colors duration-200",style:{color:"hsl(var(--muted-foreground))"},children:"Privacy Policy"}),m.jsx("span",{"aria-hidden":"true",children:"·"}),m.jsx(hn,{to:"/terms",className:"hover:text-primary transition-colors duration-200",style:{color:"hsl(var(--muted-foreground))"},children:"Terms of Use"})]})]})})}const pT=[{label:"Home",href:"/"},{label:"Books",href:"/books"},{label:"Podcast",href:"/podcast"},{label:"Blog",href:"/blog"},{label:"Resources",href:"/writing-resources"},{label:"Work With Ben",href:"/work-with-ben"},{label:"About",href:"/about"},{label:"Contact",href:"/contact"}];function OR(){const[e,t]=D.useState(!1),[n,r]=D.useState(!1),s=qn();return D.useEffect(()=>{const l=()=>r(window.scrollY>20);return window.addEventListener("scroll",l,{passive:!0}),()=>window.removeEventListener("scroll",l)},[]),D.useEffect(()=>{t(!1)},[s.pathname]),D.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]),m.jsxs(m.Fragment,{children:[m.jsx("header",{className:"sticky top-0 z-50 transition-all duration-300",style:{background:"hsl(var(--background))",borderBottom:"1px solid hsl(var(--border))",backdropFilter:n?"blur(8px)":"none"},children:m.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-4 flex items-center justify-between",children:[m.jsx(hn,{to:"/",className:"flex items-center shrink-0 min-w-0",children:m.jsx("img",{src:"/airo-assets/images/logo/horizontal",alt:"Ben Povlow",className:"block h-auto max-h-10 md:max-h-12 w-auto max-w-full object-contain self-center",loading:"eager",fetchPriority:"high",width:300,height:90})}),m.jsx("nav",{"aria-label":"Main navigation",className:"hidden lg:flex items-center gap-8",children:pT.map(l=>{const u=s.pathname===l.href;return m.jsxs(hn,{to:l.href,className:"relative text-sm font-medium tracking-wide group transition-colors duration-200",style:{color:u?"hsl(var(--primary))":"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:[l.label,m.jsx("span",{className:"absolute -bottom-0.5 left-0 h-px bg-primary transition-all duration-300 ease-out",style:{width:u?"100%":"0%"},"aria-hidden":"true"})]},l.href)})}),m.jsxs("button",{className:"lg:hidden flex flex-col justify-center gap-1.5 p-2 rounded z-50",onClick:()=>t(l=>!l),"aria-label":e?"Close menu":"Open menu","aria-expanded":e,"aria-controls":"mobile-nav",children:[m.jsx("span",{className:"block w-6 h-0.5 transition-all duration-200 origin-center",style:{background:"hsl(var(--foreground))",transform:e?"translateY(8px) rotate(45deg)":"none"}}),m.jsx("span",{className:"block w-6 h-0.5 transition-all duration-200",style:{background:"hsl(var(--foreground))",opacity:e?0:1}}),m.jsx("span",{className:"block w-6 h-0.5 transition-all duration-200 origin-center",style:{background:"hsl(var(--foreground))",transform:e?"translateY(-8px) rotate(-45deg)":"none"}})]})]})}),e&&m.jsx("div",{id:"mobile-nav",className:"lg:hidden fixed inset-0 z-40 flex flex-col",style:{background:"hsl(var(--background))",top:"0",paddingTop:"80px"},children:m.jsx("nav",{"aria-label":"Mobile navigation",className:"flex flex-col px-8 pt-4 pb-8",children:pT.map(l=>m.jsx(hn,{to:l.href,className:"text-xl font-medium py-4 border-b transition-colors duration-200",style:{color:s.pathname===l.href?"hsl(var(--primary))":"hsl(var(--foreground))",fontFamily:"var(--font-sans)",borderColor:"hsl(var(--border))"},children:l.label},l.href))})})]})}function yS(e){var t,n,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]&&(n=yS(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function LR(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=yS(e))&&(r&&(r+=" "),r+=t);return r}const Y0="-",IR=e=>{const t=PR(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{const d=u.split(Y0);return d[0]===""&&d.length!==1&&d.shift(),bS(d,t)||MR(u)},getConflictingClassGroupIds:(u,d)=>{const f=n[u]||[];return d&&r[u]?[...f,...r[u]]:f}}},bS=(e,t)=>{var u;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?bS(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const l=e.join(Y0);return(u=t.validators.find(({validator:d})=>d(l)))==null?void 0:u.classGroupId},gT=/^\[(.+)\]$/,MR=e=>{if(gT.test(e)){const t=gT.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},PR=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};
vendor: 5,142 bytes, line 198
198return jR(Object.entries(e.classGroups),n).forEach(([l,u])=>{Pg(u,r,l,t)}),r},Pg=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const l=s===""?t:yT(t,s);l.classGroupId=n;return}if(typeof s=="function"){if(BR(s)){Pg(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([l,u])=>{Pg(u,yT(t,l),n,r)})})},yT=(e,t)=>{let n=e;return t.split(Y0).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},BR=e=>e.isThemeGetter,jR=(e,t)=>t?e.map(([n,r])=>{const s=r.map(l=>typeof l=="string"?t+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([u,d])=>[t+u,d])):l);return[n,s]}):e,UR=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(l,u)=>{n.set(l,u),t++,t>e&&(t=0,r=n,n=new Map)};return{get(l){let u=n.get(l);if(u!==void 0)return u;if((u=r.get(l))!==void 0)return s(l,u),u},set(l,u){n.has(l)?n.set(l,u):s(l,u)}}},xS="!",HR=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],l=t.length,u=d=>{const f=[];let h=0,g=0,y;for(let _=0;_<d.length;_++){let N=d[_];if(h===0){if(N===s&&(r||d.slice(_,_+l)===t)){f.push(d.slice(g,_)),g=_+l;continue}if(N==="/"){y=_;continue}}N==="["?h++:N==="]"&&h--}const v=f.length===0?d:d.substring(g),T=v.startsWith(xS),w=T?v.substring(1):v,A=y&&y>g?y-g:void 0;return{modifiers:f,hasImportantModifier:T,baseClassName:w,maybePostfixModifierPosition:A}};return n?d=>n({className:d,parseClassName:u}):u},FR=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},zR=e=>({cache:UR(e.cacheSize),parseClassName:HR(e),...IR(e)}),VR=/\s+/,YR=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,l=[],u=e.trim().split(VR);let d="";for(let f=u.length-1;f>=0;f-=1){const h=u[f],{modifiers:g,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:T}=n(h);let w=!!T,A=r(w?v.substring(0,T):v);if(!A){if(!w){d=h+(d.length>0?" "+d:d);continue}if(A=r(v),!A){d=h+(d.length>0?" "+d:d);continue}w=!1}const _=FR(g).join(":"),N=y?_+xS:_,P=N+A;if(l.includes(P))continue;l.push(P);const I=s(A,w);for(let Q=0;Q<I.length;++Q){const Z=I[Q];l.push(N+Z)}d=h+(d.length>0?" "+d:d)}return d};function KR(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=vS(t))&&(r&&(r+=" "),r+=n);return r}const vS=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=vS(e[r]))&&(n&&(n+=" "),n+=t);return n};function qR(e,...t){let n,r,s,l=u;function u(f){const h=t.reduce((g,y)=>y(g),e());return n=zR(h),r=n.cache.get,s=n.cache.set,l=d,d(f)}function d(f){const h=r(f);if(h)return h;const g=YR(f,n);return s(f,g),g}return function(){return l(KR.apply(null,arguments))}}const zt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},TS=/^\[(?:([a-z-]+):)?(.+)\]$/i,GR=/^\d+\/\d+$/,WR=new Set(["px","full","screen"]),XR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,QR=/\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$/,$R=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ZR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,JR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jr=e=>Qo(e)||WR.has(e)||GR.test(e),zi=e=>fl(e,"length",oD),Qo=e=>!!e&&!Number.isNaN(Number(e)),Bp=e=>fl(e,"number",Qo),yu=e=>!!e&&Number.isInteger(Number(e)),eD=e=>e.endsWith("%")&&Qo(e.slice(0,-1)),Je=e=>TS.test(e),Vi=e=>XR.test(e),tD=new Set(["length","size","percentage"]),nD=e=>fl(e,tD,ES),aD=e=>fl(e,"position",ES),rD=new Set(["image","url"]),iD=e=>fl(e,rD,uD),sD=e=>fl(e,"",lD),bu=()=>!0,fl=(e,t,n)=>{const r=TS.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},oD=e=>QR.test(e)&&!$R.test(e),ES=()=>!1,lD=e=>ZR.test(e),uD=e=>JR.test(e),cD=()=>{const e=zt("colors"),t=zt("spacing"),n=zt("blur"),r=zt("brightness"),s=zt("borderColor"),l=zt("borderRadius"),u=zt("borderSpacing"),d=zt("borderWidth"),f=zt("contrast"),h=zt("grayscale"),g=zt("hueRotate"),y=zt("invert"),v=zt("gap"),T=zt("gradientColorStops"),w=zt("gradientColorStopPositions"),A=zt("inset"),_=zt("margin"),N=zt("opacity"),P=zt("padding"),I=zt("saturate"),Q=zt("scale"),Z=zt("sepia"),V=zt("skew"),ue=zt("space"),U=zt("translate"),ge=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto",Je,t],ee=()=>[Je,t],_e=()=>["",Jr,zi],xe=()=>["auto",Qo,Je],de=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>["start","end","center","between","around","evenly","stretch"],Ee=()=>["","0",Je],R=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Re=()=>[Qo,Je];return{cacheSize:500,separator:":",theme:{colors:[bu],spacing:[Jr,zi],blur:["none","",Vi,Je],brightness:Re(),borderColor:[e],borderRadius:["n
198one","","full",Vi,Je],borderSpacing:ee(),borderWidth:_e(),contrast:Re(),grayscale:Ee(),hueRotate:Re(),invert:Ee(),gap:ee(),gradientColorStops:[e],gradientColorStopPositions:[eD,zi],inset:ce(),margin:ce(),opacity:Re(),padding:ee(),saturate:Re(),scale:Re(),sepia:Ee(),skew:Re(),space:ee(),translate:ee()},classGroups:{aspect:[{aspect:["auto","square","video",Je]}],container:["container"],columns:[{columns:[Vi]}],"break-after":[{"break-after":R()}],"break-before":[{"break-before":R()}],"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:[...de(),Je]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:ge()}],"overscroll-x":[{"overscroll-x":ge()}],"overscroll-y":[{"overscroll-y":ge()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[A]}],"inset-x":[{"inset-x":[A]}],"inset-y":[{"inset-y":[A]}],start:[{start:[A]}],end:[{end:[A]}],top:[{top:[A]}],right:[{right:[A]}],bottom:[{bottom:[A]}],left:[{left:[A]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",yu,Je]}],basis:[{basis:ce()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Je]}],grow:[{grow:Ee()}],shrink:[{shrink:Ee()}],order:[{order:["first","last","none",yu,Je]}],"grid-cols":[{"grid-cols":[bu]}],"col-start-end":[{col:["auto",{span:["full",yu,Je]},Je]}],"col-start":[{"col-start":xe()}],"col-end":[{"col-end":xe()}],"grid-rows":[{"grid-rows":[bu]}],"row-start-end":[{row:["auto",{span:[yu,Je]},Je]}],"row-start":[{"row-start":xe()}],"row-end":[{"row-end":xe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Je]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Je]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...pe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...pe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...pe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[_]}],mx:[{mx:[_]}],my:[{my:[_]}],ms:[{ms:[_]}],me:[{me:[_]}],mt:[{mt:[_]}],mr:[{mr:[_]}],mb:[{mb:[_]}],ml:[{ml:[_]}],"space-x":[{"space-x":[ue]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ue]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Je,t]}],"min-w":[{"min-w":[Je,t,"min","max","fit"]}],"max-w":[{"max-w":[Je,t,"none","full","min","max","fit","prose",{screen:[Vi]},Vi]}],h:[{h:[Je,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Je,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Je,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Je,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Vi,zi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Bp]}],"font-family":[{font:[bu]}],"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",Je]}],"line-clamp":[{"line-clamp":["none",Qo,Bp]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Jr,Je]}],"list-image":[{"list-image":["none",Je]}],"list-style-type":[{list:["none","disc","decimal",Je]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Jr,zi]}],"underline-offset":[{"underline-offset":["auto",Jr,Je]}],"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:ee()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Je]}],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",Je]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...de(),aD]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nD]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},iD]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}
198],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[T]}],"gradient-via":[{via:[T]}],"gradient-to":[{to:[T]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"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":[N]}],"border-style":[{border:[...Y(),"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":[N]}
vendor: 4,490 bytes, line 198
198],"divide-style":[{divide:Y()}],"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:["",...Y()]}],"outline-offset":[{"outline-offset":[Jr,Je]}],"outline-w":[{outline:[Jr,zi]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_e()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[Jr,zi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Vi,sD]}],"shadow-color":[{shadow:[bu]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":re()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",Vi,Je]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[y]}],saturate:[{saturate:[I]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"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",Je]}],duration:[{duration:Re()}],ease:[{ease:["linear","in","out","in-out",Je]}],delay:[{delay:Re()}],animate:[{animate:["none","spin","ping","pulse","bounce",Je]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Q]}],"scale-x":[{"scale-x":[Q]}],"scale-y":[{"scale-y":[Q]}],rotate:[{rotate:[yu,Je]}],"translate-x":[{"translate-x":[U]}],"translate-y":[{"translate-y":[U]}],"skew-x":[{"skew-x":[V]}],"skew-y":[{"skew-y":[V]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Je]}],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",Je]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ee()}],"scroll-mx":[{"scroll-mx":ee()}],"scroll-my":[{"scroll-my":ee()}],"scroll-ms":[{"scroll-ms":ee()}],"scroll-me":[{"scroll-me":ee()}],"scroll-mt":[{"scroll-mt":ee()}],"scroll-mr":[{"scroll-mr":ee()}],"scroll-mb":[{"scroll-mb":ee()}],"scroll-ml":[{"scroll-ml":ee()}],"scroll-p":[{"scroll-p":ee()}],"scroll-px":[{"scroll-px":ee()}],"scroll-py":[{"scroll-py":ee()}],"scroll-ps":[{"scroll-ps":ee()}],"scroll-pe":[{"scroll-pe":ee()}],"scroll-pt":[{"scroll-pt":ee()}],"scroll-pr":[{"scroll-pr":ee()}],"scroll-pb":[{"scroll-pb":ee()}],"scroll-pl":[{"scroll-pl":ee()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Je]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Jr,zi,Bp]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
198none"]}]},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"]}}},dD=qR(cD);function fD(...e){return dD(LR(e))}function hD({children:e,config:t={},className:n}){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 m.jsx("div",{className:fD(r.minHeight!==!1&&"min-h-screen",s(),"flex flex-col",n),children:e})}function mD({children:e}){return m.jsxs(hD,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:"Ben Povlow — Author, Storyteller, Guide"}),m.jsx("meta",{name:"description",content:"Ben Povlow is an author of self-help and fiction books and host of the Raising Yourself Up podcast. Stories that challenge how you see the world — and yourself."}),m.jsx("link",{rel:"alternate",type:"application/rss+xml",title:"Ben Povlow Blog Feed",href:"/feed.xml"}),m.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),m.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"})]}),m.jsx(CR,{}),m.jsx(hS,{}),m.jsx(OR,{}),e,m.jsx(DR,{})]})}function pD({className:e}){return m.jsx("div",{className:`inline-block ${e||""}`,children:m.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:[m.jsx("circle",{className:"opacity-10",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),m.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 gD={overrides:{}};function K0(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function yD(e){return e==="bound-expression"||e==="content-key"||e==="content-key-template"}function bD(e){return K0(e)?typeof e.file=="string"&&typeof e.tagName=="string"&&yD(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
198ash===void 0||e.expressionHash===null||typeof e.expressionHash=="string"):!1}function xD(e){return K0(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 vD(e){return K0(e)?bD(e.target)&&xD(e.marks)&&typeof e.updatedAt=="string":!1}function Mo(e){return e??null}function TD(e){const t=e.replace(/\\/g,"/"),n=t.indexOf("/src/");return n!==-1?t.slice(n+1):t.replace(/^\/+/,"")}function ED(e){const t=e.split("/");return t.some(n=>!/^[a-zA-Z0-9_-]+$/.test(n))?null:t.map(n=>n.toLowerCase()).join("/")}function wD(e){const t=TD(e),n=/^src\/pages\/(.+)\.[jt]sx?$/.exec(t);if(!(n!=null&&n[1]))return{key:"shared",filePath:"format-overrides/shared.json"};const r=ED(n[1]);return r?{key:`pages/${r}`,filePath:`format-overrides/pages/${r}.json`}:{key:"shared",filePath:"format-overrides/shared.json"}}function SD(e,t){return e.file===t.file&&e.tagName===t.tagName&&e.sourceKind===t.sourceKind&&Mo(e.contentKey)===Mo(t.contentKey)&&Mo(e.contentKeyTemplate)===Mo(t.contentKeyTemplate)&&Mo(e.expressionHash)===Mo(t.expressionHash)}function AD(e,t,n){const r=wD(n.file),l=(e.scopes[r.key]??gD).overrides[t];return l?vD(l)?SD(l.target,n)?{status:"applicable",marks:l.marks}:{status:"guard-mismatch",expected:l.target,actual:n}:(r.key,{status:"missing"}):{status:"missing"}}const _D={"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 kD(e){const t=e.fontSize?_D[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 ND={version:1,scopes:{"pages/books":{overrides:{"83761b":{marks:{bold:!1,color:null,fontSize:"1rem",italic:!1},target:{contentKey:"books.hero.label",contentKeyTemplate:null,expressionHash:null,file:"src/pages/books.tsx",sourceKind:"content-key",tagName:"p"},updatedAt:"2026-09-14T23:10:35.804Z"}},version:1},"pages/index":{overrides:{a3d8cb:{marks:{bold:!0,color:"#0a0a0a",fontSize:"1.25rem",italic:!1},target:{contentKey:"home.hero.company",contentKeyTemplate:null,expressionHash:null,file:"src/pages/index.tsx",sourceKind:"content-key",tagName:"p"},updatedAt:"2026-09-14T22:15:18.978Z"}},version:1}}},bT=new Set;let CD=ND;function xT(){return CD}function RD(e){return bT.add(e),()=>{bT.delete(e)}}function DD(){return D.useSyncExternalStore(RD,xT,xT)}function oe({devId:e,guard:t,children:n}){const r=DD(),s=AD(r,e,t);if(s.status==="missing")return m.jsx(m.Fragment,{children:n});if(s.status==="guard-mismatch")return m.jsx(m.Fragment,{children:n});const l=s.marks;return m.jsx("span",{"data-airo-formatted-bound-text":"true","data-airo-format-bold":l.bold?"true":void 0,"data-airo-format-italic":l.italic?"true":void 0,"data-airo-format-color":l.color||void 0,"data-airo-format-size":l.fontSize||void 0,style:kD(l),children:n})}const wS=D.createContext({});function OD(e){const t=D.useRef(null);return t.current===null&&(t.current=e()),t.current}const LD=typeof window<"u",ID=LD?D.useLayoutEffect:D.useEffect,q0=D.createContext(null);function G0(e,t){e.indexOf(t)===-1&&e.push(t)}function Tf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Er=(e,t,n)=>n>t?t:n<e?e:n;let W0=()=>{};const rs={},SS=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function AS(e){return typeof e=="object"&&e!==null}const _S=e=>/^0[^.\s]+$/u.test(e);function kS(e){let t;return()=>(t===void 0&&(t=e()),t)}const ja=e=>e,MD=(e,t)=>n=>t(e(n)),dc=(...e)=>e.reduce(MD),Qu=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class X0{constructor(){this.subscriptions=[]}add(t){return G0(this.subscriptions,t),()=>Tf(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let l=0;l<s;l++){const u=this.subscriptions[l];u&&u(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ga=e=>
vendor: 1,186 bytes, line 198
198e*1e3,Pa=e=>e/1e3;function NS(e,t){return t?e*(1e3/t):0}const CS=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,PD=1e-7,BD=12;function jD(e,t,n,r,s){let l,u,d=0;do u=t+(n-t)/2,l=CS(u,r,s)-e,l>0?n=u:t=u;while(Math.abs(l)>PD&&++d<BD);return u}function fc(e,t,n,r){if(e===t&&n===r)return ja;const s=l=>jD(l,0,1,e,n);return l=>l===0||l===1?l:CS(s(l),t,r)}const RS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,DS=e=>t=>1-e(1-t),OS=fc(.33,1.53,.69,.99),Q0=DS(OS),LS=RS(Q0),IS=e=>e>=1?1:(e*=2)<1?.5*Q0(e):.5*(2-Math.pow(2,-10*(e-1))),$0=e=>1-Math.sin(Math.acos(e)),MS=DS($0),PS=RS($0),UD=fc(.42,0,1,1),HD=fc(0,0,.58,1),BS=fc(.42,0,.58,1),FD=e=>Array.isArray(e)&&typeof e[0]!="number",jS=e=>Array.isArray(e)&&typeof e[0]=="number",zD={linear:ja,easeIn:UD,easeInOut:BS,easeOut:HD,circIn:$0,circInOut:PS,circOut:MS,backIn:Q0,backInOut:LS,backOut:OS,anticipate:IS},VD=e=>typeof e=="string",vT=e=>{if(jS(e)){W0(e.length===4);const[t,n,r,s]=e;return fc(t,n,r,s)}else if(VD(e))return zD[e];return e},jd=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function YD(e,t){let n=new Set,r=new Set,s=!1,l=!1;const u=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};
vendor: 26,932 bytes, line 198
198function f(g){u.has(g)&&(h.schedule(g),e()),g(d)}const h={schedule:(g,y=!1,v=!1)=>{const w=v&&s?n:r;return y&&u.add(g),w.add(g),g},cancel:g=>{r.delete(g),u.delete(g)},process:g=>{if(d=g,s){l=!0;return}s=!0;const y=n;n=r,r=y,n.forEach(f),n.clear(),s=!1,l&&(l=!1,h.process(g))}};return h}const KD=40;function US(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,u=jd.reduce((I,Q)=>(I[Q]=YD(l),I),{}),{setup:d,read:f,resolveKeyframes:h,preUpdate:g,update:y,preRender:v,render:T,postRender:w}=u,A=()=>{const I=rs.useManualTiming,Q=I?s.timestamp:performance.now();n=!1,I||(s.delta=r?1e3/60:Math.max(Math.min(Q-s.timestamp,KD),1)),s.timestamp=Q,s.isProcessing=!0,d.process(s),f.process(s),h.process(s),g.process(s),y.process(s),v.process(s),T.process(s),w.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(A))},_=()=>{n=!0,r=!0,s.isProcessing||e(A)};return{schedule:jd.reduce((I,Q)=>{const Z=u[Q];return I[Q]=(V,ue=!1,U=!1)=>(n||_(),Z.schedule(V,ue,U)),I},{}),cancel:I=>{for(let Q=0;Q<jd.length;Q++)u[jd[Q]].cancel(I)},state:s,steps:u}}const{schedule:Mt,cancel:is,state:Cn,steps:jp}=US(typeof requestAnimationFrame<"u"?requestAnimationFrame:ja,!0);let sf;function qD(){sf=void 0}const Vn={now:()=>(sf===void 0&&Vn.set(Cn.isProcessing||rs.useManualTiming?Cn.timestamp:performance.now()),sf),set:e=>{sf=e,queueMicrotask(qD)}},HS=e=>t=>typeof t=="string"&&t.startsWith(e),FS=HS("--"),GD=HS("var(--"),Z0=e=>GD(e)?WD.test(e.split("/*")[0].trim()):!1,WD=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function TT(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const hl={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},$u={...hl,transform:e=>Er(0,1,e)},Ud={...hl,default:1},Iu=e=>Math.round(e*1e5)/1e5,J0=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function XD(e){return e==null}const QD=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ey=(e,t)=>n=>!!(typeof n=="string"&&QD.test(n)&&n.startsWith(e)||t&&!XD(n)&&Object.prototype.hasOwnProperty.call(n,t)),zS=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,l,u,d]=r.match(J0);return{[e]:parseFloat(s),[t]:parseFloat(l),[n]:parseFloat(u),alpha:d!==void 0?parseFloat(d):1}},$D=e=>Er(0,255,e),Up={...hl,transform:e=>Math.round($D(e))},Bs={test:ey("rgb","red"),parse:zS("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Up.transform(e)+", "+Up.transform(t)+", "+Up.transform(n)+", "+Iu($u.transform(r))+")"};function ZD(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const Bg={test:ey("#"),parse:ZD,transform:Bs.transform},hc=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Gi=hc("deg"),xr=hc("%"),De=hc("px"),JD=hc("vh"),eO=hc("vw"),ET={...xr,parse:e=>xr.parse(e)/100,transform:e=>xr.transform(e*100)},Yo={test:ey("hsl","hue"),parse:zS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+xr.transform(Iu(t))+", "+xr.transform(Iu(n))+", "+Iu($u.transform(r))+")"},dn={test:e=>Bs.test(e)||Bg.test(e)||Yo.test(e),parse:e=>Bs.test(e)?Bs.parse(e):Yo.test(e)?Yo.parse(e):Bg.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Bs.transform(e):Yo.transform(e),getAnimatableNone:e=>{const t=dn.parse(e);return t.alpha=0,dn.transform(t)}},tO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function nO(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(J0))==null?void 0:t.length)||0)+(((n=e.match(tO))==null?void 0:n.length)||0)>0}const VS="number",YS="color",aO="var",rO="var(",wT="${}",iO=/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 Jo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let l=0;const d=t.replace(iO,f=>(dn.test(f)?(r.color.push(l),s.push(YS),n.push(dn.parse(f))):f.startsWith(rO)?(r.var.push(l),s.push(aO),n.push(f)):(r.number.push(l),s.push(VS),n.push(parseFloat(f))),++l,wT)).split(wT);return{values:n,split:d,indexes:r,types:s}}function sO(e){return Jo(e).values}function KS({split:e,types:t}){const n=e.length;return r=>{let s="";for(let l=0;l<n;l++)if(s+=e[l],r[l]!==void 0){const u=t[l];u===VS?s+=Iu(r[l]):u===YS?s+=dn.transform(r[l]):s+=r[l]}return s}}function oO(e){return KS(Jo(e))}const lO=e=>typeof e=="number"?0:dn.test(e)?dn.getAnimatableNone(e):e,uO=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:lO(e);function cO(e){const t=Jo(e);return KS(t)(t.values.map((r,s)=>uO(r,t.split[s])))}const ar={test:nO,parse:sO,createTransformer:oO,getAnimatableNone:cO};function Hp(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function dO({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,l=0,u=0;if(!t)s=l=u=n;else{const d=n<.5?n*(1+t):n+t-n*t,f=2*n-d;s=Hp(f,d,e+1/3),l=Hp(f,d,e),u=Hp(f,d,e-1/3)}return{red:Math.round(s*255),green:Math.round(l*255),blue:Math.round(u*255),alpha:r}}function Ef(e,t){return n=>n>0?t:e}const Vt=(e,t,n)=>e+(t-e)*n,Fp=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},fO=[Bg,Bs,Yo],hO=e=>fO.find(t=>t.test(e));function ST(e){const t=hO(e);if(!t)return!1;let n=t.parse(e);return t===Yo&&(n=dO(n)),n}const AT=(e,t)=>{const n=ST(e),r=ST(t);if(!n||!r)return Ef(e,t);const s={...n};return l=>(s.red=Fp(n.red,r.red,l),s.green=Fp(n.green,r.green,l),s.blue=Fp(n.blue,r.blue,l),s.alpha=Vt(n.alpha,r.alpha,l),Bs.transform(s))},jg=new Set(["none","hidden"]);function mO(e,t){return jg.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function pO(e,t){return n=>Vt(e,t,n)}function ty(e){return typeof e=="number"?pO:typeof e=="string"?Z0(e)?Ef:dn.test(e)?AT:bO:Array.isArray(e)?qS:typeof e=="object"?dn.test(e)?AT:gO:Ef}function qS(e,t){const n=[...e],r=n.length,s=e.map((l,u)=>ty(l)(l,t[u]));return l=>{for(let u=0;u<r;u++)n[u]=s[u](l);return n}}function gO(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=ty(e[s])(e[s],t[s]));return s=>{for(const l in r)n[l]=r[l](s);return n}}function yO(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const l=t.types[s],u=e.indexes[l][r[l]],d=e.values[u]??0;n[s]=d,r[l]++}return n}const bO=(e,t)=>{const n=ar.createTransformer(t),r=Jo(e),s=Jo(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?jg.has(e)&&!s.values.length||jg.has(t)&&!r.values.length?mO(e,t):dc(qS(yO(r,s),s.values),n):Ef(e,t)};function GS(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Vt(e,t,n):ty(e)(e,t)}const xO=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>Mt.update(t,n),stop:()=>is(t),now:()=>Cn.isProcessing?Cn.timestamp:Vn.now()}},WS=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let l=0;l<s;l++)r+=Math.round(e(l/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},wf=2e4;function ny(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<wf;)t+=n,r=e.next(t);return t>=wf?1/0:t}function vO(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(ny(r),wf);return{type:"keyframes",ease:l=>r.next(s*l).value/t,duration:Pa(s)}}const Qt={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 Ug(e,t){return e*Math.sqrt(1-t*t)}const TO=12;function EO(e,t,n){let r=n;for(let s=1;s<TO;s++)r=r-e(r)/t(r);return r}const zp=.001;function wO({duration:e=Qt.duration,bounce:t=Qt.bounce,velocity:n=Qt.velocity,mass:r=Qt.mass}){let s,l,u=1-t;u=Er(Qt.minDamping,Qt.maxDamping,u),e=Er(Qt.minDuration,Qt.maxDuration,Pa(e)),u<1?(s=h=>{const g=h*u,y=g*e,v=g-n,T=Ug(h,u),w=Math.exp(-y);return zp-v/T*w},l=h=>{const y=h*u*e,v=y*n+n,T=Math.pow(u,2)*Math.pow(h,2)*e,w=Math.exp(-y),A=Ug(Math.pow(h,2),u);return(-s(h)+zp>0?-1:1)*((v-T)*w)/A}):(s=h=>{const g=Math.exp(-h*e),y=(h-n)*e+1;return-zp+g*y},l=h=>{const g=Math.exp(-h*e),y=(n-h)*(e*e);return g*y});const d=5/e,f=EO(s,l,d);if(e=ga(e),isNaN(f))return{stiffness:Qt.stiffness,damping:Qt.damping,duration:e};{const h=Math.pow(f,2)*r;return{stiffness:h,damping:u*2*Math.sqrt(r*h),duration:e}}}const SO=["duration","bounce"],AO=["stiffness","damping","mass"];function _T(e,t){return t.some(n=>e[n]!==void 0)}function _O(e){let t={velocity:Qt.velocity,stiffness:Qt.stiffness,damping:Qt.damping,mass:Qt.mass,isResolvedFromDuration:!1,...e};if(!_T(e,AO)&&_T(e,SO))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,l=2*Er(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:Qt.mass,stiffness:s,damping:l}}else{const n=wO({...e,velocity:0});t={...t,...n,mass:Qt.mass},t.isResolvedFromDuration=!0}return t}function Sf(e=Qt.visualDuration,t=Qt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const l=n.keyframes[0],u=n.keyframes[n.keyframes.length-1],d={done:!1,value:l},{stiffness:f,damping:h,mass:g,duration:y,velocity:v,isResolvedFromDuration:T}=_O({...n,velocity:-Pa(n.velocity||0)}),w=v||0,A=h/(2*Math.sqrt(f*g)),_=u-l,N=Pa(Math.sqrt(f/g)),P=Math.abs(_)<5;r||(r=P?Qt.restSpeed.granular:Qt.restSpeed.default),s||(s=P?Qt.restDelta.granular:Qt.restDelta.default);let I,Q,Z,V,ue,U;if(A<1)Z=Ug(N,A),V=(w+A*N*_)/Z,I=j=>{const ce=Math.exp(-A*N*j);return u-ce*(V*Math.sin(Z*j)+_*Math.cos(Z*j))},ue=A*N*V+_*Z,U=A*N*_-V*Z,Q=j=>Math.exp(-A*N*j)*(ue*Math.sin(Z*j)+U*Math.cos(Z*j));else if(A===1){I=ce=>u-Math.exp(-N*ce)*(_+(w+N*_)*ce);const j=w+N*_;Q=ce=>Math.exp(-N*ce)*(N*j*ce-w)}else{const j=N*Math.sqrt(A*A-1);I=xe=>{const de=Math.exp(-A*N*xe),Y=Math.min(j*xe,300);return u-de*((w+A*N*_)*Math.sinh(Y)+j*_*Math.cosh(Y))/j};const ce=(w+A*N*_)/j,ee=A*N*ce-_*j,_e=A*N*_-ce*j;Q=xe=>{const de=Math.exp(-A*N*xe),Y=Math.min(j*xe,300);return de*(ee*Math.sinh(Y)+_e*Math.cosh(Y))}}const ge={calculatedDuration:T&&y||null,velocity:j=>ga(Q(j)),next:j=>{if(!T&&A<1){const ee=Math.exp(-A*N*j),_e=Math.sin(Z*j),xe=Math.cos(Z*j),de=u-ee*(V*_e+_*xe),Y=ga(ee*(ue*_e+U*xe));return d.done=Math.abs(Y)<=r&&Math.abs(u-de)<=s,d.value=d.done?u:de,d}const ce=I(j);if(T)d.done=j>=y;else{const ee=ga(Q(j));d.done=Math.abs(ee)<=r&&Math.abs(u-ce)<=s}return d.value=d.done?u:ce,d},toString:()=>{const j=Math.min(ny(ge),wf),ce=WS(ee=>ge.next(j*ee).value,j,30);return j+"ms "+ce},toTransition:()=>{}};return ge}Sf.applyToOptions=e=>{const t=vO(e,100,Sf);return e.ease=t.ease,e.duration=ga(t.duration),e.type="keyframes",e};const kO=5;function XS(e,t,n){const r=Math.max(t-kO,0);return NS(n-e(r),t-r)}function Hg({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:l=500,modifyTarget:u,min:d,max:f,restDelta:h=.5,restSpeed:g}){const y=e[0],v={done:!1,value:y},T=U=>d!==void 0&&U<d||f!==void 0&&U>f,w=U=>d===void 0?f:f===void 0||Math.abs(d-U)<Math.abs(f-U)?d:f;let A=n*t;const _=y+A,N=u===void 0?_:u(_);N!==_&&(A=N-y);const P=U=>-A*Math.exp(-U/r),I=U=>N+P(U),Q=U=>{const ge=P(U),j=I(U);v.done=Math.abs(ge)<=h,v.value=v.done?N:j};let Z,V;const ue=U=>{T(v.value)&&(Z=U,V=Sf({keyframes:[v.value,w(v.value)],velocity:XS(I,U,v.value),damping:s,stiffness:l,restDelta:h,restSpeed:g}))};return ue(0),{calculatedDuration:null,next:U=>{let ge=!1;return!V&&Z===void 0&&(ge=!0,Q(U),ue(U)),Z!==void 0&&U>=Z?V.next(U-Z):(!ge&&Q(U),v)}}}function NO(e,t,n){const r=[],s=n||rs.mix||GS,l=e.length-1;for(let u=0;u<l;u++){let d=s(e[u],e[u+1]);if(t){const f=Array.isArray(t)?t[u]||ja:t;d=dc(f,d)}r.push(d)}return r}function CO(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const l=e.length;if(W0(l===t.length),l===1)return()=>t[0];if(l===2&&t[0]===t[1])return()=>t[1];const u=e[0]===e[1];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=NO(t,r,s),f=d.length,h=g=>{if(u&&g<e[0])return t[0];let y=0;if(f>1)for(;y<e.length-2&&!(g<e[y+1]);y++);const v=Qu(e[y],e[y+1],g);return d[y](v)};return n?g=>h(Er(e[0],e[l-1],g)):h}function RO(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=Qu(0,t,r);e.push(Vt(n,1,s))}}function DO(e){const t=[0];return RO(t,e.length-1),t}function OO(e,t){return e.map(n=>n*t)}function LO(e,t){return e.map(()=>t||BS).splice(0,e.length-1)}function Mu({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=FD(r)?r.map(vT):vT(r),l={done:!1,value:t[0]},u=OO(n&&n.length===t.length?n:DO(t),e),d=CO(u,t,{ease:Array.isArray(s)?s:LO(t,s)});return{calculatedDuration:e,next:f=>(l.value=d(f),l.done=f>=e,l)}}const IO=e=>e!==null;function Jf(e,{repeat:t,repeatType:n="loop"},r,s=1){const l=e.filter(IO),d=s<0||t&&n!=="loop"&&t%2===1?0:l.length-1;return!d||r===void 0?l[d]:r}const MO={decay:Hg,inertia:Hg,tween:Mu,keyframes:Mu,spring:Sf};function QS(e){typeof e.type=="string"&&(e.type=MO[e.type])}class ay{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const PO=e=>e/100;class Af extends ay{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:n}=this.options;n&&n.updatedAt!==Vn.now()&&this.tick(Vn.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;QS(t);const{type:n=Mu,repeat:r=0,repeatDelay:s=0,repeatType:l,velocity:u=0}=t;let{keyframes:d}=t;const f=n||Mu;f!==Mu&&typeof d[0]!="number"&&(this.mixKeyframes=dc(PO,GS(d[0],d[1])),d=[0,100]);const h=f({...t,keyframes:d});l==="mirror"&&(this.mirroredGenerator=f({...t,keyframes:[...d].reverse(),velocity:-u})),h.calculatedDuration===null&&(h.calculatedDuration=ny(h));const{calculatedDuration:g}=h;this.calculatedDuration=g,this.resolvedDuration=g+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=h}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:l,mirroredGenerator:u,resolvedDuration:d,calculatedDuration:f}=this;if(this.startTime===null)return r.next(0);const{delay:h=0,keyframes:g,repeat:y,repeatType:v,repeatDelay:T,type:w,onUpdate:A,finalKeyframe:_}=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)),n?this.currentTime=t:this.updateTime(t);const N=this.currentTime-h*(this.playbackSpeed>=0?1:-1),P=this.playbackSpeed>=0?N<0:N>s;this.currentTime=Math.max(N,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let I=this.currentTime,Q=r;if(y){const U=Math.min(this.currentTime,s)/d;let ge=Math.floor(U),j=U%1;!j&&U>=1&&(j=1),j===1&&ge--,ge=Math.min(ge,y+1),!!(ge%2)&&(v==="reverse"?(j=1-j,T&&(j-=T/d)):v==="mirror"&&(Q=u)),I=Er(0,1,j)*d}let Z;P?(this.delayState.value=g[0],Z=this.delayState):Z=Q.next(I),l&&!P&&(Z.value=l(Z.value));let{done:V}=Z;!P&&f!==null&&(V=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const ue=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&V);return ue&&w!==Hg&&(Z.value=Jf(g,this.options,_,this.speed)),A&&A(Z.value),ue&&this.finish(),Z}then(t,n){return this.finished.then(t,n)}get duration(){return Pa(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Pa(t)}get time(){return Pa(this.currentTime)}set time(t){t=ga(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 n=this.generator.next(t).value;return XS(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(Vn.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=Pa(this.currentTime))}play(){var s,l;if(this.isStopped)return;const{driver:t=xO,startTime:n}=this.options;this.driver||(this.driver=t(u=>this.tick(u))),(l=(s=this.options).onPlay)==null||l.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=n??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(Vn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.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 n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function BO(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const js=e=>e*180/Math.PI,Fg=e=>{const t=js(Math.atan2(e[1],e[0]));return zg(t)},jO={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Fg,rotateZ:Fg,skewX:e=>js(Math.atan(e[1])),skewY:e=>js(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},zg=e=>(e=e%360,e<0&&(e+=360),e),kT=Fg,NT=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),CT=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),UO={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:NT,scaleY:CT,scale:e=>(NT(e)+CT(e))/2,rotateX:e=>zg(js(Math.atan2(e[6],e[5]))),rotateY:e=>zg(js(Math.atan2(-e[2],e[0]))),rotateZ:kT,rotate:kT,skewX:e=>js(Math.atan(e[4])),skewY:e=>js(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Vg(e){return e.includes("scale")?1:0}function Yg(e,t){if(!e||e==="none")return Vg(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=UO,s=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=jO,s=d}if(!s)return Vg(t);const l=r[t],u=s[1].split(",").map(FO);return typeof l=="function"?l(u):u[l]}const HO=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Yg(n,t)};function FO(e){return parseFloat(e.trim())}const ml=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pl=new Set(ml),RT=e=>e===hl||e===De,zO=new Set(["x","y","z"]),VO=ml.filter(e=>!zO.has(e));function YO(e){const t=[];return VO.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const es={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Yg(t,"x"),y:(e,{transform:t})=>Yg(t,"y")};es.translateX=es.x;es.translateY=es.y;const zs=new Set;let Kg=!1,qg=!1,Gg=!1;function $S(){if(qg){const e=Array.from(zs).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=YO(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([l,u])=>{var d;(d=r.getValue(l))==null||d.set(u)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}qg=!1,Kg=!1,zs.forEach(e=>e.complete(Gg)),zs.clear()}function ZS(){zs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(qg=!0)})}function KO(){Gg=!0,ZS(),$S(),Gg=!1}class ry{constructor(t,n,r,s,l,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=l,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(zs.add(this),Kg||(Kg=!0,Mt.read(ZS),Mt.resolveKeyframes($S))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const l=s==null?void 0:s.get(),u=t[t.length-1];if(l!==void 0)t[0]=l;else if(r&&n){const d=r.readValue(n,u);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=u),s&&l===void 0&&s.set(t[0])}BO(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),zs.delete(this)}cancel(){this.state==="scheduled"&&(zs.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const qO=e=>e.startsWith("--");function JS(e,t,n){qO(t)?e.style.setProperty(t,n):e.style[t]=n}const GO={};function eA(e,t){const n=kS(e);return()=>GO[t]??n()}const WO=eA(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),tA=eA(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ku=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,DT={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ku([0,.65,.55,1]),circOut:ku([.55,0,1,.45]),backIn:ku([.31,.01,.66,-.59]),backOut:ku([.33,1.53,.69,.99])};function nA(e,t){if(e)return typeof e=="function"?tA()?WS(e,t):"ease-out":jS(e)?ku(e):Array.isArray(e)?e.map(n=>nA(n,t)||DT.easeOut):DT[e]}function XO(e,t,n,{delay:r=0,duration:s=300,repeat:l=0,repeatType:u="loop",ease:d="easeOut",times:f}={},h=void 0){const g={[t]:n};f&&(g.offset=f);const y=nA(d,s);Array.isArray(y)&&(g.easing=y);const v={delay:r,duration:s,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:l+1,direction:u==="reverse"?"alternate":"normal"};return h&&(v.pseudoElement=h),e.animate(g,v)}function aA(e){return typeof e=="function"&&"applyToOptions"in e}function QO({type:e,...t}){return aA(e)&&tA()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class rA extends ay{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:l,allowFlatten:u=!1,finalKeyframe:d,onComplete:f}=t;this.isPseudoElement=!!l,this.allowFlatten=u,this.options=t,W0(typeof t.type!="string");const h=QO(t);this.animation=XO(n,r,s,h,l),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!l){const g=Jf(s,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(g),JS(n,r,g),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,n;(n=(t=this.animation).finish)==null||n.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 n,r,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return Pa(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Pa(t)}get time(){return Pa(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ga(t),n&&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:n,rangeEnd:r,observe:s}){var l;return this.allowFlatten&&((l=this.animation.effect)==null||l.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&WO()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),ja):s(this)}}const iA={anticipate:IS,backInOut:LS,circInOut:PS};function $O(e){return e in iA}function ZO(e){typeof e.ease=="string"&&$O(e.ease)&&(e.ease=iA[e.ease])}const Vp=10;class JO extends rA{constructor(t){ZO(t),QS(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:l,...u}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new Af({...u,autoplay:!1}),f=Math.max(Vp,Vn.now()-this.startTime),h=Er(0,Vp,f-Vp),g=d.sample(f).value,{name:y}=this.options;l&&y&&JS(l,y,g),n.setWithVelocity(d.sample(Math.max(0,f-h)).value,g,h),d.stop()}}const OT=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ar.test(e)||e==="0")&&!e.startsWith("url("));function eL(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function tL(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const l=e[e.length-1],u=OT(s,t),d=OT(l,t);return!u||!d?!1:eL(e)||(n==="spring"||aA(n))&&r}function Wg(e){e.duration=0,e.type="keyframes"}const sA=new Set(["opacity","clipPath","filter","transform"]),nL=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function aL(e){for(let t=0;t<e.length;
198t++)if(typeof e[t]=="string"&&nL.test(e[t]))return!0;return!1}const rL=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),iL=kS(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function sL(e){var y;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:l,type:u,keyframes:d}=e;if(!(((y=t==null?void 0:t.owner)==null?void 0:y.current)instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:g}=t.owner.getProps();return iL()&&n&&(sA.has(n)||rL.has(n)&&aL(d))&&(n!=="transform"||!g)&&!h&&!r&&s!=="mirror"&&l!==0&&u!=="inertia"}const oL=40;class lL extends ay{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:l=0,repeatType:u="loop",keyframes:d,name:f,motionValue:h,element:g,...y}){var w;super(),this.stop=()=>{var A,_;this._animation&&(this._animation.stop(),(A=this.stopTimeline)==null||A.call(this)),(_=this.keyframeResolver)==null||_.cancel()},this.createdAt=Vn.now();const v={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:l,repeatType:u,name:f,motionValue:h,element:g,...y},T=(g==null?void 0:g.KeyframeResolver)||ry;this.keyframeResolver=new T(d,(A,_,N)=>this.onKeyframesResolved(A,_,v,!N),f,h,g),(w=this.keyframeResolver)==null||w.scheduleResolve()}onKeyframesResolved(t,n,r,s){var N,P;this.keyframeResolver=void 0;const{name:l,type:u,velocity:d,delay:f,isHandoff:h,onUpdate:g}=r;this.resolvedAt=Vn.now();let y=!0;tL(t,l,u,d)||(y=!1,(rs.instantAnimations||!f)&&(g==null||g(Jf(t,r,n))),t[0]=t[t.length-1],Wg(r),r.repeat=0);const T={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>oL?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},w=y&&!h&&sL(T),A=(P=(N=T.motionValue)==null?void 0:N.owner)==null?void 0:P.current;let _;if(w)try{_=new JO({...T,element:A})}catch{_=new Af(T)}else _=new Af(T);_.finished.then(()=>{this.notifyFinished()}).catch(ja),this.pendingTimeline&&(this.stopTimeline=_.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=_}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),KO()),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 oA(e,t,n,r=0,s=1){const l=Array.from(e).sort((h,g)=>h.sortNodePosition(g)).indexOf(t),u=e.size,d=(u-1)*r;return typeof n=="function"?n(l,u):s===1?l*r:d-l*r}const uL=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function cL(e){const t=uL.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}function lA(e,t,n=1){const[r,s]=cL(e);if(!r)return;const l=window.getComputedStyle(t).getPropertyValue(r);if(l){const u=l.trim();return SS(u)?parseFloat(u):u}return Z0(s)?lA(s,t,n+1):s}const dL={type:"spring",stiffness:500,damping:25,restSpeed:10},fL=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),hL={type:"keyframes",duration:.8},mL={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},pL=(e,{keyframes:t})=>t.length>2?hL:pl.has(e)?e.startsWith("scale")?fL(t[1]):dL:mL;function uA(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function iy(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?uA(n,e):n}const gL=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function yL(e){for(const t in e)if(!gL.has(t))return!0;return!1}const sy=(e,t,n,r={},s,l)=>u=>{const d=iy(r,e)||{},f=d.delay||r.delay||0;
vendor: 65,752 bytes, line 198
198let{elapsed:h=0}=r;h=h-ga(f);const g={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-h,onUpdate:v=>{t.set(v),d.onUpdate&&d.onUpdate(v)},onComplete:()=>{u(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:l?void 0:s};yL(d)||Object.assign(g,pL(e,g)),g.duration&&(g.duration=ga(g.duration)),g.repeatDelay&&(g.repeatDelay=ga(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Wg(g),g.delay===0&&(y=!0)),(rs.instantAnimations||rs.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(y=!0,Wg(g),g.delay=0),g.allowFlatten=!d.type&&!d.ease,y&&!l&&t.get()!==void 0){const v=Jf(g.keyframes,d);if(v!==void 0){Mt.update(()=>{g.onUpdate(v),g.onComplete()});return}}return d.isSync?new Af(g):new lL(g)};function LT(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function oy(e,t,n,r){if(typeof t=="function"){const[s,l]=LT(r);t=t(n!==void 0?n:e.custom,s,l)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,l]=LT(r);t=t(n!==void 0?n:e.custom,s,l)}return t}function Vs(e,t,n){const r=e.getProps();return oy(r,t,n!==void 0?n:r.custom,e)}const cA=new Set(["width","height","top","left","right","bottom",...ml]),IT=30,bL=e=>!isNaN(parseFloat(e));class xL{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var l;const s=Vn.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((l=this.events.change)==null||l.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Vn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=bL(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new X0);const r=this.events[t].add(n);return t==="change"?()=>{r(),Mt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&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=Vn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>IT)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,IT);return NS(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),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,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function el(e,t){return new xL(e,t)}const Xg=e=>Array.isArray(e);function vL(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,el(n))}function TL(e){return Xg(e)?e[e.length-1]||0:e}function EL(e,t){const n=Vs(e,t);let{transitionEnd:r={},transition:s={},...l}=n||{};l={...l,...r};for(const u in l){const d=TL(l[u]);vL(e,u,d)}}const Dn=e=>!!(e&&e.getVelocity);function wL(e){return!!(Dn(e)&&e.add)}function Qg(e,t){const n=e.getValue("willChange");if(wL(n))return n.add(t);if(!n&&rs.WillChange){const r=new rs.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function ly(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const SL="framerAppearId",dA="data-"+ly(SL);function fA(e){return e.props[dA]}function AL({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function hA(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:l,transitionEnd:u,...d}=t;const f=e.getDefaultTransition();l=l?uA(l,f):f;const h=l==null?void 0:l.reduceMotion;r&&(l=r);const g=[],y=s&&e.animationState&&e.animationState.getState()[s];for(const v in d){const T=e.getValue(v,e.latestValues[v]??null),w=d[v];if(w===void 0||y&&AL(y,v))continue;const A={delay:n,...iy(l||{},v)},_=T.get();if(_!==void 0&&!T.isAnimating()&&!Array.isArray(w)&&w===_&&!A.velocity){Mt.update(()=>T.set(w));continue}let N=!1;if(window.MotionHandoffAnimation){const Q=fA(e);if(Q){const Z=window.MotionHandoffAnimation(Q,v,Mt);Z!==null&&(A.startTime=Z,N=!0)}}Qg(e,v);const P=h??e.shouldReduceMotion;T.start(sy(v,T,w,P&&cA.has(v)?{type:!1}:A,e,N));const I=T.animation;I&&g.push(I)}if(u){const v=()=>Mt.update(()=>{u&&EL(e,u)});g.length?Promise.all(g).then(v):v()}return g}function $g(e,t,n={}){var f;const r=Vs(e,t,n.type==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const l=r?()=>Promise.all(hA(e,r,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:v}=s;return _L(e,t,h,g,y,v,n)}:()=>Promise.resolve(),{when:d}=s;if(d){const[h,g]=d==="beforeChildren"?[l,u]:[u,l];return h().then(()=>g())}else return Promise.all([l(),u(n.delay)])}function _L(e,t,n=0,r=0,s=0,l=1,u){const d=[];for(const f of e.variantChildren)f.notify("AnimationStart",t),d.push($g(f,t,{...u,delay:n+(typeof r=="function"?0:r)+oA(e.variantChildren,f,r,s,l)}).then(()=>f.notify("AnimationComplete",t)));return Promise.all(d)}function kL(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(l=>$g(e,l,n));r=Promise.all(s)}else if(typeof t=="string")r=$g(e,t,n);else{const s=typeof t=="function"?Vs(e,t,n.custom):t;r=Promise.all(hA(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const NL={test:e=>e==="auto",parse:e=>e},mA=e=>t=>t.test(e),pA=[hl,De,xr,Gi,eO,JD,NL],MT=e=>pA.find(mA(e));function CL(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||_S(e):!0}const RL=new Set(["brightness","contrast","saturate","opacity"]);function DL(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(J0)||[];if(!r)return e;const s=n.replace(r,"");let l=RL.has(t)?1:0;return r!==n&&(l*=100),t+"("+l+s+")"}const OL=/\b([a-z-]*)\(.*?\)/gu,Zg={...ar,getAnimatableNone:e=>{const t=e.match(OL);return t?t.map(DL).join(" "):e}},Jg={...ar,getAnimatableNone:e=>{const t=ar.parse(e);return ar.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},PT={...hl,transform:Math.round},LL={rotate:Gi,rotateX:Gi,rotateY:Gi,rotateZ:Gi,scale:Ud,scaleX:Ud,scaleY:Ud,scaleZ:Ud,skew:Gi,skewX:Gi,skewY:Gi,distance:De,translateX:De,translateY:De,translateZ:De,x:De,y:De,z:De,perspective:De,transformPerspective:De,opacity:$u,originX:ET,originY:ET,originZ:De},uy={borderWidth:De,borderTopWidth:De,borderRightWidth:De,borderBottomWidth:De,borderLeftWidth:De,borderRadius:De,borderTopLeftRadius:De,borderTopRightRadius:De,borderBottomRightRadius:De,borderBottomLeftRadius:De,width:De,maxWidth:De,height:De,maxHeight:De,top:De,right:De,bottom:De,left:De,inset:De,insetBlock:De,insetBlockStart:De,insetBlockEnd:De,insetInline:De,insetInlineStart:De,insetInlineEnd:De,padding:De,paddingTop:De,paddingRight:De,paddingBottom:De,paddingLeft:De,paddingBlock:De,paddingBlockStart:De,paddingBlockEnd:De,paddingInline:De,paddingInlineStart:De,paddingInlineEnd:De,margin:De,marginTop:De,marginRight:De,marginBottom:De,marginLeft:De,marginBlock:De,marginBlockStart:De,marginBlockEnd:De,marginInline:De,marginInlineStart:De,marginInlineEnd:De,fontSize:De,backgroundPositionX:De,backgroundPositionY:De,...LL,zIndex:PT,fillOpacity:$u,strokeOpacity:$u,numOctaves:PT},IL={...uy,color:dn,backgroundColor:dn,outlineColor:dn,fill:dn,stroke:dn,borderColor:dn,borderTopColor:dn,borderRightColor:dn,borderBottomColor:dn,borderLeftColor:dn,filter:Zg,WebkitFilter:Zg,mask:Jg,WebkitMask:Jg},gA=e=>IL[e],ML=new Set([Zg,Jg]);function yA(e,t){let n=gA(e);return ML.has(n)||(n=ar),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const PL=new Set(["auto","none","0"]);function BL(e,t,n){let r=0,s;for(;r<e.length&&!s;){const l=e[r];typeof l=="string"&&!PL.has(l)&&Jo(l).values.length&&(s=e[r]),r++}if(s&&n)for(const l of t)e[l]=yA(n,s)}class jL extends ry{constructor(t,n,r,s,l){super(t,n,r,s,l,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let g=0;g<t.length;g++){let y=t[g];if(typeof y=="string"&&(y=y.trim(),Z0(y))){const v=lA(y,n.current);v!==void 0&&(t[g]=v),g===t.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!cA.has(r)||t.length!==2)return;const[s,l]=t,u=MT(s),d=MT(l),f=TT(s),h=TT(l);if(f!==h&&es[r]){this.needsMeasurement=!0;return}if(u!==d)if(RT(u)&&RT(d))for(let g=0;g<t.length;g++){const y=t[g];typeof y=="string"&&(t[g]=parseFloat(y))}else es[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||CL(t[s]))&&r.push(s);r.length&&BL(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=es[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var d;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const l=r.length-1,u=r[l];r[l]=es[n](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 bA(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const s=(n==null?void 0:n[e])??r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const xA=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function UL(e){return AS(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:cy}=US(queueMicrotask,!1),nr={x:!1,y:!1};function vA(){return nr.x||nr.y}function HL(e){return e==="x"||e==="y"?nr[e]?null:(nr[e]=!0,()=>{nr[e]=!1}):nr.x||nr.y?null:(nr.x=nr.y=!0,()=>{nr.x=nr.y=!1})}function TA(e,t){const n=bA(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function FL(e){return!(e.pointerType==="touch"||vA())}function zL(e,t,n={}){const[r,s,l]=TA(e,n);return r.forEach(u=>{let d=!1,f=!1,h;const g=()=>{u.removeEventListener("pointerleave",w)},y=_=>{h&&(h(_),h=void 0),g()},v=_=>{d=!1,window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",v),f&&(f=!1,y(_))},T=()=>{d=!0,window.addEventListener("pointerup",v,s),window.addEventListener("pointercancel",v,s)},w=_=>{if(_.pointerType!=="touch"){if(d){f=!0;return}y(_)}},A=_=>{if(!FL(_))return;f=!1;const N=t(u,_);typeof N=="function"&&(h=N,u.addEventListener("pointerleave",w,s))};u.addEventListener("pointerenter",A,s),u.addEventListener("pointerdown",T,s)}),l}const EA=(e,t)=>t?e===t?!0:EA(e,t.parentElement):!1,dy=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,VL=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function YL(e){return VL.has(e.tagName)||e.isContentEditable===!0}const KL=new Set(["INPUT","SELECT","TEXTAREA"]);function qL(e){return KL.has(e.tagName)||e.isContentEditable===!0}const of=new WeakSet;function BT(e){return t=>{t.key==="Enter"&&e(t)}}function Yp(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const GL=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=BT(()=>{if(of.has(n))return;Yp(n,"down");const s=BT(()=>{Yp(n,"up")}),l=()=>Yp(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",l,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function jT(e){return dy(e)&&!vA()}const UT=new WeakSet;function WL(e,t,n={}){const[r,s,l]=TA(e,n),u=d=>{const f=d.currentTarget;if(!jT(d)||UT.has(d))return;of.add(f),n.stopPropagation&&UT.add(d);const h=t(f,d),g=(T,w)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",v),of.has(f)&&of.delete(f),jT(T)&&typeof h=="function"&&h(T,{success:w})},y=T=>{g(T,f===window||f===document||n.useGlobalTarget||EA(f,T.target))},v=T=>{g(T,!1)};window.addEventListener("pointerup",y,s),window.addEventListener("pointercancel",v,s)};return r.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",u,s),UL(d)&&(d.addEventListener("focus",h=>GL(h,s)),!YL(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),l}function fy(e){return AS(e)&&"ownerSVGElement"in e}const lf=new WeakMap;let Wi;const wA=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:fy(r)&&"getBBox"in r?r.getBBox()[t]:r[n],XL=wA("inline","width","offsetWidth"),QL=wA("block","height","offsetHeight");function $L({target:e,borderBoxSize:t}){var n;(n=lf.get(e))==null||n.forEach(r=>{r(e,{get width(){return XL(e,t)},get height(){return QL(e,t)}})})}function ZL(e){e.forEach($L)}function JL(){typeof ResizeObserver>"u"||(Wi=new ResizeObserver(ZL))}function e5(e,t){Wi||JL();const n=bA(e);return n.forEach(r=>{let s=lf.get(r);s||(s=new Set,lf.set(r,s)),s.add(t),Wi==null||Wi.observe(r)}),()=>{n.forEach(r=>{const s=lf.get(r);s==null||s.delete(t),s!=null&&s.size||Wi==null||Wi.unobserve(r)})}}const uf=new Set;let Ko;function t5(){Ko=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};uf.forEach(t=>t(e))},window.addEventListener("resize",Ko)}function n5(e){return uf.add(e),Ko||t5(),()=>{uf.delete(e),!uf.size&&typeof Ko=="function"&&(window.removeEventListener("resize",Ko),Ko=void 0)}}function HT(e,t){return typeof e=="function"?n5(e):e5(e,t)}function a5(e){return fy(e)&&e.tagName==="svg"}const r5=[...pA,dn,ar],i5=e=>r5.find(mA(e)),FT=()=>({translate:0,scale:1,origin:0,originPoint:0}),qo=()=>({x:FT(),y:FT()}),zT=()=>({min:0,max:0}),yn=()=>({x:zT(),y:zT()}),s5=new WeakMap;function eh(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Zu(e){return typeof e=="string"||Array.isArray(e)}const hy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],my=["initial",...hy];function th(e){return eh(e.animate)||my.some(t=>Zu(e[t]))}function SA(e){return!!(th(e)||e.variants)}function o5(e,t,n){for(const r in t){const s=t[r],l=n[r];if(Dn(s))e.addValue(r,s);else if(Dn(l))e.addValue(r,el(s,{owner:e}));else if(l!==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,el(u!==void 0?u:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const e0={current:null},AA={current:!1},l5=typeof window<"u";function u5(){if(AA.current=!0,!!l5)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>e0.current=e.matches;e.addEventListener("change",t),t()}else e0.current=!1}const VT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let _f={};function _A(e){_f=e}function c5(){return _f}class d5{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:l,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=ry,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const T=Vn.now();this.renderScheduledAt<T&&(this.renderScheduledAt=T,Mt.render(this.render,!1,!0))};const{latestValues:h,renderState:g}=d;this.latestValues=h,this.baseTarget={...h},this.initialValues=n.initial?{...h}:{},this.renderState=g,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=l,this.options=f,this.blockInitialAnimation=!!u,this.isControllingVariants=th(n),this.isVariantNode=SA(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:y,...v}=this.scrapeMotionValuesFromProps(n,{},this);for(const T in v){const w=v[T];h[T]!==void 0&&Dn(w)&&w.set(h[T])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,s5.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,l)=>this.bindToMotionValue(l,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(AA.current||u5(),this.shouldReduceMotion=e0.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(),is(this.notifyUpdate),is(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];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,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&sA.has(t)&&this.current instanceof HTMLElement){const{factory:u,keyframes:d,times:f,ease:h,duration:g}=n.accelerate,y=new rA({element:this.current,name:t,keyframes:d,times:f,ease:h,duration:ga(g)}),v=u(y);this.valueSubscriptions.set(t,()=>{v(),y.cancel()});return}const r=pl.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&Mt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let l;typeof window<"u"&&window.MotionCheckAppearSync&&(l=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),l&&l(),n.owner&&n.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 _f){const n=_f[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const l=this.features[t];l.isMounted?l.update():(l.mount(),l.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):yn()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<VT.length;r++){const s=VT[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const l="on"+s,u=t[l];u&&(this.propEventSubscriptions[s]=this.on(s,u))}this.prevMotionValues=o5(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 n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=el(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){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"&&(SS(r)||_S(r))?r=parseFloat(r):!i5(r)&&ar.test(n)&&(r=yA(t,n)),this.setBaseTarget(t,Dn(r)?r.get():r)),Dn(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var l;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const u=oy(this.props,n,(l=this.presenceContext)==null?void 0:l.custom);u&&(r=u[t])}if(n&&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,n){return this.events[t]||(this.events[t]=new X0),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){cy.render(this.render)}}class kA extends d5{constructor(){super(...arguments),this.KeyframeResolver=jL}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Dn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class ls{constructor(t){this.isMounted=!1,this.node=t}update(){}}function NA({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function f5({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function h5(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Kp(e){return e===void 0||e===1}function t0({scale:e,scaleX:t,scaleY:n}){return!Kp(e)||!Kp(t)||!Kp(n)}function Ms(e){return t0(e)||CA(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function CA(e){return YT(e.x)||YT(e.y)}function YT(e){return e&&e!=="0%"}function kf(e,t,n){const r=e-n,s=t*r;return n+s}function KT(e,t,n,r,s){return s!==void 0&&(e=kf(e,s,r)),kf(e,n,r)+t}function n0(e,t=0,n=1,r,s){e.min=KT(e.min,t,n,r,s),e.max=KT(e.max,t,n,r,s)}function RA(e,{x:t,y:n}){n0(e.x,t.translate,t.scale,t.originPoint),n0(e.y,n.translate,n.scale,n.originPoint)}const qT=.999999999999,GT=1.0000000000001;function m5(e,t,n,r=!1){var d;const s=n.length;if(!s)return;t.x=t.y=1;let l,u;for(let f=0;f<s;f++){l=n[f],u=l.projectionDelta;const{visualElement:h}=l.options;h&&h.props.style&&h.props.style.display==="contents"||(r&&l.options.layoutScroll&&l.scroll&&l!==l.root&&(yr(e.x,-l.scroll.offset.x),yr(e.y,-l.scroll.offset.y)),u&&(t.x*=u.x.scale,t.y*=u.y.scale,RA(e,u)),r&&Ms(l.latestValues)&&cf(e,l.latestValues,(d=l.layout)==null?void 0:d.layoutBox))}t.x<GT&&t.x>qT&&(t.x=1),t.y<GT&&t.y>qT&&(t.y=1)}function yr(e,t){e.min+=t,e.max+=t}function WT(e,t,n,r,s=.5){const l=Vt(e.min,e.max,s);n0(e,t,n,l,r)}function XT(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function cf(e,t,n){const r=n??e;WT(e.x,XT(t.x,r.x),t.scaleX,t.scale,t.originX),WT(e.y,XT(t.y,r.y),t.scaleY,t.scale,t.originY)}function DA(e,t){return NA(h5(e.getBoundingClientRect(),t))}function p5(e,t,n){const r=DA(e,n),{scroll:s}=t;return s&&(yr(r.x,s.offset.x),yr(r.y,s.offset.y)),r}const g5={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},y5=ml.length;function b5(e,t,n){let r="",s=!0;for(let l=0;l<y5;l++){const u=ml[l],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||n){const h=xA(d,uy[u]);if(!f){s=!1;const g=g5[u]||u;r+=`${g}(${h}) `}n&&(t[u]=h)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function py(e,t,n){const{style:r,vars:s,transformOrigin:l}=e;let u=!1,d=!1;for(const f in t){const h=t[f];if(pl.has(f)){u=!0;continue}else if(FS(f)){s[f]=h;continue}else{const g=xA(h,uy[f]);f.startsWith("origin")?(d=!0,l[f]=g):r[f]=g}}if(t.transform||(u||n?r.transform=b5(t,e.transform,n):r.transform&&(r.transform="none")),d){const{originX:f="50%",originY:h="50%",originZ:g=0}=l;r.transformOrigin=`${f} ${h} ${g}`}}function OA(e,{style:t,vars:n},r,s){const l=e.style;let u;for(u in t)l[u]=t[u];s==null||s.applyProjectionStyles(l,r);for(u in n)l.setProperty(u,n[u])}function QT(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const xu={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(De.test(e))e=parseFloat(e);else return e;const n=QT(e,t.target.x),r=QT(e,t.target.y);return`${n}% ${r}%`}},x5={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=ar.parse(e);if(s.length>5)return r;const l=ar.createTransformer(e),u=typeof s[0]!="number"?1:0,d=n.x.scale*t.x,f=n.y.scale*t.y;s[0+u]/=d,s[1+u]/=f;const h=Vt(d,f,.5);return typeof s[2+u]=="number"&&(s[2+u]/=h),typeof s[3+u]=="number"&&(s[3+u]/=h),l(s)}},a0={borderRadius:{...xu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:xu,borderTopRightRadius:xu,borderBottomLeftRadius:xu,borderBottomRightRadius:xu,boxShadow:x5};function LA(e,{layout:t,layoutId:n}){return pl.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!a0[e]||e==="opacity")}function gy(e,t,n){var u;const r=e.style,s=t==null?void 0:t.style,l={};if(!r)return l;for(const d in r)(Dn(r[d])||s&&Dn(s[d])||LA(d,e)||((u=n==null?void 0:n.getValue(d))==null?void 0:u.liveStyle)!==void 0)&&(l[d]=r[d]);return l}function v5(e){return window.getComputedStyle(e)}class T5 extends kA{constructor(){super(...arguments),this.type="html",this.renderInstance=OA}readValueFromInstance(t,n){var r;if(pl.has(n))return(r=this.projection)!=null&&r.isProjecting?Vg(n):HO(t,n);{const s=v5(t),l=(FS(n)?s.getPropertyValue(n):s[n])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(t,{transformPagePoint:n}){return DA(t,n)}build(t,n,r){py(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return gy(t,n,r)}}const E5={offset:"stroke-dashoffset",array:"stroke-dasharray"},w5={offset:"strokeDashoffset",array:"strokeDasharray"};function S5(e,t,n=1,r=0,s=!0){e.pathLength=1;const l=s?E5:w5;e[l.offset]=`${-r}`,e[l.array]=`${t} ${n}`}const A5=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function IA(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:l=1,pathOffset:u=0,...d},f,h,g){if(py(e,d,h),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:y,style:v}=e;y.transform&&(v.transform=y.transform,delete y.transform),(v.transform||y.transformOrigin)&&(v.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),v.transform&&(v.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete y.transformBox);for(const T of A5)y[T]!==void 0&&(v[T]=y[T],delete y[T]);t!==void 0&&(y.x=t),n!==void 0&&(y.y=n),r!==void 0&&(y.scale=r),s!==void 0&&S5(y,s,l,u,!1)}const MA=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"]),PA=e=>typeof e=="string"&&e.toLowerCase()==="svg";function _5(e,t,n,r){OA(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(MA.has(s)?s:ly(s),t.attrs[s])}function BA(e,t,n){const r=gy(e,t,n);for(const s in e)if(Dn(e[s])||Dn(t[s])){const l=ml.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[l]=e[s]}return r}class k5 extends kA{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=yn}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(pl.has(n)){const r=gA(n);return r&&r.default||0}return n=MA.has(n)?n:ly(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return BA(t,n,r)}build(t,n,r){IA(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){_5(t,n,r,s)}mount(t){this.isSVGTag=PA(t.tagName),super.mount(t)}}const N5=my.length;function jA(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?jA(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<N5;n++){const r=my[n],s=e.props[r];(Zu(s)||s===!1)&&(t[r]=s)}return t}function UA(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const C5=[...hy].reverse(),R5=hy.length;function D5(e){return t=>Promise.all(t.map(({animation:n,options:r})=>kL(e,n,r)))}function O5(e){let t=D5(e),n=$T(),r=!0,s=!1;const l=h=>(g,y)=>{var T;const v=Vs(e,y,h==="exit"?(T=e.presenceContext)==null?void 0:T.custom:void 0);if(v){const{transition:w,transitionEnd:A,..._}=v;g={...g,..._,...A}}return g};function u(h){t=h(e)}function d(h){const{props:g}=e,y=jA(e.parent)||{},v=[],T=new Set;let w={},A=1/0;for(let N=0;N<R5;N++){const P=C5[N],I=n[P],Q=g[P]!==void 0?g[P]:y[P],Z=Zu(Q),V=P===h?I.isActive:null;V===!1&&(A=N);let ue=Q===y[P]&&Q!==g[P]&&Z;if(ue&&(r||s)&&e.manuallyAnimateOnMount&&(ue=!1),I.protectedKeys={...w},!I.isActive&&V===null||!Q&&!I.prevProp||eh(Q)||typeof Q=="boolean")continue;if(P==="exit"&&I.isActive&&V!==!0){I.prevResolvedValues&&(w={...w,...I.prevResolvedValues});continue}const U=L5(I.prevProp,Q);let ge=U||P===h&&I.isActive&&!ue&&Z||N>A&&Z,j=!1;const ce=Array.isArray(Q)?Q:[Q];let ee=ce.reduce(l(P),{});V===!1&&(ee={});const{prevResolvedValues:_e={}}=I,xe={..._e,...ee},de=pe=>{ge=!0,T.has(pe)&&(j=!0,T.delete(pe)),I.needsAnimating[pe]=!0;const Ee=e.getValue(pe);Ee&&(Ee.liveStyle=!1)};for(const pe in xe){const Ee=ee[pe],R=_e[pe];if(w.hasOwnProperty(pe))continue;let Re=!1;Xg(Ee)&&Xg(R)?Re=!UA(Ee,R):Re=Ee!==R,Re?Ee!=null?de(pe):T.add(pe):Ee!==void 0&&T.has(pe)?de(pe):I.protectedKeys[pe]=!0}I.prevProp=Q,I.prevResolvedValues=ee,I.isActive&&(w={...w,...ee}),(r||s)&&e.blockInitialAnimation&&(ge=!1);const Y=ue&&U;ge&&(!Y||j)&&v.push(...ce.map(pe=>{const Ee={type:P};if(typeof pe=="string"&&(r||s)&&!Y&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,Re=Vs(R,pe);if(R.enteringChildren&&Re){const{delayChildren:He}=Re.transition||{};Ee.delay=oA(R.enteringChildren,e,He)}}return{animation:pe,options:Ee}}))}if(T.size){const N={};if(typeof g.initial!="boolean"){const P=Vs(e,Array.isArray(g.initial)?g.initial[0]:g.initial);P&&P.transition&&(N.transition=P.transition)}T.forEach(P=>{const I=e.getBaseTarget(P),Q=e.getValue(P);Q&&(Q.liveStyle=!0),N[P]=I??null}),v.push({animation:N})}let _=!!v.length;return r&&(g.initial===!1||g.initial===g.animate)&&!e.manuallyAnimateOnMount&&(_=!1),r=!1,s=!1,_?t(v):Promise.resolve()}function f(h,g){var v;if(n[h].isActive===g)return Promise.resolve();(v=e.variantChildren)==null||v.forEach(T=>{var w;return(w=T.animationState)==null?void 0:w.setActive(h,g)}),n[h].isActive=g;const y=d(h);for(const T in n)n[T].protectedKeys={};return y}return{animateChanges:d,setActive:f,setAnimateFunction:u,getState:()=>n,reset:()=>{n=$T(),s=!0}}}function L5(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!UA(t,e):!1}function Os(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function $T(){return{animate:Os(!0),whileInView:Os(),whileHover:Os(),whileTap:Os(),whileDrag:Os(),whileFocus:Os(),exit:Os()}}function r0(e,t){e.min=t.min,e.max=t.max}function Ja(e,t){r0(e.x,t.x),r0(e.y,t.y)}function ZT(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const HA=1e-4,I5=1-HA,M5=1+HA,FA=.01,P5=0-FA,B5=0+FA;function Yn(e){return e.max-e.min}function j5(e,t,n){return Math.abs(e-t)<=n}function JT(e,t,n,r=.5){e.origin=r,e.originPoint=Vt(t.min,t.max,e.origin),e.scale=Yn(n)/Yn(t),e.translate=Vt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=I5&&e.scale<=M5||isNaN(e.scale))&&(e.scale=1),(e.translate>=P5&&e.translate<=B5||isNaN(e.translate))&&(e.translate=0)}function Pu(e,t,n,r){JT(e.x,t.x,n.x,r?r.originX:void 0),JT(e.y,t.y,n.y,r?r.originY:void 0)}function eE(e,t,n,r=0){const s=r?Vt(n.min,n.max,r):n.min;e.min=s+t.min,e.max=e.min+Yn(t)}function U5(e,t,n,r){eE(e.x,t.x,n.x,r==null?void 0:r.x),eE(e.y,t.y,n.y,r==null?void 0:r.y)}function tE(e,t,n,r=0){const s=r?Vt(n.min,n.max,r):n.min;e.min=t.min-s,e.max=e.min+Yn(t)}function Nf(e,t,n,r){tE(e.x,t.x,n.x,r==null?void 0:r.x),tE(e.y,t.y,n.y,r==null?void 0:r.y)}function nE(e,t,n,r,s){return e-=t,e=kf(e,1/n,r),s!==void 0&&(e=kf(e,1/s,r)),e}function H5(e,t=0,n=1,r=.5,s,l=e,u=e){if(xr.test(t)&&(t=parseFloat(t),t=Vt(u.min,u.max,t/100)-u.min),typeof t!="number")return;let d=Vt(l.min,l.max,r);e===l&&(d-=t),e.min=nE(e.min,t,n,d,s),e.max=nE(e.max,t,n,d,s)}function aE(e,t,[n,r,s],l,u){H5(e,t[n],t[r],t[s],t.scale,l,u)}const F5=["x","scaleX","originX"],z5=["y","scaleY","originY"];function rE(e,t,n,r){aE(e.x,t,F5,n?n.x:void 0,r?r.x:void 0),aE(e.y,t,z5,n?n.y:void 0,r?r.y:void 0)}function iE(e){return e.translate===0&&e.scale===1}function zA(e){return iE(e.x)&&iE(e.y)}function sE(e,t){return e.min===t.min&&e.max===t.max}function V5(e,t){return sE(e.x,t.x)&&sE(e.y,t.y)}function oE(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function VA(e,t){return oE(e.x,t.x)&&oE(e.y,t.y)}function lE(e){return Yn(e.x)/Yn(e.y)}function uE(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function mr(e){return[e("x"),e("y")]}function Y5(e,t,n){let r="";const s=e.x.translate/t.x,l=e.y.translate/t.y,u=(n==null?void 0:n.z)||0;if((s||l||u)&&(r=`translate3d(${s}px, ${l}px, ${u}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:g,rotateX:y,rotateY:v,skewX:T,skewY:w}=n;h&&(r=`perspective(${h}px) ${r}`),g&&(r+=`rotate(${g}deg) `),y&&(r+=`rotateX(${y}deg) `),v&&(r+=`rotateY(${v}deg) `),T&&(r+=`skewX(${T}deg) `),w&&(r+=`skewY(${w}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 YA=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],K5=YA.length,cE=e=>typeof e=="string"?parseFloat(e):e,dE=e=>typeof e=="number"||De.test(e);function q5(e,t,n,r,s,l){s?(e.opacity=Vt(0,n.opacity??1,G5(r)),e.opacityExit=Vt(t.opacity??1,0,W5(r))):l&&(e.opacity=Vt(t.opacity??1,n.opacity??1,r));for(let u=0;u<K5;u++){const d=YA[u];let f=fE(t,d),h=fE(n,d);if(f===void 0&&h===void 0)continue;f||(f=0),h||(h=0),f===0||h===0||dE(f)===dE(h)?(e[d]=Math.max(Vt(cE(f),cE(h),r),0),(xr.test(h)||xr.test(f))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=Vt(t.rotate||0,n.rotate||0,r))}function fE(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const G5=KA(0,.5,MS),W5=KA(.5,.95,ja);function KA(e,t,n){return r=>r<e?0:r>t?1:n(Qu(e,t,r))}function X5(e,t,n){const r=Dn(e)?e:el(e);return r.start(sy("",r,t,n)),r.animation}function Ju(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Q5=(e,t)=>e.depth-t.depth;class $5{constructor(){this.children=[],this.isDirty=!1}add(t){G0(this.children,t),this.isDirty=!0}remove(t){Tf(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Q5),this.isDirty=!1,this.children.forEach(t)}}function Z5(e,t){const n=Vn.now(),r=({timestamp:s})=>{const l=s-n;l>=t&&(is(r),e(l-t))};return Mt.setup(r,!0),()=>is(r)}function df(e){return Dn(e)?e.get():e}class J5{constructor(){this.members=[]}add(t){G0(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const s=r.instance;(!s||s.isConnected===!1)&&!r.snapshot&&(Tf(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Tf(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1&&((n=s.instance)==null?void 0:n.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,n){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:l}=r.options,{layoutDependency:u}=t.options;(l===void 0||l!==u)&&(t.resumeFrom=r,n&&(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 n,r,s,l,u;(r=(n=t.options).onExitComplete)==null||r.call(n),(u=(s=t.resumingFrom)==null?void 0:(l=s.options).onExitComplete)==null||u.call(l)})}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 ff={hasAnimatedSinceResize:!0,hasEverUpdated:!1},qp=["","X","Y","Z"],eI=1e3;let tI=0;function Gp(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function qA(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=fA(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:l}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Mt,!(s||l))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&qA(r)}function GA({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(u={},d=t==null?void 0:t()){this.id=tI++,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(rI),this.nodes.forEach(cI),this.nodes.forEach(dI),this.nodes.forEach(iI)},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 $5)}addEventListener(u,d){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new X0),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=fy(u)&&!a5(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 g,y=0;const v=()=>this.root.updateBlockedByResize=!1;Mt.read(()=>{y=window.innerWidth}),e(u,()=>{const T=window.innerWidth;T!==y&&(y=T,this.root.updateBlockedByResize=!0,g&&g(),g=Z5(v,250),ff.hasAnimatedSinceResize&&(ff.hasAnimatedSinceResize=!1,this.nodes.forEach(pE)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&h&&(d||f)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:v,layout:T})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||h.getDefaultTransition()||gI,{onLayoutAnimationStart:A,onLayoutAnimationComplete:_}=h.getProps(),N=!this.targetLayout||!VA(this.targetLayout,T),P=!y&&v;if(this.options.layoutRoot||this.resumeFrom||P||y&&(N||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...iy(w,"layout"),onPlay:A,onComplete:_};(h.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(g,P)}else y||pE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=T})}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(),is(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(fI),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&&qA(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,(typeof y.latestValues.x=="string"||typeof y.latestValues.y=="string")&&(y.isLayoutDirty=!0),y.updateScroll("snapshot"),y.options.layoutRoot&&y.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(oI),this.nodes.forEach(hE);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(mE);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(lI),this.nodes.forEach(uI),this.nodes.forEach(nI),this.nodes.forEach(aI)):this.nodes.forEach(mE),this.clearAllSnapshots();const d=Vn.now();Cn.delta=Er(0,1e3/60,d-Cn.timestamp),Cn.timestamp=d,Cn.isProcessing=!0,jp.update.process(Cn),jp.preRender.process(Cn),jp.render.process(Cn),Cn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,cy.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sI),this.sharedNodes.forEach(hI)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Mt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Mt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Yn(this.snapshot.measuredBox.x)&&!Yn(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=yn()),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:n(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&&!zA(this.projectionDelta),f=this.getTransformTemplate(),h=f?f(this.latestValues,""):void 0,g=h!==this.prevTransformTemplateValue;u&&this.instance&&(d||Ms(this.latestValues)||g)&&(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)),yI(f),{animationId:this.root.animationId,measuredBox:d,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var h;const{visualElement:u}=this.options;if(!u)return yn();const d=u.measureViewportBox();if(!(((h=this.scroll)==null?void 0:h.wasRoot)||this.path.some(bI))){const{scroll:g}=this.root;g&&(yr(d.x,g.offset.x),yr(d.y,g.offset.y))}return d}removeElementScroll(u){var f;const d=yn();if(Ja(d,u),(f=this.scroll)!=null&&f.wasRoot)return d;for(let h=0;h<this.path.length;h++){const g=this.path[h],{scroll:y,options:v}=g;g!==this.root&&y&&v.layoutScroll&&(y.wasRoot&&Ja(d,u),yr(d.x,y.offset.x),yr(d.y,y.offset.y))}return d}applyTransform(u,d=!1,f){var g,y;const h=f||yn();Ja(h,u);for(let v=0;v<this.path.length;v++){const T=this.path[v];!d&&T.options.layoutScroll&&T.scroll&&T!==T.root&&(yr(h.x,-T.scroll.offset.x),yr(h.y,-T.scroll.offset.y)),Ms(T.latestValues)&&cf(h,T.latestValues,(g=T.layout)==null?void 0:g.layoutBox)}return Ms(this.latestValues)&&cf(h,this.latestValues,(y=this.layout)==null?void 0:y.layoutBox),h}removeTransform(u){var f;const d=yn();Ja(d,u);for(let h=0;h<this.path.length;h++){const g=this.path[h];if(!Ms(g.latestValues))continue;let y;g.instance&&(t0(g.latestValues)&&g.updateSnapshot(),y=yn(),Ja(y,g.measurePageBox())),rE(d,g.latestValues,(f=g.snapshot)==null?void 0:f.layoutBox,y)}return Ms(this.latestValues)&&rE(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!==Cn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var T;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||(T=this.parent)!=null&&T.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:y}=this.options;if(!this.layout||!(g||y))return;this.resolvedRelativeTargetAt=Cn.timestamp;const v=this.getClosestProjectingParent();v&&this.linkedParentVersion!==v.layoutVersion&&!v.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&v&&v.layout?this.createRelativeTarget(v,this.layout.layoutBox,v.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=yn(),this.targetWithTransforms=yn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),U5(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Ja(this.target,this.layout.layoutBox),RA(this.target,this.targetDelta)):Ja(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?this.createRelativeTarget(v,this.target,v.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||t0(this.parent.latestValues)||CA(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=yn(),this.relativeTargetOrigin=yn(),Nf(this.relativeTargetOrigin,d,f,this.options.layoutAnchor||void 0),Ja(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var w;const u=this.getLead(),d=!!this.resumingFrom||this!==u;let f=!0;if((this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty)&&(f=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===Cn.timestamp&&(f=!1),f)return;const{layout:h,layoutId:g}=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||g))return;Ja(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,v=this.treeScale.y;m5(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=yn());const{target:T}=u;if(!T){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ZT(this.prevProjectionDelta.x,this.projectionDelta.x),ZT(this.prevProjectionDelta.y,this.projectionDelta.y)),Pu(this.projectionDelta,this.layoutCorrected,T,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==v||!uE(this.projectionDelta.x,this.prevProjectionDelta.x)||!uE(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",T))}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=qo(),this.projectionDelta=qo(),this.projectionDeltaWithTransform=qo()}setAnimationOrigin(u,d=!1){const f=this.snapshot,h=f?f.latestValues:{},g={...this.latestValues},y=qo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const v=yn(),T=f?f.source:void 0,w=this.layout?this.layout.source:void 0,A=T!==w,_=this.getStack(),N=!_||_.members.length<=1,P=!!(A&&!N&&this.options.crossfade===!0&&!this.path.some(pI));this.animationProgress=0;let I;this.mixTargetDelta=Q=>{const Z=Q/1e3;gE(y.x,u.x,Z),gE(y.y,u.y,Z),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Nf(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),mI(this.relativeTarget,this.relativeTargetOrigin,v,Z),I&&V5(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=yn()),Ja(I,this.relativeTarget)),A&&(this.animationValues=g,q5(g,h,this.latestValues,Z,P,N)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Z},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&&(is(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Mt.update(()=>{ff.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=el(0)),this.motionValue.jump(0,!1),this.currentAnimation=X5(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),u.onUpdate&&u.onUpdate(g)},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(eI),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:d,target:f,layout:h,latestValues:g}=u;if(!(!d||!f||!h)){if(this!==u&&this.layout&&h&&WA(this.options.animationType,this.layout.layoutBox,h.layoutBox)){f=this.target||yn();const y=Yn(this.layout.layoutBox.x);f.x.min=u.target.x.min,f.x.max=f.x.min+y;const v=Yn(this.layout.layoutBox.y);f.y.min=u.target.y.min,f.y.max=f.y.min+v}Ja(d,f),cf(d,g),Pu(this.projectionDeltaWithTransform,this.layoutCorrected,d,g)}}registerSharedNode(u,d){this.sharedNodes.has(u)||this.sharedNodes.set(u,new J5),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}resetSkewAndRotation(){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&&Gp("z",u,h,this.animationValues);for(let g=0;g<qp.length;g++)Gp(`rotate${qp[g]}`,u,h,this.animationValues),Gp(`skew${qp[g]}`,u,h,this.animationValues);u.render();for(const g in h)u.setStaticValue(g,h[g]),this.animationValues&&(this.animationValues[g]=h[g]);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=df(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=df(d==null?void 0:d.pointerEvents)||""),this.hasProjected&&!Ms(this.latestValues)&&(u.transform=f?f({},""):"none",this.hasProjected=!1);return}u.visibility="";const g=h.animationValues||h.latestValues;this.applyTransformsToTarget();let y=Y5(this.projectionDeltaWithTransform,this.treeScale,g);f&&(y=f(g,y)),u.transform=y;const{x:v,y:T}=this.projectionDelta;u.transformOrigin=`${v.origin*100}% ${T.origin*100}% 0`,h.animationValues?u.opacity=h===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:u.opacity=h===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const w in a0){if(g[w]===void 0)continue;const{correct:A,applyTo:_,isCSSVariable:N}=a0[w],P=y==="none"?g[w]:A(g[w],h);if(_){const I=_.length;for(let Q=0;Q<I;Q++)u[_[Q]]=P}else N?this.options.visualElement.renderState.vars[w]=P:u[w]=P}this.options.layoutId&&(u.pointerEvents=h===this?df(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(hE),this.root.sharedNodes.clear()}}}function nI(e){e.updateLayout()}function aI(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:l}=e.options,u=t.source!==e.layout.source;if(l==="size")mr(y=>{const v=u?t.measuredBox[y]:t.layoutBox[y],T=Yn(v);v.min=r[y].min,v.max=v.min+T});else if(l==="x"||l==="y"){const y=l==="x"?"y":"x";r0(u?t.measuredBox[y]:t.layoutBox[y],r[y])}else WA(l,t.layoutBox,r)&&mr(y=>{const v=u?t.measuredBox[y]:t.layoutBox[y],T=Yn(r[y]);v.max=v.min+T,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[y].max=e.relativeTarget[y].min+T)});const d=qo();Pu(d,r,t.layoutBox);const f=qo();u?Pu(f,e.applyTransform(s,!0),t.measuredBox):Pu(f,r,t.layoutBox);const h=!zA(d);let g=!1;if(!e.resumeFrom){const y=e.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:v,layout:T}=y;if(v&&T){const w=e.options.layoutAnchor||void 0,A=yn();Nf(A,t.layoutBox,v.layoutBox,w);const _=yn();Nf(_,r,T.layoutBox,w),VA(A,_)||(g=!0),y.options.layoutRoot&&(e.relativeTarget=_,e.relativeTargetOrigin=A,e.relativeParent=y)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:f,layoutDelta:d,hasLayoutChanged:h,hasRelativeLayoutChanged:g})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function rI(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 iI(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function sI(e){e.clearSnapshot()}function hE(e){e.clearMeasurements()}function oI(e){e.isLayoutDirty=!0,e.updateLayout()}function mE(e){e.isLayoutDirty=!1}function lI(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function uI(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function cI(e){e.resolveTargetDelta()}function dI(e){e.calcProjection()}function fI(e){e.resetSkewAndRotation()}function hI(e){e.removeLeadSnapshot()}function gE(e,t,n){e.translate=Vt(t.translate,0,n),e.scale=Vt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function yE(e,t,n,r){e.min=Vt(t.min,n.min,r),e.max=Vt(t.max,n.max,r)}function mI(e,t,n,r){yE(e.x,t.x,n.x,r),yE(e.y,t.y,n.y,r)}function pI(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const gI={duration:.45,ease:[.4,0,.1,1]},bE=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),xE=bE("applewebkit/")&&!bE("chrome/")?Math.round:ja;function vE(e){e.min=xE(e.min),e.max=xE(e.max)}function yI(e){vE(e.x),vE(e.y)}function WA(e,t,n){return e==="position"||e==="preserve-aspect"&&!j5(lE(t),lE(n),.2)}function bI(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const xI=GA({attachResizeListener:(e,t)=>Ju(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}),Wp={current:void 0},XA=GA({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Wp.current){const e=new xI({});e.mount(window),e.setOptions({layoutScroll:!0}),Wp.current=e}return Wp.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),QA=D.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function vI(e=!0){const t=D.useContext(q0);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,l=D.useId();D.useEffect(()=>{if(e)return s(l)},[e]);const u=D.useCallback(()=>e&&r&&r(l),[l,r,e]);return!n&&r?[!1,u]:[!0]}const $A=D.createContext({strict:!1}),TE={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 EE=!1;function TI(){if(EE)return;const e={};for(const t in TE)e[t]={isEnabled:n=>TE[t].some(r=>!!n[r])};_A(e),EE=!0}function ZA(){return TI(),c5()}function EI(e){const t=ZA();for(const n in e)t[n]={...t[n],...e[n]};_A(t)}const wI=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 Cf(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||wI.has(e)}let JA=e=>!Cf(e);function SI(e){typeof e=="function"&&(JA=t=>t.startsWith("on")?!Cf(t):e(t))}try{SI(require("@emotion/is-prop-valid").default)}catch{}function AI(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||Dn(e[s])||(JA(s)||n===!0&&Cf(s)||!t&&!Cf(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const nh=D.createContext({});function _I(e,t){if(th(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Zu(n)?n:void 0,animate:Zu(r)?r:void 0}}return e.inherit!==!1?t:{}}function kI(e){const{initial:t,animate:n}=_I(e,D.useContext(nh));return D.useMemo(()=>({initial:t,animate:n}),[wE(t),wE(n)])}function wE(e){return Array.isArray(e)?e.join(" "):e}const yy=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function e3(e,t,n){for(const r in t)!Dn(t[r])&&!LA(r,n)&&(e[r]=t[r])}function NI({transformTemplate:e},t){return D.useMemo(()=>{const n=yy();return py(n,t,e),Object.assign({},n.vars,n.style)},[t])}function CI(e,t){const n=e.style||{},r={};return e3(r,n,e),Object.assign(r,NI(e,t)),r}function RI(e,t){const n={},r=CI(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
198`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const t3=()=>({...yy(),attrs:{}});function DI(e,t,n,r){const s=D.useMemo(()=>{const l=t3();return IA(l,t,PA(r),e.transformTemplate,e.style),{...l.attrs,style:{...l.style}}},[t]);if(e.style){const l={};e3(l,e.style,e),s.style={...l,...s.style}}return s}const OI=["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 by(e){return typeof e!="string"||e.includes("-")?!1:!!(OI.indexOf(e)>-1||/[A-Z]/u.test(e))}function LI(e,t,n,{latestValues:r},s,l=!1,u){const f=(u??by(e)?DI:RI)(t,r,s,e),h=AI(t,typeof e=="string",l),g=e!==D.Fragment?{...h,...f,ref:n}:{},{children:y}=t,v=D.useMemo(()=>Dn(y)?y.get():y,[y]);return D.createElement(e,{...g,children:v})}function II({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:MI(n,r,s,e),renderState:t()}}function MI(e,t,n,r){const s={},l=r(e,{});for(const v in l)s[v]=df(l[v]);let{initial:u,animate:d}=e;const f=th(e),h=SA(e);t&&h&&!f&&e.inherit!==!1&&(u===void 0&&(u=t.initial),d===void 0&&(d=t.animate));let g=n?n.initial===!1:!1;g=g||u===!1;const y=g?d:u;if(y&&typeof y!="boolean"&&!eh(y)){const v=Array.isArray(y)?y:[y];for(let T=0;T<v.length;T++){const w=oy(e,v[T]);if(w){const{transitionEnd:A,transition:_,...N}=w;for(const P in N){let I=N[P];if(Array.isArray(I)){const Q=g?I.length-1:0;I=I[Q]}I!==null&&(s[P]=I)}for(const P in A)s[P]=A[P]}}}return s}const n3=e=>(t,n)=>{const r=D.useContext(nh),s=D.useContext(q0),l=()=>II(e,t,r,s);return n?l():OD(l)},PI=n3({scrapeMotionValuesFromProps:gy,createRenderState:yy}),BI=n3({scrapeMotionValuesFromProps:BA,createRenderState:t3}),jI=Symbol.for("motionComponentSymbol");function UI(e,t,n){const r=D.useRef(n);D.useInsertionEffect(()=>{r.current=n});const s=D.useRef(null);return D.useCallback(l=>{var d;l&&((d=e.onMount)==null||d.call(e,l));const u=r.current;if(typeof u=="function")if(l){const f=u(l);typeof f=="function"&&(s.current=f)}else s.current?(s.current(),s.current=null):u(l);else u&&(u.current=l);t&&(l?t.mount(l):t.unmount())},[t])}const a3=D.createContext({});function Fo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function HI(e,t,n,r,s,l){var I,Q;const{visualElement:u}=D.useContext(nh),d=D.useContext($A),f=D.useContext(q0),h=D.useContext(QA),g=h.reducedMotion,y=h.skipAnimations,v=D.useRef(null),T=D.useRef(!1);r=r||d.renderer,!v.current&&r&&(v.current=r(e,{visualState:t,parent:u,props:n,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:g,skipAnimations:y,isSVG:l}),T.current&&v.current&&(v.current.manuallyAnimateOnMount=!0));const w=v.current,A=D.useContext(a3);w&&!w.projection&&s&&(w.type==="html"||w.type==="svg")&&FI(v.current,n,s,A);const _=D.useRef(!1);D.useInsertionEffect(()=>{w&&_.current&&w.update(n,f)});const N=n[dA],P=D.useRef(!!N&&typeof window<"u"&&!((I=window.MotionHandoffIsComplete)!=null&&I.call(window,N))&&((Q=window.MotionHasOptimisedAnimation)==null?void 0:Q.call(window,N)));return ID(()=>{T.current=!0,w&&(_.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),w.scheduleRenderMicrotask(),P.current&&w.animationState&&w.animationState.animateChanges())}),D.useEffect(()=>{w&&(!P.current&&w.animationState&&w.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var Z;(Z=window.MotionHandoffMarkAsComplete)==null||Z.call(window,N)}),P.current=!1),w.enteringChildren=void 0)}),w}function FI(e,t,n,r){const{layoutId:s,layout:l,drag:u,dragConstraints:d,layoutScroll:f,layoutRoot:h,layoutAnchor:g,layoutCrossfade:y}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:r3(e.parent)),e.projection.setOptions({layoutId:s,layout:l,alwaysMeasureLayout:!!u||d&&Fo(d),visualElement:e,animationType:typeof l=="string"?l:"both",initialPromotionConfig:r,crossfade:y,layoutScroll:f,layoutRoot:h,layoutAnchor:g})}function r3(e){if(e)return e.options.allowProjection!==!1?e.projection:r3(e.parent)}function Xp(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&EI(r);const l=n?n==="svg":by(e),u=l?BI:PI;function d(h,g){let y;const v={...D.useContext(QA),...h,layoutId:zI(h)},{isStatic:T}=v,w=kI(h),A=u(h,T);if(!T&&typeof window<"u"){VI();const _=YI(v);y=_.MeasureLayout,w.visualElement=HI(e,A,v,s,_.ProjectionNode,l)}return m.jsxs(nh.Provider,{value:w,children:[y&&w.visualElement?m.jsx(y,{visualElement:w.visualElement,...v}):null,LI(e,h,UI(A,w.visualElement,g),A,T,t,l)]})}d.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const f=D.forwardRef(d);return f[jI]=e,f}function zI({layoutId:e}){const t=D.useContext(wS).id;return t&&e!==void 0?t+"-"+e:e}function VI(e,t){D.useContext($A).strict}function YI(e){const t=ZA(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
vendor: 6,739 bytes, line 198
198function KI(e,t){if(typeof Proxy>"u")return Xp;const n=new Map,r=(l,u)=>Xp(l,u,e,t),s=(l,u)=>r(l,u);return new Proxy(s,{get:(l,u)=>u==="create"?r:(n.has(u)||n.set(u,Xp(u,void 0,e,t)),n.get(u))})}const qI=(e,t)=>t.isSVG??by(e)?new k5(t):new T5(t,{allowProjection:e!==D.Fragment});class GI extends ls{constructor(t){super(t),t.animationState||(t.animationState=O5(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();eh(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let WI=0;class XI extends ls{constructor(){super(...arguments),this.id=WI++,this.isExitComplete=!1}update(){var l;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=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=Vs(this.node,u,d);if(f){const{transition:h,transitionEnd:g,...y}=f;for(const v in y)(l=this.node.getValue(v))==null||l.jump(y[v])}}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);n&&!t&&s.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const QI={animation:{Feature:GI},exit:{Feature:XI}};function mc(e){return{point:{x:e.pageX,y:e.pageY}}}const $I=e=>t=>dy(t)&&e(t,mc(t));function Bu(e,t,n,r){return Ju(e,t,$I(n),r)}const i3=({current:e})=>e?e.ownerDocument.defaultView:null,SE=(e,t)=>Math.abs(e-t);function ZI(e,t){const n=SE(e.x,t.x),r=SE(e.y,t.y);return Math.sqrt(n**2+r**2)}const AE=new Set(["auto","scroll"]);class s3{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:l=!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=T=>{this.handleScroll(T.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Hd(this.lastRawMoveEventInfo,this.transformPagePoint));const T=Qp(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,A=ZI(T.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!A)return;const{point:_}=T,{timestamp:N}=Cn;this.history.push({..._,timestamp:N});const{onStart:P,onMove:I}=this.handlers;w||(P&&P(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,T)},this.handlePointerMove=(T,w)=>{this.lastMoveEvent=T,this.lastRawMoveEventInfo=w,this.lastMoveEventInfo=Hd(w,this.transformPagePoint),Mt.update(this.updatePoint,!0)},this.handlePointerUp=(T,w)=>{this.end();const{onEnd:A,onSessionEnd:_,resumeAnimation:N}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const P=Qp(T.type==="pointercancel"?this.lastMoveEventInfo:Hd(w,this.transformPagePoint),this.history);this.startEvent&&A&&A(T,P),_&&_(T,P)},!dy(t))return;this.dragSnapToOrigin=l,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=u,this.contextWindow=s||window;const f=mc(t),h=Hd(f,this.transformPagePoint),{point:g}=h,{timestamp:y}=Cn;this.history=[{...g,timestamp:y}];const{onSessionStart:v}=n;v&&v(t,Qp(h,this.history)),this.removeListeners=dc(Bu(this.contextWindow,"pointermove",this.handlePointerMove),Bu(this.contextWindow,"pointerup",this.handlePointerUp),Bu(this.contextWindow,"pointercancel",this.handlePointerUp)),d&&this.startScrollTracking(d)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(AE.has(r.overflowX)||AE.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.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 n=this.scrollPositions.get(t);if(!n)return;const r=t===window,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},l={x:s.x-n.x,y:s.y-n.y};l.x===0&&l.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=l.x,this.lastMoveEventInfo.point.y+=l.y):this.history.length>0&&(this.history[0].x-=l.x,this.history[0].y-=l.y),this.scrollPositions.set(t,s),Mt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),is(this.updatePoint)}}function Hd(e,t){return t?{point:t(e.point)}:e}function _E(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Qp({point:e},t){return{point:e,delta:_E(e,o3(t)),offset:_E(e,JI(t)),velocity:e8(t,.1)}}function JI(e){return e[0]}function o3(e){return e[e.length-1]}function e8(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=o3(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>ga(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>ga(t)*2&&(r=e[1]);const l=Pa(s.timestamp-r.timestamp);if(l===0)return{x:0,y:0};const u={x:(s.x-r.x)/l,y:(s.y-r.y)/l};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function t8(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Vt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Vt(n,e,r.max):Math.min(e,n)),e}function kE(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function n8(e,{top:t,left:n,bottom:r,right:s}){return{x:kE(e.x,n,s),y:kE(e.y,t,r)}}function NE(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function a8(e,t){return{x:NE(e.x,t.x),y:NE(e.y,t.y)}}function r8(e,t){let n=.5;const r=Yn(e),s=Yn(t);return s>r?n=Qu(t.min,t.max-r,e.min):r>s&&(n=Qu(e.min,e.max-s,t.min)),Er(0,1,n)}function i8(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const i0=.35;function s8(e=i0){return e===!1?e=0:e===!0&&(e=i0),{x:CE(e,"left","right"),y:CE(e,"to
198p","bottom")}}function CE(e,t,n){return{min:RE(e,t),max:RE(e,n)}}function RE(e,t){return typeof e=="number"?e:e[t]||0}const o8=new WeakMap;class l8{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=yn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const l=y=>{n&&this.snapToCursor(mc(y).point),this.stopAnimation()},u=(y,v)=>{const{drag:T,dragPropagation:w,onDragStart:A}=this.getProps();if(T&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=HL(T),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=v,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),mr(N=>{let P=this.getAxisMotionValue(N).get()||0;if(xr.test(P)){const{projection:I}=this.visualElement;if(I&&I.layout){const Q=I.layout.layoutBox[N];Q&&(P=Yn(Q)*(parseFloat(P)/100))}}this.originPoint[N]=P}),A&&Mt.update(()=>A(y,v),!1,!0),Qg(this.visualElement,"transform");const{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},d=(y,v)=>{this.latestPointerEvent=y,this.latestPanInfo=v;const{dragPropagation:T,dragDirectionLock:w,onDirectionLock:A,onDrag:_}=this.getProps();if(!T&&!this.openDragLock)return;const{offset:N}=v;if(w&&this.currentDirection===null){this.currentDirection=c8(N),this.currentDirection!==null&&A&&A(this.currentDirection);return}this.updateAxis("x",v.point,N),this.updateAxis("y",v.point,N),this.visualElement.render(),_&&Mt.update(()=>_(y,v),!1,!0)},f=(y,v)=>{this.latestPointerEvent=y,this.latestPanInfo=v,this.stop(y,v),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>{const{dragSnapToOrigin:y}=this.getProps();(y||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new s3(t,{onSessionStart:l,onStart:u,onMove:d,onSessionEnd:f,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:r,contextWindow:i3(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,l=this.isDragging;if(this.cancel(),!l||!s||!r)return;const{velocity:u}=s;this.startAnimation(u);const{onDragEnd:d}=this.getProps();d&&Mt.postRender(()=>d(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!Fd(t,s,this.currentDirection))return;const l=this.getAxisMotionValue(t);let u=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(u=t8(u,this.constraints[t],this.elastic[t])),l.set(u)}resolveConstraints(){var l;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(l=this.visualElement.projection)==null?void 0:l.layout,s=this.constraints;t&&Fo(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=n8(r.layoutBox,t):this.constraints=!1,this.elastic=s8(n),s!==this.constraints&&!Fo(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&mr(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=i8(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Fo(t))return!1;const r=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const l=p5(r,s.root,this.visualElement.getTransformPagePoint());let u=a8(s.layout.layoutBox,l);if(n){const d=n(f5(u));this.hasMutatedConstraints=!!d,d&&(u=NA(d))}return u}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:l,dragSnapToOrigin:u,onDragTransitionEnd:d}=this.getProps(),f=this.constraints||{},h=mr(g=>{if(!Fd(g,n,this.currentDirection))return;let y=f&&f[g]||{};(u===!0||u===g)&&(y={min:0,max:0});const v=s?200:1e6,T=s?40:1e7,w={type:"inertia",velocity:r?t[g]:0,bounceStiffness:v,bounceDamping:T,timeConstant:750,restDelta:1,restSpeed:10,...l,...y};return this.startAxisValueAnimation(g,w)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Qg(this.visualElement,t),r.start(sy(t,r,0,n,this.visualElement,!1))}stopAnimation(){mr(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){mr(n=>{const{drag:r}=this.getProps();if(!Fd(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,l=this.getAxisMotionValue(n);if(s&&s.layout){const{min:u,max:d}=s.layout.layoutBox[n],f=l.get()||0;l.set(t[n]-Vt(u,d,.5)+f)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Fo(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};mr(u=>{const d=this.getAxisMotionValue(u);if(d&&this.constraints!==!1){const f=d.get();s[u]=r8({min:f,max:f},this.constraints[u])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),mr(u=>{if(!Fd(u,t,null))return;const d=this.getAxisMotionValue(u),{min:f,max:h}=this.constraints[u];d.set(Vt(f,h,s[u]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;o8.set(this.visualElement,this);const t=this.visualElement.current,n=Bu(t,"pointerdown",h=>{const{drag:g,dragListener:y=!0}=this.getProps(),v=h.target,T=v!==t&&qL(v);g&&y&&!T&&this.start(h)});let r;const s=()=>{const{dragConstraints:h}=this.getProps();Fo(h)&&h.current&&(this.constraints=this.resolveRefConstraints(),r||(r=u8(t,h.current,()=>this.scalePositionWithinConstraints())))},{projection:l}=this.visualElement,u=l.addEventListener("measure",s);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Mt.read(s);const d=Ju(window,"resize",()=>this.scalePositionWithinConstraints()),f=l.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:g})=>{this.isDragging&&g&&(mr(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=h[y].translate,v.set(v.get()+h[y].translate))}),this.visualElement.render())}));return()=>{d(),n(),u(),f&&f(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:l=!1,dragElastic:u=i0,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:l,dragElastic:u,dragMomentum:d}}}function DE(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function u8(e,t,n){const r=HT(e,DE(n)),s=HT(t,DE(n));return()=>{r(),s()}}
vendor: 4,278 bytes, line 198
198function Fd(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function c8(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class d8 extends ls{constructor(t){super(t),this.removeGroupControls=ja,this.removeListeners=ja,this.controls=new l8(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ja}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const $p=e=>(t,n)=>{e&&Mt.update(()=>e(t,n),!1,!0)};class f8 extends ls{constructor(){super(...arguments),this.removePointerDownListener=ja}onPointerDown(t){this.session=new s3(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:i3(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:$p(t),onStart:$p(n),onMove:$p(r),onEnd:(l,u)=>{delete this.session,s&&Mt.postRender(()=>s(l,u))}}}mount(){this.removePointerDownListener=Bu(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 Zp=!1;class h8 extends D.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:l}=t;l&&(n.group&&n.group.add(l),r&&r.register&&s&&r.register(l),Zp&&l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ff.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:l}=this.props,{projection:u}=r;return u&&(u.isPresent=l,t.layoutDependency!==n&&u.setOptions({...u.options,layoutDependency:n}),Zp=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==l?u.willUpdate():this.safeToRemove(),t.isPresent!==l&&(l?u.promote():u.relegate()||Mt.postRender(()=>{const d=u.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),cy.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;Zp=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function l3(e){const[t,n]=vI(),r=D.useContext(wS);return m.jsx(h8,{...e,layoutGroup:r,switchLayoutGroup:D.useContext(a3),isPresent:t,safeToRemove:n})}const m8={pan:{Feature:f8},drag:{Feature:d8,ProjectionNode:XA,MeasureLayout:l3}};function OE(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,l=r[s];l&&Mt.postRender(()=>l(t,mc(t)))}class p8 extends ls{mount(){const{current:t}=this.node;t&&(this.unmount=zL(t,(n,r)=>(OE(this.node,r,"Start"),s=>OE(this.node,s,"End"))))}unmount(){}}class g8 extends ls{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=dc(Ju(this.node.current,"focus",()=>this.onFocus()),Ju(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function LE(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),l=r[s];l&&Mt.postRender(()=>l(t,mc(t)))}class y8 extends ls{mount(){const{current:t}=this.node;if(!t)return;
vendor: 3,550 bytes, line 198
198const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=WL(t,(s,l)=>(LE(this.node,l,"Start"),(u,{success:d})=>LE(this.node,u,d?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const s0=new WeakMap,Jp=new WeakMap,b8=e=>{const t=s0.get(e.target);t&&t(e)},x8=e=>{e.forEach(b8)};function v8({root:e,...t}){const n=e||document;Jp.has(n)||Jp.set(n,{});const r=Jp.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(x8,{root:e,...t})),r[s]}function T8(e,t,n){const r=v8(t);return s0.set(e,n),r.observe(e),()=>{s0.delete(e),r.unobserve(e)}}const E8={some:0,all:1};class w8 extends ls{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:n,margin:r,amount:s="some",once:l}=t,u={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:E8[s]},d=h=>{const{isIntersecting:g}=h;if(this.isInView===g||(this.isInView=g,l&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),T=g?y:v;T&&T(h)};this.stopObserver=T8(this.node.current,u,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(S8(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function S8({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const A8={inView:{Feature:w8},tap:{Feature:y8},focus:{Feature:g8},hover:{Feature:p8}},_8={layout:{ProjectionNode:XA,MeasureLayout:l3}},k8={...QI,...A8,...m8,..._8},$=KI(k8,qI);var yt;(function(e){e.assertEqual=s=>{};function t(s){}e.assertIs=t;function n(s){throw new Error}e.assertNever=n,e.arrayToEnum=s=>{const l={};for(const u of s)l[u]=u;return l},e.getValidEnumValues=s=>{const l=e.objectKeys(s).filter(d=>typeof s[s[d]]!="number"),u={};for(const d of l)u[d]=s[d];return e.objectValues(u)},e.objectValues=s=>e.objectKeys(s).map(function(l){return s[l]}),e.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{const l=[];for(const u in s)Object.prototype.hasOwnProperty.call(s,u)&&l.push(u);return l},e.find=(s,l)=>{for(const u of s)if(l(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,l=" | "){return s.map(u=>typeof u=="string"?`'${u}'`:u).join(l)}e.joinValues=r,e.jsonStringifyReplacer=(s,l)=>typeof l=="bigint"?l.toString():l})(yt||(yt={}));var IE;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(IE||(IE={}));const Oe=yt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),$i=e=>{switch(typeof e){case"undefined":return Oe.undefined;case"string":return Oe.string;case"number":return Number.isNaN(e)?Oe.nan:Oe.number;case"boolean":return Oe.boolean;case"function":return Oe.function;case"bigint":return Oe.bigint;case"symbol":return Oe.symbol;case"object":return Array.isArray(e)?Oe.array:e===null?Oe.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Oe.promise:typeof Map<"u"&&e instanceof Map?Oe.map:typeof Set<"u"&&e instanceof Set?Oe.set:typeof Date<"u"&&e instanceof Date?Oe.date:Oe.object;default:return Oe.unknown}}
vendor: 4,379 bytes, line 198
198,ve=yt.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 ci 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 n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(l){return l.message},r={_errors:[]},s=l=>{for(const u of l.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(n(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(n(u))):d[h]=d[h]||{_errors:[]},d=d[h],f++}}};return s(this),r}static assert(t){if(!(t instanceof ci))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,yt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const s of this.issues)if(s.path.length>0){const l=s.path[0];n[l]=n[l]||[],n[l].push(t(s))}else r.push(t(s));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}ci.create=e=>new ci(e);const o0=(e,t)=>{let n;switch(e.code){case ve.invalid_type:e.received===Oe.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ve.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,yt.jsonStringifyReplacer)}`;break;case ve.unrecognized_keys:n=`Unrecognized key(s) in object: ${yt.joinValues(e.keys,", ")}`;break;case ve.invalid_union:n="Invalid input";break;case ve.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${yt.joinValues(e.options)}`;break;case ve.invalid_enum_value:n=`Invalid enum value. Expected ${yt.joinValues(e.options)}, received '${e.received}'`;break;case ve.invalid_arguments:n="Invalid function arguments";break;case ve.invalid_return_type:n="Invalid function return type";break;case ve.invalid_date:n="Invalid date";break;case ve.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:yt.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ve.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ve.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ve.custom:n="Invalid input";break;
vendor: 7,534 bytes, line 198
198case ve.invalid_intersection_types:n="Intersection results could not be merged";break;case ve.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ve.not_finite:n="Number must be finite";break;default:n=t.defaultError,yt.assertNever(e)}return{message:n}};let N8=o0;function C8(){return N8}const R8=e=>{const{data:t,path:n,errorMaps:r,issueData:s}=e,l=[...n,...s.path||[]],u={...s,path:l};if(s.message!==void 0)return{...s,path:l,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:l,message:d}};function ke(e,t){const n=C8(),r=R8({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===o0?void 0:o0].filter(s=>!!s)});e.common.issues.push(r)}class ba{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const s of n){if(s.status==="aborted")return Ge;s.status==="dirty"&&t.dirty(),r.push(s.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const s of n){const l=await s.key,u=await s.value;r.push({key:l,value:u})}return ba.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const s of n){const{key:l,value:u}=s;if(l.status==="aborted"||u.status==="aborted")return Ge;l.status==="dirty"&&t.dirty(),u.status==="dirty"&&t.dirty(),l.value!=="__proto__"&&(typeof u.value<"u"||s.alwaysSet)&&(r[l.value]=u.value)}return{status:t.value,value:r}}}const Ge=Object.freeze({status:"aborted"}),Nu=e=>({status:"dirty",value:e}),Fa=e=>({status:"valid",value:e}),ME=e=>e.status==="aborted",PE=e=>e.status==="dirty",tl=e=>e.status==="valid",Rf=e=>typeof Promise<"u"&&e instanceof Promise;var Ie;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(Ie||(Ie={}));class ss{constructor(t,n,r,s){this._cachedPath=[],this.parent=t,this.data=n,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 BE=(e,t)=>{if(tl(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 n=new ci(e.common.issues);return this._error=n,this._error}}};function it(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:s}=e;if(t&&(n||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??n??d.defaultError}},description:s}}class ht{get description(){return this._def.description}_getType(t){return $i(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:$i(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new ba,ctx:{common:t.parent.common,data:t.data,parsedType:$i(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(Rf(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:(n==null?void 0:n.async)??!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:$i(t)},s=this._parseSync({data:t,path:r.path,parent:r});return BE(r,s)}"~validate"(t){var r,s;const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:$i(t)};if(!this["~standard"].async)try{const l=this._parseSync({data:t,path:[],parent:n});return tl(l)?{value:l.value}:{issues:n.common.issues}}catch(l){(s=(r=l==null?void 0:l.message)==null?void 0:r.toLowerCase())!=null&&s.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(l=>tl(l)?{value:l.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:$i(t)},s=this._parse({data:t,path:r.path,parent:r}),l=await(Rf(s)?s:Promise.resolve(s));return BE(r,l)}refine(t,n){const r=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,l)=>{const u=t(s),d=()=>l.addIssue({code:ve.custom,...r(s)});return typeof Promise<"u"&&u instanceof Promise?u.then(f=>f?!0:(d(),!1)):u?!0:(d(),!1)})}refinement(t,n){return this._refinement((r,s)=>t(r)?!0:(s.addIssue(typeof n=="function"?n(r,s):n),!1))}_refinement(t){return new al({schema:this,typeName:We.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:n=>this["~validate"](n)}}optional(){return as.create(this,this._def)}nullable(){return rl.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return vr.create(this)}promise(){return If.create(this,this._def)}or(t){return Of.create([this,t],this._def)}and(t){return Lf.create(this,t,this._def)}transform(t){return new al({...it(this._def),schema:this,typeName:We.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new c0({...it(this._def),innerType:this,defaultValue:n,typeName:We.ZodDefault})}brand(){return new J8({typeName:We.ZodBranded,type:this,...it(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new d0({...it(this._def),innerType:this,catchValue:n,typeName:We.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return xy.create(this,t)}readonly(){return f0.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const D8=/^c[^\s-]{8,}
vendor: 4,618 bytes, line 198
198$/i,O8=/^[0-9a-z]+$/,L8=/^[0-9A-HJKMNP-TV-Z]{26}$/i,I8=/^[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,M8=/^[a-z0-9_-]{21}$/i,P8=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,B8=/^[-+]?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)?)??$/,j8=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,U8="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let eg;const H8=/^(?:(?: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])$/,F8=/^(?:(?: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])$/,z8=/^(([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]))$/,V8=/^(([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])$/,Y8=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,K8=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,u3="((\\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])))",q8=new RegExp(`^${u3}$`);function c3(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function G8(e){return new RegExp(`^${c3(e)}$`)}function W8(e){let t=`${u3}T${c3(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function X8(e,t){return!!((t==="v4"||!t)&&H8.test(e)||(t==="v6"||!t)&&z8.test(e))}function Q8(e,t){if(!P8.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.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 $8(e,t){return!!((t==="v4"||!t)&&F8.test(e)||(t==="v6"||!t)&&V8.test(e))}class ts extends ht{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Oe.string){const l=this._getOrReturnCtx(t);return ke(l,{code:ve.invalid_type,expected:Oe.string,received:l.parsedType}),Ge}const r=new ba;let s;for(const l of this._def.checks)if(l.kind==="min")t.data.length<l.value&&(s=this._getOrReturnCtx(t,s),ke(s,{code:ve.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),r.dirty());else if(l.kind==="max")t.data.length>l.value&&(s=this._getOrReturnCtx(t,s),ke(s,{code:ve.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),r.dirty());else if(l.kind==="length"){const u=t.data.length>l.value,d=t.data.length<l.value;(u||d)&&(s=this._getOrReturnCtx(t,s),u?ke(s,{code:ve.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}):d&&ke(s,{code:ve.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}),r.dirty())}else if(l.kind==="email")j8.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"email",code:ve.invali
vendor: 6,028 bytes, line 198
198d_string,message:l.message}),r.dirty());else if(l.kind==="emoji")eg||(eg=new RegExp(U8,"u")),eg.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"emoji",code:ve.invalid_string,message:l.message}),r.dirty());else if(l.kind==="uuid")I8.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"uuid",code:ve.invalid_string,message:l.message}),r.dirty());else if(l.kind==="nanoid")M8.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"nanoid",code:ve.invalid_string,message:l.message}),r.dirty());else if(l.kind==="cuid")D8.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"cuid",code:ve.invalid_string,message:l.message}),r.dirty());else if(l.kind==="cuid2")O8.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"cuid2",code:ve.invalid_string,message:l.message}),r.dirty());else if(l.kind==="ulid")L8.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"ulid",code:ve.invalid_string,message:l.message}),r.dirty());else if(l.kind==="url")try{new URL(t.data)}catch{s=this._getOrReturnCtx(t,s),ke(s,{validation:"url",code:ve.invalid_string,message:l.message}),r.dirty()}else l.kind==="regex"?(l.regex.lastIndex=0,l.regex.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"regex",code:ve.invalid_string,message:l.message}),r.dirty())):l.kind==="trim"?t.data=t.data.trim():l.kind==="includes"?t.data.includes(l.value,l.position)||(s=this._getOrReturnCtx(t,s),ke(s,{code:ve.invalid_string,validation:{includes:l.value,position:l.position},message:l.message}),r.dirty()):l.kind==="toLowerCase"?t.data=t.data.toLowerCase():l.kind==="toUpperCase"?t.data=t.data.toUpperCase():l.kind==="startsWith"?t.data.startsWith(l.value)||(s=this._getOrReturnCtx(t,s),ke(s,{code:ve.invalid_string,validation:{startsWith:l.value},message:l.message}),r.dirty()):l.kind==="endsWith"?t.data.endsWith(l.value)||(s=this._getOrReturnCtx(t,s),ke(s,{code:ve.invalid_string,validation:{endsWith:l.value},message:l.message}),r.dirty()):l.kind==="datetime"?W8(l).test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{code:ve.invalid_string,validation:"datetime",message:l.message}),r.dirty()):l.kind==="date"?q8.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{code:ve.invalid_string,validation:"date",message:l.message}),r.dirty()):l.kind==="time"?G8(l).test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{code:ve.invalid_string,validation:"time",message:l.message}),r.dirty()):l.kind==="duration"?B8.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"duration",code:ve.invalid_string,message:l.message}),r.dirty()):l.kind==="ip"?X8(t.data,l.version)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"ip",code:ve.invalid_string,message:l.message}),r.dirty()):l.kind==="jwt"?Q8(t.data,l.alg)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"jwt",code:ve.invalid_string,message:l.message}),r.dirty()):l.kind==="cidr"?$8(t.data,l.version)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"cidr",code:ve.invalid_string,message:l.message}),r.dirty()):l.kind==="base64"?Y8.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"base64",code:ve.invalid_string,message:l.message}),r.dirty()):l.kind==="base64url"?K8.test(t.data)||(s=this._getOrReturnCtx(t,s),ke(s,{validation:"base64url",code:ve.invalid_string,message:l.message}),r.dirty()):yt.assertNever(l);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(s=>t.test(s),{validation:n,code:ve.invalid_string,...Ie.errToObj(r)})}_addCheck(t){return new ts({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Ie.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Ie.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Ie.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Ie.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Ie.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Ie.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Ie.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Ie.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Ie.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Ie.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Ie.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Ie.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Ie.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,...Ie.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,...Ie.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...Ie.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Ie.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...Ie.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Ie.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Ie.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Ie.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Ie.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Ie.errToObj(n)})}nonempty(t){return this.min(1,Ie.errToObj(t))}trim(){return new ts({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ts({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ts({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}
vendor: 4,670 bytes, line 198
198get 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 n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}ts.create=e=>new ts({checks:[],typeName:We.ZodString,coerce:(e==null?void 0:e.coerce)??!1,...it(e)});function Z8(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,s=n>r?n:r,l=Number.parseInt(e.toFixed(s).replace(".","")),u=Number.parseInt(t.toFixed(s).replace(".",""));return l%u/10**s}class ec extends ht{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)!==Oe.number){const l=this._getOrReturnCtx(t);return ke(l,{code:ve.invalid_type,expected:Oe.number,received:l.parsedType}),Ge}let r;const s=new ba;for(const l of this._def.checks)l.kind==="int"?yt.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),ke(r,{code:ve.invalid_type,expected:"integer",received:"float",message:l.message}),s.dirty()):l.kind==="min"?(l.inclusive?t.data<l.value:t.data<=l.value)&&(r=this._getOrReturnCtx(t,r),ke(r,{code:ve.too_small,minimum:l.value,type:"number",inclusive:l.inclusive,exact:!1,message:l.message}),s.dirty()):l.kind==="max"?(l.inclusive?t.data>l.value:t.data>=l.value)&&(r=this._getOrReturnCtx(t,r),ke(r,{code:ve.too_big,maximum:l.value,type:"number",inclusive:l.inclusive,exact:!1,message:l.message}),s.dirty()):l.kind==="multipleOf"?Z8(t.data,l.value)!==0&&(r=this._getOrReturnCtx(t,r),ke(r,{code:ve.not_multiple_of,multipleOf:l.value,message:l.message}),s.dirty()):l.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),ke(r,{code:ve.not_finite,message:l.message}),s.dirty()):yt.assertNever(l);return{status:s.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Ie.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Ie.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Ie.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Ie.toString(n))}setLimit(t,n,r,s){return new ec({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Ie.toString(s)}]})}_addCheck(t){return new ec({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Ie.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ie.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ie.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ie.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ie.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Ie.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Ie.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ie.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ie.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&yt.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}
vendor: 4,149 bytes, line 198
198}ec.create=e=>new ec({checks:[],typeName:We.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...it(e)});class tc extends ht{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)!==Oe.bigint)return this._getInvalidInput(t);let r;const s=new ba;for(const l of this._def.checks)l.kind==="min"?(l.inclusive?t.data<l.value:t.data<=l.value)&&(r=this._getOrReturnCtx(t,r),ke(r,{code:ve.too_small,type:"bigint",minimum:l.value,inclusive:l.inclusive,message:l.message}),s.dirty()):l.kind==="max"?(l.inclusive?t.data>l.value:t.data>=l.value)&&(r=this._getOrReturnCtx(t,r),ke(r,{code:ve.too_big,type:"bigint",maximum:l.value,inclusive:l.inclusive,message:l.message}),s.dirty()):l.kind==="multipleOf"?t.data%l.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),ke(r,{code:ve.not_multiple_of,multipleOf:l.value,message:l.message}),s.dirty()):yt.assertNever(l);return{status:s.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return ke(n,{code:ve.invalid_type,expected:Oe.bigint,received:n.parsedType}),Ge}gte(t,n){return this.setLimit("min",t,!0,Ie.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Ie.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Ie.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Ie.toString(n))}setLimit(t,n,r,s){return new tc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Ie.toString(s)}]})}_addCheck(t){return new tc({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Ie.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Ie.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Ie.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Ie.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Ie.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}tc.create=e=>new tc({checks:[],typeName:We.ZodBigInt,coerce:(e==null?void 0:e.coerce)??!1,...it(e)});class l0 extends ht{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Oe.boolean){const r=this._getOrReturnCtx(t);return ke(r,{code:ve.invalid_type,expected:Oe.boolean,received:r.parsedType}),Ge}return Fa(t.data)}}l0.create=e=>new l0({typeName:We.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...it(e)});class Df extends ht{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Oe.date){const l=this._getOrReturnCtx(t);return ke(l,{code:ve.invalid_type,expected:Oe.date,received:l.parsedType}),Ge}if(Number.isNaN(t.data.getTime())){const l=this._getOrReturnCtx(t);return ke(l,{code:ve.invalid_date}),Ge}const r=new ba;let s;for(const l of this._def.checks)l.kind==="min"?t.data.getTime()<l.value&&(s=this._getOrReturnCtx(t,s),ke(s,{code:ve.too_small,message:l.message,inclusive:!0,exact:!1,minimum:l.value,type:"date"}),r.dirty()):l.kind==="max"?t.data.getTime()>l.value&&(s=this._getOrReturnCtx(t,s),ke(s,{code:ve.too_big,message:l.message,inclusive:!0,exact:!1,maximum:l.value,type:"date"}),r.dirty()):yt.assertNever(l);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Df({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Ie.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Ie.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Df.create=e=>new Df({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:We.ZodDate,...it(e)});
vendor: 8,654 bytes, line 198
198class jE extends ht{_parse(t){if(this._getType(t)!==Oe.symbol){const r=this._getOrReturnCtx(t);return ke(r,{code:ve.invalid_type,expected:Oe.symbol,received:r.parsedType}),Ge}return Fa(t.data)}}jE.create=e=>new jE({typeName:We.ZodSymbol,...it(e)});class UE extends ht{_parse(t){if(this._getType(t)!==Oe.undefined){const r=this._getOrReturnCtx(t);return ke(r,{code:ve.invalid_type,expected:Oe.undefined,received:r.parsedType}),Ge}return Fa(t.data)}}UE.create=e=>new UE({typeName:We.ZodUndefined,...it(e)});class HE extends ht{_parse(t){if(this._getType(t)!==Oe.null){const r=this._getOrReturnCtx(t);return ke(r,{code:ve.invalid_type,expected:Oe.null,received:r.parsedType}),Ge}return Fa(t.data)}}HE.create=e=>new HE({typeName:We.ZodNull,...it(e)});class FE extends ht{constructor(){super(...arguments),this._any=!0}_parse(t){return Fa(t.data)}}FE.create=e=>new FE({typeName:We.ZodAny,...it(e)});class zE extends ht{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Fa(t.data)}}zE.create=e=>new zE({typeName:We.ZodUnknown,...it(e)});class os extends ht{_parse(t){const n=this._getOrReturnCtx(t);return ke(n,{code:ve.invalid_type,expected:Oe.never,received:n.parsedType}),Ge}}os.create=e=>new os({typeName:We.ZodNever,...it(e)});class VE extends ht{_parse(t){if(this._getType(t)!==Oe.undefined){const r=this._getOrReturnCtx(t);return ke(r,{code:ve.invalid_type,expected:Oe.void,received:r.parsedType}),Ge}return Fa(t.data)}}VE.create=e=>new VE({typeName:We.ZodVoid,...it(e)});class vr extends ht{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),s=this._def;if(n.parsedType!==Oe.array)return ke(n,{code:ve.invalid_type,expected:Oe.array,received:n.parsedType}),Ge;if(s.exactLength!==null){const u=n.data.length>s.exactLength.value,d=n.data.length<s.exactLength.value;(u||d)&&(ke(n,{code:u?ve.too_big:ve.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&&n.data.length<s.minLength.value&&(ke(n,{code:ve.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),r.dirty()),s.maxLength!==null&&n.data.length>s.maxLength.value&&(ke(n,{code:ve.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((u,d)=>s.type._parseAsync(new ss(n,u,n.path,d)))).then(u=>ba.mergeArray(r,u));const l=[...n.data].map((u,d)=>s.type._parseSync(new ss(n,u,n.path,d)));return ba.mergeArray(r,l)}get element(){return this._def.type}min(t,n){return new vr({...this._def,minLength:{value:t,message:Ie.toString(n)}})}max(t,n){return new vr({...this._def,maxLength:{value:t,message:Ie.toString(n)}})}length(t,n){return new vr({...this._def,exactLength:{value:t,message:Ie.toString(n)}})}nonempty(t){return this.min(1,t)}}vr.create=(e,t)=>new vr({type:e,minLength:null,maxLength:null,exactLength:null,typeName:We.ZodArray,...it(t)});function zo(e){if(e instanceof fn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=as.create(zo(r))}return new fn({...e._def,shape:()=>t})}else return e instanceof vr?new vr({...e._def,type:zo(e.element)}):e instanceof as?as.create(zo(e.unwrap())):e instanceof rl?rl.create(zo(e.unwrap())):e instanceof Ks?Ks.create(e.items.map(t=>zo(t))):e}class fn extends ht{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(),n=yt.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Oe.object){const h=this._getOrReturnCtx(t);return ke(h,{code:ve.invalid_type,expected:Oe.object,received:h.parsedType}),Ge}const{status:r,ctx:s}=this._processInputParams(t),{shape:l,keys:u}=this._getCached(),d=[];if(!(this._def.catchall instanceof os&&this._def.unknownKeys==="strip"))for(const h in s.data)u.includes(h)||d.push(h);const f=[];for(const h of u){const g=l[h],y=s.data[h];f.push({key:{status:"valid",value:h},value:g._parse(new ss(s,y,s.path,h)),alwaysSet:h in s.data})}if(this._def.catchall instanceof os){const h=this._def.unknownKeys;if(h==="passthrough")for(const g of d)f.push({key:{status:"valid",value:g},value:{status:"valid",value:s.data[g]}});else if(h==="strict")d.length>0&&(ke(s,{code:ve.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 g of d){const y=s.data[g];f.push({key:{status:"valid",value:g},value:h._parse(new ss(s,y,s.path,g)),alwaysSet:g in s.data})}}return s.common.async?Promise.resolve().then(async()=>{const h=[];for(const g of f){const y=await g.key,v=await g.value;h.push({key:y,value:v,alwaysSet:g.alwaysSet})}return h}).then(h=>ba.mergeObjectSync(r,h)):ba.mergeObjectSync(r,f)}get shape(){return this._def.shape()}strict(t){return Ie.errToObj,new fn({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var l,u;const s=((u=(l=this._def).errorMap)==null?void 0:u.call(l,n,r).message)??r.defaultError;return n.code==="unrecognized_keys"?{message:Ie.errToObj(t).message??s}:{message:s}}}:{}})}strip(){return new fn({...this._def,unknownKeys:"strip"})}passthrough(){return new fn({...this._def,unknownKeys:"passthrough"})}extend(t){return new fn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new fn({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:We.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new fn({...this._def,catchall:t})}pick(t){const n={};for(const r of yt.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new fn({...this._def,shape:()=>n})}omit(t){const n={};for(const r of yt.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new fn({...this._def,shape:()=>n})}deepPartial(){return zo(this)}partial(t){const n={};for(const r of yt.objectKeys(this.shape)){const s=this.shape[r];t&&!t[r]?n[r]=s:n[r]=s.optional()}return new fn({...this._def,shape:()=>n})}required(t){const n={};for(const r of yt.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let l=this.shape[r];for(;l instanceof as;)l=l._def.innerType;n[r]=l}return new fn({...this._def,shape:()=>n})}keyof(){return d3(yt.objectKeys(this.shape))}}fn.create=(e,t)=>new fn({shape:()=>e,unknownKeys:"strip",catchall:os.create(),typeName:We.ZodObject,...it(t)});fn.strictCreate=(e,t)=>new fn({shape:()=>e,unknownKeys:"strict",catchall:os.create(),typeName:We.ZodObject,...it(t)});fn.lazycreate=(e,t)=>new fn({shape:e,unknownKeys:"strip",catchall:os.create(),typeName:We.ZodObject,...it(t)});class Of extends ht{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function s(l){for(const d of l)if(d.result.status==="valid")return d.result;for(const d of l)if(d.result.status==="dirty")return n.common.issues.push(...d.ctx.common.issues),d.result;const u=l.map(d=>new ci(d.ctx.common.issues));return ke(n,{code:ve.invalid_union,unionErrors:u}),Ge}if(n.common.async)return Promise.all(r.map(async l=>{const u={...n,common:{...n.common,issues:[]},parent:null};return{result:await l._parseAsync({data:n.data,path:n.path,parent:u}),ctx:u}})).then(s);{let l;const u=[];for(const f of r){const h={...n,common:{...n.common,issues:[]},parent:null},g=f._parseSync({data:n.data,path:n.path,parent:h});if(g.status==="valid")return g;g.status==="dirty"&&!l&&(l={result:g,ctx:h}),h.common.issues.length&&u.push(h.common.issues)}if(l)return n.common.issues.push(...l.ctx.common.issues),l.result;const d=u.map(f=>new ci(f));return ke(n,{code:ve.invalid_union,unionErrors:d}),Ge}}get options(){return this._def.options}}Of.create=(e,t)=>new Of({options:e,typeName:We.ZodUnion,...it(t)});function u0(e,t){const n=$i(e),r=$i(t);if(e===t)return{valid:!0,data:e};if(n===Oe.object&&r===Oe.object){const s=yt.objectKeys(t),l=yt.objectKeys(e).filter(d=>s.indexOf(d)!==-1),u={...e,...t};for(const d of l){const f=u0(e[d],t[d]);if(!f.valid)return{valid:!1};u[d]=f.data}return{valid:!0,data:u}}else if(n===Oe.array&&r===Oe.array){if(e.length!==t.length)return{valid:!1};const s=[];for(let l=0;l<e.length;l++){const u=e[l],d=t[l],f=u0(u,d);if(!f.valid)return{valid:!1};s.push(f.data)}return{valid:!0,data:s}}else return n===Oe.date&&r===Oe.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class Lf extends ht{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=(l,u)=>{if(ME(l)||ME(u))return Ge;const d=u0(l.value,u.value);return d.valid?((PE(l)||PE(u))&&n.dirty(),{status:n.value,value:d.data}
vendor: 4,144 bytes, line 198
198):(ke(r,{code:ve.invalid_intersection_types}),Ge)};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(([l,u])=>s(l,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}))}}Lf.create=(e,t,n)=>new Lf({left:e,right:t,typeName:We.ZodIntersection,...it(n)});class Ks extends ht{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.array)return ke(r,{code:ve.invalid_type,expected:Oe.array,received:r.parsedType}),Ge;if(r.data.length<this._def.items.length)return ke(r,{code:ve.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Ge;!this._def.rest&&r.data.length>this._def.items.length&&(ke(r,{code:ve.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const l=[...r.data].map((u,d)=>{const f=this._def.items[d]||this._def.rest;return f?f._parse(new ss(r,u,r.path,d)):null}).filter(u=>!!u);return r.common.async?Promise.all(l).then(u=>ba.mergeArray(n,u)):ba.mergeArray(n,l)}get items(){return this._def.items}rest(t){return new Ks({...this._def,rest:t})}}Ks.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Ks({items:e,typeName:We.ZodTuple,rest:null,...it(t)})};class YE extends ht{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.map)return ke(r,{code:ve.invalid_type,expected:Oe.map,received:r.parsedType}),Ge;const s=this._def.keyType,l=this._def.valueType,u=[...r.data.entries()].map(([d,f],h)=>({key:s._parse(new ss(r,d,r.path,[h,"key"])),value:l._parse(new ss(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,g=await f.value;if(h.status==="aborted"||g.status==="aborted")return Ge;(h.status==="dirty"||g.status==="dirty")&&n.dirty(),d.set(h.value,g.value)}return{status:n.value,value:d}})}else{const d=new Map;for(const f of u){const h=f.key,g=f.value;if(h.status==="aborted"||g.status==="aborted")return Ge;(h.status==="dirty"||g.status==="dirty")&&n.dirty(),d.set(h.value,g.value)}return{status:n.value,value:d}}}}YE.create=(e,t,n)=>new YE({valueType:t,keyType:e,typeName:We.ZodMap,...it(n)});class nc extends ht{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.set)return ke(r,{code:ve.invalid_type,expected:Oe.set,received:r.parsedType}),Ge;const s=this._def;s.minSize!==null&&r.data.size<s.minSize.value&&(ke(r,{code:ve.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),n.dirty()),s.maxSize!==null&&r.data.size>s.maxSize.value&&(ke(r,{code:ve.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());const l=this._def.valueType;function u(f){const h=new Set;for(const g of f){if(g.status==="aborted")return Ge;g.status==="dirty"&&n.dirty(),h.add(g.value)}return{status:n.value,value:h}}const d=[...r.data.values()].map((f,h)=>l._parse(new ss(r,f,r.path,h)));return r.common.async?Promise.all(d).then(f=>u(f)):u(d)}min(t,n){return new nc({...this._def,minSize:{value:t,message:Ie.toString(n)}})}max(t,n){return new nc({...this._def,maxSize:{value:t,message:Ie.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}nc.create=(e,t)=>new nc({valueType:e,minSize:null,maxSize:null,typeName:We.ZodSet,...it(t)});class KE extends ht{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}KE.create=(e,t)=>new KE({getter:e,typeName:We.ZodLazy,...it(t)});class qE extends ht{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return ke(n,{received:n.data,code:ve.invalid_literal,expected:this._def.value}),Ge}return{status:"valid",value:t.data}}get value(){return this._def.value}}qE.create=(e,t)=>
vendor: 8,675 bytes, line 198
198new qE({value:e,typeName:We.ZodLiteral,...it(t)});function d3(e,t){return new nl({values:e,typeName:We.ZodEnum,...it(t)})}class nl extends ht{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return ke(n,{expected:yt.joinValues(r),received:n.parsedType,code:ve.invalid_type}),Ge}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return ke(n,{received:n.data,code:ve.invalid_enum_value,options:r}),Ge}return Fa(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return nl.create(t,{...this._def,...n})}exclude(t,n=this._def){return nl.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}nl.create=d3;class GE extends ht{_parse(t){const n=yt.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Oe.string&&r.parsedType!==Oe.number){const s=yt.objectValues(n);return ke(r,{expected:yt.joinValues(s),received:r.parsedType,code:ve.invalid_type}),Ge}if(this._cache||(this._cache=new Set(yt.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const s=yt.objectValues(n);return ke(r,{received:r.data,code:ve.invalid_enum_value,options:s}),Ge}return Fa(t.data)}get enum(){return this._def.values}}GE.create=(e,t)=>new GE({values:e,typeName:We.ZodNativeEnum,...it(t)});class If extends ht{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Oe.promise&&n.common.async===!1)return ke(n,{code:ve.invalid_type,expected:Oe.promise,received:n.parsedType}),Ge;const r=n.parsedType===Oe.promise?n.data:Promise.resolve(n.data);return Fa(r.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}}If.create=(e,t)=>new If({type:e,typeName:We.ZodPromise,...it(t)});class al extends ht{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===We.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=this._def.effect||null,l={addIssue:u=>{ke(r,u),u.fatal?n.abort():n.dirty()},get path(){return r.path}};if(l.addIssue=l.addIssue.bind(l),s.type==="preprocess"){const u=s.transform(r.data,l);if(r.common.async)return Promise.resolve(u).then(async d=>{if(n.value==="aborted")return Ge;const f=await this._def.schema._parseAsync({data:d,path:r.path,parent:r});return f.status==="aborted"?Ge:f.status==="dirty"||n.value==="dirty"?Nu(f.value):f});{if(n.value==="aborted")return Ge;const d=this._def.schema._parseSync({data:u,path:r.path,parent:r});return d.status==="aborted"?Ge:d.status==="dirty"||n.value==="dirty"?Nu(d.value):d}}if(s.type==="refinement"){const u=d=>{const f=s.refinement(d,l);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"?Ge:(d.status==="dirty"&&n.dirty(),u(d.value),{status:n.value,value:d.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(d=>d.status==="aborted"?Ge:(d.status==="dirty"&&n.dirty(),u(d.value).then(()=>({status:n.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(!tl(u))return Ge;const d=s.transform(u.value,l);if(d instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:d}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(u=>tl(u)?Promise.resolve(s.transform(u.value,l)).then(d=>({status:n.value,value:d})):Ge);yt.assertNever(s)}}al.create=(e,t,n)=>new al({schema:e,typeName:We.ZodEffects,effect:t,...it(n)});al.createWithPreprocess=(e,t,n)=>new al({schema:t,effect:{type:"preprocess",transform:e},typeName:We.ZodEffects,...it(n)});class as extends ht{_parse(t){return this._getType(t)===Oe.undefined?Fa(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}as.create=(e,t)=>new as({innerType:e,typeName:We.ZodOptional,...it(t)});class rl extends ht{_parse(t){return this._getType(t)===Oe.null?Fa(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}rl.create=(e,t)=>new rl({innerType:e,typeName:We.ZodNullable,...it(t)});class c0 extends ht{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Oe.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}c0.create=(e,t)=>new c0({innerType:e,typeName:We.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...it(t)});class d0 extends ht{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return Rf(s)?s.then(l=>({status:"valid",value:l.status==="valid"?l.value:this._def.catchValue({get error(){return new ci(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new ci(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}d0.create=(e,t)=>new d0({innerType:e,typeName:We.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...it(t)});class WE extends ht{_parse(t){if(this._getType(t)!==Oe.nan){const r=this._getOrReturnCtx(t);return ke(r,{code:ve.invalid_type,expected:Oe.nan,received:r.parsedType}),Ge}return{status:"valid",value:t.data}}}WE.create=e=>new WE({typeName:We.ZodNaN,...it(e)});class J8 extends ht{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class xy extends ht{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const l=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return l.status==="aborted"?Ge:l.status==="dirty"?(n.dirty(),Nu(l.value)):this._def.out._parseAsync({data:l.value,path:r.path,parent:r})})();{const s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Ge:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(t,n){return new xy({in:t,out:n,typeName:We.ZodPipeline})}}class f0 extends ht{_parse(t){const n=this._def.innerType._parse(t),r=s=>(tl(s)&&(s.value=Object.freeze(s.value)),s);return Rf(n)?n.then(s=>r(s)):r(n)}unwrap(){return this._def.innerType}}f0.create=(e,t)=>new f0({innerType:e,typeName:We.ZodReadonly,...it(t)});var We;(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"})(We||(We={}));const le=ts.create,hf=l0.create;os.create;const ai=vr.create,Nt=fn.create;Of.create;Lf.create;Ks.create;const eM=nl.create;If.create;as.create;rl.create;const tM=Nt({id:le(),slug:le().min(1),title:le(),excerpt:le(),content:le(),author:le().optional(),publishedAt:le(),updatedAt:le().optional(),category:le().optional(),tags:ai(le()).optional(),featuredImage:le().optional(),seoTitle:le().optional(),seoDescription:le().optional(),published:hf(),status:eM(["published","scheduled","draft"]).optional()}),un={data:{blog:ai(tM).superRefine((e,t)=>{const n=new Set;e.forEach((r,s)=>{n.has(r.slug)&&t.addIssue({code:ve.custom,message:`duplicate blog slug "${r.slug}"`,path:[s,"slug"]}),n.add(r.slug)})})}
198,pages:{home:Nt({hero:Nt({name:le(),descriptor:le(),company:le(),tagline:le(),ctaBooks:le(),ctaPodcast:le()})}).passthrough(),blog_page:Nt({hero:Nt({title:le(),subtitle:le()}),emptyState:le()}),free_audiobook:Nt({hero:Nt({eyebrow:le(),heading:le(),subheading:le(),description:le()}),buySection:Nt({heading:le(),description:le(),buttonText:le(),buttonUrl:le()})}),work_with_ben:Nt({hero:Nt({label:le(),heading:le(),subheading:le()}),course:Nt({label:le(),heading:le(),description:le(),features:ai(Nt({id:le(),text:le()})),price:le(),cta:le(),ctaUrl:le()}),hourly:Nt({label:le(),heading:le(),description:le(),features:ai(Nt({id:le(),text:le()})),originalPrice:le(),price:le(),priceNote:le(),cta:le(),ctaUrl:le()}),coaching:Nt({label:le(),heading:le(),description:le(),features:ai(Nt({id:le(),text:le()})),originalPrice:le(),price:le(),priceNote:le(),cta:le(),ctaUrl:le()}),dfy:Nt({label:le(),heading:le(),description:le(),features:ai(Nt({id:le(),text:le()})),originalPrice:le(),price:le(),priceNote:le(),cta:le(),ctaUrl:le()}),cta:Nt({heading:le(),description:le(),buttonText:le(),buttonUrl:le()})}),writing_resources:Nt({hero:Nt({eyebrow:le(),title:le(),subtitle:le()}),video:Nt({eyebrow:le(),title:le(),description:le(),youtubeId:le()}),course:Nt({eyebrow:le(),title:le(),description:le(),cta:le(),url:le()}),tools:ai(Nt({id:le(),imageSlot:le(),category:le(),name:le(),description:le(),cta:le(),url:le(),affiliate:hf()})),publishing:Nt({eyebrow:le(),title:le(),subtitle:le(),platforms:ai(Nt({id:le(),imageSlot:le(),name:le(),description:le(),cta:le(),url:le(),affiliate:hf()})),audiobooks:Nt({eyebrow:le(),title:le(),platforms:ai(Nt({id:le(),imageSlot:le(),name:le(),description:le(),cta:le(),url:le(),affiliate:hf()}))})}),seo:Nt({title:le(),description:le()})})}},fr={parse:e=>e};var Tw,Ew,ww,Sw,Aw,_w,kw,Nw,Cw;const di={about:(((Tw=un.pages)==null?void 0:Tw.about)??un.about??fr).parse({hero:{label:"About Ben Povlow",heading:"A Life Spent Paying Attention",subheading:"Author. Podcaster. Guide."},bio:{p1:"Ben Povlow is an author, speaker, and podcaster dedicated to helping people navigate personal transformation, cultivate self-reliance, and step into their higher calling. After overcoming a traumatic childhood, losing both parents early in life, and spending his teenage years navigating the streets and juvenile detention, Ben turned his life around at age twenty-eight through personal development, discipline, and practical spirituality.",p2:"Today, Ben combines decades of personal growth, intuitive development, and real-world experience to guide readers toward inner peace and present-moment awareness. Host of the Raising Yourself Up podcast, he speaks directly from the heart — sharing raw stories, hard-earned wisdom, and practical action steps to help people release past patterns and align with their soul's true purpose.",p3:"Ben's journey into meditation, mindfulness, and spiritual evolution has shaped every page he's written. He believes that no experience is wasted — that every setback, hardship, and unexpected turn holds the precise lesson your soul needs to grow. His work is a testament to that belief: honest, practical, and deeply human."},books:{heading:"The Books",cta:"View All Books",ctaUrl:"/books"},podcast:{heading:"The Podcast",description:"Raising Yourself Up is Ben's ongoing conversation about practical self-help, personal development, and the lived experience of transformation. New episodes every week.",cta:"Listen Now",ctaUrl:"/podcast"},connect:{heading:"Get in Touch",description:"For speaking inquiries, media requests, or just to say hello — Ben would love to hear from you.",cta:"Contact Ben",ctaUrl:"/contact"}}),blog_page:(((Ew=un.pages)==null?void 0:Ew.blog_page)??un.blog_page??fr).parse({hero:{title:"Insights & Inspiration",subtitle:"Personal growth, spiritual awakening, and lessons from the journey — in Ben's own words"},emptyState:"No posts yet — check back soon!"}),books:(((ww=un.pages)==null?void 0:ww.books)??un.books??fr).parse({hero:{label:`The Complete Collection
199 Published by The Self-Help Company, LLC.`,heading:"Books by Ben Povlow",de
199scription:"Stories that challenge how you see the world — and yourself. From raw memoir to practical self-help to adventure fiction."},nonfiction:{label:"Non-Fiction & Self-Help",books:[{id:"waking-up-in-handcuffs",title:"Waking Up in Handcuffs",subtitle:"A Memoir",description:"Drugs. Alcohol. Trouble. Repeat. For over three decades, Ben Povlow lived a life dictated by chemical substances and chaotic choices. This brutal, honest, R-rated memoir proves that no soul is ever too far gone to heal.",buyUrl:"https://mybook.to/9Vz09Nt",cta:"Get the Book"},{id:"you-must-be-present-to-win",title:"You Must Be Present to Win",subtitle:"A Guide to Spiritual Awakening and Personal Growth",description:"Stop waiting for your life to start. Learn to listen to your inner guidance, break negative patterns, and step fully into the present moment. Drawing from his own journey of overcoming loss, trauma, and early missteps, Ben demonstrates that no experience is wasted.",buyUrl:"https://mybook.to/lK3ke",cta:"Get the Book"},{id:"self-help-for-at-risk-teens",title:"Self-Help for At-Risk Teens",subtitle:"Overcome the Odds and Live the Life of Your Dreams",description:"Written from the perspective of someone who has been there. Through hard lessons learned from watching his life spiral out of control, and with a no-nonsense approach, you will learn how to overcome the odds and live the life you were always meant to live.",buyUrl:"https://mybook.to/0N0A",cta:"Get the Book"},{id:"young-adult-starter-kit",title:"The Young Adult Starter Kit",subtitle:"12 Steps to Being a Better Person",description:"The compass every young adult needs. Packed with real-life anecdotes, actionable tips, and relatable advice — covering courage, faith, purpose, mindset, self-esteem, personal responsibility, and more. Don't just survive the real world — conquer it with confidence.",buyUrl:"https://mybook.to/kkY3",cta:"Get the Book"},{id:"journey-to-maturity",title:"Journey to Maturity",subtitle:"Navigating Young Adulthood with Resilience and Grace",description:"A comprehensive life manual covering 20 essential areas of young adult life — from relationships and social media to financial literacy and personal branding. Practical wisdom and actionable advice to help you thrive at every crossroads.",buyUrl:"https://mybook.to/9YjFBs",cta:"Get the Book"}]},fiction:{label:"Fiction",books:[{id:"biker-dude",title:"Biker Dude: A Motorcycle Rally Adventure Story",subtitle:"A Novel",description:"It's time for the annual Mud Hole Motorcycle Rally — but Dude isn't back for the revelry. He's back to catch the thieves who stole a bike belonging to his recently deceased friend. Between a poker run, a bike show, and a drop-dead-gorgeous redhead, keeping his eyes on the prize has never been harder.",buyUrl:"https://mybook.to/aCQq",cta:"Get the Book"}]}}),contact:(((Sw=un.pages)==null?void 0:Sw.contact)??un.contact??fr).parse({hero:{label:"Get in Touch",heading:"Say Hello",subheading:"Whether it's a speaking inquiry, a media request, or just a note — Ben would love to hear from you."},email:{label:"Email",address:"[email protected]"},form:{namePlaceholder:"Your name",emailPlaceholder:"Your email address",messagePlaceholder:"What's on your mind?",submitCta:"Send Message",successMessage:"Thanks for reaching out — Ben will be in touch soon.",errorMessage:"Something went wrong. Please try again or email directly."}}),free_audiobook:(((Aw=un.pages)==null?void 0:Aw.free_audiobook)??un.free_audiobook??fr).parse({hero:{eyebrow:"Free Gift from Ben Povlow",heading:"Self-Help for At-Risk Teens",subheading:"Overcome the Odds and Live the Life of Your Dreams",description:"Ben reads this book to you himself. Press play below and listen to the full audiobook — completely free, no strings attached."},buySection:{heading:"Want a copy of your own?",description:"Pick up a print or digital copy and share it with a young person in your life.",buttonText:"Get the Book",buttonUrl:"https://mybook.to/0N0A"}}),home:(((_w=un.pages)==null?void 0:_w.home)??un.home??fr).parse({hero:{name:"Ben Povlow",descriptor:"Author. publisher. Storyteller. Guide.",company:"Owner of The Self-Help Company, LLC.",tagline:"Stories that challenge how you see the world — and yourself.",ctaBooks:"Explore the Books",ctaPodcast:"Listen to the Podcast"},books:{sectionLabel:"The Work",heading:"Words Worth Living With",fiction:{label:"Fiction",title:"Biker Dude: A Motorcycle Rally Adventure Story",description:"It's time for the annual Mud Hole Motorcycle Rally — but Dude isn't back for the revelry. He's back to catch the thieves who stole a bike belonging to his recently deceased friend. Between a poker run, a bike show, and a drop-dead-gorgeous redhead, keeping his eyes on the prize has never been harder.",cta:"Get the Book",buyUrl:"https://mybook.to/aCQq"},selfhelp:{label:"Memoir",title:"Waking Up in Handcuffs",description:"Drugs. Alcohol. Trouble. Repeat. For over three decades, Ben Povlow lived a life dictated by chemical substances and chaotic choices. This brutal, honest, R-rated memoir proves that no soul is ever too far gone to heal.",cta:"Get the Book",buyUrl:"https://mybook.to/9Vz
19909Nt"}},podcast:{sectionLabel:"The Podcast",title:"Raising Yourself Up",description:"Practical Self-Help and Personal Development Strategies from an Author with lived experience.",latestEpisode:"Episode 47: The Stories We Tell Ourselves",latestDescription:"What happens when the narrative you've built around your life no longer fits? A conversation about identity, reinvention, and the courage to rewrite.",cta:"Listen Now",subscribeCta:"Subscribe"},about:{sectionLabel:"About Ben",heading:"A Life Spent Paying Attention",bio:"Ben Povlow is an author, speaker, and podcaster dedicated to helping people navigate personal transformation, cultivate self-reliance, and step into their higher calling. After overcoming a traumatic childhood, losing both parents early in life, and spending his teenage years navigating the streets and juvenile detention, Ben turned his life around at age twenty-eight through personal development, discipline, and practical spirituality.",bio2:"Today, Ben combines decades of personal growth, intuitive development, and real-world experience to guide readers toward inner peace and present-moment awareness. Host of the Raising Yourself Up podcast, he speaks directly from the heart — sharing raw stories, hard-earned wisdom, and practical action steps to help people release past patterns and align with their soul's true purpose.",cta:"Read the Full Story"},newsletter:{sectionLabel:"Stay Connected",heading:"Join the Conversation",description:"Occasional letters on writing, living, and the questions worth sitting with. No noise — just words that matter.",placeholder:"Your email address",cta:"Subscribe",disclaimer:"No spam. Unsubscribe anytime."}}),podcast:(((kw=un.pages)==null?void 0:kw.podcast)??un.podcast??fr).parse({hero:{label:"The Podcast",title:"Raising Yourself Up",description:"Honest conversations about personal growth, self-discovery, and becoming who you're meant to be. Every episode is an invitation to slow down, pay attention, and find meaning in the journey.",subscribeCta:"Subscribe",spotifyUrl:"https://open.spotify.com/show/6NIikgDGYHMpxe061UiK6S",appleUrl:"https://podcasts.apple.com/us/podcast/raising-yourself-up/id1529324232",amazonUrl:"https://music.amazon.com/podcasts/e0c09f03-0ad8-45cc-981f-ef17b10582e9/raising-yourself-up",iheartUrl:"https://www.iheart.com/podcast/269-raising-yourself-up-71516061/",youtubePlaylistUrl:"https://www.youtube.com/playlist?list=PL1Y3s09Slq80fjZngwBLa6DEuK-P-p67N",rssUrl:"https://feeds.buzzsprout.com/1246736.rss"},episodes:[{id:"ep-47",number:"Episode 47",title:"The Stories We Tell Ourselves",description:"What happens when the narrative you've built around your life no longer fits? A conversation about identity, reinvention, and the courage to rewrite the story you've been living.",duration:"52 min",date:"September 8, 2026"},{id:"ep-46",number:"Episode 46",title:"On Becoming Someone New",description:"Change is rarely a single moment — it's a slow accumulation of small choices. We explore what it really means to grow, and why it's harder than anyone tells you.",duration:"48 min",date:"September 1, 2026"},{id:"ep-45",number:"Episode 45",title:"The Gift of Uncertainty",description:"We spend so much energy trying to eliminate uncertainty from our lives. But what if not knowing is exactly where the good stuff lives?",duration:"44 min",date:"August 25, 2026"},{id:"ep-44",number:"Episode 44",title:"Grief as a Teacher",description:"Loss reshapes us in ways we don't always choose. A quiet, honest conversation about what grief teaches us about love, time, and what matters most.",duration:"56 min",date:"August 18, 2026"},{id:"ep-43",number:"Episode 43",title:"Finding Your Voice",description:"Whether you're a writer, a parent, or just someone trying to be heard — finding your authentic voice is one of the most important and most difficult things you'll ever do.",duration:"50 min",date:"August 11, 2026"},{id:"ep-42",number:"Episode 42",title:"The Courage to Begin",description:"Starting is the hardest part. We talk about the fear that keeps us from beginning, and the small acts of courage that make all the difference.",duration:"41 min",date:"August 4, 2026"}],subscribe:{heading:"Never Miss an Episode",description:"New conversations every week. Subscribe wherever you listen to podcasts.",spotify:"Spotify",apple:"Apple Podcasts",amazon:"Amazon Music",iheart:"iHeart Radio",youtube:"YouTube",rss:"RSS Feed"}}),work_with_ben:(((Nw=un.pages)==null?void 0:Nw.work_with_ben)??un.work_with_ben??fr).parse({hero:{label:"Work With Ben",heading:"Let's Get Your Book Published",subheading:"Whether you want to learn the system, do it with guid
199ance, or have it done for you — there's a path for every author."},course:{label:"The Course",heading:"The AI-Assisted Self-Publishing Playbook",description:"A step-by-step course that walks you through the exact system Ben used to write, format, and publish on Amazon — using AI tools to do it faster and smarter. Join the community on Skool and get lifetime access to all lessons, resources, and a supportive group of fellow authors.",features:[{id:"f1",text:"Step-by-step video lessons"},{id:"f2",text:"AI writing and formatting tools"},{id:"f3",text:"Private Skool community"},{id:"f4",text:"Lifetime access"}],price:"Now Available",cta:"Join the Course on Skool",ctaUrl:"https://www.skool.com/self-publishing-coach-7612/classroom"},hourly:{label:"Single Session",heading:"1-Hour Coaching Call",description:"Got questions about writing, publishing, or using AI to speed up your process? Book a focused one-hour session with Ben and walk away with a clear plan and actionable next steps.",features:[{id:"h1",text:"One-on-one video call with Ben"},{id:"h2",text:"Your questions answered directly"},{id:"h3",text:"Personalized publishing advice"},{id:"h4",text:"Action plan to move forward"}],originalPrice:"$49",price:"$37",priceNote:"One-time session — no commitment required",cta:"Get Started",ctaUrl:"https://www.paypal.com/ncp/payment/GTPX9F8HCVMLG"},coaching:{label:"Done-With-You",heading:"Personal Coaching Package",description:"Work directly with Ben through the entire self-publishing process. You bring your story — Ben brings the roadmap. Together you'll write, format, and publish your book with hands-on guidance every step of the way.",features:[{id:"c1",text:"One-on-one coaching sessions with Ben"},{id:"c2",text:"Personalized writing and publishing plan"},{id:"c3",text:"AI-assisted writing and formatting support"},{id:"c4",text:"Cover design, metadata, and launch strategy"}],originalPrice:"$997",price:"$497",priceNote:"Pricing subject to change — contact Ben to confirm current rates",cta:"Get Started",ctaUrl:"https://www.paypal.com/ncp/payment/5K64WZ58TLYHQ"},dfy:{label:"Done-For-You",heading:"Full-Service Book Publishing",description:"Hand Ben your ideas and walk away with a finished, published book. Ben uses AI to write your book, creates all the metadata, cover design, and formatting — then publishes it directly to your Amazon KDP account or delivers all the files ready to upload.",features:[{id:"d1",text:"AI-written book based on your story and ideas"},{id:"d2",text:"Professional cover design and formatting"},{id:"d3",text:"Full metadata: title, subtitle, keywords, categories"},{id:"d4",text:"Published to your KDP account or files delivered"}],originalPrice:"$1,997",price:"$1,497",priceNote:"Pricing subject to change — contact Ben to confirm current rates",cta:"Get Started",ctaUrl:"https://www.paypal.com/ncp/payment/FW3SX6TE7EKKU"},cta:{heading:"Not Sure Which Path Is Right for You?",description:"Send Ben a message and he'll help you figure out the best fit for your goals, timeline, and budget.",buttonText:"Contact Ben",buttonUrl:"/contact"}}),writing_resources:(((Cw=un.pages)==null?void 0:Cw.writing_resources)??un.writing_resources??fr).parse({hero:{eyebrow:"From Ben's desk",title:"Writing Resources",subtitle:"The tools Ben uses and recommends for writing, publishing, and getting your book into the world."},video:{eyebrow:"See it in action",title:"Watch Ben Write and Transcribe",description:"Watch Ben Povlow record and then transcribe a portion of his first book — a behind-the-scenes look at his real writing process.",youtubeId:"P4pEx9T7_30"},course:{eyebrow:"The Course",title:"The AI-Assisted Self-Publishing Playbook",description:"Master self-publishing by watching over Ben Povlow's shoulder in recorded screen-share videos as he takes every single step to publish a book on Amazon KDP. Follow along step-by-step as Ben demonstrates how to co-author with AI, self-edit, format manuscripts in Word and Atticus, build wraparound covers in Canva, assign Bowker ISBNs, optimize SEO metadata, and hit publish! This practical video series takes away all the technical guesswork so you can release your book with total confidence.",cta:"Join the Course on Skool",url:"https://www.skool.com/self-publishing-coach-7612/classroom"},tools:[{id:"isbn",imageSlot:"/airo-assets/images/pages/writing-resources/isbn-bowker",category:"Publishing",name:"Purchase Your ISBN Numbers",description:"Buy your ISBN numbers from Bowker — the only official ISBN agency in the U.S.A. Every book needs one to be sold through major retailers.",cta:"Get Your ISBNs",url:"https://www.myidentifiers.com/",affiliate:!0},{id:"barcodes",imageSlot:"/airo-assets/images/pages/writing-resources/barcodes-bookow",category:"Publishing",name:"Free Barcodes with Bookow",description:"Bookow is a free tool for generating ISBN-13 barcodes, hyphenating ISBNs, calculating KDP cover sizes, and creating cover templates — everything you need for print-ready files.",cta:"Get Free Barcodes",url:"https://bookow.com/",affiliate:!1},{id:"copyright",imageSlot:"/airo-assets/images/pages/writing-resources/copyright-eco",category:"Legal",n
199ame:"Copyright Your Work",description:"Register your copyright with the U.S. Copyright Office's Electronic Copyright Office (eCO) system. Protect your intellectual property before you publish.",cta:"Register Your Copyright",url:"https://eservice.eco.loc.gov/eService_enu/start.swe?SWECmd=Login&SWECM=S&SRN=&SWEHo=eco.copyright.gov",affiliate:!1},{id:"covers",imageSlot:"/airo-assets/images/pages/writing-resources/book-covers-100covers",category:"Design",name:"Book Cover Design",description:"High-quality, professional book covers for only $100. A great cover is one of the most important investments you can make in your book's success.",cta:"Design Your Cover",url:"https://100covers.com/",affiliate:!0},{id:"formatting",imageSlot:"/airo-assets/images/pages/writing-resources/formatting-atticus",category:"Writing",name:"Format Your Book with Atticus",description:"Write and format stunning print books and eBooks easily with Atticus — the all-in-one book writing and formatting software Ben recommends.",cta:"Try Atticus",url:"https://www.atticus.io/",affiliate:!0},{id:"grammarly",imageSlot:"/airo-assets/images/pages/writing-resources/editing-grammarly",category:"Writing",name:"Edit with Grammarly",description:"Grammarly is the #1 writing tool for catching grammar, spelling, and style issues. Ben uses it to polish every manuscript before publishing.",cta:"Try Grammarly",url:"https://www.grammarly.com/",affiliate:!0},{id:"plottr",imageSlot:"/airo-assets/images/pages/writing-resources/plotting-plottr",category:"Planning",name:"Plot Your Book with Plottr",description:"Plottr is a visual book planning and outlining tool. Map out your story scene by scene, track characters and timelines, and organize your entire series — before you write a single word.",cta:"Try Plottr",url:"https://plottr.com/?ref=94",affiliate:!0},{id:"sudowrite",imageSlot:"/airo-assets/images/pages/writing-resources/ai-writing-sudowrite",category:"Writing",name:"AI-Powered Writing with Sudowrite",description:"Sudowrite is AI-powered writing software built specifically for authors. Use it to brainstorm ideas, overcome writer's block, rewrite scenes, and accelerate your first draft.",cta:"Try Sudowrite",url:"https://sudowrite.com/?via=6a8901",affiliate:!0},{id:"microsoft365",imageSlot:"/airo-assets/images/pages/writing-resources/microsoft-365",category:"Writing",name:"Microsoft 365",description:"Microsoft Word remains the industry standard for writing and editing manuscripts. Microsoft 365 gives you Word, plus cloud storage and collaboration tools every author needs.",cta:"Get Microsoft 365",url:"https://www.microsoft.com/en-us/microsoft-365/buy/compare-all-microsoft-365-products",affiliate:!1},{id:"bookfunnel",imageSlot:"/airo-assets/images/pages/writing-resources/delivery-bookfunnel",category:"Distribution",name:"Deliver Books with BookFunnel",description:"BookFunnel makes it easy to deliver eBooks and audiobooks directly to your readers. Perfect for reader magnets, ARC distribution, and direct sales — no tech headaches.",cta:"Try BookFunnel",url:"https://bookfunnel.com/",affiliate:!1},{id:"godaddy",imageSlot:"/airo-assets/images/pages/writing-resources/hosting-godaddy",category:"Website",name:"Build Your Author Website with GoDaddy",description:"Every author needs a home on the web. GoDaddy makes it easy to get your domain, build your site, and establish your author brand online — just like this one.",cta:"Get Started with GoDaddy",url:"https://www.godaddy.com/",affiliate:!1},{id:"fiverr",imageSlot:"/airo-assets/images/pages/writing-resources/freelance-fiverr",category:"Services",name:"Freelance Services on Fiverr",description:"Find talented freelancers for editing, formatting, cover design, marketing, and more. Fiverr connects you with professionals who can help bring your book to life.",cta:"Find a Freelancer",url:"https://www.fiverr.com/?show_join=true&utm_medium=shared&utm_source=get_url&utm_campaign=referral_program_show&utm_term=5XqVGb",affiliate:!0},{id:"aweber",imageSlot:"/airo-assets/images/pages/writing-resources/email-aweber",category:"Email Marketing",name:"AWeber — Email Marketing for Authors",description:"AWeber is the email marketing platform Ben uses to stay connected with his readers. Build your list, send automated welcome sequences, and grow your author brand with tools designed for creators — including AI-assisted email writing and custom sign-up forms.",cta:"Try AWeber Free",url:"https://www.aweber.com/?292312",affiliate:!0}
199],publishing:{eyebrow:"Where to publish",title:"Self-Publishing Platforms",subtitle:"Ben has published across all major platforms. Here are the ones he recommends for getting your book in front of readers worldwide.",platforms:[{id:"draft2digital",imageSlot:"/airo-assets/images/pages/writing-resources/publishing-draft2digital",name:"Draft2Digital",description:"The easiest way to publish and distribute your eBook to dozens of retailers worldwide — including Apple Books, Barnes & Noble, Kobo, and more — all from one place.",cta:"Publish with D2D",url:"https://draft2digital.com/",affiliate:!1},{id:"ingramspark",imageSlot:"/airo-assets/images/pages/writing-resources/publishing-ingramspark",name:"IngramSpark",description:"The gold standard for print-on-demand and global book distribution. Get your paperback and hardcover into bookstores and libraries worldwide.",cta:"Publish with IngramSpark",url:"https://www.ingramspark.com/",affiliate:!1},{id:"kdp",imageSlot:"/airo-assets/images/pages/writing-resources/publishing-kdp",name:"Kindle Direct Publishing",description:"Amazon's self-publishing platform for eBooks and paperbacks. Reach millions of Kindle readers and earn up to 70% royalties on your sales.",cta:"Publish on Amazon KDP",url:"https://kdp.amazon.com/en_US/",affiliate:!1},{id:"kobo",imageSlot:"/airo-assets/images/pages/writing-resources/publishing-kobo",name:"Kobo Writing Life",description:"Publish directly to Kobo's global eBook store and reach readers in over 190 countries. Strong international reach, especially in Canada and Europe.",cta:"Publish on Kobo",url:"https://www.kobo.com/us/en/p/writinglife",affiliate:!1},{id:"apple",imageSlot:"/airo-assets/images/pages/writing-resources/publishing-apple",name:"Apple Books for Authors",description:"Publish your eBook and audiobook directly to Apple Books and reach millions of readers on iPhone, iPad, and Mac. Free to publish, no subscription required.",cta:"Publish on Apple Books",url:"https://authors.apple.com/",affiliate:!1},{id:"bnpress",imageSlot:"/airo-assets/images/pages/writing-resources/publishing-bnpress",name:"Barnes & Noble Press",description:"Publish your print book or eBook directly with Barnes & Noble and reach one of the largest bookseller audiences in the United States.",cta:"Publish with B&N Press",url:"https://press.barnesandnoble.com/",affiliate:!1},{id:"googleplay",imageSlot:"/airo-assets/images/pages/writing-resources/publishing-googleplay",name:"Google Play Books",description:"Sell your eBook on Google Play and reach Android users and Google account holders worldwide. Simple setup, competitive royalties.",cta:"Publish on Google Play",url:"https://play.google.com/books/publish/",affiliate:!1},{id:"publishdrive",imageSlot:"/airo-assets/images/pages/writing-resources/publishing-publishdrive",name:"PublishDrive",description:"Distribute your eBook to 400+ stores and libraries worldwide, including Spotify, Scribd, and OverDrive. Ben's affiliate link gives you a head start.",cta:"Publish with PublishDrive",url:"https://account.publishdrive.com/login?distrib=registration%2Faff%2Fbenjaminpovlow",affiliate:!0},{id:"smashwords",imageSlot:"/airo-assets/images/pages/writing-resources/publishing-smashwords",name:"Smashwords",description:"One of the original indie publishing platforms. Distribute your eBook to major retailers and library platforms with full author control over pricing and rights.",cta:"Publish on Smashwords",url:"https://www.smashwords.com/?ref=bpovlow",affiliate:!0}],audiobooks:{eyebrow:"Audiobook publishing",title:"Publish Your Audiobook",platforms:[{id:"findaway",imageSlot:"/airo-assets/images/pages/writing-resources/audiobook-findaway",name:"Findaway Voices",description:"The leading audiobook distribution platform. Distribute your audiobook to Audible, Apple Books, Spotify, and 40+ other retailers and library platforms.",cta:"Publish Your Audiobook",url:"https://www.voicesbyinaudio.com/",affiliate:!1}]}},seo:{title:"Writing Resources — Ben Povlow",description:"Tools Ben Povlow uses and recommends for writing, self-publishing, and getting your book into the world — ISBNs, barcodes, cover design, formatting, and more."}})};var Rw;const mf={blog:(((Rw=un.data)==null?void 0:Rw.blog)??un.blog??fr).parse([{slug:"self-defeating-behaviors",id:"blog-post-self-defeating-behaviors",title:"Self
199-Defeating Behaviors",excerpt:"Why do we self-sabotage? When we know what's right, why do we choose the opposite? Fear often plays an underlying role — and sometimes we know exactly what we're doing and continue anyway.",author:"Ben Povlow",publishedAt:"2026-09-23T18:00:00Z",category:"Personal Growth",tags:["self-defeating behaviors","self-sabotage","personal growth","habits","mindset","ego"],featuredImage:"/airo-assets/images/blog/self-defeating-behaviors",seoTitle:"Self-Defeating Behaviors | Ben Povlow",seoDescription:"Why do we self-sabotage? Ben Povlow explores the ego's role in self-defeating choices, breaking free from autopilot, and taking control of your growth.",published:!0,content:`Why do we self-sabotage? When we know what's right, why do we choose the opposite? Self-defeating behavior happens in all areas of our lives. Fear often plays an underlying role. Sometimes we do this unconsciously; other times, we know exactly what we're doing and continue anyway.
200
201How many times have you said, "Screw it"? That acknowledgment was your inner voice nudging you toward the correct choice.
202
203## The Influence of the Ego
204
205Whether it's a simple decision or a grand gesture, we always receive the right direction from our internal guidance system. When we know there is a better choice but choose the opposite, we make a self-sabotaging decision. Our ego is usually behind self-defeating choices.
206
207When we choose to drink alcohol instead of the same-tasting non-alcoholic choice, we are declining the inner knowing that a healthier option is available. When we choose to watch the news in place of reading empowering books, we are making a conscious choice.
208
209Of course, everything in moderation. Sometimes any choice can be acceptable. The question we need to ask ourselves is: how bad do we want it? Want what, you ask? To be the best version of yourself, for starters. To become the healthiest version you can be is another common goal we humans strive for. Becoming successful—in wealth, in love, in happiness, and in the other areas we say we desire. If you're reading these words, you desire a great life. If you didn't care, you'd be doing something else right now.
210
211## Paying Attention to the Call
212
213We may not always know exactly what we want, but when something inside us keeps getting our attention, it's best to pay attention. Why do you think those thoughts? Where do they come from? The soul knows.
214
215You feel the call to become healthier, but the tests keep showing up:
216
217- Do you choose pizza over salad?
218- Are you watching TV instead of exercising?
219- Are you working to uncover why depressed feelings continue to overwhelm you, or are you masking them with food, drugs, or alcohol?
220
221Being human is not an easy mission. We have too many choices. This is where our "why" plays a crucial role. Do you want to be better for your family? Are you feeling called to live your life's purpose? Knowing why you want something can be the greatest motivating factor.
222
223## Breaking Free from Autopilot
224
225We humans are born with the free will to choose. If we are unconscious in the decisions we make, life will keep happening to us. If we want life to work for us, we need to be more conscious of the everyday choices we make. We make hundreds of simple decisions every day, even though many of these decisions are the same ones we made yesterday.
226
227Is your life on autopilot? Are you stuck in the familiar? When we get so caught up in routines, there is no room for change or growth. Choosing the familiar option can be self-defeating.
228
229Shake things up by intentionally taking a different route home from work or choosing to eat something new tonight. Decide to disconnect from social media for a week. See how you feel; pay attention to your body. We may have been going through the motions of our routine for so long that we subconsciously become scared of change. We often say we want things to be different, but we never give anything new a chance to take hold. Our habits are so ingrained into our being that we become robotic in our ways. Can you predict what your tomorrow is going to look like? Have you ever been spontaneous? Change is not always easy; I get it.
230
231## The Compounding Effect of Choices
232
233Do you really think that it should take a rock-bottom experience to be the catalyst for the change you want to see in your life? Knowing what would serve you best and then choosing the opposite is a self-sabotaging behavior. Little, simple, mundane choices add up. The compounding effect builds momentum.
234
235Choosing a burger and fries over fish and rice, for example, swings us in an unhealthy direction. Choosing comfort food regularly negatively affects the body. We are all busy. Between our jobs and our family responsibilities, our spare time is a limited resource. When we choose to spend our limited free time on that which doesn't serve us, there is no one to blame when we fall short of our life's goals.
236
237## Taking Control of Your Growth
238
239If you want to become more spiritually enlightened, turn off the radio and listen to an educational podcast. Read an enlightening book rather than watching reality television. If you feel that there is more to life than what your external reality is showing you, you're right. What we see with our eyes is a projection of our internal state.
240
241We have to do the work. Make it your mission to allow new actions into your life. Choose to stop hindering your growth by consciously choosing the more impactful path. Stop blaming others for what you don't have. Stop shooting yourself in the foot with self-defeating behaviors.
242
243You know the healthier choices. Inside, you know what decision will serve your growth; choose it. Own it. Take control. Cut out the things holding you back. We can change our behaviors at any time. Don't wait for external circumstances to change. You have the power within you to create the reality of your dreams. Why wait? Shift the little things, and big things can happen. Believe in yourself. The choices are yours to make. You control your behaviors.`},{slug:"spiritual-goals",id:"blog-post-spiritual-goals",title:"Spiritual Goals",excerpt:"What do spiritual goals look like? It's your mind's eye that has the power to reveal the amazing transformation. You have the power to create your reality.",author:"Ben Povlow",publishedAt:"2026-09-18T06:00:00Z",category:"Spirituality",tags:["spiritual goals","spirituality","personal growth","awakening","mindfulness"],featuredImage:"/airo-assets/images/blog/spiritual-goals",seoTitle:"Spiritual Goals | Ben Povlow",seoDescription:"What do spiritual goals look like? Ben Povlow explores how to attract love, build belief, awaken your inner potential, and connect with your source of inspiration.",published:!0,content:`What do spiritual goals look like? As with all things in the spirit realm, the human eye is not required. It's your mind's eye that has the power to reveal the amazing transformation. It's the imagination where all of creation begins. You have the power to create your reality. Ask yourself, what do you want your outer world to look like?
244
245## The Outer Begins Within
246
247The outer begins within. Maybe a spiritual goal could be to attract more love into your life. Love is the foundation of all because we are loved. Once you recognize your true nature and become more of what you are, the masks begin to fall, revealing what your reality truly looks like.
248
249Attracting abundance can be a spiritual goal—not necessarily money, but an abundance of love, joy, happiness, peace, and harmony. These are not physical; you may not be able to hold them in your hand, but you can feel them in your heart. You can turn the non-physical into physical with your expression. The transference of your radiant energy can physically appear in the form of a smile, a laugh, or a fluttering heartbeat.
250
251## Building Your Belief and Awakening Within
252
253Compassion flows from your heart when you are living in-spirit. Acknowledging that spark of the divine in your chest is a goal worth seeking that will build your belief. Make it a goal.
254
255There are many ways to build your belief:
256
257- Watch documentaries
258- Read the science behind the power of the heart
259- Seek to understand that we are spiritual beings first, having the human experience so we can see ourselves physically
260
261The spirit realm is all energy. Everything we see physically is energy. Seek to find proof in the ordinary. Think about the unexplainable events that have occurred in your life. Do you want more supernatural events to occur? Developing your natural abilities is a worthwhile goal. Discovery can be a target. Awakening the dormant forces within yourself is worth striving toward. Having a goal to discover your life's purpose is spiritual. Becoming the true version of yourself and shedding the masks can be a goal. Developing the courage to stop hiding your gifts should go near the top of your list. How can you be more creative? There's a list right there.
262
263## The Path of the Seeker
264
265These are goals. The recognition of wanting more, the desire to feel authentic, and the urge to pursue your deepest desires all come from the divine intelligence that created you, us, and all there is. Seeking is a God-given gift that many are refusing to accept. Not seeking means you already found, or you don't wish to know more.
266
267The seeker's goals reveal themselves with each step. Taking the next step is a goal. Many are moving backward. Your desire to develop your intuition and sharpen your discernment is a target worth aiming for. Acknowledging that your heart leads more effectively than your mind may not feel natural, but with practice, you can get there. Heart-brain coherence can reveal what the body is capable of. Seek to feel calm, loving, compassionate, and peaceful. These feelings are being masked by fear, judgment, and regret.
268
269Seek to change the way you see yourself and the world around you. Set a goal to experience oneness. Work toward feeling fulfilled by surrendering to all that is. Your divine nature is to just be. Slow down and see the extraordinary in the ordinary.
270
271## Connecting With Your Source
272
273Develop a daily practice of connecting with your source of inspiration. Make time to get quiet and go within. Answers to your deepest questions reveal themselves in the void—the space between your thoughts.
274
275Having a quiet mind is a worthwhile spiritual goal. Wanting more means doing less. Desiring peace, joy, and love requires shedding false identities. Authenticity is a rare commodity. Shoot for removing one mask at a time. Take off the armor. Allow yourself to be real—to not impress, but to be impressed.
276
277## Embracing Infinite Possibility
278
279The wonder of possibility can serve as a destination that never stops giving. All things are possible in the world of spirit. "All" leaves nothing out. Whatever you seek to have in your reality begins in your heart, then radiates through your thoughts.
280
281What are you emitting? Changing the way you think can be a challenge because of old programming. Aim for new thoughts about who you really are and what you are capable of. Developing your spiritual nature is a journey worth taking. Make it a priority and watch your outer world transform.`}
281,{slug:"waking-up-in-handcuffs-announcement",id:"blog-post-m4x9r2kw7tnq",title:"Why I Wrote Waking Up in Handcuffs",excerpt:"I never planned to write about drugs, alcohol, and trouble. Then the Universe had other ideas — and this book came out of a single night of raw, unfiltered truth.",author:"Ben Povlow",publishedAt:"2026-09-13T20:00:00Z",category:"Personal Growth",tags:["memoir","sobriety","spiritual awakening","recovery","waking up in handcuffs"],featuredImage:"/airo-assets/images/blog/waking-up-in-handcuffs-announcement",seoTitle:"Why I Wrote Waking Up in Handcuffs | Ben Povlow",seoDescription:"Ben Povlow shares the story behind his memoir Waking Up in Handcuffs — a raw, honest account of drugs, alcohol, and the spiritual journey that followed.",published:!0,content:`I never planned to be a spokesperson for sobriety. That was never the vision.
282
283My plan was to write about spirituality, personal growth, and awakening — the kind of content I cover in *You Must Be Present to Win*. But the Universe, as it tends to do, had a different idea. And I've learned to follow where it leads.
284
285*Waking Up in Handcuffs: Drugs. Alcohol. Trouble. Repeat.* is now available, and I want to tell you the story behind it — because the story of how this book came to be is almost as strange as the stories inside it.
286
287## It Started in a Meditation Four Years Ago
288
289During my first Dark Night of the Soul, I was separated from my wife, going through one of the hardest stretches of my life. In the middle of a meditation, an idea came to me — not a gentle nudge, but a full download. I grabbed a digital voice recorder and spent an entire night spilling my guts.
290
291I told stories I had never told anyone. Ridiculous alcohol use. Riding my motorcycle while intoxicated. One bad decision after another, stretching from age 15 all the way into my 40s. I admitted to all kinds of destructive behavior in raw, unfiltered detail.
292
293Then I put the recorder away and decided no one would ever hear it.
294
295## Four Years of Silence
296
297The first draft was dictated in one night four years ago. Ten months ago, I had reviewed the original manuscript and convinced myself there was still no way I could let anyone read it. It basically makes me look like a fool — and I knew that going in.
298
299Then, during a recent morning meditation, the whole thing came back to me. Not as a vague memory, but as a sudden knowing of exactly how to finish it.
300
301I realized I could take the stories I hadn't used in *You Must Be Present to Win* — including my Dark Night of the Soul experience and my Twin Flame story — and weave them together with those original recordings. I added what I call "flashbacks": current-day reflections that give context to the raw moments from four years ago.
302
303What emerged is something I didn't expect: a book that is both a memoir and a self-help guide.
304
305## Why I'm Sharing Stories I Wasn't Sure I Wanted to Tell
306
307When I learned about Human Design and Gene Keys, I came to understand that my life's work is rooted in my core wounds.
308
309My first book, *Self-Help for At-Risk Teens*, came from the trauma of losing both parents at a young age. That was the wound I knew about. What I didn't fully see until writing this book is that losing my parents young set off a chain reaction — and substance use was a direct response to that early childhood trauma.
310
311From age 15 into my 40s, drugs and alcohol were a constant thread running through my life. They caused a lot of unfortunate experiences, to put it mildly.
312
313What I've had to accept is that I can't help people with the parts of my story I'm willing to hide. If I've struggled with something and found a way through it, and I stay silent about it, I'm leaving people behind who needed to hear it.
314
315I'm not proud of every story in this book. But if even one person reads it and avoids a path I went down — or finds the courage to get sober — then putting myself out there was worth it.
316
317## This Book Is for You If...
318
319You've used substances to cope with pain you didn't know how to face. You've made decisions you're not proud of and wondered if you're beyond help. You've felt the pull toward a better version of yourself but couldn't figure out how to get there.
320
321*Waking Up in Handcuffs* doesn't offer a tidy recovery story. It offers honesty — the kind that's hard to find and harder to write. My hope is that seeing someone else's mess laid out plainly makes your own feel a little less impossible.
322
323## The Book Is Available Now
324
325*Waking Up in Handcuffs: Drugs. Alcohol. Trouble. Repeat.* is available now. You can grab your copy here:
326
327**[Get Waking Up in Handcuffs →](https://mybook.to/9Vz09Nt)**
328
329If you've been following the podcast, you know this book has been a long time coming. Thank you for being patient, and thank you for being on this journey with me.
330
331More episodes are coming — including a full series based on *You Must Be Present to Win*, one chapter at a time. Subscribe so you don't miss them.
332
333And as always — have a great, sober day.`}])},ta=di.about,XE=di.blog_page,Ls=di.books,ei=di.contact,Yi=di.free_audiobook,Lt=di.home,Nn=di.podcast,at=di.work_with_ben,St=di.writing_resources,nM=mf.blog,ac="https://benpovlow.com",QE=`${ac}/og-image.jpg`,aM=AR({siteUrl:ac,organizationName:"Ben Povlow",businessType:"Person",logo:`${ac}/airo-assets/images/logo/horizontal`,datePublished:"2026-09-12",dateModified:"2026-09-12"});function rM({containerId:e}){return D.useEffect(()=>{const t=document.createElement("script");return t.src=`https://www.buzzsprout.com/1246736.js?container_id=${e}&player=large`,t.async=!0,t.charset="utf-8",document.body.appendChild(t),()=>{document.body.contains(t)&&document.body.removeChild(t)}},[e]),null}const At={hidden:{opacity:0,y:28},visible:{opacity:1,y:0,transition:{duration:.7,ease:"easeOut"}}},hr={hidden:{},visible:{transition:{staggerChildren:.15}}};function iM(){const e=D.useRef(null);return D.useEffect(()=>{const t=document.getElementById("aweber-wjs-ouvlt3e1q");t&&t.remove();const n=document.createElement("script");return n.id="aweber-wjs-ouvlt3e1q",n.src="https://forms.aweber.com/form/22/593242822.js",n.async=!0,document.body.appendChild(n),()=>{const r=document.getElementById("aweber-wjs-ouvlt3e1q");r&&r.remove()}},[]),m.jsx("section",{className:"py-14 md:py-20 px-6",style:{background:"hsl(var(--muted) / 0.4)"},children:m.jsxs($.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},variants:hr,className:"max-w-5xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-10 md:gap-16 items-center",children:[m.jsxs($.div,{variants:At,className:"flex flex-col items-center md:items-start text-center md:text-left",children:[m.jsx("img",{src:"/airo-assets/images/pages/home/aweber-audiobook-cover",alt:"Self-Help for At-Risk Teens audiobook by Ben Povlow",width:220,height:340,loading:"lazy",className:"w-44 md:w-56 h-auto object-contain mb-6 drop-shadow-lg"}),m.jsx("h3",{className:"text-xl md:text-2xl font-bold mb-3",style:{fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:"Self-Help for At-Risk Teens"}),m.jsx("p",{className:"text-sm leading-relaxed mb-3",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:"Written from the perspective of someone who has been there. Through his words, the hard lessons he learned from watching his life spiral out of control, and with a no-nonsense approach, you will learn how to overcome the odds and live the life you were always meant to live."}),m.jsx("p",{className:"text-sm leading-relaxed",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:"Follow Ben's story as he navigates a life that began under unfortunate circumstances — a stint in a juvenile program, solace found in all the wrong places — until he discovered who he was truly meant to be."})]}),m.jsxs($.div,{variants:At,className:"flex flex-col items-center md:items-start text-center md:text-left",children:[m.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase mb-3",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:"Free Gift"}),m.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-3",style:{fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:"Get Updates from Ben"}),m.jsxs("p",{className:"text-sm mb-6",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:["Sign up and instantly receive ",m.jsx("em",{children:"Self-Help for At-Risk Teens"})," as a free audiobook — read by Ben himself."]}),m.jsx("div",{className:"w-full",ref:e,children:m.jsx("div",{className:"AW-Form-593242822"})})]})]})})}function sM(){const[e,t]=D.useState(!1),[n,r]=D.useState(!1),s=D.useRef(null);return D.useEffect(()=>{if(!e)return;const l=document.createElement("script");return l.src="https://player.vimeo.com/api/player.js",l.async=!0,document.body.appendChild(l),()=>{document.body.removeChild(l)}},[e]),D.useEffect(()=>{const l=s.current;if(!l)return;
333const u=new IntersectionObserver(([d])=>{d.isIntersecting&&(r(!0),u.disconnect())},{rootMargin:"200px"});return u.observe(l),()=>u.disconnect()},[]),m.jsxs(m.Fragment,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:"Ben Povlow — Author, Storyteller, Guide"}),m.jsx("meta",{name:"description",content:"Ben Povlow is an author of self-help and fiction books and host of the Raising Yourself Up podcast. Stories that challenge how you see the world — and yourself."}),m.jsx("link",{rel:"canonical",href:`${ac}/`}),m.jsx("meta",{property:"og:title",content:"Ben Povlow — Author, Storyteller, Guide"}),m.jsx("meta",{property:"og:description",content:"Stories that challenge how you see the world — and yourself."}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:url",content:`${ac}/`}),m.jsx("meta",{property:"og:image",content:QE}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:image",content:QE}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify(aM).replace(/</g,"\\u003c")})]}),m.jsxs("main",{children:[m.jsxs("section",{className:"relative overflow-hidden",style:{background:"hsl(var(--background))"},children:[m.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"radial-gradient(ellipse 80% 60% at 70% 50%, hsl(var(--muted) / 0.35) 0%, transparent 70%)"},"aria-hidden":"true"}),m.jsxs("div",{className:"relative max-w-6xl mx-auto px-6 py-20 md:py-28 lg:py-36 grid grid-cols-1 md:grid-cols-2 gap-12 md:gap-16 items-center",children:[m.jsxs($.div,{variants:hr,initial:"hidden",animate:"visible",className:"flex flex-col gap-6",children:[m.jsx($.p,{variants:At,className:"text-sm font-semibold tracking-widest uppercase",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"a3d8ca",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.hero.descriptor",contentKeyTemplate:null,expressionHash:null},children:Lt.hero.descriptor})}),m.jsx($.h1,{variants:At,className:"text-5xl md:text-6xl lg:text-7xl font-bold leading-tight",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"1ac913",guard:{file:"src/pages/index.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"home.hero.name",contentKeyTemplate:null,expressionHash:null},children:Lt.hero.name})}),m.jsx($.p,{variants:At,className:"text-sm md:text-base font-medium tracking-wide",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"a3d8cb",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.hero.company",contentKeyTemplate:null,expressionHash:null},children:Lt.hero.company})}),m.jsx($.p,{variants:At,className:"text-lg md:text-xl leading-relaxed max-w-md",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"a3d8cc",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.hero.tagline",contentKeyTemplate:null,expressionHash:null},children:Lt.hero.tagline})}),m.jsx($.div,{variants:At,className:"flex flex-wrap gap-4 pt-2",children:m.jsx(hn,{to:"/books",className:"inline-flex items-center px-7 py-3 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90 hover:-translate-y-0.5",style:{background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:Lt.hero.ctaBooks})})]}),m.jsx($.div,{initial:{opacity:0,scale:.97},animate:{opacity:1,scale:1},transition:{duration:.9,ease:"easeOut",delay:.2},className:"relative flex justify-center md:justify-end",children:m.jsxs("div",{className:"relative w-full max-w-lg rounded-sm overflow-hidden shadow-2xl",style:{boxShadow:"8px 12px 40px hsl(var(--primary) / 0.2)",paddingTop:"56.25%"},children:[e?m.jsx("iframe",{src:"https://player.vimeo.com/video/1226396204?badge=0&autopause=0&autoplay=1&player_id=0&app_id=58479",frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media;
333 web-share",referrerPolicy:"strict-origin-when-cross-origin",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},title:"Ben Povlow — Author Introduction"}):m.jsxs("button",{onClick:()=>t(!0),"aria-label":"Play Ben Povlow introduction video",className:"absolute inset-0 w-full h-full group focus:outline-none focus-visible:ring-2 focus-visible:ring-primary",style:{background:"hsl(var(--primary) / 0.92)"},children:[m.jsx("img",{src:"https://vumbnail.com/1226396204.jpg",alt:"Ben Povlow introduction video thumbnail",className:"absolute inset-0 w-full h-full object-cover",loading:"eager",fetchPriority:"low",width:640,height:360}),m.jsx("span",{className:"absolute inset-0 flex items-center justify-center pointer-events-none","aria-hidden":"true",children:m.jsx("span",{className:"flex items-center justify-center rounded-full w-16 h-16 md:w-20 md:h-20 transition-transform duration-200 group-hover:scale-110",style:{background:"hsl(var(--background) / 0.92)"},children:m.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"w-7 h-7 md:w-9 md:h-9 ml-1",style:{color:"hsl(var(--primary))"},children:m.jsx("path",{d:"M8 5v14l11-7z"})})})}),m.jsx("span",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(to top, hsl(var(--primary) / 0.18) 0%, transparent 50%)"}})]}),e&&m.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(to top, hsl(var(--primary) / 0.08) 0%, transparent 40%)"},"aria-hidden":"true"})]})})]})]}),m.jsx(iM,{}),m.jsx("section",{className:"py-20 md:py-28",style:{background:"hsl(var(--muted) / 0.25)"},children:m.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[m.jsxs($.div,{variants:hr,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-80px"},className:"mb-14",children:[m.jsx($.p,{variants:At,className:"text-xs font-semibold tracking-widest uppercase mb-3",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"50558a",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.books.sectionLabel",contentKeyTemplate:null,expressionHash:null},children:Lt.books.sectionLabel})}),m.jsx($.h2,{variants:At,className:"text-3xl md:text-4xl font-bold",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"56e214",guard:{file:"src/pages/index.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"home.books.heading",contentKeyTemplate:null,expressionHash:null},children:Lt.books.heading})})]}),m.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 md:gap-16 lg:gap-24",children:[m.jsxs($.div,{variants:hr,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},className:"flex flex-col sm:flex-row gap-8 items-start",children:[m.jsx($.div,{variants:At,whileHover:{scale:1.03,y:-4},transition:{duration:.25},className:"shrink-0 w-36 sm:w-44 shadow-xl rounded-sm overflow-hidden",style:{boxShadow:"4px 8px 24px hsl(var(--primary) / 0.18)"},children:m.jsx("img",{src:"/airo-assets/images/pages/home/book-fiction",alt:Lt.books.fiction.title,className:"w-full aspect-[2/3] object-cover",loading:"eager",fetchPriority:"high",width:176,height:264})}),m.jsxs($.div,{variants:hr,className:"flex flex-col gap-3 pt-1",children:[m.jsx($.p,{variants:At,className:"text-xs font-semibold tracking-widest uppercase",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"a63b77",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.books.fiction.label",contentKeyTemplate:null,expressionHash:null},children:Lt.books.fiction.label})}),m.jsx($.h3,{variants:At,className:"text-xl md:text-2xl font-bold leading-snug",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"6989e2",guard:{file:"src/pages/index.tsx",tagName:"h3",sourceKind:"content-key",contentKey:"home.books.fiction.title",contentKeyTemplate:null,expressionHash:null},children:Lt.books.fiction.title})}),m.jsx($.p,{variants:At,className:"text-sm leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"a63b78",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.books.fiction.description",contentKeyTemplate:null,expressionH
333ash:null},children:Lt.books.fiction.description})}),m.jsx($.div,{variants:At,children:m.jsxs("a",{href:Lt.books.fiction.buyUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm font-semibold group transition-colors duration-200",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:[Lt.books.fiction.cta,m.jsx("span",{className:"transition-transform duration-200 group-hover:translate-x-1",children:"→"})]})})]})]}),m.jsxs($.div,{variants:hr,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},className:"flex flex-col sm:flex-row gap-8 items-start",children:[m.jsx($.div,{variants:At,whileHover:{scale:1.03,y:-4},transition:{duration:.25},className:"shrink-0 w-36 sm:w-44 shadow-xl rounded-sm overflow-hidden",style:{boxShadow:"4px 8px 24px hsl(var(--primary) / 0.18)"},children:m.jsx("img",{src:"/airo-assets/images/pages/home/book-selfhelp",alt:Lt.books.selfhelp.title,className:"w-full aspect-[2/3] object-cover",loading:"eager",fetchPriority:"high",width:176,height:264})}),m.jsxs($.div,{variants:hr,className:"flex flex-col gap-3 pt-1",children:[m.jsx($.p,{variants:At,className:"text-xs font-semibold tracking-widest uppercase",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"be8e78",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.books.selfhelp.label",contentKeyTemplate:null,expressionHash:null},children:Lt.books.selfhelp.label})}),m.jsx($.h3,{variants:At,className:"text-xl md:text-2xl font-bold leading-snug",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"8c3d03",guard:{file:"src/pages/index.tsx",tagName:"h3",sourceKind:"content-key",contentKey:"home.books.selfhelp.title",contentKeyTemplate:null,expressionHash:null},children:Lt.books.selfhelp.title})}),m.jsx($.p,{variants:At,className:"text-sm leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"be8e79",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.books.selfhelp.description",contentKeyTemplate:null,expressionHash:null},children:Lt.books.selfhelp.description})}),m.jsx($.div,{variants:At,children:m.jsxs("a",{href:Lt.books.selfhelp.buyUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm font-semibold group transition-colors duration-200",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:[Lt.books.selfhelp.cta,m.jsx("span",{className:"transition-transform duration-200 group-hover:translate-x-1",children:"→"})]})})]})]})]})]})}),m.jsx("section",{className:"py-14 md:py-20 px-6",style:{background:"hsl(var(--background))"},children:m.jsxs($.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},variants:At,className:"max-w-3xl mx-auto rounded-sm border px-8 py-10 md:px-14 md:py-12 flex flex-col md:flex-row gap-8 items-center text-center md:text-left",style:{borderColor:"hsl(var(--primary) / 0.25)",background:"hsl(var(--muted) / 0.35)",boxShadow:"0 4px 24px hsl(var(--primary) / 0.08)"},children:[m.jsx("div",{className:"shrink-0 flex items-center justify-center",style:{width:200,maxWidth:200},children:m.jsx("img",{src:"/airo-assets/images/pages/home/ebook-bundle",alt:"The Spiritual Awakening eBook Bundle — Waking Up in Handcuffs and You Must Be Present to Win",className:"rounded-sm shadow-lg object-contain w-full h-auto",loading:"lazy",width:200,height:260})}),m.jsxs("div",{className:"flex flex-col gap-3 flex-1",children:[m.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:"Website Special"}),m.jsx("h2",{className:"text-2xl md:text-3xl font-bold leading-snug",style:{fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:"The Spiritual Awakening eBook Bundle"}),m.jsxs("p",{className:"text-sm leading-relaxed max-w-md",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"}
333,children:["Get two eBooks — ",m.jsx("em",{children:"You Must Be Present to Win"})," and ",m.jsx("em",{children:"Waking Up in Handcuffs"})," — together for one low price. A limited offer for visitors to this site."]})]}),m.jsx("div",{className:"shrink-0",children:m.jsx("a",{href:"https://www.paypal.com/ncp/payment/7GJ6CG6EGA9P2",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-8 py-3 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90 hover:-translate-y-0.5 whitespace-nowrap",style:{background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:"Get the Bundle — $2.22"})})]})}),m.jsxs("section",{className:"relative overflow-hidden py-20 md:py-28",ref:s,children:[m.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"hsl(var(--primary))"},"aria-hidden":"true"}),m.jsx("img",{src:"/airo-assets/images/pages/home/podcast-atmosphere",alt:"","aria-hidden":"true",className:"absolute inset-0 w-full h-full object-cover pointer-events-none",style:{opacity:.12},loading:"lazy",width:1200,height:600}),m.jsx("div",{className:"relative max-w-4xl mx-auto px-6",children:m.jsxs($.div,{variants:hr,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-80px"},className:"flex flex-col gap-6",children:[m.jsx($.p,{variants:At,className:"text-xs font-semibold tracking-widest uppercase",style:{whiteSpace:"pre-line",color:"hsl(var(--primary-foreground) / 0.6)",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"f2480d",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.podcast.sectionLabel",contentKeyTemplate:null,expressionHash:null},children:Lt.podcast.sectionLabel})}),m.jsx($.h2,{variants:At,className:"text-3xl md:text-5xl font-bold leading-tight",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--primary-foreground))"},children:m.jsx(oe,{devId:"3724f7",guard:{file:"src/pages/index.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"home.podcast.title",contentKeyTemplate:null,expressionHash:null},children:Lt.podcast.title})}),m.jsx($.p,{variants:At,className:"text-base md:text-lg leading-relaxed max-w-2xl",style:{whiteSpace:"pre-line",color:"hsl(var(--primary-foreground) / 0.75)",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"f2480e",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.podcast.description",contentKeyTemplate:null,expressionHash:null},children:Lt.podcast.description})}),m.jsxs($.div,{variants:At,className:"w-full mt-2",children:[m.jsx("div",{id:"buzzsprout-large-player-home"}),n&&m.jsx(rM,{containerId:"buzzsprout-large-player-home"})]})]})})]}),m.jsx("section",{className:"py-20 md:py-28",style:{background:"hsl(var(--background))"},children:m.jsx("div",{className:"max-w-6xl mx-auto px-6",children:m.jsxs($.div,{variants:hr,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-80px"},className:"grid grid-cols-1 md:grid-cols-2 gap-12 md:gap-20 items-center",children:[m.jsxs($.div,{variants:At,className:"relative",children:[m.jsx("div",{className:"w-full max-w-sm mx-auto md:mx-0 aspect-[4/5] rounded-sm overflow-hidden shadow-xl",style:{boxShadow:"6px 10px 32px hsl(var(--primary) / 0.15)"},children:m.jsx("img",{src:"/airo-assets/images/pages/home/author-portrait",alt:"Ben Povlow",className:"w-full h-full object-cover",loading:"lazy",width:600,height:600})}),m.jsx("div",{className:"absolute -left-4 top-8 bottom-8 w-0.5 hidden md:block",style:{background:"hsl(var(--border))"},"aria-hidden":"true"})]}),m.jsxs($.div,{variants:hr,className:"flex flex-col gap-5",children:[m.jsx($.p,{variants:At,className:"text-xs font-semibold tracking-widest uppercase",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"46e586",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.about.sectionLabel",contentKeyTemplate:null,expressionHash:null},children:Lt.about.sectionLabel})}),m.jsx($.h2,{variants:At,className:"text-3xl md:text-4xl font-bold leading-snug",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"1f7190",guard:{file:"src/pages/index.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"home.about.heading",contentKeyTemplate:null,expressionH
333ash:null},children:Lt.about.heading})}),m.jsx($.p,{variants:At,className:"text-base leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"46e587",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.about.bio",contentKeyTemplate:null,expressionHash:null},children:Lt.about.bio})}),m.jsx($.p,{variants:At,className:"text-base leading-relaxed italic",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-heading)"},children:m.jsx(oe,{devId:"46e588",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.about.bio2",contentKeyTemplate:null,expressionHash:null},children:Lt.about.bio2})}),m.jsx($.div,{variants:At,children:m.jsxs(hn,{to:"/about",className:"inline-flex items-center gap-2 text-sm font-semibold group transition-colors duration-200",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:[Lt.about.cta,m.jsx("span",{className:"transition-transform duration-200 group-hover:translate-x-1",children:"→"})]})})]})]})})})]})]})}const Oa={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.65,ease:"easeOut"}}},zd={hidden:{},visible:{transition:{staggerChildren:.12}}};function oM(){const e=D.useRef(null);return D.useEffect(()=>{const t=e.current;if(!t)return;t.innerHTML='<div id="buzzsprout-large-player"></div>';const n=document.createElement("script");return n.type="text/javascript",n.charset="utf-8",n.src="https://www.buzzsprout.com/1246736.js?container_id=buzzsprout-large-player&player=large",t.appendChild(n),()=>{t.innerHTML=""}},[]),m.jsx("div",{ref:e,className:"w-full min-h-[400px]"})}function $E(){return m.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:m.jsx("path",{d:"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z"})})}function ZE(){return m.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:m.jsx("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"})})}function tg(){return m.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:m.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}function lM(){return m.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:m.jsx("path",{d:"M13.958 10.09c0 1.232.029 2.256-.591 3.351-.502.891-1.301 1.438-2.186 1.438-1.214 0-1.922-.924-1.922-2.292 0-2.692 2.415-3.182 4.699-3.182v.685zm3.186 7.705c-.209.189-.512.201-.745.074-1.047-.872-1.234-1.276-1.814-2.106-1.734 1.767-2.962 2.297-5.209 2.297-2.66 0-4.731-1.641-4.731-4.925 0-2.565 1.391-4.309 3.37-5.164 1.715-.754 4.11-.891 5.942-1.095v-.41c0-.753.06-1.642-.384-2.294-.385-.579-1.124-.82-1.775-.82-1.205 0-2.277.618-2.54 1.897-.054.285-.261.567-.549.582l-3.061-.333c-.259-.056-.548-.266-.472-.66C5.57 2.357 8.533 1.5 11.19 1.5c1.358 0 3.132.361 4.203 1.389 1.358 1.267 1.228 2.958 1.228 4.798v4.342c0 1.305.541 1.879 1.05 2.583.179.252.219.553-.009.741l-2.518 2.442zm3.559 1.988C18.849 21.72 15.757 23 13.014 23c-3.887 0-7.395-1.438-10.048-3.832-.208-.188-.022-.446.228-.3 2.861 1.667 6.396 2.668 10.048 2.668 2.462 0 5.168-.511 7.657-1.571.376-.16.693.247.304.618zm.87-2.477c-.284-.364-1.876-.172-2.593-.087-.218.027-.251-.163-.055-.3 1.27-.893 3.354-.635 3.596-.336.242.301-.063 2.39-1.256 3.386-.183.153-.358.071-.277-.131.268-.669.87-2.168.585-2.532z"})})}function uM(){return m.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"
333currentColor","aria-hidden":"true",children:m.jsx("path",{d:"M12 21.593c-.525-.445-4.52-3.795-6.55-5.63C3.35 14.013 2 11.97 2 9.5 2 6.462 4.462 4 7.5 4c1.922 0 3.627.985 4.5 2.45C12.873 4.985 14.578 4 16.5 4 19.538 4 22 6.462 22 9.5c0 2.47-1.35 4.513-3.45 6.463-2.03 1.835-6.025 5.185-6.55 5.63z"})})}function cM(){return m.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[m.jsx("path",{d:"M4 11a9 9 0 0 1 9 9"}),m.jsx("path",{d:"M4 4a16 16 0 0 1 16 16"}),m.jsx("circle",{cx:"5",cy:"19",r:"1",fill:"currentColor"})]})}const ri="https://benpovlow.com",JE=`${ri}/og-image.jpg`;function dM(){const e=[{label:Nn.subscribe.spotify,href:Nn.hero.spotifyUrl,icon:m.jsx($E,{}),style:{background:"hsl(var(--spotify-green))",color:"hsl(var(--spotify-green-foreground))"}},{label:Nn.subscribe.apple,href:Nn.hero.appleUrl,icon:m.jsx(ZE,{}),style:{background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))"}},{label:Nn.subscribe.amazon,href:Nn.hero.amazonUrl,icon:m.jsx(lM,{}),style:{background:"hsl(var(--foreground))",color:"hsl(var(--background))"}},{label:Nn.subscribe.iheart,href:Nn.hero.iheartUrl,icon:m.jsx(uM,{}),style:{background:"hsl(var(--iheart-red))",color:"hsl(var(--iheart-red-foreground))"}},{label:"YouTube — The Self-Help Company",href:"https://www.youtube.com/@theself-helpcompany1633",icon:m.jsx(tg,{}),style:{background:"hsl(var(--youtube-red))",color:"hsl(var(--youtube-red-foreground))"}},{label:"YouTube — Ben Povlow",href:"https://www.youtube.com/@BenPovlow",icon:m.jsx(tg,{}),style:{background:"hsl(var(--youtube-red))",color:"hsl(var(--youtube-red-foreground))"}},{label:Nn.subscribe.rss,href:Nn.hero.rssUrl,icon:m.jsx(cM,{}),style:{border:"1px solid hsl(var(--border))",color:"hsl(var(--foreground))"}}];return m.jsxs(m.Fragment,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:"Raising Yourself Up Podcast — Ben Povlow"}),m.jsx("meta",{name:"description",content:"Raising Yourself Up — a podcast by Ben Povlow about personal growth, self-discovery, and becoming who you're meant to be. Listen on Spotify, Apple Podcasts, YouTube, and more."}),m.jsx("link",{rel:"canonical",href:"https://benpovlow.com/podcast"}),m.jsx("meta",{property:"og:title",content:"Raising Yourself Up Podcast — Ben Povlow"}),m.jsx("meta",{property:"og:description",content:"Honest conversations about personal growth and becoming who you're meant to be."}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:url",content:"https://benpovlow.com/podcast"}),m.jsx("meta",{property:"og:image",content:JE}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:image",content:JE}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":`${ri}/podcast#webpage`,name:"Raising Yourself Up Podcast — Ben Povlow",url:`${ri}/podcast`,isPartOf:{"@id":`${ri}/#website`},about:{"@id":`${ri}/#organization`}},{"@type":"PodcastSeries","@id":`${ri}/podcast#podcast`,name:"Raising Yourself Up",description:"A podcast by Ben Povlow about personal growth, self-discovery, and becoming who you're meant to be. Honest conversations for adults seeking real transformation.",url:`${ri}/podcast`,author:{"@type":"Person","@id":`${ri}/#person`,name:"Ben Povlow",url:ri},webFeed:"https://feeds.buzzsprout.com/1246736.rss",potentialAction:[{"@type":"ListenAction",target:["https://open.spotify.com/show/6NIikgDGYHMpxe061UiK6S","https://podcasts.apple.com/us/podcast/raising-yourself-up/id1529324232","https://music.amazon.com/podcasts/e0c09f03-0ad8-45cc-981f-ef17b10582e9/raising-yourself-up","https://www.iheart.com/podcast/269-raising-yourself-up-71516061/"]}]}]}).replace(/</g,"\\u003c")})]}),m.jsxs("main",{children:[m.jsxs("section",{className:"relative overflow-hidden min-h-[420px] md:min-h-[500px] flex items-end",children:[m.jsxs("div",{className:"absolute inset-0 pointer-events-none","aria-hidden":"true",children:[m.jsx("img",{src:"/airo-assets/images/pages/podcast/hero",alt:"",className:"w-full h-full object-cover",loading:"eager",fetchPriority:"high",width:1600,height:900}),m.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, hsl(var(--primary)) 0%, hsl(var(--primary) / 0.85) 40%, hsl(var(--primary) / 0.4) 100%)"}})]}),m.jsx("div",{className:"relative max-w-6xl mx-auto px-6 py-16 md:py-20 w-full",children:m.jsxs($.div,{variants:zd,initial:"hidden",animate:"visible",className:"max-w-2xl flex flex-col gap-5",children:[m.jsx($.p,{variants:Oa,className:"text-xs font-semibold tracking-widest uppercase",style:{whiteSpace:"pre-line",color:"hsl(var(--primary-foreground) / 0.6)",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"276c60",guard:{file:"src/pages/podcast.tsx",tagName:"p",sourceKind:"content-key",contentKey:"podcast.hero.label",contentKeyTemplate:null,expressionH
333ash:null},children:Nn.hero.label})}),m.jsx($.h1,{variants:Oa,className:"text-4xl md:text-6xl font-bold leading-tight",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--primary-foreground))"},children:m.jsx(oe,{devId:"10cf69",guard:{file:"src/pages/podcast.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"podcast.hero.title",contentKeyTemplate:null,expressionHash:null},children:Nn.hero.title})}),m.jsx($.p,{variants:Oa,className:"text-base md:text-lg leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--primary-foreground) / 0.75)",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"276c61",guard:{file:"src/pages/podcast.tsx",tagName:"p",sourceKind:"content-key",contentKey:"podcast.hero.description",contentKeyTemplate:null,expressionHash:null},children:Nn.hero.description})}),m.jsxs($.div,{variants:Oa,className:"flex flex-wrap gap-3 pt-2",children:[m.jsxs("a",{href:Nn.hero.spotifyUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90 hover:-translate-y-0.5",style:{background:"hsl(var(--spotify-green))",color:"hsl(var(--spotify-green-foreground))",fontFamily:"var(--font-sans)"},children:[m.jsx($E,{}),"Spotify"]}),m.jsxs("a",{href:Nn.hero.appleUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90 hover:-translate-y-0.5",style:{background:"hsl(var(--primary-foreground) / 0.12)",border:"1px solid hsl(var(--primary-foreground) / 0.25)",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:[m.jsx(ZE,{}),"Apple Podcasts"]}),m.jsxs("a",{href:"https://www.youtube.com/playlist?list=PL1Y3s09Slq80fjZngwBLa6DEuK-P-p67N",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90 hover:-translate-y-0.5",style:{background:"hsl(var(--youtube-red))",color:"hsl(var(--youtube-red-foreground))",fontFamily:"var(--font-sans)"},children:[m.jsx(tg,{}),"YouTube"]})]})]})})]}),m.jsx("section",{className:"py-16 md:py-20",style:{background:"hsl(var(--background))"},children:m.jsx("div",{className:"max-w-4xl mx-auto px-6",children:m.jsxs($.div,{variants:zd,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},className:"flex flex-col gap-8",children:[m.jsxs($.div,{variants:Oa,className:"text-center",children:[m.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase mb-3",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:"Listen Now"}),m.jsx("h2",{className:"text-3xl md:text-4xl font-bold",style:{fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:"All Episodes"})]}),m.jsx($.div,{variants:Oa,className:"w-full rounded-lg overflow-hidden shadow-lg",style:{border:"1px solid hsl(var(--border))"},children:m.jsx(oM,{})}),m.jsxs($.div,{variants:Oa,className:"text-center",children:[m.jsx("p",{className:"text-sm mb-3",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:"Looking for a specific episode? Individual episodes with full descriptions can be found on the Buzzsprout page."}),m.jsx("a",{href:"https://raisingyourselfup.buzzsprout.com",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90 hover:-translate-y-0.5",style:{background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:"Browse All Episodes on Buzzsprout"})]})]})})}),m.jsx("section",{className:"py-14 md:py-16",style:{background:"hsl(var(--background))"},children:m.jsx("div",{className:"max-w-3xl mx-auto px-6",children:m.jsxs($.div,{variants:zd,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},className:"flex flex-col items-center gap-6 text-center",children:[m.jsxs($.div,{variants:Oa,children:[m.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase mb-3",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:"Podcast Hosting"}),m.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-3",style:{fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:"Powered by Buzzsprout"}),m.jsx("p",{className:"text-base leading-relaxed max-w-md mx-auto",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:"Raising Yourself Up is hosted on Buzzsprout — the easiest way to start, grow, and monetize your podcast."})]}),m.jsx($.a,{variants:Oa,href:"https://www.buzzsprout.com/?referrer_id=1207148",target:"_blank",rel:"noopener noreferrer",className:"block rounded-xl overflow-hidden shadow-md transition-all duration-200 hover:shadow-xl hover:-translate-y-1 max-w-sm w-full",style:{border:"1px solid hsl(var(--border))"},children:m.jsx("img",{src:"/airo-assets/images/pages/podcast/buzzsprout-affiliate",alt:"Buzzsprout — The Easiest Way to Start a Podcast",width:530,height:280,loading:"lazy",className:"w-full h-auto"})}),m.jsx($.a,{variants:Oa,href:"https://www.buzzsprout.com/?referrer_id=1207148",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90 hover:-translate-y-0.5",style:{background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:"Start Your Podcast with Buzzsprout"})]})})}),m.jsx("section",{className:"py-16 md:py-20",style:{background:"hsl(var(--muted) / 0.25)"},children:m.jsx("div",{className:"max-w-3xl mx-auto px-6 text-center",children:m.jsxs($.div,{variants:zd,initial:"hidden",
333whileInView:"visible",viewport:{once:!0,margin:"-60px"},className:"flex flex-col gap-8 items-center",children:[m.jsxs($.div,{variants:Oa,children:[m.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase mb-3",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:"Find the Show"}),m.jsx("h2",{className:"text-3xl md:text-4xl font-bold",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"cf4940",guard:{file:"src/pages/podcast.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"podcast.subscribe.heading",contentKeyTemplate:null,expressionHash:null},children:Nn.subscribe.heading})}),m.jsx("p",{className:"mt-4 text-base leading-relaxed max-w-md mx-auto",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"828737",guard:{file:"src/pages/podcast.tsx",tagName:"p",sourceKind:"content-key",contentKey:"podcast.subscribe.description",contentKeyTemplate:null,expressionHash:null},children:Nn.subscribe.description})})]}),m.jsx($.div,{variants:Oa,className:"grid grid-cols-1 sm:grid-cols-2 gap-3 w-full max-w-lg",children:e.map(t=>m.jsxs("a",{href:t.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-3 px-5 py-3 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90 hover:-translate-y-0.5",style:{fontFamily:"var(--font-sans)",...t.style},children:[t.icon,m.jsx("span",{children:t.label})]},t.label))})]})})})]})]})}const e2={"waking-up-in-handcuffs":"/airo-assets/images/pages/home/book-selfhelp","you-must-be-present-to-win":"/airo-assets/images/pages/books/book-present-to-win","self-help-for-at-risk-teens":"/airo-assets/images/pages/books/book-at-risk-teens","young-adult-starter-kit":"/airo-assets/images/pages/books/book-ya-starter-kit","journey-to-maturity":"/airo-assets/images/pages/books/book-journey-to-maturity","biker-dude":"/airo-assets/images/pages/home/book-fiction"},ti={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}},ng={hidden:{},visible:{transition:{staggerChildren:.12}}},il="https://benpovlow.com",Mf=`${il}/books`,t2=`${il}/og-image.jpg`,Po={"@type":"Person","@id":`${il}/#person`,name:"Ben Povlow",url:il},fM={"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":`${Mf}#webpage`,name:"Books by Ben Povlow",description:"Browse the complete collection of books by Ben Povlow — memoir, self-help for teens and young adults, spiritual growth, and adventure fiction.",url:Mf,isPartOf:{"@id":`${il}/#website`},about:{"@id":`${il}/#organization`}},{"@type":"Book",name:"Waking Up in Handcuffs",author:Po,bookFormat:"https://schema.org/Paperback",genre:"Memoir",description:"A brutal, honest memoir about three decades of addiction and the journey back to wholeness. Proof that no soul is ever too far gone to heal.",url:"https://mybook.to/9Vz
33309Nt",sameAs:"https://mybook.to/9Vz09Nt"},{"@type":"Book",name:"You Must Be Present to Win",alternativeHeadline:"A Guide to Spiritual Awakening and Personal Growth",author:Po,bookFormat:"https://schema.org/Paperback",genre:"Self-Help",description:"Learn to listen to your inner guidance, break negative patterns, and step fully into the present moment.",url:"https://mybook.to/lK3ke",sameAs:"https://mybook.to/lK3ke"},{"@type":"Book",name:"Self-Help for At-Risk Teens",alternativeHeadline:"Overcome the Odds and Live the Life of Your Dreams",author:Po,bookFormat:"https://schema.org/Paperback",genre:"Self-Help",audience:{"@type":"Audience",audienceType:"At-risk teens and young adults"},description:"Written from the perspective of someone who has been there — a no-nonsense guide to overcoming the odds.",url:"https://mybook.to/0N0A",sameAs:"https://mybook.to/0N0A"},{"@type":"Book",name:"The Young Adult Starter Kit",alternativeHeadline:"12 Steps to Being a Better Person",author:Po,bookFormat:"https://schema.org/Paperback",genre:"Self-Help",audie
333nce:{"@type":"Audience",audienceType:"Young adults"},description:"The compass every young adult needs — covering courage, faith, purpose, mindset, self-esteem, and personal responsibility.",url:"https://mybook.to/kkY3",sameAs:"https://mybook.to/kkY3"},{"@type":"Book",name:"Journey to Maturity",alternativeHeadline:"Navigating Young Adulthood with Resilience and Grace",author:Po,bookFormat:"https://schema.org/Paperback",genre:"Self-Help",audience:{"@type":"Audience",audienceType:"Young adults"},description:"A comprehensive life manual covering 20 essential areas of young adult life — from relationships and financial literacy to personal branding.",url:"https://mybook.to/9YjFBs",sameAs:"https://mybook.to/9YjFBs"},{"@type":"Book",name:"Biker Dude: A Motorcycle Rally Adventure Story",author:Po,bookFormat:"https://schema.org/Paperback",genre:"Fiction",description:"A motorcycle rally adventure novel — part mystery, part action, all heart.",url:"https://mybook.to/aCQq",sameAs:"https://mybook.to/aCQq"}]};function hM(){return m.jsxs(m.Fragment,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:"Books by Ben Povlow — Author of Self-Help, Memoir & Fiction"}),m.jsx("meta",{name:"description",content:"Browse the complete collection of books by Ben Povlow — memoir, self-help for teens and young adults, spiritual growth, and adventure fiction."}),m.jsx("link",{rel:"canonical",href:Mf}),m.jsx("meta",{property:"og:title",content:"Books by Ben Povlow"}),m.jsx("meta",{property:"og:description",content:"Browse the complete collection of books by Ben Povlow — memoir, self-help, and fiction."}),m.jsx("meta",{property:"og:url",content:Mf}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:image",content:t2}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:image",content:t2}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify(fM).replace(/</g,"\\u003c")})]}),m.jsxs("main",{children:[m.jsx("section",{className:"py-20 md:py-28 text-center px-6",style:{background:"hsl(var(--background))"},children:m.jsxs($.div,{initial:"hidden",animate:"visible",variants:ng,className:"max-w-2xl mx-auto",children:[m.jsx($.p,{variants:ti,className:"text-sm font-semibold tracking-wide mb-4",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"83761b",guard:{file:"src/pages/books.tsx",tagName:"p",sourceKind:"content-key",contentKey:"books.hero.label",contentKeyTemplate:null,expressionHash:null},children:Ls.hero.label})}),m.jsx($.div,{variants:ti,className:"mb-5 flex justify-center",children:m.jsx("img",{src:"/airo-assets/images/pages/books/publisher-logo",alt:"The Self-Help Company, LLC",className:"h-auto max-h-28 w-auto max-w-sm object-contain",loading:"eager",fetchPriority:"high",width:300,height:112})}),m.jsx($.h1,{variants:ti,className:"text-4xl md:text-5xl font-bold mb-5",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"ee1084",guard:{file:"src/pages/books.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"books.hero.heading",contentKeyTemplate:null,expressionHash:null},children:Ls.hero.heading})}),m.jsx($.p,{variants:ti,className:"text-lg leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"83761c",guard:{file:"src/pages/books.tsx",tagName:"p",sourceKind:"content-key",contentKey:"books.hero.description",contentKeyTemplate:null,expressionHash:null},children:Ls.hero.description})})]})}),m.jsx("div",{className:"border-t border-border mx-6 md:mx-16"}),m.jsx("section",{className:"py-16 md:py-24 px-6 md:px-16 max-w-5xl mx-auto",children:m.jsxs($.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:ng,children:[m.jsx($.p,{variants:ti,className:"text-sm font-semibold tracking-wide mb-12",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"9bc91c",guard:{file:"src/pages/books.tsx",tagName:"p",sourceKind:"content-key",contentKey:"books.nonfiction.label",contentKeyTemplate:null,expressionH
333ash:null},children:Ls.nonfiction.label})}),m.jsx("div",{className:"flex flex-col gap-16 md:gap-20",children:Ls.nonfiction.books.map((e,t)=>m.jsxs($.div,{variants:ti,className:`flex flex-col md:flex-row gap-8 md:gap-12 items-start ${t%2===1?"md:flex-row-reverse":""}`,children:[m.jsx("div",{className:"flex-shrink-0 w-full md:w-auto flex justify-center md:justify-start",children:m.jsx($.div,{whileHover:{y:-6},transition:{duration:.25,ease:"easeOut"},className:"rounded-md overflow-hidden shadow-xl",style:{width:180,height:270},children:m.jsx("img",{src:e2[e.id],alt:`${e.title} book cover`,width:180,height:270,loading:t===0?"eager":"lazy",fetchPriority:t===0?"high":"auto",className:"w-full h-full object-cover"})})}),m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest mb-2",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx("span",{style:{whiteSpace:"pre-line"},children:e.subtitle})}),m.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-4 leading-snug",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:e.title}),m.jsx("p",{className:"text-base leading-relaxed mb-6 max-w-xl",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:e.description}),m.jsx("a",{href:e.buyUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 rounded-md text-sm font-semibold transition-opacity duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:e.cta})]})]},e.id))})]})}),m.jsx("div",{className:"border-t border-border mx-6 md:mx-16"}),m.jsx("section",{className:"py-16 md:py-20 px-6 md:px-16",children:m.jsx("div",{className:"max-w-5xl mx-auto",children:m.jsxs($.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:ti,className:"rounded-sm border flex flex-col md:flex-row gap-8 md:gap-12 items-center p-8 md:p-12",style:{borderColor:"hsl(var(--primary) / 0.3)",background:"hsl(var(--muted) / 0.4)",boxShadow:"0 4px 28px hsl(var(--primary) / 0.1)"},children:[m.jsx("div",{className:"shrink-0 flex items-center justify-center",style:{width:220,maxWidth:220},children:m.jsx("img",{src:"/airo-assets/images/pages/books/ebook-bundle",alt:"The Spiritual Awakening eBook Bundle — Waking Up in Handcuffs and You Must Be Present to Win",className:"rounded-sm shadow-xl object-contain w-full h-auto",loading:"lazy",width:220,height:286})}),m.jsxs("div",{className:"flex-1 min-w-0 flex flex-col gap-4 text-center md:text-left",children:[m.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:"Website Special"}),m.jsx("h2",{className:"text-2xl md:text-3xl font-bold leading-snug",style:{fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:"The Spiritual Awakening eBook Bundle"}),m.jsxs("p",{className:"text-base leading-relaxed max-w-xl",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:["Get two eBooks — ",m.jsx("em",{children:"You Must Be Present to Win"})," and ",m.jsx("em",{children:"Waking Up in Handcuffs"})," — together for one low price. A limited offer exclusively for visitors to this site."]}),m.jsx("div",{children:m.jsx("a",{href:"https://www.paypal.com/ncp/payment/7GJ6CG6EGA9P2",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-7 py-3 rounded-md text-sm font-semibold transition-all duration-200 hover:opacity-90 hover:-translate-y-0.5",style:{background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:"Get the Bundle — $2.22"})})]})]})})}),m.jsx("div",{className:"border-t border-border mx-6 md:mx-16"}),m.jsx("section",{className:"py-16 md:py-24 px-6 md:px-16",style:{background:"hsl(var(--muted))"},children:m.jsx("div",{className:"max-w-5xl mx-auto",children:m.jsxs($.div,{initial:"hidden",
333whileInView:"visible",viewport:{once:!0},variants:ng,children:[m.jsx($.p,{variants:ti,className:"text-sm font-semibold tracking-wide mb-12",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"6f97b2",guard:{file:"src/pages/books.tsx",tagName:"p",sourceKind:"content-key",contentKey:"books.fiction.label",contentKeyTemplate:null,expressionHash:null},children:Ls.fiction.label})}),m.jsx("div",{className:"flex flex-col gap-16",children:Ls.fiction.books.map(e=>m.jsxs($.div,{variants:ti,className:"flex flex-col md:flex-row gap-8 md:gap-12 items-start",children:[m.jsx("div",{className:"flex-shrink-0 w-full md:w-auto flex justify-center md:justify-start",children:m.jsx($.div,{whileHover:{y:-6},transition:{duration:.25,ease:"easeOut"},className:"rounded-md overflow-hidden shadow-xl",style:{width:180,height:270},children:m.jsx("img",{src:e2[e.id],alt:`${e.title} book cover`,width:180,height:270,loading:"lazy",className:"w-full h-full object-cover"})})}),m.jsxs("div",{className:"flex-1 min-w-0",children:[m.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest mb-2",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx("span",{style:{whiteSpace:"pre-line"}
333,children:e.subtitle})}),m.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-4 leading-snug",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:e.title}),m.jsx("p",{className:"text-base leading-relaxed mb-6 max-w-xl",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:e.description}),m.jsx("a",{href:e.buyUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 rounded-md text-sm font-semibold transition-opacity duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:e.cta})]})]},e.id))})]})})})]})]})}const er={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}},ag={hidden:{},visible:{transition:{staggerChildren:.14}}},Pf="https://benpovlow.com",Vd=`${Pf}/about`,n2=`${Pf}/og-image.jpg`;function mM(){return m.jsxs(m.Fragment,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:"About Ben Povlow — Author, Podcaster & Personal Development Guide"}),m.jsx("meta",{name:"description",content:"Learn about Ben Povlow — author of self-help, memoir, and fiction books, and host of the Raising Yourself Up podcast. A life of transformation, told honestly."}),m.jsx("link",{rel:"canonical",href:Vd}),m.jsx("meta",{property:"og:title",content:"About Ben Povlow"}),m.jsx("meta",{property:"og:description",content:"Author, podcaster, and guide. Ben Povlow's story of transformation — from the streets to the page."}),m.jsx("meta",{property:"og:url",content:Vd}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:image",content:n2}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:image",content:n2}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"AboutPage","@id":`${Vd}#webpage`,name:"About Ben Povlow",url:Vd,isPartOf:{"@id":`${Pf}/#website`},about:{"@id":`${Pf}/#organization`}}).replace(/</g,"\\u003c")})]}),m.jsxs("main",{children:[m.jsx("section",{className:"py-20 md:py-28 px-6",style:{background:"hsl(var(--background))"},children:m.jsxs($.div,{initial:"hidden",animate:"visible",variants:ag,className:"max-w-5xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-12 md:gap-16 items-center",children:[m.jsx($.div,{variants:er,className:"flex justify-center md:justify-start",children:m.jsx("div",{className:"rounded-xl overflow-hidden shadow-2xl w-full max-w-sm",style:{aspectRatio:"3/4"},children:m.jsx("img",{src:"/airo-assets/images/pages/home/author-portrait",alt:"Ben Povlow — author and podcaster",width:400,height:533,loading:"eager",fetchPriority:"high",className:"w-full h-full object-cover"})})}),m.jsxs("div",{children:[m.jsx($.p,{variants:er,className:"text-sm font-semibold tracking-wide mb-3",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"44e6ac",guard:{file:"src/pages/about.tsx",tagName:"p",sourceKind:"content-key",contentKey:"about.hero.label",contentKeyTemplate:null,expressionHash:null},children:ta.hero.label})}),m.jsx($.h1,{variants:er,className:"text-4xl md:text-5xl font-bold mb-3 leading-tight",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"dd9335",guard:{file:"src/pages/about.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"about.hero.heading",contentKeyTemplate:null,expressionHash:null},children:ta.hero.heading})}),m.jsx($.p,{variants:er,className:"text-lg mb-6",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"44e6ad",guard:{file:"src/pages/about.tsx",tagName:"p",sourceKind:"content-key",contentKey:"about.hero.subheading",contentKeyTemplate:null,expressionHash:null},children:ta.hero.subheading})}),m.jsx($.div,{variants:er,className:"flex flex-col gap-5",children:m.jsx("p",{className:"text-base leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"bec4c0",guard:{file:"src/pages/about.tsx",tagName:"p",sourceKind:"content-key",contentKey:"about.bio.p1",contentKeyTemplate:null,expressionH
333ash:null},children:ta.bio.p1})})})]})]})}),m.jsx("div",{className:"border-t border-border mx-6 md:mx-16"}),m.jsx("section",{className:"py-16 md:py-20 px-6",children:m.jsxs($.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:ag,className:"max-w-2xl mx-auto",children:[m.jsx($.p,{variants:er,className:"text-base leading-relaxed mb-6",style:{whiteSpace:"pre-line",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"b46419",guard:{file:"src/pages/about.tsx",tagName:"p",sourceKind:"content-key",contentKey:"about.bio.p2",contentKeyTemplate:null,expressionHash:null},children:ta.bio.p2})}),m.jsx($.p,{variants:er,className:"text-base leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"b4641a",guard:{file:"src/pages/about.tsx",tagName:"p",sourceKind:"content-key",contentKey:"about.bio.p3",contentKeyTemplate:null,expressionHash:null},children:ta.bio.p3})})]})}),m.jsx("div",{className:"border-t border-border mx-6 md:mx-16"}),m.jsx("section",{className:"py-12 px-6",children:m.jsx($.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:er,className:"max-w-2xl mx-auto flex justify-center",children:m.jsx("img",{src:"/airo-assets/images/pages/about/life-coach-badge",alt:"Certified Professional Life Coach — Transformation Academy",width:200,height:200,loading:"lazy",className:"w-40 h-40 md:w-48 md:h-48 object-contain"})})}),m.jsx("div",{className:"border-t border-border mx-6 md:mx-16"}),m.jsx("section",{className:"py-16 md:py-20 px-6",style:{background:"hsl(var(--muted))"},children:m.jsxs($.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:ag,className:"max-w-5xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-8",children:[m.jsxs($.div,{variants:er,className:"rounded-xl p-8 flex flex-col gap-4",style:{background:"hsl(var(--card))",border:"1px solid hsl(var(--border))"},children:[m.jsx("h2",{className:"text-xl font-bold",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"d94899",guard:{file:"src/pages/about.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"about.books.heading",contentKeyTemplate:null,expressionHash:null},children:ta.books.heading})}),m.jsx("p",{className:"text-sm leading-relaxed flex-1",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:"Six titles spanning memoir, self-help, young adult guidance, and adventure fiction — each one drawn from lived experience."}),m.jsxs(hn,{to:"/books",className:"inline-flex items-center gap-2 text-sm font-semibold group transition-colors duration-200",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:[ta.books.cta,m.jsx("span",{className:"transition-transform duration-200 group-hover:translate-x-1",children:"→"})]})]}),m.jsxs($.div,{variants:er,className:"rounded-xl p-8 flex flex-col gap-4",style:{background:"hsl(var(--card))",border:"1px solid hsl(var(--border))"},children:[m.jsx("h2",{className:"text-xl font-bold",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"2e713a",guard:{file:"src/pages/about.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"about.podcast.heading",contentKeyTemplate:null,expressionHash:null},children:ta.podcast.heading})}),m.jsx("p",{className:"text-sm leading-relaxed flex-1",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"3f97f0",guard:{file:"src/pages/about.tsx",tagName:"p",sourceKind:"content-key",contentKey:"about.podcast.description",contentKeyTemplate:null,expressionHash:null},children:ta.podcast.description})}),m.jsxs(hn,{to:"/podcast",className:"inline-flex items-center gap-2 text-sm font-semibold group transition-colors duration-200",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:[ta.podcast.cta,m.jsx("span",{className:"transition-transform duration-200 group-hover:translate-x-1",children:"→"})]})]}),m.jsxs($.div,{variants:er,className:"rounded-xl p-8 flex flex-col gap-4",style:{background:"hsl(var(--card))",border:"1px solid hsl(var(--border))"},children:[m.jsx("h2",{className:"text-xl font-bold",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"8399db",guard:{file:"src/pages/about.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"about.connect.heading",contentKeyTemplate:null,expressionH
333ash:null},children:ta.connect.heading})}),m.jsx("p",{className:"text-sm leading-relaxed flex-1",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"51b071",guard:{file:"src/pages/about.tsx",tagName:"p",sourceKind:"content-key",contentKey:"about.connect.description",contentKeyTemplate:null,expressionHash:null},children:ta.connect.description})}),m.jsxs(hn,{to:"/contact",className:"inline-flex items-center gap-2 text-sm font-semibold group transition-colors duration-200",style:{color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:[ta.connect.cta,m.jsx("span",{className:"transition-transform duration-200 group-hover:translate-x-1",children:"→"})]})]})]})})]})]})}const Yd={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}},pM={hidden:{},visible:{transition:{staggerChildren:.12}}},Bf="https://benpovlow.com",Kd=`${Bf}/contact`,a2=`${Bf}/og-image.jpg`;function gM(){const[e,t]=D.useState("idle"),[n,r]=D.useState("");async function s(l){l.preventDefault();const u=l.currentTarget,d=new FormData(u);if(d.get("_gotcha"))return;const f=String(d.get("name")??"").trim(),h=String(d.get("email")??"").trim(),g=String(d.get("message")??"").trim();t("sending"),r("");try{const v=await(await fetch("/api/contact/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({conversation:{messages_attributes:[{body:g||"New contact form submission"}],data:{__gd_contact_form_title:"Contact Ben Povlow"}},user:{email:h,name:f}})})).json();if(v.success)t("success"),u.reset();else throw new Error(v.error||"Something went wrong.")}catch(y){t("error"),r(y instanceof Error?y.message:"Something went wrong. Please try again.")}}return m.jsxs(m.Fragment,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:"Contact Ben Povlow — Author & Podcaster"}),m.jsx("meta",{name:"description",content:"Get in touch with Ben Povlow for speaking inquiries, media requests, or just to say hello."}),m.jsx("link",{rel:"canonical",href:Kd}),m.jsx("meta",{property:"og:title",content:"Contact Ben Povlow"}),m.jsx("meta",{property:"og:description",content:"Reach out to Ben Povlow for speaking, media, or general inquiries."}),m.jsx("meta",{property:"og:url",content:Kd}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:image",content:a2}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:image",content:a2}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"ContactPage","@id":`${Kd}#webpage`,name:"Contact Ben Povlow",url:Kd,isPartOf:{"@id":`${Bf}/#website`},about:{"@id":`${Bf}/#organization`}}).replace(/</g,"\\u003c")})]}),m.jsx("main",{children:m.jsx("section",{className:"py-20 md:py-28 px-6",children:m.jsxs($.div,{initial:"hidden",animate:"visible",variants:pM,className:"max-w-2xl mx-auto",children:[m.jsx($.p,{variants:Yd,className:"text-sm font-semibold tracking-wide mb-3",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"a68b69",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"content-key",contentKey:"contact.hero.label",contentKeyTemplate:null,expressionHash:null},children:ei.hero.label})}),m.jsx($.h1,{variants:Yd,className:"text-4xl md:text-5xl font-bold mb-4 leading-tight",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"73cf92",guard:{file:"src/pages/contact.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"contact.hero.heading",contentKeyTemplate:null,expressionHash:null},children:ei.hero.heading})}),m.jsx($.p,{variants:Yd,className:"text-lg mb-10",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"a68b6a",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"content-key",contentKey:"contact.hero.subheading",contentKeyTemplate:null,expressionHash:null},children:ei.hero.subheading})}),m.jsxs($.form,{variants:Yd,onSubmit:s,className:"flex flex-col gap-5",noValidate:!0,children:[m.jsx("input",{type:"text",name:"_gotcha",tabIndex:-1,autoComplete:"off",style:{position:"absolute",left:"-9999px"},"aria-hidden":"true"}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsx("label",{htmlFor:"contact-name",className:"text-sm font-medium",style:{color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:"Name"}),m.jsx("input",{id:"contact-name",name:"name",type:"text",required:!0,placeholder:ei.form.namePlaceholder,className:"w-full px-4 py-3 rounded-lg text-sm outline-none transition-colors duration-200 focus:ring-2",style:{background:"hsl(var(--background))",border:"1px solid hsl(var(--border))",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"}})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsx("label",{htmlFor:"contact-email",className:"text-sm font-medium",style:{color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:"Email"}),m.jsx("input",{id:"contact-email",name:"email",type:"email",required:!0,placeholder:ei.form.emailPlaceholder,className:"w-full px-4 py-3 rounded-lg text-sm outline-none transition-colors duration-200 focus:ring-2",style:{background:"hsl(var(--background))",border:"1px solid hsl(var(--border))",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"}})]}),m.jsxs("div",{className:"flex flex-col gap-1.5",children:[m.jsx("label",{htmlFor:"contact-message",className:"text-sm font-medium",style:{color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:"Message"}),m.jsx("textarea",{id:"contact-message",name:"message",rows:6,required:!0,placeholder:ei.form.messagePlaceholder,className:"w-full px-4 py-3 rounded-lg text-sm outline-none transition-colors duration-200 focus:ring-2 resize-none",style:{background:"hsl(var(--background))",border:"1px solid hsl(var(--border))",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"}})]}),e==="error"&&m.jsx("p",{role:"alert",className:"text-sm px-4 py-3 rounded-lg",style:{background:"hsl(var(--destructive) / 0.1)",color:"hsl(var(--destructive))",fontFamily:"var(--font-sans)",border:"1px solid hsl(var(--destructive) / 0.3)"},children:m.jsx(oe,{devId:"b6234e",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
333ash:"sha256:3c43ac6fceab656d158259269a891c05381c03e209577c360e12b8dc2686d052"},children:n||ei.form.errorMessage})}),m.jsx("button",{type:"submit",disabled:e==="sending"||e==="success",className:"w-full py-3 px-6 rounded-lg text-sm font-semibold transition-opacity duration-200 disabled:opacity-60",style:{background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"94d17a",guard:{file:"src/pages/contact.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:f5c729225b93205eb739cfb73182716e45b7a9434c1b1ff2a0a4a7606b4078d0"},children:e==="sending"?"Sending…":ei.form.submitCta})}),e==="success"&&m.jsx("p",{role:"status",className:"text-sm text-center px-4 py-3 rounded-lg",style:{whiteSpace:"pre-line",background:"hsl(var(--muted))",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)",border:"1px solid hsl(var(--border))"},children:m.jsx(oe,{devId:"b6234f",guard:{file:"src/pages/contact.tsx",tagName:"p",sourceKind:"content-key",contentKey:"contact.form.successMessage",contentKeyTemplate:null,expressionHash:null},children:ei.form.successMessage})})]})]})})})]})}const Ki="https://benpovlow.com",Ln={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.65,ease:"easeOut"}}},Bo={hidden:{},visible:{transition:{staggerChildren:.12}}};function yM(){const e=`${Ki}/airo-assets/images/pages/home/og-image`,t={"@context":"https://schema.org","@type":"ItemList",name:"Self-Publishing & Writing Tools recommended by Ben Povlow",url:`${Ki}/writing-resources`,itemListElement:St.tools.map((r,s)=>({"@type":"ListItem",position:s+1,name:r.name,url:r.url,description:r.description}))},n={"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":`${Ki}/writing-resources#webpage`,name:St.seo.title,url:`${Ki}/writing-resources`,description:St.seo.description,isPartOf:{"@id":`${Ki}/#website`},about:{"@id":`${Ki}/#organization`},dateModified:"2026-09-13"},t]};return m.jsxs(m.Fragment,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:St.seo.title}),m.jsx("meta",{name:"description",content:St.seo.description}),m.jsx("link",{rel:"canonical",href:`${Ki}/writing-resources`}),m.jsx("meta",{property:"og:title",content:St.seo.title}),m.jsx("meta",{property:"og:description",content:St.seo.description}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:url",content:`${Ki}/writing-resources`}),m.jsx("meta",{property:"og:image",content:e}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:title",content:St.seo.title}),m.jsx("meta",{name:"twitter:description",content:St.seo.description}),m.jsx("meta",{name:"twitter:image",content:e}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify(n).replace(/</g,"\\u003c")})]}),m.jsxs("main",{children:[m.jsx("section",{className:"py-20 md:py-28 text-center",style:{background:"hsl(var(--background))"},children:m.jsx("div",{className:"max-w-3xl mx-auto px-6",children:m.jsxs($.div,{variants:Bo,initial:"hidden",animate:"visible",children:[m.jsx($.p,{variants:Ln,className:"text-xs font-semibold tracking-widest uppercase mb-4",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"f52c1d",guard:{file:"src/pages/writing-resources.tsx",tagName:"p",sourceKind:"content-key",contentKey:"writing_resources.hero.eyebrow",contentKeyTemplate:null,expressionHash:null},children:St.hero.eyebrow})}),m.jsx($.h1,{variants:Ln,className:"text-4xl md:text-5xl font-bold mb-5",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"9686c6",guard:{file:"src/pages/writing-resources.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"writing_resources.hero.title",contentKeyTemplate:null,expressionHash:null},children:St.hero.title})}),m.jsx($.p,{variants:Ln,className:"text-lg leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"f52c1e",guard:{file:"src/pages/writing-resources.tsx",tagName:"p",sourceKind:"content-key",contentKey:"writing_resources.hero.subtitle",contentKeyTemplate:null,expressionH
333ash:null},children:St.hero.subtitle})})]})})}),m.jsx("section",{className:"py-16 md:py-20",style:{background:"hsl(var(--background))"},children:m.jsx("div",{className:"max-w-5xl mx-auto px-6",children:m.jsxs($.div,{variants:Bo,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},className:"grid grid-cols-1 md:grid-cols-2 gap-10 md:gap-16 items-center",children:[m.jsx($.div,{variants:Ln,className:"flex justify-center",children:m.jsx("div",{className:"rounded-xl overflow-hidden shadow-2xl w-full max-w-xs",children:m.jsx("img",{src:"/airo-assets/images/pages/work-with-ben/book-cover",alt:"The AI-Assisted Self-Publishing Playbook by Ben Povlow",width:400,height:520,loading:"lazy",className:"w-full h-auto object-cover"})})}),m.jsxs("div",{children:[m.jsx($.p,{variants:Ln,className:"text-xs font-semibold tracking-widest uppercase mb-3",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"354df2",guard:{file:"src/pages/writing-resources.tsx",tagName:"p",sourceKind:"content-key",contentKey:"writing_resources.course.eyebrow",contentKeyTemplate:null,expressionHash:null},children:St.course.eyebrow})}),m.jsx($.h2,{variants:Ln,className:"text-3xl md:text-4xl font-bold mb-5 leading-tight",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"dae77c",guard:{file:"src/pages/writing-resources.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"writing_resources.course.title",contentKeyTemplate:null,expressionHash:null},children:St.course.title})}),m.jsx($.p,{variants:Ln,className:"text-base leading-relaxed mb-8",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"354df3",guard:{file:"src/pages/writing-resources.tsx",tagName:"p",sourceKind:"content-key",contentKey:"writing_resources.course.description",contentKeyTemplate:null,expressionHash:null},children:St.course.description})}),m.jsx($.div,{variants:Ln,children:m.jsx("a",{href:St.course.url,target:"_blank",rel:"noopener noreferrer",className:"inline-block px-8 py-3 rounded-lg font-semibold text-sm transition-opacity duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"8cc8b7",guard:{file:"src/pages/writing-resources.tsx",tagName:"a",sourceKind:"content-key",contentKey:"writing_resources.course.cta",contentKeyTemplate:null,expressionHash:null},children:St.course.cta})})})]})]})})}),m.jsx("div",{className:"border-t border-border mx-6 md:mx-16"}),m.jsx("section",{className:"py-14 md:py-16",style:{background:"hsl(var(--muted))"},children:m.jsx("div",{className:"max-w-4xl mx-auto px-6",children:m.jsxs($.div,{variants:Bo,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},children:[m.jsxs($.div,{variants:Ln,className:"text-center mb-8",children:[m.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase mb-3",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"5b53f3",guard:{file:"src/pages/writing-resources.tsx",tagName:"p",sourceKind:"content-key",contentKey:"writing_resources.video.eyebrow",contentKeyTemplate:null,expressionHash:null},children:St.video.eyebrow})}),m.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-3",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"c1ad9d",guard:{file:"src/pages/writing-resources.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"writing_resources.video.title",contentKeyTemplate:null,expressionHash:null},children:St.video.title})}),m.jsx("p",{className:"text-base leading-relaxed max-w-xl mx-auto",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"5b53f4",guard:{file:"src/pages/writing-resources.tsx",tagName:"p",sourceKind:"content-key",contentKey:"writing_resources.video.description",contentKeyTemplate:null,expressionH
333ash:null},children:St.video.description})})]}),m.jsx($.div,{variants:Ln,className:"relative w-full rounded-xl overflow-hidden shadow-lg",style:{paddingBottom:"56.25%",border:"1px solid hsl(var(--border))"},children:m.jsx("iframe",{className:"absolute inset-0 w-full h-full",src:`https://www.youtube.com/embed/${St.video.youtubeId}?si=9dEKN-Obar1DnDld`,title:St.video.title,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,loading:"lazy"})})]})})}),m.jsx("section",{className:"py-16 md:py-20",style:{background:"hsl(var(--background))"},children:m.jsx("div",{className:"max-w-6xl mx-auto px-6",children:m.jsxs($.div,{variants:Bo,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},children:[m.jsxs($.div,{variants:Ln,className:"text-center mb-12",children:[m.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:"Tools of the Trade"}),m.jsx("p",{className:"text-base leading-relaxed max-w-xl mx-auto",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:"Everything you need to write, protect, design, and publish your book."})]}),m.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:St.tools.map(r=>m.jsxs($.div,{variants:Ln,className:"flex flex-col rounded-xl overflow-hidden shadow-sm transition-all duration-200 hover:shadow-md hover:-translate-y-1",style:{background:"hsl(var(--card))",border:"1px solid hsl(var(--border))"},children:[m.jsx("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"block overflow-hidden",style:{borderBottom:"1px solid hsl(var(--border))"},children:m.jsx("img",{src:r.imageSlot,alt:r.name,width:600,height:300,loading:"lazy",className:"w-full h-44 object-cover transition-transform duration-300 hover:scale-105"})}),m.jsxs("div",{className:"flex flex-col flex-1 p-6 gap-3",children:[m.jsx("span",{className:"text-xs font-semibold tracking-widest uppercase",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:r.category}),m.jsx("h3",{className:"text-lg font-bold leading-snug",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:r.name}),m.jsx("p",{className:"text-sm leading-relaxed flex-1",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:r.description}),m.jsx("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"mt-2 inline-flex items-center justify-center px-5 py-2.5 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:r.cta})]})]},r.id))})]})})}),m.jsx("section",{className:"py-16 md:py-20",style:{background:"hsl(var(--muted))"},children:m.jsx("div",{className:"max-w-6xl mx-auto px-6",children:m.jsxs($.div,{variants:Bo,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},children:[m.jsxs($.div,{variants:Ln,className:"text-center mb-12",children:[m.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase mb-3",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"730cf5",guard:{file:"src/pages/writing-resources.tsx",tagName:"p",sourceKind:"content-key",contentKey:"writing_resources.publishing.eyebrow",contentKeyTemplate:null,expressionHash:null},children:St.publishing.eyebrow})}),m.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"d086df",guard:{file:"src/pages/writing-resources.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"writing_resources.publishing.title",contentKeyTemplate:null,expressionHash:null},children:St.publishing.title})}),m.jsx("p",{className:"text-base leading-relaxed max-w-2xl mx-auto",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"730cf6",guard:{file:"src/pages/writing-resources.tsx",tagName:"p",sourceKind:"content-key",contentKey:"writing_resources.publishing.subtitle",contentKeyTemplate:null,expressionH
333ash:null},children:St.publishing.subtitle})})]}),m.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:St.publishing.platforms.map(r=>m.jsxs($.div,{variants:Ln,className:"flex flex-col rounded-xl overflow-hidden shadow-sm transition-all duration-200 hover:shadow-md hover:-translate-y-1",style:{background:"hsl(var(--card))",border:"1px solid hsl(var(--border))"},children:[m.jsx("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"block overflow-hidden",style:{borderBottom:"1px solid hsl(var(--border))"},children:m.jsx("img",{src:r.imageSlot,alt:r.name,width:600,height:300,loading:"lazy",className:"w-full h-44 object-cover transition-transform duration-300 hover:scale-105"})}),m.jsxs("div",{className:"flex flex-col flex-1 p-6 gap-3",children:[m.jsx("h3",{className:"text-lg font-bold leading-snug",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:r.name}),m.jsx("p",{className:"text-sm leading-relaxed flex-1",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:r.description}),m.jsx("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"mt-2 inline-flex items-center justify-center px-5 py-2.5 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:r.cta})]})]},r.id))})]})})}),m.jsx("section",{className:"py-16 md:py-20",style:{background:"hsl(var(--background))"},children:m.jsx("div",{className:"max-w-6xl mx-auto px-6",children:m.jsxs($.div,{variants:Bo,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-60px"},children:[m.jsxs($.div,{variants:Ln,className:"text-center mb-12",children:[m.jsx("p",{className:"text-xs font-semibold tracking-widest uppercase mb-3",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"fee976",guard:{file:"src/pages/writing-resources.tsx",tagName:"p",sourceKind:"content-key",contentKey:"writing_resources.publishing.audiobooks.eyebrow",contentKeyTemplate:null,expressionHash:null},children:St.publishing.audiobooks.eyebrow})}),m.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"d7f380",guard:{file:"src/pages/writing-resources.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"writing_resources.publishing.audiobooks.title",contentKeyTemplate:null,expressionHash:null},children:St.publishing.audiobooks.title})})]}),m.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:St.publishing.audiobooks.platforms.map(r=>m.jsxs($.div,{variants:Ln,className:"flex flex-col rounded-xl overflow-hidden shadow-sm transition-all duration-200 hover:shadow-md hover:-translate-y-1",style:{background:"hsl(var(--card))",border:"1px solid hsl(var(--border))"},children:[m.jsx("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"block overflow-hidden",style:{borderBottom:"1px solid hsl(var(--border))"},children:m.jsx("img",{src:r.imageSlot,alt:r.name,width:600,height:300,loading:"lazy",className:"w-full h-44 object-cover transition-transform duration-300 hover:scale-105"})}),m.jsxs("div",{className:"flex flex-col flex-1 p-6 gap-3",children:[m.jsx("h3",{className:"text-lg font-bold leading-snug",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:r.name}),m.jsx("p",{className:"text-sm leading-relaxed flex-1",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:r.description}),m.jsx("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"mt-2 inline-flex items-center justify-center px-5 py-2.5 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:r.cta})]})]},r.id))})]})})}),m.jsx("section",{className:"py-10",style:{background:"hsl(var(--muted))"},children:m.jsx("div",{className:"max-w-3xl mx-auto px-6 text-center",children:m.jsxs("p",{className:"text-xs leading-relaxed",style:{color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:[m.jsx("strong",{children:"Affiliate disclosure:"})," Some links on this page are affiliate links. If you purchase through them, Ben may earn a small commission at no extra cost to you. He only recommends tools he personally uses and believes in."]})})})]})]})}const gl=(mf==null?void 0:mf.blog)??nM??[];function vy(){const e=new Date;return gl.filter(t=>t.published&&new Date(t.publishedAt)<=e).sort((t,n)=>new Date(n.publishedAt).getTime()-new Date(t.publishedAt).getTime())}function f3(e){const t=new Date;return gl.find(n=>n.slug===e&&n.published&&new Date(n.publishedAt)<=t)||null}function h3(e){const t=new Date;return gl.filter(n=>{var r;return n.published&&((r=n.tags)==null?void 0:r.includes(e))&&new Date(n.publishedAt)<=t}).sort((n,r)=>new Date(r.publishedAt).getTime()-new Date(n.publishedAt).getTime())}function m3(e){const t=new Date;return gl.filter(n=>n.published&&n.category===e&&new Date(n.publishedAt)<=t).sort((n,r)=>new Date(r.publishedAt).getTime()-new Date(n.publishedAt).getTime())}function bM(e,t=3){return vy().filter(s=>s.slug!==e.slug).map(s=>{let l=0;if(s.category===e.category&&(l+=3),s.tags&&e.tags){const u=s.tags.filter(d=>{var f;return(f=e.tags)==null?void 0:f.includes(d)});l+=u.length}return{post:s,score:l}}).filter(s=>s.score>0).sort((s,l)=>l.score!==s.score?l.score-s.score:new Date(l.post.publishedAt).getTime()-new Date(s.post.publishedAt).getTime()).slice(0,t).map(s=>s.post)}function p3(){const e=new Date,t=new Set;return gl.filter(n=>n.published&&new Date(n.publishedAt)<=e).forEach(n=>{var r;(r=n.tags)==null||r.forEach(s=>t.add(s))}),Array.from(t).sort()}function g3(){const e=new Date,t=new Set;return gl.filter(n=>n.published&&new Date(n.publishedAt)<=e).forEach(n=>
333{n.category&&t.add(n.category)}),Array.from(t).sort()}function y3(e){const n=e.replace(/<[^>]*>/g,"").replace(/[#*_`]/g,"").split(/\s+/).filter(s=>s.length>0).length;return Math.ceil(n/200)}function h0(e,t="long"){const n=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 n.toLocaleDateString("en-US",s)}function b3(e,t=1,n=9){const r=e.length,s=Math.ceil(r/n),l=Math.max(1,Math.min(t,s)),u=(l-1)*n,d=u+n;return{posts:e.slice(u,d),pagination:{currentPage:l,totalPages:s,totalPosts:r,pageSize:n,hasNextPage:l<s,hasPreviousPage:l>1}}}function rg({post:e,variant:t="default"}){const n=y3(e.content),r=h0(e.publishedAt,"short");return t==="horizontal"?m.jsxs(hn,{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&&m.jsx("div",{className:"sm:w-72 h-56 sm:h-auto flex-shrink-0 overflow-hidden",children:m.jsx("img",{src:e.featuredImage,alt:e.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500",loading:"lazy",width:600,height:400})}),m.jsxs("div",{className:"flex-1 p-8",children:[e.category&&m.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:m.jsx(oe,{devId:"53b922",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:27107861c2ce944e7728ca19037a127d585ca550b05f380e7e69aa35da59bc8f"},children:e.category})}),m.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-card-foreground mt-2 group-hover:text-primary transition-colors leading-tight",children:m.jsx(oe,{devId:"a6b8cb",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"h3",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:3d7762f3ba350673da1469c3e329e26b1f1c57e07da68dc04a2b45e92c636880"},children:e.title})}),m.jsx("p",{className:"text-muted-foreground mt-4 line-clamp-2 text-base leading-relaxed",children:m.jsx(oe,{devId:"14b140",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:5fd23573df9cc310b2aae74cb3a9aeeeee60731085d5bf04171afe4ce2c58fcb"},children:e.excerpt})}),m.jsxs("div",{className:"flex items-center gap-3 mt-6 text-sm text-muted-foreground font-medium",children:[m.jsx("time",{dateTime:e.publishedAt,children:r}),m.jsx("span",{className:"text-border",children:"•"}),m.jsxs("span",{children:[n," min read"]}),e.author&&m.jsxs(m.Fragment,{children:[m.jsx("span",{className:"text-border",children:"•"}),m.jsx("span",{className:"text-card-foreground",children:m.jsx(oe,{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"?m.jsx(hn,{to:`/blog/${e.slug}`,className:"group block py-6 border-b-2 border-border/50 hover:border-primary/50 transition-all",children:m.jsxs("div",{className:"flex items-start justify-between gap-6",children:[m.jsxs("div",{className:"flex-1",children:[e.category&&m.jsx("span",{className:"text-xs font-bold uppercase tracking-wide text-primary",children:m.jsx(oe,{devId:"7dd415",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:27107861c2ce944e7728ca19037a127d585ca550b05f380e7e69aa35da59bc8f"},children:e.category})}),m.jsx("h3",{className:"text-xl font-bold text-foreground mt-2 group-hover:text-primary transition-colors leading-snug",children:m.jsx(oe,{devId:"977afe",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"h3",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
333ash:"sha256:3d7762f3ba350673da1469c3e329e26b1f1c57e07da68dc04a2b45e92c636880"},children:e.title})}),m.jsxs("div",{className:"flex items-center gap-2 mt-3 text-sm text-muted-foreground font-medium",children:[m.jsx("time",{dateTime:e.publishedAt,children:r}),m.jsx("span",{className:"text-border",children:"•"}),m.jsxs("span",{children:[n," min read"]})]})]}),e.featuredImage&&m.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:m.jsx("img",{src:e.featuredImage,alt:e.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-300",loading:"lazy",width:600,height:400})})]})}):m.jsxs(hn,{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&&m.jsx("div",{className:"aspect-[16/9] overflow-hidden",children:m.jsx("img",{src:e.featuredImage,alt:e.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500",loading:"lazy",width:600,height:400})}),m.jsxs("div",{className:"p-6 lg:p-8",children:[e.category&&m.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:m.jsx(oe,{devId:"53b922",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:27107861c2ce944e7728ca19037a127d585ca550b05f380e7e69aa35da59bc8f"},children:e.category})}),m.jsx("h3",{className:"text-xl md:text-2xl font-bold text-card-foreground mt-4 group-hover:text-primary transition-colors leading-tight",children:m.jsx(oe,{devId:"a6b8cb",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"h3",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:3d7762f3ba350673da1469c3e329e26b1f1c57e07da68dc04a2b45e92c636880"},children:e.title})}),m.jsx("p",{className:"text-muted-foreground mt-3 line-clamp-3 leading-relaxed",children:m.jsx(oe,{devId:"14b140",guard:{file:"src/components/blog/BlogCard.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:5fd23573df9cc310b2aae74cb3a9aeeeee60731085d5bf04171afe4ce2c58fcb"},children:e.excerpt})}),m.jsxs("div",{className:"flex items-center gap-3 mt-6 text-sm text-muted-foreground font-medium",children:[m.jsx("time",{dateTime:e.publishedAt,children:r}),m.jsx("span",{className:"text-border",children:"•"}),m.jsxs("span",{children:[n," min read"]}),e.author&&m.jsxs(m.Fragment,{children:[m.jsx("span",{className:"text-border",children:"•"}),m.jsx("span",{className:"text-card-foreground",children:m.jsx(oe,{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&&m.jsx("div",{className:"flex flex-wrap gap-2 mt-5",children:e.tags.slice(0,3).map(s=>m.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 x3({posts:e,variant:t="default",columns:n=3}){if(e.length===0)return m.jsx("div",{className:"text-center py-16",children:m.jsxs("div",{className:"max-w-md mx-auto",children:[m.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:m.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"})}),m.jsx("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"No posts yet"}),m.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 m.jsx("div",{className:"space-y-6",children:e.map(s=>m.jsx(rg,{post:s,variant:"horizontal"},s.slug))});if(t==="minimal")return m.jsx("div",{className:"space-y-0",children:e.map(s=>m.jsx(rg,{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"}[n];return m.jsx("div",{className:`grid ${r} gap-8`,children:e.map(s=>m.jsx(rg,{post:s,variant:"default"},s.slug))})}function xM(){const e=T4(),[t,n]=hR(),r=t.get("category")??(e==null?void 0:e.categoryFilter)??null,s=t.get("tag")??(e==null?void 0:e.tagFilter)??null,l=parseInt(t.get("page")||"1",10);let u;e&&r===e.categoryFilter&&s===e.tagFilter?u=e.allPosts:r?u=m3(r):s?u=h3(s):u=vy();const d=(e==null?void 0:e.categories)??g3(),f=(e==null?void 0:e.tags)??p3(),{posts:h,pagination:g}=b3(u,l,9),y=()=>{n({})},v=A=>{n({category:A})},T=A=>{n({tag:A})},w=A=>{const _={page:A.toString()};r&&(_.category=r),s&&(_.tag=s),n(_)};return m.jsxs("div",{className:"min-h-screen bg-background",children:[m.jsxs(Kn,{children:[m.jsx("title",{children:"Blog — Ben Povlow"}),m.jsx("meta",{name:"description",content:"Personal growth, spiritual awakening, and lessons from the journey — insights and inspiration from author and podcast host Ben Povlow."}),m.jsx("link",{rel:"canonical",href:"https://benpovlow.com/blog"}),m.jsx("meta",{property:"og:title",content:"Blog — Ben Povlow"}),m.jsx("meta",{property:"og:description",content:"Personal growth, spiritual awakening, and lessons from the journey — insights and inspiration from author and podcast host Ben Povlow."}),m.jsx("meta",{property:"og:url",content:"https://benpovlow.com/blog"}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:image",content:"https://benpovlow.com/airo-assets/images/pages/home/og-image"}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:title",content:"Blog — Ben Povlow"}),m.jsx("meta",{name:"twitter:description",content:"Personal growth, spiritual awakening, and lessons from the journey — insights and inspiration from author and podcast host Ben Povlow."}),m.jsx("meta",{name:"twitter:image",content:"https://benpovlow.com/airo-assets/images/pages/home/og-image"}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Blog","@id":"https://benpovlow.com/blog#webpage",name:"Blog — Ben Povlow",de
333scription:"Personal growth, spiritual awakening, and lessons from the journey — insights and inspiration from author and podcast host Ben Povlow.",url:"https://benpovlow.com/blog",isPartOf:{"@id":"https://benpovlow.com/#website"},author:{"@id":"https://benpovlow.com/#organization"}}).replace(/</g,"\\u003c")})]}),m.jsxs("div",{className:"relative bg-gradient-to-br from-primary/5 to-accent/5 border-b border-border overflow-hidden",children:[m.jsx("div",{className:"relative max-w-7xl mx-auto px-4 py-20 md:py-28",children:m.jsxs("div",{className:"max-w-3xl",children:[m.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-foreground mb-6 leading-tight",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)"},children:m.jsx(oe,{devId:"a6dfe2",guard:{file:"src/pages/Blog.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"blog_page.hero.title",contentKeyTemplate:null,expressionHash:null},children:XE.hero.title})}),m.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground leading-relaxed",style:{whiteSpace:"pre-line",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"90d1b9",guard:{file:"src/pages/Blog.tsx",tagName:"p",sourceKind:"content-key",contentKey:"blog_page.hero.subtitle",contentKeyTemplate:null,expressionHash:null},children:XE.hero.subtitle})}),m.jsxs("a",{href:"/feed.xml",target:"_blank",rel:"noopener noreferrer",className:"mt-8 inline-flex items-center gap-2.5 px-5 py-2.5 rounded-sm text-sm font-semibold transition-all duration-200 hover:opacity-90",style:{background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:[m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:[m.jsx("circle",{cx:"6.18",cy:"17.82",r:"2.18"}),m.jsx("path",{d:"M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9z"})]}),"Subscribe via RSS"]})]})}),m.jsx("div",{className:"absolute top-0 right-0 -mt-12 -mr-12 w-64 h-64 bg-primary/10 rounded-full blur-3xl"}),m.jsx("div",{className:"absolute bottom-0 left-0 -mb-12 -ml-12 w-96 h-96 bg-accent/10 rounded-full blur-3xl"})]}),m.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-12",children:[m.jsxs("div",{className:"mb-8 flex flex-wrap items-center gap-4",children:[(r||s)&&m.jsxs("div",{className:"flex items-center gap-2",children:[m.jsx("span",{className:"text-sm text-muted-foreground",children:"Filters:"}),r&&m.jsxs("span",{className:"inline-flex items-center gap-2 px-3 py-1.5 bg-primary text-primary-foreground rounded-full text-sm font-medium",children:["Category: ",r,m.jsx("button",{onClick:y,className:"hover:opacity-80 transition-opacity","aria-label":"Clear filter",children:"×"})]}),s&&m.jsxs("span",{className:"inline-flex items-center gap-2 px-3 py-1.5 bg-primary text-primary-foreground rounded-full text-sm font-medium",children:["Tag: ",s,m.jsx("button",{onClick:y,className:"hover:opacity-80 transition-opacity","aria-label":"Clear filter",children:"×"})]})]}),d.length>0&&!r&&m.jsx("div",{className:"relative",children:m.jsxs("select",{className:"px-4 py-2 bg-card border border-border rounded-lg text-card-foreground text-sm font-medium hover:border-primary transition-colors cursor-pointer",onChange:A=>v(A.target.value),value:"",children:[m.jsx("option",{value:"",children:"Filter by category"}),d.map(A=>m.jsx("option",{value:A,children:A},A))]})}),f.length>0&&!s&&m.jsxs("div",{className:"flex flex-wrap gap-2",children:[m.jsx("span",{className:"text-sm text-muted-foreground self-center",children:"Tags:"}),f.slice(0,5).map(A=>m.jsxs("button",{onClick:()=>T(A),className:"px-3 py-1.5 text-xs font-medium bg-accent text-accent-foreground rounded-full hover:bg-accent/80 transition-colors",children:["#",A]},A))]})]}),m.jsx("div",{className:"mb-6",children:m.jsxs("p",{className:"text-sm text-muted-foreground",children:[g.totalPosts," ",g.totalPosts===1?"post":"posts",r&&` in ${r}`,s&&` tagged with ${s}`]})}),m.jsx(x3,{posts:h,variant:"default",columns:3}),g.totalPages>1&&m.jsxs("div",{className:"mt-12 flex justify-center items-center gap-2",children:[m.jsx("button",{onClick:()=>w(g.currentPage-1),disabled:!g.hasPreviousPage,className:"px-4 py-2 bg-card border border-border rounded-lg text-card-foreground font-medium hover:border-primary transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:"Previous"}),m.jsx("div",{className:"flex gap-2",children:Array.from({length:g.totalPages},(A,_)=>_+1).map(A=>m.jsx("button",{onClick:()=>w(A),className:`w-10 h-10 rounded-lg font-medium transition-colors ${A===g.currentPage?"bg-primary text-primary-foreground":"bg-card border border-border text-card-foreground hover:border-primary"}`,children:A},A))}),m.jsx("button",{onClick:()=>w(g.currentPage+1),disabled:!g.hasNextPage,className:"px-4 py-2 bg-card border border-border rounded-lg text-card-foreground font-medium hover:border-primary transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:"Next"})]})]})]})}function r2(e){const t=[],n=String(e||"");let r=n.indexOf(","),s=0,l=!1;for(;!l;){r===-1&&(r=n.length,l=!0);const u=n.slice(s,r).trim();(u||!l)&&t.push(u),s=r+1,r=n.indexOf(",",s)}return t}function v3(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const vM=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,TM=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,EM={};function i2(e,t){return(EM.jsx?TM:vM).test(e)}const wM=/[ \t\n\f\r]/g;function SM(e){return typeof e=="object"?e.type==="text"?s2(e.value):!1:s2(e)}function s2(e){return e.replace(wM,"")===""}class pc{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}pc.prototype.normal={};pc.prototype.property={};pc.prototype.space=void 0;function T3(e,t){const n={},r={};for(const s of e)Object.assign(n,s.property),Object.assign(r,s.normal);return new pc(n,r,t)}function rc(e){return e.toLowerCase()}class ia{constructor(t,n){this.attribute=n,this.property=t}}ia.prototype.attribute="";ia.prototype.booleanish=!1;ia.prototype.boolean=!1;ia.prototype.commaOrSpaceSeparated=!1;ia.prototype.commaSeparated=!1;ia.prototype.defined=!1;ia.prototype.mustUseProperty=!1;ia.prototype.number=!1;ia.prototype.overloadedBoolean=!1;ia.prototype.property="";ia.prototype.spaceSeparated=!1;ia.prototype.space=void 0;let AM=0;const et=Ws(),cn=Ws(),m0=Ws(),be=Ws(),jt=Ws(),$o=Ws(),ma=Ws();function Ws(){return 2**++AM}const p0=Object.freeze(Object.defineProperty({__proto__:null,boolean:et,booleanish:cn,commaOrSpaceSeparated:ma,commaSeparated:$o,number:be,overloadedBoolean:m0,spaceSeparated:jt},Symbol.toStringTag,{value:"Module"})),ig=Object.keys(p0);class Ty extends ia{constructor(t,n,r,s){let l=-1;if(super(t,n),o2(this,"space",s),typeof r=="number")for(;++l<ig.length;){const u=ig[l];o2(this,ig[l],(r&p0[u])===p0[u])}}}Ty.prototype.defined=!0;function o2(e,t,n){n&&(e[t]=n)}function yl(e){const t={},n={};for(const[r,s]of Object.entries(e.properties)){const l=new Ty(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),t[r]=l,n[rc(r)]=r,n[rc(l.attribute)]=r}return new pc(t,n,e.space)}const E3=yl({properties:{ariaActiveDescendant:null,ariaAtomic:cn,ariaAutoComplete:null,ariaBusy:cn,ariaChecked:cn,ariaColCount:be,ariaColIndex:be,ariaColSpan:be,ariaControl
vendor: 5,434 bytes, line 333
333s:jt,ariaCurrent:null,ariaDescribedBy:jt,ariaDetails:null,ariaDisabled:cn,ariaDropEffect:jt,ariaErrorMessage:null,ariaExpanded:cn,ariaFlowTo:jt,ariaGrabbed:cn,ariaHasPopup:null,ariaHidden:cn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:jt,ariaLevel:be,ariaLive:null,ariaModal:cn,ariaMultiLine:cn,ariaMultiSelectable:cn,ariaOrientation:null,ariaOwns:jt,ariaPlaceholder:null,ariaPosInSet:be,ariaPressed:cn,ariaReadOnly:cn,ariaRelevant:null,ariaRequired:cn,ariaRoleDescription:jt,ariaRowCount:be,ariaRowIndex:be,ariaRowSpan:be,ariaSelected:cn,ariaSetSize:be,ariaSort:null,ariaValueMax:be,ariaValueMin:be,ariaValueNow:be,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function w3(e,t){return t in e?e[t]:t}function S3(e,t){return w3(e,t.toLowerCase())}const _M=yl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:$o,acceptCharset:jt,accessKey:jt,action:null,allow:null,allowFullScreen:et,allowPaymentRequest:et,allowUserMedia:et,alt:null,as:null,async:et,autoCapitalize:null,autoComplete:jt,autoFocus:et,autoPlay:et,blocking:jt,capture:null,charSet:null,checked:et,cite:null,className:jt,cols:be,colSpan:null,content:null,contentEditable:cn,controls:et,controlsList:jt,coords:be|$o,crossOrigin:null,data:null,dateTime:null,decoding:null,default:et,defer:et,dir:null,dirName:null,disabled:et,download:m0,draggable:cn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:et,formTarget:null,headers:jt,height:be,hidden:m0,high:be,href:null,hrefLang:null,htmlFor:jt,httpEquiv:jt,id:null,imageSizes:null,imageSrcSet:null,inert:et,inputMode:null,integrity:null,is:null,isMap:et,itemId:null,itemProp:jt,itemRef:jt,itemScope:et,itemType:jt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:et,low:be,manifest:null,max:null,maxLength:be,media:null,method:null,min:null,minLength:be,multiple:et,muted:et,name:null,nonce:null,noModule:et,noValidate:et,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:et,optimum:be,pattern:null,ping:jt,placeholder:null,playsInline:et,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:et,referrerPolicy:null,rel:jt,required:et,reversed:et,rows:be,rowSpan:be,sandbox:jt,scope:null,scoped:et,seamless:et,selected:et,shadowRootClonable:et,shadowRootDelegatesFocus:et,shadowRootMode:null,shape:null,size:be,sizes:null,slot:null,span:be,spellCheck:cn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:be,step:null,style:null,tabIndex:be,target:null,title:null,translate:null,type:null,typeMustMatch:et,useMap:null,value:cn,width:be,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:jt,axis:null,background:null,bgColor:null,border:be,borderColor:null,bottomMargin:be,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:et,declare:et,event:null,face:null,frame:null,frameBorder:null,hSpace:be,leftMargin:be,link:null,longDesc:null,lowSrc:null,marginHeight:be,marginWidth:be,noResize:et,noHref:et,noShade:et,noWrap:et,object:null,profile:null,prompt:null,rev:null,rightMargin:be,rules:null,scheme:null,scrolling:cn,standby:null,summary:null,text:null,topMargin:be,valueType:null,version:null,vAlign:null,vLink:null,vSpace:be,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:et,disableRemotePlayback:et,prefix:null,property:null,results:be,security:null,unselectable:null},space:"html",transform:S3}),kM=yl({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
333dering:"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:ma,accentHeight:be,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:be,amplitude:be,arabicForm:null,ascent:be,attributeName:null,attributeType:null,azimuth:be,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:be,by:null,calcMode:null,capHeight:be,className:jt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
333dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:be,diffuseConstant:be,direction:null,display:null,dur:null,divisor:be,dominantBaseline:null,download:et,dx:null,dy:null,edgeMode:null,editable:null,elevation:be,enableBackground:null,end:null,event:null,exponent:be,externalResourcesRequired:null,fill:null,fillOpacity:be,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:$o,g2:$o,glyphName:$o,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:be,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:be,horizOriginX:be,horizOriginY:be,id:null,ideographic:be,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:be,k:be,k1:be,k2:be,k3:be,k4:be,kernelMatrix:ma,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:be,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:be,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:be,overlineThickness:be,paintOrder:null,panose1:null,path:null,pathLength:be,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:jt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:be,pointsAtY:be,pointsAtZ:be,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ma,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ma,rev:ma,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ma,requiredFeatures:ma,requiredFonts:ma,requiredFormats:ma,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:be,specularExponent:be,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:be,strikethroughThickness:be,string:null,stroke:null,strokeDashArray:ma,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:be,strokeOpacity:be,strokeWidth:null,style:null,surfaceScale:be,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ma,tabIndex:be,tableValues:null,target:null,targetX:be,targetY:be,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ma,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:be,underlineThickness:be,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:be,values:null,vAlphabetic:be,vMathematical:be,vectorEffect:null,vHanging:be,vIdeographic:be,version:null,vertAdvY:be,vertOriginX:be,vertOriginY:be,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:be,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:w3}),A3=yl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 4,245 bytes, lines 333-334
333,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),_3=yl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S3}),k3=yl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),NM={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"},CM=/[A-Z]/g,l2=/-[a-z]/g,RM=/^data[-\w.:]+$/i;function ah(e,t){const n=rc(t);let r=t,s=ia;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&RM.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(l2,OM);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!l2.test(l)){let u=l.replace(CM,DM);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}s=Ty}return new s(r,t)}function DM(e){return"-"+e.toLowerCase()}function OM(e){return e.charAt(1).toUpperCase()}const gc=T3([E3,_M,A3,_3,k3],"html"),us=T3([E3,kM,A3,_3,k3],"svg");function u2(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function N3(e){return e.join(" ").trim()}var jo={},sg,c2;function LM(){if(c2)return sg;c2=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,d=/^\s+|\s+$/g,f=`
334`,h="/",g="*",y="",v="comment",T="declaration";function w(_,N){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];N=N||{};var P=1,I=1;function Q(xe){var de=xe.match(t);de&&(P+=de.length);var Y=xe.lastIndexOf(f);I=~Y?xe.length-Y:I+xe.length}function Z(){var xe={line:P,column:I};return function(de){return de.position=new V(xe),ge(),de}}function V(xe){this.start=xe,this.end={line:P,column:I},this.source=N.source}V.prototype.content=_;function ue(xe){var de=new Error(N.source+":"+P+":"+I+": "+xe);if(de.reason=xe,de.filename=N.source,de.line=P,de.column=I,de.source=_,!N.silent)throw de}function U(xe){var de=xe.exec(_);if(de){var Y=de[0];return Q(Y),_=_.slice(Y.length),de}}function ge(){U(n)}function j(xe){var de;for(xe=xe||[];de=ce();)de!==!1&&xe.push(de);return xe}function ce(){var xe=Z();if(!(h!=_.charAt(0)||g!=_.charAt(1))){for(var de=2;y!=_.charAt(de)&&(g!=_.charAt(de)||h!=_.charAt(de+1));)++de;if(de+=2,y===_.charAt(de-1))return ue("End of comment missing");var Y=_.slice(2,de-2);return I+=2,Q(Y),_=_.slice(de),I+=2,xe({type:v,comment:Y})}}function ee(){var xe=Z(),de=U(r);if(de){if(ce(),!U(s))return ue("property missing ':'");var Y=U(l),re=xe({type:T,property:A(de[0].replace(e,y)),value:Y?A(Y[0].replace(e,y)):y});return U(u),re}}function _e(){var xe=[];j(xe);for(var de;de=ee();)de!==!1&&(xe.push(de),j(xe));return xe}return ge(),_e()}function A(_){return _?_.replace(d,y):y}return sg=w,sg}var d2;function IM(){if(d2)return jo;d2=1;var e=jo&&jo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(jo,"__esModule",{value:!0}),jo.default=n;const t=e(LM());function n(r,s){let l=null;if(!r||typeof r!="string")return l;const u=(0,t.default)(r),d=typeof s=="function";return u.forEach(f=>{if(f.type!=="declaration")return;const{property:h,value:g}=f;d?s(h,g,f):g&&(l=l||{},l[h]=g)}),l}return jo}var vu={},f2;function MM(){if(f2)return vu;f2=1,Object.defineProperty(vu,"__esModule",{value:!0}),vu.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,l=function(h){return!h||n.test(h)||e.test(h)},u=function(h,g){return g.toUpperCase()},d=function(h,g){return"".concat(g,"-")},f=function(h,g){return g===void 0&&(g={}),l(h)?h:(h=h.toLowerCase(),g.reactCompat?h=h.replace(s,d):h=h.replace(r,d),h.replace(t,u))};return vu.camelCase=f,vu}var Tu,h2;function PM(){if(h2)return Tu;h2=1;var e=Tu&&Tu.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},t=e(IM()),n=MM();function r(s,l){var u={};
vendor: 2,733 bytes, line 334
334return!s||typeof s!="string"||(0,t.default)(s,function(d,f){d&&f&&(u[(0,n.camelCase)(d,l)]=f)}),u}return r.default=r,Tu=r,Tu}var BM=PM();const jM=Dw(BM),rh=C3("end"),Sr=C3("start");function C3(e){return t;function t(n){const r=n&&n.position&&n.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 UM(e){const t=Sr(e),n=rh(e);if(t&&n)return{start:t,end:n}}function ju(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?m2(e.position):"start"in e||"end"in e?m2(e):"line"in e||"column"in e?g0(e):""}function g0(e){return p2(e&&e.line)+":"+p2(e&&e.column)}function m2(e){return g0(e&&e.start)+"-"+g0(e&&e.end)}function p2(e){return e&&typeof e=="number"?e:1}class Pn extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let s="",l={},u=!1;if(n&&("line"in n&&"column"in n?l={place:n}:"start"in n&&"end"in n?l={place:n}:"type"in n?l={ancestors:[n],place:n.position}:l={...n}),typeof t=="string"?s=t:!l.cause&&t&&(u=!0,s=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof r=="string"){const f=r.indexOf(":");f===-1?l.ruleId=r:(l.source=r.slice(0,f),l.ruleId=r.slice(f+1))}if(!l.place&&l.ancestors&&l.ancestors){const f=l.ancestors[l.ancestors.length-1];f&&(l.place=f.position)}const d=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.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=ju(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=u&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Pn.prototype.file="";Pn.prototype.name="";Pn.prototype.reason="";Pn.prototype.message="";Pn.prototype.stack="";Pn.prototype.column=void 0;Pn.prototype.line=void 0;Pn.prototype.ancestors=void 0;Pn.prototype.cause=void 0;Pn.prototype.fatal=void 0;Pn.prototype.place=void 0;Pn.prototype.ruleId=void 0;Pn.prototype.source=void 0;const Ey={}.hasOwnProperty,HM=new Map,FM=/[A-Z]/g,zM=new Set(["table","tbody","thead","tfoot","tr"]),VM=new Set(["td","th"]),R3="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function YM(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=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=ZM(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 334
334if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=$M(n,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:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?us:gc,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=D3(s,e,void 0);return l&&typeof l!="string"?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}function D3(e,t,n){if(t.type==="element")return KM(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return qM(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return WM(e,t,n);if(t.type==="mdxjsEsm")return GM(e,t);if(t.type==="root")return XM(e,t,n);if(t.type==="text")return QM(e,t)}function KM(e,t,n){const r=e.schema;let s=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(s=us,e.schema=s),e.ancestors.push(t);const l=L3(e,t.tagName,!1),u=JM(e,t);let d=Sy(e,t);return zM.has(t.tagName)&&(d=d.filter(function(f){return typeof f=="string"?!SM(f):!0})),O3(e,u,l,t),wy(u,d),e.ancestors.pop(),e.schema=r,e.create(t,l,u,n)}function qM(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)}ic(e,t.position)}function GM(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ic(e,t.position)}function WM(e,t,n){const r=e.schema;let s=r;t.name==="svg"&&r.space==="html"&&(s=us,e.schema=s),e.ancestors.push(t);const l=t.name===null?e.Fragment:L3(e,t.name,!0),u=eP(e,t),d=Sy(e,t);return O3(e,u,l,t),wy(u,d),e.ancestors.pop(),e.schema=r,e.create(t,l,u,n)}function XM(e,t,n){const r={};return wy(r,Sy(e,t)),e.create(t,e.Fragment,r,n)}function QM(e,t){return t.value}function O3(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function wy(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function $M(e,t,n){return r;function r(s,l,u,d){const h=Array.isArray(u.children)?n:t;return d?h(l,u,d):h(l,u)}}function ZM(e,t){return n;function n(r,s,l,u){const d=Array.isArray(l.children),f=Sr(r);return t(s,l,u,d,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function JM(e,t){const n={};let r,s;for(s in t.properties)if(s!=="children"&&Ey.call(t.properties,s)){const l=tP(e,s,t.properties[s]);if(l){const[u,d]=l;e.tableCellAlignToStyle&&u==="align"&&typeof d=="string"&&VM.has(t.tagName)?r=d:n[u]=d}}if(r){const l=n.style||(n.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function eP(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const l=r.data.estree.body[0];l.type;const u=l.expression;u.type;const d=u.properties[0];d.type,Object.assign(n,e.evaluater.evaluateExpression(d.argument))}else ic(e,t.position);else{const s=r.name;let l;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,l=e.evaluater.evaluateExpression(d.expression)}else ic(e,t.position);else l=r.value===null?!0:r.value;n[s]=l}return n}function Sy(e,t){const n=[];let r=-1;const s=e.passKeys?new Map:HM;for(;++r<t.children.length;){const l=t.children[r];let u;if(e.passKeys){const f=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(f){const h=s.get(f)||0;u=f+"-"+h,s.set(f,h+1)}}const d=D3(e,l,u);d!==void 0&&n.push(d)}return n}function tP(e,t,n){const r=ah(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?v3(n):N3(n)),r.property==="style"){let s=typeof n=="object"?n:nP(e,String(n));return e.stylePropertyNameCase==="css"&&(s=aP(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&r.space?NM[r.property]||r.property:r.attribute,n]}}function nP(e,t){try{return jM(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,s=new Pn("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=R3+"#cannot-parse-style-attribute",s}}function L3(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const s=t.split(".");let l=-1,u;for(;++l<s.length;){const d=i2(s[l])?{type:"Identifier",name:s[l]}:{type:"Literal",value:s[l]};u=u?{type:"MemberExpression",object:u,property:d,computed:!!(l&&d.type==="Literal"),optional:!1}:d}r=u}else r=i2(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const s=r.value;return Ey.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(r);ic(e)}function ic(e,t){const n=new Pn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=R3+"#cannot-handle-mdx-estrees-without-createevaluater",n}function aP(e){const t={};let n;for(n in e)Ey.call(e,n)&&(t[rP(n)]=e[n]);return t}function rP(e){let t=e.replace(FM,iP);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function iP(e){return"-"+e.toLowerCase()}const og={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"]},sP={};function Ay(e,t){const n=sP,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,s=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return I3(e,r,s)}function I3(e,t,n){if(oP(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return g2(e.children,t,n)}return Array.isArray(e)?g2(e,t,n):""}function g2(e,t,n){const r=[];let s=-1;for(;++s<e.length;)r[s]=I3(e[s],t,n);return r.join("")}function oP(e){return!!(e&&typeof e=="object")}const y2=document.createElement("i");function _y(e){const t="&"+e+";";y2.innerHTML=t;const n=y2.textContent;
vendor: 14,534 bytes, line 334
334return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function ya(e,t,n,r){const s=e.length;let l=0,u;if(t<0?t=-t>s?0:s+t:t=t>s?s:t,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);l<r.length;)u=r.slice(l,l+1e4),u.unshift(t,0),e.splice(...u),l+=1e4,t+=1e4}function Ia(e,t){return e.length>0?(ya(e,e.length,0,t),e):t}const b2={}.hasOwnProperty;function M3(e){const t={};let n=-1;for(;++n<e.length;)lP(t,e[n]);return t}function lP(e,t){let n;for(n in t){const s=(b2.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];let u;if(l)for(u in l){b2.call(s,u)||(s[u]=[]);const d=l[u];uP(s[u],Array.isArray(d)?d:d?[d]:[])}}}function uP(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ya(e,0,0,r)}function P3(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function rr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const zn=cs(/[A-Za-z]/),Mn=cs(/[\dA-Za-z]/),cP=cs(/[#-'*+\--9=?A-Z^-~]/);function jf(e){return e!==null&&(e<32||e===127)}const y0=cs(/\d/),dP=cs(/[\dA-Fa-f]/),fP=cs(/[!-/:-@[-`{-~]/);function Ue(e){return e!==null&&e<-2}function Pt(e){return e!==null&&(e<0||e===32)}function lt(e){return e===-2||e===-1||e===32}const ih=cs(new RegExp("\\p{P}|\\p{S}","u")),qs=cs(/\s/);function cs(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function bl(e){const t=[];let n=-1,r=0,s=0;for(;++n<e.length;){const l=e.charCodeAt(n);let u="";if(l===37&&Mn(e.charCodeAt(n+1))&&Mn(e.charCodeAt(n+2)))s=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(u=String.fromCharCode(l));else if(l>55295&&l<57344){const d=e.charCodeAt(n+1);l<56320&&d>56319&&d<57344?(u=String.fromCharCode(l,d),s=1):u="�"}else u=String.fromCharCode(l);u&&(t.push(e.slice(r,n),encodeURIComponent(u)),r=n+s+1,u=""),s&&(n+=s,s=0)}return t.join("")+e.slice(r)}function ft(e,t,n,r){const s=r?r-1:Number.POSITIVE_INFINITY;let l=0;return u;function u(f){return lt(f)?(e.enter(n),d(f)):t(f)}function d(f){return lt(f)&&l++<s?(e.consume(f),d):(e.exit(n),t(f))}}const hP={tokenize:mP};function mP(e){const t=e.attempt(this.parser.constructs.contentInitial,r,s);let n;return t;function r(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),ft(e,t,"linePrefix")}function s(d){return e.enter("paragraph"),l(d)}function l(d){const f=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=f),n=f,u(d)}function u(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return Ue(d)?(e.consume(d),e.exit("chunkText"),l):(e.consume(d),u)}}const pP={tokenize:gP},x2={tokenize:yP};function gP(e){const t=this,n=[];let r=0,s,l,u;return d;function d(I){if(r<n.length){const Q=n[r];return t.containerState=Q[1],e.attempt(Q[0].continuation,f,h)(I)}return h(I)}function f(I){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&P();const Q=t.events.length;let Z=Q,V;for(;Z--;)if(t.events[Z][0]==="exit"&&t.events[Z][1].type==="chunkFlow"){V=t.events[Z][1].end;break}N(r);let ue=Q;for(;ue<t.events.length;)t.events[ue][1].end={...V},ue++;return ya(t.events,Z+1,0,t.events.slice(Q)),t.events.length=ue,h(I)}return d(I)}function h(I){if(r===n.length){if(!s)return v(I);if(s.currentConstruct&&s.currentConstruct.concrete)return w(I);t.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(x2,g,y)(I)}function g(I){return s&&P(),N(r),v(I)}function y(I){return t.parser.lazy[t.now().line]=r!==n.length,u=t.now().offset,w(I)}function v(I){return t.containerState={},e.attempt(x2,T,w)(I)}function T(I){return r++,n.push([t.currentConstruct,t.containerState]),v(I)}function w(I){if(I===null){s&&P(),N(0),e.consume(I);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:l}),A(I)}function A(I){if(I===null){_(e.exit("chunkFlow"),!0),N(0),e.consume(I);return}return Ue(I)?(e.consume(I),_(e.exit("chunkFlow")),r=0,t.interrupt=void 0,d):(e.consume(I),A)}function _(I,Q){const Z=t.sliceStream(I);if(Q&&Z.push(null),I.previous=l,l&&(l.next=I),l=I,s.defineSkip(I.start),s.write(Z),t.parser.lazy[I.start.line]){let V=s.events.length;for(;V--;)if(s.events[V][1].start.offset<u&&(!s.events[V][1].end||s.events[V][1].end.offset>u))return;const ue=t.events.length;let U=ue,ge,j;for(;U--;)if(t.events[U][0]==="exit"&&t.events[U][1].type==="chunkFlow"){if(ge){j=t.events[U][1].end;break}ge=!0}for(N(r),V=ue;V<t.events.length;)t.events[V][1].end={...j},V++;ya(t.events,U+1,0,t.events.slice(ue)),t.events.length=V}}function N(I){let Q=n.length;for(;Q-- >I;){const Z=n[Q];t.containerState=Z[1],Z[0].exit.call(t,e)}n.length=I}function P(){s.write([null]),l=void 0,s=void 0,t.containerState._closeFlow=void 0}}function yP(e,t,n){return ft(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function sl(e){if(e===null||Pt(e)||qs(e))return 1;if(ih(e))return 2}function sh(e,t,n){const r=[];let s=-1;for(;++s<e.length;){const l=e[s].resolveAll;l&&!r.includes(l)&&(t=l(t,n),r.push(l))}return t}const b0={name:"attention",resolveAll:bP,tokenize:xP};function bP(e,t){let n=-1,r,s,l,u,d,f,h,g;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;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[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;f=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const y={...e[r][1].end},v={...e[n][1].start};v2(y,-f),v2(v,f),u={type:f>1?"strongSequence":"emphasisSequence",start:y,end:{...e[r][1].end}},d={type:f>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:v},l={type:f>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},s={type:f>1?"strong":"emphasis",start:{...u.start},end:{...d.end}},e[r][1].end={...u.start},e[n][1].start={...d.end},h=[],e[r][1].end.offset-e[r][1].start.offset&&(h=Ia(h,[["enter",e[r][1],t],["exit",e[r][1],t]])),h=Ia(h,[["enter",s,t],["enter",u,t],["exit",u,t],["enter",l,t]]),h=Ia(h,sh(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),h=Ia(h,[["exit",l,t],["enter",d,t],["exit",d,t],["exit",s,t]]),e[n][1].end.offset-e[n][1].start.offset?(g=2,h=Ia(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):g=0,ya(e,r-1,n-r+3,h),n=r+h.length-g-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function xP(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,s=sl(r);let l;return u;function u(f){return l=f,e.enter("attentionSequence"),d(f)}function d(f){if(f===l)return e.consume(f),d;const h=e.exit("attentionSequence"),g=sl(f),y=!g||g===2&&s||n.includes(f),v=!s||s===2&&g||n.includes(r);return h._open=!!(l===42?y:y&&(s||!v)),h._close=!!(l===42?v:v&&(g||!y)),t(f)}}function v2(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const vP={name:"autolink",tokenize:TP};function TP(e,t,n){let r=0;return s;function s(T){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(T),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(T){return zn(T)?(e.consume(T),u):T===64?n(T):h(T)}function u(T){return T===43||T===45||T===46||Mn(T)?(r=1,d(T)):h(T)}function d(T){return T===58?(e.consume(T),r=0,f):(T===43||T===45||T===46||Mn(T))&&r++<32?(e.consume(T),d):(r=0,h(T))}function f(T){return T===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(T),e.exit("autolinkMarker"),e.exit("autolink"),t):T===null||T===32||T===60||jf(T)?n(T):(e.consume(T),f)}function h(T){return T===64?(e.consume(T),g):cP(T)?(e.consume(T),h):n(T)}function g(T){return Mn(T)?y(T):n(T)}function y(T){return T===46?(e.consume(T),r=0,g):T===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(T),e.exit("autolinkMarker"),e.exit("autolink"),t):v(T)}function v(T){if((T===45||Mn(T))&&r++<63){const w=T===45?v:y;return e.consume(T),w}return n(T)}}const yc={partial:!0,tokenize:EP};function EP(e,t,n){return r;function r(l){return lt(l)?ft(e,s,"linePrefix")(l):s(l)}function s(l){return l===null||Ue(l)?t(l):n(l)}}const B3={continuation:{tokenize:SP},exit:AP,name:"blockQuote",tokenize:wP};function wP(e,t,n){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"),l}return n(u)}function l(u){return lt(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function SP(e,t,n){const r=this;return s;function s(u){return lt(u)?ft(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):l(u)}function l(u){return e.attempt(B3,t,n)(u)}}function AP(e){e.exit("blockQuote")}const j3={name:"characterEscape",tokenize:_P};function _P(e,t,n){return r;function r(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),s}function s(l){return fP(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(l)}}const U3={name:"characterReference",tokenize:kP};function kP(e,t,n){const r=this;let s=0,l,u;return d;function d(y){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(y),e.exit("characterReferenceMarker"),f}function f(y){return y===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(y),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),l=31,u=Mn,g(y))}function h(y){return y===88||y===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(y),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,u=dP,g):(e.enter("characterReferenceValue"),l=7,u=y0,g(y))}function g(y){if(y===59&&s){const v=e.exit("characterReferenceValue");return u===Mn&&!_y(r.sliceSerialize(v))?n(y):(e.enter("characterReferenceMarker"),e.consume(y),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(y)&&s++<l?(e.consume(y),g):n(y)}}const T2={partial:!0,tokenize:CP},E2={concrete:!0,name:"codeFenced",tokenize:NP};function NP(e,t,n){const r=this,s={partial:!0,tokenize:Z};let l=0,u=0,d;return f;function f(V){return h(V)}function h(V){const ue=r.events[r.events.length-1];return l=ue&&ue[1].type==="linePrefix"?ue[2].sliceSerialize(ue[1],!0).length:0,d=V,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),g(V)}function g(V){return V===d?(u++,e.consume(V),g):u<3?n(V):(e.exit("codeFencedFenceSequence"),lt(V)?ft(e,y,"whitespace")(V):y(V))}function y(V){return V===null||Ue(V)?(e.exit("codeFencedFence"),r.interrupt?t(V):e.check(T2,A,Q)(V)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),v(V))}function v(V){return V===null||Ue(V)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),y(V)):lt(V)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ft(e,T,"whitespace")(V)):V===96&&V===d?n(V):(e.consume(V),v)}function T(V){return V===null||Ue(V)?y(V):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),w(V))}function w(V){return V===null||Ue(V)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),y(V)):V===96&&V===d?n(V):(e.consume(V),w)}function A(V){return e.attempt(s,Q,_)(V)}function _(V){return e.enter("lineEnding"),e.consume(V),e.exit("lineEnding"),N}function N(V){return l>0&&lt(V)?ft(e,P,"linePrefix",l+1)(V):P(V)}function P(V){return V===null||Ue(V)?e.check(T2,A,Q)(V):(e.enter("codeFlowValue"),I(V))}function I(V){return V===null||Ue(V)?(e.exit("codeFlowValue"),P(V)):(e.consume(V),I)}function Q(V){return e.exit("codeFenced"),t(V)}function Z(V,ue,U){let ge=0;return j;function j(de){return V.enter("lineEnding"),V.consume(de),V.exit("lineEnding"),ce}function ce(de){return V.enter("codeFencedFence"),lt(de)?ft(V,ee,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(de):ee(de)}function ee(de){return de===d?(V.enter("codeFencedFenceSequence"),_e(de)):U(de)}function _e(de){return de===d?(ge++,V.consume(de),_e):ge>=u?(V.exit("codeFencedFenceSequence"),lt(de)?ft(V,xe,"whitespace")(de):xe(de)):U(de)}function xe(de){return de===null||Ue(de)?(V.exit("codeFencedFence"),ue(de)):U(de)}}}function CP(e,t,n){const r=this;return s;function s(u){return u===null?n(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l)}function l(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}const lg={name:"codeIndented",tokenize:DP},RP={partial:!0,tokenize:OP};function DP(e,t,n){const r=this;return s;function s(h){return e.enter("codeIndented"),ft(e,l,"linePrefix",5)(h)}function l(h){const g=r.events[r.events.length-1];return g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?u(h):n(h)}function u(h){return h===null?f(h):Ue(h)?e.attempt(RP,u,f)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||Ue(h)?(e.exit("codeFlowValue"),u(h)):(e.consume(h),d)}function f(h){return e.exit("codeIndented"),t(h)}}function OP(e,t,n){const r=this;return s;function s(u){return r.parser.lazy[r.now().line]?n(u):Ue(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):ft(e,l,"linePrefix",5)(u)}function l(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):Ue(u)?s(u):n(u)}}const LP={name:"codeText",previous:MP,resolve:IP,tokenize:PP};function IP(e){let t=e.length-4,n=3,r,s;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-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 MP(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function PP(e,t,n){let r=0,s,l;return u;
vendor: 11,967 bytes, line 334
334function u(y){return e.enter("codeText"),e.enter("codeTextSequence"),d(y)}function d(y){return y===96?(e.consume(y),r++,d):(e.exit("codeTextSequence"),f(y))}function f(y){return y===null?n(y):y===32?(e.enter("space"),e.consume(y),e.exit("space"),f):y===96?(l=e.enter("codeTextSequence"),s=0,g(y)):Ue(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(y))}function h(y){return y===null||y===32||y===96||Ue(y)?(e.exit("codeTextData"),f(y)):(e.consume(y),h)}function g(y){return y===96?(e.consume(y),s++,g):s===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(y)):(l.type="codeTextData",h(y))}}class BP{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,n){const r=n??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,n,r){const s=n||0;this.setCursor(Math.trunc(t));const l=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return r&&Eu(this.left,r),l.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),Eu(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Eu(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 n=this.left.splice(t,Number.POSITIVE_INFINITY);Eu(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Eu(this.left,n.reverse())}}}function Eu(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function H3(e){const t={};let n=-1,r,s,l,u,d,f,h;const g=new BP(e);for(;++n<g.length;){for(;n in t;)n=t[n];if(r=g.get(n),n&&r[1].type==="chunkFlow"&&g.get(n-1)[1].type==="listItemPrefix"&&(f=r[1]._tokenizer.events,l=0,l<f.length&&f[l][1].type==="lineEndingBlank"&&(l+=2),l<f.length&&f[l][1].type==="content"))for(;++l<f.length&&f[l][1].type!=="content";)f[l][1].type==="chunkText"&&(f[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,jP(g,n)),n=t[n],h=!0);else if(r[1]._container){for(l=n,s=void 0;l--;)if(u=g.get(l),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(s&&(g.get(s)[1].type="lineEndingBlank"),u[1].type="lineEnding",s=l);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;s&&(r[1].end={...g.get(s)[1].start},d=g.slice(s,n),d.unshift(r),g.splice(s,n-s+1,d))}}return ya(e,0,Number.POSITIVE_INFINITY,g.slice(0)),!h}function jP(e,t){const n=e.get(t)[1],r=e.get(t)[2];let s=t-1;const l=[];let u=n._tokenizer;u||(u=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const d=u.events,f=[],h={};let g,y,v=-1,T=n,w=0,A=0;const _=[A];for(;T;){for(;e.get(++s)[1]!==T;);l.push(s),T._tokenizer||(g=r.sliceStream(T),T.next||g.push(null),y&&u.defineSkip(T.start),T._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(g),T._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),y=T,T=T.next}for(T=n;++v<d.length;)d[v][0]==="exit"&&d[v-1][0]==="enter"&&d[v][1].type===d[v-1][1].type&&d[v][1].start.line!==d[v][1].end.line&&(A=v+1,_.push(A),T._tokenizer=void 0,T.previous=void 0,T=T.next);for(u.events=[],T?(T._tokenizer=void 0,T.previous=void 0):_.pop(),v=_.length;v--;){const N=d.slice(_[v],_[v+1]),P=l.pop();f.push([P,P+N.length-1]),e.splice(P,2,N)}for(f.reverse(),v=-1;++v<f.length;)h[w+f[v][0]]=w+f[v][1],w+=f[v][1]-f[v][0]-1;return h}const UP={resolve:FP,tokenize:zP},HP={partial:!0,tokenize:VP};function FP(e){return H3(e),e}function zP(e,t){let n;return r;function r(d){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?l(d):Ue(d)?e.check(HP,u,l)(d):(e.consume(d),s)}function l(d){return e.exit("chunkContent"),e.exit("content"),t(d)}function u(d){return e.consume(d),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,s}}function VP(e,t,n){const r=this;return s;function s(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),ft(e,l,"linePrefix")}function l(u){if(u===null||Ue(u))return n(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,n,t)(u)}}function F3(e,t,n,r,s,l,u,d,f){const h=f||Number.POSITIVE_INFINITY;let g=0;return y;function y(N){return N===60?(e.enter(r),e.enter(s),e.enter(l),e.consume(N),e.exit(l),v):N===null||N===32||N===41||jf(N)?n(N):(e.enter(r),e.enter(u),e.enter(d),e.enter("chunkString",{contentType:"string"}),A(N))}function v(N){return N===62?(e.enter(l),e.consume(N),e.exit(l),e.exit(s),e.exit(r),t):(e.enter(d),e.enter("chunkString",{contentType:"string"}),T(N))}function T(N){return N===62?(e.exit("chunkString"),e.exit(d),v(N)):N===null||N===60||Ue(N)?n(N):(e.consume(N),N===92?w:T)}function w(N){return N===60||N===62||N===92?(e.consume(N),T):T(N)}function A(N){return!g&&(N===null||N===41||Pt(N))?(e.exit("chunkString"),e.exit(d),e.exit(u),e.exit(r),t(N)):g<h&&N===40?(e.consume(N),g++,A):N===41?(e.consume(N),g--,A):N===null||N===32||N===40||jf(N)?n(N):(e.consume(N),N===92?_:A)}function _(N){return N===40||N===41||N===92?(e.consume(N),A):A(N)}}function z3(e,t,n,r,s,l){const u=this;let d=0,f;return h;function h(T){return e.enter(r),e.enter(s),e.consume(T),e.exit(s),e.enter(l),g}function g(T){return d>999||T===null||T===91||T===93&&!f||T===94&&!d&&"_hiddenFootnoteSupport"in u.parser.constructs?n(T):T===93?(e.exit(l),e.enter(s),e.consume(T),e.exit(s),e.exit(r),t):Ue(T)?(e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),g):(e.enter("chunkString",{contentType:"string"}),y(T))}function y(T){return T===null||T===91||T===93||Ue(T)||d++>999?(e.exit("chunkString"),g(T)):(e.consume(T),f||(f=!lt(T)),T===92?v:y)}function v(T){return T===91||T===92||T===93?(e.consume(T),d++,y):y(T)}}function V3(e,t,n,r,s,l){let u;return d;function d(v){return v===34||v===39||v===40?(e.enter(r),e.enter(s),e.consume(v),e.exit(s),u=v===40?41:v,f):n(v)}function f(v){return v===u?(e.enter(s),e.consume(v),e.exit(s),e.exit(r),t):(e.enter(l),h(v))}function h(v){return v===u?(e.exit(l),f(u)):v===null?n(v):Ue(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),ft(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===u||v===null||Ue(v)?(e.exit("chunkString"),h(v)):(e.consume(v),v===92?y:g)}function y(v){return v===u||v===92?(e.consume(v),g):g(v)}}function Uu(e,t){let n;return r;function r(s){return Ue(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,r):lt(s)?ft(e,r,n?"linePrefix":"lineSuffix")(s):t(s)}}const YP={name:"definition",tokenize:qP},KP={partial:!0,tokenize:GP};function qP(e,t,n){const r=this;let s;return l;function l(T){return e.enter("definition"),u(T)}function u(T){return z3.call(r,e,d,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(T)}function d(T){return s=rr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),T===58?(e.enter("definitionMarker"),e.consume(T),e.exit("definitionMarker"),f):n(T)}function f(T){return Pt(T)?Uu(e,h)(T):h(T)}function h(T){return F3(e,g,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(T)}function g(T){return e.attempt(KP,y,y)(T)}function y(T){return lt(T)?ft(e,v,"whitespace")(T):v(T)}function v(T){return T===null||Ue(T)?(e.exit("definition"),r.parser.defined.push(s),t(T)):n(T)}}function GP(e,t,n){return r;function r(d){return Pt(d)?Uu(e,s)(d):n(d)}function s(d){return V3(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function l(d){return lt(d)?ft(e,u,"whitespace")(d):u(d)}function u(d){return d===null||Ue(d)?t(d):n(d)}}const WP={name:"hardBreakEscape",tokenize:XP};function XP(e,t,n){return r;function r(l){return e.enter("hardBreakEscape"),e.consume(l),s}function s(l){return Ue(l)?(e.exit("hardBreakEscape"),t(l)):n(l)}}const QP={name:"headingAtx",resolve:$P,tokenize:ZP};function $P(e,t){let n=e.length-2,r=3,s,l;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(s={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},l={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ya(e,r,n-r+1,[["enter",s,t],["enter",l,t],["exit",l,t],["exit",s,t]])),e}function ZP(e,t,n){let r=0;return s;function s(g){return e.enter("atxHeading"),l(g)}function l(g){return e.enter("atxHeadingSequence"),u(g)}function u(g){return g===35&&r++<6?(e.consume(g),u):g===null||Pt(g)?(e.exit("atxHeadingSequence"),d(g)):n(g)}function d(g){return g===35?(e.enter("atxHeadingSequence"),f(g)):g===null||Ue(g)?(e.exit("atxHeading"),t(g)):lt(g)?ft(e,d,"whitespace")(g):(e.enter("atxHeadingText"),h(g))}function f(g){return g===35?(e.consume(g),f):(e.exit("atxHeadingSequence"),d(g))}function h(g){return g===null||g===35||Pt(g)?(e.exit("atxHeadingText"),d(g)):(e.consume(g),h)}}const JP=["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"],w2=["pre","script","style","textarea"],e9={concrete:!0,name:"htmlFlow",resolveTo:a9,tokenize:r9},t9={partial:!0,tokenize:s9},n9={partial:!0,tokenize:i9};function a9(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 r9(e,t,n){const r=this;let s,l,u,d,f;return h;function h(O){return g(O)}function g(O){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(O),y}function y(O){return O===33?(e.consume(O),v):O===47?(e.consume(O),l=!0,A):O===63?(e.consume(O),s=3,r.interrupt?t:R):zn(O)?(e.consume(O),u=String.fromCharCode(O),_):n(O)}function v(O){return O===45?(e.consume(O),s=2,T):O===91?(e.consume(O),s=5,d=0,w):zn(O)?(e.consume(O),s=4,r.interrupt?t:R):n(O)}function T(O){return O===45?(e.consume(O),r.interrupt?t:R):n(O)}function w(O){const Xe="CDATA[";return O===Xe.charCodeAt(d++)?(e.consume(O),d===Xe.length?r.interrupt?t:ee:w):n(O)}function A(O){return zn(O)?(e.consume(O),u=String.fromCharCode(O),_):n(O)}function _(O){if(O===null||O===47||O===62||Pt(O)){const Xe=O===47,Et=u.toLowerCase();return!Xe&&!l&&w2.includes(Et)?(s=1,r.interrupt?t(O):ee(O)):JP.includes(u.toLowerCase())?(s=6,Xe?(e.consume(O),N):r.interrupt?t(O):ee(O)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(O):l?P(O):I(O))}return O===45||Mn(O)?(e.consume(O),u+=String.fromCharCode(O),_):n(O)}function N(O){return O===62?(e.consume(O),r.interrupt?t:ee):n(O)}function P(O){return lt(O)?(e.consume(O),P):j(O)}
vendor: 10,265 bytes, line 334
334function I(O){return O===47?(e.consume(O),j):O===58||O===95||zn(O)?(e.consume(O),Q):lt(O)?(e.consume(O),I):j(O)}function Q(O){return O===45||O===46||O===58||O===95||Mn(O)?(e.consume(O),Q):Z(O)}function Z(O){return O===61?(e.consume(O),V):lt(O)?(e.consume(O),Z):I(O)}function V(O){return O===null||O===60||O===61||O===62||O===96?n(O):O===34||O===39?(e.consume(O),f=O,ue):lt(O)?(e.consume(O),V):U(O)}function ue(O){return O===f?(e.consume(O),f=null,ge):O===null||Ue(O)?n(O):(e.consume(O),ue)}function U(O){return O===null||O===34||O===39||O===47||O===60||O===61||O===62||O===96||Pt(O)?Z(O):(e.consume(O),U)}function ge(O){return O===47||O===62||lt(O)?I(O):n(O)}function j(O){return O===62?(e.consume(O),ce):n(O)}function ce(O){return O===null||Ue(O)?ee(O):lt(O)?(e.consume(O),ce):n(O)}function ee(O){return O===45&&s===2?(e.consume(O),Y):O===60&&s===1?(e.consume(O),re):O===62&&s===4?(e.consume(O),Re):O===63&&s===3?(e.consume(O),R):O===93&&s===5?(e.consume(O),Ee):Ue(O)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(t9,He,_e)(O)):O===null||Ue(O)?(e.exit("htmlFlowData"),_e(O)):(e.consume(O),ee)}function _e(O){return e.check(n9,xe,He)(O)}function xe(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),de}function de(O){return O===null||Ue(O)?_e(O):(e.enter("htmlFlowData"),ee(O))}function Y(O){return O===45?(e.consume(O),R):ee(O)}function re(O){return O===47?(e.consume(O),u="",pe):ee(O)}function pe(O){if(O===62){const Xe=u.toLowerCase();return w2.includes(Xe)?(e.consume(O),Re):ee(O)}return zn(O)&&u.length<8?(e.consume(O),u+=String.fromCharCode(O),pe):ee(O)}function Ee(O){return O===93?(e.consume(O),R):ee(O)}function R(O){return O===62?(e.consume(O),Re):O===45&&s===2?(e.consume(O),R):ee(O)}function Re(O){return O===null||Ue(O)?(e.exit("htmlFlowData"),He(O)):(e.consume(O),Re)}function He(O){return e.exit("htmlFlow"),t(O)}}function i9(e,t,n){const r=this;return s;function s(u){return Ue(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l):n(u)}function l(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}function s9(e,t,n){return r;function r(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(yc,t,n)}}const o9={name:"htmlText",tokenize:l9};function l9(e,t,n){const r=this;let s,l,u;return d;function d(R){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(R),f}function f(R){return R===33?(e.consume(R),h):R===47?(e.consume(R),Z):R===63?(e.consume(R),I):zn(R)?(e.consume(R),U):n(R)}function h(R){return R===45?(e.consume(R),g):R===91?(e.consume(R),l=0,w):zn(R)?(e.consume(R),P):n(R)}function g(R){return R===45?(e.consume(R),T):n(R)}function y(R){return R===null?n(R):R===45?(e.consume(R),v):Ue(R)?(u=y,re(R)):(e.consume(R),y)}function v(R){return R===45?(e.consume(R),T):y(R)}function T(R){return R===62?Y(R):R===45?v(R):y(R)}function w(R){const Re="CDATA[";return R===Re.charCodeAt(l++)?(e.consume(R),l===Re.length?A:w):n(R)}function A(R){return R===null?n(R):R===93?(e.consume(R),_):Ue(R)?(u=A,re(R)):(e.consume(R),A)}function _(R){return R===93?(e.consume(R),N):A(R)}function N(R){return R===62?Y(R):R===93?(e.consume(R),N):A(R)}function P(R){return R===null||R===62?Y(R):Ue(R)?(u=P,re(R)):(e.consume(R),P)}function I(R){return R===null?n(R):R===63?(e.consume(R),Q):Ue(R)?(u=I,re(R)):(e.consume(R),I)}function Q(R){return R===62?Y(R):I(R)}function Z(R){return zn(R)?(e.consume(R),V):n(R)}function V(R){return R===45||Mn(R)?(e.consume(R),V):ue(R)}function ue(R){return Ue(R)?(u=ue,re(R)):lt(R)?(e.consume(R),ue):Y(R)}function U(R){return R===45||Mn(R)?(e.consume(R),U):R===47||R===62||Pt(R)?ge(R):n(R)}function ge(R){return R===47?(e.consume(R),Y):R===58||R===95||zn(R)?(e.consume(R),j):Ue(R)?(u=ge,re(R)):lt(R)?(e.consume(R),ge):Y(R)}function j(R){return R===45||R===46||R===58||R===95||Mn(R)?(e.consume(R),j):ce(R)}function ce(R){return R===61?(e.consume(R),ee):Ue(R)?(u=ce,re(R)):lt(R)?(e.consume(R),ce):ge(R)}function ee(R){return R===null||R===60||R===61||R===62||R===96?n(R):R===34||R===39?(e.consume(R),s=R,_e):Ue(R)?(u=ee,re(R)):lt(R)?(e.consume(R),ee):(e.consume(R),xe)}function _e(R){return R===s?(e.consume(R),s=void 0,de):R===null?n(R):Ue(R)?(u=_e,re(R)):(e.consume(R),_e)}function xe(R){return R===null||R===34||R===39||R===60||R===61||R===96?n(R):R===47||R===62||Pt(R)?ge(R):(e.consume(R),xe)}function de(R){return R===47||R===62||Pt(R)?ge(R):n(R)}function Y(R){return R===62?(e.consume(R),e.exit("htmlTextData"),e.exit("htmlText"),t):n(R)}function re(R){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),pe}function pe(R){return lt(R)?ft(e,Ee,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):Ee(R)}function Ee(R){return e.enter("htmlTextData"),u(R)}}const ky={name:"labelEnd",resolveAll:f9,resolveTo:h9,tokenize:m9},u9={tokenize:p9},c9={tokenize:g9},d9={tokenize:y9};function f9(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.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!==n.length&&ya(e,0,e.length,n),e}function h9(e,t){let n=e.length,r=0,s,l,u,d;for(;n--;)if(s=e[n][1],l){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[n][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(u){if(e[n][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(l=n,s.type!=="labelLink")){r=2;break}}else s.type==="labelEnd"&&(u=n);const f={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[l][1].start},end:{...e[u][1].end}},g={type:"labelText",start:{...e[l+r+2][1].end},end:{...e[u-2][1].start}};return d=[["enter",f,t],["enter",h,t]],d=Ia(d,e.slice(l+1,l+r+3)),d=Ia(d,[["enter",g,t]]),d=Ia(d,sh(t.parser.constructs.insideSpan.null,e.slice(l+r+4,u-3),t)),d=Ia(d,[["exit",g,t],e[u-2],e[u-1],["exit",h,t]]),d=Ia(d,e.slice(u+1)),d=Ia(d,[["exit",f,t]]),ya(e,l,e.length,d),e}function m9(e,t,n){const r=this;let s=r.events.length,l,u;for(;s--;)if((r.events[s][1].type==="labelImage"||r.events[s][1].type==="labelLink")&&!r.events[s][1]._balanced){l=r.events[s][1];break}return d;function d(v){return l?l._inactive?y(v):(u=r.parser.defined.includes(rr(r.sliceSerialize({start:l.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(v),e.exit("labelMarker"),e.exit("labelEnd"),f):n(v)}function f(v){return v===40?e.attempt(u9,g,u?g:y)(v):v===91?e.attempt(c9,g,u?h:y)(v):u?g(v):y(v)}function h(v){return e.attempt(d9,g,y)(v)}function g(v){return t(v)}function y(v){return l._balanced=!0,n(v)}}function p9(e,t,n){return r;function r(y){return e.enter("resource"),e.enter("resourceMarker"),e.consume(y),e.exit("resourceMarker"),s}function s(y){return Pt(y)?Uu(e,l)(y):l(y)}function l(y){return y===41?g(y):F3(e,u,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(y)}function u(y){return Pt(y)?Uu(e,f)(y):g(y)}function d(y){return n(y)}function f(y){return y===34||y===39||y===40?V3(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(y):g(y)}function h(y){return Pt(y)?Uu(e,g)(y):g(y)}function g(y){return y===41?(e.enter("resourceMarker"),e.consume(y),e.exit("resourceMarker"),e.exit("resource"),t):n(y)}}function g9(e,t,n){const r=this;return s;function s(d){return z3.call(r,e,l,u,"reference","referenceMarker","referenceString")(d)}function l(d){return r.parser.defined.includes(rr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(d):n(d)}function u(d){return n(d)}}function y9(e,t,n){return r;function r(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),s}function s(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):n(l)}}const b9={name:"labelStartImage",resolveAll:ky.resolveAll,tokenize:x9};function x9(e,t,n){const r=this;return s;function s(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),l}function l(d){return d===91?(e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),u):n(d)}function u(d){return d===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(d):t(d)}}const v9={name:"labelStartLink",resolveAll:ky.resolveAll,tokenize:T9};function T9(e,t,n){const r=this;return s;function s(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),l}function l(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const ug={name:"lineEnding",tokenize:E9};function E9(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ft(e,t,"linePrefix")}}const pf={name:"thematicBreak",tokenize:w9};function w9(e,t,n){let r=0,s;return l;function l(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||Ue(h))?(e.exit("thematicBreak"),t(h)):n(h)}function f(h){return h===s?(e.consume(h),r++,f):(e.exit("thematicBreakSequence"),lt(h)?ft(e,d,"whitespace")(h):d(h))}}const aa={continuation:{tokenize:k9},exit:C9,name:"list",tokenize:_9},S9={partial:!0,tokenize:R9},A9={partial:!0,tokenize:N9};function _9(e,t,n){const r=this,s=r.events[r.events.length-1];let l=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,u=0;return d;function d(T){const w=r.containerState.type||(T===42||T===43||T===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!r.containerState.marker||T===r.containerState.marker:y0(T)){if(r.containerState.type||(r.containerState.type=w,e.enter(w,{_container:!0})),w==="listUnordered")return e.enter("listItemPrefix"),T===42||T===45?e.check(pf,n,h)(T):h(T);if(!r.interrupt||T===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(T)}return n(T)}function f(T){return y0(T)&&++u<10?(e.consume(T),f):(!r.interrupt||u<2)&&(r.containerState.marker?T===r.containerState.marker:T===41||T===46)?(e.exit("listItemValue"),h(T)):n(T)}function h(T){return e.enter("listItemMarker"),e.consume(T),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||T,e.check(yc,r.interrupt?n:g,e.attempt(S9,v,y))}
vendor: 5,359 bytes, line 334
334function g(T){return r.containerState.initialBlankLine=!0,l++,v(T)}function y(T){return lt(T)?(e.enter("listItemPrefixWhitespace"),e.consume(T),e.exit("listItemPrefixWhitespace"),v):n(T)}function v(T){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(T)}}function k9(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(yc,s,l);function s(d){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ft(e,t,"listItemIndent",r.containerState.size+1)(d)}function l(d){return r.containerState.furtherBlankLines||!lt(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(A9,t,u)(d))}function u(d){return r.containerState._closeFlow=!0,r.interrupt=void 0,ft(e,e.attempt(aa,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function N9(e,t,n){const r=this;return ft(e,s,"listItemIndent",r.containerState.size+1);function s(l){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(l):n(l)}}function C9(e){e.exit(this.containerState.type)}function R9(e,t,n){const r=this;return ft(e,s,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(l){const u=r.events[r.events.length-1];return!lt(l)&&u&&u[1].type==="listItemPrefixWhitespace"?t(l):n(l)}}const S2={name:"setextUnderline",resolveTo:D9,tokenize:O9};function D9(e,t){let n=e.length,r,s,l;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(s=n)}else e[n][1].type==="content"&&e.splice(n,1),!l&&e[n][1].type==="definition"&&(l=n);const u={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",l?(e.splice(s,0,["enter",u,t]),e.splice(l+1,0,["exit",e[r][1],t]),e[r][1].end={...e[l][1].end}):e[r][1]=u,e.push(["exit",u,t]),e}function O9(e,t,n){const r=this;let s;return l;function l(h){let g=r.events.length,y;for(;g--;)if(r.events[g][1].type!=="lineEnding"&&r.events[g][1].type!=="linePrefix"&&r.events[g][1].type!=="content"){y=r.events[g][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||y)?(e.enter("setextHeadingLine"),s=h,u(h)):n(h)}function u(h){return e.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===s?(e.consume(h),d):(e.exit("setextHeadingLineSequence"),lt(h)?ft(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||Ue(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const L9={tokenize:I9};function I9(e){const t=this,n=e.attempt(yc,r,e.attempt(this.parser.constructs.flowInitial,s,ft(e,e.attempt(this.parser.constructs.flow,s,e.attempt(UP,s)),"linePrefix")));return n;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function s(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const M9={resolveAll:K3()},P9=Y3("string"),B9=Y3("text");function Y3(e){return{resolveAll:K3(e==="text"?j9:void 0),tokenize:t};function t(n){const r=this,s=this.parser.constructs[e],l=n.attempt(s,u,d);return u;function u(g){return h(g)?l(g):d(g)}function d(g){if(g===null){n.consume(g);return}return n.enter("data"),n.consume(g),f}function f(g){return h(g)?(n.exit("data"),l(g)):(n.consume(g),f)}function h(g){if(g===null)return!0;const y=s[g];let v=-1;if(y)for(;++v<y.length;){const T=y[v];if(!T.previous||T.previous.call(r,r.previous))return!0}return!1}}}function K3(e){return t;function t(n,r){let s=-1,l;for(;++s<=n.length;)l===void 0?n[s]&&n[s][1].type==="data"&&(l=s,s++):(!n[s]||n[s][1].type!=="data")&&(s!==l+2&&(n[l][1].end=n[s-1][1].end,n.splice(l+2,s-l-2),s=l+2),l=void 0);return e?e(n,r):n}}function j9(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],s=t.sliceStream(r);let l=s.length,u=-1,d=0,f;for(;l--;){const h=s[l];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){l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(d=0),d){const h={type:n===e.length||f||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?u:r.start._bufferIndex+u,_index:r.start._index+l,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(n,0,["enter",h,t],["exit",h,t]),n+=2)}n++}return e}const U9={42:aa,43:aa,45:aa,48:aa,49:aa,50:aa,51:aa,52:aa,53:aa,54:aa,55:aa,56:aa,57:aa,62:B3},H9={91:YP},F9={[-2]:lg,[-1]:lg,32:lg},z9={35:QP,42:pf,45:[S2,pf],60:e9,61:S2,95:pf,96:E2,126:E2},V9={38:U3,92:j3},Y9={[-5]:ug,[-4]:ug,[-3]:ug,33:b9,38:U3,42:b0,60:[vP,o9],91:v9,92:[WP,j3],93:ky,95:b0,96:LP},K9={null:[b0,M9]},q9={null:[42,95]},G9={null:[]},W9=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:q9,contentInitial:H9,disable:G9,document:U9,flow:z9,flowInitial:F9,insideSpan:K9,string:V9,text:Y9},Symbol.toStringTag,{value:"Module"}));function X9(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 14,966 bytes, lines 334-336
334olumn:n&&n.column||1,offset:n&&n.offset||0};const s={},l=[];let u=[],d=[];const f={attempt:ue(Z),check:ue(V),consume:P,enter:I,exit:Q,interrupt:ue(V,{interrupt:!0})},h={code:null,containerState:{},defineSkip:A,events:[],now:w,parser:e,previous:null,sliceSerialize:v,sliceStream:T,write:y};let g=t.tokenize.call(h,f);return t.resolveAll&&l.push(t),h;function y(ce){return u=Ia(u,ce),_(),u[u.length-1]!==null?[]:(U(t,0),h.events=sh(l,h.events,h),h.events)}function v(ce,ee){return $9(T(ce),ee)}function T(ce){return Q9(u,ce)}function w(){const{_bufferIndex:ce,_index:ee,line:_e,column:xe,offset:de}=r;return{_bufferIndex:ce,_index:ee,line:_e,column:xe,offset:de}}function A(ce){s[ce.line]=ce.column,j()}function _(){let ce;for(;r._index<u.length;){const ee=u[r._index];if(typeof ee=="string")for(ce=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===ce&&r._bufferIndex<ee.length;)N(ee.charCodeAt(r._bufferIndex));else N(ee)}}function N(ce){g=g(ce)}function P(ce){Ue(ce)?(r.line++,r.column=1,r.offset+=ce===-3?2:1,j()):ce!==-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=ce}function I(ce,ee){const _e=ee||{};return _e.type=ce,_e.start=w(),h.events.push(["enter",_e,h]),d.push(_e),_e}function Q(ce){const ee=d.pop();return ee.end=w(),h.events.push(["exit",ee,h]),ee}function Z(ce,ee){U(ce,ee.from)}function V(ce,ee){ee.restore()}function ue(ce,ee){return _e;function _e(xe,de,Y){let re,pe,Ee,R;return Array.isArray(xe)?He(xe):"tokenize"in xe?He([xe]):Re(xe);function Re(Ke){return $t;function $t(xn){const Zt=xn!==null&&Ke[xn],xa=xn!==null&&Ke.null,za=[...Array.isArray(Zt)?Zt:Zt?[Zt]:[],...Array.isArray(xa)?xa:xa?[xa]:[]];return He(za)(xn)}}function He(Ke){return re=Ke,pe=0,Ke.length===0?Y:O(Ke[pe])}function O(Ke){return $t;function $t(xn){return R=ge(),Ee=Ke,Ke.partial||(h.currentConstruct=Ke),Ke.name&&h.parser.constructs.disable.null.includes(Ke.name)?Et():Ke.tokenize.call(ee?Object.assign(Object.create(h),ee):h,f,Xe,Et)(xn)}}function Xe(Ke){return ce(Ee,R),de}function Et(Ke){return R.restore(),++pe<re.length?O(re[pe]):Y}}}function U(ce,ee){ce.resolveAll&&!l.includes(ce)&&l.push(ce),ce.resolve&&ya(h.events,ee,h.events.length-ee,ce.resolve(h.events.slice(ee),h)),ce.resolveTo&&(h.events=ce.resolveTo(h.events,h))}function ge(){const ce=w(),ee=h.previous,_e=h.currentConstruct,xe=h.events.length,de=Array.from(d);return{from:xe,restore:Y};function Y(){r=ce,h.previous=ee,h.currentConstruct=_e,h.events.length=xe,d=de,j()}}function j(){r.line in s&&r.column<2&&(r.column=s[r.line],r.offset+=s[r.line]-1)}}function Q9(e,t){const n=t.start._index,r=t.start._bufferIndex,s=t.end._index,l=t.end._bufferIndex;let u;if(n===s)u=[e[n].slice(r,l)];else{if(u=e.slice(n,s),r>-1){const d=u[0];typeof d=="string"?u[0]=d.slice(r):u.shift()}l>0&&u.push(e[s].slice(0,l))}return u}function $9(e,t){let n=-1;const r=[];let s;for(;++n<e.length;){const l=e[n];let u;if(typeof l=="string")u=l;else switch(l){case-5:{u="\r";break}case-4:{u=`
335`;break}case-3:{u=`\r
336`;break}case-2:{u=t?" ":"	";break}case-1:{if(!t&&s)continue;u=" ";break}default:u=String.fromCharCode(l)}s=l===-2,r.push(u)}return r.join("")}function Z9(e){const r={constructs:M3([W9,...(e||{}).extensions||[]]),content:s(hP),defined:[],document:s(pP),flow:s(L9),lazy:{},string:s(P9),text:s(B9)};return r;function s(l){return u;function u(d){return X9(r,l,d)}}}function J9(e){for(;!H3(e););return e}const A2=/[\0\t\n\r]/g;function eB(){let e=1,t="",n=!0,r;return s;function s(l,u,d){const f=[];let h,g,y,v,T;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(u||void 0).decode(l)),y=0,t="",n&&(l.charCodeAt(0)===65279&&y++,n=void 0);y<l.length;){if(A2.lastIndex=y,h=A2.exec(l),v=h&&h.index!==void 0?h.index:l.length,T=l.charCodeAt(v),!h){t=l.slice(y);break}if(T===10&&y===v&&r)f.push(-3),r=void 0;else switch(r&&(f.push(-5),r=void 0),y<v&&(f.push(l.slice(y,v)),e+=v-y),T){case 0:{f.push(65533),e++;break}case 9:{for(g=Math.ceil(e/4)*4,f.push(-2);e++<g;)f.push(-1);break}case 10:{f.push(-4),e=1;break}default:r=!0,e=1}y=v+1}return d&&(r&&f.push(-5),t&&f.push(t),f.push(null)),f}}const tB=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function nB(e){return e.replace(tB,aB)}function aB(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const s=n.charCodeAt(1),l=s===120||s===88;return P3(n.slice(l?2:1),l?16:10)}return _y(n)||e}const q3={}.hasOwnProperty;function rB(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),iB(n)(J9(Z9(n).document().write(eB()(e,t,!0))))}function iB(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(mi),autolinkProtocol:ge,autolinkEmail:ge,atxHeading:l(_r),blockQuote:l(xa),characterEscape:ge,characterReference:ge,codeFenced:l(za),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:l(za,u),codeText:l(ds,u),codeTextData:ge,data:ge,codeFlowValue:ge,definition:l(Jt),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:l(On),hardBreakEscape:l(hi),hardBreakTrailing:l(hi),htmlFlow:l(va,u),htmlFlowData:ge,htmlText:l(va,u),htmlTextData:ge,image:l(Qs),label:u,link:l(mi),listItem:l(fs),listItemValue:v,listOrdered:l(kr,y),listUnordered:l(kr),paragraph:l(El),reference:O,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:l(_r),strong:l(wl),thematicBreak:l(Va)},exit:{atxHeading:f(),atxHeadingSequence:Z,autolink:f(),autolinkEmail:Zt,autolinkProtocol:xn,blockQuote:f(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:Et,characterReferenceMarkerNumeric:Et,characterReferenceValue:Ke,characterReference:$t,codeFenced:f(_),codeFencedFence:A,codeFencedFenceInfo:T,codeFencedFenceMeta:w,codeFlowValue:j,codeIndented:f(N),codeText:f(de),codeTextData:j,data:j,definition:f(),definitionDestinationString:Q,definitionLabelString:P,definitionTitleString:I,emphasis:f(),hardBreakEscape:f(ee),hardBreakTrailing:f(ee),htmlFlow:f(_e),htmlFlowData:j,htmlText:f(xe),htmlTextData:j,image:f(re),label:Ee,labelText:pe,lineEnding:ce,link:f(Y),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:Xe,resourceDestinationString:R,resourceTitleString:Re,resource:He,setextHeading:f(U),setextHeadingLineSequence:ue,setextHeadingText:V,strong:f(),thematicBreak:f()}};G3(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ne){let Te={type:"root",children:[]};const je={stack:[Te],tokenStack:[],config:t,enter:d,exit:h,buffer:u,resume:g,data:n},Ve=[];let nt=-1;for(;++nt<ne.length;)if(ne[nt][1].type==="listOrdered"||ne[nt][1].type==="listUnordered")if(ne[nt][0]==="enter")Ve.push(nt);else{const jn=Ve.pop();nt=s(ne,jn,nt)}for(nt=-1;++nt<ne.length;){const jn=t[ne[nt][0]];q3.call(jn,ne[nt][1].type)&&jn[ne[nt][1].type].call(Object.assign({sliceSerialize:ne[nt][2].sliceSerialize},je),ne[nt][1])}if(je.tokenStack.length>0){const jn=je.tokenStack[je.tokenStack.length-1];(jn[1]||_2).call(je,void 0,jn[0])}for(Te.position={start:qi(ne.length>0?ne[0][1].start:{line:1,column:1,offset:0}),end:qi(ne.length>0?ne[ne.length-2][1].end:{line:1,column:1,offset:0})},nt=-1;++nt<t.transforms.length;)Te=t.transforms[nt](Te)||Te;return Te}function s(ne,Te,je){let Ve=Te-1,nt=-1,jn=!1,Ya,mn,en,Yt;for(;++Ve<=je;){const wt=ne[Ve];switch(wt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{wt[0]==="enter"?nt++:nt--,Yt=void 0;break}case"lineEndingBlank":{wt[0]==="enter"&&(Ya&&!Yt&&!nt&&!en&&(en=Ve),Yt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Yt=void 0}if(!nt&&wt[0]==="enter"&&wt[1].type==="listItemPrefix"||nt===-1&&wt[0]==="exit"&&(wt[1].type==="listUnordered"||wt[1].type==="listOrdered")){if(Ya){let Ka=Ve;for(mn=void 0;Ka--;){const Gn=ne[Ka];if(Gn[1].type==="lineEnding"||Gn[1].type==="lineEndingBlank"){if(Gn[0]==="exit")continue;mn&&(ne[mn][1].type="lineEndingBlank",jn=!0),Gn[1].type="lineEnding",mn=Ka}else if(!(Gn[1].type==="linePrefix"||Gn[1].type==="blockQuotePrefix"||Gn[1].type==="blockQuotePrefixWhitespace"||Gn[1].type==="blockQuoteMarker"||Gn[1].type==="listItemIndent"))break}en&&(!mn||en<mn)&&(Ya._spread=!0),Ya.end=Object.assign({},mn?ne[mn][1].start:wt[1].end),ne.splice(mn||Ve,0,["exit",Ya,wt[2]]),Ve++,je++}if(wt[1].type==="listItemPrefix"){const Ka={type:"listItem",_spread:!1,start:Object.assign({},wt[1].start),end:void 0};Ya=Ka,ne.splice(Ve,0,["enter",Ka,wt[2]]),Ve++,je++,en=void 0,Yt=!0}}}return ne[Te][1]._spread=jn,je}function l(ne,Te){return je;function je(Ve){d.call(this,ne(Ve),Ve),Te&&Te.call(this,Ve)}}function u(){this.stack.push({type:"fragment",children:[]})}function d(ne,Te,je){this.stack[this.stack.length-1].children.push(ne),this.stack.push(ne),this.tokenStack.push([Te,je||void 0]),ne.position={start:qi(Te.start),end:void 0}}function f(ne){return Te;function Te(je){ne&&ne.call(this,je),h.call(this,je)}}function h(ne,Te){const je=this.stack.pop(),Ve=this.tokenStack.pop();if(Ve)Ve[0].type!==ne.type&&(Te?Te.call(this,ne,Ve[0]):(Ve[1]||_2).call(this,ne,Ve[0]));else throw new Error("Cannot close `"+ne.type+"` ("+ju({start:ne.start,end:ne.end})+"): it’s not open");je.position.end=qi(ne.end)}function g(){return Ay(this.stack.pop())}function y(){this.data.expectingFirstListItemValue=!0}function v(ne){if(this.data.expectingFirstListItemValue){const Te=this.stack[this.stack.length-2];Te.start=Number.parseInt(this.sliceSerialize(ne),10),this.data.expectingFirstListItemValue=void 0}}function T(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.lang=ne}function w(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.meta=ne}function A(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function _(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.value=ne.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function N(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.value=ne.replace(/(\r?\n|\r)$/g,"")}function P(ne){const Te=this.resume(),je=this.stack[this.stack.length-1];je.label=Te,je.identifier=rr(this.sliceSerialize(ne)).toLowerCase()}function I(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.title=ne}function Q(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.url=ne}function Z(ne){const Te=this.stack[this.stack.length-1];if(!Te.depth){const je=this.sliceSerialize(ne).length;Te.depth=je}}function V(){this.data.setextHeadingSlurpLineEnding=!0}function ue(ne){const Te=this.stack[this.stack.length-1];Te.depth=this.sliceSerialize(ne).codePointAt(0)===61?1:2}function U(){this.data.setextHeadingSlurpLineEnding=void 0}function ge(ne){const je=this.stack[this.stack.length-1].children;let Ve=je[je.length-1];(!Ve||Ve.type!=="text")&&(Ve=wn(),Ve.position={start:qi(ne.start),end:void 0},je.push(Ve)),this.stack.push(Ve)}function j(ne){const Te=this.stack.pop();Te.value+=this.sliceSerialize(ne),Te.position.end=qi(ne.end)}function ce(ne){const Te=this.stack[this.stack.length-1];if(this.data.atHardBreak){const je=Te.children[Te.children.length-1];je.position.end=qi(ne.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Te.type)&&(ge.call(this,ne),j.call(this,ne))}function ee(){this.data.atHardBreak=!0}function _e(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.value=ne}function xe(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.value=ne}function de(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.value=ne}function Y(){const ne=this.stack[this.stack.length-1];if(this.data.inReference){const Te=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=Te,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function re(){const ne=this.stack[this.stack.length-1];if(this.data.inReference){const Te=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=Te,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function pe(ne){const Te=this.sliceSerialize(ne),je=this.stack[this.stack.length-2];je.label=nB(Te),je.identifier=rr(Te).toLowerCase()}function Ee(){const ne=this.stack[this.stack.length-1],Te=this.resume(),je=this.stack[this.stack.length-1];if(this.data.inReference=!0,je.type==="link"){const Ve=ne.children;je.children=Ve}else je.alt=Te}function R(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.url=ne}function Re(){const ne=this.resume(),Te=this.stack[this.stack.length-1];Te.title=ne}function He(){this.data.inReference=void 0}function O(){this.data.referenceType="collapsed"}function Xe(ne){const Te=this.resume(),je=this.stack[this.stack.length-1];je.label=Te,je.identifier=rr(this.sliceSerialize(ne)).toLowerCase(),this.data.referenceType="full"}function Et(ne){this.data.characterReferenceType=ne.type}function Ke(ne){const Te=this.sliceSerialize(ne),je=this.data.characterReferenceType;let Ve;je?(Ve=P3(Te,je==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ve=_y(Te);const nt=this.stack[this.stack.length-1];nt.value+=Ve}function $t(ne){const Te=this.stack.pop();Te.position.end=qi(ne.end)}function xn(ne){j.call(this,ne);const Te=this.stack[this.stack.length-1];Te.url=this.sliceSerialize(ne)}function Zt(ne){j.call(this,ne);const Te=this.stack[this.stack.length-1];Te.url="mailto:"+this.sliceSerialize(ne)}function xa(){return{type:"blockquote",children:[]}}function za(){return{type:"code",lang:null,meta:null,value:""}}function ds(){return{type:"inlineCode",value:""}}function Jt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function On(){return{type:"emphasis",children:[]}}function _r(){return{type:"heading",depth:0,children:[]}}function hi(){return{type:"break"}}function va(){return{type:"html",value:""}}function Qs(){return{type:"image",title:null,url:"",alt:null}}function mi(){return{type:"link",title:null,url:"",children:[]}}function kr(ne){return{type:"list",ordered:ne.type==="listOrdered",start:null,spread:ne._spread,children:[]}}function fs(ne){return{type:"listItem",spread:ne._spread,checked:null,children:[]}}function El(){return{type:"paragraph",children:[]}}function wl(){return{type:"strong",children:[]}}function wn(){return{type:"text",value:""}}function Va(){return{type:"thematicBreak"}}}function qi(e){return{line:e.line,column:e.column,offset:e.offset}}function G3(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?G3(e,r):sB(e,r)}}function sB(e,t){let n;for(n in t)if(q3.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function _2(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ju({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ju({start:t.start,end:t.end}
vendor: 6,326 bytes, lines 336-340
336)+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ju({start:t.start,end:t.end})+") is still open")}function oB(e){const t=this;t.parser=n;function n(r){return rB(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function lB(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function uB(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
337`}]}function cB(e,t){const n=t.value?t.value+`
338`:"",r={},s=t.lang?t.lang.split(/\s+/):[];s.length>0&&(r.className=["language-"+s[0]]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l=e.applyData(t,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(t,l),l}function dB(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function fB(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function hB(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),s=bl(r.toLowerCase()),l=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=l+1,d+=1,e.footnoteCounts.set(r,d);const f={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+s,id:n+"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 mB(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function pB(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function W3(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const s=e.all(t),l=s[0];l&&l.type==="text"?l.value="["+l.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 gB(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return W3(e,t);const s={src:bl(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(s.title=r.title);const l={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,l),e.applyData(t,l)}function yB(e,t){const n={src:bl(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function bB(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function xB(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return W3(e,t);const s={href:bl(r.url||"")};r.title!==null&&r.title!==void 0&&(s.title=r.title);const l={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function vB(e,t){const n={href:bl(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function TB(e,t,n){const r=e.all(t),s=n?EB(n):X3(t),l={},u=[];if(typeof t.checked=="boolean"){const g=r[0];let y;g&&g.type==="element"&&g.tagName==="p"?y=g:(y={type:"element",tagName:"p",properties:{},children:[]},r.unshift(y)),y.children.length>0&&y.children.unshift({type:"text",value:" "}),y.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let d=-1;for(;++d<r.length;){const g=r[d];(s||d!==0||g.type!=="element"||g.tagName!=="p")&&u.push({type:"text",value:`
339`}),g.type==="element"&&g.tagName==="p"&&!s?u.push(...g.children):u.push(g)}const f=r[r.length-1];f&&(s||f.type!=="element"||f.tagName!=="p")&&u.push({type:"text",value:`
340`});const h={type:"element",tagName:"li",properties:l,children:u};return e.patch(t,h),e.applyData(t,h)}function EB(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=X3(n[r])}return t}function X3(e){const t=e.spread;return t??e.children.length>1}function wB(e,t){const n={},r=e.all(t);let s=-1;for(typeof t.start=="number"&&t.start!==1&&(n.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")){n.className=["contains-task-list"];break}}const l={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,l),e.applyData(t,l)}function SB(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function AB(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function _B(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function kB(e,t){const n=e.all(t),r=n.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(n.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},d=Sr(t.children[1]),f=rh(t.children[t.children.length-1]);d&&f&&(u.position={start:d,end:f}),s.push(u)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,l),e.applyData(t,l)}function NB(e,t,n){const r=n?n.children:void 0,l=(r?r.indexOf(t):1)===0?"th":"td",u=n&&n.type==="table"?n.align:void 0,d=u?u.length:t.children.length;let f=-1;const h=[];for(;++f<d;){const y=t.children[f],v={},T=u?u[f]:void 0;T&&(v.align=T);let w={type:"element",tagName:l,properties:v,children:[]};
vendor: 1,796 bytes, line 340
340y&&(w.children=e.all(y),e.patch(y,w),w=e.applyData(y,w)),h.push(w)}const g={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,g),e.applyData(t,g)}function CB(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const k2=9,N2=32;function RB(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),s=0;const l=[];for(;r;)l.push(C2(t.slice(s,r.index),s>0,!0),r[0]),s=r.index+r[0].length,r=n.exec(t);return l.push(C2(t.slice(s),s>0,!1)),l.join("")}function C2(e,t,n){let r=0,s=e.length;if(t){let l=e.codePointAt(r);for(;l===k2||l===N2;)r++,l=e.codePointAt(r)}if(n){let l=e.codePointAt(s-1);for(;l===k2||l===N2;)s--,l=e.codePointAt(s-1)}return s>r?e.slice(r,s):""}function DB(e,t){const n={type:"text",value:RB(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function OB(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const LB={blockquote:lB,break:uB,code:cB,delete:dB,emphasis:fB,footnoteReference:hB,heading:mB,html:pB,imageReference:gB,image:yB,inlineCode:bB,linkReference:xB,link:vB,listItem:TB,list:wB,paragraph:SB,root:AB,strong:_B,table:kB,tableCell:CB,tableRow:NB,text:DB,thematicBreak:OB,toml:qd,yaml:qd,definition:qd,footnoteDefinition:qd};function qd(){}const Q3=-1,oh=0,Hu=1,Uf=2,Ny=3,Cy=4,Ry=5,Dy=6,$3=7,Z3=8,R2=typeof self=="object"?self:globalThis,IB=(e,t)=>{const n=(s,l)=>(e.set(l,s),s),r=s=>{if(e.has(s))return e.get(s);const[l,u]=t[s];switch(l){case oh:case Q3:return n(u,s);case Hu:{const d=n([],s);for(const f of u)d.push(r(f));return d}case Uf:{const d=n({},s);for(const[f,h]of u)d[r(f)]=r(h);return d}case Ny:return n(new Date(u),s);case Cy:{const{source:d,flags:f}=u;return n(new RegExp(d,f),s)}case Ry:{const d=n(new Map,s);
vendor: 5,665 bytes, lines 340-342
340for(const[f,h]of u)d.set(r(f),r(h));return d}case Dy:{const d=n(new Set,s);for(const f of u)d.add(r(f));return d}case $3:{const{name:d,message:f}=u;return n(new R2[d](f),s)}case Z3:return n(BigInt(u),s);case"BigInt":return n(Object(BigInt(u)),s);case"ArrayBuffer":return n(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:d}=new Uint8Array(u);return n(new DataView(d),u)}}return n(new R2[l](u),s)};return r},D2=e=>IB(new Map,e)(0),Uo="",{toString:MB}={},{keys:PB}=Object,wu=e=>{const t=typeof e;if(t!=="object"||!e)return[oh,t];const n=MB.call(e).slice(8,-1);switch(n){case"Array":return[Hu,Uo];case"Object":return[Uf,Uo];case"Date":return[Ny,Uo];case"RegExp":return[Cy,Uo];case"Map":return[Ry,Uo];case"Set":return[Dy,Uo];case"DataView":return[Hu,n]}return n.includes("Array")?[Hu,n]:n.includes("Error")?[$3,n]:[Uf,n]},Gd=([e,t])=>e===oh&&(t==="function"||t==="symbol"),BB=(e,t,n,r)=>{const s=(u,d)=>{const f=r.push(u)-1;return n.set(d,f),f},l=u=>{if(n.has(u))return n.get(u);let[d,f]=wu(u);switch(d){case oh:{let g=u;switch(f){case"bigint":d=Z3,g=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);g=null;break;case"undefined":return s([Q3],u)}return s([d,g],u)}case Hu:{if(f){let v=u;return f==="DataView"?v=new Uint8Array(u.buffer):f==="ArrayBuffer"&&(v=new Uint8Array(u)),s([f,[...v]],u)}const g=[],y=s([d,g],u);for(const v of u)g.push(l(v));return y}case Uf:{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 l(u.toJSON());const g=[],y=s([d,g],u);for(const v of PB(u))(e||!Gd(wu(u[v])))&&g.push([l(v),l(u[v])]);return y}case Ny:return s([d,u.toISOString()],u);case Cy:{const{source:g,flags:y}=u;return s([d,{source:g,flags:y}],u)}case Ry:{const g=[],y=s([d,g],u);for(const[v,T]of u)(e||!(Gd(wu(v))||Gd(wu(T))))&&g.push([l(v),l(T)]);return y}case Dy:{const g=[],y=s([d,g],u);for(const v of u)(e||!Gd(wu(v)))&&g.push(l(v));return y}}const{message:h}=u;return s([d,{name:f,message:h}],u)};return l},O2=(e,{json:t,lossy:n}={})=>{const r=[];return BB(!(t||n),!!t,new Map,r)(e),r},ol=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?D2(O2(e,t)):structuredClone(e):(e,t)=>D2(O2(e,t));function jB(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function UB(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function HB(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||jB,r=e.options.footnoteBackLabel||UB,s=e.options.footnoteLabel||"Footnotes",l=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 g=e.all(h),y=String(h.identifier).toUpperCase(),v=bl(y.toLowerCase());let T=0;const w=[],A=e.footnoteCounts.get(y);for(;A!==void 0&&++T<=A;){w.length>0&&w.push({type:"text",value:" "});let P=typeof n=="string"?n:n(f,T);typeof P=="string"&&(P={type:"text",value:P}),w.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+v+(T>1?"-"+T:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(f,T),className:["data-footnote-backref"]},children:Array.isArray(P)?P:[P]})}const _=g[g.length-1];if(_&&_.type==="element"&&_.tagName==="p"){const P=_.children[_.children.length-1];P&&P.type==="text"?P.value+=" ":_.children.push({type:"text",value:" "}),_.children.push(...w)}else g.push(...w);const N={type:"element",tagName:"li",properties:{id:t+"fn-"+v},children:e.wrap(g,!0)};e.patch(h,N),d.push(N)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...ol(u),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
341`},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:`
342`}]}}const lh=(function(e){if(e==null)return YB;if(typeof e=="function")return uh(e);if(typeof e=="object")return Array.isArray(e)?FB(e):zB(e);if(typeof e=="string")return VB(e);throw new Error("Expected function, string, or object as test")});function FB(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=lh(e[n]);return uh(r);function r(...s){let l=-1;for(;++l<t.length;)if(t[l].apply(this,s))return!0;return!1}}function zB(e){const t=e;return uh(n);function n(r){const s=r;let l;for(l in e)if(s[l]!==t[l])return!1;return!0}}function VB(e){return uh(t);function t(n){return n&&n.type===e}}function uh(e){return t;function t(n,r,s){return!!(KB(n)&&e.call(this,n,typeof r=="number"?r:void 0,s||void 0))}}function YB(){return!0}function KB(e){return e!==null&&typeof e=="object"&&"type"in e}const J3=[],qB=!0,x0=!1,GB="skip";function e_(e,t,n,r){let s;typeof t=="function"&&typeof n!="function"?(r=n,n=t):s=t;const l=lh(s),u=r?-1:1;d(e,void 0,[])();function d(f,h,g){const y=f&&typeof f=="object"?f:{};if(typeof y.type=="string"){const T=typeof y.tagName=="string"?y.tagName:typeof y.name=="string"?y.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(f.type+(T?"<"+T+">":""))+")"})}return v;function v(){let T=J3,w,A,_;if((!t||l(f,h,g[g.length-1]||void 0))&&(T=WB(n(f,g)),T[0]===x0))return T;if("children"in f&&f.children){const N=f;if(N.children&&T[0]!==GB)for(A=(r?N.children.length:-1)+u,_=g.concat(N);A>-1&&A<N.children.length;){const P=N.children[A];if(w=d(P,A,_)(),w[0]===x0)return w;A=typeof w[1]=="number"?w[1]:A+u}}return T}}}function WB(e){return Array.isArray(e)?e:typeof e=="number"?[qB,e]:e
vendor: 1,054 bytes, line 342
342==null?J3:[e]}function ch(e,t,n,r){let s,l,u;typeof t=="function"&&typeof n!="function"?(l=void 0,u=t,s=n):(l=t,u=n,s=r),e_(e,l,d,s);function d(f,h){const g=h[h.length-1],y=g?g.children.indexOf(f):void 0;return u(f,y,g)}}const v0={}.hasOwnProperty,XB={};function QB(e,t){const n=t||XB,r=new Map,s=new Map,l=new Map,u={...LB,...n.handlers},d={all:h,applyData:ZB,definitionById:r,footnoteById:s,footnoteCounts:l,footnoteOrder:[],handlers:u,one:f,options:n,patch:$B,wrap:ej};return ch(e,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const y=g.type==="definition"?r:s,v=String(g.identifier).toUpperCase();y.has(v)||y.set(v,g)}}),d;function f(g,y){const v=g.type,T=d.handlers[v];if(v0.call(d.handlers,v)&&T)return T(d,g,y);if(d.options.passThrough&&d.options.passThrough.includes(v)){if("children"in g){const{children:A,..._}=g,N=ol(_);return N.children=d.all(g),N}return ol(g)}return(d.options.unknownHandler||JB)(d,g,y)}function h(g){const y=[];if("children"in g){const v=g.children;let T=-1;for(;++T<v.length;){const w=d.one(v[T],g);
vendor: 10,746 bytes, lines 342-346
342if(w){if(T&&v[T-1].type==="break"&&(!Array.isArray(w)&&w.type==="text"&&(w.value=L2(w.value)),!Array.isArray(w)&&w.type==="element")){const A=w.children[0];A&&A.type==="text"&&(A.value=L2(A.value))}Array.isArray(w)?y.push(...w):y.push(w)}}}return y}}function $B(e,t){e.position&&(t.position=UM(e))}function ZB(e,t){let n=t;if(e&&e.data){const r=e.data.hName,s=e.data.hChildren,l=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const u="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:u}}n.type==="element"&&l&&Object.assign(n.properties,ol(l)),"children"in n&&n.children&&s!==null&&s!==void 0&&(n.children=s)}return n}function JB(e,t){const n=t.data||{},r="value"in t&&!(v0.call(n,"hProperties")||v0.call(n,"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 ej(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
343`});++r<e.length;)r&&n.push({type:"text",value:`
344`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
345`}),n}function L2(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function I2(e,t){const n=QB(e,t),r=n.one(e,void 0),s=HB(n),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return s&&l.children.push({type:"text",value:`
346`},s),l}function tj(e,t){return e&&"run"in e?async function(n,r){const s=I2(n,{file:r,...t});await e.run(s,r)}:function(n,r){return I2(n,{file:r,...e||t})}}function M2(e){if(e)throw e}var cg,P2;function nj(){if(P2)return cg;P2=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},l=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var g=e.call(h,"constructor"),y=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!g&&!y)return!1;var v;for(v in h);return typeof v>"u"||e.call(h,v)},u=function(h,g){n&&g.name==="__proto__"?n(h,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):h[g.name]=g.newValue},d=function(h,g){if(g==="__proto__")if(e.call(h,g)){if(r)return r(h,g).value}else return;return h[g]};return cg=function f(){var h,g,y,v,T,w,A=arguments[0],_=1,N=arguments.length,P=!1;for(typeof A=="boolean"&&(P=A,A=arguments[1]||{},_=2),(A==null||typeof A!="object"&&typeof A!="function")&&(A={});_<N;++_)if(h=arguments[_],h!=null)for(g in h)y=d(A,g),v=d(h,g),A!==v&&(P&&v&&(l(v)||(T=s(v)))?(T?(T=!1,w=y&&s(y)?y:[]):w=y&&l(y)?y:{},u(A,{name:g,newValue:f(P,w,v)})):typeof v<"u"&&u(A,{name:g,newValue:v}));return A},cg}var aj=nj();const dg=Dw(aj);function T0(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function rj(){const e=[],t={run:n,use:r};return t;function n(...s){let l=-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 g=e[++l];let y=-1;if(f){u(f);return}for(;++y<s.length;)(h[y]===null||h[y]===void 0)&&(h[y]=s[y]);s=h,g?ij(g,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 ij(e,t){let n;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 g=h;if(d&&n)throw g;return s(g)}d||(f&&f.then&&typeof f.then=="function"?f.then(l,s):f instanceof Error?s(f):l(f))}function s(u,...d){n||(n=!0,t(u,...d))}function l(u){s(null,u)}}const pr={basename:sj,dirname:oj,extname:lj,join:uj,sep:"/"};function sj(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');bc(e);let n=0,r=-1,s=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(l){n=s+1;break}}else r<0&&(l=!0,r=s+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let u=-1,d=t.length-1;for(;s--;)if(e.codePointAt(s)===47){if(l){n=s+1;break}}else u<0&&(l=!0,u=s+1),d>-1&&(e.codePointAt(s)===t.codePointAt(d--)?d<0&&(r=s):(d=-1,r=u));return n===r?r=u:r<0&&(r=e.length),e.slice(n,r)}function oj(e){if(bc(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function lj(e){bc(e);let t=e.length,n=-1,r=0,s=-1,l=0,u;for(;t--;){const d=e.codePointAt(t);if(d===47){if(u){r=t+1;break}continue}n<0&&(u=!0,n=t+1),d===46?s<0?s=t:l!==1&&(l=1):s>-1&&(l=-1)}return s<0||n<0||l===0||l===1&&s===n-1&&s===r+1?"":e.slice(s,n)}function uj(...e){let t=-1,n;for(;++t<e.length;)bc(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":cj(n)}function cj(e){bc(e);const t=e.codePointAt(0)===47;let n=dj(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function dj(e,t){let n="",r=0,s=-1,l=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||l===1))if(s!==u-1&&l===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(f=n.lastIndexOf("/"),f!==n.length-1){f<0?(n="",r=0):(n=n.slice(0,f),r=n.length-1-n.lastIndexOf("/")),s=u,l=0;continue}}else if(n.length>0){n="",r=0,s=u,l=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(s+1,u):n=e.slice(s+1,u),r=u-s-1;s=u,l=0}else d===46&&l>-1?l++:l=-1}return n}function bc(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const fj={cwd:hj};function hj(){return"/"}function E0(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function mj(e){if(typeof e=="string")e=new URL(e);else if(!E0(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 pj(e)}function pj(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 n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+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 fg=["history","path","basename","stem","extname","dirname"];class t_{constructor(t){let n;t?E0(t)?n={path:t}:typeof t=="string"||gj(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":fj.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<fg.length;){const l=fg[r];l in n&&n[l]!==void 0&&n[l]!==null&&(this[l]=l==="history"?[...n[l]]:n[l])}let s;for(s in n)fg.includes(s)||(this[s]=n[s])}get basename(){return typeof this.path=="string"?pr.basename(this.path):void 0}set basename(t){mg(t,"basename"),hg(t,"basename"),this.path=pr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?pr.dirname(this.path):void 0}set dirname(t){B2(this.basename,"dirname"),this.path=pr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?pr.extname(this.path):void 0}set extname(t){if(hg(t,"extname"),B2(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=pr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){E0(t)&&(t=mj(t)),mg(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?pr.basename(this.path,this.extname):void 0}set stem(t){mg(t,"stem"),hg(t,"stem"),this.path=pr.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const s=this.message(t,n,r);throw s.fatal=!0,s}info(t,n,r){const s=this.message(t,n,r);return s.fatal=void 0,s}message(t,n,r){const s=new Pn(t,n,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 hg(e,t){if(e&&e.includes(pr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+pr.sep+"`")}function mg(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function B2(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function gj(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const yj=(function(e){const r=this.constructor.prototype,s=r[e],l=function(){return s.apply(l,arguments)};return Object.setPrototypeOf(l,r),l}),bj={}.hasOwnProperty;class Oy extends yj{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=rj()}copy(){const t=new Oy;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(dg(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(yg("data",this.frozen),this.namespace[t]=n,this):bj.call(this.namespace,t)&&this.namespace[t]||void 0:t?(yg("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[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const s=n.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 n=Wd(t),r=this.parser||this.Parser;return pg("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),pg("process",this.parser||this.Parser),gg("process",this.compiler||this.Compiler),n?s(void 0,n):new Promise(s);function s(l,u){const d=Wd(t),f=r.parse(d);r.run(f,d,function(g,y,v){if(g||!y||!v)return h(g);const T=y,w=r.stringify(T,v);Tj(w)?v.value=w:v.result=w,h(g,v)});function h(g,y){g||!y?u(g):l?l(y):n(void 0,y)}}}processSync(t){let n=!1,r;return this.freeze(),pg("processSync",this.parser||this.Parser),gg("processSync",this.compiler||this.Compiler),this.process(t,s),U2("processSync","process",n),r;function s(l,u){n=!0,M2(l),r=u}}
vendor: 4,122 bytes, line 346
346run(t,n,r){j2(t),this.freeze();const s=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?l(void 0,r):new Promise(l);function l(u,d){const f=Wd(n);s.run(t,f,h);function h(g,y,v){const T=y||t;g?d(g):u?u(T):r(void 0,T,v)}}}runSync(t,n){let r=!1,s;return this.run(t,n,l),U2("runSync","run",r),s;function l(u,d){M2(u),s=d,r=!0}}stringify(t,n){this.freeze();const r=Wd(n),s=this.compiler||this.Compiler;return gg("stringify",s),j2(t),s(t,r)}use(t,...n){const r=this.attachers,s=this.namespace;if(yg("use",this.frozen),t!=null)if(typeof t=="function")f(t,n);else if(typeof t=="object")Array.isArray(t)?d(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[g,...y]=h;f(g,y)}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=dg(!0,s.settings,h.settings))}function d(h){let g=-1;if(h!=null)if(Array.isArray(h))for(;++g<h.length;){const y=h[g];l(y)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,g){let y=-1,v=-1;for(;++y<r.length;)if(r[y][0]===h){v=y;break}if(v===-1)r.push([h,...g]);else if(g.length>0){let[T,...w]=g;const A=r[v][1];T0(A)&&T0(T)&&(T=dg(!0,A,T)),r[v]=[h,T,...w]}}}}const xj=new Oy().freeze();function pg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function gg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function yg(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 j2(e){if(!T0(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function U2(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Wd(e){return vj(e)?e:new t_(e)}function vj(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Tj(e){return typeof e=="string"||Ej(e)}function Ej(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const wj="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",H2=[],F2={allowDangerousHtml:!0},Sj=/^(https?|ircs?|mailto|xmpp)$/i,Aj=[{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 Ly(e){const t=_j(e),n=kj(e);return Nj(t.runSync(t.parse(n),n),e)}function _j(e){const t=e.rehypePlugins||H2,n=e.remarkPlugins||H2,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...F2}:F2;return xj().use(oB).use(n).use(tj,r).use(t)}function kj(e){const t=e.children||"",n=new t_;return typeof t=="string"&&(n.value=t),n}function Nj(e,t){const n=t.allowedElements,r=t.allowElement,s=t.components,l=t.disallowedElements,u=t.skipHtml,d=t.unwrapDisallowed,f=t.urlTransform||
vendor: 6,574 bytes, lines 346-347
346Cj;for(const g of Aj)Object.hasOwn(t,g.from)&&(""+g.from+(g.to?"use `"+g.to+"` instead":"remove it")+wj+g.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),ch(e,h),YM(e,{Fragment:m.Fragment,components:s,ignoreInvalidStyle:!0,jsx:m.jsx,jsxs:m.jsxs,passKeys:!0,passNode:!0});function h(g,y,v){if(g.type==="raw"&&v&&typeof y=="number")return u?v.children.splice(y,1):v.children[y]={type:"text",value:g.value},y;if(g.type==="element"){let T;for(T in og)if(Object.hasOwn(og,T)&&Object.hasOwn(g.properties,T)){const w=g.properties[T],A=og[T];(A===null||A.includes(g.tagName))&&(g.properties[T]=f(String(w||""),T,g))}}if(g.type==="element"){let T=n?!n.includes(g.tagName):l?l.includes(g.tagName):!1;if(!T&&r&&typeof y=="number"&&(T=!r(g,y,v)),T&&v&&typeof y=="number")return d&&g.children?v.children.splice(y,1,...g.children):v.children.splice(y,1),y}}}function Cj(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),s=e.indexOf("/");return t===-1||s!==-1&&t>s||n!==-1&&t>n||r!==-1&&t>r||Sj.test(e.slice(0,t))?e:""}function z2(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}function Rj(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Dj(e,t,n){const s=lh((n||{}).ignore||[]),l=Oj(t);let u=-1;for(;++u<l.length;)e_(e,"text",d);function d(h,g){let y=-1,v;for(;++y<g.length;){const T=g[y],w=v?v.children:void 0;if(s(T,w?w.indexOf(T):void 0,v))return;v=T}if(v)return f(h,g)}function f(h,g){const y=g[g.length-1],v=l[u][0],T=l[u][1];let w=0;const _=y.children.indexOf(h);let N=!1,P=[];v.lastIndex=0;let I=v.exec(h.value);for(;I;){const Q=I.index,Z={index:I.index,input:I.input,stack:[...g,h]};let V=T(...I,Z);if(typeof V=="string"&&(V=V.length>0?{type:"text",value:V}:void 0),V===!1?v.lastIndex=Q+1:(w!==Q&&P.push({type:"text",value:h.value.slice(w,Q)}),Array.isArray(V)?P.push(...V):V&&P.push(V),w=Q+I[0].length,N=!0),!v.global)break;I=v.exec(h.value)}return N?(w<h.value.length&&P.push({type:"text",value:h.value.slice(w)}),y.children.splice(_,1,...P)):P=[h],_+P.length}}function Oj(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const s=n[r];t.push([Lj(s[0]),Ij(s[1])])}return t}function Lj(e){return typeof e=="string"?new RegExp(Rj(e),"g"):e}function Ij(e){return typeof e=="function"?e:function(){return e}}const bg="phrasing",xg=["autolink","link","image","label"];function Mj(){return{transforms:[zj],enter:{literalAutolink:Bj,literalAutolinkEmail:vg,literalAutolinkHttp:vg,literalAutolinkWww:vg},exit:{literalAutolink:Fj,literalAutolinkEmail:Hj,literalAutolinkHttp:jj,literalAutolinkWww:Uj}}}function Pj(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:bg,notInConstruct:xg},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:bg,notInConstruct:xg},{character:":",before:"[ps]",after:"\\/",inConstruct:bg,notInConstruct:xg}]}}function Bj(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function vg(e){this.config.enter.autolinkProtocol.call(this,e)}function jj(e){this.config.exit.autolinkProtocol.call(this,e)}function Uj(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 Hj(e){this.config.exit.autolinkEmail.call(this,e)}function Fj(e){this.exit(e)}function zj(e){Dj(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Vj],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Yj]],{ignore:["link","linkReference"]})}function Vj(e,t,n,r,s){let l="";if(!n_(s)||(/^w/i.test(t)&&(n=t+n,t="",l="http://"),!Kj(n)))return!1;const u=qj(n+r);if(!u[0])return!1;const d={type:"link",title:null,url:l+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[d,{type:"text",value:u[1]}]:d}function Yj(e,t,n,r){return!n_(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Kj(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 qj(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const s=z2(e,"(");let l=z2(e,")");for(;r!==-1&&s>l;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),l++;return[e,n]}function n_(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||qs(n)||ih(n))&&(!t||n!==47)}a_.peek=t7;function Gj(){this.buffer()}function Wj(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Xj(){this.buffer()}function Qj(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function $j(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=rr(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Zj(e){this.exit(e)}function Jj(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=rr(this.sliceSerialize(e)).toLowerCase(),n.label=t}function e7(e){this.exit(e)}function t7(){return"["}function a_(e,t,n,r){const s=n.createTracker(r);let l=s.move("[^");const u=n.enter("footnoteReference"),d=n.enter("reference");return l+=s.move(n.safe(n.associationId(e),{after:"]",before:l})),d(),u(),l+=s.move("]"),l}function n7(){return{enter:{gfmFootnoteCallString:Gj,gfmFootnoteCall:Wj,gfmFootnoteDefinitionLabelString:Xj,gfmFootnoteDefinition:Qj},exit:{gfmFootnoteCallString:$j,gfmFootnoteCall:Zj,gfmFootnoteDefinitionLabelString:Jj,gfmFootnoteDefinition:e7}}}function a7(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:a_},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,s,l,u){const d=l.createTracker(u);let f=d.move("[^");const h=l.enter("footnoteDefinition"),g=l.enter("label");return f+=d.move(l.safe(l.associationId(r),{before:f,after:"]"})),g(),f+=d.move("]:"),r.children&&r.children.length>0&&(d.shift(4),f+=d.move((t?`
347`:" ")+l.indentLines(l.containerFlow(r,d.current()),t?r_:r7))),h(),f}}function r7(e,t,n){return t===0?e:r_(e,t,n)}function r_(e,t,n){return(n?"":"    ")+e}const i7=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];i_.peek=c7;
vendor: 1,787 bytes, line 347
347function s7(){return{canContainEols:["delete"],enter:{strikethrough:l7},exit:{strikethrough:u7}}}function o7(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:i7}],handlers:{delete:i_}}}function l7(e){this.enter({type:"delete",children:[]},e)}function u7(e){this.exit(e)}function i_(e,t,n,r){const s=n.createTracker(r),l=n.enter("strikethrough");let u=s.move("~~");return u+=n.containerPhrasing(e,{...s.current(),before:u,after:"~"}),u+=s.move("~~"),l(),u}function c7(){return"~"}function d7(e){return e.length}function f7(e,t){const n=t||{},r=(n.align||[]).concat(),s=n.stringLength||d7,l=[],u=[],d=[],f=[];let h=0,g=-1;for(;++g<e.length;){const A=[],_=[];let N=-1;for(e[g].length>h&&(h=e[g].length);++N<e[g].length;){const P=h7(e[g][N]);if(n.alignDelimiters!==!1){const I=s(P);_[N]=I,(f[N]===void 0||I>f[N])&&(f[N]=I)}A.push(P)}u[g]=A,d[g]=_}let y=-1;if(typeof r=="object"&&"length"in r)for(;++y<h;)l[y]=V2(r[y]);else{const A=V2(r);for(;++y<h;)l[y]=A}y=-1;const v=[],T=[];for(;++y<h;){const A=l[y];let _="",N="";A===99?(_=":",N=":"):A===108?_=":":A===114&&(N=":");let P=n.alignDelimiters===!1?1:Math.max(1,f[y]-_.length-N.length);const I=_+"-".repeat(P)+N;n.alignDelimiters!==!1&&(P=_.length+P+N.length,P>f[y]&&(f[y]=P),T[y]=P),v[y]=I}u.splice(1,0,v),d.splice(1,0,T),g=-1;const w=[];for(;++g<u.length;){const A=u[g],_=d[g];y=-1;const N=[];for(;++y<h;){const P=A[y]||"";let I="",Q="";if(n.alignDelimiters!==!1){const Z=f[y]-(_[y]||0),V=l[y];V===114?I=" ".repeat(Z):V===99?Z%2?(I=" ".repeat(Z/2+.5),Q=" ".repeat(Z/2-.5)):(I=" ".repeat(Z/2),Q=I):Q=" ".repeat(Z)}n.delimiterStart!==!1&&!y&&N.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&P==="")&&(n.delimiterStart!==!1||y)&&N.push(" "),n.alignDelimiters!==!1&&N.push(I),N.push(P),n.alignDelimiters!==!1&&N.push(Q
vendor: 4,283 bytes, lines 347-354
347),n.padding!==!1&&N.push(" "),(n.delimiterEnd!==!1||y!==h-1)&&N.push("|")}w.push(n.delimiterEnd===!1?N.join("").replace(/ +$/,""):N.join(""))}return w.join(`
348`)}function h7(e){return e==null?"":String(e)}function V2(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}const Y2={}.hasOwnProperty;function s_(e,t){const n=t||{};function r(s,...l){let u=r.invalid;const d=r.handlers;if(s&&Y2.call(s,e)){const f=String(s[e]);u=Y2.call(d,f)?d[f]:r.unknown}if(u)return u.call(this,s,...l)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function m7(e,t,n,r){const s=n.enter("blockquote"),l=n.createTracker(r);l.move("> "),l.shift(2);const u=n.indentLines(n.containerFlow(e,l.current()),p7);return s(),u}function p7(e,t,n){return">"+(n?"":" ")+e}function g7(e,t){return K2(e,t.inConstruct,!0)&&!K2(e,t.notInConstruct,!1)}function K2(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function q2(e,t,n,r){let s=-1;for(;++s<n.unsafe.length;)if(n.unsafe[s].character===`
349`&&g7(n.stack,n.unsafe[s]))return/[ \t]/.test(r.before)?"":" ";return`\\
350`}function y7(e,t){const n=String(e);let r=n.indexOf(t),s=r,l=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===s?++l>u&&(u=l):l=1,s=r+t.length,r=n.indexOf(t,s);return u}function b7(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 x7(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 v7(e,t,n,r){const s=x7(n),l=e.value||"",u=s==="`"?"GraveAccent":"Tilde";if(b7(e,n)){const y=n.enter("codeIndented"),v=n.indentLines(l,T7);return y(),v}const d=n.createTracker(r),f=s.repeat(Math.max(y7(l,s)+1,3)),h=n.enter("codeFenced");let g=d.move(f);if(e.lang){const y=n.enter(`codeFencedLang${u}`);g+=d.move(n.safe(e.lang,{before:g,after:" ",encode:["`"],...d.current()})),y()}if(e.lang&&e.meta){const y=n.enter(`codeFencedMeta${u}`);g+=d.move(" "),g+=d.move(n.safe(e.meta,{before:g,after:`
351`,encode:["`"],...d.current()})),y()}return g+=d.move(`
352`),l&&(g+=d.move(l+`
353`)),g+=d.move(f),h(),g}function T7(e,t,n){return(n?"":"    ")+e}function Iy(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 E7(e,t,n,r){const s=Iy(n),l=s==='"'?"Quote":"Apostrophe",u=n.enter("definition");let d=n.enter("label");const f=n.createTracker(r);let h=f.move("[");return h+=f.move(n.safe(n.associationId(e),{before:h,after:"]",...f.current()})),h+=f.move("]: "),d(),!e.url||/[\0- \u007F]/.test(e.url)?(d=n.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(n.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=n.enter("destinationRaw"),h+=f.move(n.safe(e.url,{before:h,after:e.title?" ":`
354`,...f.current()}))),d(),e.title&&(d=n.enter(`title${l}`),h+=f.move(" "+s),h+=f.move(n.safe(e.title,{before:h,after:s,...f.current()})),h+=f.move(s),d()),u(),h}function w7(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 sc(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Hf(e,t,n){const r=sl(e),s=sl(t);return r===void 0?s===void 0?n==="_"?{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}}o_.peek=S7;function o_(e,t,n,r){const s=w7(n),l=n.enter("emphasis"),u=n.createTracker(r),d=u.move(s);let f=u.move(n.containerPhrasing(e,{after:s,before:d,...u.current()}));const h=f.charCodeAt(0),g=Hf(r.before.charCodeAt(r.before.length-1),h,s);g.inside&&(f=sc(h)+f.slice(1));const y=f.charCodeAt(f.length-1),v=Hf(r.after.charCodeAt(0),y,s);v.inside&&(f=f.slice(0,-1)+sc(y));const T=u.move(s);return l(),n.attentionEncodeSurroundingInfo={after:v.outside,before:g.outside},d+f+T}
vendor: 10,206 bytes, lines 354-361
354function S7(e,t,n){return n.options.emphasis||"*"}function A7(e,t){let n=!1;return ch(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,x0}),!!((!e.depth||e.depth<3)&&Ay(e)&&(t.options.setext||n))}function _7(e,t,n,r){const s=Math.max(Math.min(6,e.depth||1),1),l=n.createTracker(r);if(A7(e,n)){const g=n.enter("headingSetext"),y=n.enter("phrasing"),v=n.containerPhrasing(e,{...l.current(),before:`
355`,after:`
356`});return y(),g(),v+`
357`+(s===1?"=":"-").repeat(v.length-(Math.max(v.lastIndexOf("\r"),v.lastIndexOf(`
358`))+1))}const u="#".repeat(s),d=n.enter("headingAtx"),f=n.enter("phrasing");l.move(u+" ");let h=n.containerPhrasing(e,{before:"# ",after:`
359`,...l.current()});return/^[\t ]/.test(h)&&(h=sc(h.charCodeAt(0))+h.slice(1)),h=h?u+" "+h:u,n.options.closeAtx&&(h+=" "+u),f(),d(),h}l_.peek=k7;function l_(e){return e.value||""}function k7(){return"<"}u_.peek=N7;function u_(e,t,n,r){const s=Iy(n),l=s==='"'?"Quote":"Apostrophe",u=n.enter("image");let d=n.enter("label");const f=n.createTracker(r);let h=f.move("![");return h+=f.move(n.safe(e.alt,{before:h,after:"]",...f.current()})),h+=f.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=n.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(n.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=n.enter("destinationRaw"),h+=f.move(n.safe(e.url,{before:h,after:e.title?" ":")",...f.current()}))),d(),e.title&&(d=n.enter(`title${l}`),h+=f.move(" "+s),h+=f.move(n.safe(e.title,{before:h,after:s,...f.current()})),h+=f.move(s),d()),h+=f.move(")"),u(),h}function N7(){return"!"}c_.peek=C7;function c_(e,t,n,r){const s=e.referenceType,l=n.enter("imageReference");let u=n.enter("label");const d=n.createTracker(r);let f=d.move("![");const h=n.safe(e.alt,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),u();const g=n.stack;n.stack=[],u=n.enter("reference");const y=n.safe(n.associationId(e),{before:f,after:"]",...d.current()});return u(),n.stack=g,l(),s==="full"||!h||h!==y?f+=d.move(y+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function C7(){return"!"}d_.peek=R7;function d_(e,t,n){let r=e.value||"",s="`",l=-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+" ");++l<n.unsafe.length;){const u=n.unsafe[l],d=n.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 R7(){return"`"}function f_(e,t){const n=Ay(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}h_.peek=D7;function h_(e,t,n,r){const s=Iy(n),l=s==='"'?"Quote":"Apostrophe",u=n.createTracker(r);let d,f;if(f_(e,n)){const g=n.stack;n.stack=[],d=n.enter("autolink");let y=u.move("<");return y+=u.move(n.containerPhrasing(e,{before:y,after:">",...u.current()})),y+=u.move(">"),d(),n.stack=g,y}d=n.enter("link"),f=n.enter("label");let h=u.move("[");return h+=u.move(n.containerPhrasing(e,{before:h,after:"](",...u.current()})),h+=u.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=n.enter("destinationLiteral"),h+=u.move("<"),h+=u.move(n.safe(e.url,{before:h,after:">",...u.current()})),h+=u.move(">")):(f=n.enter("destinationRaw"),h+=u.move(n.safe(e.url,{before:h,after:e.title?" ":")",...u.current()}))),f(),e.title&&(f=n.enter(`title${l}`),h+=u.move(" "+s),h+=u.move(n.safe(e.title,{before:h,after:s,...u.current()})),h+=u.move(s),f()),h+=u.move(")"),d(),h}function D7(e,t,n){return f_(e,n)?"<":"["}m_.peek=O7;function m_(e,t,n,r){const s=e.referenceType,l=n.enter("linkReference");let u=n.enter("label");const d=n.createTracker(r);let f=d.move("[");const h=n.containerPhrasing(e,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),u();const g=n.stack;n.stack=[],u=n.enter("reference");const y=n.safe(n.associationId(e),{before:f,after:"]",...d.current()});return u(),n.stack=g,l(),s==="full"||!h||h!==y?f+=d.move(y+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function O7(){return"["}function My(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 L7(e){const t=My(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function I7(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 p_(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 M7(e,t,n,r){const s=n.enter("list"),l=n.bulletCurrent;let u=e.ordered?I7(n):My(n);const d=e.ordered?u==="."?")":".":L7(n);let f=t&&n.bulletLastUsed?u===n.bulletLastUsed:!1;if(!e.ordered){const g=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&g&&(!g.children||!g.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(f=!0),p_(n)===u&&g){let y=-1;for(;++y<e.children.length;){const v=e.children[y];if(v&&v.type==="listItem"&&v.children&&v.children[0]&&v.children[0].type==="thematicBreak"){f=!0;break}}}}f&&(u=d),n.bulletCurrent=u;const h=n.containerFlow(e,r);return n.bulletLastUsed=u,n.bulletCurrent=l,s(),h}function P7(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 B7(e,t,n,r){const s=P7(n);let l=n.bulletCurrent||My(n);t&&t.type==="list"&&t.ordered&&(l=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+l);let u=l.length+1;(s==="tab"||s==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const d=n.createTracker(r);d.move(l+" ".repeat(u-l.length)),d.shift(u);const f=n.enter("listItem"),h=n.indentLines(n.containerFlow(e,d.current()),g);return f(),h;function g(y,v,T){return v?(T?"":" ".repeat(u))+y:(T?l:l+" ".repeat(u-l.length))+y}}function j7(e,t,n,r){const s=n.enter("paragraph"),l=n.enter("phrasing"),u=n.containerPhrasing(e,r);return l(),s(),u}const U7=lh(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function H7(e,t,n,r){return(e.children.some(function(u){return U7(u)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function F7(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}g_.peek=z7;function g_(e,t,n,r){const s=F7(n),l=n.enter("strong"),u=n.createTracker(r),d=u.move(s+s);let f=u.move(n.containerPhrasing(e,{after:s,before:d,...u.current()}));const h=f.charCodeAt(0),g=Hf(r.before.charCodeAt(r.before.length-1),h,s);g.inside&&(f=sc(h)+f.slice(1));const y=f.charCodeAt(f.length-1),v=Hf(r.after.charCodeAt(0),y,s);v.inside&&(f=f.slice(0,-1)+sc(y));const T=u.move(s+s);return l(),n.attentionEncodeSurroundingInfo={after:v.outside,before:g.outside},d+f+T}function z7(e,t,n){return n.options.strong||"*"}function V7(e,t,n,r){return n.safe(e.value,r)}function Y7(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 K7(e,t,n){const r=(p_(n)+(n.options.ruleSpaces?" ":"")).repeat(Y7(n));return n.options.ruleSpaces?r.slice(0,-1):r}const y_={blockquote:m7,break:q2,code:v7,definition:E7,emphasis:o_,hardBreak:q2,heading:_7,html:l_,image:u_,imageReference:c_,inlineCode:d_,link:h_,linkReference:m_,list:M7,listItem:B7,paragraph:j7,root:H7,strong:g_,text:V7,thematicBreak:K7};function q7(){return{enter:{table:G7,tableData:G2,tableHeader:G2,tableRow:X7},exit:{codeText:Q7,table:W7,tableData:Tg,tableHeader:Tg,tableRow:Tg}}}function G7(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function W7(e){this.exit(e),this.data.inTable=void 0}function X7(e){this.enter({type:"tableRow",children:[]},e)}function Tg(e){this.exit(e)}function G2(e){this.enter({type:"tableCell",children:[]},e)}function Q7(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,$7));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function $7(e,t){return t==="|"?t:e}function Z7(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,s=t.stringLength,l=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
360`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:v,table:u,tableCell:f,tableRow:d}};function u(T,w,A,_){return h(g(T,A,_),T.align)}function d(T,w,A,_){const N=y(T,A,_),P=h([N]);return P.slice(0,P.indexOf(`
361`))}function f(T,w,A,_){const N=A.enter("tableCell"),P=A.enter("phrasing"),I=A.containerPhrasing(T,{..._,before:l,after:l});return P(),N(),I}function h(T,w){return f7(T,{align:w,alignDelimiters:r,padding:n,stringLength:s})}function g(T,w,A){const _=T.children;let N=-1;const P=[],I=w.enter("table");for(;++N<_.length;)P[N]=y(_[N],w,A);return I(),P}function y(T,w,A){const _=T.children;let N=-1;const P=[],I=w.enter("tableRow");for(;++N<_.length;)P[N]=f(_[N],T,w,A);return I(),P}function v(T,w,A){let _=y_.inlineCode(T,w,A);
vendor: 4,102 bytes, line 361
361return A.stack.includes("tableCell")&&(_=_.replace(/\|/g,"\\$&")),_}}function J7(){return{exit:{taskListCheckValueChecked:W2,taskListCheckValueUnchecked:W2,paragraph:tU}}}function eU(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:nU}}}function W2(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function tU(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const s=t.children;let l=-1,u;for(;++l<s.length;){const d=s[l];if(d.type==="paragraph"){u=d;break}}u===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function nU(e,t,n,r){const s=e.children[0],l=typeof e.checked=="boolean"&&s&&s.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",d=n.createTracker(r);l&&d.move(u);let f=y_.listItem(e,t,n,{...r,...d.current()});return l&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(g){return g+u}}function aU(){return[Mj(),n7(),s7(),q7(),J7()]}function rU(e){return{extensions:[Pj(),a7(e),o7(),Z7(e),eU()]}}const iU={tokenize:dU,partial:!0},b_={tokenize:fU,partial:!0},x_={tokenize:hU,partial:!0},v_={tokenize:mU,partial:!0},sU={tokenize:pU,partial:!0},T_={name:"wwwAutolink",tokenize:uU,previous:w_},E_={name:"protocolAutolink",tokenize:cU,previous:S_},fi={name:"emailAutolink",tokenize:lU,previous:A_},Ar={};function oU(){return{text:Ar}}let Is=48;for(;Is<123;)Ar[Is]=fi,Is++,Is===58?Is=65:Is===91&&(Is=97);Ar[43]=fi;Ar[45]=fi;Ar[46]=fi;Ar[95]=fi;Ar[72]=[fi,E_];Ar[104]=[fi,E_];Ar[87]=[fi,T_];Ar[119]=[fi,T_];function lU(e,t,n){const r=this;let s,l;return u;function u(y){return!w0(y)||!A_.call(r,r.previous)||Py(r.events)?n(y):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(y))}function d(y){return w0(y)?(e.consume(y),d):y===64?(e.consume(y),f):n(y)}function f(y){return y===46?e.check(sU,g,h)(y):y===45||y===95||Mn(y)?(l=!0,e.consume(y),f):g(y)}function h(y){return e.consume(y),s=!0,f}function g(y){return l&&s&&zn(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(y)):n(y)}}function uU(e,t,n){const r=this;return s;function s(u){return u!==87&&u!==119||!w_.call(r,r.previous)||Py(r.events)?n(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(iU,e.attempt(b_,e.attempt(x_,l),n),n)(u))}function l(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function cU(e,t,n){const r=this;let s="",l=!1;return u;function u(y){return(y===72||y===104)&&S_.call(r,r.previous)&&!Py(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(y),e.consume(y),d):n(y)}function d(y){if(zn(y)&&s.length<5)return s+=String.fromCodePoint(y),e.consume(y),d;if(y===58){const v=s.toLowerCase();if(v==="http"||v==="https")return e.consume(y),f}return n(y)}function f(y){return y===47?(e.consume(y),l?h:(l=!0,f)):n(y)}function h(y){return y===null||jf(y)||Pt(y)||qs(y)||ih(y)?n(y):e.attempt(b_,e.attempt(x_,g),n)(y)}function g(y){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(y)}}function dU(e,t,n){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),l):n(u)}function l(u){return u===null?n(u):t(u)}}function fU(e,t,n){let r,s,l;return u;function u(h){return h===46||h===95?e.check(v_,f,d)(h):h===null||Pt(h)||qs(h)||h!==45&&ih(h)?f(h):(l=!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||!l?n(h):t(h)}}function hU(e,t){let n=0,r=0;return s;function s(u){return u===40?(n++,e.consume(u),s):u===41&&r<n?l(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(v_,t,l)(u):u===null||Pt(u)||qs(u)?t(u):(e.consume(u),s)}function l(u){return u===41&&r++,e.consume(u),s}}
vendor: 5,718 bytes, line 361
361function mU(e,t,n){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),l):d===93?(e.consume(d),s):d===60||d===null||Pt(d)||qs(d)?t(d):n(d)}function s(d){return d===null||d===40||d===91||Pt(d)||qs(d)?t(d):r(d)}function l(d){return zn(d)?u(d):n(d)}function u(d){return d===59?(e.consume(d),r):zn(d)?(e.consume(d),u):n(d)}}function pU(e,t,n){return r;function r(l){return e.consume(l),s}function s(l){return Mn(l)?n(l):t(l)}}function w_(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Pt(e)}function S_(e){return!zn(e)}function A_(e){return!(e===47||w0(e))}function w0(e){return e===43||e===45||e===46||e===95||Mn(e)}function Py(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const gU={tokenize:SU,partial:!0};function yU(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:TU,continuation:{tokenize:EU},exit:wU}},text:{91:{name:"gfmFootnoteCall",tokenize:vU},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:bU,resolveTo:xU}}}}function bU(e,t,n){const r=this;let s=r.events.length;const l=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 n(f);const h=rr(r.sliceSerialize({start:u.end,end:r.now()}));return h.codePointAt(0)!==94||!l.includes(h.slice(1))?n(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),t(f))}}function xU(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const l={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},d=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",s,t],["exit",s,t],["enter",l,t],["enter",u,t],["exit",u,t],["exit",l,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...d),e}function vU(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l=0,u;return d;function d(y){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(y),e.exit("gfmFootnoteCallLabelMarker"),f}function f(y){return y!==94?n(y):(e.enter("gfmFootnoteCallMarker"),e.consume(y),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(y){if(l>999||y===93&&!u||y===null||y===91||Pt(y))return n(y);if(y===93){e.exit("chunkString");const v=e.exit("gfmFootnoteCallString");return s.includes(rr(r.sliceSerialize(v)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(y),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(y)}return Pt(y)||(u=!0),l++,e.consume(y),y===92?g:h}function g(y){return y===91||y===92||y===93?(e.consume(y),l++,h):h(y)}}function TU(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l,u=0,d;return f;function f(w){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(w),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(w){return w===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(w),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",g):n(w)}function g(w){if(u>999||w===93&&!d||w===null||w===91||Pt(w))return n(w);if(w===93){e.exit("chunkString");const A=e.exit("gfmFootnoteDefinitionLabelString");return l=rr(r.sliceSerialize(A)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(w),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),v}return Pt(w)||(d=!0),u++,e.consume(w),w===92?y:g}function y(w){return w===91||w===92||w===93?(e.consume(w),u++,g):g(w)}function v(w){return w===58?(e.enter("definitionMarker"),e.consume(w),e.exit("definitionMarker"),s.includes(l)||s.push(l),ft(e,T,"gfmFootnoteDefinitionWhitespace")):n(w)}function T(w){return t(w)}}function EU(e,t,n){return e.check(yc,t,e.attempt(gU,t,n))}function wU(e){e.exit("gfmFootnoteDefinition")}function SU(e,t,n){const r=this;return ft(e,s,"gfmFootnoteDefinitionIndent",5);function s(l){const u=r.events[r.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(l):n(l)}}function AU(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:l,resolveAll:s};return n==null&&(n=!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 g={type:"strikethrough",start:Object.assign({}
vendor: 6,403 bytes, line 361
361,u[h][1].start),end:Object.assign({},u[f][1].end)},y={type:"strikethroughText",start:Object.assign({},u[h][1].end),end:Object.assign({},u[f][1].start)},v=[["enter",g,d],["enter",u[h][1],d],["exit",u[h][1],d],["enter",y,d]],T=d.parser.constructs.insideSpan.null;T&&ya(v,v.length,0,sh(T,u.slice(h+1,f),d)),ya(v,v.length,0,[["exit",y,d],["enter",u[f][1],d],["exit",u[f][1],d],["exit",g,d]]),ya(u,h-1,f-h+3,v),f=h+v.length-2;break}}for(f=-1;++f<u.length;)u[f][1].type==="strikethroughSequenceTemporary"&&(u[f][1].type="data");return u}function l(u,d,f){const h=this.previous,g=this.events;let y=0;return v;function v(w){return h===126&&g[g.length-1][1].type!=="characterEscape"?f(w):(u.enter("strikethroughSequenceTemporary"),T(w))}function T(w){const A=sl(h);if(w===126)return y>1?f(w):(u.consume(w),y++,T);if(y<2&&!n)return f(w);const _=u.exit("strikethroughSequenceTemporary"),N=sl(w);return _._open=!N||N===2&&!!A,_._close=!A||A===2&&!!N,d(w)}}}class _U{constructor(){this.map=[]}add(t,n,r){kU(this,t,n,r)}consume(t){if(this.map.sort(function(l,u){return l[0]-u[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let s=r.pop();for(;s;){for(const l of s)t.push(l);s=r.pop()}this.map.length=0}}function kU(e,t,n,r){let s=0;if(!(n===0&&r.length===0)){for(;s<e.map.length;){if(e.map[s][0]===t){e.map[s][1]+=n,e.map[s][2].push(...r);return}s+=1}e.map.push([t,n,r])}}function NU(e,t){let n=!1;const r=[];for(;t<e.length;){const s=e[t];if(n){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 l=r.length-1;r[l]=r[l]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function CU(){return{flow:{null:{name:"table",tokenize:RU,resolveAll:DU}}}}function RU(e,t,n){const r=this;let s=0,l=0,u;return d;function d(j){let ce=r.events.length-1;for(;ce>-1;){const xe=r.events[ce][1].type;if(xe==="lineEnding"||xe==="linePrefix")ce--;else break}const ee=ce>-1?r.events[ce][1].type:null,_e=ee==="tableHead"||ee==="tableRow"?V:f;return _e===V&&r.parser.lazy[r.now().line]?n(j):_e(j)}function f(j){return e.enter("tableHead"),e.enter("tableRow"),h(j)}function h(j){return j===124||(u=!0,l+=1),g(j)}function g(j){return j===null?n(j):Ue(j)?l>1?(l=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),T):n(j):lt(j)?ft(e,g,"whitespace")(j):(l+=1,u&&(u=!1,s+=1),j===124?(e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),u=!0,g):(e.enter("data"),y(j)))}function y(j){return j===null||j===124||Pt(j)?(e.exit("data"),g(j)):(e.consume(j),j===92?v:y)}function v(j){return j===92||j===124?(e.consume(j),y):y(j)}function T(j){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(j):(e.enter("tableDelimiterRow"),u=!1,lt(j)?ft(e,w,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):w(j))}function w(j){return j===45||j===58?_(j):j===124?(u=!0,e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),A):Z(j)}function A(j){return lt(j)?ft(e,_,"whitespace")(j):_(j)}function _(j){return j===58?(l+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(j),e.exit("tableDelimiterMarker"),N):j===45?(l+=1,N(j)):j===null||Ue(j)?Q(j):Z(j)}function N(j){return j===45?(e.enter("tableDelimiterFiller"),P(j)):Z(j)}function P(j){return j===45?(e.consume(j),P):j===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(j),e.exit("tableDelimiterMarker"),I):(e.exit("tableDelimiterFiller"),I(j))}function I(j){return lt(j)?ft(e,Q,"whitespace")(j):Q(j)}function Q(j){return j===124?w(j):j===null||Ue(j)?!u||s!==l?Z(j):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(j)):Z(j)}function Z(j){return n(j)}function V(j){return e.enter("tableRow"),ue(j)}function ue(j){return j===124?(e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),ue):j===null||Ue(j)?(e.exit("tableRow"),t(j)):lt(j)?ft(e,ue,"whitespace")(j):(e.enter("data"),U(j))}function U(j){return j===null||j===124||Pt(j)?(e.exit("data"),ue(j)):(e.consume(j),j===92?ge:U)}function ge(j){return j===92||j===124?(e.consume(j),U):U(j)}}function DU(e,t){let n=-1,r=!0,s=0,l=[0,0,0,0],u=[0,0,0,0],d=!1,f=0,h,g,y;const v=new _U;for(;++n<e.length;){const T=e[n],w=T[1];T[0]==="enter"?w.type==="tableHead"?(d=!1,f!==0&&(X2(v,t,f,h,g),g=void 0,f=0),h={type:"table",start:Object.assign({},w.start),end:Object.assign({},w.end)},v.add(n,0,[["enter",h,t]])):w.type==="tableRow"||w.type==="tableDelimiterRow"?(r=!0,y=void 0,l=[0,0,0,0],u=[0,n+1,0,0],d&&(d=!1,g={type:"tableBody",start:Object.assign({},w.start),end:Object.assign({},w.end)},v.add(n,0,[["enter",g,t]])),s=w.type==="tableDelimiterRow"?2:g?3:1):s&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")?(r=!1,u[2]===0&&(l[1]!==0&&(u[0]=u[1],y=Xd(v,t,l,s,void 0,y),l=[0,0,0,0]),u[2]=n)):w.type==="tableCellDivider"&&(r?r=!1:(l[1]!==0&&(u[0]=u[1],y=Xd(v,t,l,s,void 0,y)),l=u,u=[l[1],n,0,0])):w.type==="tableHead"?(d=!0,f=n):w.type==="tableRow"||w.type==="tableDelimiterRow"?(f=n,l[1]!==0?(u[0]=u[1],y=Xd(v,t,l,s,n,y)):u[1]!==0&&(y=Xd(v,t,u,s,n,y)),s=0):s&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")&&(u[3]=n)}for(f!==0&&X2(v,t,f,h,g),v.consume(t.events),n=-1;++n<t.events.length;){const T=t.events[n];T[0]==="enter"&&T[1].type==="table"&&(T[1]._align=NU(t.events,n))}return e}function Xd(e,t,n,r,s,l){const u=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",d="tableContent";n[0]!==0&&(l.end=Object.assign({},Vo(t.events,n[0])),e.add(n[0],0,[["exit",l,t]]));const f=Vo(t.events,n[1]);if(l={type:u,start:Object.assign({},f),end:Object.assign({},f)},e.add(n[1],0,[["enter",l,t]]),n[2]!==0){const h=Vo(t.events,n[2]),g=Vo(t.events,n[3]),y={type:d,start:Object.assign({},h),end:Object.assign({},g)};if(e.add(n[2],0,[["enter",y,t]]),r!==2){const v=t.events[n[2]],T=t.events[n[3]];if(v[1].end=Object.assign({},T[1].end),v[1].type="chunkText",v[1].contentType="text",n[3]>n[2]+1){const w=n[2]+1,A=n[3]-n[2]-1;e.add(w,A,[])}}e.add(n[3]+1,0,[["exit",y,t]])}return s!==void 0&&(l.end=Object.assign({},Vo(t.events,s)),e.add(s,0,[["exit",l,t]]),l=void 0),l}
361function X2(e,t,n,r,s){const l=[],u=Vo(t.events,n);s&&(s.end=Object.assign({},u),l.push(["exit",s,t])),r.end=Object.assign({},u),l.push(["exit",r,t]),e.add(n+1,0,l)}function Vo(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const OU={name:"tasklistCheck",tokenize:IU};function LU(){return{text:{91:OU}}}function IU(e,t,n){const r=this;return s;function s(f){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(f):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),l)}function l(f){return Pt(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):n(f)}function u(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),d):n(f)}function d(f){return Ue(f)?t(f):lt(f)?e.check({tokenize:MU},t,n)(f):n(f)}}function MU(e,t,n){return ft(e,r,"whitespace");function r(s){return s===null?n(s):t(s)}}function PU(e){return M3([oU(),yU(),AU(e),CU(),LU()])}const BU={};function By(e){const t=this,n=e||BU,r=t.data(),s=r.micromarkExtensions||(r.micromarkExtensions=[]),l=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),u=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);s.push(PU(n)),l.push(aU()),u.push(rU(n))}function jU({post:e}){const t=y3(e.content),n=h0(e.publishedAt,"full"),r=e.updatedAt?h0(e.updatedAt,"long"):null,[s,l]=D.useState(0);return D.useEffect(()=>{const u=()=>{const d=window.innerHeight,f=document.documentElement.scrollHeight-d,g=window.scrollY/f*100;l(Math.min(100,Math.max(0,g)))};return window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u)},[]),m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"fixed top-0 left-0 right-0 z-50 h-1 bg-border/30",children:m.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}%`}})}),m.jsxs("article",{className:"relative",children:[m.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none","aria-hidden":"true",children:[m.jsx("div",{className:"absolute -top-40 -right-40 w-96 h-96 bg-primary/5 rounded-full blur-3xl"}),m.jsx("div",{className:"absolute top-1/3 -left-40 w-80 h-80 bg-accent/5 rounded-full blur-3xl"}),m.jsx("div",{className:"absolute bottom-1/4 -right-32 w-72 h-72 bg-primary/5 rounded-full blur-3xl"})]}),m.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12 lg:py-20",children:[m.jsx("header",{className:"mb-16 lg:mb-24",children:m.jsxs("div",{className:"text-center",children:[e.category&&m.jsx("div",{className:"mb-8 animate-fade-in",children:m.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:[m.jsx("span",{className:"w-2 h-2 rounded-full bg-primary animate-pulse"}),e.category]})}),m.jsx("h1",{className:"page-title mb-10",children:m.jsx(oe,{devId:"612919",guard:{file:"src/components/blog/BlogPost.tsx",tagName:"h1",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:3d7762f3ba350673da1469c3e329e26b1f1c57e07da68dc04a2b45e92c636880"},children:e.title})}),e.excerpt&&m.jsx("p",{className:"text-lg text-muted-foreground mb-12 max-w-3xl mx-auto leading-relaxed font-light",children:m.jsx(oe,{devId:"fb5010",guard:{file:"src/components/blog/BlogPost.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:5fd23573df9cc310b2aae74cb3a9aeeeee60731085d5bf04171afe4ce2c58fcb"},children:e.excerpt})}),m.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&&m.jsxs("div",{className:"flex items-center gap-3",children:[m.jsx("div",{className:"w-12 h-12 rounded-full overflow-hidden shadow-lg ring-2 ring-background",children:m.jsx("img",{src:"/airo-assets/images/blog/author-avatar",alt:e.author,className:"w-full h-full object-cover object-[center_15%]",loading:"eager",fetchPriority:"high",width:48,height:48})}),m.jsx("span",{className:"font-bold text-foreground tracking-wide",children:m.jsx(oe,{devId:"385fbb",guard:{file:"src/components/blog/BlogPost.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
361ash:"sha256:03d87aa20466210eac1e3524b26a6ab217312234ab59349f4f5a1925f58e72c3"},children:e.author})})]}),m.jsx("span",{className:"text-border text-2xl",children:"•"}),m.jsx("time",{dateTime:e.publishedAt,className:"tracking-wide text-muted-foreground font-medium",children:n}),m.jsx("span",{className:"text-border text-2xl",children:"•"}),m.jsxs("span",{className:"tracking-wide text-muted-foreground font-medium flex items-center gap-2",children:[m.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.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&&m.jsxs("div",{className:"mt-6 text-sm text-muted-foreground/80 italic",children:["Last updated: ",r]})]})}),e.featuredImage&&m.jsxs("div",{className:"mb-20 lg:mb-28 relative group",children:[m.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"}),m.jsx("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl ring-1 ring-border/50",children:m.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",fetchPriority:"high",width:800,height:450})})]}),m.jsxs("div",{className:"relative",children:[m.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"}),m.jsx("div",{className:"rich-text","data-dev-content-file":`src/content/data/blog/${e.slug}.md`,children:m.jsx(Ly,{remarkPlugins:[By],children:e.content})})]}),e.tags&&e.tags.length>0&&m.jsxs("div",{className:"mt-24 pt-12 border-t-2 border-border/50 relative",children:[m.jsx("div",{className:"absolute -top-4 left-1/2 -translate-x-1/2 px-6 py-2 bg-background",children:m.jsxs("div",{className:"flex gap-2",children:[m.jsx("div",{className:"w-2 h-2 rounded-full bg-primary"}),m.jsx("div",{className:"w-2 h-2 rounded-full bg-primary/60"}),m.jsx("div",{className:"w-2 h-2 rounded-full bg-primary/30"})]})}),m.jsx("div",{className:"text-center mb-8",children:m.jsx("h3",{className:"text-sm font-black uppercase tracking-[0.2em] text-muted-foreground",children:"Explore Topics"})}),m.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:e.tags.map(u=>m.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:[m.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"}),m.jsxs("span",{className:"relative",children:["#",u]})]},u))})]}),e.author&&m.jsxs("div",{className:"mt-24 pt-12 border-t-2 border-border/50 relative",children:[m.jsx("div",{className:"absolute -top-4 left-1/2 -translate-x-1/2 px-6 py-2 bg-background",children:m.jsx("div",{className:"w-8 h-1 bg-gradient-to-r from-transparent via-primary to-transparent rounded-full"})}),m.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:[m.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-primary/5 rounded-bl-full"}),m.jsx("div",{className:"absolute bottom-0 left-0 w-24 h-24 bg-accent/10 rounded-tr-full"}),m.jsxs("div",{className:"relative flex items-start gap-8",children:[m.jsxs("div",{className:"flex-shrink-0 relative group",children:[m.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"}),m.jsx("div",{className:"relative w-24 h-24 rounded-full overflow-hidden shadow-xl ring-4 ring-background",children:m.jsx("img",{src:"/airo-assets/images/blog/author-avatar",alt:e.author,className:"w-full h-full object-cover object-[center_15%]",loading:"lazy",width:48,height:48})})]}),m.jsxs("div",{className:"flex-1",children:[m.jsx("p",{className:"text-xs font-black uppercase tracking-[0.2em] text-muted-foreground mb-3",children:"Written by"}),m.jsx("h3",{className:"text-xl font-black text-foreground mb-3",children:m.jsx(oe,{devId:"e06f04",guard:{file:"src/components/blog/BlogPost.tsx",tagName:"h3",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
vendor: 5,376 bytes, line 361
361ash:"sha256:03d87aa20466210eac1e3524b26a6ab217312234ab59349f4f5a1925f58e72c3"},children:e.author})}),m.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Content creator and writer sharing insights and stories."})]})]})]})]})]})]})]})}function UU(){const{slug:e}=u4(),t=e?f3(e):null,n=t?bM(t,3):[];return t?m.jsxs("div",{className:"min-h-screen bg-background",children:[m.jsx("div",{className:"max-w-4xl mx-auto px-4 pt-8",children:m.jsxs(hn,{to:"/blog",className:"inline-flex items-center gap-2 text-primary hover:text-primary/80 transition-colors font-medium",children:[m.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})}),"Back to Blog"]})}),m.jsx(jU,{post:t}),n.length>0&&m.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-16 border-t border-border mt-16",children:[m.jsx("h2",{className:"text-3xl font-bold text-foreground mb-8",children:"Related Posts"}),m.jsx(x3,{posts:n,variant:"default",columns:3})]})]}):m.jsx(R4,{to:"/blog",replace:!0})}const HU=hn;function FU(){return m.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:m.jsx("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:m.jsxs("div",{className:"space-y-8",children:[m.jsxs("div",{className:"space-y-4",children:[m.jsx("h1",{className:"text-6xl font-bold text-white/90",children:"404"}),m.jsx("h2",{className:"text-2xl font-semibold text-white/90",children:"Page Not Found"}),m.jsx("p",{className:"text-white/90",children:"Sorry, the page you're looking for doesn't exist or has been moved."})]}),m.jsxs("div",{className:"flex justify-center gap-4",children:[m.jsx(HU,{to:"/",children:m.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"})}),m.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 Q2=/[#.]/g;function zU(e,t){const n=e||"",r={};let s=0,l,u;for(;s<n.length;){Q2.lastIndex=s;const d=Q2.exec(n),f=n.slice(s,d?d.index:n.length);f&&(l?l==="#"?r.id=f:Array.isArray(r.className)?r.className.push(f):r.className=[f]:u=f,s+=f.length),d&&(l=d[0],s++)}return{type:"element",tagName:u||t||"div",properties:r,children:[]}}function __(e,t,n){const r=n?qU(n):void 0;function s(l,u,...d){let f;if(l==null){f={type:"root",children:[]};const h=u;d.unshift(h)}else{f=zU(l,t);const h=f.tagName.toLowerCase(),g=r?r.get(h):void 0;if(f.tagName=g||h,VU(u))d.unshift(u);else for(const[y,v]of Object.entries(u))YU(e,f.properties,y,v)}for(const h of d)S0(f.children,h);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return s}function VU(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const s=t[r];if(s&&typeof s=="object"){if(!Array.isArray(s))return!0;const l=s;for(const u of l)if(typeof u!="number"&&typeof u!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function YU(e,t,n,r){const s=ah(e,n);let l;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;l=r}else typeof r=="boolean"?l=r:typeof r=="string"?s.spaceSeparated?l=u2(r):s.commaSeparated?l=r2(r):s.commaOrSpaceSeparated?l=u2(r2(r).join(" ")):l=$2(s,s.property,r):Array.isArray(r)?l=[...r]:l=s.property==="style"?KU(r):String(r);if(Array.isArray(l)){const u=[];for(const d of l)u.push($2(s,s.property,d));l=u}s.property==="className"&&Array.isArray(t.className)&&(l=t.className.concat(l)),t[s.property]=l}}function S0(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)S0(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?S0(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function $2(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||rc(n)===rc(t)))return!0}return n}function KU(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function qU(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const GU=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],WU=__(gc,"div"),XU=__(us,"g",GU);function QU(e){const t=String(e),n=[];return{toOffset:s,toPoint:r};function r(l){if(typeof l=="number"&&l>-1&&l<=t.length){let u=0;for(;;){let d=n[u];
vendor: 13,994 bytes, lines 361-362
361if(d===void 0){const f=Z2(t,n[u-1]);d=f===-1?t.length+1:f+1,n[u]=d}if(d>l)return{line:u+1,column:l-(u>0?n[u-1]:0)+1,offset:l};u++}}}function s(l){if(l&&typeof l.line=="number"&&typeof l.column=="number"&&!Number.isNaN(l.line)&&!Number.isNaN(l.column)){for(;n.length<l.line;){const d=n[n.length-1],f=Z2(t,d),h=f===-1?t.length+1:f+1;if(d===h)break;n.push(h)}const u=(l.line>1?n[l.line-2]:0)+l.column-1;if(u<n[l.line-1])return u}}}function Z2(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
362`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Us={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},k_={}.hasOwnProperty,$U=Object.prototype;function ZU(e,t){const n=t||{};return jy({file:n.file||void 0,location:!1,schema:n.space==="svg"?us:gc,verbose:n.verbose||!1},e)}function jy(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},gf(e,r,n),n}case"#document":case"#document-fragment":{const r=t,s="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:N_(e,t.childNodes),data:{quirksMode:s}},e.file&&e.location){const l=String(e.file),u=QU(l),d=u.toPoint(0),f=u.toPoint(l.length);n.position={start:d,end:f}}return n}case"#documentType":{const r=t;return n={type:"doctype"},gf(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},gf(e,r,n),n}default:return n=JU(e,t),n}}function N_(e,t){let n=-1;const r=[];for(;++n<t.length;){const s=jy(e,t[n]);r.push(s)}return r}function JU(e,t){const n=e.schema;e.schema=t.namespaceURI===Us.svg?us:gc;let r=-1;const s={};for(;++r<t.attrs.length;){const d=t.attrs[r],f=(d.prefix?d.prefix+":":"")+d.name;k_.call($U,f)||(s[f]=d.value)}const u=(e.schema.space==="svg"?XU:WU)(t.tagName,s,N_(e,t.childNodes));if(gf(e,t,u),u.tagName==="template"){const d=t,f=d.sourceCodeLocation,h=f&&f.startTag&&Go(f.startTag),g=f&&f.endTag&&Go(f.endTag),y=jy(e,d.content);h&&g&&e.file&&(y.position={start:h.end,end:g.start}),u.content=y}return e.schema=n,u}function gf(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=eH(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function eH(e,t,n){const r=Go(n);if(t.type==="element"){const s=t.children[t.children.length-1];if(r&&!n.endTag&&s&&s.position&&s.position.end&&(r.end=Object.assign({},s.position.end)),e.verbose){const l={};let u;if(n.attrs)for(u in n.attrs)k_.call(n.attrs,u)&&(l[ah(e.schema,u).property]=Go(n.attrs[u]));n.startTag;const d=Go(n.startTag),f=n.endTag?Go(n.endTag):void 0,h={opening:d};f&&(h.closing=f),h.properties=l,t.data={position:h}}}return r}function Go(e){const t=J2({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=J2({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function J2(e){return e.line&&e.column?e:void 0}const tH={},nH={}.hasOwnProperty,C_=s_("type",{handlers:{root:rH,element:uH,text:oH,comment:lH,doctype:sH}});function aH(e,t){const r=(t||tH).space;return C_(e,r==="svg"?us:gc)}function rH(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Uy(e.children,n,t),xl(e,n),n}function iH(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Uy(e.children,n,t),xl(e,n),n}function sH(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return xl(e,t),t}function oH(e){const t={nodeName:"#text",value:e.value,parentNode:null};return xl(e,t),t}function lH(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return xl(e,t),t}function uH(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=us);const s=[];let l;if(e.properties){for(l in e.properties)if(l!=="children"&&nH.call(e.properties,l)){const f=cH(r,l,e.properties[l]);f&&s.push(f)}}const u=r.space,d={nodeName:e.tagName,tagName:e.tagName,attrs:s,namespaceURI:Us[u],childNodes:[],parentNode:null};return d.childNodes=Uy(e.children,d,r),xl(e,d),e.tagName==="template"&&e.content&&(d.content=iH(e.content,r)),d}function cH(e,t,n){const r=ah(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?v3(n):N3(n));const s={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const l=s.name.indexOf(":");l<0?s.prefix="":(s.name=s.name.slice(l+1),s.prefix=r.attribute.slice(0,l)),s.namespace=Us[r.space]}return s}function Uy(e,t,n){let r=-1;const s=[];if(e)for(;++r<e.length;){const l=C_(e[r],n);l.parentNode=t,s.push(l)}return s}function xl(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const dH=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],fH=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),qt="�";var k;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(k||(k={}));const na={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function R_(e){return e>=55296&&e<=57343}function hH(e){return e>=56320&&e<=57343}function mH(e,t){return(e-55296)*1024+9216+t}function D_(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function O_(e){return e>=64976&&e<=65007||fH.has(e)}var te;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(te||(te={}));const pH=65536;class gH{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=pH,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:s,offset:l}=this,u=s+n,d=l+n;return{code:t,startLine:r,endLine:r,startCol:u,endCol:u,startOffset:d,endOffset:d}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(hH(n))return this.pos++,this._addGap(),mH(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,k.EOF;return this._err(te.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,k.EOF;const r=this.html.charCodeAt(n);return r===k.CARRIAGE_RETURN?k.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,k.EOF;let t=this.html.charCodeAt(this.pos);return t===k.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,k.LINE_FEED):t===k.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,R_(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===k.LINE_FEED||t===k.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){D_(t)?this._err(te.controlCharacterInInputStream):O_(t)&&this._err(te.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var rt;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(rt||(rt={}));function L_(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const yH=new Uint16Array('
vendor: 16,129 bytes, line 362
362ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms�„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;æ«§ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapÓºÓ¾cr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpÔ¦Ôªon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋ĀipÕªÕ¯sts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0Ö£mallSquare;旼erySmallSquare;斪Ͱֺ\0Ö¿\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0Ú²f;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgÜ´Ü·r;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyÞ±Þµrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āeyß¶ß»dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;æ««y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;æ©°cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;æ§«riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0á ±;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0á«¢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;æ©­nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0á­µr;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;oá³§á³°ntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;æ§¶rok;䄑Ādrá¶°á¶´ot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;æ§£us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0á¾½g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;
vendor: 4,294 bytes, line 362
362䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
vendor: 6,210 bytes, line 362
362astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌
362'.split("").map(e=>e.charCodeAt(0))),bH=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function xH(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=bH.get(e))!==null&&t!==void 0?t:e}var En;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(En||(En={}));const vH=32;var ns;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(ns||(ns={}));function A0(e){return e>=En.ZERO&&e<=En.NINE}function TH(e){return e>=En.UPPER_A&&e<=En.UPPER_F||e>=En.LOWER_A&&e<=En.LOWER_F}function EH(e){return e>=En.UPPER_A&&e<=En.UPPER_Z||e>=En.LOWER_A&&e<=En.LOWER_Z||A0(e)}function wH(e){return e===En.EQUALS||EH(e)}var Tn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Tn||(Tn={}));var li;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(li||(li={}));class SH{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Tn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=li.Strict}startEntity(t){this.decodeMode=t,this.state=Tn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Tn.EntityStart:return t.charCodeAt(n)===En.NUM?(this.state=Tn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Tn.NamedEntity,this.stateNamedEntity(t,n));case Tn.NumericStart:return this.stateNumericStart(t,n);case Tn.NumericDecimal:return this.stateNumericDecimal(t,n);case Tn.NumericHex:return this.stateNumericHex(t,n);case Tn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|vH)===En.LOWER_X?(this.state=Tn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Tn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,s){if(n!==r){const l=r-n;this.result=this.result*Math.pow(s,l)+Number.parseInt(t.substr(n,l),s),this.consumed+=l}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const s=t.charCodeAt(n);if(A0(s)||TH(s))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(s,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const s=t.charCodeAt(n);if(A0(s))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(s,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===En.SEMI)this.consumed+=1;else if(this.decodeMode===li.Strict)return 0;return this.emitCodePoint(xH(this.result),this.consumed),this.errors&&(t!==En.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let s=r[this.treeIndex],l=(s&ns.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const u=t.charCodeAt(n);if(this.treeIndex=AH(r,s,this.treeIndex+Math.max(1,l),u),this.treeIndex<0)return this.result===0||this.decodeMode===li.Attribute&&(l===0||wH(u))?0:this.emitNotTerminatedNamedEntity();if(s=r[this.treeIndex],l=(s&ns.VALUE_LENGTH)>>14,l!==0){if(u===En.SEMI)return this.emitNamedEntityData(this.treeIndex,l,this.consumed+this.excess);this.decodeMode!==li.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,s=(r[n]&ns.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,s,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:s}=this;return this.emitCodePoint(n===1?s[t]&~ns.VALUE_LENGTH:s[t+1],r),n===3&&this.emitCodePoint(s[t+2],r),r}end(){var t;switch(this.state){case Tn.NamedEntity:return this.result!==0&&(this.decodeMode!==li.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Tn.NumericDecimal:return this.emitNumericEntity(0,2);case Tn.NumericHex:return this.emitNumericEntity(0,3);case Tn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Tn.EntityStart:return 0}}}function AH(e,t,n,r){const s=(t&ns.BRANCH_LENGTH)>>7,l=t&ns.JUMP_TABLE;if(s===0)return l!==0&&r===l?n:-1;
vendor: 21,736 bytes, line 362
362if(l){const f=r-l;return f<0||f>=s?-1:e[n+f]-1}let u=n,d=u+s-1;for(;u<=d;){const f=u+d>>>1,h=e[f];if(h<r)u=f+1;else if(h>r)d=f-1;else return e[f+s]}return-1}var me;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(me||(me={}));var Ys;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Ys||(Ys={}));var Ma;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ma||(Ma={}));var q;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(q||(q={}));var x;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(x||(x={}));const _H=new Map([[q.A,x.A],[q.ADDRESS,x.ADDRESS],[q.ANNOTATION_XML,x.ANNOTATION_XML],[q.APPLET,x.APPLET],[q.AREA,x.AREA],[q.ARTICLE,x.ARTICLE],[q.ASIDE,x.ASIDE],[q.B,x.B],[q.BASE,x.BASE],[q.BASEFONT,x.BASEFONT],[q.BGSOUND,x.BGSOUND],[q.BIG,x.BIG],[q.BLOCKQUOTE,x.BLOCKQUOTE],[q.BODY,x.BODY],[q.BR,x.BR],[q.BUTTON,x.BUTTON],[q.CAPTION,x.CAPTION],[q.CENTER,x.CENTER],[q.CODE,x.CODE],[q.COL,x.COL],[q.COLGROUP,x.COLGROUP],[q.DD,x.DD],[q.DESC,x.DESC],[q.DETAILS,x.DETAILS],[q.DIALOG,x.DIALOG],[q.DIR,x.DIR],[q.DIV,x.DIV],[q.DL,x.DL],[q.DT,x.DT],[q.EM,x.EM],[q.EMBED,x.EMBED],[q.FIELDSET,x.FIELDSET],[q.FIGCAPTION,x.FIGCAPTION],[q.FIGURE,x.FIGURE],[q.FONT,x.FONT],[q.FOOTER,x.FOOTER],[q.FOREIGN_OBJECT,x.FOREIGN_OBJECT],[q.FORM,x.FORM],[q.FRAME,x.FRAME],[q.FRAMESET,x.FRAMESET],[q.H1,x.H1],[q.H2,x.H2],[q.H3,x.H3],[q.H4,x.H4],[q.H5,x.H5],[q.H6,x.H6],[q.HEAD,x.HEAD],[q.HEADER,x.HEADER],[q.HGROUP,x.HGROUP],[q.HR,x.HR],[q.HTML,x.HTML],[q.I,x.I],[q.IMG,x.IMG],[q.IMAGE,x.IMAGE],[q.INPUT,x.INPUT],[q.IFRAME,x.IFRAME],[q.KEYGEN,x.KEYGEN],[q.LABEL,x.LABEL],[q.LI,x.LI],[q.LINK,x.LINK],[q.LISTING,x.LISTING],[q.MAIN,x.MAIN],[q.MALIGNMARK,x.MALIGNMARK],[q.MARQUEE,x.MARQUEE],[q.MATH,x.MATH],[q.MENU,x.MENU],[q.META,x.META],[q.MGLYPH,x.MGLYPH],[q.MI,x.MI],[q.MO,x.MO],[q.MN,x.MN],[q.MS,x.MS],[q.MTEXT,x.MTEXT],[q.NAV,x.NAV],[q.NOBR,x.NOBR],[q.NOFRAMES,x.NOFRAMES],[q.NOEMBED,x.NOEMBED],[q.NOSCRIPT,x.NOSCRIPT],[q.OBJECT,x.OBJECT],[q.OL,x.OL],[q.OPTGROUP,x.OPTGROUP],[q.OPTION,x.OPTION],[q.P,x.P],[q.PARAM,x.PARAM],[q.PLAINTEXT,x.PLAINTEXT],[q.PRE,x.PRE],[q.RB,x.RB],[q.RP,x.RP],[q.RT,x.RT],[q.RTC,x.RTC],[q.RUBY,x.RUBY],[q.S,x.S],[q.SCRIPT,x.SCRIPT],[q.SEARCH,x.SEARCH],[q.SECTION,x.SECTION],[q.SELECT,x.SELECT],[q.SOURCE,x.SOURCE],[q.SMALL,x.SMALL],[q.SPAN,x.SPAN],[q.STRIKE,x.STRIKE],[q.STRONG,x.STRONG],[q.STYLE,x.STYLE],[q.SUB,x.SUB],[q.SUMMARY,x.SUMMARY],[q.SUP,x.SUP],[q.TABLE,x.TABLE],[q.TBODY,x.TBODY],[q.TEMPLATE,x.TEMPLATE],[q.TEXTAREA,x.TEXTAREA],[q.TFOOT,x.TFOOT],[q.TD,x.TD],[q.TH,x.TH],[q.THEAD,x.THEAD],[q.TITLE,x.TITLE],[q.TR,x.TR],[q.TRACK,x.TRACK],[q.TT,x.TT],[q.U,x.U],[q.UL,x.UL],[q.SVG,x.SVG],[q.VAR,x.VAR],[q.WBR,x.WBR],[q.XMP,x.XMP]]);function vl(e){var t;return(t=_H.get(e))!==null&&t!==void 0?t:x.UNKNOWN}const ye=x,kH={[me.HTML]:new Set([ye.ADDRESS,ye.APPLET,ye.AREA,ye.ARTICLE,ye.ASIDE,ye.BASE,ye.BASEFONT,ye.BGSOUND,ye.BLOCKQUOTE,ye.BODY,ye.BR,ye.BUTTON,ye.CAPTION,ye.CENTER,ye.COL,ye.COLGROUP,ye.DD,ye.DETAILS,ye.DIR,ye.DIV,ye.DL,ye.DT,ye.EMBED,ye.FIELDSET,ye.FIGCAPTION,ye.FIGURE,ye.FOOTER,ye.FORM,ye.FRAME,ye.FRAMESET,ye.H1,ye.H2,ye.H3,ye.H4,ye.H5,ye.H6,ye.HEAD,ye.HEADER,ye.HGROUP,ye.HR,ye.HTML,ye.IFRAME,ye.IMG,ye.INPUT,ye.LI,ye.LINK,ye.LISTING,ye.MAIN,ye.MARQUEE,ye.MENU,ye.META,ye.NAV,ye.NOEMBED,ye.NOFRAMES,ye.NOSCRIPT,ye.OBJECT,ye.OL,ye.P,ye.PARAM,ye.PLAINTEXT,ye.PRE,ye.SCRIPT,ye.SECTION,ye.SELECT,ye.SOURCE,ye.STYLE,ye.SUMMARY,ye.TABLE,ye.TBODY,ye.TD,ye.TEMPLATE,ye.TEXTAREA,ye.TFOOT,ye.TH,ye.THEAD,ye.TITLE,ye.TR,ye.TRACK,ye.UL,ye.WBR,ye.XMP]),[me.MATHML]:new Set([ye.MI,ye.MO,ye.MN,ye.MS,ye.MTEXT,ye.ANNOTATION_XML]),[me.SVG]:new Set([ye.TITLE,ye.FOREIGN_OBJECT,ye.DESC]),[me.XLINK]:new Set,[me.XML]:new Set,[me.XMLNS]:new Set},_0=new Set([ye.H1,ye.H2,ye.H3,ye.H4,ye.H5,ye.H6]);q.STYLE,q.SCRIPT,q.XMP,q.IFRAME,q.NOEMBED,q.NOFRAMES,q.PLAINTEXT;var C;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(C||(C={}));const an={DATA:C.DATA,RCDATA:C.RCDATA,RAWTEXT:C.RAWTEXT,SCRIPT_DATA:C.SCRIPT_DATA,PLAINTEXT:C.PLAINTEXT,CDATA_SECTION:C.CDATA_SECTION};function NH(e){return e>=k.DIGIT_0&&e<=k.DIGIT_9}function Cu(e){return e>=k.LATIN_CAPITAL_A&&e<=k.LATIN_CAPITAL_Z}function CH(e){return e>=k.LATIN_SMALL_A&&e<=k.LATIN_SMALL_Z}function Xi(e){return CH(e)||Cu(e)}function ew(e){return Xi(e)||NH(e)}function Qd(e){return e+32}function I_(e){return e===k.SPACE||e===k.LINE_FEED||e===k.TABULATION||e===k.FORM_FEED}function tw(e){return I_(e)||e===k.SOLIDUS||e===k.GREATER_THAN_SIGN}function RH(e){return e===k.NULL?te.nullCharacterReference:e>1114111?te.characterReferenceOutsideUnicodeRange:R_(e)?te.surrogateCharacterReference:O_(e)?te.noncharacterCharacterReference:D_(e)||e===k.CARRIAGE_RETURN?te.controlCharacterReference:null}class DH{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=C.DATA,this.returnState=C.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new gH(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new SH(yH,(r,s)=>{this.preprocessor.pos=this.entityStartPos+s-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(te.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(te.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const s=RH(r);s&&this._err(s,1)}}:void 0)}_err(t,n=0){var r,s;(s=(r=this.handler).onParseError)===null||s===void 0||s.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:rt.START_TAG,tagName:"",tagID:x.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:rt.END_TAG,tagName:"",tagID:x.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:rt.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:rt.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(L_(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const s=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);s[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(te.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=vl(t.tagName),t.type===rt.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(te.endTagWithAttributes),t.selfClosing&&this._err(te.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case rt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case rt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case rt.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:rt.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=I_(t)?rt.WHITESPACE_CHARACTER:t===k.NULL?rt.NULL_CHARACTER:rt.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(rt.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=C.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?li.Attribute:li.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===C.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===C.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===C.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case C.DATA:{this._stateData(t);break}case C.RCDATA:{this._stateRcdata(t);break}case C.RAWTEXT:{this._stateRawtext(t);break}case C.SCRIPT_DATA:{this._stateScriptData(t);break}case C.PLAINTEXT:{this._statePlaintext(t);break}case C.TAG_OPEN:{this._stateTagOpen(t);break}case C.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case C.TAG_NAME:{this._stateTagName(t);break}case C.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case C.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case C.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case C.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case C.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case C.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case C.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case C.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case C.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case C.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case C.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case C.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case C.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case C.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case C.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case C.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscape
vendor: 5,361 bytes, line 362
362Start(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case C.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case C.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case C.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case C.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case C.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case C.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case C.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case C.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case C.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case C.BOGUS_COMMENT:{this._stateBogusComment(t);break}case C.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case C.COMMENT_START:{this._stateCommentStart(t);break}case C.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case C.COMMENT:{this._stateComment(t);break}case C.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case C.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case C.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case C.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case C.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case C.COMMENT_END:{this._stateCommentEnd(t);break}case C.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case C.DOCTYPE:{this._stateDoctype(t);break}case C.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case C.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case C.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case C.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case C.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case C.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case C.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case C.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case C.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case C.CDATA_SECTION:{this._stateCdataSection(t);break}case C.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case C.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case C.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case C.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case k.LESS_THAN_SIGN:{this.state=C.TAG_OPEN;break}case k.AMPERSAND:{this._startCharacterReference();break}case k.NULL:{this._err(te.unexpectedNullCharacter),this._emitCodePoint(t);break}case k.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case k.AMPERSAND:{this._startCharacterReference();break}case k.LESS_THAN_SIGN:{this.state=C.RCDATA_LESS_THAN_SIGN;break}case k.NULL:{this._err(te.unexpectedNullCharacter),this._emitChars(qt);break}case k.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case k.LESS_THAN_SIGN:{this.state=C.RAWTEXT_LESS_THAN_SIGN;break}case k.NULL:{this._err(te.unexpectedNullCharacter),this._emitChars(qt);break}case k.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case k.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_LESS_THAN_SIGN;break}case k.NULL:{this._err(te.unexpectedNullCharacter),this._emitChars(qt);break}case k.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case k.NULL:{this._err(te.unexpectedNullCharacter),this._emitChars(qt);break}case k.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Xi(t))this._createStartTagToken(),this.state=C.TAG_NAME,this._stateTagName(t);else switch(t){case k.EXCLAMATION_MARK:{this.state=C.MARKUP_DECLARATION_OPEN;break}case k.SOLIDUS:{this.state=C.END_TAG_OPEN;break}case k.QUESTION_MARK:{this._err(te.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=C.BOGUS_COMMENT,this._stateBogusComment(t);break}case k.EOF:{this._err(te.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}
vendor: 96,504 bytes, lines 362-364
362default:this._err(te.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=C.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Xi(t))this._createEndTagToken(),this.state=C.TAG_NAME,this._stateTagName(t);else switch(t){case k.GREATER_THAN_SIGN:{this._err(te.missingEndTagName),this.state=C.DATA;break}case k.EOF:{this._err(te.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(te.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=C.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=C.BEFORE_ATTRIBUTE_NAME;break}case k.SOLIDUS:{this.state=C.SELF_CLOSING_START_TAG;break}case k.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentTagToken();break}case k.NULL:{this._err(te.unexpectedNullCharacter),n.tagName+=qt;break}case k.EOF:{this._err(te.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Cu(t)?Qd(t):t)}}_stateRcdataLessThanSign(t){t===k.SOLIDUS?this.state=C.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=C.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Xi(t)?(this.state=C.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=C.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=C.BEFORE_ATTRIBUTE_NAME,!1;case k.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=C.SELF_CLOSING_START_TAG,!1;case k.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=C.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===k.SOLIDUS?this.state=C.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=C.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Xi(t)?(this.state=C.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=C.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case k.SOLIDUS:{this.state=C.SCRIPT_DATA_END_TAG_OPEN;break}case k.EXCLAMATION_MARK:{this.state=C.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=C.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Xi(t)?(this.state=C.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===k.HYPHEN_MINUS?(this.state=C.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===k.HYPHEN_MINUS?(this.state=C.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case k.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case k.NULL:{this._err(te.unexpectedNullCharacter),this._emitChars(qt);break}case k.EOF:{this._err(te.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case k.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case k.NULL:{this._err(te.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_ESCAPED,this._emitChars(qt);break}case k.EOF:{this._err(te.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case k.HYPHEN_MINUS:{this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case k.GREATER_THAN_SIGN:{this.state=C.SCRIPT_DATA,this._emitChars(">");break}case k.NULL:{this._err(te.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_ESCAPED,this._emitChars(qt);break}case k.EOF:{this._err(te.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===k.SOLIDUS?this.state=C.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Xi(t)?(this._emitChars("<"),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Xi(t)?(this.state=C.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(na.SCRIPT,!1)&&tw(this.preprocessor.peek(na.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<na.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case k.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case k.NULL:{this._err(te.unexpectedNullCharacter),this._emitChars(qt);break}case k.EOF:{this._err(te.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case k.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case k.NULL:{this._err(te.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(qt);break}case k.EOF:{this._err(te.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case k.HYPHEN_MINUS:{this._emitChars("-");break}case k.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case k.GREATER_THAN_SIGN:{this.state=C.SCRIPT_DATA,this._emitChars(">");break}case k.NULL:{this._err(te.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(qt);break}case k.EOF:{this._err(te.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===k.SOLIDUS?(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(na.SCRIPT,!1)&&tw(this.preprocessor.peek(na.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<na.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=C.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.SOLIDUS:case k.GREATER_THAN_SIGN:case k.EOF:{this.state=C.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case k.EQUALS_SIGN:{this._err(te.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=C.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=C.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:case k.SOLIDUS:case k.GREATER_THAN_SIGN:case k.EOF:{this._leaveAttrName(),this.state=C.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case k.EQUALS_SIGN:{this._leaveAttrName(),this.state=C.BEFORE_ATTRIBUTE_VALUE;break}case k.QUOTATION_MARK:case k.APOSTROPHE:case k.LESS_THAN_SIGN:{this._err(te.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case k.NULL:{this._err(te.unexpectedNullCharacter),this.currentAttr.name+=qt;break}default:this.currentAttr.name+=String.fromCodePoint(Cu(t)?Qd(t):t)}}_stateAfterAttributeName(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.SOLIDUS:{this.state=C.SELF_CLOSING_START_TAG;break}case k.EQUALS_SIGN:{this.state=C.BEFORE_ATTRIBUTE_VALUE;break}case k.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentTagToken();break}case k.EOF:{this._err(te.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=C.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.QUOTATION_MARK:{this.state=C.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case k.APOSTROPHE:{this.state=C.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case k.GREATER_THAN_SIGN:{this._err(te.missingAttributeValue),this.state=C.DATA,this.emitCurrentTagToken();break}default:this.state=C.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case k.QUOTATION_MARK:{this.state=C.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case k.AMPERSAND:{this._startCharacterReference();break}case k.NULL:{this._err(te.unexpectedNullCharacter),this.currentAttr.value+=qt;break}case k.EOF:{this._err(te.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case k.APOSTROPHE:{this.state=C.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case k.AMPERSAND:{this._startCharacterReference();break}case k.NULL:{this._err(te.unexpectedNullCharacter),this.currentAttr.value+=qt;break}case k.EOF:{this._err(te.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this._leaveAttrValue(),this.state=C.BEFORE_ATTRIBUTE_NAME;break}case k.AMPERSAND:{this._startCharacterReference();break}case k.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=C.DATA,this.emitCurrentTagToken();break}case k.NULL:{this._err(te.unexpectedNullCharacter),this.currentAttr.value+=qt;break}case k.QUOTATION_MARK:case k.APOSTROPHE:case k.LESS_THAN_SIGN:case k.EQUALS_SIGN:case k.GRAVE_ACCENT:{this._err(te.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case k.EOF:{this._err(te.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this._leaveAttrValue(),this.state=C.BEFORE_ATTRIBUTE_NAME;break}case k.SOLIDUS:{this._leaveAttrValue(),this.state=C.SELF_CLOSING_START_TAG;break}case k.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=C.DATA,this.emitCurrentTagToken();break}case k.EOF:{this._err(te.eofInTag),this._emitEOFToken();break}default:this._err(te.missingWhitespaceBetweenAttributes),this.state=C.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case k.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=C.DATA,this.emitCurrentTagToken();break}case k.EOF:{this._err(te.eofInTag),this._emitEOFToken();break}default:this._err(te.unexpectedSolidusInTag),this.state=C.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case k.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentComment(n);break}case k.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case k.NULL:{this._err(te.unexpectedNullCharacter),n.data+=qt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(na.DASH_DASH,!0)?(this._createCommentToken(na.DASH_DASH.length+1),this.state=C.COMMENT_START):this._consumeSequenceIfMatch(na.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(na.DOCTYPE.length+1),this.state=C.DOCTYPE):this._consumeSequenceIfMatch(na.CDATA_START,!0)?this.inForeignNode?this.state=C.CDATA_SECTION:(this._err(te.cdataInHtmlContent),this._createCommentToken(na.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=C.BOGUS_COMMENT):this._ensureHibernation()||(this._err(te.incorrectlyOpenedComment),this._createCommentToken(2),this.state=C.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case k.HYPHEN_MINUS:{this.state=C.COMMENT_START_DASH;break}case k.GREATER_THAN_SIGN:{this._err(te.abruptClosingOfEmptyComment),this.state=C.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=C.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case k.HYPHEN_MINUS:{this.state=C.COMMENT_END;break}case k.GREATER_THAN_SIGN:{this._err(te.abruptClosingOfEmptyComment),this.state=C.DATA,this.emitCurrentComment(n);break}case k.EOF:{this._err(te.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=C.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case k.HYPHEN_MINUS:{this.state=C.COMMENT_END_DASH;break}case k.LESS_THAN_SIGN:{n.data+="<",this.state=C.COMMENT_LESS_THAN_SIGN;break}case k.NULL:{this._err(te.unexpectedNullCharacter),n.data+=qt;break}case k.EOF:{this._err(te.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case k.EXCLAMATION_MARK:{n.data+="!",this.state=C.COMMENT_LESS_THAN_SIGN_BANG;break}case k.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=C.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===k.HYPHEN_MINUS?this.state=C.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=C.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===k.HYPHEN_MINUS?this.state=C.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=C.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==k.GREATER_THAN_SIGN&&t!==k.EOF&&this._err(te.nestedComment),this.state=C.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case k.HYPHEN_MINUS:{this.state=C.COMMENT_END;break}case k.EOF:{this._err(te.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=C.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case k.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentComment(n);break}case k.EXCLAMATION_MARK:{this.state=C.COMMENT_END_BANG;break}case k.HYPHEN_MINUS:{n.data+="-";break}case k.EOF:{this._err(te.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=C.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case k.HYPHEN_MINUS:{n.data+="--!",this.state=C.COMMENT_END_DASH;break}case k.GREATER_THAN_SIGN:{this._err(te.incorrectlyClosedComment),this.state=C.DATA,this.emitCurrentComment(n);break}case k.EOF:{this._err(te.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=C.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_NAME;break}case k.GREATER_THAN_SIGN:{this.state=C.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case k.EOF:{this._err(te.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(te.missingWhitespaceBeforeDoctypeName),this.state=C.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Cu(t))this._createDoctypeToken(String.fromCharCode(Qd(t))),this.state=C.DOCTYPE_NAME;else switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.NULL:{this._err(te.unexpectedNullCharacter),this._createDoctypeToken(qt),this.state=C.DOCTYPE_NAME;break}case k.GREATER_THAN_SIGN:{this._err(te.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case k.EOF:{this._err(te.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=C.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=C.AFTER_DOCTYPE_NAME;break}case k.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(n);break}case k.NULL:{this._err(te.unexpectedNullCharacter),n.name+=qt;break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Cu(t)?Qd(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(n);break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(na.PUBLIC,!1)?this.state=C.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(na.SYSTEM,!1)?this.state=C.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(te.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case k.QUOTATION_MARK:{this._err(te.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{this._err(te.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case k.GREATER_THAN_SIGN:{this._err(te.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(te.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.QUOTATION_MARK:{n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{n.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case k.GREATER_THAN_SIGN:{this._err(te.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(te.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case k.QUOTATION_MARK:{this.state=C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case k.NULL:{this._err(te.unexpectedNullCharacter),n.publicId+=qt;break}case k.GREATER_THAN_SIGN:{this._err(te.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case k.APOSTROPHE:{this.state=C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case k.NULL:{this._err(te.unexpectedNullCharacter),n.publicId+=qt;break}case k.GREATER_THAN_SIGN:{this._err(te.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=C.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case k.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(n);break}case k.QUOTATION_MARK:{this._err(te.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{this._err(te.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(te.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=C.DATA;break}case k.QUOTATION_MARK:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(te.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case k.QUOTATION_MARK:{this._err(te.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{this._err(te.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case k.GREATER_THAN_SIGN:{this._err(te.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(te.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.QUOTATION_MARK:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case k.APOSTROPHE:{n.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case k.GREATER_THAN_SIGN:{this._err(te.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(n);break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(te.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case k.QUOTATION_MARK:{this.state=C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case k.NULL:{this._err(te.unexpectedNullCharacter),n.systemId+=qt;break}case k.GREATER_THAN_SIGN:{this._err(te.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case k.APOSTROPHE:{this.state=C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case k.NULL:{this._err(te.unexpectedNullCharacter),n.systemId+=qt;break}case k.GREATER_THAN_SIGN:{this._err(te.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=C.DATA;break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case k.SPACE:case k.LINE_FEED:case k.TABULATION:case k.FORM_FEED:break;case k.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=C.DATA;break}case k.EOF:{this._err(te.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(te.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case k.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=C.DATA;break}case k.NULL:{this._err(te.unexpectedNullCharacter);break}case k.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case k.RIGHT_SQUARE_BRACKET:{this.state=C.CDATA_SECTION_BRACKET;break}case k.EOF:{this._err(te.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===k.RIGHT_SQUARE_BRACKET?this.state=C.CDATA_SECTION_END:(this._emitChars("]"),this.state=C.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case k.GREATER_THAN_SIGN:{this.state=C.DATA;break}case k.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=C.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(k.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&ew(this.preprocessor.peek(1))?C.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){ew(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===k.SEMICOLON&&this._err(te.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const M_=new Set([x.DD,x.DT,x.LI,x.OPTGROUP,x.OPTION,x.P,x.RB,x.RP,x.RT,x.RTC]),nw=new Set([...M_,x.CAPTION,x.COLGROUP,x.TBODY,x.TD,x.TFOOT,x.TH,x.THEAD,x.TR]),Ff=new Set([x.APPLET,x.CAPTION,x.HTML,x.MARQUEE,x.OBJECT,x.TABLE,x.TD,x.TEMPLATE,x.TH]),OH=new Set([...Ff,x.OL,x.UL]),LH=new Set([...Ff,x.BUTTON]),aw=new Set([x.ANNOTATION_XML,x.MI,x.MN,x.MO,x.MS,x.MTEXT]),rw=new Set([x.DESC,x.FOREIGN_OBJECT,x.TITLE]),IH=new Set([x.TR,x.TEMPLATE,x.HTML]),MH=new Set([x.TBODY,x.TFOOT,x.THEAD,x.TEMPLATE,x.HTML]),PH=new Set([x.TABLE,x.TEMPLATE,x.HTML]),BH=new Set([x.TD,x.TH]);class jH{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=x.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===x.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===me.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const s=this._indexOf(t)+1;this.items.splice(s,0,n),this.tagIDs.splice(s,0,r),this.stackTop++,s===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,s===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==me.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(_0,me.HTML)}popUntilTableCellPopped(){this.popUntilPopped(BH,me.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(PH,me.HTML)}clearBackToTableBodyContext(){this.clearBackTo(MH,me.HTML)}clearBackToTableRowContext(){this.clearBackTo(IH,me.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===x.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===x.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const s=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case me.HTML:{if(s===t)return!0;if(n.has(s))return!1;break}case me.SVG:{if(rw.has(s))return!1;break}case me.MATHML:{if(aw.has(s))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Ff)}hasInListItemScope(t){return this.hasInDynamicScope(t,OH)}hasInButtonScope(t){return this.hasInDynamicScope(t,LH)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case me.HTML:{if(_0.has(n))return!0;if(Ff.has(n))return!1;break}case me.SVG:{if(rw.has(n))return!1;break}case me.MATHML:{if(aw.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===me.HTML)switch(this.tagIDs[n]){case t:return!0;case x.TABLE:case x.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===me.HTML)switch(this.tagIDs[t]){case x.TBODY:case x.THEAD:case x.TFOOT:return!0;case x.TABLE:case x.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===me.HTML)switch(this.tagIDs[n]){case t:return!0;case x.OPTION:case x.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&M_.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&nw.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&nw.has(this.currentTagId);)this.pop()}}const Eg=3;var br;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(br||(br={}));const iw={type:br.Marker};class UH{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],s=n.length,l=this.treeAdapter.getTagName(t),u=this.treeAdapter.getNamespaceURI(t);for(let d=0;d<this.entries.length;d++){const f=this.entries[d];if(f.type===br.Marker)break;const{element:h}=f;if(this.treeAdapter.getTagName(h)===l&&this.treeAdapter.getNamespaceURI(h)===u){const g=this.treeAdapter.getAttrList(h);g.length===s&&r.push({idx:d,attrs:g})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Eg)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Eg)return;const s=new Map(n.map(u=>[u.name,u.value]));let l=0;for(let u=0;u<r.length;u++){const d=r[u];d.attrs.every(f=>s.get(f.name)===f.value)&&(l+=1,l>=Eg&&this.entries.splice(d.idx,1))}}insertMarker(){this.entries.unshift(iw)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:br.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:br.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(iw);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===br.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===br.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===br.Element&&n.element===t)}}const Qi={createDocument(){return{nodeName:"#document",mode:Ma.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const s=e.childNodes.find(l=>l.nodeName==="#documentType");if(s)s.name=t,s.publicId=n,s.systemId=r;else{const l={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Qi.appendChild(e,l)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Qi.isTextNode(n)){n.value+=t;return}}Qi.appendChild(e,Qi.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Qi.isTextNode(r)?r.value+=t:Qi.insertBefore(e,Qi.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},P_="html",HH="about:legacy-compat",FH="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",B_=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],zH=[...B_,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],VH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),j_=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],YH=[...j_,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function sw(e,t){return t.some(n=>e.startsWith(n))}function KH(e){return e.name===P_&&e.publicId===null&&(e.systemId===null||e.systemId===HH)}function qH(e){if(e.name!==P_)return Ma.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===FH)return Ma.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),VH.has(n))return Ma.QUIRKS;let r=t===null?zH:B_;if(sw(n,r))return Ma.QUIRKS;if(r=t===null?j_:YH,sw(n,r))return Ma.LIMITED_QUIRKS}return Ma.NO_QUIRKS}const ow={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},GH="definitionurl",WH="definitionURL",XH=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),QH=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:me.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:me.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:me.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:me.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:me.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:me.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:me.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:me.XML}],["xml:space",{prefix:"xml",name:"space",namespace:me.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:me.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:me.XMLNS}]]),$H=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),ZH=new Set([x.B,x.BIG,x.BLOCKQUOTE,x.BODY,x.BR,x.CENTER,x.CODE,x.DD,x.DIV,x.DL,x.DT,x.EM,x.EMBED,x.H1,x.H2,x.H3,x.H4,x.H5,x.H6,x.HEAD,x.HR,x.I,x.IMG,x.LI,x.LISTING,x.MENU,x.META,x.NOBR,x.OL,x.P,x.PRE,x.RUBY,x.S,x.SMALL,x.SPAN,x.STRONG,x.STRIKE,x.SUB,x.SUP,x.TABLE,x.TT,x.U,x.UL,x.VAR]);function JH(e){const t=e.tagID;return t===x.FONT&&e.attrs.some(({name:r})=>r===Ys.COLOR||r===Ys.SIZE||r===Ys.FACE)||ZH.has(t)}function U_(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===GH){e.attrs[t].name=WH;break}}function H_(e){for(let t=0;t<e.attrs.length;t++){const n=XH.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Hy(e){for(let t=0;t<e.attrs.length;t++){const n=QH.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function eF(e){const t=$H.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=vl(e.tagName))}function tF(e,t){return t===me.MATHML&&(e===x.MI||e===x.MO||e===x.MN||e===x.MS||e===x.MTEXT)}function nF(e,t,n){if(t===me.MATHML&&e===x.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Ys.ENCODING){const s=n[r].value.toLowerCase();return s===ow.TEXT_HTML||s===ow.APPLICATION_XML}}return t===me.SVG&&(e===x.FOREIGN_OBJECT||e===x.DESC||e===x.TITLE)}function aF(e,t,n,r){return(!r||r===me.HTML)&&nF(e,t,n)||(!r||r===me.MATHML)&&tF(e,t)}const rF="hidden",iF=8,sF=3;var L;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(L||(L={}));const oF={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},F_=new Set([x.TABLE,x.TBODY,x.TFOOT,x.THEAD,x.TR]),lw={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Qi,onParseError:null};class uw{constructor(t,n,r=null,s=null){this.fragmentContext=r,this.scriptHandler=s,this.currentToken=null,this.stopped=!1,this.insertionMode=L.INITIAL,this.originalInsertionMode=L.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...lw,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new DH(this.options,this),this.activeFormattingElements=new UH(this.treeAdapter),this.fragmentContextID=r?vl(this.treeAdapter.getTagName(r)):x.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new jH(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...lw,...n};t??(t=r.treeAdapter.createElement(q.TEMPLATE,me.HTML,[]));const s=r.treeAdapter.createElement("documentmock",me.HTML,[]),l=new this(r,s,t);return l.fragmentContextID===x.TEMPLATE&&l.tmplInsertionModeStack.unshift(L.IN_TEMPLATE),l._initTokenizerForFragmentParsing(),l._insertFakeRootElement(),l._resetInsertionMode(),l._findFormInFragmentContext(),l}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var s;if(!this.onParseError)return;const l=(s=t.location)!==null&&s!==void 0?s:oF,u={code:n,startLine:l.startLine,startCol:l.startCol,startOffset:l.startOffset,endLine:r?l.startLine:l.endLine,endCol:r?l.startCol:l.endCol,endOffset:r?l.startOffset:l.endOffset};this.onParseError(u)}onItemPush(t,n,r){var s,l;(l=(s=this.treeAdapter).onItemPush)===null||l===void 0||l.call(s,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,s;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(s=(r=this.treeAdapter).onItemPop)===null||s===void 0||s.call(r,t,this.openElements.current),n){let l,u;this.openElements.stackTop===0&&this.fragmentContext?(l=this.fragmentContext,u=this.fragmentContextID):{current:l,currentTagId:u}=this.openElements,this._setContextModes(l,u)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===me.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,me.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=L.TEXT}switchToPlaintextParsing(){this.insertionMode=L.TEXT,this.originalInsertionMode=L.IN_BODY,this.tokenizer.state=an.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===q.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==me.HTML))switch(this.fragmentContextID){case x.TITLE:case x.TEXTAREA:{this.tokenizer.state=an.RCDATA;break}case x.STYLE:case x.XMP:case x.IFRAME:case x.NOEMBED:case x.NOFRAMES:case x.NOSCRIPT:{this.tokenizer.state=an.RAWTEXT;break}case x.SCRIPT:{this.tokenizer.state=an.SCRIPT_DATA;break}case x.PLAINTEXT:{this.tokenizer.state=an.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",s=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,s),t.location){const u=this.treeAdapter.getChildNodes(this.document).find(d=>this.treeAdapter.isDocumentTypeNode(d));u&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,me.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,me.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(q.HTML,me.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,x.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const s=this.treeAdapter.getChildNodes(n),l=r?s.lastIndexOf(r):s.length,u=s[l-1];if(this.treeAdapter.getNodeSourceCodeLocation(u)){const{endLine:f,endCol:h,endOffset:g}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(u,{endLine:f,endCol:h,endOffset:g})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,s=this.treeAdapter.getTagName(t),l=n.type===rt.END_TAG&&s===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,l)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===x.SVG&&this.treeAdapter.getTagName(n)===q.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===me.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===x.MGLYPH||t.tagID===x.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,me.HTML)}_processToken(t){switch(t.type){case rt.CHARACTER:{this.onCharacter(t);break}case rt.NULL_CHARACTER:{this.onNullCharacter(t);break}case rt.COMMENT:{this.onComment(t);break}case rt.DOCTYPE:{this.onDoctype(t);break}case rt.START_TAG:{this._processStartTag(t);break}case rt.END_TAG:{this.onEndTag(t);break}case rt.EOF:{this.onEof(t);break}case rt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const s=this.treeAdapter.getNamespaceURI(n),l=this.treeAdapter.getAttrList(n);return aF(t,s,l,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(s=>s.type===br.Marker||this.openElements.contains(s.element)),r=n===-1?t-1:n-1;for(let s=r;s>=0;s--){const l=this.activeFormattingElements.entries[s];this._insertElement(l.token,this.treeAdapter.getNamespaceURI(l.element)),l.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=L.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(x.P),this.openElements.popUntilTagNamePopped(x.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case x.TR:{this.insertionMode=L.IN_ROW;return}case x.TBODY:case x.THEAD:case x.TFOOT:{this.insertionMode=L.IN_TABLE_BODY;return}case x.CAPTION:{this.insertionMode=L.IN_CAPTION;return}case x.COLGROUP:{this.insertionMode=L.IN_COLUMN_GROUP;return}case x.TABLE:{this.insertionMode=L.IN_TABLE;return}case x.BODY:{this.insertionMode=L.IN_BODY;return}case x.FRAMESET:{this.insertionMode=L.IN_FRAMESET;return}case x.SELECT:{this._resetInsertionModeForSelect(t);return}case x.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case x.HTML:{this.insertionMode=this.headElement?L.AFTER_HEAD:L.BEFORE_HEAD;return}case x.TD:case x.TH:{if(t>0){this.insertionMode=L.IN_CELL;return}break}case x.HEAD:{if(t>0){this.insertionMode=L.IN_HEAD;return}break}}this.insertionMode=L.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===x.TEMPLATE)break;if(r===x.TABLE){this.insertionMode=L.IN_SELECT_IN_TABLE;return}}this.insertionMode=L.IN_SELECT}_isElementCausesFosterParenting(t){return F_.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case x.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===me.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case x.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return kH[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Bz(this,t);return}switch(this.insertionMode){case L.INITIAL:{Su(this,t);break}case L.BEFORE_HTML:{Fu(this,t);break}case L.BEFORE_HEAD:{zu(this,t);break}case L.IN_HEAD:{Vu(this,t);break}case L.IN_HEAD_NO_SCRIPT:{Yu(this,t);break}case L.AFTER_HEAD:{Ku(this,t);break}case L.IN_BODY:case L.IN_CAPTION:case L.IN_CELL:case L.IN_TEMPLATE:{V_(this,t);break}case L.TEXT:case L.IN_SELECT:case L.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case L.IN_TABLE:case L.IN_TABLE_BODY:case L.IN_ROW:{wg(this,t);break}case L.IN_TABLE_TEXT:{X_(this,t);break}case L.IN_COLUMN_GROUP:{zf(this,t);break}case L.AFTER_BODY:{Vf(this,t);break}case L.AFTER_AFTER_BODY:{yf(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Pz(this,t);return}switch(this.insertionMode){case L.INITIAL:{Su(this,t);break}case L.BEFORE_HTML:{Fu(this,t);break}case L.BEFORE_HEAD:{zu(this,t);break}case L.IN_HEAD:{Vu(this,t);break}case L.IN_HEAD_NO_SCRIPT:{Yu(this,t);break}case L.AFTER_HEAD:{Ku(this,t);break}case L.TEXT:{this._insertCharacters(t);break}case L.IN_TABLE:case L.IN_TABLE_BODY:case L.IN_ROW:{wg(this,t);break}case L.IN_COLUMN_GROUP:{zf(this,t);break}case L.AFTER_BODY:{Vf(this,t);break}case L.AFTER_AFTER_BODY:{yf(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){k0(this,t);return}switch(this.insertionMode){case L.INITIAL:case L.BEFORE_HTML:case L.BEFORE_HEAD:case L.IN_HEAD:case L.IN_HEAD_NO_SCRIPT:case L.AFTER_HEAD:case L.IN_BODY:case L.IN_TABLE:case L.IN_CAPTION:case L.IN_COLUMN_GROUP:case L.IN_TABLE_BODY:case L.IN_ROW:case L.IN_CELL:case L.IN_SELECT:case L.IN_SELECT_IN_TABLE:case L.IN_TEMPLATE:case L.IN_FRAMESET:case L.AFTER_FRAMESET:{k0(this,t);break}case L.IN_TABLE_TEXT:{Au(this,t);break}case L.AFTER_BODY:{mF(this,t);break}case L.AFTER_AFTER_BODY:case L.AFTER_AFTER_FRAMESET:{pF(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case L.INITIAL:{gF(this,t);break}case L.BEFORE_HEAD:case L.IN_HEAD:case L.IN_HEAD_NO_SCRIPT:case L.AFTER_HEAD:{this._err(t,te.misplacedDoctype);break}case L.IN_TABLE_TEXT:{Au(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,te.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?jz(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case L.INITIAL:{Su(this,t);break}case L.BEFORE_HTML:{yF(this,t);break}case L.BEFORE_HEAD:{xF(this,t);break}case L.IN_HEAD:{ir(this,t);break}case L.IN_HEAD_NO_SCRIPT:{EF(this,t);break}case L.AFTER_HEAD:{SF(this,t);break}case L.IN_BODY:{Bn(this,t);break}case L.IN_TABLE:{ll(this,t);break}case L.IN_TABLE_TEXT:{Au(this,t);break}case L.IN_CAPTION:{vz(this,t);break}case L.IN_COLUMN_GROUP:{Vy(this,t);break}case L.IN_TABLE_BODY:{hh(this,t);break}case L.IN_ROW:{mh(this,t);break}case L.IN_CELL:{wz(this,t);break}case L.IN_SELECT:{Z_(this,t);break}case L.IN_SELECT_IN_TABLE:{Az(this,t);break}case L.IN_TEMPLATE:{kz(this,t);break}case L.AFTER_BODY:{Cz(this,t);break}case L.IN_FRAMESET:{Rz(this,t);break}case L.AFTER_FRAMESET:{Oz(this,t);break}case L.AFTER_AFTER_BODY:{Iz(this,t);break}case L.AFTER_AFTER_FRAMESET:{Mz(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Uz(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case L.INITIAL:{Su(this,t);break}case L.BEFORE_HTML:{bF(this,t);break}case L.BEFORE_HEAD:{vF(this,t);break}case L.IN_HEAD:{TF(this,t);break}case L.IN_HEAD_NO_SCRIPT:{wF(this,t);break}case L.AFTER_HEAD:{AF(this,t);break}case L.IN_BODY:{fh(this,t);break}case L.TEXT:{cz(this,t);break}case L.IN_TABLE:{oc(this,t);break}case L.IN_TABLE_TEXT:{Au(this,t);break}case L.IN_CAPTION:{Tz(this,t);break}case L.IN_COLUMN_GROUP:{Ez(this,t);break}case L.IN_TABLE_BODY:{N0(this,t);break}case L.IN_ROW:{$_(this,t);break}case L.IN_CELL:{Sz(this,t);break}case L.IN_SELECT:{J_(this,t);break}case L.IN_SELECT_IN_TABLE:{_z(this,t);break}case L.IN_TEMPLATE:{Nz(this,t);break}case L.AFTER_BODY:{tk(this,t);break}case L.IN_FRAMESET:{Dz(this,t);break}case L.AFTER_FRAMESET:{Lz(this,t);break}case L.AFTER_AFTER_BODY:{yf(this,t);break}}}onEof(t){switch(this.insertionMode){case L.INITIAL:{Su(this,t);break}case L.BEFORE_HTML:{Fu(this,t);break}case L.BEFORE_HEAD:{zu(this,t);break}case L.IN_HEAD:{Vu(this,t);break}case L.IN_HEAD_NO_SCRIPT:{Yu(this,t);break}case L.AFTER_HEAD:{Ku(this,t);break}case L.IN_BODY:case L.IN_TABLE:case L.IN_CAPTION:case L.IN_COLUMN_GROUP:case L.IN_TABLE_BODY:case L.IN_ROW:case L.IN_CELL:case L.IN_SELECT:case L.IN_SELECT_IN_TABLE:{G_(this,t);break}case L.TEXT:{dz(this,t);break}case L.IN_TABLE_TEXT:{Au(this,t);break}case L.IN_TEMPLATE:{ek(this,t);break}case L.AFTER_BODY:case L.IN_FRAMESET:case L.AFTER_FRAMESET:case L.AFTER_AFTER_BODY:case L.AFTER_AFTER_FRAMESET:{zy(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===k.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case L.IN_HEAD:case L.IN_HEAD_NO_SCRIPT:case L.AFTER_HEAD:case L.TEXT:case L.IN_COLUMN_GROUP:case L.IN_SELECT:case L.IN_SELECT_IN_TABLE:case L.IN_FRAMESET:case L.AFTER_FRAMESET:{this._insertCharacters(t);break}case L.IN_BODY:case L.IN_CAPTION:case L.IN_CELL:case L.IN_TEMPLATE:case L.AFTER_BODY:case L.AFTER_AFTER_BODY:case L.AFTER_AFTER_FRAMESET:{z_(this,t);break}case L.IN_TABLE:case L.IN_TABLE_BODY:case L.IN_ROW:{wg(this,t);break}case L.IN_TABLE_TEXT:{W_(this,t);break}}}}function lF(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):q_(e,t),n}function uF(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const s=e.openElements.items[r];if(s===t.element)break;e._isSpecialElement(s,e.openElements.tagIDs[r])&&(n=s)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function cF(e,t,n){let r=t,s=e.openElements.getCommonAncestor(t);for(let l=0,u=s;u!==n;l++,u=s){s=e.openElements.getCommonAncestor(u);const d=e.activeFormattingElements.getElementEntry(u),f=d&&l>=sF;!d||f?(f&&e.activeFormattingElements.removeEntry(d),e.openElements.remove(u)):(u=dF(e,d),r===t&&(e.activeFormattingElements.bookmark=d),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(u,r),r=u)}return r}function dF(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function fF(e,t,n){const r=e.treeAdapter.getTagName(t),s=vl(r);if(e._isElementCausesFosterParenting(s))e._fosterParentElement(n);else{const l=e.treeAdapter.getNamespaceURI(t);s===x.TEMPLATE&&l===me.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function hF(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:s}=n,l=e.treeAdapter.createElement(s.tagName,r,s.attrs);e._adoptNodes(t,l),e.treeAdapter.appendChild(t,l),e.activeFormattingElements.insertElementAfterBookmark(l,s),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,l,s.tagID)}function Fy(e,t){for(let n=0;n<iF;n++){const r=lF(e,t);if(!r)break;const s=uF(e,r);if(!s)break;e.activeFormattingElements.bookmark=r;const l=cF(e,s,r.element),u=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(l),u&&fF(e,u,l),hF(e,s,r)}}function k0(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function mF(e,t){e._appendCommentNode(t,e.openElements.items[0])}function pF(e,t){e._appendCommentNode(t,e.document)}function zy(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],s=e.treeAdapter.getNodeSourceCodeLocation(r);if(s&&!s.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const l=e.openElements.items[1],u=e.treeAdapter.getNodeSourceCodeLocation(l);u&&!u.endTag&&e._setEndLocation(l,t)}}}}function gF(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ma.QUIRKS:qH(t);KH(t)||e._err(t,te.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=L.BEFORE_HTML}function Su(e,t){e._err(t,te.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ma.QUIRKS),e.insertionMode=L.BEFORE_HTML,e._processToken(t)}function yF(e,t){t.tagID===x.HTML?(e._insertElement(t,me.HTML),e.insertionMode=L.BEFORE_HEAD):Fu(e,t)}function bF(e,t){const n=t.tagID;(n===x.HTML||n===x.HEAD||n===x.BODY||n===x.BR)&&Fu(e,t)}function Fu(e,t){e._insertFakeRootElement(),e.insertionMode=L.BEFORE_HEAD,e._processToken(t)}function xF(e,t){switch(t.tagID){case x.HTML:{Bn(e,t);break}case x.HEAD:{e._insertElement(t,me.HTML),e.headElement=e.openElements.current,e.insertionMode=L.IN_HEAD;break}default:zu(e,t)}}function vF(e,t){const n=t.tagID;n===x.HEAD||n===x.BODY||n===x.HTML||n===x.BR?zu(e,t):e._err(t,te.endTagWithoutMatchingOpenElement)}function zu(e,t){e._insertFakeElement(q.HEAD,x.HEAD),e.headElement=e.openElements.current,e.insertionMode=L.IN_HEAD,e._processToken(t)}function ir(e,t){switch(t.tagID){case x.HTML:{Bn(e,t);break}case x.BASE:case x.BASEFONT:case x.BGSOUND:case x.LINK:case x.META:{e._appendElement(t,me.HTML),t.ackSelfClosing=!0;break}case x.TITLE:{e._switchToTextParsing(t,an.RCDATA);break}case x.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,an.RAWTEXT):(e._insertElement(t,me.HTML),e.insertionMode=L.IN_HEAD_NO_SCRIPT);break}case x.NOFRAMES:case x.STYLE:{e._switchToTextParsing(t,an.RAWTEXT);break}case x.SCRIPT:{e._switchToTextParsing(t,an.SCRIPT_DATA);break}case x.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=L.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(L.IN_TEMPLATE);break}case x.HEAD:{e._err(t,te.misplacedStartTagForHeadElement);break}default:Vu(e,t)}}function TF(e,t){switch(t.tagID){case x.HEAD:{e.openElements.pop(),e.insertionMode=L.AFTER_HEAD;break}case x.BODY:case x.BR:case x.HTML:{Vu(e,t);break}case x.TEMPLATE:{Xs(e,t);break}default:e._err(t,te.endTagWithoutMatchingOpenElement)}}function Xs(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==x.TEMPLATE&&e._err(t,te.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(x.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,te.endTagWithoutMatchingOpenElement)}function Vu(e,t){e.openElements.pop(),e.insertionMode=L.AFTER_HEAD,e._processToken(t)}function EF(e,t){switch(t.tagID){case x.HTML:{Bn(e,t);break}case x.BASEFONT:case x.BGSOUND:case x.HEAD:case x.LINK:case x.META:case x.NOFRAMES:case x.STYLE:{ir(e,t);break}case x.NOSCRIPT:{e._err(t,te.nestedNoscriptInHead);break}default:Yu(e,t)}}function wF(e,t){switch(t.tagID){case x.NOSCRIPT:{e.openElements.pop(),e.insertionMode=L.IN_HEAD;break}case x.BR:{Yu(e,t);break}default:e._err(t,te.endTagWithoutMatchingOpenElement)}}function Yu(e,t){const n=t.type===rt.EOF?te.openElementsLeftAfterEof:te.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=L.IN_HEAD,e._processToken(t)}function SF(e,t){switch(t.tagID){case x.HTML:{Bn(e,t);break}case x.BODY:{e._insertElement(t,me.HTML),e.framesetOk=!1,e.insertionMode=L.IN_BODY;break}case x.FRAMESET:{e._insertElement(t,me.HTML),e.insertionMode=L.IN_FRAMESET;break}case x.BASE:case x.BASEFONT:case x.BGSOUND:case x.LINK:case x.META:case x.NOFRAMES:case x.SCRIPT:case x.STYLE:case x.TEMPLATE:case x.TITLE:{e._err(t,te.abandonedHeadElementChild),e.openElements.push(e.headElement,x.HEAD),ir(e,t),e.openElements.remove(e.headElement);break}case x.HEAD:{e._err(t,te.misplacedStartTagForHeadElement);break}default:Ku(e,t)}}function AF(e,t){switch(t.tagID){case x.BODY:case x.HTML:case x.BR:{Ku(e,t);break}case x.TEMPLATE:{Xs(e,t);break}default:e._err(t,te.endTagWithoutMatchingOpenElement)}}function Ku(e,t){e._insertFakeElement(q.BODY,x.BODY),e.insertionMode=L.IN_BODY,dh(e,t)}function dh(e,t){switch(t.type){case rt.CHARACTER:{V_(e,t);break}case rt.WHITESPACE_CHARACTER:{z_(e,t);break}case rt.COMMENT:{k0(e,t);break}case rt.START_TAG:{Bn(e,t);break}case rt.END_TAG:{fh(e,t);break}case rt.EOF:{G_(e,t);break}}}function z_(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function V_(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function _F(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function kF(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function NF(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,me.HTML),e.insertionMode=L.IN_FRAMESET)}function CF(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,me.HTML)}function RF(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&_0.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,me.HTML)}function DF(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,me.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function OF(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,me.HTML),n||(e.formElement=e.openElements.current))}function LF(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const s=e.openElements.tagIDs[r];if(n===x.LI&&s===x.LI||(n===x.DD||n===x.DT)&&(s===x.DD||s===x.DT)){e.openElements.generateImpliedEndTagsWithExclusion(s),e.openElements.popUntilTagNamePopped(s);break}if(s!==x.ADDRESS&&s!==x.DIV&&s!==x.P&&e._isSpecialElement(e.openElements.items[r],s))break}e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,me.HTML)}function IF(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,me.HTML),e.tokenizer.state=an.PLAINTEXT}function MF(e,t){e.openElements.hasInScope(x.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(x.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,me.HTML),e.framesetOk=!1}function PF(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(q.A);n&&(Fy(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,me.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function BF(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,me.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function jF(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(x.NOBR)&&(Fy(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,me.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function UF(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,me.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function HF(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ma.QUIRKS&&e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._insertElement(t,me.HTML),e.framesetOk=!1,e.insertionMode=L.IN_TABLE}function Y_(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,me.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function K_(e){const t=L_(e,Ys.TYPE);return t!=null&&t.toLowerCase()===rF}function FF(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,me.HTML),K_(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function zF(e,t){e._appendElement(t,me.HTML),t.ackSelfClosing=!0}function VF(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._appendElement(t,me.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function YF(e,t){t.tagName=q.IMG,t.tagID=x.IMG,Y_(e,t)}function KF(e,t){e._insertElement(t,me.HTML),e.skipNextNewLine=!0,e.tokenizer.state=an.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=L.TEXT}function qF(e,t){e.openElements.hasInButtonScope(x.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,an.RAWTEXT)}function GF(e,t){e.framesetOk=!1,e._switchToTextParsing(t,an.RAWTEXT)}function cw(e,t){e._switchToTextParsing(t,an.RAWTEXT)}function WF(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,me.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===L.IN_TABLE||e.insertionMode===L.IN_CAPTION||e.insertionMode===L.IN_TABLE_BODY||e.insertionMode===L.IN_ROW||e.insertionMode===L.IN_CELL?L.IN_SELECT_IN_TABLE:L.IN_SELECT}function XF(e,t){e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,me.HTML)}function QF(e,t){e.openElements.hasInScope(x.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,me.HTML)}function $F(e,t){e.openElements.hasInScope(x.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(x.RTC),e._insertElement(t,me.HTML)}function ZF(e,t){e._reconstructActiveFormattingElements(),U_(t),Hy(t),t.selfClosing?e._appendElement(t,me.MATHML):e._insertElement(t,me.MATHML),t.ackSelfClosing=!0}function JF(e,t){e._reconstructActiveFormattingElements(),H_(t),Hy(t),t.selfClosing?e._appendElement(t,me.SVG):e._insertElement(t,me.SVG),t.ackSelfClosing=!0}function dw(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,me.HTML)}function Bn(e,t){switch(t.tagID){case x.I:case x.S:case x.B:case x.U:case x.EM:case x.TT:case x.BIG:case x.CODE:case x.FONT:case x.SMALL:case x.STRIKE:case x.STRONG:{BF(e,t);break}case x.A:{PF(e,t);break}case x.H1:case x.H2:case x.H3:case x.H4:case x.H5:case x.H6:{RF(e,t);break}case x.P:case x.DL:case x.OL:case x.UL:case x.DIV:case x.DIR:case x.NAV:case x.MAIN:case x.MENU:case x.ASIDE:case x.CENTER:case x.FIGURE:case x.FOOTER:case x.HEADER:case x.HGROUP:case x.DIALOG:case x.DETAILS:case x.ADDRESS:case x.ARTICLE:case x.SEARCH:case x.SECTION:case x.SUMMARY:case x.FIELDSET:case x.BLOCKQUOTE:case x.FIGCAPTION:{CF(e,t);break}case x.LI:case x.DD:case x.DT:{LF(e,t);break}case x.BR:case x.IMG:case x.WBR:case x.AREA:case x.EMBED:case x.KEYGEN:{Y_(e,t);break}case x.HR:{VF(e,t);break}case x.RB:case x.RTC:{QF(e,t);break}case x.RT:case x.RP:{$F(e,t);break}case x.PRE:case x.LISTING:{DF(e,t);break}case x.XMP:{qF(e,t);break}case x.SVG:{JF(e,t);break}case x.HTML:{_F(e,t);break}case x.BASE:case x.LINK:case x.META:case x.STYLE:case x.TITLE:case x.SCRIPT:case x.BGSOUND:case x.BASEFONT:case x.TEMPLATE:{ir(e,t);break}case x.BODY:{kF(e,t);break}case x.FORM:{OF(e,t);break}case x.NOBR:{jF(e,t);break}case x.MATH:{ZF(e,t);break}case x.TABLE:{HF(e,t);break}case x.INPUT:{FF(e,t);break}case x.PARAM:case x.TRACK:case x.SOURCE:{zF(e,t);break}case x.IMAGE:{YF(e,t);break}case x.BUTTON:{MF(e,t);break}case x.APPLET:case x.OBJECT:case x.MARQUEE:{UF(e,t);break}case x.IFRAME:{GF(e,t);break}case x.SELECT:{WF(e,t);break}case x.OPTION:case x.OPTGROUP:{XF(e,t);break}case x.NOEMBED:case x.NOFRAMES:{cw(e,t);break}case x.FRAMESET:{NF(e,t);break}case x.TEXTAREA:{KF(e,t);break}case x.NOSCRIPT:{e.options.scriptingEnabled?cw(e,t):dw(e,t);break}case x.PLAINTEXT:{IF(e,t);break}case x.COL:case x.TH:case x.TD:case x.TR:case x.HEAD:case x.FRAME:case x.TBODY:case x.TFOOT:case x.THEAD:case x.CAPTION:case x.COLGROUP:break;default:dw(e,t)}}function ez(e,t){if(e.openElements.hasInScope(x.BODY)&&(e.insertionMode=L.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function tz(e,t){e.openElements.hasInScope(x.BODY)&&(e.insertionMode=L.AFTER_BODY,tk(e,t))}function nz(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function az(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(x.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(x.FORM):n&&e.openElements.remove(n))}function rz(e){e.openElements.hasInButtonScope(x.P)||e._insertFakeElement(q.P,x.P),e._closePElement()}function iz(e){e.openElements.hasInListItemScope(x.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(x.LI),e.openElements.popUntilTagNamePopped(x.LI))}function sz(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function oz(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function lz(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function uz(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(q.BR,x.BR),e.openElements.pop(),e.framesetOk=!1}function q_(e,t){const n=t.tagName,r=t.tagID;for(let s=e.openElements.stackTop;s>0;s--){const l=e.openElements.items[s],u=e.openElements.tagIDs[s];if(r===u&&(r!==x.UNKNOWN||e.treeAdapter.getTagName(l)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=s&&e.openElements.shortenToLength(s);break}if(e._isSpecialElement(l,u))break}}function fh(e,t){switch(t.tagID){case x.A:case x.B:case x.I:case x.S:case x.U:case x.EM:case x.TT:case x.BIG:case x.CODE:case x.FONT:case x.NOBR:case x.SMALL:case x.STRIKE:case x.STRONG:{Fy(e,t);break}case x.P:{rz(e);break}case x.DL:case x.UL:case x.OL:case x.DIR:case x.DIV:case x.NAV:case x.PRE:case x.MAIN:case x.MENU:case x.ASIDE:case x.BUTTON:case x.CENTER:case x.FIGURE:case x.FOOTER:case x.HEADER:case x.HGROUP:case x.DIALOG:case x.ADDRESS:case x.ARTICLE:case x.DETAILS:case x.SEARCH:case x.SECTION:case x.SUMMARY:case x.LISTING:case x.FIELDSET:case x.BLOCKQUOTE:case x.FIGCAPTION:{nz(e,t);break}case x.LI:{iz(e);break}case x.DD:case x.DT:{sz(e,t);break}case x.H1:case x.H2:case x.H3:case x.H4:case x.H5:case x.H6:{oz(e);break}case x.BR:{uz(e);break}case x.BODY:{ez(e,t);break}case x.HTML:{tz(e,t);break}case x.FORM:{az(e);break}case x.APPLET:case x.OBJECT:case x.MARQUEE:{lz(e,t);break}case x.TEMPLATE:{Xs(e,t);break}default:q_(e,t)}}function G_(e,t){e.tmplInsertionModeStack.length>0?ek(e,t):zy(e,t)}function cz(e,t){var n;t.tagID===x.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function dz(e,t){e._err(t,te.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function wg(e,t){if(e.openElements.currentTagId!==void 0&&F_.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=L.IN_TABLE_TEXT,t.type){case rt.CHARACTER:{X_(e,t);break}case rt.WHITESPACE_CHARACTER:{W_(e,t);break}}else xc(e,t)}function fz(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,me.HTML),e.insertionMode=L.IN_CAPTION}function hz(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,me.HTML),e.insertionMode=L.IN_COLUMN_GROUP}function mz(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(q.COLGROUP,x.COLGROUP),e.insertionMode=L.IN_COLUMN_GROUP,Vy(e,t)}function pz(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,me.HTML),e.insertionMode=L.IN_TABLE_BODY}function gz(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(q.TBODY,x.TBODY),e.insertionMode=L.IN_TABLE_BODY,hh(e,t)}function yz(e,t){e.openElements.hasInTableScope(x.TABLE)&&(e.openElements.popUntilTagNamePopped(x.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function bz(e,t){K_(t)?e._appendElement(t,me.HTML):xc(e,t),t.ackSelfClosing=!0}function xz(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,me.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function ll(e,t){switch(t.tagID){case x.TD:case x.TH:case x.TR:{gz(e,t);break}case x.STYLE:case x.SCRIPT:case x.TEMPLATE:{ir(e,t);break}case x.COL:{mz(e,t);break}case x.FORM:{xz(e,t);break}case x.TABLE:{yz(e,t);break}case x.TBODY:case x.TFOOT:case x.THEAD:{pz(e,t);break}case x.INPUT:{bz(e,t);break}case x.CAPTION:{fz(e,t);break}case x.COLGROUP:{hz(e,t);break}default:xc(e,t)}}function oc(e,t){switch(t.tagID){case x.TABLE:{e.openElements.hasInTableScope(x.TABLE)&&(e.openElements.popUntilTagNamePopped(x.TABLE),e._resetInsertionMode());break}case x.TEMPLATE:{Xs(e,t);break}case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:case x.TBODY:case x.TD:case x.TFOOT:case x.TH:case x.THEAD:case x.TR:break;default:xc(e,t)}}function xc(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,dh(e,t),e.fosterParentingEnabled=n}function W_(e,t){e.pendingCharacterTokens.push(t)}function X_(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Au(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)xc(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Q_=new Set([x.CAPTION,x.COL,x.COLGROUP,x.TBODY,x.TD,x.TFOOT,x.TH,x.THEAD,x.TR]);function vz(e,t){const n=t.tagID;Q_.has(n)?e.openElements.hasInTableScope(x.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(x.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=L.IN_TABLE,ll(e,t)):Bn(e,t)}function Tz(e,t){const n=t.tagID;switch(n){case x.CAPTION:case x.TABLE:{e.openElements.hasInTableScope(x.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(x.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=L.IN_TABLE,n===x.TABLE&&oc(e,t));break}case x.BODY:case x.COL:case x.COLGROUP:case x.HTML:case x.TBODY:case x.TD:case x.TFOOT:case x.TH:case x.THEAD:case x.TR:break;default:fh(e,t)}}function Vy(e,t){switch(t.tagID){case x.HTML:{Bn(e,t);break}case x.COL:{e._appendElement(t,me.HTML),t.ackSelfClosing=!0;break}case x.TEMPLATE:{ir(e,t);break}default:zf(e,t)}}function Ez(e,t){switch(t.tagID){case x.COLGROUP:{e.openElements.currentTagId===x.COLGROUP&&(e.openElements.pop(),e.insertionMode=L.IN_TABLE);break}case x.TEMPLATE:{Xs(e,t);break}case x.COL:break;default:zf(e,t)}}function zf(e,t){e.openElements.currentTagId===x.COLGROUP&&(e.openElements.pop(),e.insertionMode=L.IN_TABLE,e._processToken(t))}function hh(e,t){switch(t.tagID){case x.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,me.HTML),e.insertionMode=L.IN_ROW;break}case x.TH:case x.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(q.TR,x.TR),e.insertionMode=L.IN_ROW,mh(e,t);break}case x.CAPTION:case x.COL:case x.COLGROUP:case x.TBODY:case x.TFOOT:case x.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE,ll(e,t));break}default:ll(e,t)}}function N0(e,t){const n=t.tagID;switch(t.tagID){case x.TBODY:case x.TFOOT:case x.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE);break}case x.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE,oc(e,t));break}case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:case x.TD:case x.TH:case x.TR:break;default:oc(e,t)}}function mh(e,t){switch(t.tagID){case x.TH:case x.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,me.HTML),e.insertionMode=L.IN_CELL,e.activeFormattingElements.insertMarker();break}case x.CAPTION:case x.COL:case x.COLGROUP:case x.TBODY:case x.TFOOT:case x.THEAD:case x.TR:{e.openElements.hasInTableScope(x.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE_BODY,hh(e,t));break}default:ll(e,t)}}function $_(e,t){switch(t.tagID){case x.TR:{e.openElements.hasInTableScope(x.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE_BODY);break}case x.TABLE:{e.openElements.hasInTableScope(x.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE_BODY,N0(e,t));break}case x.TBODY:case x.TFOOT:case x.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(x.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=L.IN_TABLE_BODY,N0(e,t));break}case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:case x.TD:case x.TH:break;default:oc(e,t)}}function wz(e,t){const n=t.tagID;Q_.has(n)?(e.openElements.hasInTableScope(x.TD)||e.openElements.hasInTableScope(x.TH))&&(e._closeTableCell(),mh(e,t)):Bn(e,t)}function Sz(e,t){const n=t.tagID;switch(n){case x.TD:case x.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=L.IN_ROW);break}case x.TABLE:case x.TBODY:case x.TFOOT:case x.THEAD:case x.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),$_(e,t));break}case x.BODY:case x.CAPTION:case x.COL:case x.COLGROUP:case x.HTML:break;default:fh(e,t)}}function Z_(e,t){switch(t.tagID){case x.HTML:{Bn(e,t);break}case x.OPTION:{e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e._insertElement(t,me.HTML);break}case x.OPTGROUP:{e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e.openElements.currentTagId===x.OPTGROUP&&e.openElements.pop(),e._insertElement(t,me.HTML);break}case x.HR:{e.openElements.currentTagId===x.OPTION&&e.openElements.pop(),e.openElements.currentTagId===x.OPTGROUP&&e.openElements.pop(),e._appendElement(t,me.HTML),t.ackSelfClosing=!0;break}case x.INPUT:case x.KEYGEN:case x.TEXTAREA:case x.SELECT:{e.openElements.hasInSelectScope(x.SELECT)&&(e.openElements.popUntilTagNamePopped(x.SELECT),e._resetInsertionMode(),t.tagID!==x.SELECT&&e._processStartTag(t));break}case x.SCRIPT:case x.TEMPLATE:{ir(e,t);break}}}function J_(e,t){switch(t.tagID){case x.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===x.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===x.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===x.OPTGROUP&&e.openElements.pop();break}case x.OPTION:{e.openElements.currentTagId===x.OPTION&&e.openElements.pop();break}case x.SELECT:{e.openElements.hasInSelectScope(x.SELECT)&&(e.openElements.popUntilTagNamePopped(x.SELECT),e._resetInsertionMode());break}case x.TEMPLATE:{Xs(e,t);break}}}function Az(e,t){const n=t.tagID;n===x.CAPTION||n===x.TABLE||n===x.TBODY||n===x.TFOOT||n===x.THEAD||n===x.TR||n===x.TD||n===x.TH?(e.openElements.popUntilTagNamePopped(x.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Z_(e,t)}function _z(e,t){const n=t.tagID;n===x.CAPTION||n===x.TABLE||n===x.TBODY||n===x.TFOOT||n===x.THEAD||n===x.TR||n===x.TD||n===x.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(x.SELECT),e._resetInsertionMode(),e.onEndTag(t)):J_(e,t)}function kz(e,t){switch(t.tagID){case x.BASE:case x.BASEFONT:case x.BGSOUND:case x.LINK:case x.META:case x.NOFRAMES:case x.SCRIPT:case x.STYLE:case x.TEMPLATE:case x.TITLE:{ir(e,t);break}case x.CAPTION:case x.COLGROUP:case x.TBODY:case x.TFOOT:case x.THEAD:{e.tmplInsertionModeStack[0]=L.IN_TABLE,e.insertionMode=L.IN_TABLE,ll(e,t);break}case x.COL:{e.tmplInsertionModeStack[0]=L.IN_COLUMN_GROUP,e.insertionMode=L.IN_COLUMN_GROUP,Vy(e,t);break}case x.TR:{e.tmplInsertionModeStack[0]=L.IN_TABLE_BODY,e.insertionMode=L.IN_TABLE_BODY,hh(e,t);break}case x.TD:case x.TH:{e.tmplInsertionModeStack[0]=L.IN_ROW,e.insertionMode=L.IN_ROW,mh(e,t);break}default:e.tmplInsertionModeStack[0]=L.IN_BODY,e.insertionMode=L.IN_BODY,Bn(e,t)}}function Nz(e,t){t.tagID===x.TEMPLATE&&Xs(e,t)}function ek(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(x.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):zy(e,t)}function Cz(e,t){t.tagID===x.HTML?Bn(e,t):Vf(e,t)}function tk(e,t){var n;if(t.tagID===x.HTML){if(e.fragmentContext||(e.insertionMode=L.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===x.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Vf(e,t)}function Vf(e,t){e.insertionMode=L.IN_BODY,dh(e,t)}function Rz(e,t){switch(t.tagID){case x.HTML:{Bn(e,t);break}case x.FRAMESET:{e._insertElement(t,me.HTML);break}case x.FRAME:{e._appendElement(t,me.HTML),t.ackSelfClosing=!0;break}case x.NOFRAMES:{ir(e,t);break}}}function Dz(e,t){t.tagID===x.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==x.FRAMESET&&(e.insertionMode=L.AFTER_FRAMESET))}function Oz(e,t){switch(t.tagID){case x.HTML:{Bn(e,t);break}case x.NOFRAMES:{ir(e,t);break}}}function Lz(e,t){t.tagID===x.HTML&&(e.insertionMode=L.AFTER_AFTER_FRAMESET)}function Iz(e,t){t.tagID===x.HTML?Bn(e,t):yf(e,t)}function yf(e,t){e.insertionMode=L.IN_BODY,dh(e,t)}function Mz(e,t){switch(t.tagID){case x.HTML:{Bn(e,t);break}case x.NOFRAMES:{ir(e,t);break}}}function Pz(e,t){t.chars=qt,e._insertCharacters(t)}function Bz(e,t){e._insertCharacters(t),e.framesetOk=!1}function nk(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==me.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function jz(e,t){if(JH(t))nk(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===me.MATHML?U_(t):r===me.SVG&&(eF(t),H_(t)),Hy(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Uz(e,t){if(t.tagID===x.P||t.tagID===x.BR){nk(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===me.HTML){e._endTagOutsideForeignContent(t);break}const s=e.treeAdapter.getTagName(r);if(s.toLowerCase()===t.tagName){t.tagName=s,e.openElements.shortenToLength(n);break}}}q.AREA,q.BASE,q.BASEFONT,q.BGSOUND,q.BR,q.COL,q.EMBED,q.FRAME,q.HR,q.IMG,q.INPUT,q.KEYGEN,q.LINK,q.META,q.PARAM,q.SOURCE,q.TRACK,q.WBR;const Hz=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Fz=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),fw={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function ak(e,t){const n=$z(e),r=s_("type",{handlers:{root:zz,element:Vz,text:Yz,comment:ik,doctype:Kz,raw:Gz},unknown:Wz}),s={parser:n?new uw(fw):uw.getFragmentParser(void 0,fw),handle(d){r(d,s)},stitches:!1,options:t||{}};r(e,s),Tl(s,Sr());const l=n?s.parser.document:s.parser.getFragment(),u=ZU(l,{file:s.options.file});return s.stitches&&ch(u,"comment",function(d,f,h){const g=d;if(g.value.stitch&&h&&f!==void 0){const y=h.children;return y[f]=g.value.stitch,f}}),u.type==="root"&&u.children.length===1&&u.children[0].type===e.type?u.children[0]:u}function rk(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function zz(e,t){rk(e.children,t)}function Vz(e,t){Xz(e,t),rk(e.children,t),Qz(e,t)}function Yz(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:rt.CHARACTER,chars:e.value,location:vc(e)};Tl(t,Sr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Kz(e,t){const n={type:rt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:vc(e)};Tl(t,Sr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function qz(e,t){t.stitches=!0;const n=Zz(e);if("children"in e&&"children"in n){const r=ak({type:"root",children:e.children},t.options);n.children=r.children}ik({type:"comment",value:{stitch:n}},t)}function ik(e,t){const n=e.value,r={type:rt.COMMENT,data:n,location:vc(e)};Tl(t,Sr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Gz(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,sk(t,Sr(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Hz,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function Wz(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))qz(n,t);else{let r="";throw Fz.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function Tl(e,t){sk(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=an.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function sk(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function Xz(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===an.PLAINTEXT)return;Tl(t,Sr(e));const r=t.parser.openElements.current;let s="namespaceURI"in r?r.namespaceURI:Us.html;s===Us.html&&n==="svg"&&(s=Us.svg);const l=aH({...e,children:[]},{space:s===Us.svg?"svg":"html"}),u={type:rt.START_TAG,tagName:n,tagID:vl(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in l?l.attrs:[],location:vc(e)};t.parser.currentToken=u,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function Qz(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&dH.includes(n)||t.parser.tokenizer.state===an.PLAINTEXT)return;Tl(t,rh(e));const r={type:rt.END_TAG,tagName:n,tagID:vl(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:vc(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===an.RCDATA||t.parser.tokenizer.state===an.RAWTEXT||t.parser.tokenizer.state===an.SCRIPT_DATA)&&(t.parser.tokenizer.state=an.DATA)}function $z(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function vc(e){const t=Sr(e)||{line:void 0,column:void 0,offset:void 0},n=rh(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function Zz(e){return"children"in e?ol({...e,children:[]}):ol(e)}function ok(e){return function(t,n){return ak(t,{...e,file:n})}}const Jz=`# <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC</span> Privacy Notice
363
364At <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC</span> ("**we**," or "**us**"), we value the privacy of individuals who use our websites and related services (collectively, our "**Services**"). This Privacy Notice explains how we 
364collect, use, and share the personal information of users of our Services ("**users**," "**you**," or "**your**"). By using our Services, you agree to the collection, use, disclosure, and processing of your information as described by this Privacy Notice.
365
366Personal information is information that identifies or could be used to identify a specific person. Personal information does not include deidentified information (anonymized or pseudonymized) or aggregated information derived from personal information.
367
368We may collect a variety of personal information and other information about you or your devices from various sources, as described below.
369
370## Information You Provide to Us
371
372### Registration Information
373
374If you sign up for an account, register to use our Services, or sign up for emails or other updates, we may ask you for basic contact information, such as your name, email address, phone number, and/or mailing address. We may also collect certain demographic information when you register for our Services, including your age, gender, personal interests, income, and/or marital status.
375
376### Communications
377
378If you contact us directly, we may collect additional information from you. For example, when you reach out to our customer support team, we may ask for your name, email address, mailing address, phone number, or other contact information so that we can verify your identity and communicate with you. We may also store the contents of any message or attachments that you send to us, as well as any information you submit through any of our forms or questionnaires.
379
380### Events
381
382If you register for an event that we host, whether in-person or online, we may collect relevant information such as your name, address, title, company, phone number, or email address, as well as specific information relevant to the event for which you are registering.
383
384### User Content
385
386We may allow you and other Users of our Services to share their own content with others. This may include posts, comments, reviews, or other User-generated content. Unless otherwise noted when creating such content, this information may be shared publicly through our Services.
387
388### Payment Information
389
390If you make a purchase through our Services, we (or a third-party payment processor acting on our behalf) may collect your payment-related information, such as credit card or other financial information.
391
392### Job Applications
393
394If you apply for a job with us, we may collect relevant information such as your name, phone number, email address, position, job history, education history, references, a cover letter, and other similar information.
395
396## Information We Collect Automatically When You Use Our Services
397
398### Device Information
399
400We may collect information about the devices and software you use to access our Services, such as your IP address, web browser type, operating system version, device identifiers, and other similar information.
401
402### Usage Information
403
404To help us understand how you use our Services and to help us improve them, we may collect data about your interactions with our Services. This includes, but is not limited to, information such as crash reports, session lengths and times, the specific pages and other content you view, and any searches you conduct on our site.
405
406### Cookies and Similar Technologies
407
408We and our third-party partners may collect information using cookies, pixel tags, or similar technologies. Cookies are small text files containing a string of alphanumeric characters. We may use both session cookies and persistent cookies. A session cookie disappears after you close your browser. A persistent cookie remains after you close your browser and may be used by your browser on subsequent visits to our Services.
409
410## Information We Receive from Other Sources
411
412We may receive information about you from other sources, including third parties that help us update, expand, and analyze our records, identify new customers, or detect or prevent fraud. What information we receive from third parties is governed by the privacy settings, policies, and/or procedures of the relevant organizations, and we encourage you to review them.
413
414## How We Use the Information We Collect
415
416We may use the information we collect:
417
418- To provide, maintain, improve, and enhance our Services;
419- To understand and analyze how you use our Services and develop new products, services, features, and functionality;
420- To facilitate purchases of products or services that you order;
421- To host events;
422- To allow you to share content with other Users of our Services;
423- To evaluate and process applications for jobs with us;
424- To communicate with you, provide you with updates and other information relating to our Services, provide information that you request, respond to comments and questions, and otherwise provide User support;
425- For marketing and advertising purposes, including developing and providing promotional and advertising materials that may be relevant, valuable or otherwise of interest to you;
426- To detect and prevent fraud, and respond to trust and safety issues that may arise;
427- In connection with generative AI applications;
428- For compliance purposes, including enforcing our Terms of Use or other legal r
428ights, or as may be required by applicable laws and regulations or requested by any judicial process or governmental agency; and
429- For other purposes for which we provide specific notice at the time the information is collected.
430
431## How We Share the Information We Collect
432
433### Service Providers
434
435We may share any information we collect with service providers retained in connection with the provision of our Services. These companies are permitted to use this information to help us provide our Services to improve the services they provide us, and for other purposes disclosed in this Privacy Notice.
436
437### Our Affiliates and Representatives
438
439We may share your information with our affiliates, subsidiaries, and representatives as needed to provide our Services.
440
441### Other Users
442
443Content you post on our websites, including comments, may be displayed to other Users as appropriate.
444
445### Our Advertising and Analytics Partners
446
447We work with our Service Providers and other analytics and/or advertising partners to collect and process certain analytics data regarding your use of our Services and to conduct advertising via cookies, as detailed below. Our Service Providers and other analytics and/or advertising partners may also collect information about your use of other websites, apps, and online resources. Parties that may process your information for advertising and analytics purposes include our Service Providers and may also include:
448
449- **Google** - We may use Google's services to collect and process analytics data about how our Users interact with our Services and to place ads that we think may interest Users and potential users.
450  For more information, see [Google's Privacy & Terms](https://policies.google.com/technologies/partner-sites) page.
451- **Meta** - We may use Meta's services to place ads that we think may interest our users and potential users across Meta's various websites, such as Facebook and Instagram.
452  For more information, see Meta's [Data Policy](https://www.facebook.com/policy.php) and [Privacy Center](https://www.facebook.com/about/basics/advertising).
453- **LinkedIn** - We may use LinkedIn's services to place ads that we think may interest our users and potential users, as well as to advertise openings to potential employees.
454  For more information, see LinkedIn's [Privacy Notice](https://www.linkedin.com/legal/privacy-policy) and [Cookie Policy](https://www.linkedin.com/legal/cookie-policy).
455- **Microsoft** - We may use Microsoft's services to place ads that we think may interest our users and potential users.
456  For more information, see Microsoft's [Advertising Policies](https://help.ads.microsoft.com/apex/index/3/en/52023).
457
458Please note that our Service Providers and advertising and analytics partners may change from time to time. If you would like a current list of the specific parties we are working with to provide analytics and/or advertising services, contact us at <span data-field="email" data-type="email" data-editable="true">[email protected]</span>. For details about your choices regarding how these partners use your information, see the Your Choices section below.
459
460### As Required by Law and Similar Disclosures
461
462We may access, preserve, and disclose your information if we believe doing so is required or appropriate to: (a) comply with law enforcement requests and legal process, such as a court order or subpoena; (b) respond to your requests; or (c) protect your, our, or others' rights, property, or safety. In particular, we may disclose relevant information to the appropriate third parties if you post any illegal, threatening, or objectionable content on or through the Services.
463
464### Events
465
466We may share your information with event partners or co-sponsors to facilitate the events for which you register.
467
468### Merger, Sale, or Other Asset Transfers
469
470We may transfer your information to service providers, advisors, potential transactional partners, or other third parties in connection with the consideration, negotiation, or completion of a corporate transaction in which we are acquired by or merged with another company or in which we sell, liquidate, or transfer all or a portion of our assets. The use of your information following any of these events will be governed by the same general provisions of this Privacy Notice.
471
472### Consent
473
474We may also disclose your information with your permission.
475
476## Your Choices
477
478### Our Communications
479
480From time to time, you may receive marketing or other informational email messages from us. You can unsubscribe from our promotional and informational emails via the link provided in the emails. After opting out of receiving such messages from us, users may continue to receive administrative messages from us that are necessary to service User accounts.
481
482### Cookies
483
484Most web browsers allow you to manage cookies through the browser settings. To find out more about cookies, you can visit [www.aboutcookies.org](https://www.aboutcookies.org/) or [www.allaboutcookies.org](https://www.allaboutcookies.org/).
485
486### Our Partners
487
488You can learn more about Google's privacy practices and your options for how they use your information on Google's [website](https://policies.google.com/technologies/partner-sites). You can also install the [Google Analytics Opt-out Browser Add-on](https://tools.google.com/dlpage/gaoptout). Meta, the parent company of Facebook, provides information about how it uses the information it collects through our Services in its [Data Policy](https://www.facebook.com/policy.php). You can also learn specifically about Facebook's advertising practices on its [website](https://www.facebook.com/about/basics/advertising).
489
490Some of our advertising partners may be members of the [Network Advertising Initiative](https://optout.networkadvertising.org/) or the [Digital Advertising Alliance](https://
490optout.aboutads.info/). You can visit those organizations' websites to learn about how you may opt out of receiving web-based personalized ads from their member companies. You can also access any settings offered by your mobile operating system to limit ad tracking. To inquire about your choices regarding our business partners generally, contact us at <span data-field="email" data-type="email" data-editable="true">[email protected]</span>.
491
492## Third-Party Content
493
494Our Services may contain links to other websites, products, or services that we do not own or operate. We are not responsible for the content provided by, or the privacy practices of, these third parties. Please be aware that this Privacy Notice does not apply to your activities on these third-party services or any information you disclose to these third parties. We encourage you to read their privacy policies before providing any information to them.
495
496## Security
497
498We make reasonable efforts to protect your information by using administrative, technological, and physical safeguards designed to improve the security of the information we maintain and protect it from accidental loss, unauthorized access or use, or any other inappropriate or unlawful processing. Because no information system can be 100% secure, we cannot guarantee the absolute security of your information.
499
500## Children's Privacy
501
502<span data-section="children" data-section-when="true" data-hidden="true" style="display:none">
503We comply with the Children's Online Privacy Protection Act (COPPA), in addition to other US privacy laws, with respect to any Personal Information we collect or use from children under the age of 13. If you have questions about how we handle children's data, you can contact us at <span data-field="email" data-type="email" data-editable="true">[email protected]</span>.
504</span>
505<span data-section="children" data-section-when="false">
506We do not knowingly collect, maintain, or use information from children under 13 years of age, and no part of our Services are directed toward children. If you learn that a child has provided us with information in violation of this Privacy Notice, then you may alert us at <span data-field="email" data-type="email" data-editable="true">[email protected]</span>.
507</span>
508
509## International Visitors
510
511Our Services are hosted in the United States and intended for use by individuals located within the United States. If you choose to use the Services from the European Union or other regions of the world with laws governing data collection and use that may differ from U.S. law, please note that you are transferring your information outside of those regions to the United States for storage and processing. Also, we may transfer your data from the U.S. to other countries or regions in connection with operating the Services and storing or processing data. By using our Services, you consent to the transfer, storage, and processing of your information as described in this Privacy Notice.
512
513## Changes to this Privacy Notice
514
515We will post any adjustments to the Privacy Notice on this page, and the revised version will be effective when it is posted. If we make material changes, we may notify you via a notice posted on our website or another method. We encourage you to read this Privacy Notice periodically to stay up to date about our privacy practices.
516
517## Contact Us
518
519All feedback, comments, requests for technical support, and other communications relating to the Sites and our data collection and processing activities should be directed to: <span data-field="email" data-type="email" data-editable="true">[email protected]</span>.
520
521Last updated: September 13, 2026
522`,eV={h1:e=>m.jsx("h1",{className:"text-2xl font-bold mt-8 mb-4",...e}),h2:e=>m.jsx("h2",{className:"text-xl font-bold mt-8 mb-3",...e}),h3:e=>m.jsx("h3",{className:"text-lg font-bold mt-6 mb-2",...e}),p:e=>m.jsx("p",{className:"my-4 leading-relaxed",...e}),ul:e=>m.jsx("ul",{className:"my-4 ml-6 list-disc",...e}),ol:e=>m.jsx("ol",{className:"my-4 ml-6 list-decimal",...e}),li:e=>m.jsx("li",{className:"my-1",...e}),span:e=>m.jsx("span",{...e})},tV="Privacy Policy",nV="Our privacy policy explains what personal information we collect, how we use it, and your rights.",hw="/privacy";function aV(){const e=typeof window<"u"?`${window.location.origin}${hw}`:hw;return m.jsxs("div",{className:"container mx-auto px-4 py-12 max-w-4xl",children:[m.jsxs(Kn,{children:[m.jsx("title",{children:tV}),m.jsx("meta",{name:"description",content:nV}),m.jsx("link",{rel:"canonical",href:e})]}),m.jsx("article",{className:"max-w-none",children:m.jsx(Ly,{remarkPlugins:[By],rehypePlugins:[ok],components:eV,children:Jz})})]})}
522const rV=`# <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> Terms of Use
523
524<span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> ("**we**," "**us**," or "**our**") owns and operates <span data-field="domainName" data-type="url" data-editable="true">benpovlow.com</span> and other sites linking to these Terms of Use (individually, the "Site", and collectively, the "Sites"). Through the Sites, <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> provides various offerings, information, and resources related to the products and services available on our Sites (each a "Service" and collectively, the "Services"). References to the Sites include the Services.
525
526<span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> may change, suspend, modify, or discontinue all or any part of the Sites in its sole discretion with or without notice. <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> is not liable if all or any part of a Site is, for any reason, unavailable at any time or for any period. <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> reserves the right to block or deny access to any of the Sites to anyone at any time for any reason. <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> is not obligated to correct or update any information or content on the Sites.
527
528## General Terms
529
530These terms of use (together with any additional terms, as described below) ("Terms of Use") are an agreement between <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> and the individuals that use the Sites <span data-section="children" data-section-when="true" data-hidden="true" style="display:none">(or the parent/legal guardian of any such individuals under the age of 18) </span>("**users**," "**you**," or "**your**"). The Terms of Use govern your access to and use of the Sites. Subject to your full and ongoing compliance with these Terms of Use, <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> hereby grants you a limited and revocable right to access and use the Sites, solely for their intended purposes. If you use or access the Sites on behalf of a business or other entity, you must have authority to bind that business/entity. In such case, the term "you" includes the business/entity and any of its agents that use or access the Sites. By using or accessing the Sites, you represent and warrant that you are of legal age to accept these Terms of Use and form a binding contract with <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span>.
531
532IF YOU ARE UNDER THE AGE OF 18 (A MINOR), YOUR PARENT OR LEGAL GUARDIAN MUST READ AND CONSENT TO THE TERMS OF USE BEFORE YOU USE THE SITES. BY PERMITTING A MINOR TO USE THE SITES, THE MINOR'S PARENT OR GUARDIAN BECOMES SUBJECT TO THE TERMS OF USE AND AGREES TO BE RESPONSIBLE FOR THE MINOR'S ACTIVITIES ON THE SITES.
533
534We may now or in the future offer multiple platforms (the "<span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> Platforms") through our Sites for use in accessing our Services. To use the Platforms, you must adhere to any additional terms and conditions specific to each Platform, as identified below and/or presented to you at the time you use the Platforms. Certain offerings on the Sites may be free of charge or offered for a fee, and we reserve the right to change what Services are offered free of charge or for a fee, and the fees charged for any given Service.
535
536PLEASE READ THE TERMS OF USE CAREFULLY. BY ACCESSING ANY PAGES ON THE SITES; CREATING AN ACCOUNT; USING ANY SERVICES MADE AVAILABLE THROUGH THE SITES; POSTING, SUBMITTING, TRANSMITTING, OR UPLOADING ANY INFORMATION OR CONTENT THROUGH THE SITES; OR USING ANY PLATFORM, YOU EXPRESSLY AGREE THAT YOU<span data-section="children" data-section-when="true" data-hidden="true" style="display:none">, OR YOUR PARENT OR LEGAL GUARDIAN FOR USERS UNDER THE AGE OF 18,</span> HAVE READ, UNDERSTAND, AND AGREE TO THE TERMS OF USE AND ANY APPLICABLE POLICIES AND DISCLAIMERS REFERENCED HEREIN OR ON THE SITES. DO NOT USE THE SITES IF YOU DO NOT AGREE TO THE TERMS OF USE AND ALL APPLICABLE POLICIES AND DISCLAIMERS.
537
538## Changes to the Terms of Use
539
540As stated above, <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> reserves the right to update or modify the Terms of Use at any time, with or without prior notice. Any such changes will become effective upon the earlier of (i) the first time you use the Sites or Services with actual notice of the change(s), or (ii) 30 days after the change(s) are publicly posted on the Sites. Disputes arising under these Terms will be resolved 
540in accordance with the version of the Terms of Use in place at the time the dispute arose. We use reasonable efforts to ensure that the Terms of Use identify the last date of update.
541
542In the case of material changes to the Terms, <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> will make reasonable efforts to notify you of the change, such as by sending an email to any address we have on file, displaying a pop-up window on the Sites, or other similar mechanism. We encourage you to review the Terms of Use frequently to stay informed of any changes.
543
544## Account Access and Security
545
546You may be required to register and create an account to access some content and functionality on the Sites and/or Platforms. You may be required to provide personal information, such as an email and password, to create an account, as described in our Privacy Notice.
547
548You are responsible for maintaining the confidentiality of your account, password, and other information. By creating an account, you agree that such account is intended for your use only, and you agree not to allow any other person to access it. You agree to notify <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> immediately if you become aware of any unauthorized access to or use of your account. You may be required to log out from your account at the end of each session. You should use caution when accessing your account from a public or shared computer so that others are not able to view or access your information. <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> may disable an account at any time in its sole discretion. Circumventing account access controls may be a violation of law.
549
550Any information you provide to <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> must be correct, current, and complete. Our use of your information is governed by our Privacy Notice. By providing us with personal information, you consent to our use of such information as described in our Privacy Notice.
551
552## User Content
553
554The Sites may now or in the future contain Services that use information you have provided to <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> and that allow you and others to post, submit, publish, display, or otherwise transmit ("post") various information and materials ("User Content"), which may include answers in response to questions, comments, documents, and other similar content. Other than personally identifiable information that you provide to us and except as expressly provided in these Terms of Use or the policies applicable to any <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> Platform, User Content is and will be considered non-confidential and non-proprietary. You retain ownership rights in and to your User Content, and by posting User Content to the Sites, you hereby grant <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> an unrestricted, non-exclusive, perpetual, royalty-free, worldwide, transferable, sublicensable, and irrevocable license and right, but not an obligation, to use, edit, alter, copy, reproduce, disclose, display, publish, prepare derivative works from, perform, market, distribute, exhibit, broadcast, or otherwise use such User Content and derivatives thereof, in whole or in part, and in any form, media, or technology now known or hereafter developed.
555
556<span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> is under no obligation to use, return, review, or respond to User Content. You understand and acknowledge that you are responsible for any User Content you post. By providing User Content, you represent and warrant that: (a) you own or c
556ontrol all rights in and to such User Content, (b) you have the right to grant <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> the license to such User Content that is described above, and (c) the User Content you provide does and will comply with these Terms of Use, including the Content Standards below. You have full responsibility for such content, including its legality, reliability, accuracy, and appropriateness, as further explained in the Content Standards .
557
558## Reliance on Posted Information
559
560The Sites may include content provided by persons or entities other than <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> ("third parties"). Other than content provided by <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span>, all statements and/or opinions expressed, including all articles, responses to questions, and other content are solely the opinions and the responsibility of the party providing those materials. <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> is not responsible for the content of any materials provided by third parties, and <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> does not warrant the accuracy, completeness, or reliability of any such information. Information provided by <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> on the Sites is informational only. <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> does not guarantee the accuracy of information provided on the Sites.
561
562## Content Standards
563
564You agree that you will not post any User Content that (a) infringes on or violates any intellectual property rights, (b) fails to comply with applicable laws and regulations, or (c) contains any expressions of hate, abuse, offensive images or conduct, or any similar content. Without limiting the foregoing, User Content must not:
565
566- contain any defamatory, libelous, slanderous, obscene, indecent, abusive, offensive, harassing, violent, hateful, inflammatory, sexually explicit, pornographic, or otherwise objectionable (as determined by <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> in its sole discretion) material;
567- promote violence or discrimination based on race, ethnicity, sex, religion, nationality, disability, sexual orientation, gender identity, or age;
568- violate any person's or entity's legal rights (including intellectual property rights, moral rights, and rights of publicity and privacy);
569- impersonate any person or entity;
570- misrepresent your identity or affiliation or the identity or affiliation of any other entity;
571- appear as if it is posted by or endorsed by <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> or any other person or entity, if this is not the case;
572- be likely to or designed to deceive any person or entity;
573- contain any material that is unlawful or could result in civil or criminal liability;
574- incite, advocate, promote, contribute to, enable, or assist any illegal or unlawful activity;
575- involve commercial activities or sales, such as contests, sweepstakes, and other sales promotions, barter or advertising, other than as conducted by <span data-field="businessName" data-type="text" data-editable="true">The Self-Help Company, LLC and Ben Povlow</span> in its operation of the Sites; or
576- conflict with these Terms of Use or any other applicable law or policy.
577
578## Governing Law and Jurisdiction
579
580You agree that all matters relating to the Sites and these Terms of Use and any dispute or claim arising therefrom or related thereto (in each case, including non-contractual disputes or claims), shall be governed by and construed in accordance with the internal laws of the State of <span data-field="jurisdiction" data-type="us_states" data-editable="true">Colorado</span> without giving effect to any choice or conflict of law provision or rule (whether of the State of <span data-field="jurisdiction" data-type="us_states" data-editable="true">Colorado</span> or any other jurisdiction).
581
582Last updated: September 16, 2026
583`,iV={h1:e=>m.jsx("h1",{className:"text-2xl font-bold mt-8 mb-4",...e}),h2:e=>m.jsx("h2",{className:"text-xl font-bold mt-8 mb-3",...e}
583),h3:e=>m.jsx("h3",{className:"text-lg font-bold mt-6 mb-2",...e}),p:e=>m.jsx("p",{className:"my-4 leading-relaxed",...e}),ul:e=>m.jsx("ul",{className:"my-4 ml-6 list-disc",...e}),ol:e=>m.jsx("ol",{className:"my-4 ml-6 list-decimal",...e}),li:e=>m.jsx("li",{className:"my-1",...e}),span:e=>m.jsx("span",{...e})},sV="Terms of Use",oV="The terms of use for our website, including your rights and responsibilities when using our services.",mw="/terms";function lV(){const e=typeof window<"u"?`${window.location.origin}${mw}`:mw;return m.jsxs("div",{className:"container mx-auto px-4 py-12 max-w-4xl",children:[m.jsxs(Kn,{children:[m.jsx("title",{children:sV}),m.jsx("meta",{name:"description",content:oV}),m.jsx("link",{rel:"canonical",href:e})]}),m.jsx("article",{className:"max-w-none",children:m.jsx(Ly,{remarkPlugins:[By],rehypePlugins:[ok],components:iV,children:rV})})]})}const ni={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}},pw={hidden:{},visible:{transition:{staggerChildren:.12}}},Yf="https://benpovlow.com",$d=`${Yf}/free-audiobook-and-ebook/`,Zd="Free Audiobook: Self-Help for At-Risk Teens — Ben Povlow",Jd="Listen to the full audiobook of Self-Help for At-Risk Teens, read by author Ben Povlow. Free — no signup required. Press play and start listening now.",gw=`${Yf}/airo-assets/images/pages/free-audiobook/book-cover`;function uV(){const e=D.useRef(null);return D.useEffect(()=>{if(!e.current)return;const t=document.createElement("script");t.src="https://www.buzzsprout.com/1246736/episodes/7742971-self-help-for-at-risk-teens-read-by-ben-povlow.js?container_id=buzzsprout-player-7742971&player=small",t.type="text/javascript",t.charset="utf-8",t.async=!0,e.current.appendChild(t)},[]),m.jsxs(m.Fragment,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:Zd}),m.jsx("meta",{name:"description",content:Jd}),m.jsx("link",{rel:"canonical",href:$d}),m.jsx("meta",{name:"robots",content:"noindex, follow"}),m.jsx("meta",{property:"og:title",content:Zd}),m.jsx("meta",{property:"og:description",content:Jd}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:url",content:$d}),m.jsx("meta",{property:"og:image",content:gw}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:title",content:Zd}),m.jsx("meta",{name:"twitter:description",content:Jd}),m.jsx("meta",{name:"twitter:image",content:gw}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebPage","@id":`${$d}#webpage`,name:Zd,url:$d,description:Jd,isPartOf:{"@id":`${Yf}/#website`},about:{"@id":`${Yf}/#organization`}}).replace(/</g,"\\u003c")})]}),m.jsxs("main",{children:[m.jsx("section",{className:"py-xxl",style:{background:"hsl(var(--background))"},children:m.jsx("div",{className:"max-w-content mx-auto px-6",children:m.jsxs($.div,{variants:pw,initial:"hidden",animate:"visible",className:"flex flex-col lg:flex-row items-center gap-12 lg:gap-16",children:[m.jsx($.div,{variants:ni,className:"flex-shrink-0",children:m.jsx("img",{src:"/airo-assets/images/pages/free-audiobook/book-cover",alt:"Self-Help for At-Risk Teens by Ben Povlow — book and ebook cover",width:420,height:500,loading:"eager",fetchPriority:"high",className:"w-64 md:w-80 lg:w-96 h-auto object-contain drop-shadow-xl"})}),m.jsxs("div",{className:"flex-1 text-center lg:text-left",children:[m.jsx($.p,{variants:ni,className:"text-sm font-semibold uppercase tracking-wide mb-3",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"ef8771",guard:{file:"src/pages/free-audiobook.tsx",tagName:"p",sourceKind:"content-key",contentKey:"free_audiobook.hero.eyebrow",contentKeyTemplate:null,expressionHash:null},children:Yi.hero.eyebrow})}),m.jsx($.h1,{variants:ni,className:"text-4xl md:text-5xl font-bold mb-3 leading-tight",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"dc4c9a",guard:{file:"src/pages/free-audiobook.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"free_audiobook.hero.heading",contentKeyTemplate:null,expressionH
583ash:null},children:Yi.hero.heading})}),m.jsx($.p,{variants:ni,className:"text-xl md:text-2xl font-medium mb-5",style:{whiteSpace:"pre-line",color:"hsl(var(--primary))",fontFamily:"var(--font-heading)"},children:m.jsx(oe,{devId:"ef8772",guard:{file:"src/pages/free-audiobook.tsx",tagName:"p",sourceKind:"content-key",contentKey:"free_audiobook.hero.subheading",contentKeyTemplate:null,expressionHash:null},children:Yi.hero.subheading})}),m.jsx($.p,{variants:ni,className:"text-base md:text-lg mb-8 max-w-xl mx-auto lg:mx-0",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"ef8773",guard:{file:"src/pages/free-audiobook.tsx",tagName:"p",sourceKind:"content-key",contentKey:"free_audiobook.hero.description",contentKeyTemplate:null,expressionHash:null},children:Yi.hero.description})}),m.jsx($.div,{variants:ni,className:"w-full",children:m.jsx("div",{id:"buzzsprout-player-7742971",ref:e})})]})]})})}),m.jsx("div",{className:"border-t",style:{borderColor:"hsl(var(--border))"}}),m.jsx("section",{className:"py-xl",style:{background:"hsl(var(--muted))"},children:m.jsx("div",{className:"max-w-content mx-auto px-6 text-center",children:m.jsxs($.div,{variants:pw,initial:"hidden",whileInView:"visible",viewport:{once:!0},children:[m.jsx($.h2,{variants:ni,className:"text-2xl md:text-3xl font-bold mb-3",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"95a8e8",guard:{file:"src/pages/free-audiobook.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"free_audiobook.buySection.heading",contentKeyTemplate:null,expressionHash:null},children:Yi.buySection.heading})}),m.jsx($.p,{variants:ni,className:"text-base mb-6 max-w-md mx-auto",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"a791de",guard:{file:"src/pages/free-audiobook.tsx",tagName:"p",sourceKind:"content-key",contentKey:"free_audiobook.buySection.description",contentKeyTemplate:null,expressionHash:null},children:Yi.buySection.description})}),m.jsx($.a,{variants:ni,href:Yi.buySection.buttonUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-block px-8 py-3 rounded-lg font-semibold text-base transition-opacity duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"a7520f",guard:{file:"src/pages/free-audiobook.tsx",tagName:"a",sourceKind:"content-key",contentKey:"free_audiobook.buySection.buttonText",contentKeyTemplate:null,expressionHash:null},children:Yi.buySection.buttonText})})]})})})]})]})}/**
584 * @license lucide-react v0.454.0 - ISC
585 *
586 * This source code is licensed under the ISC license.
587 * See the LICENSE file in the root directory of this source tree.
588 */const cV=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),lk=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
589 * @license lucide-react v0.454.0 - ISC
590 *
591 * This source code is licensed under the ISC license.
592 * See the LICENSE file in the root directory of this source tree.
593 */var dV={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"};/**
594 * @license lucide-react v0.454.0 - ISC
595 *
596 * This source code is licensed under the ISC license.
597 * See the LICENSE file in the root directory of this source tree.
598 */const fV=D.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:l,iconNode:u,...d},f)=>D.createElement("svg",{ref:f,...dV,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:lk("lucide",s),...d},[...u.map(([h,g])=>D.createElement(h,g)),...Array.isArray(l)?l:[l]]));/**
599 * @license lucide-react v0.454.0 - ISC
600 *
601 * This source code is licensed under the ISC license.
602 * See the LICENSE file in the root directory of this source tree.
603 */const hV=(e,t)=>{const n=D.forwardRef(({className:r,...s},l)=>D.createElement(fV,{ref:l,iconNode:t,className:lk(`lucide-${cV(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
604 * @license lucide-react v0.454.0 - ISC
605 *
606 * This source code is licensed under the ISC license.
607 * See the LICENSE file in the root directory of this source tree.
608 */const ef=hV("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),Fn={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}},_u={hidden:{},visible:{transition:{staggerChildren:.12}}},Kf="https://benpovlow.com",tf=`${Kf}/work-with-ben`,yw=`${Kf}/airo-assets/images/pages/home/og-image`;function mV(){return m.jsxs(m.Fragment,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:"Work With Ben — AI-Assisted Self-Publishing Coaching & Done-For-You Book Publishing"}),m.jsx("meta",{name:"description",content:"Get your book published with Ben Povlow. Choose from the AI-Assisted Self-Publishing Playbook course, done-with-you coaching, or a full done-for-you publishing service."}),m.jsx("link",{rel:"canonical",href:tf}),m.jsx("meta",{property:"og:title",content:"Work With Ben Povlow — Self-Publishing Coaching & Services"}),m.jsx("meta",{property:"og:description",content:"Three ways to get your book published: take the course, work with Ben one-on-one, or have it done for you."}),m.jsx("meta",{property:"og:url",content:tf}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:image",content:yw}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:image",content:yw}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebPage","@id":`${tf}#webpage`,name:"Work With Ben Povlow",url:tf,isPartOf:{"@id":`${Kf}/#website`},about:{"@id":`${Kf}/#organization`}}).replace(/</g,"\\u003c")})]}),m.jsxs("main",{children:[m.jsx("section",{className:"py-20 md:py-28 px-6",style:{background:"hsl(var(--background))"},children:m.jsxs($.div,{initial:"hidden",animate:"visible",variants:_u,className:"max-w-5xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-12 md:gap-16 items-center",children:[m.jsx($.div,{variants:Fn,className:"flex justify-center md:justify-start order-2 md:order-1",children:m.jsx("div",{className:"rounded-xl overflow-hidden shadow-2xl w-full max-w-xs",children:m.jsx("img",{src:"/airo-assets/images/pages/work-with-ben/book-cover",alt:"The AI-Assisted Self-Publishing Playbook by Ben Povlow",width:400,height:520,loading:"eager",fetchPriority:"high",className:"w-full h-auto object-cover"})})}),m.jsxs("div",{className:"order-1 md:order-2",children:[m.jsx($.p,{variants:Fn,className:"text-sm font-semibold tracking-wide mb-3",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"ef1a7f",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.hero.label",contentKeyTemplate:null,expressionHash:null},children:at.hero.label})}),m.jsx($.h1,{variants:Fn,className:"text-4xl md:text-5xl font-bold mb-5 leading-tight",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"ce4168",guard:{file:"src/pages/work-with-ben.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"work_with_ben.hero.heading",contentKeyTemplate:null,expressionHash:null},children:at.hero.heading})}),m.jsx($.p,{variants:Fn,className:"text-lg leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"ef1a80",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.hero.subheading",contentKeyTemplate:null,expressionHash:null},children:at.hero.subheading})})]})]})}),m.jsx("div",{className:"border-t border-border mx-6 md:mx-16"}),m.jsx("section",{className:"py-16 md:py-20 px-6",style:{background:"hsl(var(--background))"},children:m.jsxs($.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:_u,className:"max-w-4xl mx-auto",children:[m.jsx($.p,{variants:Fn,className:"text-sm font-semibold tracking-wide mb-2",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"44f5ac",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.course.label",contentKeyTemplate:null,expressionH
608ash:null},children:at.course.label})}),m.jsx($.h2,{variants:Fn,className:"text-3xl md:text-4xl font-bold mb-5",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"df8676",guard:{file:"src/pages/work-with-ben.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"work_with_ben.course.heading",contentKeyTemplate:null,expressionHash:null},children:at.course.heading})}),m.jsx($.p,{variants:Fn,className:"text-base leading-relaxed mb-8 max-w-2xl",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"44f5ad",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.course.description",contentKeyTemplate:null,expressionHash:null},children:at.course.description})}),m.jsx($.ul,{variants:_u,className:"grid grid-cols-1 sm:grid-cols-2 gap-3 mb-8",children:at.course.features.map(e=>m.jsxs($.li,{variants:Fn,className:"flex items-center gap-3",children:[m.jsx(ef,{className:"w-5 h-5 shrink-0",style:{color:"hsl(var(--accent))"}}),m.jsx("span",{className:"text-sm",style:{whiteSpace:"pre-line",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:e.text})]},e.id))}),m.jsxs($.div,{variants:Fn,className:"flex flex-col sm:flex-row items-start sm:items-center gap-4",children:[m.jsx("span",{className:"text-2xl font-bold",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--primary))"},children:m.jsx(oe,{devId:"f00ba2",guard:{file:"src/pages/work-with-ben.tsx",tagName:"span",sourceKind:"content-key",contentKey:"work_with_ben.course.price",contentKeyTemplate:null,expressionHash:null},children:at.course.price})}),m.jsx("a",{href:at.course.ctaUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-block px-7 py-3 rounded-lg font-semibold text-sm transition-opacity duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"4dd3f1",guard:{file:"src/pages/work-with-ben.tsx",tagName:"a",sourceKind:"content-key",contentKey:"work_with_ben.course.cta",contentKeyTemplate:null,expressionHash:null},children:at.course.cta})})]})]})}),m.jsx("div",{className:"border-t border-border mx-6 md:mx-16"}),m.jsx("section",{className:"py-16 md:py-20 px-6",style:{background:"hsl(var(--muted))"},children:m.jsxs($.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:_u,className:"max-w-5xl mx-auto grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:[m.jsxs($.div,{variants:Fn,className:"rounded-xl p-8 flex flex-col gap-5",style:{background:"hsl(var(--card))",border:"1px solid hsl(var(--border))"},children:[m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-semibold tracking-wide mb-2",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"4e4d55",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.hourly.label",contentKeyTemplate:null,expressionHash:null},children:at.hourly.label})}),m.jsx("h2",{className:"text-2xl font-bold mb-3",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"13d33f",guard:{file:"src/pages/work-with-ben.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"work_with_ben.hourly.heading",contentKeyTemplate:null,expressionHash:null},children:at.hourly.heading})}),m.jsx("p",{className:"text-sm leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"4e4d56",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.hourly.description",contentKeyTemplate:null,expressionHash:null},children:at.hourly.description})})]}),m.jsx("ul",{className:"flex flex-col gap-2",children:at.hourly.features.map(e=>m.jsxs("li",{className:"flex items-start gap-3",children:[m.jsx(ef,{className:"w-4 h-4 mt-0.5 shrink-0",style:{color:"hsl(var(--accent))"}}),m.jsx("span",{className:"text-sm",style:{whiteSpace:"pre-line",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:e.text})]},e.id))}),m.jsxs("div",{className:"mt-auto pt-2",children:[m.jsx("p",{className:"text-base font-semibold line-through mb-0.5",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--price-strike))"},children:m.jsx(oe,{devId:"6065d6",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.hourly.originalPrice",contentKeyTemplate:null,expressionH
608ash:null},children:at.hourly.originalPrice})}),m.jsx("p",{className:"text-2xl font-bold mb-1",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--primary))"},children:m.jsx(oe,{devId:"6065d7",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.hourly.price",contentKeyTemplate:null,expressionHash:null},children:at.hourly.price})}),m.jsx("p",{className:"text-xs mb-4",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"6065d8",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.hourly.priceNote",contentKeyTemplate:null,expressionHash:null},children:at.hourly.priceNote})}),m.jsx("a",{href:at.hourly.ctaUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-block px-6 py-3 rounded-lg font-semibold text-sm transition-opacity duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"602607",guard:{file:"src/pages/work-with-ben.tsx",tagName:"a",sourceKind:"content-key",contentKey:"work_with_ben.hourly.cta",contentKeyTemplate:null,expressionHash:null},children:at.hourly.cta})})]})]}),m.jsxs($.div,{variants:Fn,className:"rounded-xl p-8 flex flex-col gap-5",style:{background:"hsl(var(--card))",border:"1px solid hsl(var(--border))"},children:[m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-semibold tracking-wide mb-2",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"ab0296",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.coaching.label",contentKeyTemplate:null,expressionHash:null},children:at.coaching.label})}),m.jsx("h2",{className:"text-2xl font-bold mb-3",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"0730a0",guard:{file:"src/pages/work-with-ben.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"work_with_ben.coaching.heading",contentKeyTemplate:null,expressionHash:null},children:at.coaching.heading})}),m.jsx("p",{className:"text-sm leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"ab0297",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.coaching.description",contentKeyTemplate:null,expressionHash:null},children:at.coaching.description})})]}),m.jsx("ul",{className:"flex flex-col gap-2",children:at.coaching.features.map(e=>m.jsxs("li",{className:"flex items-start gap-3",children:[m.jsx(ef,{className:"w-4 h-4 mt-0.5 shrink-0",style:{color:"hsl(var(--accent))"}}),m.jsx("span",{className:"text-sm",style:{whiteSpace:"pre-line",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:e.text})]},e.id))}),m.jsxs("div",{className:"mt-auto pt-2",children:[m.jsx("p",{className:"text-base font-semibold line-through mb-0.5",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--price-strike))"},children:m.jsx(oe,{devId:"bd1b17",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.coaching.originalPrice",contentKeyTemplate:null,expressionHash:null},children:at.coaching.originalPrice})}),m.jsx("p",{className:"text-2xl font-bold mb-1",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--primary))"},children:m.jsx(oe,{devId:"bd1b18",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.coaching.price",contentKeyTemplate:null,expressionHash:null},children:at.coaching.price})}),m.jsx("p",{className:"text-xs mb-4",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"bd1b19",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.coaching.priceNote",contentKeyTemplate:null,expressionH
608ash:null},children:at.coaching.priceNote})}),m.jsx("a",{href:at.coaching.ctaUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-block px-6 py-3 rounded-lg font-semibold text-sm transition-opacity duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"bcdb48",guard:{file:"src/pages/work-with-ben.tsx",tagName:"a",sourceKind:"content-key",contentKey:"work_with_ben.coaching.cta",contentKeyTemplate:null,expressionHash:null},children:at.coaching.cta})})]})]}),m.jsxs($.div,{variants:Fn,className:"rounded-xl p-8 flex flex-col gap-5",style:{background:"hsl(var(--card))",border:"2px solid hsl(var(--primary))"},children:[m.jsxs("div",{children:[m.jsx("p",{className:"text-xs font-semibold tracking-wide mb-2",style:{whiteSpace:"pre-line",color:"hsl(var(--accent))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"07b7d7",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.dfy.label",contentKeyTemplate:null,expressionHash:null},children:at.dfy.label})}),m.jsx("h2",{className:"text-2xl font-bold mb-3",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"fa8e01",guard:{file:"src/pages/work-with-ben.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"work_with_ben.dfy.heading",contentKeyTemplate:null,expressionHash:null},children:at.dfy.heading})}),m.jsx("p",{className:"text-sm leading-relaxed",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"07b7d8",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.dfy.description",contentKeyTemplate:null,expressionHash:null},children:at.dfy.description})})]}),m.jsx("ul",{className:"flex flex-col gap-2",children:at.dfy.features.map(e=>m.jsxs("li",{className:"flex items-start gap-3",children:[m.jsx(ef,{className:"w-4 h-4 mt-0.5 shrink-0",style:{color:"hsl(var(--primary))"}}),m.jsx("span",{className:"text-sm",style:{whiteSpace:"pre-line",color:"hsl(var(--foreground))",fontFamily:"var(--font-sans)"},children:e.text})]},e.id))}),m.jsxs("div",{className:"mt-auto pt-2",children:[m.jsx("p",{className:"text-base font-semibold line-through mb-0.5",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--price-strike))"},children:m.jsx(oe,{devId:"19d058",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.dfy.originalPrice",contentKeyTemplate:null,expressionHash:null},children:at.dfy.originalPrice})}),m.jsx("p",{className:"text-2xl font-bold mb-1",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--primary))"},children:m.jsx(oe,{devId:"19d059",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.dfy.price",contentKeyTemplate:null,expressionHash:null},children:at.dfy.price})}),m.jsx("p",{className:"text-xs mb-4",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"19d05a",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.dfy.priceNote",contentKeyTemplate:null,expressionHash:null},children:at.dfy.priceNote})}),m.jsx("a",{href:at.dfy.ctaUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-block px-6 py-3 rounded-lg font-semibold text-sm transition-opacity duration-200 hover:opacity-90",style:{whiteSpace:"pre-line",background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"199089",guard:{file:"src/pages/work-with-ben.tsx",tagName:"a",sourceKind:"content-key",contentKey:"work_with_ben.dfy.cta",contentKeyTemplate:null,expressionHash:null},children:at.dfy.cta})})]})]})]})}),m.jsx("div",{className:"border-t border-border mx-6 md:mx-16"}),m.jsx("section",{className:"py-16 md:py-20 px-6",style:{background:"hsl(var(--background))"}
608,children:m.jsxs($.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:_u,className:"max-w-2xl mx-auto text-center",children:[m.jsx($.h2,{variants:Fn,className:"text-3xl font-bold mb-4",style:{whiteSpace:"pre-line",fontFamily:"var(--font-heading)",color:"hsl(var(--foreground))"},children:m.jsx(oe,{devId:"24ecb8",guard:{file:"src/pages/work-with-ben.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"work_with_ben.cta.heading",contentKeyTemplate:null,expressionHash:null},children:at.cta.heading})}),m.jsx($.p,{variants:Fn,className:"text-base leading-relaxed mb-8",style:{whiteSpace:"pre-line",color:"hsl(var(--muted-foreground))",fontFamily:"var(--font-sans)"},children:m.jsx(oe,{devId:"759bae",guard:{file:"src/pages/work-with-ben.tsx",tagName:"p",sourceKind:"content-key",contentKey:"work_with_ben.cta.description",contentKeyTemplate:null,expressionHash:null},children:at.cta.description})}),m.jsx($.div,{variants:Fn,children:m.jsx(hn,{to:"/contact",className:"inline-block px-8 py-3 rounded-lg font-semibold text-sm transition-opacity duration-200 hover:opacity-90",style:{background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontFamily:"var(--font-sans)"},children:at.cta.buttonText})})]})})]})]})}const pV=FU,gV=[{path:"/",element:m.jsx(sM,{})},{path:"/podcast",element:m.jsx(dM,{})},{path:"/books",element:m.jsx(hM,{})},{path:"/about",element:m.jsx(mM,{})},{path:"/contact",element:m.jsx(gM,{})},{path:"/writing-resources",element:m.jsx(yM,{})},{path:"/blog",element:m.jsx(xM,{}),loader:({request:e})=>{const t=new URL(e.url),n=t.searchParams.get("category"),r=t.searchParams.get("tag"),s=parseInt(t.searchParams.get("page")||"1",10);let l;n?l=m3(n):r?l=h3(r):l=vy();const{posts:u,pagination:d}=b3(l,s,9);return{posts:u,allPosts:l,pagination:d,categories:g3(),tags:p3(),categoryFilter:n,tagFilter:r}}},{path:"/blog/:slug",element:m.jsx(UU,{}),loader:({params:e})=>{const t=f3(e.slug||"");if(!t)throw new Response(null,{status:404});return{post:t}}},{path:"/free-audiobook-and-ebook",element:m.jsx(uV,{})},{path:"/work-with-ben",element:m.jsx(mV,{})},{path:"/privacy",element:m.jsxs(m.Fragment,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:"Privacy Policy — Ben Povlow"}),m.jsx("meta",{name:"description",content:"Read the privacy policy for BenPovlow.com, operated by The Self-Help Company, LLC. Learn how we collect, use, and protect your personal information."}),m.jsx("link",{rel:"canonical",href:"https://benpovlow.com/privacy"}),m.jsx("meta",{property:"og:title",content:"Privacy Policy — Ben Povlow"}),m.jsx("meta",{property:"og:description",content:"Read the privacy policy for BenPovlow.com, operated by The Self-Help Company, LLC. Learn how we collect, use, and protect your personal information."}),m.jsx("meta",{property:"og:url",content:"https://benpovlow.com/privacy"}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:image",content:"https://benpovlow.com/airo-assets/images/pages/home/og-image"}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:title",content:"Privacy Policy — Ben Povlow"}),m.jsx("meta",{name:"twitter:description",content:"Read the privacy policy for BenPovlow.com, operated by The Self-Help Company, LLC. Learn how we collect, use, and protect your personal information."}),m.jsx("meta",{name:"twitter:image",content:"https://benpovlow.com/airo-assets/images/pages/home/og-image"}),m.jsx("meta",{name:"robots",content:"noindex, follow"}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebPage","@id":"https://benpovlow.com/privacy#webpage",name:"Privacy Policy — Ben Povlow",url:"https://benpovlow.com/privacy",description:"Read the privacy policy for BenPovlow.com, operated by The Self-Help Company, LLC.",isPartOf:{"@id":"https://benpovlow.com/#website"},about:{"@id":"https://benpovlow.com/#organization"}}).replace(/</g,"\\u003c")})]}),m.jsx("h1",{className:"sr-only",children:"Privacy Policy — The Self-Help Company, LLC"}),m.jsx(aV,{})]})},{path:"/terms",element:m.jsxs(m.Fragment,{children:[m.jsxs(Kn,{children:[m.jsx("title",{children:"Terms of Use — Ben Povlow"}),m.jsx("meta",{name:"description",content:"Read the terms of use for BenPovlow.com, operated by The Self-Help Company, LLC. These terms govern your access to and use of our website and services."}),m.jsx("link",{rel:"canonical",href:"https://benpovlow.com/terms"}),m.jsx("meta",{property:"og:title",content:"Terms of Use — Ben Povlow"}),m.jsx("meta",{property:"og:description",content:"Read the terms of use for BenPovlow.com, operated by The Self-Help Company, LLC. These terms govern your access to and use of our website and services."}),m.jsx("meta",{property:"og:url",content:"https://benpovlow.com/terms"}),m.jsx("meta",{property:"og:type",content:"website"}),m.jsx("meta",{property:"og:image",content:"https://benpovlow.com/airo-assets/images/pages/home/og-image"}),m.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),m.jsx("meta",{name:"twitter:title",content:"Terms of Use — Ben Povlow"}),m.jsx("meta",{name:"twitter:description",content:"Read the terms of use for BenPovlow.com, operated by The Self-Help Company, LLC. These terms govern your access to and use of our website and services."}),m.jsx("meta",{name:"twitter:image",content:"https://benpovlow.com/airo-assets/images/pages/home/og-image"}),m.jsx("meta",{name:"robots",content:"noindex, follow"}),m.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebPage","@id":"https://benpovlow.com/terms#webpage",name:"Terms of Use — Ben Povlow",url:"https://benpovlow.com/terms",description:"Read the terms of use for BenPovlow.com, operated by The Self-Help Company, LLC.",isPartOf:{"@id":"https://benpovlow.com/#website"},about:{"@id":"https://benpovlow.com/#organization"}}).replace(/</g,"\\u003c")})]}),m.jsx("h1",{className:"sr-only",children:"Terms of Use — The Self-Help Company, LLC"}),m.jsx(lV,{})]})},{path:"*",element:m.jsx(pV,{})}],yV=D.lazy(()=>YC(()=>import("./CookieBanner-DBt1t_aA.js"),__vite__mapDeps([0,1,2,3])).catch(e=>(console.warn("Failed to load CookieBanner:",e),{default:()=>null}))),bV=()=>m.jsx("div",{className:"flex justify-center py-8 h-screen items-center",children:m.jsx(pD,{})}),xV=m.jsx(D.Suspense,{fallback:m.jsx(bV,{}),children:m.jsx(mD,{children:m.jsx(D4,{})})}),vV=[{element:xV,children:gV}],TV=sR(vV);function EV(){return m.jsxs(m.Fragment,{children:[m.jsx(TR,{router:TV}),m.jsx(ER,{children:m.jsx(D.Suspense,{fallback:null,children:m.jsx(yV,{})})})]})}const wV=new yC({defaultOptions:{queries:{staleTime:1e3*60*5,gcTime:1e3*60*10,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}}),bf=document.getElementById("app");if(!bf)throw new Error("Root element not found");const SV=m.jsx(HC,{children:m.jsx(bC,{client:wV,children:m.jsx(EV,{})})}),bw=m.jsx(D.StrictMode,{children:SV});bf.firstElementChild?Lv.hydrateRoot(bf,bw):Lv.createRoot(bf).render(bw);
608export{fD as a,LR 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.