vendor: 5,063 bytes, lines 1-9
1var Kp=e=>{throw TypeError(e)};var lc=(e,t,n)=>t.has(e)||Kp("Cannot "+n);var A=(e,t,n)=>(lc(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?Kp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(lc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Fe=(e,t,n)=>(lc(e,t,"access private method"),n);var Fs=(e,t,n,r)=>({set _(i){H(e,t,i,n)},get _(){return A(e,t,r)}});function eS(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Py(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ay={exports:{}},Sl={},Ry={exports:{}},Y={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var xs=Symbol.for("react.element"),tS=Symbol.for("react.portal"),nS=Symbol.for("react.fragment"),rS=Symbol.for("react.strict_mode"),iS=Symbol.for("react.profiler"),oS=Symbol.for("react.provider"),sS=Symbol.for("react.context"),aS=Symbol.for("react.forward_ref"),lS=Symbol.for("react.suspense"),cS=Symbol.for("react.memo"),uS=Symbol.for("react.lazy"),qp=Symbol.iterator;function dS(e){return e===null||typeof e!="object"?null:(e=qp&&e[qp]||e["@@iterator"],typeof e=="function"?e:null)}var My={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ny=Object.assign,jy={};function Xi(e,t,n){this.props=e,this.context=t,this.refs=jy,this.updater=n||My}Xi.prototype.isReactComponent={};Xi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Xi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Dy(){}Dy.prototype=Xi.prototype;function Bd(e,t,n){this.props=e,this.context=t,this.refs=jy,this.updater=n||My}var $d=Bd.prototype=new Dy;$d.constructor=Bd;Ny($d,Xi.prototype);$d.isPureReactComponent=!0;var Qp=Array.isArray,Ly=Object.prototype.hasOwnProperty,Ud={current:null},Oy={key:!0,ref:!0,__self:!0,__source:!0};function Iy(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Ly.call(t,r)&&!Oy.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:xs,type:e,key:o,ref:s,props:i,_owner:Ud.current}}function fS(e,t){return{$$typeof:xs,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Wd(e){return typeof e=="object"&&e!==null&&e.$$typeof===xs}function pS(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Yp=/\/+/g;function cc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?pS(""+e.key):t.toString(36)}function ha(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case xs:case tS:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+cc(s,0):r,Qp(i)?(n="",e!=null&&(n=e.replace(Yp,"$&/")+"/"),ha(i,t,n,"",function(c){return c})):i!=null&&(Wd(i)&&(i=fS(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Yp,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Qp(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+cc(o,a);s+=ha(o,t,n,l,i)}else if(l=dS(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+cc(o,a++),s+=ha(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}
vendor: 6,075 bytes, lines 9-25
9function _s(e,t,n){if(e==null)return e;var r=[],i=0;return ha(e,r,"","",function(o){return t.call(n,o,i++)}),r}function hS(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ye={current:null},ma={transition:null},mS={ReactCurrentDispatcher:Ye,ReactCurrentBatchConfig:ma,ReactCurrentOwner:Ud};function Fy(){throw Error("act(...) is not supported in production builds of React.")}Y.Children={map:_s,forEach:function(e,t,n){_s(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return _s(e,function(){t++}),t},toArray:function(e){return _s(e,function(t){return t})||[]},only:function(e){if(!Wd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Y.Component=Xi;Y.Fragment=nS;Y.Profiler=iS;Y.PureComponent=Bd;Y.StrictMode=rS;Y.Suspense=lS;Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mS;Y.act=Fy;Y.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Ny({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=Ud.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Ly.call(t,l)&&!Oy.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:xs,type:e.type,key:i,ref:o,props:r,_owner:s}};Y.createContext=function(e){return e={$$typeof:sS,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:oS,_context:e},e.Consumer=e};Y.createElement=Iy;Y.createFactory=function(e){var t=Iy.bind(null,e);return t.type=e,t};Y.createRef=function(){return{current:null}};Y.forwardRef=function(e){return{$$typeof:aS,render:e}};Y.isValidElement=Wd;Y.lazy=function(e){return{$$typeof:uS,_payload:{_status:-1,_result:e},_init:hS}};Y.memo=function(e,t){return{$$typeof:cS,type:e,compare:t===void 0?null:t}};Y.startTransition=function(e){var t=ma.transition;ma.transition={};try{e()}finally{ma.transition=t}};Y.unstable_act=Fy;Y.useCallback=function(e,t){return Ye.current.useCallback(e,t)};Y.useContext=function(e){return Ye.current.useContext(e)};Y.useDebugValue=function(){};Y.useDeferredValue=function(e){return Ye.current.useDeferredValue(e)};Y.useEffect=function(e,t){return Ye.current.useEffect(e,t)};Y.useId=function(){return Ye.current.useId()};Y.useImperativeHandle=function(e,t,n){return Ye.current.useImperativeHandle(e,t,n)};Y.useInsertionEffect=function(e,t){return Ye.current.useInsertionEffect(e,t)};Y.useLayoutEffect=function(e,t){return Ye.current.useLayoutEffect(e,t)};Y.useMemo=function(e,t){return Ye.current.useMemo(e,t)};Y.useReducer=function(e,t,n){return Ye.current.useReducer(e,t,n)};Y.useRef=function(e){return Ye.current.useRef(e)};Y.useState=function(e){return Ye.current.useState(e)};Y.useSyncExternalStore=function(e,t,n){return Ye.current.useSyncExternalStore(e,t,n)};Y.useTransition=function(){return Ye.current.useTransition()};Y.version="18.3.1";Ry.exports=Y;var v=Ry.exports;const D=Py(v),Hd=eS({__proto__:null,default:D},[v]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var gS=v,yS=Symbol.for("react.element"),vS=Symbol.for("react.fragment"),wS=Object.prototype.hasOwnProperty,xS=gS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,bS={key:!0,ref:!0,__self:!0,__source:!0};function _y(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)wS.call(t,r)&&!bS.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:yS,type:e,key:o,ref:s,props:i,_owner:xS.current}}Sl.Fragment=vS;Sl.jsx=_y;Sl.jsxs=_y;Ay.exports=Sl;var y=Ay.exports,Vy={exports:{}},ft={},zy={exports:{}},By={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(P,R){var O=P.length;P.push(R);e:for(;0<O;){var U=O-1>>>1,z=P[U];if(0<i(z,R))P[U]=R,P[O]=z,O=U;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var R=P[0],O=P.pop();if(O!==R){P[0]=O;e:for(var U=0,z=P.length,Q=z>>>1;U<Q;){var X=2*(U+1)-1,ke=P[X],Ie=X+1,ee=P[Ie];if(0>i(ke,O))Ie<z&&0>i(ee,ke)?(P[U]=ee,P[Ie]=O,U=Ie):(P[U]=ke,P[X]=O,U=X);else if(Ie<z&&0>i(ee,O))P[U]=ee,P[Ie]=O,U=Ie;else break e}}return R}function i(P,R){var O=P.sortIndex-R.sortIndex;return O!==0?O:P.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,d=null,f=3,p=!1,b=!1,h=!1,x=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(P){for(var R=n(c);R!==null;){if(R.callback===null)r(c);else if(R.startTime<=P)r(c),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(c)}}function S(P){if(h=!1,w(P),!b)if(n(l)!==null)b=!0,$(k);else{var R=n(c);R!==null&&_(S,R.startTime-P)}}function k(P,R){b=!1,h&&(h=!1,m(T),T=-1),p=!0;var O=f;try{for(w(R),d=n(l);d!==null&&(!(d.expirationTime>R)||P&&!V());){var U=d.callback;
vendor: 9,152 bytes, lines 25-34
25if(typeof U=="function"){d.callback=null,f=d.priorityLevel;var z=U(d.expirationTime<=R);R=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),w(R)}else r(l);d=n(l)}if(d!==null)var Q=!0;else{var X=n(c);X!==null&&_(S,X.startTime-R),Q=!1}return Q}finally{d=null,f=O,p=!1}}var C=!1,E=null,T=-1,M=5,N=-1;function V(){return!(e.unstable_now()-N<M)}function I(){if(E!==null){var P=e.unstable_now();N=P;var R=!0;try{R=E(!0,P)}finally{R?K():(C=!1,E=null)}}else C=!1}var K;if(typeof g=="function")K=function(){g(I)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,q=L.port2;L.port1.onmessage=I,K=function(){q.postMessage(null)}}else K=function(){x(I,0)};function $(P){E=P,C||(C=!0,K())}function _(P,R){T=x(function(){P(e.unstable_now())},R)}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(P){P.callback=null},e.unstable_continueExecution=function(){b||p||(b=!0,$(k))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(P){switch(f){case 1:case 2:case 3:var R=3;break;default:R=f}var O=f;f=R;try{return P()}finally{f=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,R){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var O=f;f=P;try{return R()}finally{f=O}},e.unstable_scheduleCallback=function(P,R,O){var U=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?U+O:U):O=U,P){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=O+z,P={id:u++,callback:R,priorityLevel:P,startTime:O,expirationTime:z,sortIndex:-1},O>U?(P.sortIndex=O,t(c,P),n(l)===null&&P===n(c)&&(h?(m(T),T=-1):h=!0,_(S,O-U))):(P.sortIndex=z,t(l,P),b||p||(b=!0,$(k))),P},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(P){var R=f;return function(){var O=f;f=R;try{return P.apply(this,arguments)}finally{f=O}}}})(By);zy.exports=By;var SS=zy.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var kS=v,dt=SS;function j(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var $y=new Set,Uo={};function Wr(e,t){Bi(e,t),Bi(e+"Capture",t)}function Bi(e,t){for(Uo[e]=t,e=0;e<t.length;e++)$y.add(t[e])}var mn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),du=Object.prototype.hasOwnProperty,CS=/^[: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]*$/,Xp={},Zp={};function ES(e){return du.call(Zp,e)?!0:du.call(Xp,e)?!1:CS.test(e)?Zp[e]=!0:(Xp[e]=!0,!1)}function TS(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function PS(e,t,n,r){if(t===null||typeof t>"u"||TS(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Xe(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Oe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Oe[e]=new Xe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Oe[t]=new Xe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Oe[e]=new Xe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Oe[e]=new Xe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Oe[e]=new Xe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Oe[e]=new Xe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Oe[e]=new Xe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Oe[e]=new Xe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Oe[e]=new Xe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Gd=/[\-:]([a-z])/g;function Kd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Gd,Kd);Oe[t]=new Xe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Gd,Kd);Oe[t]=new Xe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Gd,Kd);Oe[t]=new Xe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Oe[e]=new Xe(e,1,!1,e.toLowerCase(),null,!1,!1)});Oe.xlinkHref=new Xe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Oe[e]=new Xe(e,1,!1,e.toLowerCase(),null,!0,!0)});function qd(e,t,n,r){var i=Oe.hasOwnProperty(t)?Oe[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(PS(t,n,i,r)&&(n=null),r||i===null?ES(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var En=kS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Vs=Symbol.for("react.element"),ri=Symbol.for("react.portal"),ii=Symbol.for("react.fragment"),Qd=Symbol.for("react.strict_mode"),fu=Symbol.for("react.profiler"),Uy=Symbol.for("react.provider"),Wy=Symbol.for("react.context"),Yd=Symbol.for("react.forward_ref"),pu=Symbol.for("react.suspense"),hu=Symbol.for("react.suspense_list"),Xd=Symbol.for("react.memo"),_n=Symbol.for("react.lazy"),Hy=Symbol.for("react.offscreen"),Jp=Symbol.iterator;function uo(e){return e===null||typeof e!="object"?null:(e=Jp&&e[Jp]||e["@@iterator"],typeof e=="function"?e:null)}var me=Object.assign,uc;function So(e){if(uc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);uc=t&&t[1]||""}return` 34`+uc+e}var dc=!1;function fc(e,t){if(!e||dc)return"";dc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}
vendor: 16,752 bytes, lines 34-37
34catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(` 35`),o=r.stack.split(` 36`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=` 37`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{dc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?So(e):""}function AS(e){switch(e.tag){case 5:return So(e.type);case 16:return So("Lazy");case 13:return So("Suspense");case 19:return So("SuspenseList");case 0:case 2:case 15:return e=fc(e.type,!1),e;case 11:return e=fc(e.type.render,!1),e;case 1:return e=fc(e.type,!0),e;default:return""}}function mu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ii:return"Fragment";case ri:return"Portal";case fu:return"Profiler";case Qd:return"StrictMode";case pu:return"Suspense";case hu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Wy:return(e.displayName||"Context")+".Consumer";case Uy:return(e._context.displayName||"Context")+".Provider";case Yd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xd:return t=e.displayName||null,t!==null?t:mu(e.type)||"Memo";case _n:t=e._payload,e=e._init;try{return mu(e(t))}catch{}}return null}function RS(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return mu(t);case 8:return t===Qd?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function or(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function MS(e){var t=Gy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zs(e){e._valueTracker||(e._valueTracker=MS(e))}function Ky(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Gy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ia(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function gu(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function eh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=or(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function qy(e,t){t=t.checked,t!=null&&qd(e,"checked",t,!1)}function yu(e,t){qy(e,t);var n=or(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?vu(e,t.type,n):t.hasOwnProperty("defaultValue")&&vu(e,t.type,or(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function th(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function vu(e,t,n){(t!=="number"||Ia(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ko=Array.isArray;function bi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+or(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function wu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return me({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(ko(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:or(n)}}function Qy(e,t){var n=or(t.value),r=or(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function rh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Yy(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function xu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Yy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Bs,Xy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Bs=Bs||document.createElement("div"),Bs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Bs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Po={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},NS=["Webkit","ms","Moz","O"];Object.keys(Po).forEach(function(e){NS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Po[t]=Po[e]})});function Zy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Po.hasOwnProperty(e)&&Po[e]?(""+t).trim():t+"px"}function Jy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Zy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var jS=me({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function bu(e,t){if(t){if(jS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Su(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 ku=null;function Zd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Cu=null,Si=null,ki=null;function ih(e){if(e=ks(e)){if(typeof Cu!="function")throw Error(j(280));var t=e.stateNode;t&&(t=Pl(t),Cu(e.stateNode,e.type,t))}}function ev(e){Si?ki?ki.push(e):ki=[e]:Si=e}function tv(){if(Si){var e=Si,t=ki;if(ki=Si=null,ih(e),t)for(e=0;e<t.length;e++)ih(t[e])}}function nv(e,t){return e(t)}function rv(){}var pc=!1;function iv(e,t,n){if(pc)return e(t,n);pc=!0;try{return nv(e,t,n)}finally{pc=!1,(Si!==null||ki!==null)&&(rv(),tv())}}function Ho(e,t){var n=e.stateNode;if(n===null)return null;var r=Pl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(j(231,t,typeof n));return n}var Eu=!1;if(mn)try{var fo={};Object.defineProperty(fo,"passive",{get:function(){Eu=!0}}),window.addEventListener("test",fo,fo),window.removeEventListener("test",fo,fo)}catch{Eu=!1}function DS(e,t,n,r,i,o,s,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Ao=!1,Fa=null,_a=!1,Tu=null,LS={onError:function(e){Ao=!0,Fa=e}};function OS(e,t,n,r,i,o,s,a,l){Ao=!1,Fa=null,DS.apply(LS,arguments)}function IS(e,t,n,r,i,o,s,a,l){if(OS.apply(this,arguments),Ao){if(Ao){var c=Fa;Ao=!1,Fa=null}else throw Error(j(198));_a||(_a=!0,Tu=c)}}function Hr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ov(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function oh(e){if(Hr(e)!==e)throw Error(j(188))}function FS(e){var t=e.alternate;if(!t){if(t=Hr(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return oh(i),e;if(o===r)return oh(i),t;o=o.sibling}throw Error(j(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function sv(e){return e=FS(e),e!==null?av(e):null}function av(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=av(e);if(t!==null)return t;e=e.sibling}return null}var lv=dt.unstable_scheduleCallback,sh=dt.unstable_cancelCallback,_S=dt.unstable_shouldYield,VS=dt.unstable_requestPaint,Se=dt.unstable_now,zS=dt.unstable_getCurrentPriorityLevel,Jd=dt.unstable_ImmediatePriority,cv=dt.unstable_UserBlockingPriority,Va=dt.unstable_NormalPriority,BS=dt.unstable_LowPriority,uv=dt.unstable_IdlePriority,kl=null,Xt=null;function $S(e){if(Xt&&typeof Xt.onCommitFiberRoot=="function")try{Xt.onCommitFiberRoot(kl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ft=Math.clz32?Math.clz32:HS,US=Math.log,WS=Math.LN2;function HS(e){return e>>>=0,e===0?32:31-(US(e)/WS|0)|0}var $s=64,Us=4194304;function Co(e){switch(e&-e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function za(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Co(a):(o&=s,o!==0&&(r=Co(o)))}else s=n&~i,s!==0?r=Co(s):o!==0&&(r=Co(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ft(t),i=1<<n,r|=e[n],t&=~i;return r}function GS(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function KS(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-Ft(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=GS(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function Pu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function dv(){var e=$s;return $s<<=1,!($s&4194240)&&($s=64),e}function hc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ft(t),e[t]=n}function qS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Ft(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function ef(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ft(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var te=0;function fv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var pv,tf,hv,mv,gv,Au=!1,Ws=[],Yn=null,Xn=null,Zn=null,Go=new Map,Ko=new Map,zn=[],QS="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 submit".split(" ");function ah(e,t){switch(e){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Xn=null;break;case"mouseover":case"mouseout":Zn=null;break;case"pointerover":case"pointerout":Go.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ko.delete(t.pointerId)}}function po(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=ks(t),t!==null&&tf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function YS(e,t,n,r,i){switch(t){case"focusin":return Yn=po(Yn,e,t,n,r,i),!0;case"dragenter":return Xn=po(Xn,e,t,n,r,i),!0;case"mouseover":return Zn=po(Zn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Go.set(o,po(Go.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ko.set(o,po(Ko.get(o)||null,e,t,n,r,i)),!0}return!1}function yv(e){var t=br(e.target);if(t!==null){var n=Hr(t);if(n!==null){if(t=n.tag,t===13){if(t=ov(n),t!==null){e.blockedOn=t,gv(e.priority,function(){hv(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ga(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ru(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ku=r,n.target.dispatchEvent(r),ku=null}else return t=ks(n),t!==null&&tf(t),e.blockedOn=n,!1;t.shift()}return!0}function lh(e,t,n){ga(e)&&n.delete(t)}function XS(){Au=!1,Yn!==null&&ga(Yn)&&(Yn=null),Xn!==null&&ga(Xn)&&(Xn=null),Zn!==null&&ga(Zn)&&(Zn=null),Go.forEach(lh),Ko.forEac
vendor: 9,276 bytes, line 37
37h(lh)}function ho(e,t){e.blockedOn===t&&(e.blockedOn=null,Au||(Au=!0,dt.unstable_scheduleCallback(dt.unstable_NormalPriority,XS)))}function qo(e){function t(i){return ho(i,e)}if(0<Ws.length){ho(Ws[0],e);for(var n=1;n<Ws.length;n++){var r=Ws[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Yn!==null&&ho(Yn,e),Xn!==null&&ho(Xn,e),Zn!==null&&ho(Zn,e),Go.forEach(t),Ko.forEach(t),n=0;n<zn.length;n++)r=zn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<zn.length&&(n=zn[0],n.blockedOn===null);)yv(n),n.blockedOn===null&&zn.shift()}var Ci=En.ReactCurrentBatchConfig,Ba=!0;function ZS(e,t,n,r){var i=te,o=Ci.transition;Ci.transition=null;try{te=1,nf(e,t,n,r)}finally{te=i,Ci.transition=o}}function JS(e,t,n,r){var i=te,o=Ci.transition;Ci.transition=null;try{te=4,nf(e,t,n,r)}finally{te=i,Ci.transition=o}}function nf(e,t,n,r){if(Ba){var i=Ru(e,t,n,r);if(i===null)Cc(e,t,r,$a,n),ah(e,r);else if(YS(i,e,t,n,r))r.stopPropagation();else if(ah(e,r),t&4&&-1<QS.indexOf(e)){for(;i!==null;){var o=ks(i);if(o!==null&&pv(o),o=Ru(e,t,n,r),o===null&&Cc(e,t,r,$a,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Cc(e,t,r,null,n)}}var $a=null;function Ru(e,t,n,r){if($a=null,e=Zd(r),e=br(e),e!==null)if(t=Hr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ov(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $a=e,null}function vv(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(zS()){case Jd:return 1;case cv:return 4;case Va:case BS:return 16;case uv:return 536870912;default:return 16}default:return 16}}var Kn=null,rf=null,ya=null;function wv(){if(ya)return ya;var e,t=rf,n=t.length,r,i="value"in Kn?Kn.value:Kn.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return ya=i.slice(e,1<r?1-r:void 0)}function va(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Hs(){return!0}function ch(){return!1}function pt(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Hs:ch,this.isPropagationStopped=ch,this}return me(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Hs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Hs)},persist:function(){},isPersistent:Hs}),t}var Zi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},of=pt(Zi),Ss=me({},Zi,{view:0,detail:0}),ek=pt(Ss),mc,gc,mo,Cl=me({},Ss,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==mo&&(mo&&e.type==="mousemove"?(mc=e.screenX-mo.screenX,gc=e.screenY-mo.screenY):gc=mc=0,mo=e),mc)},movementY:function(e){return"movementY"in e?e.movementY:gc}}),uh=pt(Cl),tk=me({},Cl,{dataTransfer:0}),nk=pt(tk),rk=me({},Ss,{relatedTarget:0}),yc=pt(rk),ik=me({},Zi,{animationName:0,elapsedTime:0,pseudoElement:0}),ok=pt(ik),sk=me({},Zi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ak=pt(sk),lk=me({},Zi,{data:0}),dh=pt(lk),ck={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uk={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"},dk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fk(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=dk[e])?!!t[e]:!1}function sf(){return fk}var pk=me({},Ss,{key:function(e){if(e.key){var t=ck[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=va(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?uk[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sf,charCode:function(e){return e.type==="keypress"?va(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?va(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),hk=pt(pk),mk=me({},Cl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fh=pt(mk),gk=me({},Ss,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sf}),yk=pt(gk),vk=me({},Zi,{propertyName:0,elapsedTime:0,pseudoElement:0}),wk=pt(vk),xk=me({},Cl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),bk=pt(xk),Sk=[9,13,27,32],af=mn&&"CompositionEvent"in window,Ro=null;mn&&"documentMode"in document&&(Ro=document.documentMode);var kk=mn&&"TextEvent"in window&&!Ro,xv=mn&&(!af||Ro&&8<Ro&&11>=Ro),ph=" ",hh=!1;function bv(e,t){switch(e){case"keyup":return Sk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var oi=!1;function Ck(e,t){switch(e){case"compositionend":return Sv(t);case"keypress":return t.which!==32?null:(hh=!0,ph);case"textInput":return e=t.data,e===ph&&hh?null:e;default:return null}}function Ek(e,t){if(oi)return e==="compositionend"||!af&&bv(e,t)?(e=wv(),ya=rf=Kn=null,oi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return xv&&t.locale!=="ko"?null:t.data;default:return null}}var Tk={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 mh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Tk[e.type]:t==="textarea"}function kv(e,t,n,r){ev(r),t=Ua(t,"onChange"),0<t.length&&(n=new of("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Mo=null,Qo=null;function Pk(e){Lv(e,0)}function El(e){var t=li(e);if(Ky(t))return e}function Ak(e,t){if(e==="change")return t}var Cv=!1;if(mn){var vc;if(mn){var wc="oninput"in document;if(!wc){var gh=document.createElement("div");gh.setAttribute("oninput","return;"),wc=typeof gh.oninput=="function"}vc=wc}else vc=!1;Cv=vc&&(!document.documentMode||9<document.documentMode)}function yh(){Mo&&(Mo.detachEvent("onpropertychange",Ev),Qo=Mo=null)}function Ev(e){if(e.propertyName==="value"&&El(Qo)){var t=[];kv(t,Qo,e,Zd(e)),iv(Pk,t)}}function Rk(e,t,n){e==="focusin"?(yh(),Mo=t,Qo=n,Mo.attachEvent("onpropertychange",Ev)):e==="focusout"&&yh()}function Mk(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return El(Qo)}function Nk(e,t){if(e==="click")return El(t)}function jk(e,t){if(e==="input"||e==="change")return El(t)}function Dk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Vt=typeof Object.is=="function"?Object.is:Dk;function Yo(e,t){if(Vt(e,t))return!0;
vendor: 4,808 bytes, line 37
37if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!du.call(t,i)||!Vt(e[i],t[i]))return!1}return!0}function vh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function wh(e,t){var n=vh(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=vh(n)}}function Tv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Tv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Pv(){for(var e=window,t=Ia();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ia(e.document)}return t}function lf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Lk(e){var t=Pv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Tv(n.ownerDocument.documentElement,n)){if(r!==null&&lf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=wh(n,o);var s=wh(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Ok=mn&&"documentMode"in document&&11>=document.documentMode,si=null,Mu=null,No=null,Nu=!1;function xh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Nu||si==null||si!==Ia(r)||(r=si,"selectionStart"in r&&lf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),No&&Yo(No,r)||(No=r,r=Ua(Mu,"onSelect"),0<r.length&&(t=new of("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=si)))}function Gs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ai={animationend:Gs("Animation","AnimationEnd"),animationiteration:Gs("Animation","AnimationIteration"),animationstart:Gs("Animation","AnimationStart"),transitionend:Gs("Transition","TransitionEnd")},xc={},Av={};mn&&(Av=document.createElement("div").style,"AnimationEvent"in window||(delete ai.animationend.animation,delete ai.animationiteration.animation,delete ai.animationstart.animation),"TransitionEvent"in window||delete ai.transitionend.transition);function Tl(e){if(xc[e])return xc[e];if(!ai[e])return e;var t=ai[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Av)return xc[e]=t[n];return e}var Rv=Tl("animationend"),Mv=Tl("animationiteration"),Nv=Tl("animationstart"),jv=Tl("transitionend"),Dv=new Map,bh="abort auxClick 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(" ");function ur(e,t){Dv.set(e,t),Wr(t,[e])}for(var bc=0;bc<bh.length;bc++){var Sc=bh[bc],Ik=Sc.toLowerCase(),Fk=Sc[0].toUpperCase()+Sc.slice(1);ur(Ik,"on"+Fk)}ur(Rv,"onAnimationEnd");ur(Mv,"onAnimationIteration");ur(Nv,"onAnimationStart");ur("dblclick","onDoubleClick");ur("focusin","onFocus");ur("focusout","onBlur");ur(jv,"onTransitionEnd");Bi("onMouseEnter",["mouseout","mouseover"]);Bi("onMouseLeave",["mouseout","mouseover"]);Bi("onPointerEnter",["pointerout","pointerover"]);Bi("onPointerLeave",["pointerout","pointerover"]);Wr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 4,770 bytes, line 37
37Wr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Wr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Wr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Wr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Wr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Eo="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(" "),_k=new Set("cancel close invalid load scroll toggle".split(" ").concat(Eo));function Sh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,IS(r,t,void 0,e),e.currentTarget=null}function Lv(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;Sh(i,a,c),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,c=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;Sh(i,a,c),o=l}}}if(_a)throw e=Tu,_a=!1,Tu=null,e}function se(e,t){var n=t[Iu];n===void 0&&(n=t[Iu]=new Set);var r=e+"__bubble";n.has(r)||(Ov(t,e,2,!1),n.add(r))}function kc(e,t,n){var r=0;t&&(r|=4),Ov(n,e,r,t)}var Ks="_reactListening"+Math.random().toString(36).slice(2);function Xo(e){if(!e[Ks]){e[Ks]=!0,$y.forEach(function(n){n!=="selectionchange"&&(_k.has(n)||kc(n,!1,e),kc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ks]||(t[Ks]=!0,kc("selectionchange",!1,t))}}function Ov(e,t,n,r){switch(vv(t)){case 1:var i=ZS;break;case 4:i=JS;break;default:i=nf}n=i.bind(null,t,n,e),i=void 0,!Eu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Cc(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=br(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}iv(function(){var c=o,u=Zd(n),d=[];e:{var f=Dv.get(e);if(f!==void 0){var p=of,b=e;switch(e){case"keypress":if(va(n)===0)break e;case"keydown":case"keyup":p=hk;break;case"focusin":b="focus",p=yc;break;case"focusout":b="blur",p=yc;break;case"beforeblur":case"afterblur":p=yc;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=uh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=nk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=yk;break;case Rv:case Mv:case Nv:p=ok;break;case jv:p=wk;break;case"scroll":p=ek;break;case"wheel":p=bk;break;case"copy":case"cut":case"paste":p=ak;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=fh}var h=(t&4)!==0,x=!h&&e==="scroll",m=h?f!==null?f+"Capture":null:f;h=[];for(var g=c,w;g!==null;){w=g;var S=w.stateNode;if(w.tag===5&&S!==null&&(w=S,m!==null&&(S=Ho(g,m),S!=null&&h.push(Zo(g,S,w)))),x)break;g=g.return}0<h.length&&(f=new p(f,b,null,n,u),d.push({event:f,listeners:h}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==ku&&(b=n.relatedTarget||n.fromElement)&&(br(b)||b[gn]))break e;if((p||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,p?(b=n.relatedTarget||n.toElement,p=c,b=b?br(b):null,b!==null&&(x=Hr(b),b!==x||b.tag!==5&&b.tag!==6)&&(b=null)):(p=null,b=c),p!==b)){if(h=uh,S="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(h=fh,S="onPointerLeave",m="onPointerEnter",g="pointer"),x=p==null?f:li(p),w=b==null?f:li(b),f=new h(S,g+"leave",p,n,u),f.target=x,f.relatedTarget=w,S=null,br(u)===c&&(h=new h(m,g+"enter",b,n,u),h.target=w,h.relatedTarget=x,S=h),x=S,p&&b)t:{for(h=p,m=b,g=0,w=h;w;w=Jr(w))g++;for(w=0,S=m;S;S=Jr(S))w++;for(;0<g-w;)h=Jr(h),g--;for(;0<w-g;)m=Jr(m),w--;for(;g--;){if(h===m||m!==null&&h===m.alternate)break t;h=Jr(h),m=Jr(m)}h=null}else h=null;p!==null&&kh(d,f,p,h,!1),b!==null&&x!==null&&kh(d,x,b,h,!0)}}
vendor: 4,435 bytes, lines 37-38
37e:{if(f=c?li(c):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var k=Ak;else if(mh(f))if(Cv)k=jk;else{k=Mk;var C=Rk}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(k=Nk);if(k&&(k=k(e,c))){kv(d,k,n,u);break e}C&&C(e,f,c),e==="focusout"&&(C=f._wrapperState)&&C.controlled&&f.type==="number"&&vu(f,"number",f.value)}switch(C=c?li(c):window,e){case"focusin":(mh(C)||C.contentEditable==="true")&&(si=C,Mu=c,No=null);break;case"focusout":No=Mu=si=null;break;case"mousedown":Nu=!0;break;case"contextmenu":case"mouseup":case"dragend":Nu=!1,xh(d,n,u);break;case"selectionchange":if(Ok)break;case"keydown":case"keyup":xh(d,n,u)}var E;if(af)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else oi?bv(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(xv&&n.locale!=="ko"&&(oi||T!=="onCompositionStart"?T==="onCompositionEnd"&&oi&&(E=wv()):(Kn=u,rf="value"in Kn?Kn.value:Kn.textContent,oi=!0)),C=Ua(c,T),0<C.length&&(T=new dh(T,e,null,n,u),d.push({event:T,listeners:C}),E?T.data=E:(E=Sv(n),E!==null&&(T.data=E)))),(E=kk?Ck(e,n):Ek(e,n))&&(c=Ua(c,"onBeforeInput"),0<c.length&&(u=new dh("onBeforeInput","beforeinput",null,n,u),d.push({event:u,listeners:c}),u.data=E))}Lv(d,t)})}function Zo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ua(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Ho(e,n),o!=null&&r.unshift(Zo(e,o,i)),o=Ho(e,t),o!=null&&r.push(Zo(e,o,i))),e=e.return}return r}function Jr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function kh(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,i?(l=Ho(n,o),l!=null&&s.unshift(Zo(n,l,a))):i||(l=Ho(n,o),l!=null&&s.push(Zo(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Vk=/\r\n?/g,zk=/\u0000|\uFFFD/g;function Ch(e){return(typeof e=="string"?e:""+e).replace(Vk,` 38`).replace(zk,"")}function qs(e,t,n){if(t=Ch(t),Ch(e)!==t&&n)throw Error(j(425))}function Wa(){}var ju=null,Du=null;function Lu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ou=typeof setTimeout=="function"?setTimeout:void 0,Bk=typeof clearTimeout=="function"?clearTimeout:void 0,Eh=typeof Promise=="function"?Promise:void 0,$k=typeof queueMicrotask=="function"?queueMicrotask:typeof Eh<"u"?function(e){return Eh.resolve(null).then(e).catch(Uk)}:Ou;function Uk(e){setTimeout(function(){throw e})}function Ec(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),qo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);qo(t)}function Jn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Th(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ji=Math.random().toString(36).slice(2),qt="__reactFiber$"+Ji,Jo="__reactProps$"+Ji,gn="__reactContainer$"+Ji,Iu="__reactEvents$"+Ji,Wk="__reactListeners$"+Ji,Hk="__reactHandles$"+Ji;function br(e){var t=e[qt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[gn]||n[qt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Th(e);e!==null;){if(n=e[qt])return n;e=Th(e)}return t}e=n,n=e.parentNode}return null}function ks(e){return e=e[qt]||e[gn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function li(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function Pl(e){return e[Jo]||null}var Fu=[],ci=-1;function dr(e){return{current:e}}function ae(e){0>ci||(e.current=Fu[ci],Fu[ci]=null,ci--)}function re(e,t){ci++,Fu[ci]=e.current,e.current=t}var sr={},$e=dr(sr),nt=dr(!1),Ir=sr;function $i(e,t){var n=e.type.contextTypes;if(!n)return sr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;
vendor: 14,750 bytes, line 38
38for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function rt(e){return e=e.childContextTypes,e!=null}function Ha(){ae(nt),ae($e)}function Ph(e,t,n){if($e.current!==sr)throw Error(j(168));re($e,t),re(nt,n)}function Iv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(j(108,RS(e)||"Unknown",i));return me({},n,r)}function Ga(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sr,Ir=$e.current,re($e,e),re(nt,nt.current),!0}function Ah(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=Iv(e,t,Ir),r.__reactInternalMemoizedMergedChildContext=e,ae(nt),ae($e),re($e,e)):ae(nt),re(nt,n)}var un=null,Al=!1,Tc=!1;function Fv(e){un===null?un=[e]:un.push(e)}function Gk(e){Al=!0,Fv(e)}function fr(){if(!Tc&&un!==null){Tc=!0;var e=0,t=te;try{var n=un;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}un=null,Al=!1}catch(i){throw un!==null&&(un=un.slice(e+1)),lv(Jd,fr),i}finally{te=t,Tc=!1}}return null}var ui=[],di=0,Ka=null,qa=0,vt=[],wt=0,Fr=null,fn=1,pn="";function vr(e,t){ui[di++]=qa,ui[di++]=Ka,Ka=e,qa=t}function _v(e,t,n){vt[wt++]=fn,vt[wt++]=pn,vt[wt++]=Fr,Fr=e;var r=fn;e=pn;var i=32-Ft(r)-1;r&=~(1<<i),n+=1;var o=32-Ft(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,fn=1<<32-Ft(t)+i|n<<i|r,pn=o+e}else fn=1<<o|n<<i|r,pn=e}function cf(e){e.return!==null&&(vr(e,1),_v(e,1,0))}function uf(e){for(;e===Ka;)Ka=ui[--di],ui[di]=null,qa=ui[--di],ui[di]=null;for(;e===Fr;)Fr=vt[--wt],vt[wt]=null,pn=vt[--wt],vt[wt]=null,fn=vt[--wt],vt[wt]=null}var ct=null,lt=null,ce=!1,It=null;function Vv(e,t){var n=xt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Rh(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ct=e,lt=Jn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ct=e,lt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Fr!==null?{id:fn,overflow:pn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=xt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ct=e,lt=null,!0):!1;default:return!1}}function _u(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Vu(e){if(ce){var t=lt;if(t){var n=t;if(!Rh(e,t)){if(_u(e))throw Error(j(418));t=Jn(n.nextSibling);var r=ct;t&&Rh(e,t)?Vv(r,n):(e.flags=e.flags&-4097|2,ce=!1,ct=e)}}else{if(_u(e))throw Error(j(418));e.flags=e.flags&-4097|2,ce=!1,ct=e}}}function Mh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ct=e}function Qs(e){if(e!==ct)return!1;if(!ce)return Mh(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Lu(e.type,e.memoizedProps)),t&&(t=lt)){if(_u(e))throw zv(),Error(j(418));for(;t;)Vv(e,t),t=Jn(t.nextSibling)}if(Mh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){lt=Jn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}lt=null}}else lt=ct?Jn(e.stateNode.nextSibling):null;return!0}function zv(){for(var e=lt;e;)e=Jn(e.nextSibling)}function Ui(){lt=ct=null,ce=!1}function df(e){It===null?It=[e]:It.push(e)}var Kk=En.ReactCurrentBatchConfig;function go(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(j(309));var r=n.stateNode}if(!r)throw Error(j(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function Ys(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Nh(e){var t=e._init;return t(e._payload)}function Bv(e){function t(m,g){if(e){var w=m.deletions;w===null?(m.deletions=[g],m.flags|=16):w.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function i(m,g){return m=rr(m,g),m.index=0,m.sibling=null,m}function o(m,g,w){return m.index=w,e?(w=m.alternate,w!==null?(w=w.index,w<g?(m.flags|=2,g):w):(m.flags|=2,g)):(m.flags|=1048576,g)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,g,w,S){return g===null||g.tag!==6?(g=Dc(w,m.mode,S),g.return=m,g):(g=i(g,w),g.return=m,g)}function l(m,g,w,S){var k=w.type;return k===ii?u(m,g,w.props.children,S,w.key):g!==null&&(g.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===_n&&Nh(k)===g.type)?(S=i(g,w.props),S.ref=go(m,g,w),S.return=m,S):(S=Ea(w.type,w.key,w.props,null,m.mode,S),S.ref=go(m,g,w),S.return=m,S)}function c(m,g,w,S){return g===null||g.tag!==4||g.stateNode.containerInfo!==w.containerInfo||g.stateNode.implementation!==w.implementation?(g=Lc(w,m.mode,S),g.return=m,g):(g=i(g,w.children||[]),g.return=m,g)}function u(m,g,w,S,k){return g===null||g.tag!==7?(g=Dr(w,m.mode,S,k),g.return=m,g):(g=i(g,w),g.return=m,g)}function d(m,g,w){if(typeof g=="string"&&g!==""||typeof g=="number")return g=Dc(""+g,m.mode,w),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Vs:return w=Ea(g.type,g.key,g.props,null,m.mode,w),w.ref=go(m,null,g),w.return=m,w;case ri:return g=Lc(g,m.mode,w),g.return=m,g;case _n:var S=g._init;return d(m,S(g._payload),w)}if(ko(g)||uo(g))return g=Dr(g,m.mode,w,null),g.return=m,g;Ys(m,g)}return null}function f(m,g,w,S){var k=g!==null?g.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return k!==null?null:a(m,g,""+w,S);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Vs:return w.key===k?l(m,g,w,S):null;case ri:return w.key===k?c(m,g,w,S):null;case _n:return k=w._init,f(m,g,k(w._payload),S)}if(ko(w)||uo(w))return k!==null?null:u(m,g,w,S,null);Ys(m,w)}return null}function p(m,g,w,S,k){if(typeof S=="string"&&S!==""||typeof S=="number")return m=m.get(w)||null,a(g,m,""+S,k);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Vs:return m=m.get(S.key===null?w:S.key)||null,l(g,m,S,k);case ri:return m=m.get(S.key===null?w:S.key)||null,c(g,m,S,k);case _n:var C=S._init;return p(m,g,w,C(S._payload),k)}if(ko(S)||uo(S))return m=m.get(w)||null,u(g,m,S,k,null);Ys(g,S)}return null}function b(m,g,w,S){for(var k=null,C=null,E=g,T=g=0,M=null;E!==null&&T<w.length;T++){E.index>T?(M=E,E=null):M=E.sibling;var N=f(m,E,w[T],S);if(N===null){E===null&&(E=M);break}e&&E&&N.alternate===null&&t(m,E),g=o(N,g,T),C===null?k=N:C.sibling=N,C=N,E=M}if(T===w.length)return n(m,E),ce&&vr(m,T),k;if(E===null){for(;T<w.length;T++)E=d(m,w[T],S),E!==null&&(g=o(E,g,T),C===null?k=E:C.sibling=E,C=E);return ce&&vr(m,T),k}for(E=r(m,E);T<w.length;T++)M=p(E,m,T,w[T],S),M!==null&&(e&&M.alternate!==null&&E.delete(M.key===null?T:M.key),g=o(M,g,T),C===null?k=M:C.sibling=M,C=M);return e&&E.forEach(function(V){return t(m,V)}),ce&&vr(m,T),k}function h(m,g,w,S){var k=uo(w);if(typeof k!="function")throw Error(j(150));if(w=k.call(w),w==null)throw Error(j(151));for(var C=k=null,E=g,T=g=0,M=null,N=w.next();E!==null&&!N.done;T++,N=w.next()){E.index>T?(M=E,E=null):M=E.sibling;var V=f(m,E,N.value,S);if(V===null){E===null&&(E=M);break}e&&E&&V.alternate===null&&t(m,E),g=o(V,g,T),C===null?k=V:C.sibling=V,C=V,E=M}if(N.done)return n(m,E),ce&&vr(m,T),k;if(E===null){for(;!N.done;T++,N=w.next())N=d(m,N.value,S),N!==null&&(g=o(N,g,T),C===null?k=N:C.sibling=N,C=N);return ce&&vr(m,T),k}for(E=r(m,E);!N.done;T++,N=w.next())N=p(E,m,T,N.value,S),N!==null&&(e&&N.alternate!==null&&E.delete(N.key===null?T:N.key),g=o(N,g,T),C===null?k=N:C.sibling=N,C=N);return e&&E.forEach(function(I){return t(m,I)}),ce&&vr(m,T),k}function x(m,g,w,S){if(typeof w=="object"&&w!==null&&w.type===ii&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Vs:e:{for(var k=w.key,C=g;C!==null;){if(C.key===k){if(k=w.type,k===ii){if(C.tag===7){n(m,C.sibling),g=i(C,w.props.children),g.return=m,m=g;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===_n&&Nh(k)===C.type){n(m,C.sibling),g=i(C,w.props),g.ref=go(m,C,w),g.return=m,m=g;break e}n(m,C);break}else t(m,C);C=C.sibling}w.type===ii?(g=Dr(w.props.children,m.mode,S,w.key),g.return=m,m=g):(S=Ea(w.type,w.key,w.props,null,m.mode,S),S.ref=go(m,g,w),S.return=m,m=S)}return s(m);case ri:e:{for(C=w.key;g!==null;){if(g.key===C)if(g.tag===4&&g.stateNode.containerInfo===w.containerInfo&&g.stateNode.implementation===w.implementation){n(m,g.sibling),g=i(g,w.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=Lc(w,m.mode,S),g.return=m,m=g}return s(m);case _n:return C=w._init,x(m,g,C(w._payload),S)}if(ko(w))return b(m,g,w,S);if(uo(w))return h(m,g,w,S);Ys(m,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,g!==null&&g.tag===6?(n(m,g.sibling),g=i(g,w),g.return=m,m=g):(n(m,g),g=Dc(w,m.mode,S),g.return=m,m=g),s(m)):n(m,g)}return x}var Wi=Bv(!0),$v=Bv(!1),Qa=dr(null),Ya=null,fi=null,ff=null;function pf(){ff=fi=Ya=null}function hf(e){var t=Qa.current;ae(Qa),e._currentValue=t}function zu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ei(e,t){Ya=e,ff=fi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(et=!0),e.firstContext=null)}function kt(e){var t=e._currentValue;if(ff!==e)if(e={context:e,memoizedValue:t,next:null},fi===null){if(Ya===null)throw Error(j(308));fi=e,Ya.dependencies={lanes:0,firstContext:e}}else fi=fi.next=e;return t}var Sr=null;function mf(e){Sr===null?Sr=[e]:Sr.push(e)}function Uv(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,mf(t)):(n.next=i.next,i.next=n),t.interleaved=n,yn(e,r)}function yn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Vn=!1;function gf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wv(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function hn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function er(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,yn(e,n)}return i=r.interleaved,i===null?(t.next=t,mf(r)):(t.next=i.next,i.next=t),r.interleaved=t,yn(e,n)}function wa(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ef(e,n)}}function jh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Xa(e,t,n,r){var i=e.updateQueue;Vn=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?o=c:s.next=c,s=l;var u=e.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;s=0,u=c=l=null,a=o;do{var f=a.lane,p=a.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var b=e,h=a;switch(f=t,p=n,h.tag){case 1:if(b=h.payload,typeof b=="function"){d=b.call(p,d,f);break e}d=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=h.payload,f=typeof b=="function"?b.call(p,d,f):b,f==null)break e;d=me({},d,f);break e;case 2:Vn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=d):u=u.next=p,s|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Vr|=s,e.lanes=s,e.memoizedState=d}}function Dh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(j(191,i));i.call(r)}}}var Cs={},Zt=dr(Cs),es=dr(Cs),ts=dr(Cs);function kr(e){if(e===Cs)throw Error(j(174));return e}function yf(e,t){switch(re(ts,t),re(es,e),re(Zt,Cs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xu(t,e)}ae(Zt),re(Zt,t)}function Hi(){ae(Zt),ae(es),ae(ts)}function Hv(e){kr(ts.current);var t=kr(Zt.current),n=xu(t,e.type);t!==n&&(re(es,e),re(Zt,n))}function vf(e){es.current===e&&(ae(Zt),ae(es))}var fe=dr(0);function Za(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Pc=[];function wf(){for(var e=0;e<Pc.length;e++)Pc[e]._workInProgressVersionPrimary=null;Pc.length=0}var xa=En.ReactCurrentDispatcher,Ac=En.ReactCurrentBatchConfig,_r=0,he=null,Te=null,Ae=null,Ja=!1,jo=!1,ns=0,qk=0;function _e(){throw Error(j(321))}function xf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vt(e[n],t[n]))return!1;return!0}function bf(e,t,n,r,i,o){if(_r=o,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,xa.current=e===null||e.memoizedState===null?Zk:Jk,e=n(r,i),jo){o=0;
vendor: 4,736 bytes, line 38
38do{if(jo=!1,ns=0,25<=o)throw Error(j(301));o+=1,Ae=Te=null,t.updateQueue=null,xa.current=e2,e=n(r,i)}while(jo)}if(xa.current=el,t=Te!==null&&Te.next!==null,_r=0,Ae=Te=he=null,Ja=!1,t)throw Error(j(300));return e}function Sf(){var e=ns!==0;return ns=0,e}function Wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ae===null?he.memoizedState=Ae=e:Ae=Ae.next=e,Ae}function Ct(){if(Te===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Ae===null?he.memoizedState:Ae.next;if(t!==null)Ae=t,Te=e;else{if(e===null)throw Error(j(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},Ae===null?he.memoizedState=Ae=e:Ae=Ae.next=e}return Ae}function rs(e,t){return typeof t=="function"?t(e):t}function Rc(e){var t=Ct(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=Te,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,c=o;do{var u=c.lane;if((_r&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,he.lanes|=u,Vr|=u}c=c.next}while(c!==null&&c!==o);l===null?s=r:l.next=a,Vt(r,t.memoizedState)||(et=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,he.lanes|=o,Vr|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Mc(e){var t=Ct(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);Vt(o,t.memoizedState)||(et=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Gv(){}function Kv(e,t){var n=he,r=Ct(),i=t(),o=!Vt(r.memoizedState,i);if(o&&(r.memoizedState=i,et=!0),r=r.queue,kf(Yv.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Ae!==null&&Ae.memoizedState.tag&1){if(n.flags|=2048,is(9,Qv.bind(null,n,r,i,t),void 0,null),Ne===null)throw Error(j(349));_r&30||qv(n,t,i)}return i}function qv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Qv(e,t,n,r){t.value=n,t.getSnapshot=r,Xv(t)&&Zv(e)}function Yv(e,t,n){return n(function(){Xv(t)&&Zv(e)})}function Xv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Vt(e,n)}catch{return!0}}function Zv(e){var t=yn(e,1);t!==null&&_t(t,e,1,-1)}function Lh(e){var t=Wt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:e},t.queue=e,e=e.dispatch=Xk.bind(null,he,e),[t.memoizedState,e]}function is(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Jv(){return Ct().memoizedState}function ba(e,t,n,r){var i=Wt();he.flags|=e,i.memoizedState=is(1|t,n,void 0,r===void 0?null:r)}function Rl(e,t,n,r){var i=Ct();r=r===void 0?null:r;var o=void 0;if(Te!==null){var s=Te.memoizedState;if(o=s.destroy,r!==null&&xf(r,s.deps)){i.memoizedState=is(t,n,o,r);return}}he.flags|=e,i.memoizedState=is(1|t,n,o,r)}function Oh(e,t){return ba(8390656,8,e,t)}function kf(e,t){return Rl(2048,8,e,t)}function e0(e,t){return Rl(4,2,e,t)}function t0(e,t){return Rl(4,4,e,t)}function n0(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function r0(e,t,n){return n=n!=null?n.concat([e]):null,Rl(4,4,n0.bind(null,t,e),n)}function Cf(){}function i0(e,t){var n=Ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&xf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function o0(e,t){var n=Ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&xf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function s0(e,t,n){return _r&21?(Vt(n,t)||(n=dv(),he.lanes|=n,Vr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,et=!0),e.memoizedState=n)}function Qk(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=Ac.transition;Ac.transition={};try{e(!1),t()}finally{te=n,Ac.transition=r}}function a0(){return Ct().memoizedState}function Yk(e,t,n){var r=nr(e);
vendor: 6,488 bytes, lines 38-40
38if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},l0(e))c0(t,n);else if(n=Uv(e,t,n,r),n!==null){var i=qe();_t(n,e,r,i),u0(n,t,r)}}function Xk(e,t,n){var r=nr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(l0(e))c0(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Vt(a,s)){var l=t.interleaved;l===null?(i.next=i,mf(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Uv(e,t,i,r),n!==null&&(i=qe(),_t(n,e,r,i),u0(n,t,r))}}function l0(e){var t=e.alternate;return e===he||t!==null&&t===he}function c0(e,t){jo=Ja=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function u0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ef(e,n)}}var el={readContext:kt,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useInsertionEffect:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useSyncExternalStore:_e,useId:_e,unstable_isNewReconciler:!1},Zk={readContext:kt,useCallback:function(e,t){return Wt().memoizedState=[e,t===void 0?null:t],e},useContext:kt,useEffect:Oh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ba(4194308,4,n0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ba(4194308,4,e,t)},useInsertionEffect:function(e,t){return ba(4,2,e,t)},useMemo:function(e,t){var n=Wt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Wt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Yk.bind(null,he,e),[r.memoizedState,e]},useRef:function(e){var t=Wt();return e={current:e},t.memoizedState=e},useState:Lh,useDebugValue:Cf,useDeferredValue:function(e){return Wt().memoizedState=e},useTransition:function(){var e=Lh(!1),t=e[0];return e=Qk.bind(null,e[1]),Wt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,i=Wt();if(ce){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),Ne===null)throw Error(j(349));_r&30||qv(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Oh(Yv.bind(null,r,o,e),[e]),r.flags|=2048,is(9,Qv.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Wt(),t=Ne.identifierPrefix;if(ce){var n=pn,r=fn;n=(r&~(1<<32-Ft(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ns++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=qk++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Jk={readContext:kt,useCallback:i0,useContext:kt,useEffect:kf,useImperativeHandle:r0,useInsertionEffect:e0,useLayoutEffect:t0,useMemo:o0,useReducer:Rc,useRef:Jv,useState:function(){return Rc(rs)},useDebugValue:Cf,useDeferredValue:function(e){var t=Ct();return s0(t,Te.memoizedState,e)},useTransition:function(){var e=Rc(rs)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Gv,useSyncExternalStore:Kv,useId:a0,unstable_isNewReconciler:!1},e2={readContext:kt,useCallback:i0,useContext:kt,useEffect:kf,useImperativeHandle:r0,useInsertionEffect:e0,useLayoutEffect:t0,useMemo:o0,useReducer:Mc,useRef:Jv,useState:function(){return Mc(rs)},useDebugValue:Cf,useDeferredValue:function(e){var t=Ct();return Te===null?t.memoizedState=e:s0(t,Te.memoizedState,e)},useTransition:function(){var e=Mc(rs)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:Gv,useSyncExternalStore:Kv,useId:a0,unstable_isNewReconciler:!1};function Nt(e,t){if(e&&e.defaultProps){t=me({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Bu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:me({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ml={isMounted:function(e){return(e=e._reactInternals)?Hr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qe(),i=nr(e),o=hn(r,i);o.payload=t,n!=null&&(o.callback=n),t=er(e,o,i),t!==null&&(_t(t,e,i,r),wa(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qe(),i=nr(e),o=hn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=er(e,o,i),t!==null&&(_t(t,e,i,r),wa(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qe(),r=nr(e),i=hn(n,r);i.tag=2,t!=null&&(i.callback=t),t=er(e,i,r),t!==null&&(_t(t,e,r,n),wa(t,e,r))}};function Ih(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Yo(n,r)||!Yo(i,o):!0}function d0(e,t,n){var r=!1,i=sr,o=t.contextType;return typeof o=="object"&&o!==null?o=kt(o):(i=rt(t)?Ir:$e.current,r=t.contextTypes,o=(r=r!=null)?$i(e,i):sr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ml,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Fh(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ml.enqueueReplaceState(t,t.state,null)}function $u(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},gf(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=kt(o):(o=rt(t)?Ir:$e.current,i.context=$i(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Bu(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Ml.enqueueReplaceState(i,i.state,null),Xa(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Gi(e,t){try{var n="",r=t;do n+=AS(r),r=r.return;while(r);var i=n}catch(o){i=` 39Error generating stack: `+o.message+` 40`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Nc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Uu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var t2=typeof WeakMap=="function"?WeakMap:Map;
vendor: 10,820 bytes, line 40
40function f0(e,t,n){n=hn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){nl||(nl=!0,Ju=r),Uu(e,t)},n}function p0(e,t,n){n=hn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Uu(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Uu(e,t),typeof r!="function"&&(tr===null?tr=new Set([this]):tr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function _h(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new t2;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=m2.bind(null,e,t,n),t.then(e,e))}function Vh(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function zh(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=hn(-1,1),t.tag=2,er(n,t,1))),n.lanes|=1),e)}var n2=En.ReactCurrentOwner,et=!1;function He(e,t,n,r){t.child=e===null?$v(t,null,n,r):Wi(t,e.child,n,r)}function Bh(e,t,n,r,i){n=n.render;var o=t.ref;return Ei(t,i),r=bf(e,t,n,r,o,i),n=Sf(),e!==null&&!et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,vn(e,t,i)):(ce&&n&&cf(t),t.flags|=1,He(e,t,r,i),t.child)}function $h(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!jf(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,h0(e,t,o,r,i)):(e=Ea(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Yo,n(s,r)&&e.ref===t.ref)return vn(e,t,i)}return t.flags|=1,e=rr(o,r),e.ref=t.ref,e.return=t,t.child=e}function h0(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Yo(o,r)&&e.ref===t.ref)if(et=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(et=!0);else return t.lanes=e.lanes,vn(e,t,i)}return Wu(e,t,n,r,i)}function m0(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},re(hi,st),st|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,re(hi,st),st|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,re(hi,st),st|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,re(hi,st),st|=r;return He(e,t,i,n),t.child}function g0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Wu(e,t,n,r,i){var o=rt(n)?Ir:$e.current;return o=$i(t,o),Ei(t,i),n=bf(e,t,n,r,o,i),r=Sf(),e!==null&&!et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,vn(e,t,i)):(ce&&r&&cf(t),t.flags|=1,He(e,t,n,i),t.child)}function Uh(e,t,n,r,i){if(rt(n)){var o=!0;Ga(t)}else o=!1;if(Ei(t,i),t.stateNode===null)Sa(e,t),d0(t,n,r),$u(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=kt(c):(c=rt(n)?Ir:$e.current,c=$i(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==c)&&Fh(t,s,r,c),Vn=!1;var f=t.memoizedState;s.state=f,Xa(t,r,s,i),l=t.memoizedState,a!==r||f!==l||nt.current||Vn?(typeof u=="function"&&(Bu(t,n,u,r),l=t.memoizedState),(a=Vn||Ih(t,n,a,r,f,l,c))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Wv(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:Nt(t.type,a),s.props=c,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=kt(l):(l=rt(n)?Ir:$e.current,l=$i(t,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&Fh(t,s,r,l),Vn=!1,f=t.memoizedState,s.state=f,Xa(t,r,s,i);var b=t.memoizedState;a!==d||f!==b||nt.current||Vn?(typeof p=="function"&&(Bu(t,n,p,r),b=t.memoizedState),(c=Vn||Ih(t,n,c,r,f,b,l)||!1)?(u||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,b,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,b,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),s.props=r,s.state=b,s.context=l,r=c):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Hu(e,t,n,r,o,i)}function Hu(e,t,n,r,i,o){g0(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Ah(t,n,!1),vn(e,t,o);r=t.stateNode,n2.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Wi(t,e.child,null,o),t.child=Wi(t,null,a,o)):He(e,t,a,o),t.memoizedState=r.state,i&&Ah(t,n,!0),t.child}function y0(e){var t=e.stateNode;t.pendingContext?Ph(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ph(e,t.context,!1),yf(e,t.containerInfo)}function Wh(e,t,n,r,i){return Ui(),df(i),t.flags|=256,He(e,t,n,r),t.child}var Gu={dehydrated:null,treeContext:null,retryLane:0};function Ku(e){return{baseLanes:e,cachePool:null,transitions:null}}function v0(e,t,n){var r=t.pendingProps,i=fe.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),re(fe,i&1),e===null)return Vu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Dl(s,r,0,null),e=Dr(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Ku(n),t.memoizedState=Gu,e):Ef(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return r2(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=rr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=rr(a,o):(o=Dr(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?Ku(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Gu,r}return o=e.child,e=o.sibling,r=rr(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ef(e,t){return t=Dl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Xs(e,t,n,r){return r!==null&&df(r),Wi(t,e.child,null,n),e=Ef(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function r2(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Nc(Error(j(422))),Xs(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Dl({mode:"visible",children:r.children},i,0,null),o=Dr(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Wi(t,e.child,null,s),t.child.memoizedState=Ku(s),t.memoizedState=Gu,o);if(!(t.mode&1))return Xs(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(j(419)),r=Nc(o,r,void 0),Xs(e,t,s,r)}if(a=(s&e.childLanes)!==0,et||a){if(r=Ne,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,yn(e,i),_t(r,e,i,-1))}return Nf(),r=Nc(Error(j(421))),Xs(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=g2.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,lt=Jn(i.nextSibling),ct=t,ce=!0,It=null,e!==null&&(vt[wt++]=fn,vt[wt++]=pn,vt[wt++]=Fr,fn=e.id,pn=e.overflow,Fr=t),t=Ef(t,r.children),t.flags|=4096,t)}function Hh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),zu(e.return,t,n)}function jc(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function w0(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(He(e,t,r.children,n),r=fe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Hh(e,n,t);else if(e.tag===19)Hh(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(re(fe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Za(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),jc(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Za(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}jc(t,!0,n,null,o);break;case"together":jc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Sa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}
vendor: 4,903 bytes, line 40
40function vn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Vr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=rr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=rr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function i2(e,t,n){switch(t.tag){case 3:y0(t),Ui();break;case 5:Hv(t);break;case 1:rt(t.type)&&Ga(t);break;case 4:yf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;re(Qa,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?v0(e,t,n):(re(fe,fe.current&1),e=vn(e,t,n),e!==null?e.sibling:null);re(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return w0(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),re(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,m0(e,t,n)}return vn(e,t,n)}var x0,qu,b0,S0;x0=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};qu=function(){};b0=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,kr(Zt.current);var o=null;switch(n){case"input":i=gu(e,i),r=gu(e,r),o=[];break;case"select":i=me({},i,{value:void 0}),r=me({},r,{value:void 0}),o=[];break;case"textarea":i=wu(e,i),r=wu(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Wa)}bu(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Uo.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(a=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Uo.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&se("scroll",e),o||a===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};S0=function(e,t,n,r){n!==r&&(t.flags|=4)};function yo(e,t){if(!ce)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ve(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function o2(e,t,n){var r=t.pendingProps;switch(uf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ve(t),null;case 1:return rt(t.type)&&Ha(),Ve(t),null;case 3:return r=t.stateNode,Hi(),ae(nt),ae($e),wf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Qs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,It!==null&&(nd(It),It=null))),qu(e,t),Ve(t),null;case 5:vf(t);var i=kr(ts.current);if(n=t.type,e!==null&&t.stateNode!=null)b0(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return Ve(t),null}if(e=kr(Zt.current),Qs(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[qt]=t,r[Jo]=o,e=(t.mode&1)!==0,n){case"dialog":se("cancel",r),se("close",r);break;case"iframe":case"object":case"embed":se("load",r);break;case"video":case"audio":for(i=0;i<Eo.length;i++)se(Eo[i],r);break;case"source":se("error",r);break;case"img":case"image":case"link":se("error",r),se("load",r);break;case"details":se("toggle",r);break;case"input":eh(r,o),se("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},se("invalid",r);break;case"textarea":nh(r,o),se("invalid",r)}bu(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];
vendor: 28,864 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&qs(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&qs(r.textContent,a,e),i=["children",""+a]):Uo.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&se("scroll",r)}switch(n){case"input":zs(r),th(r,o,!0);break;case"textarea":zs(r),rh(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Wa)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Yy(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[qt]=t,e[Jo]=r,x0(e,t,!1,!1),t.stateNode=e;e:{switch(s=Su(n,r),n){case"dialog":se("cancel",e),se("close",e),i=r;break;case"iframe":case"object":case"embed":se("load",e),i=r;break;case"video":case"audio":for(i=0;i<Eo.length;i++)se(Eo[i],e);i=r;break;case"source":se("error",e),i=r;break;case"img":case"image":case"link":se("error",e),se("load",e),i=r;break;case"details":se("toggle",e),i=r;break;case"input":eh(e,r),i=gu(e,r),se("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=me({},r,{value:void 0}),se("invalid",e);break;case"textarea":nh(e,r),i=wu(e,r),se("invalid",e);break;default:i=r}bu(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Jy(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Xy(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Wo(e,l):typeof l=="number"&&Wo(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Uo.hasOwnProperty(o)?l!=null&&o==="onScroll"&&se("scroll",e):l!=null&&qd(e,o,l,s))}switch(n){case"input":zs(e),th(e,r,!1);break;case"textarea":zs(e),rh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+or(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?bi(e,!!r.multiple,o,!1):r.defaultValue!=null&&bi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Wa)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ve(t),null;case 6:if(e&&t.stateNode!=null)S0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=kr(ts.current),kr(Zt.current),Qs(t)){if(r=t.stateNode,n=t.memoizedProps,r[qt]=t,(o=r.nodeValue!==n)&&(e=ct,e!==null))switch(e.tag){case 3:qs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qs(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[qt]=t,t.stateNode=r}return Ve(t),null;case 13:if(ae(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&<!==null&&t.mode&1&&!(t.flags&128))zv(),Ui(),t.flags|=98560,o=!1;else if(o=Qs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(j(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(j(317));o[qt]=t}else Ui(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ve(t),o=!1}else It!==null&&(nd(It),It=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||fe.current&1?Pe===0&&(Pe=3):Nf())),t.updateQueue!==null&&(t.flags|=4),Ve(t),null);case 4:return Hi(),qu(e,t),e===null&&Xo(t.stateNode.containerInfo),Ve(t),null;case 10:return hf(t.type._context),Ve(t),null;case 17:return rt(t.type)&&Ha(),Ve(t),null;case 19:if(ae(fe),o=t.memoizedState,o===null)return Ve(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)yo(o,!1);else{if(Pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Za(e),s!==null){for(t.flags|=128,yo(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return re(fe,fe.current&1|2),t.child}e=e.sibling}o.tail!==null&&Se()>Ki&&(t.flags|=128,r=!0,yo(o,!1),t.lanes=4194304)}else{if(!r)if(e=Za(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ce)return Ve(t),null}else 2*Se()-o.renderingStartTime>Ki&&n!==1073741824&&(t.flags|=128,r=!0,yo(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Se(),t.sibling=null,n=fe.current,re(fe,r?n&1|2:n&1),t):(Ve(t),null);case 22:case 23:return Mf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?st&1073741824&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function s2(e,t){switch(uf(t),t.tag){case 1:return rt(t.type)&&Ha(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hi(),ae(nt),ae($e),wf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return vf(t),null;case 13:if(ae(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));Ui()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(fe),null;case 4:return Hi(),null;case 10:return hf(t.type._context),null;case 22:case 23:return Mf(),null;case 24:return null;default:return null}}var Zs=!1,Be=!1,a2=typeof WeakSet=="function"?WeakSet:Set,F=null;function pi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ve(e,t,r)}else n.current=null}function Qu(e,t,n){try{n()}catch(r){ve(e,t,r)}}var Gh=!1;function l2(e,t){if(ju=Ba,e=Pv(),lf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++c===i&&(a=s),f===o&&++u===r&&(l=s),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Du={focusedElem:e,selectionRange:n},Ba=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var h=b.memoizedProps,x=b.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?h:Nt(t.type,h),x);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(S){ve(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return b=Gh,Gh=!1,b}function Do(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Qu(t,n,o)}i=i.next}while(i!==r)}}function Nl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Yu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function k0(e){var t=e.alternate;t!==null&&(e.alternate=null,k0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qt],delete t[Jo],delete t[Iu],delete t[Wk],delete t[Hk])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function C0(e){return e.tag===5||e.tag===3||e.tag===4}function Kh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||C0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Xu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Wa));else if(r!==4&&(e=e.child,e!==null))for(Xu(e,t,n),e=e.sibling;e!==null;)Xu(e,t,n),e=e.sibling}function Zu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Zu(e,t,n),e=e.sibling;e!==null;)Zu(e,t,n),e=e.sibling}var je=null,Ot=!1;function jn(e,t,n){for(n=n.child;n!==null;)E0(e,t,n),n=n.sibling}function E0(e,t,n){if(Xt&&typeof Xt.onCommitFiberUnmount=="function")try{Xt.onCommitFiberUnmount(kl,n)}catch{}switch(n.tag){case 5:Be||pi(n,t);case 6:var r=je,i=Ot;je=null,jn(e,t,n),je=r,Ot=i,je!==null&&(Ot?(e=je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):je.removeChild(n.stateNode));break;case 18:je!==null&&(Ot?(e=je,n=n.stateNode,e.nodeType===8?Ec(e.parentNode,n):e.nodeType===1&&Ec(e,n),qo(e)):Ec(je,n.stateNode));break;case 4:r=je,i=Ot,je=n.stateNode.containerInfo,Ot=!0,jn(e,t,n),je=r,Ot=i;break;case 0:case 11:case 14:case 15:if(!Be&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Qu(n,t,s),i=i.next}while(i!==r)}jn(e,t,n);break;case 1:if(!Be&&(pi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ve(n,t,a)}jn(e,t,n);break;case 21:jn(e,t,n);break;case 22:n.mode&1?(Be=(r=Be)||n.memoizedState!==null,jn(e,t,n),Be=r):jn(e,t,n);break;default:jn(e,t,n)}}function qh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new a2),t.forEach(function(r){var i=y2.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function At(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:je=a.stateNode,Ot=!1;break e;case 3:je=a.stateNode.containerInfo,Ot=!0;break e;case 4:je=a.stateNode.containerInfo,Ot=!0;break e}a=a.return}if(je===null)throw Error(j(160));E0(o,s,i),je=null,Ot=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){ve(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)T0(t,e),t=t.sibling}function T0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(At(t,e),Ut(e),r&4){try{Do(3,e,e.return),Nl(3,e)}catch(h){ve(e,e.return,h)}try{Do(5,e,e.return)}catch(h){ve(e,e.return,h)}}break;case 1:At(t,e),Ut(e),r&512&&n!==null&&pi(n,n.return);break;case 5:if(At(t,e),Ut(e),r&512&&n!==null&&pi(n,n.return),e.flags&32){var i=e.stateNode;try{Wo(i,"")}catch(h){ve(e,e.return,h)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&qy(i,o),Su(a,s);var c=Su(a,o);for(s=0;s<l.length;s+=2){var u=l[s],d=l[s+1];u==="style"?Jy(i,d):u==="dangerouslySetInnerHTML"?Xy(i,d):u==="children"?Wo(i,d):qd(i,u,d,c)}switch(a){case"input":yu(i,o);break;case"textarea":Qy(i,o);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?bi(i,!!o.multiple,p,!1):f!==!!o.multiple&&(o.defaultValue!=null?bi(i,!!o.multiple,o.defaultValue,!0):bi(i,!!o.multiple,o.multiple?[]:"",!1))}i[Jo]=o}catch(h){ve(e,e.return,h)}}break;case 6:if(At(t,e),Ut(e),r&4){if(e.stateNode===null)throw Error(j(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(h){ve(e,e.return,h)}}break;case 3:if(At(t,e),Ut(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{qo(t.containerInfo)}catch(h){ve(e,e.return,h)}break;case 4:At(t,e),Ut(e);break;case 13:At(t,e),Ut(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Af=Se())),r&4&&qh(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,e.mode&1?(Be=(c=Be)||u,At(t,e),Be=c):At(t,e),Ut(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!u&&e.mode&1)for(F=e,u=e.child;u!==null;){for(d=F=u;F!==null;){switch(f=F,p=f.child,f.tag){case 0:case 11:case 14:case 15:Do(4,f,f.return);break;case 1:pi(f,f.return);var b=f.stateNode;if(typeof b.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(h){ve(r,n,h)}}break;case 5:pi(f,f.return);break;case 22:if(f.memoizedState!==null){Yh(d);continue}}p!==null?(p.return=f,F=p):Yh(d)}u=u.sibling}e:for(u=null,d=e;;){if(d.tag===5){if(u===null){u=d;try{i=d.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Zy("display",s))}catch(h){ve(e,e.return,h)}}}else if(d.tag===6){if(u===null)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(h){ve(e,e.return,h)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:At(t,e),Ut(e),r&4&&qh(e);break;case 21:break;default:At(t,e),Ut(e)}}function Ut(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(C0(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Wo(i,""),r.flags&=-33);var o=Kh(e);Zu(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Kh(e);Xu(e,a,s);break;default:throw Error(j(161))}}catch(l){ve(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function c2(e,t,n){F=e,P0(e)}function P0(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var i=F,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Zs;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Be;a=Zs;var c=Be;if(Zs=s,(Be=l)&&!c)for(F=i;F!==null;)s=F,l=s.child,s.tag===22&&s.memoizedState!==null?Xh(i):l!==null?(l.return=s,F=l):Xh(i);for(;o!==null;)F=o,P0(o),o=o.sibling;F=i,Zs=a,Be=c}Qh(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,F=o):Qh(e)}}function Qh(e){for(;F!==null;){var t=F;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Be||Nl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Be)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Nt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Dh(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Dh(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&qo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}Be||t.flags&512&&Yu(t)}catch(f){ve(t,t.return,f)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function Yh(e){for(;F!==null;){var t=F;if(t===e){F=null;break}var n=t.sibling;if(n!==null){n.return=t.return,F=n;break}F=t.return}}function Xh(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Nl(4,t)}catch(l){ve(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ve(t,i,l)}}var o=t.return;try{Yu(t)}catch(l){ve(t,o,l)}break;case 5:var s=t.return;try{Yu(t)}catch(l){ve(t,s,l)}}}catch(l){ve(t,t.return,l)}if(t===e){F=null;break}var a=t.sibling;if(a!==null){a.return=t.return,F=a;break}F=t.return}}var u2=Math.ceil,tl=En.ReactCurrentDispatcher,Tf=En.ReactCurrentOwner,bt=En.ReactCurrentBatchConfig,Z=0,Ne=null,Ee=null,Le=0,st=0,hi=dr(0),Pe=0,os=null,Vr=0,jl=0,Pf=0,Lo=null,Je=null,Af=0,Ki=1/0,cn=null,nl=!1,Ju=null,tr=null,Js=!1,qn=null,rl=0,Oo=0,ed=null,ka=-1,Ca=0;function qe(){return Z&6?Se():ka!==-1?ka:ka=Se()}function nr(e){return e.mode&1?Z&2&&Le!==0?Le&-Le:Kk.transition!==null?(Ca===0&&(Ca=dv()),Ca):(e=te,e!==0||(e=window.event,e=e===void 0?16:vv(e.type)),e):1}function _t(e,t,n,r){if(50<Oo)throw Oo=0,ed=null,Error(j(185));bs(e,n,r),(!(Z&2)||e!==Ne)&&(e===Ne&&(!(Z&2)&&(jl|=n),Pe===4&&Bn(e,Le)),it(e,r),n===1&&Z===0&&!(t.mode&1)&&(Ki=Se()+500,Al&&fr()))}function it(e,t){var n=e.callbackNode;KS(e,t);var r=za(e,e===Ne?Le:0);if(r===0)n!==null&&sh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&sh(n),t===1)e.tag===0?Gk(Zh.bind(null,e)):Fv(Zh.bind(null,e)),$k(function(){!(Z&6)&&fr()}),n=null;else{switch(fv(r)){case 1:n=Jd;break;case 4:n=cv;break;case 16:n=Va;break;case 536870912:n=uv;break;default:n=Va}n=O0(n,A0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function A0(e,t){if(ka=-1,Ca=0,Z&6)throw Error(j(327));var n=e.callbackNode;if(Ti()&&e.callbackNode!==n)return null;var r=za(e,e===Ne?Le:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=il(e,r);else{t=r;var i=Z;Z|=2;var o=M0();(Ne!==e||Le!==t)&&(cn=null,Ki=Se()+500,jr(e,t));do try{p2();break}catch(a){R0(e,a)}while(!0);pf(),tl.current=o,Z=i,Ee!==null?t=0:(Ne=null,Le=0,t=Pe)}if(t!==0){if(t===2&&(i=Pu(e),i!==0&&(r=i,t=td(e,i))),t===1)throw n=os,jr(e,0),Bn(e,r),it(e,Se()),n;if(t===6)Bn(e,r);else{if(i=e.current.alternate,!(r&30)&&!d2(i)&&(t=il(e,r),t===2&&(o=Pu(e),o!==0&&(r=o,t=td(e,o))),t===1))throw n=os,jr(e,0),Bn(e,r),it(e,Se()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:wr(e,Je,cn);break;case 3:if(Bn(e,r),(r&130023424)===r&&(t=Af+500-Se(),10<t)){if(za(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){qe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Ou(wr.bind(null,e,Je,cn),t);break}wr(e,Je,cn);break;case 4:if(Bn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-Ft(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=Se()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*u2(r/1960))-r,10<r){e.timeoutHandle=Ou(wr.bind(null,e,Je,cn),r);break}wr(e,Je,cn);break;case 5:wr(e,Je,cn);break;default:throw Error(j(329))}}}return it(e,Se()),e.callbackNode===n?A0.bind(null,e):null}function td(e,t){var n=Lo;return e.current.memoizedState.isDehydrated&&(jr(e,t).flags|=256),e=il(e,t),e!==2&&(t=Je,Je=n,t!==null&&nd(t)),e}function nd(e){Je===null?Je=e:Je.push.apply(Je,e)}function d2(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Vt(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Bn(e,t){for(t&=~Pf,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ft(t),r=1<<n;e[n]=-1,t&=~r}}function Zh(e){if(Z&6)throw Error(j(327));Ti();var t=za(e,0);if(!(t&1))return it(e,Se()),null;var n=il(e,t);if(e.tag!==0&&n===2){var r=Pu(e);r!==0&&(t=r,n=td(e,r))}if(n===1)throw n=os,jr(e,0),Bn(e,t),it(e,Se()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wr(e,Je,cn),it(e,Se()),null}function Rf(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(Ki=Se()+500,Al&&fr())}}function zr(e){qn!==null&&qn.tag===0&&!(Z&6)&&Ti();var t=Z;Z|=1;var n=bt.transition,r=te;try{if(bt.transition=null,te=1,e)return e()}finally{te=r,bt.transition=n,Z=t,!(Z&6)&&fr()}}function Mf(){st=hi.current,ae(hi)}function jr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Bk(n)),Ee!==null)for(n=Ee.return;n!==null;){var r=n;switch(uf(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ha();break;case 3:Hi(),ae(nt),ae($e),wf();break;case 5:vf(r);break;case 4:Hi();break;case 13:ae(fe);break;case 19:ae(fe);break;case 10:hf(r.type._context);break;case 22:case 23:Mf()}n=n.return}if(Ne=e,Ee=e=rr(e.current,null),Le=st=t,Pe=0,os=null,Pf=jl=Vr=0,Je=Lo=null,Sr!==null){for(t=0;t<Sr.length;t++)if(n=Sr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}Sr=null}return e}function R0(e,t){do{var n=Ee;try{if(pf(),xa.current=el,Ja){for(var r=he.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ja=!1}if(_r=0,Ae=Te=he=null,jo=!1,ns=0,Tf.current=null,n===null||n.return===null){Pe=1,os=t,Ee=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=Le,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=a,d=u.tag;if(!(u.mode&1)&&(d===0||d===11||d===15)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=Vh(s);if(p!==null){p.flags&=-257,zh(p,s,a,o,t),p.mode&1&&_h(o,c,t),t=p,l=c;var b=t.updateQueue;if(b===null){var h=new Set;h.add(l),t.updateQueue=h}else b.add(l);break e}else{if(!(t&1)){_h(o,c,t),Nf();break e}l=Error(j(426))}}else if(ce&&a.mode&1){var x=Vh(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),zh(x,s,a,o,t),df(Gi(l,a));break e}}o=l=Gi(l,a),Pe!==4&&(Pe=2),Lo===null?Lo=[o]:Lo.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var m=f0(o,l,t);jh(o,m);break e;case 1:a=l;var g=o.type,w=o.stateNode;if(!(o.flags&128)&&(typeof g.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(tr===null||!tr.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=p0(o,a,t);jh(o,S);break e}}o=o.return}while(o!==null)}j0(n)}catch(k){t=k,Ee===n&&n!==null&&(Ee=n=n.return);continue}break}while(!0)}function M0(){var e=tl.current;return tl.current=el,e===null?el:e}function Nf(){(Pe===0||Pe===3||Pe===2)&&(Pe=4),Ne===null||!(Vr&268435455)&&!(jl&268435455)||Bn(Ne,Le)}function il(e,t){var n=Z;Z|=2;var r=M0();(Ne!==e||Le!==t)&&(cn=null,jr(e,t));do try{f2();break}catch(i){R0(e,i)}while(!0);if(pf(),Z=n,tl.current=r,Ee!==null)throw Error(j(261));return Ne=null,Le=0,Pe}function f2(){for(;Ee!==null;)N0(Ee)}function p2(){for(;Ee!==null&&!_S();)N0(Ee)}function N0(e){var t=L0(e.alternate,e,st);e.memoizedProps=e.pendingProps,t===null?j0(e):Ee=t,Tf.current=null}function j0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=s2(n,t),n!==null){n.flags&=32767,Ee=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Pe=6,Ee=null;return}}else if(n=o2(n,t,st),n!==null){Ee=n;return}if(t=t.sibling,t!==null){Ee=t;return}Ee=t=e}while(t!==null);Pe===0&&(Pe=5)}function wr(e,t,n){var r=te,i=bt.transition;try{bt.transition=null,te=1,h2(e,t,n,r)}finally{bt.transition=i,te=r}return null}function h2(e,t,n,r){do Ti();while(qn!==null);if(Z&6)throw Error(j(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(j(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(qS(e,o),e===Ne&&(Ee=Ne=null,Le=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Js||(Js=!0,O0(Va,function(){return Ti(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=bt.transition,bt.transition=null;var s=te;te=1;var a=Z;Z|=4,Tf.current=null,l2(e,n),T0(n,e),Lk(Du),Ba=!!ju,Du=ju=null,e.current=n,c2(n),VS(),Z=a,te=s,bt.transition=o}else e.current=n;if(Js&&(Js=!1,qn=e,rl=i),o=e.pendingLanes,o===0&&(tr=null),$S(n.stateNode),it(e,Se()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(nl)throw nl=!1,e=Ju,Ju=null,e;return rl&1&&e.tag!==0&&Ti(),o=e.pendingLanes,o&1?e===ed?Oo++:(Oo=0,ed=e):Oo=0,fr(),null}function Ti(){if(qn!==null){var e=fv(rl),t=bt.transition,n=te;try{if(bt.transition=null,te=16>e?16:e,qn===null)var r=!1;else{if(e=qn,qn=null,rl=0,Z&6)throw Error(j(331));var i=Z;for(Z|=4,F=e.current;F!==null;){var o=F,s=o.child;if(F.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(F=c;F!==null;){var u=F;switch(u.tag){case 0:case 11:case 15:Do(8,u,o)}var d=u.child;if(d!==null)d.return=u,F=d;else for(;F!==null;){u=F;var f=u.sibling,p=u.return;if(k0(u),u===c){F=null;break}if(f!==null){f.return=p,F=f;break}F=p}}}var b=o.alternate;if(b!==null){var h=b.child;if(h!==null){b.child=null;do{var x=h.sibling;h.sibling=null,h=x}while(h!==null)}}F=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,F=s;else e:for(;F!==null;){if(o=F,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Do(9,o,o.return)}var m=o.sibling;if(m!==null){m.return=o.return,F=m;break e}F=o.return}}var g=e.current;for(F=g;F!==null;){s=F;var w=s.child;if(s.subtreeFlags&2064&&w!==null)w.return=s,F=w;else e:for(s=g;F!==null;){if(a=F,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Nl(9,a)}}catch(k){ve(a,a.return,k)}if(a===s){F=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,F=S;break e}F=a.return}}if(Z=i,fr(),Xt&&typeof Xt.onPostCommitFiberRoot=="function")try{Xt.onPostCommitFiberRoot(kl,e)}catch{}r=!0}return r}finally{te=n,bt.transition=t}}return!1}function Jh(e,t,n){t=Gi(n,t),t=f0(e,t,1),e=er(e,t,1),t=qe(),e!==null&&(bs(e,1,t),it(e,t))}function ve(e,t,n){if(e.tag===3)Jh(e,e,n);else for(;t!==null;){if(t.tag===3){Jh(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(tr===null||!tr.has(r))){e=Gi(n,e),e=p0(t,e,1),t=er(t,e,1),e=qe(),t!==null&&(bs(t,1,e),it(t,e));break}}t=t.return}}function m2(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=qe(),e.pingedLanes|=e.suspendedLanes&n,Ne===e&&(Le&n)===n&&(Pe===4||Pe===3&&(Le&130023424)===Le&&500>Se()-Af?jr(e,0):Pf|=n),it(e,t)}function D0(e,t){t===0&&(e.mode&1?(t=Us,Us<<=1,!(Us&130023424)&&(Us=4194304)):t=1);var n=qe();e=yn(e,t),e!==null&&(bs(e,t,n),it(e,n))}function g2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),D0(e,n)}function y2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),D0(e,n)}var L0;L0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||nt.current)et=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return et=!1,i2(e,t,n);et=!!(e.flags&131072)}else et=!1,ce&&t.flags&1048576&&_v(t,qa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Sa(e,t),e=t.pendingProps;var i=$i(t,$e.current);Ei(t,n),i=bf(null,t,r,e,i,n);var o=Sf();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rt(r)?(o=!0,Ga(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,gf(t),i.updater=Ml,t.stateNode=i,i._reactInternals=t,$u(t,r,e,n),t=Hu(null,t,r,!0,o,n)):(t.tag=0,ce&&o&&cf(t),He(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Sa(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=w2(r),e=Nt(r,e),i){case 0:t=Wu(null,t,r,e,n);break e;case 1:t=Uh(null,t,r,e,n);break e;case 11:t=Bh(null,t,r,e,n);break e;case 14:t=$h(null,t,r,Nt(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Nt(r,i),Wu(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Nt(r,i),Uh(e,t,r,i,n);case 3:e:{if(y0(t),e===null)throw Error(j(387));
vendor: 8,462 bytes, line 40
40r=t.pendingProps,o=t.memoizedState,i=o.element,Wv(e,t),Xa(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Gi(Error(j(423)),t),t=Wh(e,t,r,n,i);break e}else if(r!==i){i=Gi(Error(j(424)),t),t=Wh(e,t,r,n,i);break e}else for(lt=Jn(t.stateNode.containerInfo.firstChild),ct=t,ce=!0,It=null,n=$v(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ui(),r===i){t=vn(e,t,n);break e}He(e,t,r,n)}t=t.child}return t;case 5:return Hv(t),e===null&&Vu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Lu(r,i)?s=null:o!==null&&Lu(r,o)&&(t.flags|=32),g0(e,t),He(e,t,s,n),t.child;case 6:return e===null&&Vu(t),null;case 13:return v0(e,t,n);case 4:return yf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Wi(t,null,r,n):He(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Nt(r,i),Bh(e,t,r,i,n);case 7:return He(e,t,t.pendingProps,n),t.child;case 8:return He(e,t,t.pendingProps.children,n),t.child;case 12:return He(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,re(Qa,r._currentValue),r._currentValue=s,o!==null)if(Vt(o.value,s)){if(o.children===i.children&&!nt.current){t=vn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=hn(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),zu(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(j(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),zu(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}He(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ei(t,n),i=kt(i),r=r(i),t.flags|=1,He(e,t,r,n),t.child;case 14:return r=t.type,i=Nt(r,t.pendingProps),i=Nt(r.type,i),$h(e,t,r,i,n);case 15:return h0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Nt(r,i),Sa(e,t),t.tag=1,rt(r)?(e=!0,Ga(t)):e=!1,Ei(t,n),d0(t,r,i),$u(t,r,i,n),Hu(null,t,r,!0,e,n);case 19:return w0(e,t,n);case 22:return m0(e,t,n)}throw Error(j(156,t.tag))};function O0(e,t){return lv(e,t)}function v2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xt(e,t,n,r){return new v2(e,t,n,r)}function jf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function w2(e){if(typeof e=="function")return jf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Yd)return 11;if(e===Xd)return 14}return 2}function rr(e,t){var n=e.alternate;return n===null?(n=xt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ea(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")jf(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case ii:return Dr(n.children,i,o,t);case Qd:s=8,i|=8;break;case fu:return e=xt(12,n,t,i|2),e.elementType=fu,e.lanes=o,e;case pu:return e=xt(13,n,t,i),e.elementType=pu,e.lanes=o,e;case hu:return e=xt(19,n,t,i),e.elementType=hu,e.lanes=o,e;case Hy:return Dl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Uy:s=10;break e;case Wy:s=9;break e;case Yd:s=11;break e;case Xd:s=14;break e;case _n:s=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=xt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Dr(e,t,n,r){return e=xt(7,e,r,t),e.lanes=n,e}function Dl(e,t,n,r){return e=xt(22,e,r,t),e.elementType=Hy,e.lanes=n,e.stateNode={isHidden:!1},e}function Dc(e,t,n){return e=xt(6,e,null,t),e.lanes=n,e}function Lc(e,t,n){return t=xt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function x2(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hc(0),this.expirationTimes=hc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Df(e,t,n,r,i,o,s,a,l){return e=new x2(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=xt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},gf(o),e}function b2(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ri,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function I0(e){if(!e)return sr;e=e._reactInternals;e:{if(Hr(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(rt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(rt(n))return Iv(e,n,t)}return t}function F0(e,t,n,r,i,o,s,a,l){return e=Df(n,r,!0,e,i,o,s,a,l),e.context=I0(null),n=e.current,r=qe(),i=nr(n),o=hn(r,i),o.callback=t??null,er(n,o,i),e.current.lanes=i,bs(e,i,r),it(e,r),e}function Ll(e,t,n,r){var i=t.current,o=qe(),s=nr(i);return n=I0(n),t.context===null?t.context=n:t.pendingContext=n,t=hn(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=er(i,t,s),e!==null&&(_t(e,i,s,o),wa(e,i,s)),s}function ol(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function em(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Lf(e,t){em(e,t),(e=e.alternate)&&em(e,t)}function S2(){return null}var _0=typeof reportError=="function"?reportError:function(e){console.error(e)};function Of(e){this._internalRoot=e}Ol.prototype.render=Of.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));Ll(e,t,null,null)};Ol.prototype.unmount=Of.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;zr(function(){Ll(null,e,null,null)}),t[gn]=null}};function Ol(e){this._internalRoot=e}Ol.prototype.unstable_scheduleHydration=function(e){if(e){var t=mv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zn.length&&t!==0&&t<zn[n].priority;n++);zn.splice(n,0,e),n===0&&yv(e)}};function If(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Il(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tm(){}function k2(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var c=ol(s);o.call(c)}}var s=F0(t,r,e,0,null,!1,!1,"",tm);return e._reactRootContainer=s,e[gn]=s.current,Xo(e.nodeType===8?e.parentNode:e),zr(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var c=ol(l);a.call(c)}}var l=Df(e,0,!1,null,null,!1,!1,"",tm);return e._reactRootContainer=l,e[gn]=l.current,Xo(e.nodeType===8?e.parentNode:e),zr(function(){Ll(t,l,n,r)}),l}function Fl(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=ol(s);
vendor: 4,554 bytes, line 40
40a.call(l)}}Ll(t,s,e,i)}else s=k2(n,t,e,i,r);return ol(s)}pv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Co(t.pendingLanes);n!==0&&(ef(t,n|1),it(t,Se()),!(Z&6)&&(Ki=Se()+500,fr()))}break;case 13:zr(function(){var r=yn(e,1);if(r!==null){var i=qe();_t(r,e,1,i)}}),Lf(e,1)}};tf=function(e){if(e.tag===13){var t=yn(e,134217728);if(t!==null){var n=qe();_t(t,e,134217728,n)}Lf(e,134217728)}};hv=function(e){if(e.tag===13){var t=nr(e),n=yn(e,t);if(n!==null){var r=qe();_t(n,e,t,r)}Lf(e,t)}};mv=function(){return te};gv=function(e,t){var n=te;try{return te=e,t()}finally{te=n}};Cu=function(e,t,n){switch(t){case"input":if(yu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Pl(r);if(!i)throw Error(j(90));Ky(r),yu(r,i)}}}break;case"textarea":Qy(e,n);break;case"select":t=n.value,t!=null&&bi(e,!!n.multiple,t,!1)}};nv=Rf;rv=zr;var C2={usingClientEntryPoint:!1,Events:[ks,li,Pl,ev,tv,Rf]},vo={findFiberByHostInstance:br,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},E2={bundleType:vo.bundleType,version:vo.version,rendererPackageName:vo.rendererPackageName,rendererConfig:vo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:En.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=sv(e),e===null?null:e.stateNode},findFiberByHostInstance:vo.findFiberByHostInstance||S2,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ea=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ea.isDisabled&&ea.supportsFiber)try{kl=ea.inject(E2),Xt=ea}catch{}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=C2;ft.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!If(t))throw Error(j(200));return b2(e,t,null,n)};ft.createRoot=function(e,t){if(!If(e))throw Error(j(299));var n=!1,r="",i=_0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Df(e,1,!1,null,null,n,!1,r,i),e[gn]=t.current,Xo(e.nodeType===8?e.parentNode:e),new Of(t)};ft.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=sv(t),e=e===null?null:e.stateNode,e};ft.flushSync=function(e){return zr(e)};ft.hydrate=function(e,t,n){if(!Il(t))throw Error(j(200));return Fl(null,e,t,!0,n)};ft.hydrateRoot=function(e,t,n){if(!If(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=_0;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=F0(t,null,e,1,n??null,i,!1,o,s),e[gn]=t.current,Xo(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Ol(t)};ft.render=function(e,t,n){if(!Il(t))throw Error(j(200));return Fl(null,e,t,!1,n)};ft.unmountComponentAtNode=function(e){if(!Il(e))throw Error(j(40));return e._reactRootContainer?(zr(function(){Fl(null,null,e,!1,function(){e._reactRootContainer=null,e[gn]=null})}),!0):!1};ft.unstable_batchedUpdates=Rf;ft.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Il(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Fl(e,t,n,!1,r)};ft.version="18.3.1-next-f1338f8080-20240426";function V0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(V0)}catch(e){console.error(e)}}V0(),Vy.exports=ft;var Es=Vy.exports;const z0=Py(Es);var B0,nm=Es;B0=nm.createRoot,nm.hydrateRoot;const T2=1,P2=1e6;let Oc=0;function A2(){return Oc=(Oc+1)%Number.MAX_SAFE_INTEGER,Oc.toString()}const Ic=new Map,rm=e=>{if(Ic.has(e))return;const t=setTimeout(()=>{Ic.delete(e),Io({type:"REMOVE_TOAST",toastId:e})},P2);Ic.set(e,t)},R2=(e,t)=>
40{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,T2)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?rm(n):e.toasts.forEach(r=>{rm(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Ta=[];let Pa={toasts:[]};function Io(e){Pa=R2(Pa,e),Ta.forEach(t=>{t(Pa)})}function M2({...e}){const t=A2(),n=i=>Io({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Io({type:"DISMISS_TOAST",toastId:t});return Io({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function N2(){const[e,t]=v.useState(Pa);return v.useEffect(()=>(Ta.push(t),()=>{const n=Ta.indexOf(t);n>-1&&Ta.splice(n,1)}),[e]),{...e,toast:M2,dismiss:n=>Io({type:"DISMISS_TOAST",toastId:n})}}function ue(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function im(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function $0(...e){return t=>{let n=!1;const r=e.map(i=>{const o=im(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():im(e[i],null)}}}}function Qe(...e){return v.useCallback($0(...e),e)}function j2(e,t){const n=v.createContext(t),r=o=>{const{children:s,...a}=o,l=v.useMemo(()=>a,Object.values(a));return y.jsx(n.Provider,{value:l,children:s})};r.displayName=e+"Provider";function i(o){const s=v.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,i]}function eo(e,t=[]){let n=[];function r(o,s){const a=v.createContext(s),l=n.length;n=[...n,s];const c=d=>{var m;const{scope:f,children:p,...b}=d,h=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,x=v.useMemo(()=>b,Object.values(b));return y.jsx(h.Provider,{value:x,children:p})};c.displayName=o+"Provider";function u(d,f){var h;const p=((h=f==null?void 0:f[e])==null?void 0:h[l])||a,b=v.useContext(p);if(b)return b;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[c,u]}const i=()=>{const o=n.map(s=>v.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return v.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,D2(i,...t)]}function D2(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:c})=>{const d=l(o)[`__scope${c}`];return{...a,...d}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function ss(e){const t=O2(e),n=v.forwardRef((r,i)=>{const{children:o,...s}=r,a=v.Children.toArray(o),l=a.find(F2);if(l){const c=l.props.children,u=a.map(d=>d===l?v.Children.count(c)>1?v.Children.only(null):v.isValidElement(c)?c.props.children:null:d);return y.jsx(t,{...s,ref:i,children:v.isValidElement(c)?v.cloneElement(c,void 0,u):null})}return y.jsx(t,{...s,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}var L2=ss("Slot");function O2(e){const t=v.forwardRef((n,r)=>{const{children:i,...o}=n;if(v.isValidElement(i)){const s=V2(i),a=_2(o,i.props);return i.type!==v.Fragment&&(a.ref=r?$0(r,s):s),v.cloneElement(i,a)}return v.Children.count(i)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var U0=Symbol("radix.slottable");function I2(e){const t=({children:n})=>y.jsx(y.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=U0,t}function F2(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===U0}function _2(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...a)=>{const l=o(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function V2(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function z2(e){const t=e+"CollectionProvider",[n,r]=eo(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=h=>{const{scope:x,children:m}=h,g=D.useRef(null),w=D.useRef(new Map).current;return y.jsx(i,{scope:x,itemMap:w,collectionRef:g,children:m})};s.displayName=t;const a=e+"CollectionSlot",l=ss(a),c=D.forwardRef((h,x)=>{const{scope:m,children:g}=h,w=o(a,m),S=Qe(x,w.collectionRef);return y.jsx(l,{ref:S,children:g})});c.displayName=a;const u=e+"CollectionItemSlot",d="data-radix-collection-item",f=ss(u),p=D.forwardRef((h,x)=>{const{scope:m,children:g,...w}=h,S=D.useRef(null),k=Qe(x,S),C=o(u,m);return D.useEffect(()=>(C.itemMap.set(S,{ref:S,...w}),()=>void C.itemMap.delete(S))),y.jsx(f,{[d]:"",ref:k,children:g})});p.displayName=u;function b(h){const x=o(e+"CollectionConsumer",h);return D.useCallback(()=>{const g=x.collectionRef.current;if(!g)return[];const w=Array.from(g.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((C,E)=>w.indexOf(C.ref.current)-w.indexOf(E.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:s,Slot:c,ItemSlot:p},b,r]}var B2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],we=B2.reduce((e,t)=>
vendor: 8,608 bytes, line 40
40{const n=ss(`Primitive.${t}`),r=v.forwardRef((i,o)=>{const{asChild:s,...a}=i,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(l,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function W0(e,t){e&&Es.flushSync(()=>e.dispatchEvent(t))}function rn(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function $2(e,t=globalThis==null?void 0:globalThis.document){const n=rn(e);v.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var U2="DismissableLayer",rd="dismissableLayer.update",W2="dismissableLayer.pointerDownOutside",H2="dismissableLayer.focusOutside",om,H0=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_l=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,c=v.useContext(H0),[u,d]=v.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=v.useState({}),b=Qe(t,E=>d(E)),h=Array.from(c.layers),[x]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),m=h.indexOf(x),g=u?h.indexOf(u):-1,w=c.layersWithOutsidePointerEventsDisabled.size>0,S=g>=m,k=K2(E=>{const T=E.target,M=[...c.branches].some(N=>N.contains(T));!S||M||(i==null||i(E),s==null||s(E),E.defaultPrevented||a==null||a())},f),C=q2(E=>{const T=E.target;[...c.branches].some(N=>N.contains(T))||(o==null||o(E),s==null||s(E),E.defaultPrevented||a==null||a())},f);return $2(E=>{g===c.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},f),v.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(om=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),sm(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=om)}},[u,f,n,c]),v.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),sm())},[u,c]),v.useEffect(()=>{const E=()=>p({});return document.addEventListener(rd,E),()=>document.removeEventListener(rd,E)},[]),y.jsx(we.div,{...l,ref:b,style:{pointerEvents:w?S?"auto":"none":void 0,...e.style},onFocusCapture:ue(e.onFocusCapture,C.onFocusCapture),onBlurCapture:ue(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:ue(e.onPointerDownCapture,k.onPointerDownCapture)})});_l.displayName=U2;var G2="DismissableLayerBranch",G0=v.forwardRef((e,t)=>{const n=v.useContext(H0),r=v.useRef(null),i=Qe(t,r);return v.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),y.jsx(we.div,{...e,ref:i})});G0.displayName=G2;function K2(e,t=globalThis==null?void 0:globalThis.document){const n=rn(e),r=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){K0(W2,n,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function q2(e,t=globalThis==null?void 0:globalThis.document){const n=rn(e),r=v.useRef(!1);return v.useEffect(()=>{const i=o=>{o.target&&!r.current&&K0(H2,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function sm(){const e=new CustomEvent(rd);document.dispatchEvent(e)}function K0(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?W0(i,o):i.dispatchEvent(o)}var Q2=_l,Y2=G0,wn=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},X2="Portal",Ff=v.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,o]=v.useState(!1);wn(()=>o(!0),[]);const s=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?z0.createPortal(y.jsx(we.div,{...r,ref:t}),s):null});Ff.displayName=X2;function Z2(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var to=e=>{const{present:t,children:n}=e,r=J2(t),i=typeof n=="function"?n({present:r.isPresent}):v.Children.only(n),o=Qe(r.ref,eC(i));return typeof n=="function"||r.isPresent?v.cloneElement(i,{ref:o}):null};to.displayName="Presence";function J2(e){const[t,n]=v.useState(),r=v.useRef(null),i=v.useRef(e),o=v.useRef("none"),s=e?"mounted":"unmounted",[a,l]=Z2(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const c=ta(r.current);o.current=a==="mounted"?c:"none"},[a]),wn(()=>{const c=r.current,u=i.current;if(u!==e){const f=o.current,p=ta(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&f!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),wn(()=>{if(t){let c;const u=t.ownerDocument.defaultView??window,d=p=>{const h=ta(r.current).includes(p.animationName);if(p.target===t&&h&&(l("ANIMATION_END"),!i.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",c=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},f=p=>{p.target===t&&(o.current=ta(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(c),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:v.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function ta(e){return(e==null?void 0:e.animationName)||"none"}function eC(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var tC=Hd[" useInsertionEffect ".trim().toString()]||wn;function q0({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,s]=nC({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const u=v.useRef(e!==void 0);v.useEffect(()=>{const d=u.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=a},[a,r])}const c=v.useCallback(u=>{var d;if(a){const f=rC(u)?u(e):u;f!==e&&((d=s.current)==null||d.call(s,f))}else o(u)},[a,e,o,s]);return[l,c]}function nC({defaultProp:e,onChange:t}){const[n,r]=v.useState(e),i=v.useRef(n),o=v.useRef(t);return tC(()=>{o.current=t},[t]),v.useEffect(()=>{var s;i.current!==n&&((s=o.current)==null||s.call(o,n),i.current=n)},[n,i]),[n,r,o]}function rC(e){return typeof e=="function"}var iC=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),oC="VisuallyHidden",Vl=v.forwardRef((e,t)=>y.jsx(we.span,{...e,ref:t,style:{...iC,...e.style}}));Vl.displayName=oC;var sC=Vl,_f="ToastProvider",[Vf,aC,lC]=z2("Toast"),[Q0,v4]=eo("Toast",[lC]),[cC,zl]=Q0(_f),Y0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:s}=e,[a,l]=v.useState(null),[c,u]=v.useState(0),d=v.useRef(!1),f=v.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${_f}\`. Expected non-empty \`string\`.`),y.jsx(Vf.Provider,{scope:t,children:y.jsx(cC,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:v.useCallback(()=>u(p=>p+1),[]),onToastRemove:v.useCallback(()=>u(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};Y0.displayName=_f;var X0="ToastViewport",uC=["F8"],id="toast.viewportPause",od="toast.viewportResume",Z0=v.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=uC,label:i="Notifications ({hotkey})",...o}=e,s=zl(X0,n),a=aC(n),l=v.useRef(null),c=v.useRef(null),u=v.useRef(null),d=v.useRef(null),f=Qe(t,d,s.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=s.toastCount>0;v.useEffect(()=>{const x=m=>{var w;r.length!==0&&r.every(S=>m[S]||m.code===S)&&((w=d.current)==null||w.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),v.useEffect(()=>{const x=l.current,m=d.current;if(b&&x&&m){const g=()=>{if(!s.isClosePausedRef.current){const C=new CustomEvent(id);m.dispatchEvent(C),s.isClosePausedRef.current=!0}},w=()=>{if(s.isClosePausedRef.current){const C=new CustomEvent(od);m.dispatchEvent(C),s.isClosePausedRef.current=!1}},S=C=>{!x.contains(C.relatedTarget)&&w()},k=()=>{x.contains(document.activeElement)||w()};return x.addEventListener("focusin",g),x.addEventListener("focusout",S),x.addEventListener("pointermove",g),x.addEventListener("pointerleave",k),window.addEventListener("blur",g),window.addEventListener("focus",w),()=>{x.removeEventListener("focusin",g),x.removeEventListener("focusout",S),x.removeEventListener("pointermove",g),x.removeEventListener("pointerleave",k),window.removeEventListener("blur",g),window.removeEventListener("focus",w)}}},[b,s.isClosePausedRef]);const h=v.useCallback(({tabbingDirection:x})=>{const g=a().map(w=>{const S=w.ref.current,k=[S,...kC(S)];return x==="forwards"?k:k.reverse()});return(x==="forwards"?g.reverse():g).flat()},[a]);return v.useEffect(()=>{const x=d.current;if(x){const m=g=>{var k,C,E;const w=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!w){const T=document.activeElement,M=g.shiftKey;if(g.target===x&&M){(k=c.current)==null||k.focus();return}const I=h({tabbingDirection:M?"backwards":"forwards"}),K=I.findIndex(L=>L===T);Fc(I.slice(K+1))?g.preventDefault():M?(C=c.current)==null||C.focus():(E=u.current)==null||E.focus()}};return x.addEventListener("keydown",m),()=>x.removeEventListener("keydown",m)}},[a,h]),y.jsxs(Y2,{ref:l,role:"region","aria-label":i.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&y.jsx(sd,{ref:c,onFocusFromOutsideViewport:()=>{const x=h({tabbingDirection:"forwards"});Fc(x)}}),y.jsx(Vf.Slot,{scope:n,children:y.jsx(we.ol,{tabIndex:-1,...o,ref:f})}),b&&y.jsx(sd,{ref:u,onFocusFromOutsideViewport:()=>{const x=h({tabbingDirection:"backwards"});Fc(x)}})]})});Z0.displayName=X0;var J0="ToastFocusProxy",sd=v.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=zl(J0,n);return y.jsx(Vl,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:s=>{var c;const a=s.relatedTarget;!((c=o.viewport)!=null&&c.contains(a))&&r()}})});sd.displayName=J0;var Ts="Toast",dC="toast.swipeStart",fC="toast.swipeMove",pC="toast.swipeCancel",hC="toast.swipeEnd",ew=v.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...s}=e,[a,l]=q0({prop:r,defaultProp:i??!0,onChange:o,caller:Ts});return y.jsx(to,{present:n||a,children:y.jsx(yC,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:rn(e.onPause),onResume:rn(e.onResume),onSwipeStart:ue(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ue(e.onSwipeMove,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:ue(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ue(e.onSwipeEnd,c=>{const{x:u,y:d}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});ew.displayName=Ts;var[mC,gC]=Q0(Ts,{onClose(){}}),yC=v.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:p,...b}=e,h=zl(Ts,n),[x,m]=v.useState(null),g=Qe(t,L=>m(L)),w=v.useRef(null),S=v.useRef(null),k=i||h.duration,C=v.useRef(0),E=v.useRef(k),T=v.useRef(0),{onToastAdd:M,onToastRemove:N}=h,V=rn(()=>{var q;(x==null?void 0:x.contains(document.activeElement))&&((q=h.viewport)==null||q.focus()),s()}),I=v.useCallback(L=>{!L||L===1/0||(window.clearTimeout(T.current),C.current=new Date().getTime(),T.current=window.setTimeout(V,L))},[V]);v.useEffect(()=>{const L=h.viewport;if(L){const q=()=>{I(E.current),c==null||c()},$=()=>{const _=new Date().getTime()-C.current;E.current=E.current-_,window.clearTimeout(T.current),l==null||l()};return L.addEventListener(id,$),L.addEventListener(od,q),()=>{L.removeEventListener(id,$),L.removeEventListener(od,q)}}},[h.viewport,k,l,c,I]),v.useEffect(()=>{o&&!h.isClosePausedRef.current&&I(k)},[o,k,h.isClosePausedRef,I]),v.useEffect(()=>(M(),()=>N()),[M,N]);const K=v.useMemo(()=>x?aw(x):null,[x]);return h.viewport?y.jsxs(y.Fragment,{children:[K&&y.jsx(vC,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:K}),y.jsx(mC,{scope:n,onClose:V,children:Es.createPortal(y.jsx(Vf.ItemSlot,{scope:n,children:y.jsx(Q2,{asChild:!0,onEscapeKeyDown:ue(a,()=>{h.isFocusedToastEscapeKeyDownRef.current||V(),h.isFocusedToastEscapeKeyDownRef.current=!1}),children:y.jsx(we.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":h.swipeDirection,...b,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ue(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(h.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:ue(e.onPointerDown,L=>{L.button===0&&(w.current={x:L.clientX,y:L.clientY})}),onPointerMove:ue(e.onPointerMove,L=>{if(!w.current)return;const q=L.clientX-w.current.x,$=L.clientY-w.current.y,_=!!S.current,P=["left","right"].includes(h.swipeDirection),R=["left","up"].includes(h.swipeDirection)?Math.min:Math.max,O=P?R(0,q):0,U=P?0:R(0,$),z=L.pointerType==="touch"?10:2,Q={x:O,y:U},X={originalEvent:L,delta:Q};_?(S.current=Q,na(fC,d,X,{discrete:!1})):am(Q,h.swipeDirection,z)?(S.current=Q,na(dC,u,X,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(q)>z||Math.abs($)>z)&&(w.current=null)}),onPointerUp:ue(e.onPointerUp,L=>{const q=S.current,$=L.target;if($.hasPointerCapture(L.pointerId)&&$.releasePointerCapture(L.pointerId),S.current=null,w.current=null,q){const _=L.currentTarget,P={originalEvent:L,delta:q};am(q,h.swipeDirection,h.swipeThreshold)?na(hC,p,P,{discrete:!0}):na(pC,f,P,{discrete:!0}),_.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),h.viewport)})]}):null}),vC=e=>{const{__scopeToast:t,children:n,...r}=e,i=zl(Ts,t),[o,s]=v.useState(!1),[a,l]=v.useState(!1);return bC(()=>s(!0)),v.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:y.jsx(Ff,{asChild:!0,children:y.jsx(Vl,{...r,children:o&&y.jsxs(y.Fragment,{children:[i.label," ",n]})})})},wC="ToastTitle",tw=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return y.jsx(we.div,{...r,ref:t})});tw.displayName=wC;var xC="ToastDescription",nw=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return y.jsx(we.div,{...r,ref:t})});nw.displayName=xC;var rw="ToastAction",iw=v.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?y.jsx(sw,{altText:n,asChild:!0,children:y.jsx(zf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${rw}\`. Expected non-empty \`string\`.`),null)});iw.displayName=rw;var ow="ToastClose",zf=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=gC(ow,n);return y.jsx(sw,{asChild:!0,children:y.jsx(we.button,{type:"button",...r,ref:t,onClick:ue(e.onClick,i.onClose)})})});zf.displayName=ow;var sw=v.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return y.jsx(we.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function aw(e){const t=[];
vendor: 5,404 bytes, lines 40-80
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),SC(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...aw(r))}}),t}function na(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?W0(i,o):i.dispatchEvent(o)}var am=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),o=r>i;return t==="left"||t==="right"?o&&r>n:!o&&i>n};function bC(e=()=>{}){const t=rn(e);wn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function SC(e){return e.nodeType===e.ELEMENT_NODE}function kC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Fc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var CC=Y0,lw=Z0,cw=ew,uw=tw,dw=nw,fw=iw,pw=zf;function hw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=hw(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function mw(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=hw(e))&&(r&&(r+=" "),r+=t);return r}const lm=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,cm=mw,Bf=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return cm(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,s=Object.keys(i).map(c=>{const u=n==null?void 0:n[c],d=o==null?void 0:o[c];if(u===null)return null;const f=lm(u)||lm(d);return i[c][f]}),a=n&&Object.entries(n).reduce((c,u)=>{let[d,f]=u;return f===void 0||(c[d]=f),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:d,className:f,...p}=u;return Object.entries(p).every(b=>{let[h,x]=b;return Array.isArray(x)?x.includes({...o,...a}[h]):{...o,...a}[h]===x})?[...c,d,f]:c},[]);return cm(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const EC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),gw=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var TC={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"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const PC=v.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:s,...a},l)=>v.createElement("svg",{ref:l,...TC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:gw("lucide",i),...a},[...s.map(([c,u])=>v.createElement(c,u)),...Array.isArray(o)?o:[o]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Ue=(e,t)=>{const n=v.forwardRef(({className:r,...i},o)=>v.createElement(PC,{ref:o,iconNode:t,className:gw(`lucide-${EC(e)}`,r),...i}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const AC=Ue("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const yw=Ue("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const vw=Ue("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const ww=Ue("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
80],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const um=Ue("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const RC=Ue("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const xw=Ue("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const MC=Ue("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const Aa=Ue("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 106 * @license lucide-react v0.462.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const NC=Ue("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const jC=Ue("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const DC=Ue("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const LC=Ue("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const OC=Ue("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/** 131 * @license lucide-react v0.462.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const mi=Ue("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 136 * @license lucide-react v0.462.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const Pi=Ue("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,906 bytes, line 140
140],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),$f="-",IC=e=>{const t=_C(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split($f);return a[0]===""&&a.length!==1&&a.shift(),bw(a,t)||FC(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},bw=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?bw(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join($f);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId},dm=/^\[(.+)\]$/,FC=e=>{if(dm.test(e)){const t=dm.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},_C=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return zC(Object.entries(e.classGroups),n).forEach(([o,s])=>{ad(s,r,o,t)}),r},ad=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:fm(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(VC(i)){ad(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{ad(s,fm(t,o),n,r)})})},fm=(e,t)=>{let n=e;return t.split($f).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},VC=e=>e.isThemeGetter,zC=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,a])=>[t+s,a])):o);return[n,i]}):e,BC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s)}}},Sw="!",$C=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,s=a=>{const l=[];let c=0,u=0,d;for(let x=0;x<a.length;x++){let m=a[x];if(c===0){if(m===i&&(r||a.slice(x,x+o)===t)){l.push(a.slice(u,x)),u=x+o;continue}if(m==="/"){d=x;continue}}m==="["?c++:m==="]"&&c--}const f=l.length===0?a:a.substring(u),p=f.startsWith(Sw),b=p?f.substring(1):f,h=d&&d>u?d-u:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:h}};return n?a=>n({className:a,parseClassName:s}):s},UC=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},WC=e=>({cache:BC(e.cacheSize),parseClassName:$C(e),...IC(e)}),HC=/\s+/,GC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(HC);let a="";for(let l=s.length-1;l>=0;l-=1){const c=s[l],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(c);let b=!!p,h=r(b?f.substring(0,p):f);if(!h){if(!b){a=c+(a.length>0?" "+a:a);continue}if(h=r(f),!h){a=c+(a.length>0?" "+a:a);continue}b=!1}const x=UC(u).join(":"),m=d?x+Sw:x,g=m+h;if(o.includes(g))continue;o.push(g);const w=i(h,b);for(let S=0;S<w.length;++S){const k=w[S];o.push(m+k)}a=c+(a.length>0?" "+a:a)}return a};function KC(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=kw(t))&&(r&&(r+=" "),r+=n);return r}const kw=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=kw(e[r]))&&(n&&(n+=" "),n+=t);return n};function qC(e,...t){let n,r,i,o=s;function s(l){const c=t.reduce((u,d)=>d(u),e());return n=WC(c),r=n.cache.get,i=n.cache.set,o=a,a(l)}function a(l){const c=r(l);if(c)return c;const u=GC(l,n);return i(l,u),u}return function(){return o(KC.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Cw=/^\[(?:([a-z-]+):)?(.+)\]$/i,QC=/^\d+\/\d+$/,YC=new Set(["px","full","screen"]),XC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ZC=/\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$/,JC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,eE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,an=e=>Ai(e)||YC.has(e)||QC.test(e),Dn=e=>no(e,"length",cE),Ai=e=>!!e&&!Number.isNaN(Number(e)),_c=e=>no(e,"number",Ai),wo=e=>!!e&&Number.isInteger(Number(e)),nE=e=>e.endsWith("%")&&Ai(e.slice(0,-1)),G=e=>Cw.test(e),Ln=e=>XC.test(e),rE=new Set(["length","size","percentage"]),iE=e=>no(e,rE,Ew),oE=e=>no(e,"position",Ew),sE=new Set(["image","url"]),aE=e=>no(e,sE,dE),lE=e=>no(e,"",uE),xo=()=>!0,no=(e,t,n)=>{const r=Cw.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},cE=e=>ZC.test(e)&&!JC.test(e),Ew=()=>!1,uE=e=>eE.test(e),dE=e=>tE.test(e),fE=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),i=oe("borderColor"),o=oe("borderRadius"),s=oe("borderSpacing"),a=oe("borderWidth"),l=oe("contrast"),c=oe("grayscale"),u=oe("hueRotate"),d=oe("invert"),f=oe("gap"),p=oe("gradientColorStops"),b=oe("gradientColorStopPositions"),h=oe("inset"),x=oe("margin"),m=oe("opacity"),g=oe("padding"),w=oe("saturate"),S=oe("scale"),k=oe("sepia"),C=oe("skew"),E=oe("space"),T=oe("translate"),M=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",G,t],I=()=>[G,t],K=()=>["",an,Dn],L=()=>["auto",Ai,G],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],_=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",G],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Ai,G];return{cacheSize:500,separator:":",theme:{colors:[xo],spacing:[an,Dn],blur:["none","",Ln,G],brightness:U(),borderColor:[e],borderRadius:["n
140one","","full",Ln,G],borderSpacing:I(),borderWidth:K(),contrast:U(),grayscale:R(),hueRotate:U(),invert:R(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[nE,Dn],inset:V(),margin:V(),opacity:U(),padding:I(),saturate:U(),scale:U(),sepia:R(),skew:U(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",G]}],container:["container"],columns:[{columns:[Ln]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"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:[...q(),G]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",wo,G]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",G]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",wo,G]}],"grid-cols":[{"grid-cols":[xo]}],"col-start-end":[{col:["auto",{span:["full",wo,G]},G]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[xo]}],"row-start-end":[{row:["auto",{span:[wo,G]},G]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",G]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",G]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",G,t]}],"min-w":[{"min-w":[G,t,"min","max","fit"]}],"max-w":[{"max-w":[G,t,"none","full","min","max","fit","prose",{screen:[Ln]},Ln]}],h:[{h:[G,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[G,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ln,Dn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_c]}],"font-family":[{font:[xo]}],"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",G]}],"line-clamp":[{"line-clamp":["none",Ai,_c]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",an,G]}],"list-image":[{"list-image":["none",G]}],"list-style-type":[{list:["none","disc","decimal",G]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",an,Dn]}],"underline-offset":[{"underline-offset":["auto",an,G]}],"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:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",G]}],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",G]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),oE]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",iE]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},aE]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}
vendor: 5,172 bytes, line 140
140],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:$()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[an,G]}],"outline-w":[{outline:[an,Dn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[an,Dn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ln,lE]}],"shadow-color":[{shadow:[xo]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[..._(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ln,G]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",G]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",G]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",G]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[wo,G]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",G]}],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",G]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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"]}
vendor: 4,646 bytes, line 140
140],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",G]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[an,Dn,_c]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},pE=qC(fE);function xe(...e){return pE(mw(e))}const hE=CC,Tw=v.forwardRef(({className:e,...t},n)=>y.jsx(lw,{ref:n,className:xe("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Tw.displayName=lw.displayName;const mE=Bf("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Pw=v.forwardRef(({className:e,variant:t,...n},r)=>y.jsx(cw,{ref:r,className:xe(mE({variant:t}),e),...n}));Pw.displayName=cw.displayName;const gE=v.forwardRef(({className:e,...t},n)=>y.jsx(fw,{ref:n,className:xe("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));gE.displayName=fw.displayName;const Aw=v.forwardRef(({className:e,...t},n)=>y.jsx(pw,{ref:n,className:xe("absolute right-2 top-2 rounded-md p-1 text-foreground
140/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:y.jsx(Pi,{className:"h-4 w-4"})}));Aw.displayName=pw.displayName;const Rw=v.forwardRef(({className:e,...t},n)=>y.jsx(uw,{ref:n,className:xe("text-sm font-semibold",e),...t}));Rw.displayName=uw.displayName;const Mw=v.forwardRef(({className:e,...t},n)=>y.jsx(dw,{ref:n,className:xe("text-sm opacity-90",e),...t}));Mw.displayName=dw.displayName;function yE(){const{toasts:e}=N2();return y.jsxs(hE,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return y.jsxs(Pw,{...o,children:[y.jsxs("div",{className:"grid gap-1",children:[n&&y.jsx(Rw,{children:n}),r&&y.jsx(Mw,{children:r})]}),i,y.jsx(Aw,{})]},t)}),y.jsx(Tw,{})]})}var pm=["light","dark"],vE="(prefers-color-scheme: dark)",wE=v.createContext(void 0),xE={setTheme:e=>{},themes:[]},bE=()=>{var e;return(e=v.useContext(wE))!=null?e:xE};v.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:o,value:s,attrs:a,nonce:l})=>{let c=o==="system",u=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?pm.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(b,h=!1,x=!0)=>{let m=s?s[b]:b,g=h?b+"|| ''":`'${m}'`,w="";return i&&x&&!h&&pm.includes(b)&&(w+=`d.style.colorScheme = '${b}';`),n==="class"?h||m?w+=`c.add(${g})`:w+="null":m&&(w+=`d[s](n,${g})`),w},p=e?`!function(){${u}${f(e)}}()`:r?`!function(){try{${u}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${vE}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}${c?"":"else{"+f(o,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}else{${f(o,!1,!1)};}${d}}catch(t){}}();`;return v.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var SE=e=>{switch(e){case"success":return EE;case"info":return PE;case"warning":return TE;case"error":return AE;default:return null}},kE=Array(12).fill(0),CE=({visible:e,className:t})=>D.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},D.createElement("div",{className:"sonner-spinner"},kE.map((n,r)=>D.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),EE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),TE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),PE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),AE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),RE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},D.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),D.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),ME=()=>{let[e,t]=D.useState(document.hidden);return D.useEffect(()=>{let n=()=>{t(document.hidden)};
140return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},ld=1,NE=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:ld++,o=this.toasts.find(a=>a.id===i),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
140this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,o,s=r.then(async l=>{if(o=["resolve",l],D.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(DE(l)&&!l.ok){i=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,u=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:c,description:u})}else if(t.success!==void 0){i=!1;let c=typeof t.success=="function"?await t.success(l):t.success,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:c,description:u})}}).catch(async l=>{if(o=["reject",l],t.error!==void 0){i=!1;let c=typeof t.error=="function"?await t.error(l):t.error,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:c,description:u})}}).finally(()=>{var l;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,c)=>s.then(()=>o[0]==="reject"?c(o[1]):l(o[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||ld++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Ze=new NE,jE=(e,t)=>{let n=(t==null?void 0:t.id)||ld++;return Ze.addToast({title:e,...t,id:n}),n},DE=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",LE=jE,OE=()=>Ze.toasts,IE=()=>Ze.getActiveToasts();Object.assign(LE,{success:Ze.success,info:Ze.info,warning:Ze.warning,error:Ze.error,custom:Ze.custom,message:Ze.message,promise:Ze.promise,dismiss:Ze.dismiss,loading:Ze.loading},{getHistory:OE,getToasts:IE});function FE(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}FE(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
140left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
140:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
140--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 141`);function ra(e){return e.label!==void 0}var _E=3,VE="32px",zE="16px",hm=4e3,BE=356,$E=14,UE=20,WE=200;function Rt(...e){return e.filter(Boolean).join(" ")}function HE(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var GE=e=>{var t,n,r,i,o,s,a,l,c,u,d;let{invert:f,toast:p,unstyled:b,interacting:h,setHeights:x,visibleToasts:m,heights:g,index:w,toasts:S,expanded:k,removeToast:C,defaultRichColors:E,closeButton:T,style:M,cancelButtonStyle:N,actionButtonStyle:V,className:I="",descriptionClassName:K="",duration:L,position:q,gap:$,loadingIcon:_,expandByDefault:P,classNames:R,icons:O,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:z}=e,[Q,X]=D.useState(null),[ke,Ie]=D.useState(null),[ee,Kr]=D.use
vendor: 1,882 bytes, line 141
141State(!1),[Tn,hr]=D.useState(!1),[Pn,qr]=D.useState(!1),[An,Ls]=D.useState(!1),[ic,Os]=D.useState(!1),[oc,lo]=D.useState(0),[Qr,Bp]=D.useState(0),co=D.useRef(p.duration||L||hm),$p=D.useRef(null),mr=D.useRef(null),Hb=w===0,Gb=w+1<=m,ht=p.type,Yr=p.dismissible!==!1,Kb=p.className||"",qb=p.descriptionClassName||"",Is=D.useMemo(()=>g.findIndex(W=>W.toastId===p.id)||0,[g,p.id]),Qb=D.useMemo(()=>{var W;return(W=p.closeButton)!=null?W:T},[p.closeButton,T]),Up=D.useMemo(()=>p.duration||L||hm,[p.duration,L]),sc=D.useRef(0),Xr=D.useRef(0),Wp=D.useRef(0),Zr=D.useRef(null),[Yb,Xb]=q.split("-"),Hp=D.useMemo(()=>g.reduce((W,ne,le)=>le>=Is?W:W+ne.height,0),[g,Is]),Gp=ME(),Zb=p.invert||f,ac=ht==="loading";Xr.current=D.useMemo(()=>Is*$+Hp,[Is,Hp]),D.useEffect(()=>{co.current=Up},[Up]),D.useEffect(()=>{Kr(!0)},[]),D.useEffect(()=>{let W=mr.current;if(W){let ne=W.getBoundingClientRect().height;return Bp(ne),x(le=>[{toastId:p.id,height:ne,position:p.position},...le]),()=>x(le=>le.filter(Et=>Et.toastId!==p.id))}},[x,p.id]),D.useLayoutEffect(()=>{if(!ee)return;let W=mr.current,ne=W.style.height;W.style.height="auto";let le=W.getBoundingClientRect().height;W.style.height=ne,Bp(le),x(Et=>Et.find(Tt=>Tt.toastId===p.id)?Et.map(Tt=>Tt.toastId===p.id?{...Tt,height:le}:Tt):[{toastId:p.id,height:le,position:p.position},...Et])},[ee,p.title,p.description,x,p.id]);let Rn=D.useCallback(()=>{hr(!0),lo(Xr.current),x(W=>W.filter(ne=>ne.toastId!==p.id)),setTimeout(()=>{C(p)},WE)},[p,C,x,Xr]);D.useEffect(()=>{if(p.promise&&ht==="loading"||p.duration===1/0||p.type==="loading")return;let W;return k||h||z&&Gp?(()=>{if(Wp.current<sc.current){let ne=new Date().getTime()-sc.current;co.current=co.current-ne}Wp.current=new Date().getTime()})():co.current!==1/0&&(sc.current=new Date().getTime(),W=setTimeout(()=>{var ne;(ne=p.onAutoClose)==null||ne.call(p,p),Rn()},co.current)),()=>clearTimeout(W)}
141,[k,h,p,ht,z,Gp,Rn]),D.useEffect(()=>{p.delete&&Rn()},[Rn,p.delete]);function Jb(){var W,ne,le;return O!=null&&O.loading?D.createElement("div",{className:Rt(R==null?void 0:R.loader,(W=p==null?void 0:p.classNames)==null?void 0:W.loader,"sonner-loader"),"data-visible":ht==="loading"},O.loading):_?D.createElement("div",{className:Rt(R==null?void 0:R.loader,(ne=p==null?void 0:p.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":ht==="loading"},_):D.createElement(CE,{className:Rt(R==null?void 0:R.loader,(le=p==null?void 0:p.classNames)==null?void 0:le.loader),visible:ht==="loading"})}return D.createElement("li",{tabIndex:0,ref:mr,className:Rt(I,Kb,R==null?void 0:R.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[ht],(n=p==null?void 0:p.classNames)==null?void 0:n[ht]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:E,"data-styled":!(p.jsx||p.unstyled||b),"data-mounted":ee,"data-promise":!!p.promise,"data-swiped":ic,"data-removed":Tn,"data-visible":Gb,"data-y-position":Yb,"data-x-position":Xb,"data-index":w,"data-front":Hb,"data-swiping":Pn,"data-dismissible":Yr,"data-type":ht,"data-invert":Zb,"data-swipe-out":An,"data-swipe-direction":ke,"data-expanded":!!(k||P&&ee),style:{"--index":w,"--toasts-before":w,"--z-index":S.length-w,"--offset":`${Tn?oc:Xr.current}px`,"--initial-height":P?"auto":`${Qr}px`,...M,...p.style},onDragEnd:()=>{qr(!1),X(null),Zr.current=null},onPointerDown:W=>{ac||!Yr||($p.current=new Date,lo(Xr.current),W.target.setPointerCapture(W.pointerId),W.target.tagName!=="BUTTON"&&(qr(!0),Zr.current={x:W.clientX,y:W.clientY}))},onPointerUp:()=>{var W,ne,le,Et;if(An||!Yr)return;Zr.current=null;let Tt=Number(((W=mr.current)==null?void 0:W.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Mn=Number(((ne=mr.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),gr=new Date().getTime()-((le=$p.current)==null?void 0:le.getTime()),Pt=Q==="x"?Tt:Mn,Nn=Math.abs(Pt)/gr;if(Math.abs(Pt)>=UE||Nn>.11){lo(Xr.current),(Et=p.onDismiss)==null||Et.call(p,p),Ie(Q==="x"?Tt>0?"right":"left":Mn>0?"down":"up"),Rn(),Ls(!0),Os(!1);return}qr(!1),X(null)},onPointerMove:W=>{var ne,le,Et,Tt;if(!Zr.current||!Yr||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let Mn=W.clientY-Zr.current.y,gr=W.clientX-Zr.current.x,Pt=(le=e.swipeDirections)!=null?le:HE(q);!Q&&(Math.abs(gr)>1||Math.abs(Mn)>1)&&X(Math.abs(gr)>Math.abs(Mn)?"x":"y");let Nn={x:0,y:0};Q==="y"?(Pt.includes("top")||Pt.includes("bottom"))&&(Pt.includes("top")&&Mn<0||Pt.includes("bottom")&&Mn>0)&&(Nn.y=Mn):Q==="x"&&(Pt.includes("left")||Pt.includes("right"))&&(Pt.includes("left")&&gr<0||Pt.includes("right")&&gr>0)&&(Nn.x=gr),(Math.abs(Nn.x)>0||Math.abs(Nn.y)>0)&&Os(!0),(Et=mr.current)==null||Et.style.setProperty("--swipe-amount-x",`${Nn.x}px`),(Tt=mr.current)==null||Tt.style.setProperty("--swipe-amount-y",`${Nn.y}px`)}},Qb&&!p.jsx?D.createElement("button",{"aria-label":U,"data-disabled":ac,"data-close-button":!0,onClick:ac||!Yr?()=>{}:()=>{var W;Rn(),(W=p.onDismiss)==null||W.call(p,p)},className:Rt(R==null?void 0:R.closeButton,(i=p==null?void 0:p.classNames)==null?void 0:i.closeButton)},(o=O==null?void 0:O.close)!=null?o:RE):null,p.jsx||v.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:D.createElement(D.Fragment,null,ht||p.icon||p.promise?D.createElement("div",{"data-icon":"",className:Rt(R==null?void 0:R.icon,(s=p==null?void 0:p.classNames)==null?void 0:s.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||Jb():null,p.type!=="loading"?p.icon||(O==null?void 0:O[ht])||SE(ht):null):null,D.createElement("div",{"data-content":"",className:Rt(R==null?void 0:R.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},D.createElement("div",{"data-title":"",className:Rt(R==null?void 0:R.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?D.createElement("div",{"data-description":"",className:Rt(K,qb,R==null?void 0:R.description,(c=p==null?void 0:p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),v.isValidElement(p.cancel)?p.cancel:p.cancel&&ra(p.cancel)?D.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||N,onClick:W=>{var ne,le;ra(p.cancel)&&Yr&&((le=(ne=p.cancel).onClick)==null||le.call(ne,W),Rn())},className:Rt(R==null?void 0:R.cancelButton,(u=p==null?void 0:p.classNames)==null?void 0:u.cancelButton)},p.cancel.label):null,v.isValidElement(p.action)?p.action:p.action&&ra(p.action)?D.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||V,onClick:W=>{var ne,le;ra(p.action)&&((le=(ne=p.action).onClick)==null||le.call(ne,W),!W.defaultPrevented&&Rn())},className:Rt(R==null?void 0:R.actionButton,(d=p==null?void 0:p.classNames)==null?void 0:d.actionButton)},p.action.label):null))};function mm(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function KE(e,t){let n={};return[e,t].forEach((r,i)=>{let o=i===1,s=o?"--mobile-offset":"--offset",a=o?zE:VE;function l(c){["top","right","bottom","left"].forEach(u=>{n[`${s}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${s}-${c}`]=a:n[`${s}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(a)}),n}var qE=v.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:o,closeButton:s,className:a,offset:l,mobileOffset:c,theme:u="light",richColors:d,duration:f,style:p,visibleToasts:b=_E,toastOptions:h,dir:x=mm(),gap:m=$E,loadingIcon:g,icons:w,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:k}=e,[C,E]=D.useState([]),T=D.useMemo(()=>Array.from(new Set([r].concat(C.filter(z=>z.position).map(z=>z.position)))),[C,r]),[M,N]=D.useState([]),[V,I]=D.useState(!1),[K,L]=D.useState(!1),[q,$]=D.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
141k":"light"),_=D.useRef(null),P=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=D.useRef(null),O=D.useRef(!1),U=D.useCallback(z=>{E(Q=>{var X;return(X=Q.find(ke=>ke.id===z.id))!=null&&X.delete||Ze.dismiss(z.id),Q.filter(({id:ke})=>ke!==z.id)})},[]);return D.useEffect(()=>Ze.subscribe(z=>{if(z.dismiss){E(Q=>Q.map(X=>X.id===z.id?{...X,delete:!0}:X));return}setTimeout(()=>{z0.flushSync(()=>{E(Q=>{let X=Q.findIndex(ke=>ke.id===z.id);return X!==-1?[...Q.slice(0,X),{...Q[X],...z},...Q.slice(X+1)]:[z,...Q]})})})}),[]),D.useEffect(()=>{if(u!=="system"){$(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:Q})=>{$(Q?"dark":"light")})}catch{z.addListener(({matches:X})=>{try{$(X?"dark":"light")}catch(ke){console.error(ke)}})}},[u]),D.useEffect(()=>{C.length<=1&&I(!1)},[C]),D.useEffect(()=>{let z=Q=>{var X,ke;i.every(Ie=>Q[Ie]||Q.code===Ie)&&(I(!0),(X=_.current)==null||X.focus()),Q.code==="Escape"&&(document.activeElement===_.current||(ke=_.current)!=null&&ke.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[i]),D.useEffect(()=>{if(_.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,O.current=!1)}},[_.current]),D.createElement("section",{ref:t,"aria-label":`${S} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((z,Q)=>{var X;let[ke,Ie]=z.split("-");return C.length?D.createElement("ol",{key:z,dir:x==="auto"?mm():x,tabIndex:-1,ref:_,className:a,"data-sonner-toaster":!0,"data-theme":q,"data-y-position":ke,"data-lifted":V&&C.length>1&&!o,"data-x-position":Ie,style:{"--front-toast-height":`${((X=M[0])==null?void 0:X.height)||0}px`,"--width":`${BE}px`,"--gap":`${m}px`,...p,...KE(l,c)},onBlur:ee=>{O.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(O.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||O.current||(O.current=!0,R.current=ee.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{K||I(!1)},onDragEnd:()=>I(!1),onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},C.filter(ee=>!ee.position&&Q===0||ee.position===z).map((ee,Kr)=>{var Tn,hr;return D.createElement(GE,{key:ee.id,icons:w,index:Kr,toast:ee,defaultRichColors:d,duration:(Tn=h==null?void 0:h.duration)!=null?Tn:f,className:h==null?void 0:h.className,descriptionClassName:h==null?void 0:h.descriptionClassName,invert:n,visibleToasts:b,closeButton:(hr=h==null?void 0:h.closeButton)!=null?hr:s,interacting:K,position:z,style:h==null?void 0:h.style,unstyled:h==null?void 0:h.unstyled,classNames:h==null?void 0:h.classNames,cancelButtonStyle:h==null?void 0:h.cancelButtonStyle,actionButtonStyle:h==null?void 0:h.actionButtonStyle,removeToast:U,toasts:C.filter(Pn=>Pn.position==ee.position),heights:M.filter(Pn=>Pn.position==ee.position),setHeights:N,expandByDefault:o,gap:m,loadingIcon:g,expanded:V,pauseWhenPageIsHidden:k,swipeDirections:e.swipeDirections})})):null}))});const QE=({...e})=>{const{theme:t="system"}=bE();return y.jsx(qE,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var YE=Hd[" useId ".trim().toString()]||(()=>{}),XE=0;function Vc(e){const[t,n]=v.useState(YE());return wn(()=>{e||n(r=>r??String(XE++))},[e]),e||(t?`radix-${t}`:"")}const ZE=["top","right","bottom","left"],ar=Math.min,at=Math.max,sl=Math.round,ia=Math.floor,Jt=e=>({x:e,y:e}
vendor: 10,346 bytes, line 141
141),JE={left:"right",right:"left",bottom:"top",top:"bottom"},eT={start:"end",end:"start"};function cd(e,t,n){return at(e,ar(t,n))}function xn(e,t){return typeof e=="function"?e(t):e}function bn(e){return e.split("-")[0]}function ro(e){return e.split("-")[1]}function Uf(e){return e==="x"?"y":"x"}function Wf(e){return e==="y"?"height":"width"}const tT=new Set(["top","bottom"]);function Yt(e){return tT.has(bn(e))?"y":"x"}function Hf(e){return Uf(Yt(e))}function nT(e,t,n){n===void 0&&(n=!1);const r=ro(e),i=Hf(e),o=Wf(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=al(s)),[s,al(s)]}function rT(e){const t=al(e);return[ud(e),t,ud(t)]}function ud(e){return e.replace(/start|end/g,t=>eT[t])}const gm=["left","right"],ym=["right","left"],iT=["top","bottom"],oT=["bottom","top"];function sT(e,t,n){switch(e){case"top":case"bottom":return n?t?ym:gm:t?gm:ym;case"left":case"right":return t?iT:oT;default:return[]}}function aT(e,t,n,r){const i=ro(e);let o=sT(bn(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(ud)))),o}function al(e){return e.replace(/left|right|bottom|top/g,t=>JE[t])}function lT(e){return{top:0,right:0,bottom:0,left:0,...e}}function Nw(e){return typeof e!="number"?lT(e):{top:e,right:e,bottom:e,left:e}}function ll(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function vm(e,t,n){let{reference:r,floating:i}=e;const o=Yt(t),s=Hf(t),a=Wf(s),l=bn(t),c=o==="y",u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-i.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(ro(t)){case"start":p[s]-=f*(n&&c?-1:1);break;case"end":p[s]+=f*(n&&c?-1:1);break}return p}const cT=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=vm(c,r,l),f=r,p={},b=0;for(let h=0;h<a.length;h++){const{name:x,fn:m}=a[h],{x:g,y:w,data:S,reset:k}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=g??u,d=w??d,p={...p,[x]:{...p[x],...S}},k&&b<=50&&(b++,typeof k=="object"&&(k.placement&&(f=k.placement),k.rects&&(c=k.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):k.rects),{x:u,y:d}=vm(c,f,l)),h=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function as(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=xn(t,e),b=Nw(p),x=a[f?d==="floating"?"reference":"floating":d],m=ll(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),g=d==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,w=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),S=await(o.isElement==null?void 0:o.isElement(w))?await(o.getScale==null?void 0:o.getScale(w))||{x:1,y:1}:{x:1,y:1},k=ll(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:w,strategy:l}):g);return{top:(m.top-k.top+b.top)/S.y,bottom:(k.bottom-m.bottom+b.bottom)/S.y,left:(m.left-k.left+b.left)/S.x,right:(k.right-m.right+b.right)/S.x}}const uT=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=xn(e,t)||{};if(c==null)return{};const d=Nw(u),f={x:n,y:r},p=Hf(i),b=Wf(p),h=await s.getDimensions(c),x=p==="y",m=x?"top":"left",g=x?"bottom":"right",w=x?"clientHeight":"clientWidth",S=o.reference[b]+o.reference[p]-f[p]-o.floating[b],k=f[p]-o.reference[p],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let E=C?C[w]:0;(!E||!await(s.isElement==null?void 0:s.isElement(C)))&&(E=a.floating[w]||o.floating[b]);const T=S/2-k/2,M=E/2-h[b]/2-1,N=ar(d[m],M),V=ar(d[g],M),I=N,K=E-h[b]-V,L=E/2-h[b]/2+T,q=cd(I,L,K),$=!l.arrow&&ro(i)!=null&&L!==q&&o.reference[b]/2-(L<I?N:V)-h[b]/2<0,_=$?L<I?L-I:L-K:0;return{[p]:f[p]+_,data:{[p]:q,centerOffset:L-q-_,...$&&{alignmentOffset:_}},reset:$}}}),dT=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:h=!0,...x}=xn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const m=bn(i),g=Yt(a),w=bn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(c.floating)),k=f||(w||!h?[al(a)]:rT(a)),C=b!=="none";!f&&C&&k.push(...aT(a,h,b,S));const E=[a,...k],T=await as(t,x),M=[];let N=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&M.push(T[m]),d){const L=nT(i,s,S);M.push(T[L[0]],T[L[1]])}if(N=[...N,{placement:i,overflows:M}],!M.every(L=>L<=0)){var V,I;const L=(((V=o.flip)==null?void 0:V.index)||0)+1,q=E[L];if(q&&(!(d==="alignment"?g!==Yt(q):!1)||N.every(P=>P.overflows[0]>0&&Yt(P.placement)===g)))return{data:{index:L,overflows:N},reset:{placement:q}};let $=(I=N.filter(_=>_.overflows[0]<=0).sort((_,P)=>_.overflows[1]-P.overflows[1])[0])==null?void 0:I.placement;if(!$)switch(p){case"bestFit":{var K;const _=(K=N.filter(P=>{if(C){const R=Yt(P.placement);return R===g||R==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(R=>R>0).reduce((R,O)=>R+O,0)]).sort((P,R)=>P[1]-R[1])[0])==null?void 0:K[0];_&&($=_);break}case"initialPlacement":$=a;break}if(i!==$)return{reset:{placement:$}}}return{}}}};function wm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function xm(e){return ZE.some(t=>e[t]>=0)}const fT=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=xn(e,t);switch(r){case"referenceHidden":{const o=await as(t,{...i,elementContext:"reference"}),s=wm(o,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:xm(s)}}}case"escaped":{const o=await as(t,{...i,altBoundary:!0}),s=wm(o,n.floating);return{data:{escapedOffsets:s,escaped:xm(s)}}}default:return{}}}}},jw=new Set(["left","top"]);async function pT(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=bn(n),a=ro(n),l=Yt(n)==="y",c=jw.has(s)?-1:1,u=o&&l?-1:1,d=xn(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:b}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof b=="number"&&(p=a==="end"?b*-1:b),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}const hT=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await pT(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},mT=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:x=>{let{x:m,y:g}=x;return{x:m,y:g}}},...l}=xn(e,t),c={x:n,y:r},u=await as(t,l),d=Yt(bn(i)),f=Uf(d);let p=c[f],b=c[d];if(o){const x=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=p+u[x],w=p-u[m];p=cd(g,p,w)}if(s){const x=d==="y"?"top":"left",m=d==="y"?"bottom":"right",g=b+u[x],w=b-u[m];b=cd(g,b,w)}const h=a.fn({...t,[f]:p,[d]:b});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:o,[d]:s}}}}}},gT=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=xn(e,t),u={x:n,y:r},d=Yt(i),f=Uf(d);let p=u[f],b=u[d];const h=xn(a,t),x=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const w=f==="y"?"height":"width",S=o.reference[f]-o.floating[w]+x.mainAxis,k=o.reference[f]+o.reference[w]-x.mainAxis;p<S?p=S:p>k&&(p=k)}if(c){var m,g;const w=f==="y"?"width":"height",S=jw.has(bn(i)),k=o.reference[d]-o.floating[w]+(S&&((m=s.offset)==null?void 0:m[d])||0)+(S?0:x.crossAxis),C=o.reference[d]+o.reference[w]+(S?0:((g=s.offset)==null?void 0:g[d])||0)-(S?x.crossAxis:0);b<k?b=k:b>C&&(b=C)}return{[f]:p,[d]:b}}}},yT=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:s,elements:a}=t,{apply:l=()=>{},...c}=xn(e,t),u=await as(t,c),d=bn(i),f=ro(i),p=Yt(i)==="y",{width:b,height:h}=o.floating;let x,m;d==="top"||d==="bottom"?(x=d,m=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(m=d,x=f==="end"?"top":"bottom");const g=h-u.top-u.bottom,w=b-u.left-u.right,S=ar(h-u[x],g),k=ar(b-u[m],w),C=!t.middlewareData.shift;let E=S,T=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=g),C&&!f){const N=at(u.left,0),V=at(u.right,0),I=at(u.top,0),K=at(u.bottom,0);p?T=b-2*(N!==0||V!==0?N+V:at(u.left,u.right)):E=h-2*(I!==0||K!==0?I+K:at(u.top,u.bottom))}await l({...t,availableWidth:T,availableHeight:E});const M=await s.getDimensions(a.floating);return b!==M.width||h!==M.height?{reset:{rects:!0}}:{}}}};function Bl(){return typeof window<"u"}function io(e){return Dw(e)?(e.nodeName||"").toLowerCase():"#document"}function ut(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function sn(e){var t;return(t=(Dw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Dw(e){return Bl()?e instanceof Node||e instanceof ut(e).Node:!1}function zt(e){return Bl()?e instanceof Element||e instanceof ut(e).Element:!1}function on(e){return Bl()?e instanceof HTMLElement||e instanceof ut(e).HTMLElement:!1}function bm(e){return!Bl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ut(e).ShadowRoot}const vT=new Set(["inline","contents"]);function Ps(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Bt(e);
vendor: 4,121 bytes, line 141
141return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!vT.has(i)}const wT=new Set(["table","td","th"]);function xT(e){return wT.has(io(e))}const bT=[":popover-open",":modal"];function $l(e){return bT.some(t=>{try{return e.matches(t)}catch{return!1}})}const ST=["transform","translate","scale","rotate","perspective"],kT=["transform","translate","scale","rotate","perspective","filter"],CT=["paint","layout","strict","content"];function Gf(e){const t=Kf(),n=zt(e)?Bt(e):e;return ST.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||kT.some(r=>(n.willChange||"").includes(r))||CT.some(r=>(n.contain||"").includes(r))}function ET(e){let t=lr(e);for(;on(t)&&!qi(t);){if(Gf(t))return t;if($l(t))return null;t=lr(t)}return null}function Kf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const TT=new Set(["html","body","#document"]);function qi(e){return TT.has(io(e))}function Bt(e){return ut(e).getComputedStyle(e)}function Ul(e){return zt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function lr(e){if(io(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bm(e)&&e.host||sn(e);return bm(t)?t.host:t}function Lw(e){const t=lr(e);return qi(t)?e.ownerDocument?e.ownerDocument.body:e.body:on(t)&&Ps(t)?t:Lw(t)}function ls(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Lw(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=ut(i);if(o){const a=dd(s);return t.concat(s,s.visualViewport||[],Ps(i)?i:[],a&&n?ls(a):[])}return t.concat(i,ls(i,[],n))}function dd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ow(e){const t=Bt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=on(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=sl(n)!==o||sl(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function qf(e){return zt(e)?e:e.contextElement}function Ri(e){const t=qf(e);if(!on(t))return Jt(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Ow(t);let s=(o?sl(n.width):n.width)/r,a=(o?sl(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const PT=Jt(0);function Iw(e){const t=ut(e);return!Kf()||!t.visualViewport?PT:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function AT(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ut(e)?!1:t}function Br(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=qf(e);let s=Jt(1);t&&(r?zt(r)&&(s=Ri(r)):s=Ri(e));const a=AT(o,n,r)?Iw(o):Jt(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(o){const f=ut(o),p=r&&zt(r)?ut(r):r;let b=f,h=dd(b);for(;h&&r&&p!==b;){const x=Ri(h),m=h.getBoundingClientRect(),g=Bt(h),w=m.left+(h.clientLeft+parseFloat(g.paddingLeft))*x.x,S=m.top+(h.clientTop+parseFloat(g.paddingTop))*x.y;l*=x.x,c*=x.y,u*=x.x,d*=x.y,l+=w,c+=S,b=ut(h),h=dd(b)}}return ll({width:u,height:d,x:l,y:c})}function Qf(e,t){const n=Ul(e).scrollLeft;return t?t.left+n:Br(sn(e)).left+n}function Fw(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:Qf(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function RT(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=sn(r),a=t?$l(t.floating):!1;if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},c=Jt(1);const u=Jt(0),d=on(r);if((d||!d&&!o)&&((io(r)!=="body"||Ps(s))&&(l=Ul(r)),on(r))){const p=Br(r);c=Ri(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}const f=s&&!d&&!o?Fw(s,l,!0):Jt(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}}function MT(e){return Array.from(e.getClientRects())}function NT(e){const t=sn(e),n=Ul(e),r=e.ownerDocument.body,i=at(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=at(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Qf(e);const a=-n.scrollTop;return Bt(r).direction==="rtl"&&(s+=at(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}
vendor: 13,149 bytes, line 141
141function jT(e,t){const n=ut(e),r=sn(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const c=Kf();(!c||c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}const DT=new Set(["absolute","fixed"]);function LT(e,t){const n=Br(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=on(e)?Ri(e):Jt(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,c=r*o.y;return{width:s,height:a,x:l,y:c}}function Sm(e,t,n){let r;if(t==="viewport")r=jT(e,n);else if(t==="document")r=NT(sn(e));else if(zt(t))r=LT(t,n);else{const i=Iw(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return ll(r)}function _w(e,t){const n=lr(e);return n===t||!zt(n)||qi(n)?!1:Bt(n).position==="fixed"||_w(n,t)}function OT(e,t){const n=t.get(e);if(n)return n;let r=ls(e,[],!1).filter(a=>zt(a)&&io(a)!=="body"),i=null;const o=Bt(e).position==="fixed";let s=o?lr(e):e;for(;zt(s)&&!qi(s);){const a=Bt(s),l=Gf(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&DT.has(i.position)||Ps(s)&&!l&&_w(e,s))?r=r.filter(u=>u!==s):i=a,s=lr(s)}return t.set(e,r),r}function IT(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?$l(t)?[]:OT(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((c,u)=>{const d=Sm(t,u,i);return c.top=at(d.top,c.top),c.right=ar(d.right,c.right),c.bottom=ar(d.bottom,c.bottom),c.left=at(d.left,c.left),c},Sm(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function FT(e){const{width:t,height:n}=Ow(e);return{width:t,height:n}}function _T(e,t,n){const r=on(t),i=sn(t),o=n==="fixed",s=Br(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=Jt(0);function c(){l.x=Qf(i)}if(r||!r&&!o)if((io(t)!=="body"||Ps(i))&&(a=Ul(t)),r){const p=Br(t,!0,o,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&c();o&&!r&&i&&c();const u=i&&!r&&!o?Fw(i,a):Jt(0),d=s.left+a.scrollLeft-l.x-u.x,f=s.top+a.scrollTop-l.y-u.y;return{x:d,y:f,width:s.width,height:s.height}}function zc(e){return Bt(e).position==="static"}function km(e,t){if(!on(e)||Bt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return sn(e)===n&&(n=n.ownerDocument.body),n}function Vw(e,t){const n=ut(e);if($l(e))return n;if(!on(e)){let i=lr(e);for(;i&&!qi(i);){if(zt(i)&&!zc(i))return i;i=lr(i)}return n}let r=km(e,t);for(;r&&xT(r)&&zc(r);)r=km(r,t);return r&&qi(r)&&zc(r)&&!Gf(r)?n:r||ET(e)||n}const VT=async function(e){const t=this.getOffsetParent||Vw,n=this.getDimensions,r=await n(e.floating);return{reference:_T(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function zT(e){return Bt(e).direction==="rtl"}const BT={convertOffsetParentRelativeRectToViewportRelativeRect:RT,getDocumentElement:sn,getClippingRect:IT,getOffsetParent:Vw,getElementRects:VT,getClientRects:MT,getDimensions:FT,getScale:Ri,isElement:zt,isRTL:zT};function zw(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function $T(e,t){let n=null,r;const i=sn(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=c;if(a||t(),!f||!p)return;const b=ia(d),h=ia(i.clientWidth-(u+f)),x=ia(i.clientHeight-(d+p)),m=ia(u),w={rootMargin:-b+"px "+-h+"px "+-x+"px "+-m+"px",threshold:at(0,ar(1,l))||1};let S=!0;function k(C){const E=C[0].intersectionRatio;if(E!==l){if(!S)return s();E?s(!1,E):r=setTimeout(()=>{s(!1,1e-7)},1e3)}E===1&&!zw(c,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(k,{...w,root:i.ownerDocument})}catch{n=new IntersectionObserver(k,w)}n.observe(e)}return s(!0),o}function UT(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=qf(e),u=i||o?[...c?ls(c):[],...ls(t)]:[];u.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),o&&m.addEventListener("resize",n)});const d=c&&a?$T(c,n):null;let f=-1,p=null;s&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),n()}),c&&!l&&p.observe(c),p.observe(t));let b,h=l?Br(e):null;l&&x();function x(){const m=Br(e);h&&!zw(h,m)&&n(),h=m,b=requestAnimationFrame(x)}return n(),()=>{var m;u.forEach(g=>{i&&g.removeEventListener("scroll",n),o&&g.removeEventListener("resize",n)}),d==null||d(),(m=p)==null||m.disconnect(),p=null,l&&cancelAnimationFrame(b)}}const WT=hT,HT=mT,GT=dT,KT=yT,qT=fT,Cm=uT,QT=gT,YT=(e,t,n)=>{const r=new Map,i={platform:BT,...n},o={...i.platform,_c:r};return cT(e,t,{...i,platform:o})};var XT=typeof document<"u",ZT=function(){},Ra=XT?v.useLayoutEffect:ZT;function cl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!cl(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!cl(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Bw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Em(e,t){const n=Bw(e);return Math.round(t*n)/n}function Bc(e){const t=v.useRef(e);return Ra(()=>{t.current=e}),t}function JT(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[u,d]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=v.useState(r);cl(f,r)||p(r);const[b,h]=v.useState(null),[x,m]=v.useState(null),g=v.useCallback(P=>{P!==C.current&&(C.current=P,h(P))},[]),w=v.useCallback(P=>{P!==E.current&&(E.current=P,m(P))},[]),S=o||b,k=s||x,C=v.useRef(null),E=v.useRef(null),T=v.useRef(u),M=l!=null,N=Bc(l),V=Bc(i),I=Bc(c),K=v.useCallback(()=>{if(!C.current||!E.current)return;const P={placement:t,strategy:n,middleware:f};V.current&&(P.platform=V.current),YT(C.current,E.current,P).then(R=>{const O={...R,isPositioned:I.current!==!1};L.current&&!cl(T.current,O)&&(T.current=O,Es.flushSync(()=>{d(O)}))})},[f,t,n,V,I]);Ra(()=>{c===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,d(P=>({...P,isPositioned:!1})))},[c]);const L=v.useRef(!1);Ra(()=>(L.current=!0,()=>{L.current=!1}),[]),Ra(()=>{if(S&&(C.current=S),k&&(E.current=k),S&&k){if(N.current)return N.current(S,k,K);K()}},[S,k,K,N,M]);const q=v.useMemo(()=>({reference:C,floating:E,setReference:g,setFloating:w}),[g,w]),$=v.useMemo(()=>({reference:S,floating:k}),[S,k]),_=v.useMemo(()=>{const P={position:n,left:0,top:0};if(!$.floating)return P;const R=Em($.floating,u.x),O=Em($.floating,u.y);return a?{...P,transform:"translate("+R+"px, "+O+"px)",...Bw($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:O}},[n,a,$.floating,u.x,u.y]);return v.useMemo(()=>({...u,update:K,refs:q,elements:$,floatingStyles:_}),[u,K,q,$,_])}const eP=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Cm({element:r.current,padding:i}).fn(n):{}:r?Cm({element:r,padding:i}).fn(n):{}}}},tP=(e,t)=>({...WT(e),options:[e,t]}),nP=(e,t)=>({...HT(e),options:[e,t]}),rP=(e,t)=>({...QT(e),options:[e,t]}),iP=(e,t)=>({...GT(e),options:[e,t]}),oP=(e,t)=>({...KT(e),options:[e,t]}),sP=(e,t)=>({...qT(e),options:[e,t]}),aP=(e,t)=>({...eP(e),options:[e,t]});var lP="Arrow",$w=v.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return y.jsx(we.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});$w.displayName=lP;var cP=$w;function uP(e){const[t,n]=v.useState(void 0);return wn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let s,a;if("borderBoxSize"in o){const l=o.borderBoxSize,c=Array.isArray(l)?l[0]:l;s=c.inlineSize,a=c.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Uw="Popper",[Ww,Hw]=eo(Uw),[w4,Gw]=Ww(Uw),Kw="PopperAnchor",qw=v.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Gw(Kw,n),s=v.useRef(null),a=Qe(t,s);return v.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:y.jsx(we.div,{...i,ref:a})});qw.displayName=Kw;var Yf="PopperContent",[dP,fP]=Ww(Yf),Qw=v.forwardRef((e,t)=>{var ee,Kr,Tn,hr,Pn,qr;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:u=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:b,...h}=e,x=Gw(Yf,n),[m,g]=v.useState(null),w=Qe(t,An=>g(An)),[S,k]=v.useState(null),C=uP(S),E=(C==null?void 0:C.width)??0,T=(C==null?void 0:C.height)??0,M=r+(o!=="center"?"-"+o:""),N=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},V=Array.isArray(c)?c:[c],I=V.length>0,K={padding:N,boundary:V.filter(hP),altBoundary:I},{refs:L,floatingStyles:q,placement:$,isPositioned:_,middlewareData:P}=JT({strategy:"fixed",placement:M,whileElementsMounted:(...An)=>UT(...An,{animationFrame:p==="always"}),elements:{reference:x.anchor},middleware:[tP({mainAxis:i+T,alignmentAxis:s}),l&&nP({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?rP():void 0,...K}),l&&iP({...K}),oP({...K,apply:({elements:An,rects:Ls,availableWidth:ic,availableHeight:Os})=>{const{width:oc,height:lo}=Ls.reference,Qr=An.floating.style;Qr.setProperty("--radix-popper-available-width",`${ic}px`),Qr.setProperty("--radix-popper-available-height",`${Os}px`),Qr.setProperty("--radix-popper-anchor-width",`${oc}px`),Qr.setProperty("--radix-popper-anchor-height",`${lo}px`)}}),S&&aP({element:S,padding:a}),mP({arrowWidth:E,arrowHeight:T}),f&&sP({strategy:"referenceHidden",...K})]}),[R,O]=Zw($),U=rn(b);wn(()=>{_&&(U==null||U())},[_,U]);const z=(ee=P.arrow)==null?void 0:ee.x,Q=(Kr=P.arrow)==null?void 0:Kr.y,X=((Tn=P.arrow)==null?void 0:Tn.centerOffset)!==0,[ke,Ie]=v.useState();return wn(()=>{m&&Ie(window.getComputedStyle(m).zIndex)},[m]),y.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:_?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ke,"--radix-popper-transform-origin":[(hr=P.transformOrigin)==null?void 0:hr.x,(Pn=P.transformOrigin)==null?void 0:Pn.y].join(" "),...((qr=P.hide)==null?void 0:qr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:y.jsx(dP,{scope:n,placedSide:R,onArrowChange:k,arrowX:z,arrowY:Q,shouldHideArrow:X,children:y.jsx(we.div,{"data-side":R,"data-align":O,...h,ref:w,style:{...h.style,animation:_?void 0:"none"}})})})});Qw.displayName=Yf;var Yw="PopperArrow",pP={top:"bottom",right:"left",bottom:"top",left:"right"},Xw=v.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=fP(Yw,r),s=pP[o.placedSide];return y.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:y.jsx(cP,{...i,ref:n,style:{...i.style,display:"block"}})})});Xw.displayName=Yw;function hP(e){return e!==null}var mP=e=>({name:"transformOrigin",options:e,fn(t){var x,m,g;const{placement:n,rects:r,middlewareData:i}=t,s=((x=i.arrow)==null?void 0:x.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[c,u]=Zw(n),d={start:"0%",center:"50%",end:"100%"}[u],f=(((m=i.arrow)==null?void 0:m.x)??0)+a/2,p=(((g=i.arrow)==null?void 0:g.y)??0)+l/2;let b="",h="";return c==="bottom"?(b=s?d:`${f}px`,h=`${-l}px`):c==="top"?(b=s?d:`${f}px`,h=`${r.floating.height+l}px`):c==="right"?(b=`${-l}px`,h=s?d:`${p}px`):c==="left"&&(b=`${r.floating.width+l}px`,h=s?d:`${p}px`),{data:{x:b,y:h}}}});function Zw(e){const[t,n="center"]=e.split("-");return[t,n]}var gP=qw,yP=Qw,vP=Xw,[Wl,x4]=eo("Tooltip",[Hw]),Xf=Hw(),Jw="TooltipProvider",wP=700,Tm="tooltip.open",[xP,ex]=Wl(Jw),tx=e=>{const{__scopeTooltip:t,delayDuration:n=wP,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,s=v.useRef(!0),a=v.useRef(!1),l=v.useRef(0);return v.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),y.jsx(xP,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:v.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:v.useCallback(c=>{a.current=c}
vendor: 5,737 bytes, line 141
141,[]),disableHoverableContent:i,children:o})};tx.displayName=Jw;var nx="Tooltip",[b4,Hl]=Wl(nx),fd="TooltipTrigger",bP=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Hl(fd,n),o=ex(fd,n),s=Xf(n),a=v.useRef(null),l=Qe(t,a,i.onTriggerChange),c=v.useRef(!1),u=v.useRef(!1),d=v.useCallback(()=>c.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),y.jsx(gP,{asChild:!0,...s,children:y.jsx(we.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:ue(e.onPointerMove,f=>{f.pointerType!=="touch"&&!u.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),u.current=!0)}),onPointerLeave:ue(e.onPointerLeave,()=>{i.onTriggerLeave(),u.current=!1}),onPointerDown:ue(e.onPointerDown,()=>{i.open&&i.onClose(),c.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ue(e.onFocus,()=>{c.current||i.onOpen()}),onBlur:ue(e.onBlur,i.onClose),onClick:ue(e.onClick,i.onClose)})})});bP.displayName=fd;var SP="TooltipPortal",[S4,kP]=Wl(SP,{forceMount:void 0}),Qi="TooltipContent",rx=v.forwardRef((e,t)=>{const n=kP(Qi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,s=Hl(Qi,e.__scopeTooltip);return y.jsx(to,{present:r||s.open,children:s.disableHoverableContent?y.jsx(ix,{side:i,...o,ref:t}):y.jsx(CP,{side:i,...o,ref:t})})}),CP=v.forwardRef((e,t)=>{const n=Hl(Qi,e.__scopeTooltip),r=ex(Qi,e.__scopeTooltip),i=v.useRef(null),o=Qe(t,i),[s,a]=v.useState(null),{trigger:l,onClose:c}=n,u=i.current,{onPointerInTransitChange:d}=r,f=v.useCallback(()=>{a(null),d(!1)},[d]),p=v.useCallback((b,h)=>{const x=b.currentTarget,m={x:b.clientX,y:b.clientY},g=RP(m,x.getBoundingClientRect()),w=MP(m,g),S=NP(h.getBoundingClientRect()),k=DP([...w,...S]);a(k),d(!0)},[d]);return v.useEffect(()=>()=>f(),[f]),v.useEffect(()=>{if(l&&u){const b=x=>p(x,u),h=x=>p(x,l);return l.addEventListener("pointerleave",b),u.addEventListener("pointerleave",h),()=>{l.removeEventListener("pointerleave",b),u.removeEventListener("pointerleave",h)}}},[l,u,p,f]),v.useEffect(()=>{if(s){const b=h=>{const x=h.target,m={x:h.clientX,y:h.clientY},g=(l==null?void 0:l.contains(x))||(u==null?void 0:u.contains(x)),w=!jP(m,s);g?f():w&&(f(),c())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,u,s,c,f]),y.jsx(ix,{...e,ref:o})}),[EP,TP]=Wl(nx,{isInside:!1}),PP=I2("TooltipContent"),ix=v.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:s,...a}=e,l=Hl(Qi,n),c=Xf(n),{onClose:u}=l;return v.useEffect(()=>(document.addEventListener(Tm,u),()=>document.removeEventListener(Tm,u)),[u]),v.useEffect(()=>{if(l.trigger){const d=f=>{const p=f.target;p!=null&&p.contains(l.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,u]),y.jsx(_l,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:u,children:y.jsxs(yP,{"data-state":l.stateAttribute,...c,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[y.jsx(PP,{children:r}),y.jsx(EP,{scope:n,isInside:!0,children:y.jsx(sC,{id:l.contentId,role:"tooltip",children:i||r})})]})})});rx.displayName=Qi;var ox="TooltipArrow",AP=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Xf(n);return TP(ox,n).isInside?null:y.jsx(vP,{...i,...r,ref:t})});AP.displayName=ox;function RP(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function MP(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function NP(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function jP(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,s=t.length-1;o<t.length;s=o++){const a=t[o],l=t[s],c=a.x,u=a.y,d=l.x,f=l.y;u>r!=f>r&&n<(d-c)*(r-u)/(f-u)+c&&(i=!i)}return i}function DP(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),LP(t)}function LP(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const o=t[t.length-1],s=t[t.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const o=n[n.length-1],s=n[n.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var OP=tx,sx=rx;const IP=OP,FP=v.forwardRef(({className:e,sideOffset:t=4,...n},r)=>y.jsx(sx,{ref:r,sideOffset:t,className:xe("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
141de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));FP.displayName=sx.displayName;var Gl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Kl=typeof window>"u"||"Deno"in globalThis;function jt(){}function _P(e,t){return typeof e=="function"?e(t):e}function VP(e){return typeof e=="number"&&e>=0&&e!==1/0}function zP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function pd(e,t){return typeof e=="function"?e(t):e}function BP(e,t){return typeof e=="function"?e(t):e}function Pm(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Zf(s,t.options))return!1}else if(!us(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||o&&!o(t))}function Am(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(cs(t.options.mutationKey)!==cs(o))return!1}else if(!us(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Zf(e,t){return((t==null?void 0:t.queryKeyHashFn)||cs)(e)}function cs(e){return JSON.stringify(e,(t,n)=>hd(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function us(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>us(e[n],t[n])):!1}function ax(e,t){if(e===t)return e;const n=Rm(e)&&Rm(t);if(n||hd(e)&&hd(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,a=n?[]:{},l=new Set(r);let c=0;for(let u=0;u<s;u++){const d=n?u:o[u];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,c++):(a[d]=ax(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&c++)}return i===s&&c===i?e:a}return t}function Rm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function hd(e){if(!Mm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Mm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Mm(e){return Object.prototype.toString.call(e)==="[object Object]"}function $P(e){return new Promise(t=>{setTimeout(t,e)})}function UP(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ax(e,t):t}function WP(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function HP(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Jf=Symbol();function lx(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Jf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Tr,$n,Di,wy,GP=(wy=class extends Gl{constructor(){super();J(this,Tr);J(this,$n);J(this,Di);H(this,Di,t=>{if(!Kl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,$n)||this.setEventListener(A(this,Di))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,$n))==null||t.call(this),H(this,$n,void 0))}setEventListener(t){var n;H(this,Di,t),(n=A(this,$n))==null||n.call(this),H(this,$n,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,Tr)!==t&&(H(this,Tr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,Tr)=="boolean"?A(this,Tr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Tr=new WeakMap,$n=new WeakMap,Di=new WeakMap,wy),cx=new GP,Li,Un,Oi,xy,KP=(xy=class extends Gl{constructor(){super();J(this,Li,!0);J(this,Un);J(this,Oi);H(this,Oi,t=>{if(!Kl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){A(this,Un)||this.setEventListener(A(this,Oi))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,Un))==null||t.call(this),H(this,Un,void 0))}setEventListener(t){var n;H(this,Oi,t),(n=A(this,Un))==null||n.call(this),H(this,Un,t(this.setOnline.bind(this)))}setOnline(t){A(this,Li)!==t&&(H(this,Li,t),this.listeners.forEac
vendor: 13,983 bytes, line 141
141h(r=>{r(t)}))}isOnline(){return A(this,Li)}},Li=new WeakMap,Un=new WeakMap,Oi=new WeakMap,xy),ul=new KP;function qP(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function QP(e){return Math.min(1e3*2**e,3e4)}function ux(e){return(e??"online")==="online"?ul.isOnline():!0}var dx=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function $c(e){return e instanceof dx}function fx(e){let t=!1,n=0,r=!1,i;const o=qP(),s=h=>{var x;r||(f(new dx(h)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},l=()=>{t=!1},c=()=>cx.isFocused()&&(e.networkMode==="always"||ul.isOnline())&&e.canRun(),u=()=>ux(e.networkMode)&&e.canRun(),d=h=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,h),i==null||i(),o.resolve(h))},f=h=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,h),i==null||i(),o.reject(h))},p=()=>new Promise(h=>{var x;i=m=>{(r||c())&&h(m)},(x=e.onPause)==null||x.call(e)}).then(()=>{var h;i=void 0,r||(h=e.onContinue)==null||h.call(e)}),b=()=>{if(r)return;let h;const x=n===0?e.initialPromise:void 0;try{h=x??e.fn()}catch(m){h=Promise.reject(m)}Promise.resolve(h).then(d).catch(m=>{var C;if(r)return;const g=e.retry??(Kl?0:3),w=e.retryDelay??QP,S=typeof w=="function"?w(n,m):w,k=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!k){f(m);return}n++,(C=e.onFail)==null||C.call(e,n,m),$P(S).then(()=>c()?void 0:p()).then(()=>{t?f(m):b()})})};return{promise:o,cancel:s,continue:()=>(i==null||i(),o),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?b():p().then(b),o)}}var YP=e=>setTimeout(e,0);function XP(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=YP;const o=a=>{t?e.push(a):i(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var Ge=XP(),Pr,by,px=(by=class{constructor(){J(this,Pr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),VP(this.gcTime)&&H(this,Pr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Kl?1/0:5*60*1e3))}clearGcTimeout(){A(this,Pr)&&(clearTimeout(A(this,Pr)),H(this,Pr,void 0))}},Pr=new WeakMap,by),Ii,Ar,yt,Rr,ze,vs,Mr,Dt,ln,Sy,ZP=(Sy=class extends px{constructor(t){super();J(this,Dt);J(this,Ii);J(this,Ar);J(this,yt);J(this,Rr);J(this,ze);J(this,vs);J(this,Mr);H(this,Mr,!1),H(this,vs,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,Rr,t.client),H(this,yt,A(this,Rr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,Ii,eA(this.options)),this.state=t.state??A(this,Ii),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,ze))==null?void 0:t.promise}setOptions(t){this.options={...A(this,vs),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,yt).remove(this)}setData(t,n){const r=UP(this.state.data,t,this.options);return Fe(this,Dt,ln).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Fe(this,Dt,ln).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=A(this,ze))==null?void 0:r.promise;return(i=A(this,ze))==null||i.cancel(t),n?n.then(jt).catch(jt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,Ii))}isActive(){return this.observers.some(t=>BP(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Jf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>pd(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!zP(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,ze))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,ze))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,yt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(A(this,ze)&&(A(this,Mr)?A(this,ze).cancel({revert:!0}):A(this,ze).cancelRetry()),this.scheduleGc()),A(this,yt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Fe(this,Dt,ln).call(this,{type:"invalidate"})}fetch(t,n){var c,u,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,ze))return A(this,ze).continueRetry(),A(this,ze).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(H(this,Mr,!0),r.signal)})},o=()=>{const f=lx(this.options,n),b=(()=>{const h={client:A(this,Rr),queryKey:this.queryKey,meta:this.meta};return i(h),h})();return H(this,Mr,!1),this.options.persister?this.options.persister(f,b,this):f(b)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,Rr),state:this.state,fetchFn:o};return i(f),f})();(c=this.options.behavior)==null||c.onFetch(a,this),H(this,Ar,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=a.fetchOptions)==null?void 0:u.meta))&&Fe(this,Dt,ln).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var p,b,h,x;$c(f)&&f.silent||Fe(this,Dt,ln).call(this,{type:"error",error:f}),$c(f)||((b=(p=A(this,yt).config).onError)==null||b.call(p,f,this),(x=(h=A(this,yt).config).onSettled)==null||x.call(h,this.state.data,f,this)),this.scheduleGc()};return H(this,ze,fx({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,b,h,x;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(m){l(m);return}(b=(p=A(this,yt).config).onSuccess)==null||b.call(p,f,this),(x=(h=A(this,yt).config).onSettled)==null||x.call(h,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,p)=>{Fe(this,Dt,ln).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{Fe(this,Dt,ln).call(this,{type:"pause"})},onContinue:()=>{Fe(this,Dt,ln).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),A(this,ze).start()}},Ii=new WeakMap,Ar=new WeakMap,yt=new WeakMap,Rr=new WeakMap,ze=new WeakMap,vs=new WeakMap,Mr=new WeakMap,Dt=new WeakSet,ln=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...JP(r.data,this.options),fetchMeta:t.meta??null};case"success":return H(this,Ar,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return $c(i)&&i.revert&&A(this,Ar)?{...A(this,Ar),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ge.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,yt).notify({query:this,type:"updated",action:t})})},Sy);function JP(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ux(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function eA(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ht,ky,tA=(ky=class extends Gl{constructor(t={}){super();J(this,Ht);this.config=t,H(this,Ht,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??Zf(i,n);let s=this.get(o);return s||(s=new ZP({client:t,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){A(this,Ht).has(t.queryHash)||(A(this,Ht).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,Ht).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,Ht).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ge.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,Ht).get(t)}getAll(){return[...A(this,Ht).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Pm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Pm(t,r)):n}notify(t){Ge.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ge.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ge.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ht=new WeakMap,ky),Gt,We,Nr,Kt,On,Cy,nA=(Cy=class extends px{constructor(t){super();J(this,Kt);J(this,Gt);J(this,We);J(this,Nr);this.mutationId=t.mutationId,H(this,We,t.mutationCache),H(this,Gt,[]),this.state=t.state||rA(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,Gt).includes(t)||(A(this,Gt).push(t),this.clearGcTimeout(),A(this,We).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Gt,A(this,Gt).filter(n=>n!==t)),this.scheduleGc(),A(this,We).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,Gt).length||(this.state.status==="pending"?this.scheduleGc():A(this,We).remove(this))}continue(){var t;return((t=A(this,Nr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,s,a,l,c,u,d,f,p,b,h,x,m,g,w,S,k,C,E,T;const n=()=>{Fe(this,Kt,On).call(this,{type:"continue"})};H(this,Nr,fx({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,N)=>{Fe(this,Kt,On).call(this,{type:"failed",failureCount:M,error:N})},onPause:()=>{Fe(this,Kt,On).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,We).canRun(this)}));const r=this.state.status==="pending",i=!A(this,Nr).canStart();try{if(r)n();else{Fe(this,Kt,On).call(this,{type:"pending",variables:t,isPaused:i}),await((s=(o=A(this,We).config).onMutate)==null?void 0:s.call(o,t,this));const N=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));N!==this.state.context&&Fe(this,Kt,On).call(this,{type:"pending",context:N,variables:t,isPaused:i})}const M=await A(this,Nr).start();return await((u=(c=A(this,We).config).onSuccess)==null?void 0:u.call(c,M,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,M,t,this.state.context)),await((b=(p=A(this,We).config).onSettled)==null?void 0:b.call(p,M,null,this.state.variables,this.state.context,this)),await((x=(h=this.options).onSettled)==null?void 0:x.call(h,M,null,t,this.state.context)),Fe(this,Kt,On).call(this,{type:"success",data:M}),M}catch(M){try{throw await((g=(m=A(this,We).config).onError)==null?void 0:g.call(m,M,t,this.state.context,this)),await((S=(w=this.options).onError)==null?void 0:S.call(w,M,t,this.state.context)),await((C=(k=A(this,We).config).onSettled)==null?void 0:C.call(k,void 0,M,this.state.variables,this.state.context,this)),await((T=(E=this.options).onSettled)==null?void 0:T.call(E,void 0,M,t,this.state.context)),M}finally{Fe(this,Kt,On).call(this,{type:"error",error:M})}}finally{A(this,We).runNext(this)}}},Gt=new WeakMap,We=new WeakMap,Nr=new WeakMap,Kt=new WeakSet,On=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ge.batch(()=>{A(this,Gt).forEach(r=>{r.onMutationUpdate(t)}),A(this,We).notify({mutation:this,type:"updated",action:t})})},Cy);function rA(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var dn,Lt,ws,Ey,iA=(Ey=class extends Gl{constructor(t={}){super();
141J(this,dn);J(this,Lt);J(this,ws);this.config=t,H(this,dn,new Set),H(this,Lt,new Map),H(this,ws,0)}build(t,n,r){const i=new nA({mutationCache:this,mutationId:++Fs(this,ws)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){A(this,dn).add(t);const n=oa(t);if(typeof n=="string"){const r=A(this,Lt).get(n);r?r.push(t):A(this,Lt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,dn).delete(t)){const n=oa(t);if(typeof n=="string"){const r=A(this,Lt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&A(this,Lt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=oa(t);if(typeof n=="string"){const r=A(this,Lt).get(n),i=r==null?void 0:r.find(o=>o.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=oa(t);if(typeof n=="string"){const i=(r=A(this,Lt).get(n))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ge.batch(()=>{A(this,dn).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,dn).clear(),A(this,Lt).clear()})}getAll(){return Array.from(A(this,dn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Am(n,r))}findAll(t={}){return this.getAll().filter(n=>Am(t,n))}notify(t){Ge.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ge.batch(()=>Promise.all(t.map(n=>n.continue().catch(jt))))}},dn=new WeakMap,Lt=new WeakMap,ws=new WeakMap,Ey);function oa(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Nm(e){return{onFetch:(t,n)=>{var u,d,f,p,b;const r=t.options,i=(f=(d=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,o=((p=t.state.data)==null?void 0:p.pages)||[],s=((b=t.state.data)==null?void 0:b.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let h=!1;const x=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener("abort",()=>{h=!0}),t.signal)})},m=lx(t.options,t.fetchOptions),g=async(w,S,k)=>{if(h)return Promise.reject();if(S==null&&w.pages.length)return Promise.resolve(w);const E=(()=>{const V={client:t.client,queryKey:t.queryKey,pageParam:S,direction:k?"backward":"forward",meta:t.options.meta};return x(V),V})(),T=await m(E),{maxPages:M}=t.options,N=k?HP:WP;return{pages:N(w.pages,T,M),pageParams:N(w.pageParams,S,M)}};if(i&&o.length){const w=i==="backward",S=w?oA:jm,k={pages:o,pageParams:s},C=S(r,k);a=await g(k,C,w)}else{const w=e??o.length;do{const S=l===0?s[0]??r.initialPageParam:jm(r,a);if(l>0&&S==null)break;a=await g(a,S),l++}while(l<w)}return a};t.options.persister?t.fetchFn=()=>{var h,x;return(x=(h=t.options).persister)==null?void 0:x.call(h,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function jm(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function oA(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var ge,Wn,Hn,Fi,_i,Gn,Vi,zi,Ty,sA=(Ty=class{constructor(e={}){J(this,ge);J(this,Wn);J(this,Hn);J(this,Fi);J(this,_i);J(this,Gn);J(this,Vi);J(this,zi);H(this,ge,e.queryCache||new tA),H(this,Wn,e.mutationCache||new iA),H(this,Hn,e.defaultOptions||{}),H(this,Fi,new Map),H(this,_i,new Map),H(this,Gn,0)}mount(){Fs(this,Gn)._++,A(this,Gn)===1&&(H(this,Vi,cx.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ge).onFocus())})),H(this,zi,ul.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ge).onOnline())})))}unmount(){var e,t;Fs(this,Gn)._--,A(this,Gn)===0&&((e=A(this,Vi))==null||e.call(this),H(this,Vi,void 0),(t=A(this,zi))==null||t.call(this),H(this,zi,void 0))}isFetching(e){return A(this,ge).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,Wn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,ge).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,ge).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(pd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return A(this,ge).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=A(this,ge).get(r.queryHash),o=i==null?void 0:i.state.data,s=_P(t,o);if(s!==void 0)return A(this,ge).build(this,r).setData(s,{...n,manual:!0})}
141setQueriesData(e,t,n){return Ge.batch(()=>A(this,ge).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,ge).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,ge);Ge.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,ge);return Ge.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ge.batch(()=>A(this,ge).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(jt).catch(jt)}invalidateQueries(e,t={}){return Ge.batch(()=>(A(this,ge).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ge.batch(()=>A(this,ge).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(jt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(jt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,ge).build(this,t);return n.isStaleByTime(pd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(jt).catch(jt)}fetchInfiniteQuery(e){return e.behavior=Nm(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(jt).catch(jt)}ensureInfiniteQueryData(e){return e.behavior=Nm(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ul.isOnline()?A(this,Wn).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,ge)}getMutationCache(){return A(this,Wn)}getDefaultOptions(){return A(this,Hn)}setDefaultOptions(e){H(this,Hn,e)}setQueryDefaults(e,t){A(this,Fi).set(cs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,Fi).values()],n={};return t.forEach(r=>{us(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){A(this,_i).set(cs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,_i).values()],n={};return t.forEach(r=>{us(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,Hn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Zf(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Jf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,Hn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,ge).clear(),A(this,Wn).clear()}},ge=new WeakMap,Wn=new WeakMap,Hn=new WeakMap,Fi=new WeakMap,_i=new WeakMap,Gn=new WeakMap,Vi=new WeakMap,zi=new WeakMap,Ty),aA=v.createContext(void 0),lA=({client:e,children:t})=>(v.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),y.jsx(aA.Provider,{value:e,children:t}));/** 142 * @remix-run/router v1.23.0 143 * 144 * Copyright (c) Remix Software Inc. 145 * 146 * This source code is licensed under the MIT license found in the 147 * LICENSE.md file in the root directory of this source tree. 148 * 149 * @license MIT 150 */function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dl.apply(this,arguments)}var Qn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Qn||(Qn={}));const Dm="popstate";function cA(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:s,hash:a}=r.location;return md("",{pathname:o,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:mx(i)}return dA(t,n,null,e)}function ot(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function hx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function uA(){return Math.random().toString(36).substr(2,8)}function Lm(e,t){return{usr:e.state,key:e.key,idx:t}}function md(e,t,n,r){return n===void 0&&(n=null),dl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ql(t):t,{state:n,key:t&&t.key||r||uA()})}function mx(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ql(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function dA(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=Qn.Pop,l=null,c=u();c==null&&(c=0,s.replaceState(dl({},s.state,{idx:c}),""));function u(){return(s.state||{idx:null}).idx}function d(){a=Qn.Pop;let x=u(),m=x==null?null:x-c;c=x,l&&l({action:a,location:h.location,delta:m})}function f(x,m){a=Qn.Push;let g=md(h.location,x,m);c=u()+1;let w=Lm(g,c),S=h.createHref(g);
vendor: 3,348 bytes, line 150
150try{s.pushState(w,"",S)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(S)}o&&l&&l({action:a,location:h.location,delta:1})}function p(x,m){a=Qn.Replace;let g=md(h.location,x,m);c=u();let w=Lm(g,c),S=h.createHref(g);s.replaceState(w,"",S),o&&l&&l({action:a,location:h.location,delta:0})}function b(x){let m=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof x=="string"?x:mx(x);return g=g.replace(/ $/,"%20"),ot(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let h={get action(){return a},get location(){return e(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Dm,d),l=x,()=>{i.removeEventListener(Dm,d),l=null}},createHref(x){return t(i,x)},createURL:b,encodeLocation(x){let m=b(x);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:p,go(x){return s.go(x)}};return h}var Om;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Om||(Om={}));function fA(e,t,n){return n===void 0&&(n="/"),pA(e,t,n,!1)}function pA(e,t,n,r){let i=typeof t=="string"?ql(t):t,o=vx(i.pathname||"/",n);if(o==null)return null;let s=gx(e);hA(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let c=EA(o);a=kA(s[l],c,r)}return a}function gx(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,s,a)=>{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(ot(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Mi([r,l.relativePath]),u=n.concat(l);o.children&&o.children.length>0&&(ot(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),gx(o.children,t,u,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:bA(c,o.index),routesMeta:u})};return e.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of yx(o.path))i(o,s,l)}),t}function yx(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=yx(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function hA(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:SA(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const mA=/^:[\w-]+$/,gA=3,yA=2,vA=1,wA=10,xA=-2,Im=e=>e==="*";function bA(e,t){let n=e.split("/"),r=n.length;return n.some(Im)&&(r+=xA),t&&(r+=yA),n.filter(i=>!Im(i)).reduce((i,o)=>i+(mA.test(o)?gA:o===""?vA:wA),r)}function SA(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function kA(e,t,n){let{routesMeta:r}=e,i={},o="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,u=o==="/"?t:t.slice(o.length)||"/",d=Fm({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),f=l.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=Fm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!d)return null;
vendor: 4,131 bytes, lines 150-159
150Object.assign(i,d.params),s.push({params:i,pathname:Mi([o,d.pathname]),pathnameBase:TA(Mi([o,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(o=Mi([o,d.pathnameBase]))}return s}function Fm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=CA(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],s=o.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((c,u,d)=>{let{paramName:f,isOptional:p}=u;if(f==="*"){let h=a[d]||"";s=o.slice(0,o.length-h.length).replace(/(.)\/+$/,"$1")}const b=a[d];return p&&!b?c[f]=void 0:c[f]=(b||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:s,pattern:e}}function CA(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),hx(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function EA(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return hx(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function vx(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)||"/"}const Mi=e=>e.join("/").replace(/\/\/+/g,"/"),TA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function PA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const wx=["post","put","patch","delete"];new Set(wx);const AA=["get",...wx];new Set(AA);/** 151 * React Router v6.30.1 152 * 153 * Copyright (c) Remix Software Inc. 154 * 155 * This source code is licensed under the MIT license found in the 156 * LICENSE.md file in the root directory of this source tree. 157 * 158 * @license MIT 159 */function fl(){return fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fl.apply(this,arguments)}const RA=v.createContext(null),MA=v.createContext(null),xx=v.createContext(null),Ql=v.createContext(null),Yl=v.createContext({outlet:null,matches:[],isDataRoute:!1}),bx=v.createContext(null);function ep(){return v.useContext(Ql)!=null}function Sx(){return ep()||ot(!1),v.useContext(Ql).location}function NA(e,t){return jA(e,t)}function jA(e,t,n,r){ep()||ot(!1);let{navigator:i}=v.useContext(xx),{matches:o}=v.useContext(Yl),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let c=Sx(),u;if(t){var d;let x=typeof t=="string"?ql(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||ot(!1),u=x}else u=c;let f=u.pathname||"/",p=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let b=fA(e,{pathname:p}),h=FA(b&&b.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:Mi([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:Mi([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&h?v.createElement(Ql.Provider,{value:{location:fl({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Qn.Pop}},h):h}function DA(){let e=BA(),t=PA(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application
159Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:i},n):null,null)}const LA=v.createElement(DA,null);class OA extends v.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?v.createElement(Yl.Provider,{value:this.props.routeContext},v.createElement(bx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function IA(e){let{routeContext:t,match:n,children:r}=e,i=v.useContext(RA);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(Yl.Provider,{value:t},r)}function FA(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let u=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);u>=0||ot(!1),s=s.slice(0,Math.min(s.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<s.length;u++){let d=s[u];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(c=u),d.route.id){let{loaderData:f,errors:p}=n,b=d.route.loader&&f[d.route.id]===void 0&&(!p||p[d.route.id]===void 0);if(d.route.lazy||b){l=!0,c>=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((u,d,f)=>{let p,b=!1,h=null,x=null;n&&(p=a&&d.route.id?a[d.route.id]:void 0,h=d.route.errorElement||LA,l&&(c<0&&f===0?(b=!0,x=null):c===f&&(b=!0,x=d.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,f+1)),g=()=>{let w;return p?w=h:b?w=x:d.route.Component?w=v.createElement(d.route.Component,null):d.route.element?w=d.route.element:w=u,v.createElement(IA,{match:d,routeContext:{outlet:u,matches:m,isDataRoute:n!=null},children:w})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?v.createElement(OA,{location:n.location,revalidation:n.revalidation,component:h,error:p,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var gd=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(gd||{});function _A(e){let t=v.useContext(MA);return t||ot(!1),t}function VA(e){let t=v.useContext(Yl);return t||ot(!1),t}function zA(e){let t=VA(),n=t.matches[t.matches.length-1];return n.route.id||ot(!1),n.route.id}function BA(){var e;let t=v.useContext(bx),n=_A(gd.UseRouteError),r=zA(gd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function $A(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function yd(e){ot(!1)}function UA(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Qn.Pop,navigator:o,static:s=!1,future:a}=e;ep()&&ot(!1);let l=t.replace(/^\/*/,"/"),c=v.useMemo(()=>({basename:l,navigator:o,static:s,future:fl({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=ql(r));let{pathname:u="/",search:d="",hash:f="",state:p=null,key:b="default"}=r,h=v.useMemo(()=>{let x=vx(u,l);return x==null?null:{location:{pathname:x,search:d,hash:f,state:p,key:b},navigationType:i}},[l,u,d,f,p,b,i]);return h==null?null:v.createElement(xx.Provider,{value:c},v.createElement(Ql.Provider,{children:n,value:h}))}function WA(e){let{children:t,location:n}=e;return NA(vd(t),n)}new Promise(()=>{});function vd(e,t){t===void 0&&(t=[]);let n=[];
159return v.Children.forEach(e,(r,i)=>{if(!v.isValidElement(r))return;let o=[...t,i];if(r.type===v.Fragment){n.push.apply(n,vd(r.props.children,o));return}r.type!==yd&&ot(!1),!r.props.index||!r.props.children||ot(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=vd(r.props.children,o)),n.push(s)}),n}/** 160 * React Router DOM v6.30.1 161 * 162 * Copyright (c) Remix Software Inc. 163 * 164 * This source code is licensed under the MIT license found in the 165 * LICENSE.md file in the root directory of this source tree. 166 * 167 * @license MIT 168 */const HA="6";try{window.__reactRouterVersion=HA}catch{}const GA="startTransition",_m=Hd[GA];function KA(e){let{basename:t,children:n,future:r,window:i}=e,o=v.useRef();o.current==null&&(o.current=cA({window:i,v5Compat:!0}));let s=o.current,[a,l]=v.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},u=v.useCallback(d=>{c&&_m?_m(()=>l(d)):l(d)},[l,c]);return v.useLayoutEffect(()=>s.listen(u),[s,u]),v.useEffect(()=>$A(r),[r]),v.createElement(UA,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var Vm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Vm||(Vm={}));var zm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(zm||(zm={}));const kx={filters:{types:[],topics:[],category:"system-design",sort:"recent",view:"grid"},searchQuery:"",pagination:{"system-design":5,leadership:5,"software-engineering":5,product:5,"data-engineering":5,"ai-ml":5,coaching:5,communication:5},personalization:{bookmarks:new Set,progress:new Set,customCollections:{}},ui:{isFilterOpen:!1,activeCategory:"system-design",isHighContrast:!1,reducedMotion:!1}};function qA(e,t){switch(t.type){case"SET_FILTERS":return{...e,filters:{...e.filters,...t.payload}};case"SET_SEARCH_QUERY":return{...e,searchQuery:t.payload};case"SET_CATEGORY":return{...e,ui:{...e.ui,activeCategory:t.payload},filters:{...e.filters,category:t.payload}};case"LOAD_MORE":return{...e,pagination:{...e.pagination,[t.payload]:e.pagination[t.payload]+5}};case"TOGGLE_BOOKMARK":const n=new Set(e.personalization.bookmarks);return n.has(t.payload)?n.delete(t.payload):n.add(t.payload),{...e,personalization:{...e.personalization,bookmarks:n}};case"TOGGLE_PROGRESS":const r=new Set(e.personalization.progress);return r.has(t.payload)?r.delete(t.payload):r.add(t.payload),{...e,personalization:{...e.personalization,progress:r}};case"SET_UI_STATE":return{...e,ui:{...e.ui,...t.payload}};case"RESET_FILTERS":return{...e,filters:kx.filters,searchQuery:""};case"LOAD_PERSISTED_STATE":return{...e,...t.payload};default:return e}}const Cx=v.createContext(null);function QA({children:e}){const[t,n]=v.useReducer(qA,kx);return v.useEffect(()=>{const r=localStorage.getItem("theCodeAppState");if(r)try{const i=JSON.parse(r);i.personalization&&(i.personalization.bookmarks=new Set(i.personalization.bookmarks),i.personalization.progress=new Set(i.personalization.progress)),n({type:"LOAD_PERSISTED_STATE",payload:i})}catch(i){console.warn("Failed to load persisted state:",i)}},[]),v.useEffect(()=>{const r={...t,personalization:{...t.personalization,bookmarks:Array.from(t.personalization.bookmarks),progress:Array.from(t.personalization.progress)}};localStorage.setItem("theCodeAppState",JSON.stringify(r))},[t]),y.jsx(Cx.Provider,{value:{state:t,dispatch:n},children:e})}function Gr(){const e=v.useContext(Cx);if(!e)throw new Error("useAppContext must be used within AppProvider");return e}const tp=v.createContext({});function As(e){const t=v.useRef(null);return t.current===null&&(t.current=e()),t.current}const np=typeof window<"u",rp=np?v.useLayoutEffect:v.useEffect,Xl=v.createContext(null);function ip(e,t){e.indexOf(t)===-1&&e.push(t)}function op(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Sn=(e,t,n)=>n>t?t:n<e?e:n;let pl=()=>{};const kn={},Ex=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Tx(e){return typeof e=="object"&&e!==null}const Px=e=>/^0[^.\s]+$/u.test(e);function sp(e){let t;return()=>(t===void 0&&(t=e()),t)}const St=e=>e,YA=(e,t)=>
vendor: 16,863 bytes, line 168
168n=>t(e(n)),Rs=(...e)=>e.reduce(YA),ds=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class ap{constructor(){this.subscriptions=[]}add(t){return ip(this.subscriptions,t),()=>op(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const s=this.subscriptions[o];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const en=e=>e*1e3,tn=e=>e/1e3;function Ax(e,t){return t?e*(1e3/t):0}const Rx=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,XA=1e-7,ZA=12;function JA(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=Rx(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>XA&&++a<ZA);return s}function Ms(e,t,n,r){if(e===t&&n===r)return St;const i=o=>JA(o,0,1,e,n);return o=>o===0||o===1?o:Rx(i(o),t,r)}const Mx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Nx=e=>t=>1-e(1-t),jx=Ms(.33,1.53,.69,.99),lp=Nx(jx),Dx=Mx(lp),Lx=e=>(e*=2)<1?.5*lp(e):.5*(2-Math.pow(2,-10*(e-1))),cp=e=>1-Math.sin(Math.acos(e)),Ox=Nx(cp),Ix=Mx(cp),eR=Ms(.42,0,1,1),tR=Ms(0,0,.58,1),Fx=Ms(.42,0,.58,1),nR=e=>Array.isArray(e)&&typeof e[0]!="number",_x=e=>Array.isArray(e)&&typeof e[0]=="number",Bm={linear:St,easeIn:eR,easeInOut:Fx,easeOut:tR,circIn:cp,circInOut:Ix,circOut:Ox,backIn:lp,backInOut:Dx,backOut:jx,anticipate:Lx},rR=e=>typeof e=="string",$m=e=>{if(_x(e)){pl(e.length===4);const[t,n,r,i]=e;return Ms(t,n,r,i)}else if(rR(e))return pl(Bm[e]!==void 0),Bm[e];return e},sa=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Um={value:null,addProjectionMetrics:null};function iR(e,t){let n=new Set,r=new Set,i=!1,o=!1;const s=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function c(d){s.has(d)&&(u.schedule(d),e()),l++,d(a)}const u={schedule:(d,f=!1,p=!1)=>{const h=p&&i?n:r;return f&&s.add(d),h.has(d)||h.add(d),d},cancel:d=>{r.delete(d),s.delete(d)},process:d=>{if(a=d,i){o=!0;return}i=!0,[n,r]=[r,n],n.forEach(c),t&&Um.value&&Um.value.frameloop[t].push(l),l=0,n.clear(),i=!1,o&&(o=!1,u.process(d))}};return u}const oR=40;function Vx(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=sa.reduce((w,S)=>(w[S]=iR(o,t?S:void 0),w),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:f,render:p,postRender:b}=s,h=()=>{const w=kn.useManualTiming?i.timestamp:performance.now();n=!1,kn.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(w-i.timestamp,oR),1)),i.timestamp=w,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),d.process(i),f.process(i),p.process(i),b.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},x=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:sa.reduce((w,S)=>{const k=s[S];return w[S]=(C,E=!1,T=!1)=>(n||x(),k.schedule(C,E,T)),w},{}),cancel:w=>{for(let S=0;S<sa.length;S++)s[sa[S]].cancel(w)},state:i,steps:s}}const{schedule:ie,cancel:Cn,state:De,steps:Uc}=Vx(typeof requestAnimationFrame<"u"?requestAnimationFrame:St,!0);let Ma;function sR(){Ma=void 0}const tt={now:()=>(Ma===void 0&&tt.set(De.isProcessing||kn.useManualTiming?De.timestamp:performance.now()),Ma),set:e=>{Ma=e,queueMicrotask(sR)}},zx=e=>t=>typeof t=="string"&&t.startsWith(e),up=zx("--"),aR=zx("var(--"),dp=e=>aR(e)?lR.test(e.split("/*")[0].trim()):!1,lR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,oo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},fs={...oo,transform:e=>Sn(0,1,e)},aa={...oo,default:1},Fo=e=>Math.round(e*1e5)/1e5,fp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function cR(e){return e==null}const uR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,pp=(e,t)=>n=>!!(typeof n=="string"&&uR.test(n)&&n.startsWith(e)||t&&!cR(n)&&Object.prototype.hasOwnProperty.call(n,t)),Bx=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,s,a]=r.match(fp);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},dR=e=>Sn(0,255,e),Wc={...oo,transform:e=>Math.round(dR(e))},Cr={test:pp("rgb","red"),parse:Bx("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Wc.transform(e)+", "+Wc.transform(t)+", "+Wc.transform(n)+", "+Fo(fs.transform(r))+")"};function fR(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const wd={test:pp("#"),parse:fR,transform:Cr.transform},Ns=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),In=Ns("deg"),nn=Ns("%"),B=Ns("px"),pR=Ns("vh"),hR=Ns("vw"),Wm={...nn,parse:e=>nn.parse(e)/100,transform:e=>nn.transform(e*100)},gi={test:pp("hsl","hue"),parse:Bx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+nn.transform(Fo(t))+", "+nn.transform(Fo(n))+", "+Fo(fs.transform(r))+")"},Ce={test:e=>Cr.test(e)||wd.test(e)||gi.test(e),parse:e=>Cr.test(e)?Cr.parse(e):gi.test(e)?gi.parse(e):wd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Cr.transform(e):gi.transform(e),getAnimatableNone:e=>{const t=Ce.parse(e);return t.alpha=0,Ce.transform(t)}},mR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function gR(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(fp))==null?void 0:t.length)||0)+(((n=e.match(mR))==null?void 0:n.length)||0)>0}const $x="number",Ux="color",yR="var",vR="var(",Hm="${}",wR=/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 ps(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(wR,l=>(Ce.test(l)?(r.color.push(o),i.push(Ux),n.push(Ce.parse(l))):l.startsWith(vR)?(r.var.push(o),i.push(yR),n.push(l)):(r.number.push(o),i.push($x),n.push(parseFloat(l))),++o,Hm)).split(Hm);return{values:n,split:a,indexes:r,types:i}}function Wx(e){return ps(e).values}function Hx(e){const{split:t,types:n}=ps(e),r=t.length;return i=>{let o="";for(let s=0;s<r;s++)if(o+=t[s],i[s]!==void 0){const a=n[s];a===$x?o+=Fo(i[s]):a===Ux?o+=Ce.transform(i[s]):o+=i[s]}return o}}const xR=e=>typeof e=="number"?0:Ce.test(e)?Ce.getAnimatableNone(e):e;function bR(e){const t=Wx(e);return Hx(e)(t.map(xR))}const cr={test:gR,parse:Wx,createTransformer:Hx,getAnimatableNone:bR};function Hc(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 SR({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Hc(l,a,e+1/3),o=Hc(l,a,e),s=Hc(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function hl(e,t){return n=>n>0?t:e}const pe=(e,t,n)=>e+(t-e)*n,Gc=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},kR=[wd,Cr,gi],CR=e=>kR.find(t=>t.test(e));function Gm(e){const t=CR(e);if(!t)return!1;let n=t.parse(e);return t===gi&&(n=SR(n)),n}const Km=(e,t)=>{const n=Gm(e),r=Gm(t);if(!n||!r)return hl(e,t);const i={...n};return o=>(i.red=Gc(n.red,r.red,o),i.green=Gc(n.green,r.green,o),i.blue=Gc(n.blue,r.blue,o),i.alpha=pe(n.alpha,r.alpha,o),Cr.transform(i))},xd=new Set(["none","hidden"]);function ER(e,t){return xd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function TR(e,t){return n=>pe(e,t,n)}function hp(e){return typeof e=="number"?TR:typeof e=="string"?dp(e)?hl:Ce.test(e)?Km:RR:Array.isArray(e)?Gx:typeof e=="object"?Ce.test(e)?Km:PR:hl}function Gx(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>hp(o)(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}}function PR(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=hp(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function AR(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],s=e.indexes[o][r[o]],a=e.values[s]??0;n[i]=a,r[o]++}return n}const RR=(e,t)=>{const n=cr.createTransformer(t),r=ps(e),i=ps(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?xd.has(e)&&!i.values.length||xd.has(t)&&!r.values.length?ER(e,t):Rs(Gx(AR(r,i),i.values),n):hl(e,t)};function Kx(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?pe(e,t,n):hp(e)(e,t)}const MR=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ie.update(t,n),stop:()=>Cn(t),now:()=>De.isProcessing?De.timestamp:tt.now()}},qx=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o<i;o++)r+=Math.round(e(o/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ml=2e4;function mp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<ml;)t+=n,r=e.next(t);return t>=ml?1/0:t}function NR(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(mp(r),ml);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:tn(i)}}const jR=5;function Qx(e,t,n){const r=Math.max(t-jR,0);return Ax(n-e(r),t-r)}const ye={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},Kc=.001;function DR({duration:e=ye.duration,bounce:t=ye.bounce,velocity:n=ye.velocity,mass:r=ye.mass}){let i,o,s=1-t;s=Sn(ye.minDamping,ye.maxDamping,s),e=Sn(ye.minDuration,ye.maxDuration,tn(e)),s<1?(i=c=>{const u=c*s,d=u*e,f=u-n,p=bd(c,s),b=Math.exp(-d);return Kc-f/p*b},o=c=>{const d=c*s*e,f=d*n+n,p=Math.pow(s,2)*Math.pow(c,2)*e,b=Math.exp(-d),h=bd(Math.pow(c,2),s);return(-i(c)+Kc>0?-1:1)*((f-p)*b)/h}):(i=c=>{const u=Math.exp(-c*e),d=(c-n)*e+1;return-Kc+u*d},o=c=>{const u=Math.exp(-c*e),d=(n-c)*(e*e);return u*d});const a=5/e,l=OR(i,o,a);if(e=en(e),isNaN(l))return{stiffness:ye.stiffness,damping:ye.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}const LR=12;function OR(e,t,n){let r=n;for(let i=1;i<LR;i++)r=r-e(r)/t(r);return r}function bd(e,t){return e*Math.sqrt(1-t*t)}const IR=["duration","bounce"],FR=["stiffness","damping","mass"];function qm(e,t){return t.some(n=>e[n]!==void 0)}function _R(e){let t={velocity:ye.velocity,stiffness:ye.stiffness,damping:ye.damping,mass:ye.mass,isResolvedFromDuration:!1,...e};if(!qm(e,FR)&&qm(e,IR))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*Sn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ye.mass,stiffness:i,damping:o}}else{const n=DR(e);t={...t,...n,mass:ye.mass},t.isResolvedFromDuration=!0}return t}function gl(e=ye.visualDuration,t=ye.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=_R({...n,velocity:-tn(n.velocity||0)}),b=f||0,h=c/(2*Math.sqrt(l*u)),x=s-o,m=tn(Math.sqrt(l/u)),g=Math.abs(x)<5;r||(r=g?ye.restSpeed.granular:ye.restSpeed.default),i||(i=g?ye.restDelta.granular:ye.restDelta.default);let w;if(h<1){const k=bd(m,h);w=C=>{const E=Math.exp(-h*m*C);return s-E*((b+h*m*x)/k*Math.sin(k*C)+x*Math.cos(k*C))}}else if(h===1)w=k=>s-Math.exp(-m*k)*(x+(b+m*x)*k);else{const k=m*Math.sqrt(h*h-1);w=C=>{const E=Math.exp(-h*m*C),T=Math.min(k*C,300);return s-E*((b+h*m*x)*Math.sinh(T)+k*x*Math.cosh(T))/k}}const S={calculatedDuration:p&&d||null,next:k=>{const C=w(k);if(p)a.done=k>=d;else{let E=k===0?b:0;h<1&&(E=k===0?en(b):Qx(w,k,C));const T=Math.abs(E)<=r,M=Math.abs(s-C)<=i;a.done=T&&M}return a.value=a.done?s:C,a},toString:()=>{const k=Math.min(mp(S),ml),C=qx(E=>S.next(k*E).value,k,30);return k+"ms "+C},toTransition:()=>{}};return S}gl.applyToOptions=e=>{const t=NR(e,100,gl);return e.ease=t.ease,e.duration=en(t.duration),e.type="keyframes",e};function Sd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},p=T=>a!==void 0&&T<a||l!==void 0&&T>l,b=T=>a===void 0?l:l===void 0||Math.abs(a-T)<Math.abs(l-T)?a:l;let h=n*t;const x=d+h,m=s===void 0?x:s(x);m!==x&&(h=m-d);const g=T=>-h*Math.exp(-T/r),w=T=>m+g(T),S=T=>{const M=g(T),N=w(T);f.done=Math.abs(M)<=c,f.value=f.done?m:N};let k,C;const E=T=>{p(f.value)&&(k=T,C=gl({keyframes:[f.value,b(f.value)],velocity:Qx(w,T,f.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return E(0),{calculatedDuration:null,next:T=>{let M=!1;return!C&&k===void 0&&(M=!0,S(T),E(T)),k!==void 0&&T>=k?C.next(T-k):(!M&&S(T),f)}}}function VR(e,t,n){const r=[],i=n||kn.mix||Kx,o=e.length-1;for(let s=0;s<o;s++){let a=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||St:t;a=Rs(l,a)}r.push(a)}return r}function Yx(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(pl(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=VR(t,r,i),l=a.length,c=u=>{if(s&&u<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(u<e[d+1]);d++);const f=ds(e[d],e[d+1],u);return a[d](f)};return n?u=>c(Sn(e[0],e[o-1],u)):c}function zR(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=ds(0,t,r);e.push(pe(n,1,i))}}function BR(e){const t=[0];return zR(t,e.length-1),t}function $R(e,t){return e.map(n=>n*t)}function UR(e,t){return e.map(()=>t||Fx).splice(0,e.length-1)}function _o({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=nR(r)?r.map($m):$m(r),o={done:!1,value:t[0]},s=$R(n&&n.length===t.length?n:BR(t),e),a=Yx(s,t,{ease:Array.isArray(i)?i:UR(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const WR=e=>e!==null;function gp(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(WR),a=i<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!a||r===void 0?o[a]:r}const HR={decay:Sd,inertia:Sd,tween:_o,keyframes:_o,spring:gl};function Xx(e){typeof e.type=="string"&&(e.type=HR[e.type])}class yp{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 GR=e=>e/100;class Zl extends yp{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==tt.now()&&this.tick(tt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Xx(t);const{type:n=_o,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=t;let{keyframes:a}=t;const l=n||_o;l!==_o&&typeof a[0]!="number"&&(this.mixKeyframes=Rs(GR,Kx(a[0],a[1])),a=[0,100]);const c=l({...t,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=mp(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=c}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:i,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:u,repeat:d,repeatType:f,repeatDelay:p,type:b,onUpdate:h,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const m=this.currentTime-c*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?m<0:m>i;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let w=this.currentTime,S=r;if(d){const T=Math.min(this.currentTime,i)/a;let M=Math.floor(T),N=T%1;!N&&T>=1&&(N=1),N===1&&M--,M=Math.min(M,d+1),!!(M%2)&&(f==="reverse"?(N=1-N,p&&(N-=p/a)):f==="mirror"&&(S=s)),w=Sn(0,1,N)*a}const k=g?{done:!1,value:u[0]}:S.next(w);o&&(k.value=o(k.value));let{done:C}=k;!g&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return E&&b!==Sd&&(k.value=gp(u,this.options,x,this.speed)),h&&h(k.value),E&&this.finish(),
168k}then(t,n){return this.finished.then(t,n)}get duration(){return tn(this.calculatedDuration)}get time(){return tn(this.currentTime)}set time(t){var n;t=en(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),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(tt.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=tn(this.currentTime))}play(){var i,o;if(this.isStopped)return;const{driver:t=MR,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),(o=(i=this.options).onPlay)==null||o.call(i);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(tt.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 KR(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Er=e=>e*180/Math.PI,kd=e=>{const t=Er(Math.atan2(e[1],e[0]));return Cd(t)},qR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:kd,rotateZ:kd,skewX:e=>Er(Math.atan(e[1])),skewY:e=>Er(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Cd=e=>(e=e%360,e<0&&(e+=360),e),Qm=kd,Ym=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Xm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),QR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ym,scaleY:Xm,scale:e=>(Ym(e)+Xm(e))/2,rotateX:e=>Cd(Er(Math.atan2(e[6],e[5]))),rotateY:e=>Cd(Er(Math.atan2(-e[2],e[0]))),rotateZ:Qm,rotate:Qm,skewX:e=>Er(Math.atan(e[4])),skewY:e=>Er(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ed(e){return e.includes("scale")?1:0}function Td(e,t){if(!e||e==="none")return Ed(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=QR,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=qR,i=a}if(!i)return Ed(t);const o=r[t],s=i[1].split(",").map(XR);return typeof o=="function"?o(s):s[o]}const YR=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Td(n,t)};function XR(e){return parseFloat(e.trim())}const so=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ao=new Set(so),Zm=e=>e===oo||e===B,ZR=new Set(["x","y","z"]),JR=so.filter(e=>!ZR.has(e));function eM(e){const t=[];return JR.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Lr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Td(t,"x"),y:(e,{transform:t})=>Td(t,"y")};Lr.translateX=Lr.x;Lr.translateY=Lr.y;const Or=new Set;let Pd=!1,Ad=!1,Rd=!1;function Zx(){if(Ad){const e=Array.from(Or).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=eM(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);
vendor: 1,593 bytes, line 168
168i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))==null||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ad=!1,Pd=!1,Or.forEach(e=>e.complete(Rd)),Or.clear()}function Jx(){Or.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ad=!0)})}function tM(){Rd=!0,Jx(),Zx(),Rd=!1}class vp{constructor(t,n,r,i,o,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Or.add(this),Pd||(Pd=!0,ie.read(Jx),ie.resolveKeyframes(Zx))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const o=i==null?void 0:i.get(),s=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const a=r.readValue(n,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),i&&o===void 0&&i.set(t[0])}KR(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Or.delete(this)}cancel(){this.state==="scheduled"&&(Or.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const nM=e=>e.startsWith("--");function rM(e,t,n){nM(t)?e.style.setProperty(t,n):e.style[t]=n}const iM=sp(()=>window.ScrollTimeline!==void 0),oM={};function sM(e,t){const n=sp(e);return()=>oM[t]??n()}const e1=sM(()=>{try{document.createElement("div").animate({opacity:0}
168,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),To=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Jm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:To([0,.65,.55,1]),circOut:To([.55,0,1,.45]),backIn:To([.31,.01,.66,-.59]),backOut:To([.33,1.53,.69,.99])};function t1(e,t){if(e)return typeof e=="function"?e1()?qx(e,t):"ease-out":_x(e)?To(e):Array.isArray(e)?e.map(n=>t1(n,t)||Jm.easeOut):Jm[e]}function aM(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const d=t1(a,i);Array.isArray(d)&&(u.easing=d);const f={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"};return c&&(f.pseudoElement=c),e.animate(u,f)}function n1(e){return typeof e=="function"&&"applyToOptions"in e}function lM({type:e,...t}){return n1(e)&&e1()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class cM extends yp{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:o,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!o,this.allowFlatten=s,this.options=t,pl(typeof t.type!="string");const c=lM(t);this.animation=aM(n,r,i,c,o),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const u=gp(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(u):rM(n,r,u),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(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 t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}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 tn(Number(t))}get time(){return tn(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=en(t)}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 Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&iM()?(this.animation.timeline=t,St):n(this)}}const r1={anticipate:Lx,backInOut:Dx,circInOut:Ix};function uM(e){return e in r1}function dM(e){typeof e.ease=="string"&&uM(e.ease)&&(e.ease=r1[e.ease])}const eg=10;class fM extends cM{constructor(t){dM(t),Xx(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:o,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Zl({...s,autoplay:!1}),l=en(this.finishedTime??this.time);n.setWithVelocity(a.sample(l-eg).value,a.sample(l).value,eg),a.stop()}}const tg=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(cr.test(e)||e==="0")&&!e.startsWith("url("));function pM(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 hM(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],s=tg(i,t),a=tg(o,t);return!s||!a?!1:pM(e)||(n==="spring"||n1(n))&&r}function Md(e){e.duration=0,e.type}const mM=new Set(["opacity","clipPath","filter","transform"]),gM=sp(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function yM(e){var u;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s}=e;if(!(((u=t==null?void 0:t.owner)==null?void 0:u.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=t.owner.getProps();return gM()&&n&&mM.has(n)&&(n!=="transform"||!c)&&!l&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}const vM=40;class wM extends yp{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s="loop",keyframes:a,name:l,motionValue:c,element:u,...d}){var b;super(),this.stop=()=>{var h,x;this._animation&&(this._animation.stop(),(h=this.stopTimeline)==null||h.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=tt.now();
168const f={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:s,name:l,motionValue:c,element:u,...d},p=(u==null?void 0:u.KeyframeResolver)||vp;this.keyframeResolver=new p(a,(h,x,m)=>this.onKeyframesResolved(h,x,f,!m),l,c,u),(b=this.keyframeResolver)==null||b.scheduleResolve()}onKeyframesResolved(t,n,r,i){this.keyframeResolver=void 0;const{name:o,type:s,velocity:a,delay:l,isHandoff:c,onUpdate:u}=r;this.resolvedAt=tt.now(),hM(t,o,s,a)||((kn.instantAnimations||!l)&&(u==null||u(gp(t,r,n))),t[0]=t[t.length-1],Md(r),r.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>vM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},p=!c&&yM(f)?new fM({...f,element:f.motionValue.owner.current}):new Zl(f);p.finished.then(()=>this.notifyFinished()).catch(St),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),tM()),this._animation}get duration(){return this.animation.duration}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()}}const xM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function bM(e){const t=xM.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function i1(e,t,n=1){const[r,i]=bM(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return Ex(s)?parseFloat(s):s}return dp(i)?i1(i,t,n+1):i}function wp(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const o1=new Set(["width","height","top","left","right","bottom",...so]),SM={test:e=>e==="auto",parse:e=>e},s1=e=>t=>t.test(e),a1=[oo,B,nn,In,hR,pR,SM],ng=e=>a1.find(s1(e));function kM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Px(e):!0}const CM=new Set(["brightness","contrast","saturate","opacity"]);function EM(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(fp)||[];if(!r)return e;const i=n.replace(r,"");let o=CM.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const TM=/\b([a-z-]*)\(.*?\)/gu,Nd={...cr,getAnimatableNone:e=>{const t=e.match(TM);return t?t.map(EM).join(" "):e}},rg={...oo,transform:Math.round},PM={rotate:In,rotateX:In,rotateY:In,rotateZ:In,scale:aa,scaleX:aa,scaleY:aa,scaleZ:aa,skew:In,skewX:In,skewY:In,distance:B,translateX:B,translateY:B,translateZ:B,x:B,y:B,z:B,perspective:B,transformPerspective:B,opacity:fs,originX:Wm,originY:Wm,originZ:B},xp={borderWidth:B,borderTopWidth:B,borderRightWidth:B,borderBottomWidth:B,borderLeftWidth:B,borderRadius:B,radius:B,borderTopLeftRadius:B,borderTopRightRadius:B,borderBottomRightRadius:B,borderBottomLeftRadius:B,width:B,maxWidth:B,height:B,maxHeight:B,top:B,right:B,bottom:B,left:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,backgroundPositionX:B,backgroundPositionY:B,...PM,zIndex:rg,fillOpacity:fs,strokeOpacity:fs,numOctaves:rg},AM={...xp,color:Ce,backgroundColor:Ce,outlineColor:Ce,fill:Ce,stroke:Ce,borderColor:Ce,borderTopColor:Ce,borderRightColor:Ce,borderBottomColor:Ce,borderLeftColor:Ce,filter:Nd,WebkitFilter:Nd},l1=e=>AM[e];function c1(e,t){let n=l1(e);return n!==Nd&&(n=cr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const RM=new Set(["auto","none","0"]);function MM(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!RM.has(o)&&ps(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=c1(n,i)}class NM extends vp{constructor(t,n,r,i,o){super(t,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),dp(c))){const u=i1(c,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}
vendor: 1,102 bytes, line 168
168if(this.resolveNoneKeyframes(),!o1.has(r)||t.length!==2)return;const[i,o]=t,s=ng(i),a=ng(o);if(s!==a)if(Zm(s)&&Zm(a))for(let l=0;l<t.length;l++){const c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else Lr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||kM(t[i]))&&r.push(i);r.length&&MM(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=Lr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=r.length-1,s=r[o];r[o]=Lr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
vendor: 5,415 bytes, line 168
168h(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function jM(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const u1=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function d1(e){return Tx(e)&&"offsetHeight"in e}const ig=30,DM=e=>!isNaN(parseFloat(e)),Vo={current:void 0};class LM{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var o;const i=tt.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=tt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=DM(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 ap);const r=this.events[t].add(n);return t==="change"?()=>{r(),ie.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 Vo.current&&Vo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=tt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>ig)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,ig);return Ax(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 $r(e,t){return new LM(e,t)}const{schedule:bp,cancel:k4}=Vx(queueMicrotask,!1),Mt={x:!1,y:!1};function f1(){return Mt.x||Mt.y}function OM(e){return e==="x"||e==="y"?Mt[e]?null:(Mt[e]=!0,()=>{Mt[e]=!1}):Mt.x||Mt.y?null:(Mt.x=Mt.y=!0,()=>{Mt.x=Mt.y=!1})}function p1(e,t){const n=jM(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function og(e){return!(e.pointerType==="touch"||f1())}function IM(e,t,n={}){const[r,i,o]=p1(e,n),s=a=>{if(!og(a))return;const{target:l}=a,c=t(l,a);if(typeof c!="function"||!l)return;const u=d=>{og(d)&&(c(d),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return r.forEach(a=>{a.addEventListener("pointerenter",s,i)}),o}const h1=(e,t)=>t?e===t?!0:h1(e,t.parentElement):!1,Sp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,FM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function _M(e){return FM.has(e.tagName)||e.tabIndex!==-1}const Na=new WeakSet;function sg(e){return t=>{t.key==="Enter"&&e(t)}}function qc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const VM=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=sg(()=>{if(Na.has(n))return;qc(n,"down");const i=sg(()=>{qc(n,"up")}),o=()=>qc(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function ag(e){return Sp(e)&&!f1()}function zM(e,t,n={}){const[r,i,o]=p1(e,n),s=a=>{const l=a.currentTarget;if(!ag(a))return;Na.add(l);const c=t(l,a),u=(p,b)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),Na.has(l)&&Na.delete(l),ag(p)&&typeof c=="function"&&c(p,{success:b})},d=p=>{u(p,l===window||l===document||n.useGlobalTarget||h1(l,p.target))},f=p=>{u(p,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",f,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,i),d1(a)&&(a.addEventListener("focus",c=>VM(c,i)),!_M(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function m1(e){return Tx(e)&&"ownerSVGElement"in e}function BM(e){return m1(e)&&e.tagName==="svg"}function $M(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=e[2+n],s=e[3+n],a=Yx(i,o,s);return t?a(r):a}const Me=e=>!!(e&&e.getVelocity);function UM(e,t,n){const r=e.get();let i=null,o=r,s;const a=typeof r=="string"?r.replace(/[\d.-]/g,""):void 0,l=()=>
vendor: 6,766 bytes, lines 168-176
168{i&&(i.stop(),i=null)},c=()=>{l(),i=new Zl({keyframes:[cg(e.get()),cg(o)],velocity:e.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...n,onUpdate:s})};if(e.attach((u,d)=>(o=u,s=f=>d(lg(f,a)),ie.postRender(c),e.get()),l),Me(t)){const u=t.on("change",f=>e.set(lg(f,a))),d=e.on("destroy",u);return()=>{u(),d()}}return l}function lg(e,t){return t?e+t:e}function cg(e){return typeof e=="number"?e:parseFloat(e)}const WM=[...a1,Ce,cr],HM=e=>WM.find(s1(e)),js=v.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ug(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function GM(...e){return t=>{let n=!1;const r=e.map(i=>{const o=ug(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():ug(e[i],null)}}}}function KM(...e){return v.useCallback(GM(...e),e)}class qM extends v.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,i=d1(r)&&r.offsetWidth||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left}return null}componentDidUpdate(){}render(){return this.props.children}}function QM({children:e,isPresent:t,anchorX:n,root:r}){const i=v.useId(),o=v.useRef(null),s=v.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=v.useContext(js),l=KM(o,e==null?void 0:e.ref);return v.useInsertionEffect(()=>{const{width:c,height:u,top:d,left:f,right:p}=s.current;if(t||!o.current||!c||!u)return;const b=n==="left"?`left: ${f}`:`right: ${p}`;o.current.dataset.motionPopId=i;const h=document.createElement("style");a&&(h.nonce=a);const x=r??document.head;return x.appendChild(h),h.sheet&&h.sheet.insertRule(` 169 [data-motion-pop-id="${i}"] { 170 position: absolute !important; 171 width: ${c}px !important; 172 height: ${u}px !important; 173 ${b}px !important; 174 top: ${d}px !important; 175 } 176 `),()=>{x.contains(h)&&x.removeChild(h)}},[t]),y.jsx(qM,{isPresent:t,childRef:o,sizeRef:s,children:v.cloneElement(e,{ref:l})})}const YM=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s,anchorX:a,root:l})=>{const c=As(XM),u=v.useId();let d=!0,f=v.useMemo(()=>(d=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:p=>{c.set(p,!0);for(const b of c.values())if(!b)return;r&&r()},register:p=>(c.set(p,!1),()=>c.delete(p))}),[n,c,r]);return o&&d&&(f={...f}),v.useMemo(()=>{c.forEach((p,b)=>c.set(b,!1))},[n]),v.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),s==="popLayout"&&(e=y.jsx(QM,{isPresent:n,anchorX:a,root:l,children:e})),y.jsx(Xl.Provider,{value:f,children:e})};function XM(){return new Map}function g1(e=!0){const t=v.useContext(Xl);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=v.useId();v.useEffect(()=>{if(e)return i(o)},[e]);const s=v.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}const la=e=>e.key||"";function dg(e){const t=[];return v.Children.forEach(e,n=>{v.isValidElement(n)&&t.push(n)}),t}const ZM=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:s=!1,anchorX:a="left",root:l})=>{const[c,u]=g1(s),d=v.useMemo(()=>dg(e),[e]),f=s&&!c?[]:d.map(la),p=v.useRef(!0),b=v.useRef(d),h=As(()=>new Map),[x,m]=v.useState(d),[g,w]=v.useState(d);rp(()=>{p.current=!1,b.current=d;for(let C=0;C<g.length;C++){const E=la(g[C]);f.includes(E)?h.delete(E):h.get(E)!==!0&&h.set(E,!1)}},[g,f.length,f.join("-")]);const S=[];if(d!==x){let C=[...d];for(let E=0;E<g.length;E++){const T=g[E],M=la(T);f.includes(M)||(C.splice(E,0,T),S.push(T))}return o==="wait"&&S.length&&(C=S),w(dg(C)),m(d),null}const{forceRender:k}=v.useContext(tp);return y.jsx(y.Fragment,{children:g.map(C=>{const E=la(C),T=s&&!c?!1:d===g||f.includes(E),M=()=>{if(h.has(E))h.set(E,!0);else return;let N=!0;h.forEach(V=>{V||(N=!1)}),N&&(k==null||k(),w(b.current),s&&(u==null||u()),r&&r())};return y.jsx(YM,{isPresent:T,initial:!p.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:o,root:l,onExitComplete:T?void 0:M,anchorX:a,children:C},E)})})},y1=v.createContext({strict:!1}),fg={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"]},Yi={};for(const e in fg)Yi[e]={isEnabled:t=>fg[e].some(n=>!!t[n])};function JM(e){for(const t in e)Yi[t]={...Yi[t],...e[t]}}const eN=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function yl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||eN.has(e)}let v1=e=>!yl(e);function tN(e){typeof e=="function"&&(v1=t=>t.startsWith("on")?!yl(t):e(t))}try{tN(require("@emotion/is-prop-valid").default)}catch{}function nN(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(v1(i)||n===!0&&yl(i)||!t&&!yl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Jl=v.createContext({});function ec(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function hs(e){return typeof e=="string"||Array.isArray(e)}const kp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Cp=["initial",...kp];function tc(e){return ec(e.animate)||Cp.some(t=>hs(e[t]))}function w1(e){return!!(tc(e)||e.variants)}function rN(e,t){if(tc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||hs(n)?n:void 0,animate:hs(r)?r:void 0}}return e.inherit!==!1?t:{}}function iN(e){const{initial:t,animate:n}=rN(e,v.useContext(Jl));return v.useMemo(()=>({initial:t,animate:n}),[pg(t),pg(n)])}function pg(e){return Array.isArray(e)?e.join(" "):e}const ms={};function oN(e){for(const t in e)ms[t]=e[t],up(t)&&(ms[t].isCSSVariable=!0)}function x1(e,{layout:t,layoutId:n}){return ao.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ms[e]||e==="opacity")}const sN={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},aN=so.length;
vendor: 9,711 bytes, line 176
176function lN(e,t,n){let r="",i=!0;for(let o=0;o<aN;o++){const s=so[o],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(s.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const c=u1(a,xp[s]);if(!l){i=!1;const u=sN[s]||s;r+=`${u}(${c}) `}n&&(t[s]=c)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Ep(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let s=!1,a=!1;for(const l in t){const c=t[l];if(ao.has(l)){s=!0;continue}else if(up(l)){i[l]=c;continue}else{const u=u1(c,xp[l]);l.startsWith("origin")?(a=!0,o[l]=u):r[l]=u}}if(t.transform||(s||n?r.transform=lN(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:u=0}=o;r.transformOrigin=`${l} ${c} ${u}`}}const Tp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function b1(e,t,n){for(const r in t)!Me(t[r])&&!x1(r,n)&&(e[r]=t[r])}function cN({transformTemplate:e},t){return v.useMemo(()=>{const n=Tp();return Ep(n,t,e),Object.assign({},n.vars,n.style)},[t])}function uN(e,t){const n=e.style||{},r={};return b1(r,n,e),Object.assign(r,cN(e,t)),r}function dN(e,t){const n={},r=uN(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"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const fN={offset:"stroke-dashoffset",array:"stroke-dasharray"},pN={offset:"strokeDashoffset",array:"strokeDasharray"};function hN(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?fN:pN;e[o.offset]=B.transform(-r);const s=B.transform(t),a=B.transform(n);e[o.array]=`${s} ${a}`}function S1(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,c,u){if(Ep(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&hN(d,i,o,s,!1)}const k1=()=>({...Tp(),attrs:{}}),C1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function mN(e,t,n,r){const i=v.useMemo(()=>{const o=k1();return S1(o,t,C1(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};b1(o,e.style,e),i.style={...o,...i.style}}return i}const gN=["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 Pp(e){return typeof e!="string"||e.includes("-")?!1:!!(gN.indexOf(e)>-1||/[A-Z]/u.test(e))}function yN(e,t,n,{latestValues:r},i,o=!1){const a=(Pp(e)?mN:dN)(t,r,i,e),l=nN(t,typeof e=="string",o),c=e!==v.Fragment?{...l,...a,ref:n}:{},{children:u}=t,d=v.useMemo(()=>Me(u)?u.get():u,[u]);return v.createElement(e,{...c,children:d})}function hg(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Ap(e,t,n,r){if(typeof t=="function"){const[i,o]=hg(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=hg(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function ja(e){return Me(e)?e.get():e}function vN({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:wN(n,r,i,e),renderState:t()}}function wN(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=ja(o[f]);let{initial:s,animate:a}=e;const l=tc(e),c=w1(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const d=u?a:s;if(d&&typeof d!="boolean"&&!ec(d)){const f=Array.isArray(d)?d:[d];for(let p=0;p<f.length;p++){const b=Ap(e,f[p]);if(b){const{transitionEnd:h,transition:x,...m}=b;for(const g in m){let w=m[g];if(Array.isArray(w)){const S=u?w.length-1:0;w=w[S]}w!==null&&(i[g]=w)}for(const g in h)i[g]=h[g]}}}return i}const E1=e=>(t,n)=>{const r=v.useContext(Jl),i=v.useContext(Xl),o=()=>vN(e,t,r,i);return n?o():As(o)};function Rp(e,t,n){var o;const{style:r}=e,i={};for(const s in r)(Me(r[s])||t.style&&Me(t.style[s])||x1(s,e)||((o=n==null?void 0:n.getValue(s))==null?void 0:o.liveStyle)!==void 0)&&(i[s]=r[s]);return i}const xN=E1({scrapeMotionValuesFromProps:Rp,createRenderState:Tp});function T1(e,t,n){const r=Rp(e,t,n);for(const i in e)if(Me(e[i])||Me(t[i])){const o=so.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}const bN=E1({scrapeMotionValuesFromProps:T1,createRenderState:k1}),SN=Symbol.for("motionComponentSymbol");function yi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function kN(e,t,n){return v.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):yi(n)&&(n.current=r))},[t])}const Mp=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),CN="framerAppearId",P1="data-"+Mp(CN),A1=v.createContext({});function EN(e,t,n,r,i){var h,x;const{visualElement:o}=v.useContext(Jl),s=v.useContext(y1),a=v.useContext(Xl),l=v.useContext(js).reducedMotion,c=v.useRef(null);r=r||s.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:l}));const u=c.current,d=v.useContext(A1);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&TN(c.current,n,i,d);const f=v.useRef(!1);v.useInsertionEffect(()=>{u&&f.current&&u.update(n,a)});const p=n[P1],b=v.useRef(!!p&&!((h=window.MotionHandoffIsComplete)!=null&&h.call(window,p))&&((x=window.MotionHasOptimisedAnimation)==null?void 0:x.call(window,p)));return rp(()=>{u&&(f.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),b.current&&u.animationState&&u.animationState.animateChanges())}),v.useEffect(()=>{u&&(!b.current&&u.animationState&&u.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)==null||m.call(window,p)}),b.current=!1),u.enteringChildren=void 0)}),u}function TN(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:R1(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&yi(a),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:u,layoutScroll:l,layoutRoot:c})}function R1(e){if(e)return e.options.allowProjection!==!1?e.projection:R1(e.parent)}function Qc(e,{forwardMotionProps:t=!1}={},n,r){n&&JM(n);const i=Pp(e)?bN:xN;function o(a,l){let c;const u={...v.useContext(js),...a,layoutId:PN(a)},{isStatic:d}=u,f=iN(a),p=i(a,d);if(!d&&np){AN();const b=RN(u);c=b.MeasureLayout,f.visualElement=EN(e,p,u,r,b.ProjectionNode)}return y.jsxs(Jl.Provider,{value:f,children:[c&&f.visualElement?y.jsx(c,{visualElement:f.visualElement,...u}):null,yN(e,a,kN(p,f.visualElement,l),p,d,t)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=v.forwardRef(o);return s[SN]=e,s}function PN({layoutId:e}){const t=v.useContext(tp).id;return t&&e!==void 0?t+"-"+e:e}function AN(e,t){v.useContext(y1).strict}function RN(e){const{drag:t,layout:n}=Yi;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function MN(e,t){if(typeof Proxy>"u")return Qc;const n=new Map,r=(o,s)=>Qc(o,s,e,t),i=(o,s)=>r(o,s);return new Proxy(i,{get:(o,s)=>s==="create"?r:(n.has(s)||n.set(s,Qc(s,void 0,e,t)),n.get(s))})}function M1({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function NN({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function jN(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 Yc(e){return e===void 0||e===1}function jd({scale:e,scaleX:t,scaleY:n}){return!Yc(e)||!Yc(t)||!Yc(n)}function xr(e){return jd(e)||N1(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function N1(e){return mg(e.x)||mg(e.y)}function mg(e){return e&&e!=="0%"}function vl(e,t,n){const r=e-n,i=t*r;return n+i}function gg(e,t,n,r,i){return i!==void 0&&(e=vl(e,i,r)),vl(e,n,r)+t}function Dd(e,t=0,n=1,r,i){e.min=gg(e.min,t,n,r,i),e.max=gg(e.max,t,n,r,i)}function j1(e,{x:t,y:n}){Dd(e.x,t.translate,t.scale,t.originPoint),Dd(e.y,n.translate,n.scale,n.originPoint)}const yg=.999999999999,vg=1.0000000000001;function DN(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a<i;a++){o=n[a],s=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&wi(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,j1(e,s)),r&&xr(o.latestValues)&&wi(e,o.latestValues))}t.x<vg&&t.x>yg&&(t.x=1),t.y<vg&&t.y>yg&&(t.y=1)}function vi(e,t){e.min=e.min+t,e.max=e.max+t}function wg(e,t,n,r,i=.5){const o=pe(e.min,e.max,i);Dd(e,t,n,o,r)}function wi(e,t){wg(e.x,t.x,t.scaleX,t.scale,t.originX),wg(e.y,t.y,t.scaleY,t.scale,t.originY)}function D1(e,t){return M1(jN(e.getBoundingClientRect(),t))}function LN(e,t,n){const r=D1(e,n),{scroll:i}=t;return i&&(vi(r.x,i.offset.x),vi(r.y,i.offset.y)),r}const xg=()=>({translate:0,scale:1,origin:0,originPoint:0}),xi=()=>({x:xg(),y:xg()}),bg=()=>({min:0,max:0}),be=()=>({x:bg(),y:bg()}),Ld={current:null},L1={current:!1};
vendor: 5,323 bytes, line 176
176function ON(){if(L1.current=!0,!!np)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ld.current=e.matches;e.addEventListener("change",t),t()}else Ld.current=!1}const IN=new WeakMap;function FN(e,t,n){for(const r in t){const i=t[r],o=n[r];if(Me(i))e.addValue(r,i);else if(Me(o))e.addValue(r,$r(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(r);e.addValue(r,$r(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Sg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class _N{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=vp,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=tt.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,ie.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=tc(n),this.isVariantNode=w1(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const p=d[f];l[f]!==void 0&&Me(p)&&p.set(l[f])}}mount(t){var n;this.current=t,IN.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((r,i)=>this.bindToMotionValue(i,r)),L1.current||ON(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ld.current,(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),Cn(this.notifyUpdate),Cn(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){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=ao.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ie.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o&&o(),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 Yi){const n=Yi[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):be()}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<Sg.length;r++){const i=Sg[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,s=t[o];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=FN(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}
vendor: 10,107 bytes, line 176
176addVariantChild(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=$r(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"&&(Ex(r)||Px(r))?r=parseFloat(r):!HM(r)&&cr.test(n)&&(r=c1(t,n)),this.setBaseTarget(t,Me(r)?r.get():r)),Me(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var o;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=Ap(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Me(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new ap),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){bp.render(this.render)}}class O1 extends _N{constructor(){super(...arguments),this.KeyframeResolver=NM}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[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;Me(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function I1(e,{style:t,vars:n},r,i){const o=e.style;let s;for(s in t)o[s]=t[s];i==null||i.applyProjectionStyles(o,r);for(s in n)o.setProperty(s,n[s])}function VN(e){return window.getComputedStyle(e)}class zN extends O1{constructor(){super(...arguments),this.type="html",this.renderInstance=I1}readValueFromInstance(t,n){var r;if(ao.has(n))return(r=this.projection)!=null&&r.isProjecting?Ed(n):YR(t,n);{const i=VN(t),o=(up(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return D1(t,n)}build(t,n,r){Ep(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Rp(t,n,r)}}const F1=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"]);function BN(e,t,n,r){I1(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(F1.has(i)?i:Mp(i),t.attrs[i])}class $N extends O1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=be}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ao.has(n)){const r=l1(n);return r&&r.default||0}return n=F1.has(n)?n:Mp(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return T1(t,n,r)}build(t,n,r){S1(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){BN(t,n,r,i)}mount(t){this.isSVGTag=C1(t.tagName),super.mount(t)}}const UN=(e,t)=>Pp(e)?new $N(t):new zN(t,{allowProjection:e!==v.Fragment});function Ni(e,t,n){const r=e.getProps();return Ap(r,t,n!==void 0?n:r.custom,e)}const Od=e=>Array.isArray(e);function WN(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,$r(n))}function HN(e){return Od(e)?e[e.length-1]||0:e}function GN(e,t){const n=Ni(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=HN(o[s]);WN(e,s,a)}}function KN(e){return!!(Me(e)&&e.add)}function Id(e,t){const n=e.getValue("willChange");if(KN(n))return n.add(t);if(!n&&kn.WillChange){const r=new kn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function _1(e){return e.props[P1]}const qN=e=>e!==null;function QN(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(qN),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}const YN={type:"spring",stiffness:500,damping:25,restSpeed:10},XN=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ZN={type:"keyframes",duration:.8},JN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ej=(e,{keyframes:t})=>t.length>2?ZN:ao.has(e)?e.startsWith("scale")?XN(t[1]):YN:JN;function tj({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const Np=(e,t,n,r={},i,o)=>s=>{const a=wp(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-en(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};tj(a)||Object.assign(u,ej(e,u)),u.duration&&(u.duration=en(u.duration)),u.repeatDelay&&(u.repeatDelay=en(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Md(u),u.delay===0&&(d=!0)),(kn.instantAnimations||kn.skipAnimations)&&(d=!0,Md(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,d&&!o&&t.get()!==void 0){const f=QN(u.keyframes,a);if(f!==void 0){ie.update(()=>{u.onUpdate(f),u.onComplete()});return}}return a.isSync?new Zl(u):new wM(u)};function nj({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function V1(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=t;r&&(o=r);const l=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const u in a){const d=e.getValue(u,e.latestValues[u]??null),f=a[u];if(f===void 0||c&&nj(c,u))continue;const p={delay:n,...wp(o||{},u)},b=d.get();if(b!==void 0&&!d.isAnimating&&!Array.isArray(f)&&f===b&&!p.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){const m=_1(e);if(m){const g=window.MotionHandoffAnimation(m,u,ie);g!==null&&(p.startTime=g,h=!0)}}Id(e,u),d.start(Np(u,d,f,e.shouldReduceMotion&&o1.has(u)?{type:!1}:p,e,h));const x=d.animation;x&&l.push(x)}return s&&Promise.all(l).then(()=>{ie.update(()=>{s&&GN(e,s)})}),l}function z1(e,t,n,r=0,i=1){const o=Array.from(e).sort((c,u)=>c.sortNodePosition(u)).indexOf(t),s=e.size,a=(s-1)*r;return typeof n=="function"?n(o,s):i===1?o*r:a-o*r}function Fd(e,t,n={}){var l;const r=Ni(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(V1(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=i;return rj(e,t,c,u,d,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[c,u]=a==="beforeChildren"?[o,s]:[s,o];return c().then(()=>u())}else return Promise.all([o(),s(n.delay)])}function rj(e,t,n=0,r=0,i=0,o=1,s){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Fd(l,t,{...s,delay:n+(typeof r=="function"?0:r)+z1(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function ij(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Fd(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Fd(e,t,n);else{const i=typeof t=="function"?Ni(e,t,n.custom):t;r=Promise.all(V1(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function B1(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 oj=Cp.length;function $1(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?$1(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<oj;n++){const r=Cp[n],i=e.props[r];(hs(i)||i===!1)&&(t[r]=i)}return t}const sj=[...kp].reverse(),aj=kp.length;function lj(e){return t=>Promise.all(t.map(({animation:n,options:r})=>ij(e,n,r)))}function cj(e){let t=lj(e),n=kg(),r=!0;const i=l=>(c,u)=>{var f;const d=Ni(e,u,l==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(d){const{transition:p,transitionEnd:b,...h}=d;c={...c,...h,...b}}return c};function o(l){t=l(e)}function s(l){const{props:c}=e,u=$1(e.parent)||{},d=[],f=new Set;let p={},b=1/0;for(let x=0;x<aj;x++){const m=sj[x],g=n[m],w=c[m]!==void 0?c[m]:u[m],S=hs(w),k=m===l?g.isActive:null;k===!1&&(b=x);let C=w===u[m]&&w!==c[m]&&S;if(C&&r&&e.manuallyAnimateOnMount&&(C=!1),g.protectedKeys={...p},!g.isActive&&k===null||!w&&!g.prevProp||ec(w)||typeof w=="boolean")continue;const E=uj(g.prevProp,w);let T=E||m===l&&g.isActive&&!C&&S||x>b&&S,M=!1;const N=Array.isArray(w)?w:[w];let V=N.reduce(i(m),{});k===!1&&(V={});const{prevResolvedValues:I={}}=g,K={...I,...V},L=_=>{T=!0,f.has(_)&&(M=!0,f.delete(_)),g.needsAnimating[_]=!0;const P=e.getValue(_);P&&(P.liveStyle=!1)};for(const _ in K){const P=V[_],R=I[_];if(p.hasOwnProperty(_))continue;let O=!1;Od(P)&&Od(R)?O=!B1(P,R):O=P!==R,O?P!=null?L(_):f.add(_):P!==void 0&&f.has(_)?L(_):g.protectedKeys[_]=!0}g.prevProp=w,g.prevResolvedValues=V,g.isActive&&(p={...p,...V}),r&&e.blockInitialAnimation&&(T=!1);const q=C&&E;T&&(!q||M)&&d.push(...N.map(_=>{const P={type:m};if(typeof _=="string"&&r&&!q&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,O=Ni(R,_);if(R.enteringChildren&&O){const{delayChildren:U}=O.transition||{};P.delay=z1(R.enteringChildren,e,U)}}return{animation:_,options:P}}))}
vendor: 20,649 bytes, line 176
176if(f.size){const x={};if(typeof c.initial!="boolean"){const m=Ni(e,Array.isArray(c.initial)?c.initial[0]:c.initial);m&&m.transition&&(x.transition=m.transition)}f.forEach(m=>{const g=e.getBaseTarget(m),w=e.getValue(m);w&&(w.liveStyle=!0),x[m]=g??null}),d.push({animation:x})}let h=!!d.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(d):Promise.resolve()}function a(l,c){var d;if(n[l].isActive===c)return Promise.resolve();(d=e.variantChildren)==null||d.forEach(f=>{var p;return(p=f.animationState)==null?void 0:p.setActive(l,c)}),n[l].isActive=c;const u=s(l);for(const f in n)n[f].protectedKeys={};return u}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n,reset:()=>{n=kg(),r=!0}}}function uj(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!B1(t,e):!1}function yr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function kg(){return{animate:yr(!0),whileInView:yr(),whileHover:yr(),whileTap:yr(),whileDrag:yr(),whileFocus:yr(),exit:yr()}}class pr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class dj extends pr{constructor(t){super(t),t.animationState||(t.animationState=cj(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ec(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 fj=0;class pj extends pr{constructor(){super(...arguments),this.id=fj++}update(){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;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const hj={animation:{Feature:dj},exit:{Feature:pj}};function gs(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Ds(e){return{point:{x:e.pageX,y:e.pageY}}}const mj=e=>t=>Sp(t)&&e(t,Ds(t));function zo(e,t,n,r){return gs(e,t,mj(n),r)}const U1=1e-4,gj=1-U1,yj=1+U1,W1=.01,vj=0-W1,wj=0+W1;function Ke(e){return e.max-e.min}function xj(e,t,n){return Math.abs(e-t)<=n}function Cg(e,t,n,r=.5){e.origin=r,e.originPoint=pe(t.min,t.max,e.origin),e.scale=Ke(n)/Ke(t),e.translate=pe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=gj&&e.scale<=yj||isNaN(e.scale))&&(e.scale=1),(e.translate>=vj&&e.translate<=wj||isNaN(e.translate))&&(e.translate=0)}function Bo(e,t,n,r){Cg(e.x,t.x,n.x,r?r.originX:void 0),Cg(e.y,t.y,n.y,r?r.originY:void 0)}function Eg(e,t,n){e.min=n.min+t.min,e.max=e.min+Ke(t)}function bj(e,t,n){Eg(e.x,t.x,n.x),Eg(e.y,t.y,n.y)}function Tg(e,t,n){e.min=t.min-n.min,e.max=e.min+Ke(t)}function $o(e,t,n){Tg(e.x,t.x,n.x),Tg(e.y,t.y,n.y)}function gt(e){return[e("x"),e("y")]}const H1=({current:e})=>e?e.ownerDocument.defaultView:null,Pg=(e,t)=>Math.abs(e-t);function Sj(e,t){const n=Pg(e.x,t.x),r=Pg(e.y,t.y);return Math.sqrt(n**2+r**2)}class G1{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:o=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Zc(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,b=Sj(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!p&&!b)return;const{point:h}=f,{timestamp:x}=De;this.history.push({...h,timestamp:x});const{onStart:m,onMove:g}=this.handlers;p||(m&&m(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Xc(p,this.transformPagePoint),ie.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();const{onEnd:b,onSessionEnd:h,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Zc(f.type==="pointercancel"?this.lastMoveEventInfo:Xc(p,this.transformPagePoint),this.history);this.startEvent&&b&&b(f,m),h&&h(f,m)},!Sp(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=i||window;const a=Ds(t),l=Xc(a,this.transformPagePoint),{point:c}=l,{timestamp:u}=De;this.history=[{...c,timestamp:u}];const{onSessionStart:d}=n;d&&d(t,Zc(l,this.history)),this.removeListeners=Rs(zo(this.contextWindow,"pointermove",this.handlePointerMove),zo(this.contextWindow,"pointerup",this.handlePointerUp),zo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Cn(this.updatePoint)}}function Xc(e,t){return t?{point:t(e.point)}:e}function Ag(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zc({point:e},t){return{point:e,delta:Ag(e,K1(t)),offset:Ag(e,kj(t)),velocity:Cj(t,.1)}}function kj(e){return e[0]}function K1(e){return e[e.length-1]}function Cj(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=K1(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>en(t)));)n--;if(!r)return{x:0,y:0};const o=tn(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Ej(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?pe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?pe(n,e,r.max):Math.min(e,n)),e}function Rg(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 Tj(e,{top:t,left:n,bottom:r,right:i}){return{x:Rg(e.x,n,i),y:Rg(e.y,t,r)}}function Mg(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 Pj(e,t){return{x:Mg(e.x,t.x),y:Mg(e.y,t.y)}}function Aj(e,t){let n=.5;const r=Ke(e),i=Ke(t);return i>r?n=ds(t.min,t.max-r,e.min):r>i&&(n=ds(e.min,e.max-i,t.min)),Sn(0,1,n)}function Rj(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 _d=.35;function Mj(e=_d){return e===!1?e=0:e===!0&&(e=_d),{x:Ng(e,"left","right"),y:Ng(e,"top","bottom")}}function Ng(e,t,n){return{min:jg(e,t),max:jg(e,n)}}function jg(e,t){return typeof e=="number"?e:e[t]||0}const Nj=new WeakMap;class jj{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=be(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=d=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Ds(d).point)},s=(d,f)=>{const{drag:p,dragPropagation:b,onDragStart:h}=this.getProps();if(p&&!b&&(this.openDragLock&&this.openDragLock(),this.openDragLock=OM(p),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),gt(m=>{let g=this.getAxisMotionValue(m).get()||0;if(nn.test(g)){const{projection:w}=this.visualElement;if(w&&w.layout){const S=w.layout.layoutBox[m];S&&(g=Ke(S)*(parseFloat(g)/100))}}this.originPoint[m]=g}),h&&ie.postRender(()=>h(d,f)),Id(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:p,dragDirectionLock:b,onDirectionLock:h,onDrag:x}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:m}=f;if(b&&this.currentDirection===null){this.currentDirection=Dj(m),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",f.point,m),this.updateAxis("y",f.point,m),this.visualElement.render(),x&&x(d,f)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>gt(d=>{var f;return this.getAnimationState(d)==="paused"&&((f=this.getAxisMotionValue(d).animation)==null?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new G1(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:H1(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!i||!r)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&ie.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!ca(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=Ej(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,i=this.constraints;t&&yi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Tj(r.layoutBox,t):this.constraints=!1,this.elastic=Mj(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&>(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=Rj(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!yi(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=LN(r,i.root,this.visualElement.getTransformPagePoint());let s=Pj(i.layout.layoutBox,o);if(n){const a=n(NN(s));this.hasMutatedConstraints=!!a,a&&(s=M1(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=gt(u=>{if(!ca(u,n,this.currentDirection))return;let d=l&&l[u]||{};s&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,b={type:"inertia",velocity:r?t[u]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(u,b)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Id(this.visualElement,t),r.start(Np(t,r,0,n,this.visualElement,!1))}stopAnimation(){gt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){gt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){gt(n=>{const{drag:r}=this.getProps();if(!ca(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n];o.set(t[n]-pe(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!yi(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};gt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();i[s]=Aj({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),gt(s=>{if(!ca(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];a.set(pe(l,c,i[s]))})}addListeners(){if(!this.visualElement.current)return;Nj.set(this.visualElement,this);const t=this.visualElement.current,n=zo(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();yi(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ie.read(r);const s=gs(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(gt(u=>{const d=this.getAxisMotionValue(u);d&&(this.originPoint[u]+=l[u].translate,d.set(d.get()+l[u].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=_d,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function ca(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Dj(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Lj extends pr{constructor(t){super(t),this.removeGroupControls=St,this.removeListeners=St,this.controls=new jj(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||St}unmount(){this.removeGroupControls(),this.removeListeners()}}const Dg=e=>(t,n)=>{e&&ie.postRender(()=>e(t,n))};class Oj extends pr{constructor(){super(...arguments),this.removePointerDownListener=St}onPointerDown(t){this.session=new G1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:H1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Dg(t),onStart:Dg(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&ie.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=zo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Da={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Lg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const bo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(B.test(e))e=parseFloat(e);else return e;const n=Lg(e,t.target.x),r=Lg(e,t.target.y);return`${n}% ${r}%`}},Ij={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=cr.parse(e);if(i.length>5)return r;const o=cr.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const c=pe(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),o(i)}};let Jc=!1;class Fj extends v.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;oN(_j),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),Jc&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Da.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,{projection:s}=r;return s&&(s.isPresent=o,Jc=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==o?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||ie.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),bp.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;Jc=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function q1(e){const[t,n]=g1(),r=v.useContext(tp);return y.jsx(Fj,{...e,layoutGroup:r,switchLayoutGroup:v.useContext(A1),isPresent:t,safeToRemove:n})}const _j={borderRadius:{...bo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:bo,borderTopRightRadius:bo,borderBottomLeftRadius:bo,borderBottomRightRadius:bo,boxShadow:Ij};function Vj(e,t,n){const r=Me(e)?e:$r(e);return r.start(Np("",r,t,n)),r.animation}const zj=(e,t)=>e.depth-t.depth;class Bj{constructor(){this.children=[],this.isDirty=!1}add(t){ip(this.children,t),this.isDirty=!0}remove(t){op(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(zj),this.isDirty=!1,this.children.forEach(t)}}function $j(e,t){const n=tt.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Cn(r),e(o-t))};return ie.setup(r,!0),()=>Cn(r)}const Q1=["TopLeft","TopRight","BottomLeft","BottomRight"],Uj=Q1.length,Og=e=>typeof e=="string"?parseFloat(e):e,Ig=e=>typeof e=="number"||B.test(e);function Wj(e,t,n,r,i,o){i?(e.opacity=pe(0,n.opacity??1,Hj(r)),e.opacityExit=pe(t.opacity??1,0,Gj(r))):o&&(e.opacity=pe(t.opacity??1,n.opacity??1,r));for(let s=0;s<Uj;s++){const a=`border${Q1[s]}Radius`;let l=Fg(t,a),c=Fg(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Ig(l)===Ig(c)?(e[a]=Math.max(pe(Og(l),Og(c),r),0),(nn.test(c)||nn.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=pe(t.rotate||0,n.rotate||0,r))}function Fg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Hj=Y1(0,.5,Ox),Gj=Y1(.5,.95,St);function Y1(e,t,n){return r=>r<e?0:r>t?1:n(ds(e,t,r))}function _g(e,t){e.min=t.min,e.max=t.max}function mt(e,t){_g(e.x,t.x),_g(e.y,t.y)}function Vg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function zg(e,t,n,r,i){return e-=t,e=vl(e,1/n,r),i!==void 0&&(e=vl(e,1/i,r)),e}function Kj(e,t=0,n=1,r=.5,i,o=e,s=e){if(nn.test(t)&&(t=parseFloat(t),t=pe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=pe(o.min,o.max,r);e===o&&(a-=t),e.min=zg(e.min,t,n,a,i),e.max=zg(e.max,t,n,a,i)}function Bg(e,t,[n,r,i],o,s){Kj(e,t[n],t[r],t[i],t.scale,o,s)}const qj=["x","scaleX","originX"],Qj=["y","scaleY","originY"];function $g(e,t,n,r){Bg(e.x,t,qj,n?n.x:void 0,r?r.x:void 0),Bg(e.y,t,Qj,n?n.y:void 0,r?r.y:void 0)}function Ug(e){return e.translate===0&&e.scale===1}function X1(e){return Ug(e.x)&&Ug(e.y)}function Wg(e,t){return e.min===t.min&&e.max===t.max}function Yj(e,t){return Wg(e.x,t.x)&&Wg(e.y,t.y)}function Hg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Z1(e,t){return Hg(e.x,t.x)&&Hg(e.y,t.y)}function Gg(e){return Ke(e.x)/Ke(e.y)}function Kg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Xj{constructor(){this.members=[]}add(t){ip(this.members,t),t.scheduleRender()}remove(t){if(op(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){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Zj(e,t,n){let r="";
vendor: 8,713 bytes, line 176
176const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:d,rotateY:f,skewX:p,skewY:b}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),b&&(r+=`skewY(${b}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const eu=["","X","Y","Z"],Jj=1e3;let eD=0;function tu(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function J1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=_1(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ie,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&J1(r)}function eb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=eD++,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.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(rD),this.nodes.forEach(aD),this.nodes.forEach(lD),this.nodes.forEach(iD)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Bj)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new ap),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=m1(s)&&!BM(s),this.instance=s;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let u,d=0;const f=()=>this.root.updateBlockedByResize=!1;ie.read(()=>{d=window.innerWidth}),e(s,()=>{const p=window.innerWidth;p!==d&&(d=p,this.root.updateBlockedByResize=!0,u&&u(),u=$j(f,250),Da.hasAnimatedSinceResize&&(Da.hasAnimatedSinceResize=!1,this.nodes.forEach(Yg)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||c.getDefaultTransition()||pD,{onLayoutAnimationStart:h,onLayoutAnimationComplete:x}=c.getProps(),m=!this.targetLayout||!Z1(this.targetLayout,p),g=!d&&f;if(this.options.layoutRoot||this.resumeFrom||g||d&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const w={...wp(b,"layout"),onPlay:h,onComplete:x};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(u,g)}else d||Yg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Cn(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(cD),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&J1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(qg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Qg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(sD),this.nodes.forEach(tD),this.nodes.forEach(nD)):this.nodes.forEach(Qg),this.clearAllSnapshots();const a=tt.now();De.delta=Sn(0,1e3/60,a-De.timestamp),De.timestamp=a,De.isProcessing=!0,Uc.update.process(De),Uc.preRender.process(De),Uc.render.process(De),De.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,bp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(oD),this.sharedNodes.forEach(uD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ie.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ie.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ke(this.snapshot.measuredBox.x)&&!Ke(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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=be(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!X1(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;s&&this.instance&&(a||xr(this.latestValues)||u)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),hD(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:s}=this.options;if(!s)return be();const a=s.measureViewportBox();if(!(((c=this.scroll)==null?void 0:c.wasRoot)||this.path.some(mD))){const{scroll:u}=this.root;u&&(vi(a.x,u.offset.x),vi(a.y,u.offset.y))}return a}removeElementScroll(s){var l;const a=be();if(mt(a,s),(l=this.scroll)!=null&&l.wasRoot)return a;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:d,options:f}=u;u!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&mt(a,s),vi(a.x,d.offset.x),vi(a.y,d.offset.y))}return a}
vendor: 6,715 bytes, line 176
176applyTransform(s,a=!1){const l=be();mt(l,s);for(let c=0;c<this.path.length;c++){const u=this.path[c];!a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&wi(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),xr(u.latestValues)&&wi(l,u.latestValues)}return xr(this.latestValues)&&wi(l,this.latestValues),l}removeTransform(s){const a=be();mt(a,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!xr(c.latestValues))continue;jd(c.latestValues)&&c.updateSnapshot();const u=be(),d=c.measurePageBox();mt(u,d),$g(a,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return xr(this.latestValues)&&$g(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.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!==De.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var f;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(f=this.parent)!=null&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:d}=this.options;if(!(!this.layout||!(u||d))){if(this.resolvedRelativeTargetAt=De.timestamp,!this.targetDelta&&!this.relativeTarget){const p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=be(),this.relativeTargetOrigin=be(),$o(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),mt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=be(),this.targetWithTransforms=be()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),bj(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):mt(this.target,this.layout.layoutBox),j1(this.target,this.targetDelta)):mt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=be(),this.relativeTargetOrigin=be(),$o(this.relativeTargetOrigin,this.target,p.target),mt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||jd(this.parent.latestValues)||N1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var b;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(b=this.parent)!=null&&b.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===De.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;mt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;DN(this.layoutCorrected,this.treeScale,this.path,a),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=be());const{target:p}=s;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Vg(this.prevProjectionDelta.x,this.projectionDelta.x),Vg(this.prevProjectionDelta.y,this.projectionDelta.y)),Bo(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!Kg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Kg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=xi(),this.projectionDelta=xi(),this.projectionDeltaWithTransform=xi()}setAnimationOrigin(s,a=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},d=xi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=be(),p=l?l.source:void 0,b=this.layout?this.layout.source:void 0,h=p!==b,x=this.getStack(),m=!x||x.members.length<=1,g=!!(h&&!m&&this.options.crossfade===!0&&!this.path.some(fD));this.animationProgress=0;let w;this.mixTargetDelta=S=>{const k=S/1e3;Xg(d.x,s.x,k),Xg(d.y,s.y,k),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&($o(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),dD(this.relativeTarget,this.relativeTargetOrigin,f,k),w&&Yj(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=be()),mt(w,this.relativeTarget)),h&&(this.animationValues=u,Wj(u,c,this.latestValues,k,g,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){var a,l,c;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(c=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||c.stop(),this.pendingAnimation&&(Cn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ie.update(()=>
vendor: 4,256 bytes, line 176
176{Da.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=$r(0)),this.currentAnimation=Vj(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),s.onUpdate&&s.onUpdate(u)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Jj),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&tb(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||be();const d=Ke(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=Ke(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}mt(a,l),wi(a,u),Bo(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Xj),this.sharedNodes.get(s).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&tu("z",s,c,this.animationValues);for(let u=0;u<eu.length;u++)tu(`rotate${eu[u]}`,s,c,this.animationValues),tu(`skew${eu[u]}`,s,c,this.animationValues);s.render();for(const u in c)s.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);s.scheduleRender()}applyProjectionStyles(s,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=ja(a==null?void 0:a.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=ja(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!xr(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=Zj(this.projectionDeltaWithTransform,this.treeScale,u);l&&(d=l(u,d)),s.transform=d;const{x:f,y:p}=this.projectionDelta;s.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,c.animationValues?s.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const b in ms){if(u[b]===void 0)continue;const{correct:h,applyTo:x,isCSSVariable:m}=ms[b],g=d==="none"?u[b]:h(u[b],c);if(x){const w=x.length;for(let S=0;S<w;S++)s[x[S]]=g}else m?this.options.visualElement.renderState.vars[b]=g:s[b]=g}this.options.layoutId&&(s.pointerEvents=c===this?ja(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
vendor: 6,702 bytes, line 176
176resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(qg),this.root.sharedNodes.clear()}}}function tD(e){e.updateLayout()}function nD(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:i}=e.layout,{animationType:o}=e.options,s=t.source!==e.layout.source;o==="size"?gt(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],p=Ke(f);f.min=r[d].min,f.max=f.min+p}):tb(o,t.layoutBox,r)&>(d=>{const f=s?t.measuredBox[d]:t.layoutBox[d],p=Ke(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=xi();Bo(a,r,t.layoutBox);const l=xi();s?Bo(l,e.applyTransform(i,!0),t.measuredBox):Bo(l,r,t.layoutBox);const c=!X1(a);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const b=be();$o(b,t.layoutBox,f.layoutBox);const h=be();$o(h,r,p.layoutBox),Z1(b,h)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=h,e.relativeTargetOrigin=b,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function rD(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 iD(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function oD(e){e.clearSnapshot()}function qg(e){e.clearMeasurements()}function Qg(e){e.isLayoutDirty=!1}function sD(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Yg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function aD(e){e.resolveTargetDelta()}function lD(e){e.calcProjection()}function cD(e){e.resetSkewAndRotation()}function uD(e){e.removeLeadSnapshot()}function Xg(e,t,n){e.translate=pe(t.translate,0,n),e.scale=pe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Zg(e,t,n,r){e.min=pe(t.min,n.min,r),e.max=pe(t.max,n.max,r)}function dD(e,t,n,r){Zg(e.x,t.x,n.x,r),Zg(e.y,t.y,n.y,r)}function fD(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const pD={duration:.45,ease:[.4,0,.1,1]},Jg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ey=Jg("applewebkit/")&&!Jg("chrome/")?Math.round:St;function ty(e){e.min=ey(e.min),e.max=ey(e.max)}function hD(e){ty(e.x),ty(e.y)}function tb(e,t,n){return e==="position"||e==="preserve-aspect"&&!xj(Gg(t),Gg(n),.2)}function mD(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const gD=eb({attachResizeListener:(e,t)=>gs(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nu={current:void 0},nb=eb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!nu.current){const e=new gD({});e.mount(window),e.setOptions({layoutScroll:!0}),nu.current=e}return nu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),yD={pan:{Feature:Oj},drag:{Feature:Lj,ProjectionNode:nb,MeasureLayout:q1}};function ny(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&ie.postRender(()=>o(t,Ds(t)))}class vD extends pr{mount(){const{current:t}=this.node;t&&(this.unmount=IM(t,(n,r)=>(ny(this.node,r,"Start"),i=>ny(this.node,i,"End"))))}unmount(){}}class wD extends pr{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=Rs(gs(this.node.current,"focus",()=>this.onFocus()),gs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ry(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 i="onTap"+(n==="End"?"":n),o=r[i];o&&ie.postRender(()=>o(t,Ds(t)))}class xD extends pr{mount(){const{current:t}=this.node;t&&(this.unmount=zM(t,(n,r)=>(ry(this.node,r,"Start"),(i,{success:o})=>ry(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Vd=new WeakMap,ru=new WeakMap,bD=e=>{const t=Vd.get(e.target);t&&t(e)},SD=e=>{e.forEach(bD)};function kD({root:e,...t}){const n=e||document;ru.has(n)||ru.set(n,{});const r=ru.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(SD,{root:e,...t})),r[i]}function CD(e,t,n){const r=kD(t);return Vd.set(e,n),r.observe(e),()=>{Vd.delete(e),r.unobserve(e)}}const ED={some:0,all:1};class TD extends pr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:ED[i]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,o&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),f=c?u:d;f&&f(l)};return CD(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(PD(t,n))&&this.startObserver()}unmount(){}}function PD({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const AD={inView:{Feature:TD},tap:{Feature:xD},focus:{Feature:wD},hover:{Feature:vD}},RD={layout:{ProjectionNode:nb,MeasureLayout:q1}},MD={...hj,...AD,...yD,...RD},Re=MN(MD,UN);function wl(e){const t=As(()=>$r(e)),{isStatic:n}=v.useContext(js);if(n){const[,r]=v.useState(e);v.useEffect(()=>t.on("change",r),[])}return t}function rb(e,t){const n=wl(t()),r=()=>n.set(t());return r(),rp(()=>{const i=()=>ie.preRender(r,!1,!0),o=e.map(s=>
176s.on("change",i));return()=>{o.forEach(s=>s()),Cn(r)}}),n}function ND(e){Vo.current=[],e();const t=rb(Vo.current,e);return Vo.current=void 0,t}function jD(e,t,n,r){if(typeof e=="function")return ND(e);const i=$M(t,n,r);return Array.isArray(e)?iy(e,i):iy([e],([o])=>i(o))}function iy(e,t){const n=As(()=>[]);return rb(e,()=>{n.length=0;const r=e.length;for(let i=0;i<r;i++)n[i]=e[i].get();return t(n)})}function oy(e,t={}){const{isStatic:n}=v.useContext(js),r=()=>Me(e)?e.get():e;if(n)return jD(r);const i=wl(r());return v.useInsertionEffect(()=>UM(i,e,t),[i,JSON.stringify(t)]),i}const DD=Bf("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),de=v.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const s=r?L2:"button";return y.jsx(s,{className:xe(DD({variant:t,size:n,className:e})),ref:o,...i})});de.displayName="Button";function LD(){const[e,t]=v.useState(!1),n=wl(-100),r=wl(-100),i={damping:25,stiffness:700},o=oy(n,i),s=oy(r,i);return v.useEffect(()=>{const a=c=>{n.set(c.clientX-10),r.set(c.clientY-10),t(!0)},l=()=>t(!1);return window.addEventListener("mousemove",a),window.addEventListener("mouseleave",l),()=>{window.removeEventListener("mousemove",a),window.removeEventListener("mouseleave",l)}},[n,r]),y.jsx(Re.div,{className:`fixed w-5 h-5 bg-primary pointer-events-none z-50 mix-blend-difference ${e?"opacity-100":"opacity-0"}`,style:{x:o,y:s},transition:{duration:.1}})}const OD="/assets/the-code-logo-CmEmm7w3.png";function ID({onExploreClick:e}){return y.jsxs("section",{className:"relative min-h-screen flex items-center justify-center bg-gradient-to-br from-background to-secondary/30 overflow-hidden",children:[y.jsx(LD,{}),y.jsxs("div",{className:"container mx-auto px-6 text-center relative z-10",children:[y.jsx(Re.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},className:"mb-8",children:y.jsx("img",{src:OD,alt:"THE CODE from SUPERHUMAN",className:"mx-auto max-w-lg md:max-w-xl lg:max-w-2xl w-full h-auto mb-4"})}),y.jsxs(Re.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2,ease:"easeOut"},className:"max-w-4xl mx-auto mb-12",children:[y.jsx("h2",{className:"font-display text-3xl md:text-5xl lg:text-6xl mb-6 leading-tight",children:"200+ Resources to Become a Great Engineering Leader in 2026"}),y.jsx("p",{className:"text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto leading-relaxed",children:"Personally curated collection spanning 5+ years of the best books, newsletters, articles, and people to follow in engineering leadership."})]}),y.jsxs(Re.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4,ease:"easeOut"},className:"flex flex-wrap justify-center gap-8 mb-12 text-sm",children:[y.jsxs(Re.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.6,delay:.6,type:"spring",bounce:.4},className:"text-center",children:[y.jsx("div",{className:"text-3xl font-bold text-primary",children:"80+"}),y.jsx("div",{className:"text-muted-foreground",children:"Books"})]}),y.jsxs(Re.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.6,delay:.7,type:"spring",bounce:.4},className:"text-center",children:[y.jsx("div",{className:"text-3xl font-bold text-primary",children:"60+"}),y.jsx("div",{className:"text-muted-foreground",children:"Newsletters"})]}),y.jsxs(Re.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.6,delay:.8,type:"spring",bounce:.4},className:"text-center",children:[y.jsx("div",{className:"text-3xl font-bold text-primary",children:"50+"}),y.jsx("div",{className:"text-muted-foreground",children:"People"})]}),y.jsxs(Re.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.6,delay:.9,type:"spring",bounce:.4},className:"text-center",children:[y.jsx("div",{className:"text-3xl font-bold text-primary",children:"40+"}),y.jsx("div",{className:"text-muted-foreground",children:"Articles"})]})]}),y.jsx(Re.div,{initial:{opacity:0,y:30}
176,animate:{opacity:1,y:0},transition:{duration:.8,delay:.6,ease:"easeOut"},children:y.jsxs(de,{onClick:e,size:"lg",className:"btn-primary text-lg px-8 py-4 rounded-full font-semibold shadow-glow hover:shadow-xl group",children:["Explore Resources",y.jsx(AC,{className:"ml-2 w-5 h-5 group-hover:translate-y-1 transition-transform"})]})})]}),y.jsxs("div",{className:"absolute inset-0 opacity-5",children:[y.jsx("div",{className:"absolute top-1/4 left-1/4 w-2 h-2 bg-primary"}),y.jsx("div",{className:"absolute top-1/3 right-1/3 w-3 h-3 bg-primary"}),y.jsx("div",{className:"absolute bottom-1/4 left-1/3 w-2 h-2 bg-primary"}),y.jsx("div",{className:"absolute bottom-1/3 right-1/4 w-4 h-4 bg-primary"})]})]})}const ib=v.forwardRef(({className:e,type:t,...n},r)=>y.jsx("input",{type:t,className:xe("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));ib.displayName="Input";const FD=[{id:"system-design",name:"System Design",count:32},{id:"leadership",name:"Leadership & Management",count:61},{id:"software-engineering",name:"Software Engineering",count:48},{id:"product",name:"Product & Business",count:22},{id:"data-engineering",name:"Data Engineering",count:7},{id:"books",name:"Books",count:56},{id:"ai-ml",name:"AI & ML",count:1}],sy=[{id:"book",name:"Books",icon:"ð"},{id:"newsletter",name:"Newsletters",icon:"ð§"},{id:"article",name:"Articles",icon:"ð"},{id:"person",name:"People",icon:"ð¥"}],ys=[{id:"sd-book-1",type:"book",title:"Designing Data-Intensive Applications",author:"Martin Kleppmann",description:"Building scalable, maintainable systems that handle large amounts of data.",category:"books",topics:["distributed-systems","data-processing"],dateAdded:"2024-01-15",popularityScore:95},{id:"sd-book-2",type:"book",title:"System Design Interview",author:"Alex Xu",description:"Step-by-step guide for system design interviews with real-world examples.",category:"books",topics:["interviews","system-architecture"],dateAdded:"2024-01-10",popularityScore:88},{id:"sd-book-3",type:"book",title:"Patterns of Enterprise Application Architecture",author:"Martin Fowler",description:"Classic patterns for building enterprise applications.",category:"books",topics:["architecture-patterns","enterprise"],dateAdded:"2024-01-08",popularityScore:92},{id:"sd-book-4",type:"book",title:"Understanding Distributed Systems",author:"Roberto Vitillo",description:"A practical guide to building distributed systems at scale.",category:"books",topics:["distributed-systems","scalability"],dateAdded:"2024-01-12",popularityScore:86},{id:"sd-book-5",type:"book",title:"Clean Architecture",author:"Robert C. Martin",description:"Principles for building maintainable software architecture.",category:"books",topics:["clean-architecture","software-design"],dateAdded:"2024-01-14",popularityScore:90},{id:"sd-book-6",type:"book",title:"Systems Analysis and Design",author:"Multiple editions and authors",description:"Comprehensive guide to systems analysis and design.",category:"books",topics:["systems-analysis","design"],dateAdded:"2024-01-16",popularityScore:82},{id:"sd-book-7",type:"book",title:"Building Microservices: Designing Fine-Grained Systems",author:"Sam Newman",description:"Designing fine-grained systems with microservices.",category:"books",topics:["microservices","distributed-systems"],dateAdded:"2024-01-18",popularityScore:87},{id:"sd-book-8",type:"book",title:"Fundamentals of Software Architecture",author:"Neal Ford and Mark Richards",de
176scription:"Engineering approach to software architecture fundamentals.",category:"books",topics:["software-architecture","engineering"],dateAdded:"2024-01-20",popularityScore:89},{id:"sd-book-9",type:"book",title:"Software Architecture: The Hard Parts",author:"Neal Ford, Mark Richards, Pramod Sadalage and Zhamak Dehghani",description:"Modern trade-off analyses for distributed architectures.",category:"books",topics:["distributed-architecture","trade-offs"],dateAdded:"2024-01-22",popularityScore:91},{id:"sd-book-10",type:"book",title:"Site Reliability Engineering: How Google Runs Production Systems",author:"Niall Richard Murphy, Betsy Beyer, Chris Jones and Jennifer Petoff",description:"How Google runs production systems - SRE practices.",category:"books",topics:["sre","reliability","operations"],dateAdded:"2024-01-24",popularityScore:93},{id:"sd-book-11",type:"book",title:"Learn System Design in a Hurry",author:"Evan King",description:"Quick guide to system design concepts and interview preparation.",category:"books",topics:["system-design","interviews"],dateAdded:"2024-01-26",popularityScore:78},{id:"lm-book-1",type:"book",title:"The Making of a Manager",author:"Julie Zhuo",description:"Practical guide to transitioning to engineering management.",category:"books",topics:["management","leadership-transition"],dateAdded:"2024-01-05",popularityScore:92},{id:"lm-book-2",type:"book",title:"The First 90 Days",author:"Michael D. Watkins",description:"Strategies for new leadership roles.",category:"books",topics:["new-role","leadership-transition"],dateAdded:"2024-01-08",popularityScore:88},{id:"lm-book-3",type:"book",title:"The Lean Manager",author:"Andrew and Muhammad Wilkerson",description:"Lean management principles for software teams.",category:"books",topics:["lean-management","efficiency"],dateAdded:"2024-01-10",popularityScore:84},{id:"lm-book-4",type:"book",title:"The Five Dysfunctions of a Team",author:"Patrick Lencioni",description:"Leadership fable about overcoming team dysfunctions.",category:"books",topics:["team-dynamics","team-building"],dateAdded:"2024-01-12",popularityScore:85},{id:"lm-book-5",type:"book",title:"The Manager's Path",author:"Camille Fournier",description:"Guide for tech leaders navigating growth.",category:"books",topics:["engineering-management","career-growth"],dateAdded:"2024-01-14",popularityScore:90},{id:"lm-book-6",type:"book",title:"Leadership in 60 seconds",author:"Omar Halabieh",description:"Quick leadership insights and tips.",category:"books",topics:["leadership-tips","quick-reads"],dateAdded:"2024-01-16",popularityScore:82},{id:"lm-book-7",type:"book",title:"Act Like a Leader, Think Like a Leader",author:"Herminia Ibarra",description:"Leadership development and mindset.",category:"books",topics:["leadership-development","mindset"],dateAdded:"2024-01-18",popularityScore:86},{id:"lm-book-8",type:"book",title:"The 21 Irrefutable Laws of Leadership",author:"John C. Maxwell",description:"Fundamental leadership principles.",category:"books",topics:["leadership-principles","fundamentals"],dateAdded:"2024-01-20",popularityScore:89},{id:"lm-book-9",type:"book",title:"Crucial Conversations",author:"Kerry Patterson",description:"Tools for talking when stakes are high.",category:"books",topics:["communication","difficult-conversations"],dateAdded:"2024-01-22",popularityScore:91},{id:"lm-book-10",type:"book",title:"How to Lead When You're Not in Charge",author:"Clay Scroggins",description:"Leading without formal authority.",category:"books",topics:["informal-leadership","influence"],dateAdded:"2024-01-24",popularityScore:83},{id:"lm-book-11",type:"book",title:"Think Again",author:"Adam Grant",description:"The power of knowing what you don't know.",category:"books",topics:["learning","decision-making"],dateAdded:"2024-01-26",popularityScore:87},{id:"lm-book-12",type:"book",title:"The Mind of the Leader",author:"Rasmus Hougaard and Jacqueline Carter",description:"How to lead yourself, your people, and your organization.",category:"books",topics:["self-leadership","organizational-leadership"],dateAdded:"2024-01-28",popularityScore:84},{id:"lm-book-13",type:"book",title:"The Culture Map",author:"Erin Meyer",description:"Breaking through invisible boundaries of global business.",category:"books",topics:["global-leadership","cultural-awareness"],dateAdded:"2024-01-30",popularityScore:88},{id:"lm-book-14",type:"book",title:"Engineering Management for the rest of us",author:"Sarah Drasner",description:"Engineering management guide for new managers.",category:"books",topics:["engineering-management","new-managers"],dateAdded:"2024-02-01",popularityScore:85},{id:"se-book-1",type:"book",title:"The Pragmatic Programmer",author:"Andy Hunt and Dave Thomas",description:"Timeless principles for writing better code.",category:"books",topics:["programming-principles","best-practices"],dateAdded:"2024-01-18",popularityScore:94},{id:"se-book-2",type:"book",title:"Refactoring",author:"Martin Fowler and Kent Beck",description:"Improving code design through refactoring.",category:"books",topics:["refactoring","code-quality"],dateAdded:"2024-01-20",popularityScore:89},{id:"se-book-3",type:"book",title:"Why Programs Fail",author:"Andreas Zeller",description:"A guide to systematic debugging.",category:"books",topics:["debugging","program-analysis"],dateAdded:"2024-01-22",popularityScore:85},{id:"se-book-4",type:"book",title:"Clean Code",author:"Robert Cecil Martin",description:"A handbook of agile software craftsmanship.",category:"books",topics:["clean-code","craftsmanship"],dateAdded:"2024-01-24",popularityScore:92},{id:"se-book-5",type:"book",title:"Grokking Algorithms",author:"Aditya Y. Bhargava",description:"An illustrated guide to algorithms and data structures.",category:"books",topics:["algorithms","data-structures"],dateAdded:"2024-01-26",popularityScore:88},{id:"se-book-6",type:"book",title:"Staff Engineer",author:"Will Larson",description:"Leadership beyond the management track.",category:"books",topics:["staff-engineer","technical-leadership"],dateAdded:"2024-01-28",popularityScore:87},{id:"se-book-7",type:"book",title:"Modern Software Engineering",author:"David Farley",description:"Doing What Works to Build Better Software Faster.",category:"books",topics:["modern-practices","software-development"],dateAdded:"2024-01-30",popularityScore:86}
176,{id:"se-book-8",type:"book",title:"Working Effectively with Legacy Code",author:"Michael Feathers",description:"Strategies for improving legacy codebases.",category:"books",topics:["legacy-code","refactoring"],dateAdded:"2024-02-01",popularityScore:84},{id:"se-book-9",type:"book",title:"Engineering Software Products",author:"Ian Sommerville",description:"An Introduction to Modern Software Engineering.",category:"books",topics:["software-products","engineering"],dateAdded:"2024-02-03",popularityScore:83},{id:"se-book-10",type:"book",title:"Don't Make Me Think",author:"Steve Krug",description:"A Common Sense Approach to Web Usability.",category:"books",topics:["usability","web-design"],dateAdded:"2024-02-05",popularityScore:85},{id:"se-book-11",type:"book",title:"Code Complete",author:"Steve McConnell",description:"A Practical Handbook of Software Construction.",category:"books",topics:["software-construction","best-practices"],dateAdded:"2024-02-07",popularityScore:90},{id:"se-book-12",type:"book",title:"The Staff Engineer's Path",author:"Tanya Reilly",description:"A Guide for Individual Contributors Navigating Growth and Change.",category:"books",topics:["staff-engineer","career-growth"],dateAdded:"2024-02-09",popularityScore:88},{id:"se-book-13",type:"book",title:"Cracking the Coding Interview",author:"Gayle Laakmann McDowell",description:"189 Programming Questions and Solutions.",category:"books",topics:["interviews","coding-challenges"],dateAdded:"2024-02-11",popularityScore:89},{id:"se-book-14",type:"book",title:"Clean Code Cookbook: Recipes to Improve the Design and Quality of your Code",author:"Maximiliano Contieri",description:"Practical recipes for cleaner code.",category:"books",topics:["clean-code","code-quality"],dateAdded:"2024-02-13",popularityScore:82},{id:"pb-book-1",type:"book",title:"Build: An Unorthodox Guide to Making Things Worth Making",author:"Tony Fadell",description:"Product development insights from iPod and Nest creator.",category:"books",topics:["product-development","innovation"],dateAdded:"2024-02-05",popularityScore:91},{id:"pb-book-2",type:"book",title:"Inspired: How to Create Products Customers Love",author:"Marty Cagan",description:"Product management expertise from Silicon Valley veteran.",category:"books",topics:["product-management","customer-research"],dateAdded:"2024-02-07",popularityScore:89},{id:"pb-book-3",type:"book",title:"Empowered",author:"Marty Cagan",description:"Empowering product teams to solve hard problems.",category:"books",topics:["product-teams","empowerment"],dateAdded:"2024-02-09",popularityScore:87},{id:"pb-book-4",type:"book",title:"Loved: How to Rethink Marketing for Tech Products",author:"Martina Lauchengco",description:"Marketing strategies for tech products.",category:"books",topics:["marketing","tech-products"],dateAdded:"2024-02-11",popularityScore:85},{id:"pb-book-5",type:"book",title:"Transformed",author:"Marty Cagan",description:"Moving your company to the product operating model.",category:"books",topics:["product-operating-model","transformation"],dateAdded:"2024-02-13",popularityScore:88},{id:"pb-book-6",type:"book",title:"Start with Why",author:"Simon Sinek",description:"How great leaders inspire everyone to take action.",category:"books",topics:["leadership","inspiration"],dateAdded:"2024-02-15",popularityScore:90},{id:"pb-book-7",type:"book",title:"What Your Customer Wants and Can't Tell You",author:"Melina Palmer",description:"Unlocking consumer psychology for marketing and sales.",category:"books",topics:["consumer-psychology","marketing"],dateAdded:"2024-02-17",popularityScore:83},{id:"pb-book-8",type:"book",title:"The Lean Startup",author:"Eric Ries",description:"How constant innovation creates radically successful businesses.",category:"books",topics:["lean-startup","innovation"],dateAdded:"2024-02-19",popularityScore:92},{id:"de-book-1",type:"book",title:"Fundamentals of Data Engineering",author:"Matt Housley",description:"Comprehensive guide to building robust data systems.",category:"books",topics:["data-engineering","data-systems"],dateAdded:"2024-02-15",popularityScore:87},{id:"de-book-2",type:"book",title:"Data Engineering with Python",author:"Paul Crickard",description:"Building data pipelines with Python.",category:"books",topics:["python","data-
176pipelines"],dateAdded:"2024-02-17",popularityScore:82},{id:"de-book-3",type:"book",title:"Spark: The Definitive Guide",author:"Matei Zaharia",description:"Comprehensive guide to Apache Spark.",category:"books",topics:["spark","big-data"],dateAdded:"2024-02-19",popularityScore:89},{id:"de-book-4",type:"book",title:"Big Data: Principles and Best Practices of Scalable Realtime Data Systems",author:"James Warren",description:"Scalable real-time data system design.",category:"books",topics:["big-data","real-time"],dateAdded:"2024-02-21",popularityScore:84},{id:"de-book-5",type:"book",title:"97 Things Every Data Engineer Should Know",author:"Tobias Macey",description:"Essential knowledge for data engineers.",category:"books",topics:["data-engineering","best-practices"],dateAdded:"2024-02-23",popularityScore:86},{id:"ai-book-1",type:"book",title:"Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications",author:"Chip Huyen",description:"ML systems for production environments.",category:"books",topics:["machine-learning","ml-systems"],dateAdded:"2024-02-10",popularityScore:89},{id:"ai-book-2",type:"book",title:"Machine Learning System Design Interview",author:"Ali Aminian and Alex Xu",description:"ML system design for interviews.",category:"books",topics:["ml-systems","interviews"],dateAdded:"2024-02-12",popularityScore:85},{id:"ai-book-3",type:"book",title:"AI Engineering: Building Applications with Foundation Models",author:"Chip Huyen",description:"Building applications with foundation models.",category:"books",topics:["ai-engineering","foundation-models"],dateAdded:"2024-02-14",popularityScore:87},{id:"ai-book-4",type:"book",title:"Building Applications with AI Agents",author:"Michael Albada",description:"Creating applications using AI agents.",category:"books",topics:["ai-agents","applications"],dateAdded:"2024-02-16",popularityScore:83},{id:"ai-book-5",type:"book",title:"AI Systems Performance Engineering",author:"Chris Fregly",description:"Optimizing AI system performance.",category:"books",topics:["ai-performance","engineering"],dateAdded:"2024-02-18",popularityScore:82},{id:"ai-book-6",type:"book",title:"Prompt Engineering for LLMs",author:"John Berryman and Albert Ziegler",description:"Engineering effective prompts for large language models.",category:"books",topics:["prompt-engineering","llms"],dateAdded:"2024-02-20",popularityScore:86},{id:"ai-book-7",type:"book",title:"Prompt Engineering for Generative AI",author:"James Phoenix and Mike Taylor",description:"Prompt engineering for generative AI systems.",category:"books",topics:["prompt-engineering","generative-ai"],dateAdded:"2024-02-22",popularityScore:84},{id:"coaching-book-1",type:"book",title:"Coaching for Performance Fifth Edition: The Principles and Practice of Coaching and Leadership",author:"Sir John Whitmore",description:"Coaching principles for leadership development.",category:"books",topics:["coaching","performance"],dateAdded:"2024-02-20",popularityScore:86},{id:"sd-blog-1",type:"article",title:"Meta Engineering",author:"Meta Engineering Team",description:"Engineering insights and architecture from Meta.",category:"system-design",topics:["meta","engineering"],url:"https://engineering.fb.com/",dateAdded:"2024-01-30",readTimeMins:0,source:"Meta"},{id:"sd-blog-2",type:"article",title:"AWS Architecture",author:"AWS Team",description:"Cloud architecture patterns and best practices.",category:"system-design",topics:["aws","cloud"],url:"https://aws.amazon.com/blogs/architecture/",dateAdded:"2024-01-28",readTimeMins:0,source:"AWS"},{id:"sd-blog-3",type:"article",title:"The Netflix Tech",author:"Netflix Engineering",description:"Netflix streaming platform architecture.",category:"system-design",topics:["netflix","streaming"],url:"https://netflixtechblog.com/",dateAdded:"2024-01-26",readTimeMins:0,source:"Netflix"}
176,{id:"sd-blog-4",type:"article",title:"Apple Security Tech",author:"Apple Security Team",description:"Security engineering insights from Apple.",category:"system-design",topics:["apple","security"],url:"https://security.apple.com/blog/",dateAdded:"2024-01-24",readTimeMins:0,source:"Apple"},{id:"sd-blog-5",type:"article",title:"Google AI/Research",author:"Google Research",description:"Research insights from Google AI teams.",category:"system-design",topics:["google","ai"],url:"https://blog.research.google/",dateAdded:"2024-01-22",readTimeMins:0,source:"Google"},{id:"sd-blog-6",type:"article",title:"LinkedIn Engineering",author:"LinkedIn Engineering",description:"Engineering insights from LinkedIn.",category:"system-design",topics:["linkedin","engineering"],url:"https://engineering.linkedin.com/blog",dateAdded:"2024-01-20",readTimeMins:0,source:"LinkedIn"},{id:"sd-blog-7",type:"article",title:"Uber Engineering",author:"Uber Engineering",description:"Engineering insights from Uber.",category:"system-design",topics:["uber","engineering"],url:"https://eng.uber.com/",dateAdded:"2024-01-18",readTimeMins:0,source:"Uber"},{id:"sd-blog-8",type:"article",title:"Engineering at Quora",author:"Quora Engineering",description:"Engineering insights from Quora.",category:"system-design",topics:["quora","engineering"],url:"https://quoraengineering.quora.com/",dateAdded:"2024-01-16",readTimeMins:0,source:"Quora"},{id:"sd-blog-9",type:"article",title:"Pinterest Engineering",author:"Pinterest Engineering",description:"Engineering insights from Pinterest.",category:"system-design",topics:["pinterest","engineering"],url:"https://medium.com/pinterest-engineering",dateAdded:"2024-01-14",readTimeMins:0,source:"Pinterest"},{id:"sd-blog-10",type:"article",title:"Lyft Engineering",author:"Lyft Engineering",description:"Engineering insights from Lyft.",category:"system-design",topics:["lyft","engineering"],url:"https://eng.lyft.com/",dateAdded:"2024-01-12",readTimeMins:0,source:"Lyft"},{id:"sd-blog-11",type:"article",title:"Twitter Engineering",author:"Twitter Engineering",description:"Engineering insights from Twitter.",category:"system-design",topics:["twitter","engineering"],url:"https://blog.twitter.com/engineering",dateAdded:"2024-01-10",readTimeMins:0,source:"Twitter"},{id:"sd-blog-12",type:"article",title:"Dropbox Engineering",author:"Dropbox Engineering",description:"Engineering insights from Dropbox.",category:"system-design",topics:["dropbox","engineering"],url:"https://dropbox.tech/",dateAdded:"2024-01-08",readTimeMins:0,source:"Dropbox"},{id:"sd-blog-13",type:"article",title:"Spotify Engineering",author:"Spotify Engineering",description:"Engineering insights from Spotify.",category:"system-design",topics:["spotify","engineering"],url:"https://engineering.atspotify.com/",dateAdded:"2024-01-06",readTimeMins:0,source:"Spotify"},{id:"sd-blog-14",type:"article",title:"Github Engineering",author:"Github Engineering",description:"Engineering insights from Github.",category:"system-design",topics:["github","engineering"],url:"https://github.blog/category/engineering/",dateAdded:"2024-01-04",readTimeMins:0,source:"Github"},{id:"sd-blog-15",type:"article",title:"Instagram Engineering",author:"Instagram Engineering",description:"Engineering insights from Instagram.",category:"system-design",topics:["instagram","engineering"],url:"https://instagram-engineering.com/",dateAdded:"2024-01-02",readTimeMins:0,source:"Instagram"},{id:"sd-blog-16",type:"article",title:"Canva Engineering",author:"Canva Engineering",description:"Engineering insights from Canva.",category:"system-design",topics:["canva","engineering"],url:"https://canvatechblog.com/",dateAdded:"2024-01-01",readTimeMins:0,source:"Canva"},{id:"sd-blog-17",type:"article",title:"Booking.com Tech",author:"Booking.com Tech",description:"Engineering insights from Booking.com.",category:"system-design",topics:["booking","engineering"],url:"https://blog.booking.com/",dateAdded:"2024-01-03",readTimeMins:0,source:"Booking.com"},{id:"sd-blog-18",type:"article",title:"The Airbnb Tech",author:"Airbnb Engineering",description:"Engineering insights from Airbnb.",category:"system-design",topics:["airbnb","engineering"],url:"https://medium.com/airbnb-engineering",dateAdded:"2024-01-05",readTimeMins:0,source:"Airbnb"}
176,{id:"sd-blog-19",type:"article",title:"Stripe Engineering",author:"Stripe Engineering",description:"Engineering insights from Stripe.",category:"system-design",topics:["stripe","engineering"],url:"https://stripe.com/blog/engineering",dateAdded:"2024-01-07",readTimeMins:0,source:"Stripe"},{id:"sd-blog-20",type:"article",title:"Discord Engineering and Design",author:"Discord Engineering",description:"Engineering insights from Discord.",category:"system-design",topics:["discord","engineering"],url:"https://discord.com/blog",dateAdded:"2024-01-09",readTimeMins:0,source:"Discord"},{id:"sd-blog-21",type:"article",title:"Engineering at Microsoft",author:"Microsoft Engineering",description:"Engineering insights from Microsoft.",category:"system-design",topics:["microsoft","engineering"],url:"https://devblogs.microsoft.com/engineering-at-microsoft/",dateAdded:"2024-01-11",readTimeMins:0,source:"Microsoft"},{id:"sd-blog-22",type:"article",title:"Reddit Engineering",author:"Reddit Engineering",description:"Engineering insights from Reddit.",category:"system-design",topics:["reddit","engineering"],url:"https://www.reddit.com/r/RedditEng/",dateAdded:"2024-01-13",readTimeMins:0,source:"Reddit"},{id:"sd-blog-23",type:"article",title:"Slack Engineering",author:"Slack Engineering",description:"Engineering insights from Slack.",category:"system-design",topics:["slack","engineering"],url:"https://slack.engineering/",dateAdded:"2024-01-15",readTimeMins:0,source:"Slack"},{id:"sd-blog-24",type:"article",title:"Asana Engineering",author:"Asana Engineering",description:"Engineering insights from Asana.",category:"system-design",topics:["asana","engineering"],url:"https://blog.asana.com/category/eng/",dateAdded:"2024-01-17",readTimeMins:0,source:"Asana"},{id:"sd-blog-25",type:"article",title:"DigitalOcean Engineering",author:"DigitalOcean Engineering",description:"Engineering insights from DigitalOcean.",category:"system-design",topics:["digitalocean","engineering"],url:"https://www.digitalocean.com/blog/tag/engineering",dateAdded:"2024-01-19",readTimeMins:0,source:"DigitalOcean"},{id:"sd-blog-26",type:"article",title:"CloudFlare Engineering",author:"CloudFlare Engineering",description:"Engineering insights from CloudFlare.",category:"system-design",topics:["cloudflare","engineering"],url:"https://blog.cloudflare.com/",dateAdded:"2024-01-21",readTimeMins:0,source:"CloudFlare"},{id:"sd-blog-27",type:"article",title:"HelloInterview System Design",author:"HelloInterview",description:"System design learning resources.",category:"system-design",topics:["system-design","interview"],url:"https://www.hellointerview.com/learn/system-design",dateAdded:"2024-01-23",readTimeMins:0,source:"HelloInterview"},{id:"sd-newsletter-1",type:"newsletter",title:"System Design Newsletter",author:"Neo Kim",description:"Weekly system design insights and patterns.",category:"system-design",topics:["system-architecture","scalability"],url:"https://newsletter.systemdesign.one/",dateAdded:"2024-02-01",frequency:"Weekly",subscriberCount:15e3},{id:"sd-newsletter-2",type:"newsletter",title:"Byte-Sized Design",author:"Alex Nguyen",description:"System design concepts in digestible pieces.",category:"system-design",topics:["system-design","architecture"],url:"https://bytesizeddesign.substack.com/",dateAdded:"2024-01-28",frequency:"Weekly",subscriberCount:8e3},{id:"sd-newsletter-3",type:"newsletter",title:"ByteByteGo",author:"Alex Xu",description:"System design through visual diagrams.",category:"system-design",topics:["system-design","visual-learning"],url:"https://blog.bytebytego.com/",dateAdded:"2024-01-20",frequency:"Bi-weekly",subscriberCount:45e3},{id:"sd-newsletter-4",type:"newsletter",title:"System Design Codex",author:"Saurabh Dashora",description:"Deep dives into system design patterns.",category:"system-design",topics:["system-design","architecture-patterns"],url:"https://newsletter.systemdesigncodex.com/",dateAdded:"2024-01-25",frequency:"Weekly",subscriberCount:12e3},{id:"sd-newsletter-5",type:"newsletter",title:"Hacking Scale",author:"Richard Oliver Bray",description:"Scaling applications and infrastru
176cture.",category:"system-design",topics:["scaling","infrastructure"],url:"https://newsletter.betterstack.com/",dateAdded:"2024-02-02",frequency:"Bi-weekly",subscriberCount:9e3},{id:"lm-newsletter-1",type:"newsletter",title:"Engineering Leadership",author:"Gregor Ojstersek",description:"Weekly insights for senior engineering leaders.",category:"leadership",topics:["engineering-leadership","team-management"],url:"https://newsletter.eng-leadership.com/",dateAdded:"2024-01-01",frequency:"Weekly",subscriberCount:25e3},{id:"lm-newsletter-2",type:"newsletter",title:"The Caring Techie Newsletter",author:"Irina Stanescu",description:"Building empathetic engineering teams.",category:"leadership",topics:["empathy","emotional-intelligence"],url:"https://www.thecaringtechie.com/",dateAdded:"2024-01-03",frequency:"Bi-weekly",subscriberCount:8e3},{id:"lm-newsletter-3",type:"newsletter",title:"Elevate",author:"Addy Osmani",description:"Leadership insights from Google Chrome team.",category:"leadership",topics:["google","scaling-teams"],url:"https://addyo.substack.com/",dateAdded:"2024-01-05",frequency:"Monthly",subscriberCount:15e3},{id:"lm-newsletter-4",type:"newsletter",title:"Leading Developers",author:"Anton Zaides",description:"Leadership insights for tech leaders.",category:"leadership",topics:["developer-leadership","team-building"],url:"https://zaidesanton.substack.com/",dateAdded:"2024-01-07",frequency:"Weekly",subscriberCount:12e3},{id:"lm-newsletter-5",type:"newsletter",title:"The Hybrid Hacker",author:"Nicola Ballotta",description:"Leadership and technology insights.",category:"leadership",topics:["hybrid-leadership","technology"],url:"https://hybridhacker.email/",dateAdded:"2024-01-09",frequency:"Weekly",subscriberCount:9e3},{id:"lm-newsletter-6",type:"newsletter",title:"Tech World With Milan Newsletter",author:"Dr Milan Milanovic",description:"Technology and leadership insights.",category:"leadership",topics:["tech-leadership","innovation"],url:"https://newsletter.techworld-with-milan.com/",dateAdded:"2024-01-11",frequency:"Weekly",subscriberCount:18e3},{id:"lm-newsletter-7",type:"newsletter",title:"The Engineering Manager",author:"James Stanier",description:"Engineering management insights and practices.",category:"leadership",topics:["engineering-management","best-practices"],url:"https://theengineeringmanager.substack.com/",dateAdded:"2024-01-13",frequency:"Weekly",subscriberCount:14e3},{id:"lm-newsletter-8",type:"newsletter",title:"Techlead Mentor",author:"Raviraj Achar",description:"Technical leadership and mentoring.",category:"leadership",topics:["tech-lead","mentoring"],url:"https://newsletter.techleadmentor.com/",dateAdded:"2024-01-15",frequency:"Bi-weekly",subscriberCount:11e3},{id:"lm-newsletter-9",type:"newsletter",title:"Developing Skills",author:"John Crickett",description:"Skill development for engineering leaders.",category:"leadership",topics:["skill-development","career-growth"],url:"https://developingskills.substack.com/",dateAdded:"2024-01-17",frequency:"Weekly",subscriberCount:16e3},{id:"lm-newsletter-10",type:"newsletter",title:"Refactoring",author:"Luca Rossi",description:"Product and engineering leadership insights.",category:"leadership",topics:["product-leadership","engineering"],url:"https://refactoring.fm/",dateAdded:"2024-01-19",frequency:"Weekly",subscriberCount:13e3},{id:"lm-newsletter-11",type:"newsletter",title:"Level up as a Tech Lead",author:"Anemari Fiser",description:"Technical leadership development.",category:"leadership",topics:["tech-lead","leadership-development"],url:"https://anemarifiser.substack.com/",dateAdded:"2024-01-21",frequency:"Weekly",subscriberCount:8500},{id:"lm-newsletter-12",type:"newsletter",title:"Code.Lead.Succeed",author:"Dariusz Sadowski",description:"Engineering leadership and success strategies.",category:"leadership",topics:["leadership-strategies","success"],url:"https://darsadowski.substack.com/",dateAdded:"2024-01-23",frequency:"Weekly",subscriberCount:7200},{id:"lm-newsletter-13",type:"newsletter",title:"snackableCTO",author:"Adrian Stanek",description:"CTO insights and leadership tips.",category:"leadership",topics:["cto-insights","executive-leadership"],url:"https://blog.snackablecto.coach/",dateAdded:"2024-01-25",frequency:"Weekly",subscriberCount:9500},{id:"lm-newsletter-14",type:"newsletter",title:"Crafting Tech Teams",author:"Denis Äahuk",description:"Building and leading successful tech teams.",category:"leadership",topics:["team-building","tech-teams"],url:"https://craftingte
176chteams.substack.com/",dateAdded:"2024-01-27",frequency:"Weekly",subscriberCount:6800},{id:"lm-newsletter-15",type:"newsletter",title:"The Software Engineering Times",author:"Ryan Murphy",description:"Software engineering leadership and trends.",category:"leadership",topics:["software-engineering","leadership-trends"],url:"https://thesoftwareengineeringtimes.substack.com/",dateAdded:"2024-01-29",frequency:"Weekly",subscriberCount:10200},{id:"lm-newsletter-16",type:"newsletter",title:"The Visionary CTO",author:"Matt Watson",description:"CTO leadership and vision development.",category:"leadership",topics:["cto-vision","strategic-leadership"],url:"https://blog.visionarycto.com/",dateAdded:"2024-01-31",frequency:"Weekly",subscriberCount:8800},{id:"lm-newsletter-17",type:"newsletter",title:"Alex Ewerlöf Notes",author:"Alex Ewerlöf",description:"Engineering leadership and architecture insights.",category:"leadership",topics:["engineering-architecture","leadership"],url:"https://blog.alexewerlof.com/",dateAdded:"2024-02-02",frequency:"Weekly",subscriberCount:7500},{id:"lm-newsletter-18",type:"newsletter",title:"Sudo Make Me a CTO",author:"Sergio Visinoni",description:"Path to becoming a CTO.",category:"leadership",topics:["cto-path","career-development"],url:"https://makemeacto.substack.com/",dateAdded:"2024-02-04",frequency:"Weekly",subscriberCount:6200},{id:"lm-newsletter-19",type:"newsletter",title:"Programming Leadership",author:"Marcus Blankenship",description:"Leadership for software developers.",category:"leadership",topics:["programming-leadership","developer-management"],url:"https://marcusblankenship.substack.com/",dateAdded:"2024-02-06",frequency:"Weekly",subscriberCount:5800},{id:"lm-newsletter-20",type:"newsletter",title:"Leadership Superpowers",author:"Gregor Purdy",description:"Developing leadership superpowers.",category:"leadership",topics:["leadership-skills","superpowers"],url:"https://gplead.com/newsletter",dateAdded:"2024-02-08",frequency:"Weekly",subscriberCount:7100},{id:"lm-newsletter-21",type:"newsletter",title:"The Chronicles of a High EQ Leader",author:"High EQ Leader",description:"Emotional intelligence in leadership.",category:"leadership",topics:["emotional-intelligence","leadership"],url:"https://www.theeqleader.com/",dateAdded:"2024-02-10",frequency:"Weekly",subscriberCount:5400},{id:"lm-person-1",type:"person",title:"Gregor Ojstersek",name:"Gregor Ojstersek",jobTitle:"CTO & Engineering Leadership Newsletter",company:"Engineering Leadership",description:"Creator of Engineering Leadership newsletter and CTO insights.",bio:"CTO and founder of Engineering Leadership newsletter helping senior leaders.",category:"leadership",topics:["engineering-leadership","cto-insights"],linkedinUrl:"https://www.linkedin.com/in/gregorojstersek/",dateAdded:"2024-01-01",popularityScore:85},{id:"lm-person-2",type:"person",title:"Omar Halabieh",name:"Omar Halabieh",jobTitle:"Engineering Leader",company:"Amazon",description:'Author of "Leadership in 60 seconds" and engineering leader.',bio:"Engineering leader sharing practical leadership insights.",category:"leadership",topics:["amazon","leadership-tips"],linkedinUrl:"https://www.linkedin.com/in/omarhalabieh/",dateAdded:"2024-01-02",popularityScore:82},{id:"lm-person-3",type:"person",title:"Nicola Ballotta",name:"Nicola Ballotta",jobTitle:"Engineering Leader",company:"The Hybrid Hacker",description:"Engineering leadership and technology insights.",bio:"Engineering leader and newsletter author.",category:"leadership",topics:["hybrid-leadership","technology"],linkedinUrl:"https://www.linkedin.com/in/nicolaballotta/",dateAdded:"2024-01-03",popularityScore:78},{id:"lm-person-4",type:"person",title:"Irina Stanescu",name:"Irina Stanescu",jobTitle:"Engineering Leader",company:"The Caring Techie",description:"Building empathetic engineering teams.",bio:"Engineering leader focused on empathy and emotional intelligence.",category:"leadership",topics:["empathy","emotional-intelligence"],linkedinUrl:"https://www.linkedin.com/in/irinastanescu/",dateAdded:"2024-01-04",popularityScore:80},{id:"lm-person-5",type:"person",title:"Luca Rossi",name:"Luca Rossi",jobTitle:"Product & Engineering Leader",company:"Refactoring",description:"Product and engineering leadership insights.",bio:"Product and engineering leader sharing leadership insights.",category:"leadership",topics:["product-leadership","engineering"],linkedinUrl:"https://www.linkedin.com/in/lucaronin/",dateAdded:"2024-01-05",popularityScore:83},{id:"lm-person-6",type:"person",title:"Addy Osmani",name:"Addy Osmani",jobTitle:"Engineering Manager",company:"Google Chrome",description:"Leadership insights from Google Chrome team.",bio:"Engineering Manager at Google Chrome sharing leadership insights.",category:"leadership",topics:["google","scaling-teams"],linkedinUrl:"https://www.linkedin.com/in/addyosmani/",dateAdded:"2024-01-06",popularityScore:88},{id:"lm-person-7",type:"person",title:"Anton Zaides",name:"Anton Zaides",jobTitle:"Engineering Leader",company:"Leading Developers",description:"Leadership insights for tech leaders.",bio:"Engineering leader focused on developer leadership.",category:"leadership",topics:["developer-leadership","team-building"],linkedinUrl:"https://www.linkedin.com/in/anton-zaides/",dateAdded:"2024-01-07",popularityScore:76},{id:"lm-person-8",type:"person",title:"Dr Milan MilanoviÄ",name:"Dr Milan MilanoviÄ",jobTitle:"Technology Leader",company:"Tech World With Milan",description:"Technology and leadership insights.",bio:"Technology leader and newsletter author.",category:"leadership",topics:["tech-leadership","innovation"],linkedinUrl:"https://www.linkedin.com/in/milanmilanovic/",dateAdded:"2024-01-08",popularityScore:79},{id:"lm-person-9",type:"person",title:"Anemari Fiser",name:"Anemari Fiser",jobTitle:"Tech Lead",company:"Level up as a Tech Lead",description:"Technical leadership development.",bio:"Tech lead sharing leadership development insights.",category:"leadership",topics:["tech-lead","leadership-development"],linkedinUrl:"https://www.linkedin.com/in/anemari-fiser/",dateAdded:"2024-01-09",popularityScore:74},{id:"lm-person-10",type:"person",title:"Raviraj Achar",name:"Raviraj Achar",jobTitle:"Tech Lead Mentor",company:"Techlead Mentor",description:"Technical leadership and mentoring.",bio:"Tech lead mentor and newsletter author.",category:"leadership",topics:["tech-lead","mentoring"],linkedinUrl:"https://www.linkedin.com/in/ravirajachar/",dateAdded:"2024-01-10",popularityScore:77},{id:"lm-person-11",type:"person",title:"Dariusz Sadowski",name:"Dariusz Sadowski",jobTitle:"Engineering Leader",company:"Code.Lead.Succeed",description:"Engineering leadership and success strategies.",bio:"Engineering leader sharing success strategies.",category:"leadership",topics:["leadership-strategies","success"],linkedinUrl:"https://www.linkedin.com/in/darsadowski/",dateAdded:"2024-01-11",popularityScore:73},{id:"lm-person-12",type:"person",title:"Adrian Stanek",name:"Adrian Stanek",jobTitle:"CTO Coach",company:"snackableCTO",description:"CTO insights and leadership tips.",bio:"CTO coach sharing executive leadership insights.",category:"leadership",topics:["cto-insights","executive-leadership"],linkedinUrl:"https://www.linkedin.com/in/adrianstanek/",dateAdded:"2024-01-12",popularityScore:81},{id:"lm-person-13",type:"person",title:"Denis Äahuk",name:"Denis Äahuk",jobTitle:"Engineering Leader",company:"Crafting Tech Teams",description:"Building and leading successful tech teams.",bio:"Engineering leader focused on team building.",category:"leadership",topics:["team-building","tech-teams"],linkedinUrl:"https://www.linkedin.com/in/deniscahuk/",dateAdded:"2024-01-13",popularityScore:72},{id:"lm-person-14",type:"person",title:"Matt Watson",name:"Matt Watson",jobTitle:"CTO",company:"The Visionary CTO",description:"CTO leadership and vision development.",bio:"CTO sharing visionary leadership insights.",category:"leadership",topics:["cto-vision","strategic-leadership"],linkedinUrl:"https://www.linkedin.com/in/mattwatsonkc/",dateAdded:"2024-01-14",popularityScore:84},{id:"lm-person-15",type:"person",title:"Ryan Murphy",name:"Ryan Murphy",jobTitle:"Software Engineering Leader",company:"The Software Engineering Times",description:"Softw
176are engineering leadership and trends.",bio:"Software engineering leader sharing industry trends.",category:"leadership",topics:["software-engineering","leadership-trends"],linkedinUrl:"https://www.linkedin.com/in/ryansmurphy1/",dateAdded:"2024-01-15",popularityScore:75},{id:"lm-person-16",type:"person",title:"Kahlil Lechelt",name:"Kahlil Lechelt",jobTitle:"Engineering Leader",company:"Various",description:"Engineering leadership insights.",bio:"Engineering leader sharing practical insights.",category:"leadership",topics:["engineering-leadership"],linkedinUrl:"https://www.linkedin.com/in/kahlillechelt/",dateAdded:"2024-01-16",popularityScore:71},{id:"lm-person-17",type:"person",title:"James Stanier",name:"James Stanier",jobTitle:"Engineering Manager",company:"The Engineering Manager",description:"Engineering management insights and practices.",bio:"Engineering manager sharing management best practices.",category:"leadership",topics:["engineering-management","best-practices"],linkedinUrl:"https://www.linkedin.com/in/jstanier/",dateAdded:"2024-01-17",popularityScore:82},{id:"lm-person-18",type:"person",title:"Alex Ewerlöf",name:"Alex Ewerlöf",jobTitle:"Engineering Leader",company:"Alex Ewerlöf Notes",description:"Engineering leadership and architecture insights.",bio:"Engineering leader focused on architecture and leadership.",category:"leadership",topics:["engineering-architecture","leadership"],linkedinUrl:"https://www.linkedin.com/in/alexewerlof/",dateAdded:"2024-01-18",popularityScore:78},{id:"lm-person-19",type:"person",title:"Itzy Sabo",name:"Itzy Sabo",jobTitle:"Engineering Leader",company:"Various",description:"Engineering leadership insights.",bio:"Engineering leader sharing leadership insights.",category:"leadership",topics:["engineering-leadership"],linkedinUrl:"https://www.linkedin.com/in/itzysabo/",dateAdded:"2024-01-19",popularityScore:70},{id:"lm-person-20",type:"person",title:"Daria Rudnik",name:"Daria Rudnik",jobTitle:"Engineering Leader",company:"Various",description:"Engineering leadership insights.",bio:"Engineering leader sharing leadership insights.",category:"leadership",topics:["engineering-leadership"],linkedinUrl:"https://www.linkedin.com/in/dariarudnik/",dateAdded:"2024-01-20",popularityScore:73},{id:"lm-person-21",type:"person",title:"Tobias Mende",name:"Tobias Mende",jobTitle:"Engineering Leader",company:"Various",description:"Engineering leadership insights.",bio:"Engineering leader sharing leadership insights.",category:"leadership",topics:["engineering-leadership"],linkedinUrl:"https://www.linkedin.com/in/tobiasmende/",dateAdded:"2024-01-21",popularityScore:71},{id:"lm-person-22",type:"person",title:"Luca Sartoni",name:"Luca Sartoni",jobTitle:"Engineering Leader",company:"Various",description:"Engineering leadership insights.",bio:"Engineering leader sharing leadership insights.",category:"leadership",topics:["engineering-leadership"],linkedinUrl:"https://www.linkedin.com/in/lucasartoni/",dateAdded:"2024-01-22",popularityScore:72},{id:"lm-person-23",type:"person",title:"Doug Howard, P.E.",name:"Doug Howard",jobTitle:"Engineering Coach",company:"Various",description:"Engineering leadership coaching.",bio:"Engineering coach focused on leadership development.",category:"leadership",topics:["engineering-coaching"],linkedinUrl:"https://www.linkedin.com/in/doughowardcoaching/",dateAdded:"2024-01-23",popularityScore:74},{id:"lm-person-24",type:"person",title:"Anco van der Wurff",name:"Anco van der Wurff",jobTitle:"Engineering Leader",company:"Various",description:"Engineering leadership insights.",bio:"Engineering leader sharing leadership insights.",category:"leadership",topics:["engineering-leadership"],linkedinUrl:"https://www.linkedin.com/in/ancowurff/",dateAdded:"2024-01-24",popularityScore:69},{id:"lm-person-25",type:"person",title:"Sergio Visinoni",name:"Sergio Visinoni",jobTitle:"CTO",company:"Sudo Make Me a CTO",description:"Path to becoming a CTO.",bio:"CTO sharing insights on the path to executive leadership.",category:"leadership",topics:["cto-path","career-development"],linkedinUrl:"https://www.linkedin.com/in/piffio/",dateAdded:"2024-01-25",popularityScore:76},{id:"lm-person-26",type:"person",title:"Gregor Purdy",name:"Gregor Purdy",jobTitle:"Leadership Coach",company:"Leadership Superpowers",description:"Developing leadership superpowers.",bio:"Leadership coach focused on developing superpowers.",category:"leadership",topics:["leadership-skills","superpowers"],linkedinUrl:"https://www.linkedin.com/in/gregorpurdy/",dateAdded:"2024-01-26",popularityScore:77},{id:"lm-article-1",type:"article",title:"Stuck at Senior Engineer - How to Break Through and Reach the Next Level",author:"Gregor Ojstersek",description:"Career advancement strategies for senior engineers.",category:"leadership",topics:["career-advancement","senior-engineer"],url:"https://newsletter.eng-leadership.com/p/stuck-at-senior-engineer-how-to-break",dateAdded:"2024-01-01",readTimeMins:8,source:"Engineering Leadership"},{id:"lm-article-2",type:"article",title:"7 Must-Have Engineering Manager Stories That Will Land You the Offer",author:"Gregor Ojstersek",description:"Interview preparation for engineering management roles.",category:"leadership",topics:["interview-prep","engineering-manager"],url:"https://newsletter.eng-leadership.com/p/7-must-have-engineering-manager-stories",dateAdded:"2024-01-02",readTimeMins:10,source:"Engineering Leadership"},{id:"lm-article-3",type:"article",title:"Your Engineering Team Should be Looking to Solve Customer Problems",author:"Gregor Ojstersek",description:"Aligning engineering teams with customer value.",category:"leadership",topics:["customer-focus","team-alignment"],url:"https://newsletter.eng-leadership.com/p/your-engineering-team-should-be-looking",dateAdded:"2024-01-03",readTimeMins:7,source:"Engineering Leadership"},{id:"lm-article-4",type:"article",title:"Why you should do a Tech Lead rotation in your engineering team",author:"Gregor Ojstersek",description:"Benefits of tech lead rotation programs.",category:"leadership",topics:["tech-lead","rotation-programs"],url:"https://newsletter.eng-leadership.com/p/why-you-should-do-a-tech-lead-rotation",dateAdded:"2024-01-04",readTimeMins:6,source:"Engineering Leadership"},{id:"lm-article-5",type:"article",title:"5 lessons learned setting up a global engineering org at Google",author:"Gregor Ojstersek",description:"Scaling engineering organizations globally.",category:"leadership",topics:["global-teams","scaling"],url:"https://newsletter.eng-leadership.com/p/5-lessons-learned-setting-up-a-global",dateAdded:"2024-01-05",readTimeMins:9,source:"Engineering Leadership"},{id:"lm-article-6",type:"article",title:"Senior Engineer to Lead: Who to promote and how to train them",author:"Gregor Ojstersek",description:"Promoting and training engineering leaders.",category:"leadership",topics:["promotion","leadership-development"],url:"https://newsletter.eng-leadership.com/p/senior-engineer-to-lead-who-to-promote",dateAdded:"2024-01-06",readTimeMins:8,source:"Engineering Leadership"},{id:"lm-article-7",type:"article",title:"Good managers are hard to find and once you have them, they should be appreciated",author:"Gregor Ojstersek",description:"Retaining and appreciating good engineering managers.",category:"leadership",topics:["manager-retention","appreciation"],url:"https://newsletter.eng-leadership.com/p/good-managers-are-hard-to-find-and",dateAdded:"2024-01-07",readTimeMins:5,source:"Engineering Leadership"},{id:"lm-article-8",type:"article",title:"How to create a great engineering organization where people can thrive",author:"Gregor Ojstersek",description:"Building thriving engineering organizations.",category:"leadership",topics:["organizational-culture","employee-thriving"],url:"https://newsletter.eng-leadership.com/p/how-to-create-a-great-engineering",dateAdded:"2024-01-08",readTimeMins:10,source:"Engineering Leadership"},{id:"lm-article-9",type:"article",title:"How to use engineering metrics for the success of engineers and team
176s",author:"Gregor Ojstersek",description:"Effective use of engineering metrics.",category:"leadership",topics:["engineering-metrics","team-success"],url:"https://newsletter.eng-leadership.com/p/how-to-use-engineering-metrics-for",dateAdded:"2024-01-09",readTimeMins:8,source:"Engineering Leadership"},{id:"lm-article-10",type:"article",title:"From Engineer to Principal Solutions Architect at AWS with Prasad Rao",author:"Gregor Ojstersek",description:"Career progression to Principal Solutions Architect.",category:"leadership",topics:["career-progression","aws"],url:"https://newsletter.eng-leadership.com/p/from-engineer-to-principal-solutions",dateAdded:"2024-01-10",readTimeMins:12,source:"Engineering Leadership"},{id:"lm-article-11",type:"article",title:"How to create a culture of ownership in your engineering team",author:"Gregor Ojstersek",description:"Building ownership culture in engineering teams.",category:"leadership",topics:["ownership-culture","team-culture"],url:"https://newsletter.eng-leadership.com/p/how-to-create-a-culture-of-ownership",dateAdded:"2024-01-11",readTimeMins:7,source:"Engineering Leadership"},{id:"lm-article-12",type:"article",title:"Blameless culture should be a standard in the engineering industry",author:"Gregor Ojstersek",description:"Implementing blameless culture in engineering.",category:"leadership",topics:["blameless-culture","engineering-culture"],url:"https://newsletter.eng-leadership.com/p/blameless-culture-should-be-a-standard",dateAdded:"2024-01-12",readTimeMins:6,source:"Engineering Leadership"},{id:"lm-article-13",type:"article",title:"How to have a top performing, healthy and active day as an engineer or a manager",author:"Gregor Ojstersek",description:"Daily habits for engineering professionals.",category:"leadership",topics:["daily-habits","performance"],url:"https://newsletter.eng-leadership.com/p/how-to-have-a-top-performing-healthy",dateAdded:"2024-01-13",readTimeMins:5,source:"Engineering Leadership"},{id:"lm-article-14",type:"article",title:"The importance of having a career growth plan in the engineering industry",author:"Gregor Ojstersek",description:"Planning career growth in engineering.",category:"leadership",topics:["career-planning","growth"],url:"https://newsletter.eng-leadership.com/p/the-importance-of-having-a-career",dateAdded:"2024-01-14",readTimeMins:7,source:"Engineering Leadership"},{id:"se-newsletter-1",type:"newsletter",title:"Engineering Leadership",author:"Gregor Ojstersek",description:"Engineering leadership insights and practices.",category:"software-engineering",topics:["engineering-leadership"],url:"https://newsletter.eng-leadership.com/",dateAdded:"2024-01-15",frequency:"Weekly",subscriberCount:25e3},{id:"se-newsletter-2",type:"newsletter",title:"Coding Challenges",author:"John Crickett",description:"Weekly coding challenges and solutions.",category:"software-engineering",topics:["coding-challenges","algorithms"],url:"https://codingchallenges.substack.com/",dateAdded:"2024-01-17",frequency:"Weekly",subscriberCount:18e3},{id:"se-newsletter-3",type:"newsletter",title:"Developing Skills",author:"John Crickett",description:"Skill development for software engineers.",category:"software-engineering",topics:["skill-development","career-growth"],url:"https://developingskills.substack.com/",dateAdded:"2024-01-19",frequency:"Weekly",subscriberCount:16e3},{id:"se-newsletter-4",type:"newsletter",title:"High Growth Engineer",author:"Jordan Cutler",description:"Career growth strategies for software engineers.",category:"software-engineering",topics:["career-growth","engineering"],url:"https://careercutler.substack.com/",dateAdded:"2024-01-21",frequency:"Weekly",subscriberCount:22e3},{id:"se-newsletter-5",type:"newsletter",title:"The Developing Dev",author:"Ryan Peterman",description:"Software development insights and practices.",category:"software-engineering",topics:["software-development","best-practices"],url:"https://www.developing.dev/",dateAdded:"2024-01-23",frequency:"Weekly",subscriberCount:14e3},{id:"se-newsletter-6",type:"newsletter",title:"The T-Shaped Dev",author:"Petar Ivanov",description:"Becoming a well-rounded software developer.",category:"software-engineering",topics:["full-stack","skill-development"],url:"https://thetshaped.dev/",dateAdded:"2024-01-25",frequency:"Weekly",subscriberCount:12e3},{id:"se-newsletter-7",type:"newsletter",title:"Hungry Minds",author:"Alexandre Zajac",de
176scription:"Software engineering insights and learning.",category:"software-engineering",topics:["learning","engineering"],url:"https://hungryminds.dev",dateAdded:"2024-01-27",frequency:"Weekly",subscriberCount:1e4},{id:"se-newsletter-8",type:"newsletter",title:"Level up software engineering",author:"Caleb Mellas",description:"Advancing your software engineering career.",category:"software-engineering",topics:["career-advancement","engineering"],url:"https://levelupsoftwareengineering.substack.com/",dateAdded:"2024-01-29",frequency:"Weekly",subscriberCount:11e3},{id:"se-newsletter-9",type:"newsletter",title:"Engineer's Codex",author:"Leonardo Creed",description:"Software engineering principles and practices.",category:"software-engineering",topics:["engineering-principles","best-practices"],url:"https://read.engineerscodex.com/",dateAdded:"2024-01-31",frequency:"Weekly",subscriberCount:15e3},{id:"se-newsletter-10",type:"newsletter",title:"The Modern Software Developer",author:"Richard Donovan",description:"Modern software development practices.",category:"software-engineering",topics:["modern-development","practices"],url:"https://tmsd.substack.com/",dateAdded:"2024-02-02",frequency:"Weekly",subscriberCount:9e3},{id:"se-newsletter-11",type:"newsletter",title:"Strategize Your Career",author:"Fran Soto",description:"Career strategy for software developers.",category:"software-engineering",topics:["career-strategy","professional-growth"],url:"https://strategizeyourcareer.substack.com/",dateAdded:"2024-02-04",frequency:"Weekly",subscriberCount:8e3},{id:"se-newsletter-12",type:"newsletter",title:"The Pragmatic Engineer",author:"Gergely Orosz",description:"Engineering culture and career insights.",category:"software-engineering",topics:["engineering-culture","compensation"],url:"https://newsletter.pragmaticengineer.com/",dateAdded:"2024-01-12",frequency:"Bi-weekly",subscriberCount:85e3},{id:"se-newsletter-13",type:"newsletter",title:"Software Design: Tidy First?",author:"Kent Beck",description:"Software design and refactoring insights.",category:"software-engineering",topics:["software-design","refactoring"],url:"https://tidyfirst.substack.com/",dateAdded:"2024-02-06",frequency:"Weekly",subscriberCount:13e3},{id:"se-newsletter-14",type:"newsletter",title:"Dev Details",author:"Mike Thornton",description:"Detailed insights into software development.",category:"software-engineering",topics:["development-insights","technical-details"],url:"https://blog.devdetails.com/",dateAdded:"2024-02-08",frequency:"Weekly",subscriberCount:7e3},{id:"se-newsletter-15",type:"newsletter",title:"Front-End Focus",author:"Mads Brodt",description:"Frontend development insights and trends.",category:"software-engineering",topics:["frontend","web-development"],url:"https://frontendfocus.substack.com/",dateAdded:"2024-02-10",frequency:"Weekly",subscriberCount:12e3},{id:"se-newsletter-16",type:"newsletter",title:"Craft Better Software",author:"Daniel Moka",description:"Software craftsmanship and quality.",category:"software-engineering",topics:["software-craftsmanship","quality"],url:"https://craftbettersoftware.com/",dateAdded:"2024-02-12",frequency:"Weekly",subscriberCount:8500},{id:"se-newsletter-17",type:"newsletter",title:"Saiyan Growth Letter",author:"Tiger Abrodi",description:"Personal and professional growth for developers.",category:"software-engineering",topics:["personal-growth","professional-development"],url:"https://www.saiyangrowthletter.com/",dateAdded:"2024-02-14",frequency:"Weekly",subscriberCount:6e3},{id:"se-newsletter-18",type:"newsletter",title:"The Polymathic Engineer",author:"Franco Fernando",description:"Diverse engineering insights and knowledge.",category:"software-engineering",topics:["diverse-skills","engineering"],url:"https://newsletter.francofernando.com/",dateAdded:"2024-02-16",frequency:"Weekly",subscriberCount:7500},{id:"se-newsletter-19",type:"newsletter",title:"ByteSizedBets",author:"Ankur Tyagi",description:"Small bets and experiments in software development.",category:"software-engineering",topics:["experiments","innovation"],url:"https://bytesizedbets.com/",dateAdded:"2024-02-18",frequency:"Weekly",subscriberCount:9500},{id:"se-newsletter-20",type:"newsletter",title:"Maximiliano Contieri - Software Design",author:"Maximiliano Contieri",description:"Softw
176are design principles and practices.",category:"software-engineering",topics:["software-design","principles"],url:"https://maximilianocontieri.com/newsletter",dateAdded:"2024-02-20",frequency:"Weekly",subscriberCount:5e3},{id:"se-newsletter-21",type:"newsletter",title:"Path to Staff",author:"Sidwyn Koh",description:"Path to becoming a Staff Engineer.",category:"software-engineering",topics:["staff-engineer","career-path"],url:"https://pathtostaff.substack.com/",dateAdded:"2024-02-22",frequency:"Weekly",subscriberCount:8200},{id:"se-person-1",type:"person",title:"John Crickett",name:"John Crickett",jobTitle:"Software Engineering Coach",company:"Coding Challenges",description:"Creator of coding challenges and skill development resources.",bio:"Software engineering coach focused on skill development.",category:"software-engineering",topics:["coding-challenges","skill-development"],linkedinUrl:"https://www.linkedin.com/in/johncrickett/",dateAdded:"2024-01-01",popularityScore:88},{id:"se-person-2",type:"person",title:"Jordan Cutler",name:"Jordan Cutler",jobTitle:"Senior Software Engineer",company:"High Growth Engineer",description:"Career growth strategies for software engineers.",bio:"Senior software engineer sharing career growth strategies.",category:"software-engineering",topics:["career-growth","engineering"],linkedinUrl:"https://www.linkedin.com/in/jordancutler1/",dateAdded:"2024-01-02",popularityScore:86},{id:"se-person-3",type:"person",title:"Ryan Peterman",name:"Ryan Peterman",jobTitle:"Software Engineer",company:"The Developing Dev",description:"Software development insights and practices.",bio:"Software engineer sharing development insights.",category:"software-engineering",topics:["software-development","best-practices"],linkedinUrl:"https://www.linkedin.com/in/ryanlpeterman/",dateAdded:"2024-01-03",popularityScore:82},{id:"se-person-4",type:"person",title:"Caleb Mellas",name:"Caleb Mellas",jobTitle:"Software Engineer",company:"Level up software engineering",description:"Advancing software engineering careers.",bio:"Software engineer focused on career advancement.",category:"software-engineering",topics:["career-advancement","engineering"],linkedinUrl:"https://www.linkedin.com/in/calebmellas/",dateAdded:"2024-01-04",popularityScore:80},{id:"se-person-5",type:"person",title:"Richard Donovan",name:"Richard Donovan",jobTitle:"Software Developer",company:"The Modern Software Developer",description:"Modern software development practices.",bio:"Software developer sharing modern practices.",category:"software-engineering",topics:["modern-development","practices"],linkedinUrl:"https://www.linkedin.com/in/rich-donovan/",dateAdded:"2024-01-05",popularityScore:78},{id:"se-person-6",type:"person",title:"Daniel Moka",name:"Daniel Moka",jobTitle:"Software Engineer",company:"Craft Better Software",description:"Software craftsmanship and quality.",bio:"Software engineer focused on craftsmanship.",category:"software-engineering",topics:["software-craftsmanship","quality"],linkedinUrl:"https://www.linkedin.com/in/danielmoka/",dateAdded:"2024-01-06",popularityScore:81},{id:"se-person-7",type:"person",title:"Tiger Abrodi",name:"Tiger Abrodi",jobTitle:"Software Developer",company:"Saiyan Growth Letter",description:"Personal and professional growth for developers.",bio:"Software developer focused on personal growth.",category:"software-engineering",topics:["personal-growth","professional-development"],linkedinUrl:"https://www.linkedin.com/in/tiger-abrodi/",dateAdded:"2024-01-07",popularityScore:76},{id:"se-person-8",type:"person",title:"Francisco Manuel (Fran) Soto RamÃrez",name:"Fran Soto",jobTitle:"Software Engineer",company:"Strategize Your Career",description:"Career strategy for software developers.",bio:"Software engineer sharing career strategies.",category:"software-engineering",topics:["career-strategy","professional-growth"],linkedinUrl:"https://www.linkedin.com/in/fransotodev/",dateAdded:"2024-01-08",popularityScore:79},{id:"se-person-9",type:"person",title:"Guille Ojeda",name:"Guille Ojeda",jobTitle:"Software Engineer",company:"Various",description:"Softw
176are engineering insights.",bio:"Software engineer sharing development insights.",category:"software-engineering",topics:["software-engineering"],linkedinUrl:"https://www.linkedin.com/in/guilleojeda/",dateAdded:"2024-01-09",popularityScore:74},{id:"se-person-10",type:"person",title:"Gergely Orosz",name:"Gergely Orosz",jobTitle:"Engineering Manager",company:"The Pragmatic Engineer",description:"Engineering culture and career insights.",bio:"Engineering manager sharing pragmatic insights.",category:"software-engineering",topics:["engineering-culture","compensation"],linkedinUrl:"https://www.linkedin.com/in/gergelyorosz/",dateAdded:"2024-01-10",popularityScore:95},{id:"se-person-11",type:"person",title:"Kent Beck",name:"Kent Beck",jobTitle:"Software Engineer",company:"Software Design: Tidy First?",description:"Software design and refactoring insights.",bio:"Software engineer and design expert.",category:"software-engineering",topics:["software-design","refactoring"],linkedinUrl:"https://www.linkedin.com/in/kentbeck/",dateAdded:"2024-01-11",popularityScore:93},{id:"se-person-12",type:"person",title:"Mike Thornton",name:"Mike Thornton",jobTitle:"Software Developer",company:"Dev Details",description:"Detailed insights into software development.",bio:"Software developer sharing detailed insights.",category:"software-engineering",topics:["development-insights","technical-details"],linkedinUrl:"https://www.linkedin.com/in/devdetails/",dateAdded:"2024-01-12",popularityScore:77},{id:"se-person-13",type:"person",title:"Mads Brodt",name:"Mads Brodt",jobTitle:"Frontend Developer",company:"Front-End Focus",description:"Frontend development insights and trends.",bio:"Frontend developer sharing web development insights.",category:"software-engineering",topics:["frontend","web-development"],linkedinUrl:"https://www.linkedin.com/in/madsbrodt/",dateAdded:"2024-01-13",popularityScore:83},{id:"se-person-14",type:"person",title:"Roman Frolov",name:"Roman Frolov",jobTitle:"Software Engineer",company:"Various",description:"Software engineering insights.",bio:"Software engineer sharing development insights.",category:"software-engineering",topics:["software-engineering"],linkedinUrl:"https://www.linkedin.com/in/romfrolov/",dateAdded:"2024-01-14",popularityScore:75},{id:"se-person-15",type:"person",title:"Petar Ivanov",name:"Petar Ivanov",jobTitle:"Full-Stack Developer",company:"The T-Shaped Dev",description:"Becoming a well-rounded software developer.",bio:"Full-stack developer focused on well-rounded skills.",category:"software-engineering",topics:["full-stack","skill-development"],linkedinUrl:"https://www.linkedin.com/in/petarivanovv9/",dateAdded:"2024-01-15",popularityScore:81},{id:"se-person-16",type:"person",title:"Fernando Franco",name:"Franco Fernando",jobTitle:"Software Engineer",company:"The Polymathic Engineer",description:"Diverse engineering insights and knowledge.",bio:"Software engineer with diverse skills.",category:"software-engineering",topics:["diverse-skills","engineering"],linkedinUrl:"https://www.linkedin.com/in/fernando-franco-4696708/",dateAdded:"2024-01-16",popularityScore:78},{id:"se-person-17",type:"person",title:"Ankur Tyagi",name:"Ankur Tyagi",jobTitle:"Software Engineer",company:"ByteSizedBets",description:"Small bets and experiments in software development.",bio:"Software engineer focused on experiments and innovation.",category:"software-engineering",topics:["experiments","innovation"],linkedinUrl:"https://www.linkedin.com/in/theankurtyagi/",dateAdded:"2024-01-17",popularityScore:84},{id:"se-person-18",type:"person",title:"Milan JovanoviÄ",name:"Milan JovanoviÄ",jobTitle:"Software Architect",company:"Various",description:"Software architecture insights.",bio:"Software architect sharing architecture insights.",category:"software-engineering",topics:["software-architecture"],linkedinUrl:"https://www.linkedin.com/in/milan-jovanovic/",dateAdded:"2024-01-18",popularityScore:87},{id:"se-person-19",type:"person",title:"Eric Roby",name:"Eric Roby",jobTitle:"Software Developer",company:"Coding with Roby",description:"Software development education.",bio:"Software developer focused on education.",category:"software-engineering",topics:["education","development"],linkedinUrl:"https://www.linkedin.com/in/codingwithroby/",dateAdded:"2024-01-19",popularityScore:76},{id:"se-person-20",type:"person",title:"Alexandre Zajac",name:"Alexandre Zajac",jobTitle:"Software Engineer",company:"Hungry Minds",description:"Softw
176are engineering insights and learning.",bio:"Software engineer focused on learning and growth.",category:"software-engineering",topics:["learning","engineering"],linkedinUrl:"https://www.linkedin.com/in/alexandre-zajac/",dateAdded:"2024-01-20",popularityScore:80},{id:"se-person-21",type:"person",title:"Zubin Pratap",name:"Zubin Pratap",jobTitle:"Software Engineer",company:"Various",description:"Software engineering insights.",bio:"Software engineer sharing development insights.",category:"software-engineering",topics:["software-engineering"],linkedinUrl:"https://www.linkedin.com/in/zubinpratap/",dateAdded:"2024-01-21",popularityScore:73},{id:"se-person-22",type:"person",title:"Sam Williams",name:"Sam Williams",jobTitle:"Software Developer",company:"Complete Coding",description:"Complete coding education.",bio:"Software developer focused on comprehensive education.",category:"software-engineering",topics:["education","coding"],linkedinUrl:"https://www.linkedin.com/in/sam-complete-coding/",dateAdded:"2024-01-22",popularityScore:72},{id:"se-person-23",type:"person",title:"Maximiliano Contieri",name:"Maximiliano Contieri",jobTitle:"Software Engineer",company:"Software Design",description:"Software design principles and practices.",bio:"Software engineer focused on design principles.",category:"software-engineering",topics:["software-design","principles"],linkedinUrl:"https://www.linkedin.com/in/mcsee/",dateAdded:"2024-01-23",popularityScore:82},{id:"se-person-24",type:"person",title:"Sidwyn Koh",name:"Sidwyn Koh",jobTitle:"Staff Engineer",company:"Path to Staff",description:"Path to becoming a Staff Engineer.",bio:"Staff engineer sharing career advancement insights.",category:"software-engineering",topics:["staff-engineer","career-path"],linkedinUrl:"https://www.linkedin.com/in/sidwyn/",dateAdded:"2024-01-24",popularityScore:85},{id:"se-article-1",type:"article",title:"How to Gain Respect From Your Peers and Leadership as an Engineer",author:"Gregor Ojstersek",description:"Building respect as a software engineer.",category:"software-engineering",topics:["respect","leadership"],url:"https://newsletter.eng-leadership.com/p/how-to-gain-respect-from-your-peers",dateAdded:"2024-01-01",readTimeMins:8,source:"Engineering Leadership"},{id:"se-article-2",type:"article",title:"How to build good relationships inside and outside your engineering team",author:"Gregor Ojstersek",description:"Building strong professional relationships.",category:"software-engineering",topics:["relationships","teamwork"],url:"https://newsletter.eng-leadership.com/p/how-to-build-good-relationships-inside",dateAdded:"2024-01-02",readTimeMins:7,source:"Engineering Leadership"},{id:"se-article-3",type:"article",title:"Perfectionism - one of the biggest productivity killers in the engineering industry",author:"Gregor Ojstersek",description:"Overcoming perfectionism in engineering.",category:"software-engineering",topics:["perfectionism","productivity"],url:"https://newsletter.eng-leadership.com/p/perfectionism-one-of-the-biggest",dateAdded:"2024-01-03",readTimeMins:6,source:"Engineering Leadership"},{id:"se-article-4",type:"article",title:"How to let your manager know about your goals and aspirations",author:"Gregor Ojstersek",description:"Communicating career goals effectively.",category:"software-engineering",topics:["career-communication","goals"],url:"https://newsletter.eng-leadership.com/p/how-to-let-your-manager-know-about",dateAdded:"2024-01-04",readTimeMins:5,source:"Engineering Leadership"},{id:"se-article-5",type:"article",title:"From Shy Engineer to Director at Oracle and a Skilled Communicator",author:"Gregor Ojstersek",description:"Overcoming shyness in engineering careers.",category:"software-engineering",topics:["communication","career-growth"],url:"https://newsletter.eng-leadership.com/p/from-shy-engineer-to-director-at",dateAdded:"2024-01-05",readTimeMins:9,source:"Engineering Leadership"},{id:"pb-newsletter-1",type:"newsletter",title:"Lenny's Newsletter",author:"Lenny Rachitsky",description:"Product and growth insights.",category:"product",topics:["product-management","growth"],url:"https://www.lennysnewsletter.com/",dateAdded:"2024-02-01",frequency:"Weekly",subscriberCount:45e3},{id:"pb-newsletter-2",type:"newsletter",title:"The Product Compass",author:"Pawel Huryn",description:"Product management guidance and insights.",category:"product",topics:["product-management","strategy"],url:"https://www.productcompass.pm/",dateAdded:"2024-02-03",frequency:"Weekly",subscriberCount:18e3},{id:"pb-newsletter-3",type:"newsletter",title:"Product Growth",author:"Aakash Gupta",description:"Product growth strategies and tactics.",category:"product",topics:["product-growth","growth-hacking"],url:"https://productgrowth.substack.com/",dateAdded:"2024-02-05",frequency:"Weekly",subscriberCount:22e3},{id:"pb-newsletter-4",type:"newsletter",title:"Wes Kao's Newsletter",author:"Wes Kao",description:"Product and business insights.",category:"product",topics:["product-strategy","business"],url:"https://www.weskao.com/newsletter",dateAdded:"2024-02-07",frequency:"Weekly",subscriberCount:12e3},{id:"pb-newsletter-5",type:"newsletter",title:"Product Management IRL",author:"Amy Mitchell",description:"Real-world product management insights.",category:"product",topics:["product-management","real-world"],url:"https://productmanagementirl.substack.com/",dateAdded:"2024-02-09",frequency:"Weekly",subscriberCount:8e3},{id:"pb-newsletter-6",type:"newsletter",title:"Leah's ProducTea",author:"Leah Tharin",description:"Product management insights and tea.",category:"product",topics:["product-management","insights"],url:"https://leahtharin.com/newsletter",dateAdded:"2024-02-11",frequency:"Weekly",subscriberCount:9500},{id:"pb-newsletter-7",type:"newsletter",title:"Elena's Growth Scoop",author:"Elena Verna",description:"Growth strategies and insights.",category:"product",topics:["growth","strategy"],url:"https://elenaverna.substack.com/",dateAdded:"2024-02-13",frequency:"Weekly",subscriberCount:15e3},{id:"pb-newsletter-8",type:"newsletter",title:"Untrapping Product Teams",author:"David Pereira",description:"Freeing product teams from constraints.",category:"product",topics:["product-teams","constraints"],url:"https://untrappedproductteams.substack.com/",dateAdded:"2024-02-15",frequency:"Weekly",subscriberCount:7e3},{id:"pb-newsletter-9",type:"newsletter",title:"The Looking Glass",author:"Julie Zhuo",description:"Product design and leadership insights.",category:"product",topics:["product-design","leadership"],url:"https://lg.substack.com/",dateAdded:"2024-02-17",frequency:"Weekly",subscriberCount:25e3},{id:"pb-newsletter-10",type:"newsletter",title:"The Beautiful Mess",author:"John Cutler",description:"Product management and organizational insights.",category:"product",topics:["product-management","organization"],url:"https://cutlefish.substack.com/",dateAdded:"2024-02-19",frequency:"Weekly",subscriberCount:16e3},{id:"pb-newsletter-11",type:"newsletter",title:"Leadership Superpowers",author:"Gregor Purdy",description:"Leadership insights for product professionals.",category:"product",topics:["leadership","product"],url:"https://gplead.com/newsletter",dateAdded:"2024-02-21",frequency:"Weekly",subscriberCount:7100},{id:"pb-person-1",type:"person",title:"Pawel Huryn",name:"Pawel Huryn",jobTitle:"Product Manager",company:"The Product Compass",de
176scription:"Product management guidance and insights.",bio:"Product manager sharing strategic insights.",category:"product",topics:["product-management","strategy"],linkedinUrl:"https://www.linkedin.com/in/pawelhuryn/",dateAdded:"2024-02-01",popularityScore:85},{id:"pb-person-2",type:"person",title:"Aakash Gupta",name:"Aakash Gupta",jobTitle:"Product Growth Lead",company:"Product Growth",description:"Product growth strategies and tactics.",bio:"Product growth expert sharing growth strategies.",category:"product",topics:["product-growth","growth-hacking"],linkedinUrl:"https://www.linkedin.com/in/aakashg0/",dateAdded:"2024-02-02",popularityScore:82},{id:"pb-person-3",type:"person",title:"Wes Kao",name:"Wes Kao",jobTitle:"Product & Business Strategist",company:"Various",description:"Product and business insights.",bio:"Product and business strategist.",category:"product",topics:["product-strategy","business"],linkedinUrl:"https://www.linkedin.com/in/weskao/",dateAdded:"2024-02-03",popularityScore:88},{id:"pb-person-4",type:"person",title:"Amy Mitchell",name:"Amy Mitchell",jobTitle:"Product Manager",company:"Product Management IRL",description:"Real-world product management insights.",bio:"Product manager sharing real-world insights.",category:"product",topics:["product-management","real-world"],linkedinUrl:"https://www.linkedin.com/in/amymitchell/",dateAdded:"2024-02-04",popularityScore:79},{id:"pb-person-5",type:"person",title:"Leah Tharin",name:"Leah Tharin",jobTitle:"Product Leader",company:"ProducTea",description:"Product management insights.",bio:"Product leader sharing management insights.",category:"product",topics:["product-management","insights"],linkedinUrl:"https://www.linkedin.com/in/leahtharin/",dateAdded:"2024-02-05",popularityScore:81},{id:"pb-person-6",type:"person",title:"Elena Verna",name:"Elena Verna",jobTitle:"Growth Advisor",company:"Growth Scoop",description:"Growth strategies and insights.",bio:"Growth advisor and strategist.",category:"product",topics:["growth","strategy"],linkedinUrl:"https://www.linkedin.com/in/elenaverna/",dateAdded:"2024-02-06",popularityScore:84},{id:"pb-person-7",type:"person",title:"David Pereira",name:"David Pereira",jobTitle:"Product Leader",company:"Untrapping Product Teams",description:"Freeing product teams from constraints.",bio:"Product leader focused on team empowerment.",category:"product",topics:["product-teams","constraints"],linkedinUrl:"https://www.linkedin.com/in/davidgpereira/",dateAdded:"2024-02-07",popularityScore:77},{id:"pb-person-8",type:"person",title:"Julie Zhuo",name:"Julie Zhuo",jobTitle:"Product Design Leader",company:"The Looking Glass",description:"Product design and leadership insights.",bio:"Product design leader and former Facebook VP.",category:"product",topics:["product-design","leadership"],linkedinUrl:"https://www.linkedin.com/in/julie-zhuo/",dateAdded:"2024-02-08",popularityScore:92},{id:"pb-person-9",type:"person",title:"Peter Yang",name:"Peter Yang",jobTitle:"Product Leader",company:"Various",description:"Product management insights.",bio:"Product leader sharing strategic insights.",category:"product",topics:["product-management"],linkedinUrl:"https://www.linkedin.com/in/petergyang/",dateAdded:"2024-02-09",popularityScore:86},{id:"pb-person-10",type:"person",title:"John Cutler",name:"John Cutler",jobTitle:"Product Evangelist",company:"The Beautiful Mess",description:"Product management and organizational insights.",bio:"Product evangelist and organizational thinker.",category:"product",topics:["product-management","organization"],linkedinUrl:"https://www.linkedin.com/in/johnpcutler/",dateAdded:"2024-02-10",popularityScore:89},{id:"pb-person-11",type:"person",title:"Gregor Purdy",name:"Gregor Purdy",jobTitle:"Leadership Coach",company:"Leadership Superpowers",description:"Leadership insights for product professionals.",bio:"Leadership coach for product professionals.",category:"product",topics:["leadership","product"],linkedinUrl:"https://www.linkedin.com/in/gregorpurdy/",dateAdded:"2024-02-11",popularityScore:77},{id:"de-newsletter-1",type:"newsletter",title:"EcZachly Data Engineering Newsletter",author:"Zach Wilson",description:"Data engineering tutorials and career advice.",category:"data-engineering",topics:["data-engineering","tutorials"],url:"https://blog.dataengineer.io/",dateAdded:"2024-02-10",frequency:"Weekly",subscriberCount:18e3},{id:"de-newsletter-2",type:"newsletter",title:"SeattleDataGuy's Newsletter",author:"SeattleDataGuy",description:"Data engineering insights and career advice.",category:"data-engineering",topics:["data-engineering","career"],url:"https://seattledataguy.substack.com/",dateAdded:"2024-02-12",frequency:"Weekly",subscriberCount:12e3},{id:"de-newsletter-3",type:"newsletter",title:"Daily Dose of Data Science",author:"Avi Chawla",description:"Daily data science insights and tutorials.",category:"data-engineering",topics:["data-science","tutorials"],url:"https://www.blog.dailydoseofds.com/",dateAdded:"2024-02-14",frequency:"Daily",subscriberCount:25e3},{id:"de-newsletter-4",type:"newsletter",title:"Data Engineering Central",author:"Daniel Beach",description:"Central hub for data engineering insights.",category:"data-engineering",topics:["data-engineering","insights"],url:"https://dataengineeringcentral.substack.com/",dateAdded:"2024-02-16",frequency:"Weekly",subscriberCount:8e3},{id:"de-newsletter-5",type:"newsletter",title:"Data Engineering Weekly",author:"Ananth Packkildurai",description:"Weekly data engineering news and insights.",category:"data-engineering",topics:["data-engineering","news"],url:"https://www.dataengineeringweekly.com/",dateAdded:"2024-02-18",frequency:"Weekly",subscriberCount:15e3},{id:"de-newsletter-6",type:"newsletter",title:"Joe Reis",author:"Joe Reis",description:"Data architecture and engineering insights.",category:"data-engineering",topics:["data-architecture","engineering"],url:"https://joereis.substack.com/",dateAdded:"2024-02-20",frequency:"Weekly",subscriberCount:1e4}
176,{id:"de-newsletter-7",type:"newsletter",title:"Air Around AI",author:"Pradeep Kumar",description:"AI and data engineering insights.",category:"data-engineering",topics:["ai","data-engineering"],url:"https://airaroundai.substack.com/",dateAdded:"2024-02-22",frequency:"Weekly",subscriberCount:6e3},{id:"ai-newsletter-1",type:"newsletter",title:"The Code",author:"The Code Team",description:"2x week newsletter read by 100K+ AI Researchers and Engineering leaders from companies like OpenAI, Anthropic, Google",category:"ai-ml",topics:["ai","machine-learning","engineering-leadership"],url:"https://codenewsletter.ai/subscribe",dateAdded:"2024-03-01",frequency:"Bi-weekly",subscriberCount:1e5}],_D=e=>{const t=e.toLowerCase();return ys.filter(n=>{var r;return n.title.toLowerCase().includes(t)||n.description.toLowerCase().includes(t)||((r=n.author)==null?void 0:r.toLowerCase().includes(t))||n.topics.some(i=>i.toLowerCase().includes(t))})};function VD(){const{state:e,dispatch:t}=Gr(),n=o=>{t({type:"SET_CATEGORY",payload:o})},r=o=>{t({type:"SET_SEARCH_QUERY",payload:o.target.value})},i=()=>{t({type:"SET_UI_STATE",payload:{isFilterOpen:!e.ui.isFilterOpen}})};return y.jsx("nav",{className:"sticky top-0 z-40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 border-b",children:y.jsxs("div",{className:"container mx-auto px-6",children:[y.jsxs("div",{className:"flex items-center justify-between py-4",children:[y.jsx("div",{className:"font-display text-2xl font-bold",children:"THE CODE"}),y.jsxs("div",{className:"flex items-center space-x-4",children:[y.jsxs("div",{className:"relative max-w-sm",children:[y.jsx(LC,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground w-4 h-4"}),y.jsx(ib,{placeholder:"Search resources...",value:e.searchQuery,onChange:r,className:"pl-10 w-full focus-visible"})]}),y.jsxs(de,{variant:"outline",size:"sm",onClick:i,className:`${e.ui.isFilterOpen?"bg-primary text-primary-foreground":""}`,children:[y.jsx(jC,{className:"w-4 h-4 mr-2"}),"Filters"]})]})]}),y.jsx("div",{className:"flex space-x-8 overflow-x-auto pb-2 scrollbar-hide",children:FD.map(o=>y.jsxs("button",{onClick:()=>n(o.id),className:`relative flex-shrink-0 py-2 px-1 text-sm font-medium transition-colors whitespace-nowrap ${e.ui.activeCategory===o.id?"text-primary":"text-muted-foreground hover:text-foreground"}`,children:[o.name,y.jsx("span",{className:"ml-2 text-xs bg-secondary text-secondary-foreground px-2 py-1 rounded-full",children:o.count}),e.ui.activeCategory===o.id&&y.jsx(Re.div,{layoutId:"activeTab",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-primary",initial:!1,transition:{type:"spring",bounce:.2,duration:.6}})]},o.id))})]})})}const zD=Bf("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ir({className:e,variant:t,...n}){return y.jsx("div",{className:xe(zD({variant:t}),e),...n})}function BD(){const{state:e,dispatch:t}=Gr(),n=l=>{const c=e.filters.types,u=c.includes(l)?c.filter(d=>d!==l):[...c,l];t({type:"SET_FILTERS",payload:{types:u}})},r=l=>{t({type:"SET_FILTERS",payload:{sort:l}})},i=l=>{t({type:"SET_FILTERS",payload:{view:l}})},o=()=>{t({type:"RESET_FILTERS"})},s=()=>{t({type:"SET_UI_STATE",payload:{isFilterOpen:!1}})},a=e.filters.types.length>0||e.filters.topics.length>0||e.searchQuery;return y.jsx(ZM,{children:e.ui.isFilterOpen&&y.jsxs(y.Fragment,{children:[y.jsx(Re.div,{initial:{opacity:0}
176,animate:{opacity:1},exit:{opacity:0},onClick:s,className:"fixed inset-0 bg-black/20 z-40 lg:hidden"}),y.jsx(Re.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:30,stiffness:300},className:"fixed right-0 top-0 h-full w-80 bg-card border-l shadow-xl z-50 overflow-y-auto",children:y.jsxs("div",{className:"p-6 space-y-6",children:[y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("h3",{className:"font-display text-xl",children:"Filters"}),y.jsxs("div",{className:"flex space-x-2",children:[a&&y.jsxs(de,{variant:"ghost",size:"sm",onClick:o,children:[y.jsx(DC,{className:"w-4 h-4 mr-2"}),"Reset"]}),y.jsx(de,{variant:"ghost",size:"sm",onClick:s,children:y.jsx(Pi,{className:"w-4 h-4"})})]})]}),y.jsxs("div",{className:"space-y-3",children:[y.jsx("h4",{className:"font-semibold text-sm text-foreground",children:"Resource Types"}),y.jsx("div",{className:"grid grid-cols-2 gap-2",children:sy.map(l=>y.jsxs(de,{variant:e.filters.types.includes(l.id)?"default":"outline",size:"sm",onClick:()=>n(l.id),className:"justify-start",children:[y.jsx("span",{className:"mr-2",children:l.icon}),l.name]},l.id))})]}),y.jsxs("div",{className:"space-y-3",children:[y.jsx("h4",{className:"font-semibold text-sm text-foreground",children:"Sort By"}),y.jsx("div",{className:"space-y-2",children:[{id:"recent",name:"Most Recent"},{id:"popular",name:"Most Popular"},{id:"alphabetical",name:"Alphabetical"}].map(l=>y.jsx(de,{variant:e.filters.sort===l.id?"default":"ghost",size:"sm",onClick:()=>r(l.id),className:"w-full justify-start",children:l.name},l.id))})]}),y.jsxs("div",{className:"space-y-3",children:[y.jsx("h4",{className:"font-semibold text-sm text-foreground",children:"View"}),y.jsx("div",{className:"grid grid-cols-3 gap-2",children:[{id:"grid",name:"Grid"},{id:"list",name:"List"},{id:"compact",name:"Compact"}].map(l=>y.jsx(de,{variant:e.filters.view===l.id?"default":"outline",size:"sm",onClick:()=>i(l.id),children:l.name},l.id))})]}),a&&y.jsxs("div",{className:"space-y-3",children:[y.jsx("h4",{className:"font-semibold text-sm text-foreground",children:"Active Filters"}),y.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.filters.types.map(l=>{const c=sy.find(u=>u.id===l);return y.jsxs(ir,{variant:"secondary",className:"cursor-pointer",onClick:()=>n(l),children:[c==null?void 0:c.name," ",y.jsx(Pi,{className:"w-3 h-3 ml-1"})]},l)}),e.searchQuery&&y.jsxs(ir,{variant:"secondary",className:"cursor-pointer",onClick:()=>t({type:"SET_SEARCH_QUERY",payload:""}),children:['"',e.searchQuery,'" ',y.jsx(Pi,{className:"w-3 h-3 ml-1"})]})]})]})]})})]})})}const jp=v.forwardRef(({className:e,...t},n)=>y.jsx("div",{ref:n,className:xe("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));jp.displayName="Card";const Dp=v.forwardRef(({className:e,...t},n)=>y.jsx("div",{ref:n,className:xe("flex flex-col space-y-1.5 p-6",e),...t}));Dp.displayName="CardHeader";const Lp=v.forwardRef(({className:e,...t},n)=>y.jsx("h3",{ref:n,className:xe("text-2xl font-semibold leading-none tracking-tight",e),...t}));Lp.displayName="CardTitle";const $D=v.forwardRef(({className:e,...t},n)=>y.jsx("p",{ref:n,className:xe("text-sm text-muted-foreground",e),...t}));$D.displayName="CardDescription";const Op=v.forwardRef(({className:e,...t},n)=>y.jsx("div",{ref:n,className:xe("p-6 pt-0",e),...t}));Op.displayName="CardContent";const UD=v.forwardRef(({className:e,...t},n)=>y.jsx("div",{ref:n,className:xe("flex items-center p-6 pt-0",e),...t}));UD.displayName="CardFooter";var iu="focusScope.autoFocusOnMount",ou="focusScope.autoFocusOnUnmount",ay={bubbles:!1,cancelable:!0},WD="FocusScope",ob=v.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[a,l]=v.useState(null),c=rn(i),u=rn(o),d=v.useRef(null),f=Qe(t,h=>l(h)),p=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(r){let h=function(w){if(p.paused||!a)return;const S=w.target;a.contains(S)?d.current=S:Fn(d.current,{select:!0})},x=function(w){if(p.paused||!a)return;const S=w.relatedTarget;S!==null&&(a.contains(S)||Fn(d.current,{select:!0}))},m=function(w){if(document.activeElement===document.body)for(const k of w)k.removedNodes.length>0&&Fn(a)};document.addEventListener("focusin",h),document.addEventListener("focusout",x);const g=new MutationObserver(m);return a&&g.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",x),g.disconnect()}}},[r,a,p.paused]),v.useEffect(()=>{if(a){cy.add(p);const h=document.activeElement;if(!a.contains(h)){const m=new CustomEvent(iu,ay);a.addEventListener(iu,c),a.dispatchEvent(m),m.defaultPrevented||(HD(YD(sb(a)),{select:!0}),document.activeElement===h&&Fn(a))}return()=>{a.removeEventListener(iu,c),setTimeout(()=>{const m=new CustomEvent(ou,ay);a.addEventListener(ou,u),a.dispatchEvent(m),m.defaultPrevented||Fn(h??document.body,{select:!0}),a.removeEventListener(ou,u),cy.remove(p)}
vendor: 3,671 bytes, line 176
176,0)}}},[a,c,u,p]);const b=v.useCallback(h=>{if(!n&&!r||p.paused)return;const x=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,m=document.activeElement;if(x&&m){const g=h.currentTarget,[w,S]=GD(g);w&&S?!h.shiftKey&&m===S?(h.preventDefault(),n&&Fn(w,{select:!0})):h.shiftKey&&m===w&&(h.preventDefault(),n&&Fn(S,{select:!0})):m===g&&h.preventDefault()}},[n,r,p.paused]);return y.jsx(we.div,{tabIndex:-1,...s,ref:f,onKeyDown:b})});ob.displayName=WD;function HD(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Fn(r,{select:t}),document.activeElement!==n)return}function GD(e){const t=sb(e),n=ly(t,e),r=ly(t.reverse(),e);return[n,r]}function sb(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ly(e,t){for(const n of e)if(!KD(n,{upTo:t}))return n}function KD(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function qD(e){return e instanceof HTMLInputElement&&"select"in e}function Fn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&qD(e)&&t&&e.select()}}var cy=QD();function QD(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=uy(e,t),e.unshift(t)},remove(t){var n;e=uy(e,t),(n=e[0])==null||n.resume()}}}function uy(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function YD(e){return e.filter(t=>t.tagName!=="A")}var su=0;function XD(){v.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??dy()),document.body.insertAdjacentElement("beforeend",e[1]??dy()),su++,()=>{su===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),su--}},[])}function dy(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Qt=function(){return Qt=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Qt.apply(this,arguments)};function ab(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function ZD(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var La="right-scroll-bar-position",Oa="width-before-scroll-bar",JD="with-scroll-bars-hidden",eL="--removed-body-scroll-bar-size";function au(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function tL(e,t){var n=v.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var nL=typeof window<"u"?v.useLayoutEffect:v.useEffect,fy=new WeakMap;function rL(e,t){var n=tL(null,function(r){return e.forEach(function(i){return au(i,r)})});return nL(function(){var r=fy.get(n);if(r){var i=new Set(r),o=new Set(e),s=n.current;
vendor: 4,196 bytes, lines 176-191
176i.forEach(function(a){o.has(a)||au(a,null)}),o.forEach(function(a){i.has(a)||au(a,s)})}fy.set(n,e)},[e]),n}function iL(e){return e}function oL(e,t){t===void 0&&(t=iL);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var s=t(o,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(o){for(r=!0;n.length;){var s=n;n=[],s.forEach(o)}n={push:function(a){return o(a)},filter:function(){return n}}},assignMedium:function(o){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(o),s=n}var l=function(){var u=s;s=[],u.forEach(o)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(u){s.push(u),c()},filter:function(u){return s=s.filter(u),n}}}};return i}function sL(e){e===void 0&&(e={});var t=oL(null);return t.options=Qt({async:!0,ssr:!1},e),t}var lb=function(e){var t=e.sideCar,n=ab(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return v.createElement(r,Qt({},n))};lb.isSideCarExport=!0;function aL(e,t){return e.useMedium(t),lb}var cb=sL(),lu=function(){},nc=v.forwardRef(function(e,t){var n=v.useRef(null),r=v.useState({onScrollCapture:lu,onWheelCapture:lu,onTouchMoveCapture:lu}),i=r[0],o=r[1],s=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noRelative,b=e.noIsolation,h=e.inert,x=e.allowPinchZoom,m=e.as,g=m===void 0?"div":m,w=e.gapMode,S=ab(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=f,C=rL([n,t]),E=Qt(Qt({},S),i);return v.createElement(v.Fragment,null,u&&v.createElement(k,{sideCar:cb,removeScrollBar:c,shards:d,noRelative:p,noIsolation:b,inert:h,setCallbacks:o,allowPinchZoom:!!x,lockRef:n,gapMode:w}),s?v.cloneElement(v.Children.only(a),Qt(Qt({},E),{ref:C})):v.createElement(g,Qt({},E,{className:l,ref:C}),a))});nc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};nc.classNames={fullWidth:Oa,zeroRight:La};var lL=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function cL(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=lL();return t&&e.setAttribute("nonce",t),e}function uL(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function dL(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var fL=function(){var e=0,t=null;return{add:function(n){e==0&&(t=cL())&&(uL(t,n),dL(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},pL=function(){var e=fL();return function(t,n){v.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ub=function(){var e=pL(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},hL={left:0,top:0,right:0,gap:0},cu=function(e){return parseInt(e||"",10)||0},mL=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[cu(n),cu(r),cu(i)]},gL=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return hL;var t=mL(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},yL=ub(),ji="data-scroll-locked",vL=function(e,t,n,r){var i=e.left,o=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),` 177 .`.concat(JD,` { 178 overflow: hidden `).concat(r,`; 179 padding-right: `).concat(a,"px ").concat(r,`; 180 } 181 body[`).concat(ji,`] { 182 overflow: hidden `).concat(r,`; 183 overscroll-behavior: contain; 184 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 185 padding-left: `.concat(i,`px; 186 padding-top: `).concat(o,`px; 187 padding-right: `).concat(s,`px; 188 margin-left:0; 189 margin-top:0; 190 margin-right: `).concat(a,"px ").concat(r,`; 191 `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
191")].filter(Boolean).join(""),` 192 } 193 194 .`).concat(La,` { 195 right: `).concat(a,"px ").concat(r,`; 196 } 197 198 .`).concat(Oa,` { 199 margin-right: `).concat(a,"px ").concat(r,`; 200 } 201 202 .`).concat(La," .").concat(La,` { 203 right: 0 `).concat(r,`; 204 } 205 206 .`).concat(Oa," .").concat(Oa,` { 207 margin-right: 0 `).concat(r,`; 208 } 209 210 body[`).concat(ji,`] { 211 `).concat(eL,": ").concat(a,`px; 212 } 213`)},py=function(){var e=parseInt(document.body.getAttribute(ji)||"0",10);return isFinite(e)?e:0},wL=function(){v.useEffect(function(){return document.body.setAttribute(ji,(py()+1).toString()),function(){var e=py()-1;e<=0?document.body.removeAttribute(ji):document.body.setAttribute(ji,e.toString())}},[])},xL=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;wL();var o=v.useMemo(function(){return gL(i)},[i]);return v.createElement(yL,{styles:vL(o,!t,i,n?"":"!important")})},zd=!1;if(typeof window<"u")try{var ua=Object.defineProperty({},"passive",{get:function(){return zd=!0,!0}});window.addEventListener("test",ua,ua),window.removeEventListener("test",ua,ua)}catch{zd=!1}var ei=zd?{passive:!1}:!1,bL=function(e){return e.tagName==="TEXTAREA"},db=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!bL(e)&&n[t]==="visible")},SL=function(e){return db(e,"overflowY")},kL=function(e){return db(e,"overflowX")},hy=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=fb(e,r);if(i){var o=pb(e,r),s=o[1],a=o[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},CL=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},EL=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},fb=function(e,t){return e==="v"?SL(t):kL(t)},pb=function(e,t){return e==="v"?CL(t):EL(t)},TL=function(e,t){return e==="h"&&t==="rtl"?-1:1},PL=function(e,t,n,r,i){var o=TL(e,window.getComputedStyle(t).direction),s=o*r,a=n.target,l=t.contains(a),c=!1,u=s>0,d=0,f=0;do{if(!a)break;var p=pb(e,a),b=p[0],h=p[1],x=p[2],m=h-x-o*b;(b||m)&&fb(e,a)&&(d+=m,f+=b);var g=a.parentNode;a=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(u&&(Math.abs(d)<1||!i)||!u&&(Math.abs(f)<1||!i))&&(c=!0),c},da=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},my=function(e){return[e.deltaX,e.deltaY]},gy=function(e){return e&&"current"in e?e.current:e},AL=function(e,t){return e[0]===t[0]&&e[1]===t[1]},RL=function(e){return` 214 .block-interactivity-`.concat(e,` {pointer-events: none;} 215 .allow-interactivity-`).concat(e,` {pointer-events: all;} 216`)},ML=0,ti=[];function NL(e){var t=v.useRef([]),n=v.useRef([0,0]),r=v.useRef(),i=v.useState(ML++)[0],o=v.useState(ub)[0],s=v.useRef(e);v.useEffect(function(){s.current=e},[e]),v.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var h=ZD([e.lockRef.current],(e.shards||[]).map(gy),!0).filter(Boolean);return h.forEach(function(x){return x.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),h.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=v.useCallback(function(h,x){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!s.current.allowPinchZoom;var m=da(h),g=n.current,w="deltaX"in h?h.deltaX:g[0]-m[0],S="deltaY"in h?h.deltaY:g[1]-m[1],k,C=h.target,E=Math.abs(w)>Math.abs(S)?"h":"v";if("touches"in h&&E==="h"&&C.type==="range")return!1;var T=hy(E,C);if(!T)return!0;if(T?k=E:(k=E==="v"?"h":"v",T=hy(E,C)),!T)return!1;if(!r.current&&"changedTouches"in h&&(w||S)&&(r.current=k),!k)return!0;var M=r.current||k;return PL(M,x,h,M==="h"?w:S,!0)},[]),l=v.useCallback(function(h){var x=h;if(!(!ti.length||ti[ti.length-1]!==o)){var m="deltaY"in x?my(x):da(x),g=t.current.filter(function(k){return k.name===x.type&&(k.target===x.target||x.target===k.shadowParent)&&AL(k.delta,m)})[0];if(g&&g.should){x.cancelable&&x.preventDefault();return}
vendor: 4,333 bytes, line 216
216if(!g){var w=(s.current.shards||[]).map(gy).filter(Boolean).filter(function(k){return k.contains(x.target)}),S=w.length>0?a(x,w[0]):!s.current.noIsolation;S&&x.cancelable&&x.preventDefault()}}},[]),c=v.useCallback(function(h,x,m,g){var w={name:h,delta:x,target:m,should:g,shadowParent:jL(m)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(S){return S!==w})},1)},[]),u=v.useCallback(function(h){n.current=da(h),r.current=void 0},[]),d=v.useCallback(function(h){c(h.type,my(h),h.target,a(h,e.lockRef.current))},[]),f=v.useCallback(function(h){c(h.type,da(h),h.target,a(h,e.lockRef.current))},[]);v.useEffect(function(){return ti.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,ei),document.addEventListener("touchmove",l,ei),document.addEventListener("touchstart",u,ei),function(){ti=ti.filter(function(h){return h!==o}),document.removeEventListener("wheel",l,ei),document.removeEventListener("touchmove",l,ei),document.removeEventListener("touchstart",u,ei)}},[]);var p=e.removeScrollBar,b=e.inert;return v.createElement(v.Fragment,null,b?v.createElement(o,{styles:RL(i)}):null,p?v.createElement(xL,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function jL(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const DL=aL(cb,NL);var hb=v.forwardRef(function(e,t){return v.createElement(nc,Qt({},e,{ref:t,sideCar:DL}))});hb.classNames=nc.classNames;var LL=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ni=new WeakMap,fa=new WeakMap,pa={},uu=0,mb=function(e){return e&&(e.host||mb(e.parentNode))},OL=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=mb(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},IL=function(e,t,n,r){var i=OL(t,Array.isArray(e)?e:[e]);pa[n]||(pa[n]=new WeakMap);var o=pa[n],s=[],a=new Set,l=new Set(i),c=function(d){!d||a.has(d)||(a.add(d),c(d.parentNode))};i.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(f){if(a.has(f))u(f);else try{var p=f.getAttribute(r),b=p!==null&&p!=="false",h=(ni.get(f)||0)+1,x=(o.get(f)||0)+1;ni.set(f,h),o.set(f,x),s.push(f),h===1&&b&&fa.set(f,!0),x===1&&f.setAttribute(n,"true"),b||f.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",f,m)}})};return u(t),a.clear(),uu++,function(){s.forEach(function(d){var f=ni.get(d)-1,p=o.get(d)-1;ni.set(d,f),o.set(d,p),f||(fa.has(d)||d.removeAttribute(r),fa.delete(d)),p||d.removeAttribute(n)}),uu--,uu||(ni=new WeakMap,ni=new WeakMap,fa=new WeakMap,pa={})}},FL=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=LL(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),IL(r,i,n,"aria-hidden")):function(){return null}},rc="Dialog",[gb,E4]=eo(rc),[_L,$t]=gb(rc),yb=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:s=!0}=e,a=v.useRef(null),l=v.useRef(null),[c,u]=q0({prop:r,defaultProp:i??!1,onChange:o,caller:rc});return y.jsx(_L,{scope:t,triggerRef:a,contentRef:l,contentId:Vc(),titleId:Vc(),descriptionId:Vc(),open:c,onOpenChange:u,onOpenToggle:v.useCallback(()=>u(d=>!d),[u]),modal:s,children:n})};yb.displayName=rc;var vb="DialogTrigger",VL=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=$t(vb,n),o=Qe(t,i.triggerRef);return y.jsx(we.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":_p(i.open),...r,ref:o,onClick:ue(e.onClick,i.onOpenToggle)})});VL.displayName=vb;var Ip="DialogPortal",[zL,wb]=gb(Ip,{forceMount:void 0}),xb=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=$t(Ip,t);return y.jsx(zL,{scope:t,forceMount:n,children:v.Children.map(r,s=>y.jsx(to,{present:n||o.open,children:y.jsx(Ff,{asChild:!0,container:i,children:s})}))})};xb.displayName=Ip;var xl="DialogOverlay",bb=v.forwardRef((e,t)=>{const n=wb(xl,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=$t(xl,e.__scopeDialog);return o.modal?y.jsx(to,{present:r||o.open,children:y.jsx($L,{...i,ref:t})}):null});bb.displayName=xl;var BL=ss("DialogOverlay.RemoveScroll"),$L=v.forwardRef((e,t)=>
vendor: 4,628 bytes, lines 216-220
216{const{__scopeDialog:n,...r}=e,i=$t(xl,n);return y.jsx(hb,{as:BL,allowPinchZoom:!0,shards:[i.contentRef],children:y.jsx(we.div,{"data-state":_p(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Ur="DialogContent",Sb=v.forwardRef((e,t)=>{const n=wb(Ur,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=$t(Ur,e.__scopeDialog);return y.jsx(to,{present:r||o.open,children:o.modal?y.jsx(UL,{...i,ref:t}):y.jsx(WL,{...i,ref:t})})});Sb.displayName=Ur;var UL=v.forwardRef((e,t)=>{const n=$t(Ur,e.__scopeDialog),r=v.useRef(null),i=Qe(t,n.contentRef,r);return v.useEffect(()=>{const o=r.current;if(o)return FL(o)},[]),y.jsx(kb,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ue(e.onCloseAutoFocus,o=>{var s;o.preventDefault(),(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:ue(e.onPointerDownOutside,o=>{const s=o.detail.originalEvent,a=s.button===0&&s.ctrlKey===!0;(s.button===2||a)&&o.preventDefault()}),onFocusOutside:ue(e.onFocusOutside,o=>o.preventDefault())})}),WL=v.forwardRef((e,t)=>{const n=$t(Ur,e.__scopeDialog),r=v.useRef(!1),i=v.useRef(!1);return y.jsx(kb,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var s,a;(s=e.onCloseAutoFocus)==null||s.call(e,o),o.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),o.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:o=>{var l,c;(l=e.onInteractOutside)==null||l.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const s=o.target;((c=n.triggerRef.current)==null?void 0:c.contains(s))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),kb=v.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...s}=e,a=$t(Ur,n),l=v.useRef(null),c=Qe(t,l);return XD(),y.jsxs(y.Fragment,{children:[y.jsx(ob,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:y.jsx(_l,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":_p(a.open),...s,ref:c,onDismiss:()=>a.onOpenChange(!1)})}),y.jsxs(y.Fragment,{children:[y.jsx(HL,{titleId:a.titleId}),y.jsx(KL,{contentRef:l,descriptionId:a.descriptionId})]})]})}),Fp="DialogTitle",Cb=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=$t(Fp,n);return y.jsx(we.h2,{id:i.titleId,...r,ref:t})});Cb.displayName=Fp;var Eb="DialogDescription",Tb=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=$t(Eb,n);return y.jsx(we.p,{id:i.descriptionId,...r,ref:t})});Tb.displayName=Eb;var Pb="DialogClose",Ab=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=$t(Pb,n);return y.jsx(we.button,{type:"button",...r,ref:t,onClick:ue(e.onClick,()=>i.onOpenChange(!1))})});Ab.displayName=Pb;function _p(e){return e?"open":"closed"}var Rb="DialogTitleWarning",[T4,Mb]=j2(Rb,{contentName:Ur,titleName:Fp,docsSlug:"dialog"}),HL=({titleId:e})=>{const t=Mb(Rb),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 217 218If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 219 220For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return v.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},GL="DialogDescriptionWarning",KL=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Mb(GL).contentName}}.`;return v.useEffect(()=>{var o;const i=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},qL=yb,QL=xb,Nb=bb,jb=Sb,Db=Cb,Lb=Tb,YL=Ab;const XL=qL,ZL=QL,Ob=v.forwardRef(({className:e,...t},n)=>y.jsx(Nb,{ref:n,className:xe("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ob.displayName=Nb.displayName;const Ib=v.forwardRef(({className:e,children:t,...n},r)=>y.jsxs(ZL,{children:[y.jsx(Ob,{}),y.jsxs(jb,{ref:r,className:xe("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
220nded-lg",e),...n,children:[t,y.jsxs(YL,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[y.jsx(Pi,{className:"h-4 w-4"}),y.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ib.displayName=jb.displayName;const Fb=({className:e,...t})=>y.jsx("div",{className:xe("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Fb.displayName="DialogHeader";const _b=v.forwardRef(({className:e,...t},n)=>y.jsx(Db,{ref:n,className:xe("text-lg font-semibold leading-none tracking-tight",e),...t}));_b.displayName=Db.displayName;const JL=v.forwardRef(({className:e,...t},n)=>y.jsx(Lb,{ref:n,className:xe("text-sm text-muted-foreground",e),...t}));JL.displayName=Lb.displayName;function e4({resource:e,isOpen:t,onClose:n}){const{state:r,dispatch:i}=Gr();if(!e)return null;const o=r.personalization.bookmarks.has(e.id),s=r.personalization.progress.has(e.id),a=ys.filter(f=>f.category===e.category&&f.id!==e.id&&f.type!==e.type).slice(0,3),l=()=>{i({type:"TOGGLE_BOOKMARK",payload:e.id})},c=()=>{i({type:"TOGGLE_PROGRESS",payload:e.id})},u=()=>{e.url&&window.open(e.url,"_blank")},d=()=>{switch(e.type){case"book":return y.jsx(yw,{className:"w-5 h-5"});case"newsletter":return"ð§";case"article":return"ð";case"person":return y.jsx(mi,{className:"w-5 h-5"});default:return null}};return y.jsx(XL,{open:t,onOpenChange:n,children:y.jsxs(Ib,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[y.jsxs(Fb,{className:"space-y-4",children:[y.jsxs("div",{className:"flex items-start justify-between",children:[y.jsxs("div",{className:"flex items-center space-x-3",children:[d(),y.jsx(ir,{variant:"outline",children:e.type})]}),y.jsxs("div",{className:"flex space-x-2",children:[y.jsx(de,{variant:"ghost",size:"sm",onClick:l,className:o?"text-primary":"",children:y.jsx(vw,{className:`w-4 h-4 ${o?"fill-current":""}`})}),y.jsx(de,{variant:"ghost",size:"sm",onClick:n,children:y.jsx(Pi,{className:"w-4 h-4"})})]})]}),y.jsx(_b,{className:"text-2xl font-display leading-tight",children:e.title})]}),y.jsxs("div",{className:"space-y-6",children:[y.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-sm text-muted-foreground",children:[e.author&&y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(mi,{className:"w-4 h-4"}),y.jsxs("span",{children:["by ",e.author]})]}),e.name&&e.jobTitle&&y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(mi,{className:"w-4 h-4"}),y.jsx("span",{children:e.jobTitle})]}),e.company&&y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(ww,{className:"w-4 h-4"}),y.jsx("span",{children:e.company})]}),e.readTimeMins&&y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(xw,{className:"w-4 h-4"}),y.jsxs("span",{children:[e.readTimeMins," min read"]})]}),e.subscriberCount&&y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(mi,{className:"w-4 h-4"}),y.jsxs("span",{children:[e.subscriberCount.toLocaleString()," subscribers"]}
220)]}),e.year&&y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(um,{className:"w-4 h-4"}),y.jsx("span",{children:e.year})]}),e.frequency&&y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(um,{className:"w-4 h-4"}),y.jsx("span",{children:e.frequency})]})]}),y.jsxs("div",{children:[y.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e.description}),e.bio&&e.bio!==e.description&&y.jsx("p",{className:"text-muted-foreground leading-relaxed mt-2",children:e.bio})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h4",{className:"font-semibold text-sm",children:"Topics Covered"}),y.jsx("div",{className:"flex flex-wrap gap-2",children:e.topics.map(f=>y.jsx(ir,{variant:"secondary",children:f.replace("-"," ")},f))})]}),y.jsxs("div",{className:"flex items-center justify-between pt-4 border-t",children:[y.jsxs("div",{className:"flex space-x-3",children:[e.url&&y.jsxs(de,{onClick:u,className:"btn-primary",children:[e.type==="newsletter"?"Subscribe":e.type==="person"?"View Profile":e.type==="article"?"Read Article":"View Resource",y.jsx(Aa,{className:"w-4 h-4 ml-2"})]}),e.linkedinUrl&&y.jsx(de,{variant:"outline",asChild:!0,children:y.jsxs("a",{href:e.linkedinUrl,target:"_blank",rel:"noopener noreferrer",children:["LinkedIn Profile",y.jsx(Aa,{className:"w-4 h-4 ml-2"})]})})]}),y.jsx(de,{variant:s?"default":"outline",onClick:c,className:s?"bg-green-600 hover:bg-green-700":"",children:s?"â Completed":"Mark as Done"})]}),a.length>0&&y.jsxs("div",{className:"space-y-3 pt-4 border-t",children:[y.jsx("h4",{className:"font-semibold text-sm",children:"Related Resources"}),y.jsx("div",{className:"space-y-2",children:a.map(f=>y.jsxs("div",{className:"flex items-center justify-between p-3 bg-secondary/50 rounded-lg",children:[y.jsxs("div",{className:"flex-1",children:[y.jsxs("div",{className:"flex items-center space-x-2 mb-1",children:[y.jsx(ir,{variant:"outline",className:"text-xs",children:f.type}),y.jsx("span",{className:"text-sm font-medium",children:f.title})]}),y.jsx("p",{className:"text-xs text-muted-foreground line-clamp-1",children:f.author||f.name})]}),f.url&&y.jsx(de,{variant:"ghost",size:"sm",onClick:()=>window.open(f.url,"_blank"),children:y.jsx(Aa,{className:"w-3 h-3"})})]},f.id))})]})]})]})})}function t4({resource:e,index:t}){const{state:n,dispatch:r}=Gr(),[i,o]=v.useState(!1),s=n.personalization.bookmarks.has(e.id),a=n.personalization.progress.has(e.id),l=p=>{p.stopPropagation(),r({type:"TOGGLE_BOOKMARK",payload:e.id})},c=p=>{p.stopPropagation(),r({type:"TOGGLE_PROGRESS",payload:e.id})},u=p=>{p.stopPropagation(),e.url&&window.open(e.url,"_blank")},d=()=>{o(!0)},f=()=>{switch(e.type){case"book":return y.jsx(yw,{className:"w-4 h-4"});case"newsletter":return"ð§";case"article":return"ð";case"person":return y.jsx(mi,{className:"w-4 h-4"});default:return null}};return y.jsxs(y.Fragment,{children:[y.jsx(Re.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3,delay:t*.05},children:y.jsxs(jp,{className:"card-hover h-full flex flex-col group cursor-pointer",onClick:d,children:[y.jsxs(Dp,{className:"pb-3",children:[y.jsxs("div",{className:"flex items-start justify-between",children:[y.jsxs("div",{className:"flex items-center space-x-2",children:[f(),y.jsx(ir,{variant:"outline",className:"text-xs",children:e.type})]}),y.jsxs("div",{className:"flex space-x-1",children:[y.jsx(de,{variant:"ghost",size:"sm",onClick:l,className:`opacity-0 group-hover:opacity-100 transition-opacity ${s?"text-primary":""}`,children:y.jsx(vw,{className:`w-4 h-4 ${s?"fill-current":""}`})}),y.jsx(de,{variant:"ghost",size:"sm",onClick:d,className:"opacity-0 group-hover:opacity-100 transition-opacity",children:y.jsx(NC,{className:"w-4 h-4"})}),e.url&&y.jsx(de,{variant:"ghost",size:"sm",onClick:u,className:"opacity-0 group-hover:opacity-100 transition-opacity",children:y.jsx(Aa,{className:"w-4 h-4"})})]})]}),y.jsx(Lp,{className:"text-lg leading-tight line-clamp-2",children:e.title}),y.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-sm text-muted-foreground",children:[e.author&&y.jsxs("span",{children:["by ",e.author]}),e.name&&e.jobTitle&&y.jsx("span",{children:e.jobTitle}),e.company&&y.jsxs("div",{className:"flex items-center gap-1",children:[y.jsx(ww,{className:"w-3 h-3"}),y.jsx("span",{children:e.company})]}),e.readTimeMins&&y.jsxs("div",{className:"flex items-center gap-1",children:[y.jsx(xw,{className:"w-3 h-3"}),y.jsxs("span",{children:[e.readTimeMins," min"]})]}),e.subscriberCount&&y.jsxs("div",{className:"flex items-center gap-1",children:[y.jsx(mi,{className:"w-3 h-3"}
220),y.jsx("span",{children:e.subscriberCount.toLocaleString()})]}),e.year&&y.jsx("span",{children:e.year})]})]}),y.jsxs(Op,{className:"flex-1 flex flex-col justify-between",children:[y.jsxs("div",{children:[y.jsx("p",{className:"text-sm text-muted-foreground line-clamp-3 mb-4",children:e.description}),y.jsxs("div",{className:"flex flex-wrap gap-1 mb-4",children:[e.topics.slice(0,3).map(p=>y.jsx(ir,{variant:"secondary",className:"text-xs",children:p.replace("-"," ")},p)),e.topics.length>3&&y.jsxs(ir,{variant:"secondary",className:"text-xs",children:["+",e.topics.length-3]})]})]}),y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("div",{className:"flex space-x-2",children:e.url&&y.jsx(de,{size:"sm",onClick:u,className:"btn-outline-blue",children:e.type==="newsletter"?"Subscribe":e.type==="person"?"View Profile":"Read"})}),y.jsx(de,{variant:"ghost",size:"sm",onClick:c,className:a?"text-green-600":"",children:a?"â Done":"Mark Done"})]})]})]})}),y.jsx(e4,{resource:e,isOpen:i,onClose:()=>o(!1)})]})}function n4({resources:e,category:t}){const{state:n,dispatch:r}=Gr(),i=n.pagination[t]||5,o=e.slice(0,i),s=e.length>i,a=()=>{r({type:"LOAD_MORE",payload:t})};return e.length===0?y.jsxs("div",{className:"text-center py-12",children:[y.jsx("p",{className:"text-muted-foreground",children:"No resources match your current filters."}),y.jsx(de,{variant:"outline",onClick:()=>r({type:"RESET_FILTERS"}),className:"mt-4",children:"Clear Filters"})]}):y.jsxs("div",{className:"space-y-8",children:[y.jsx("div",{className:`grid gap-6 ${n.filters.view==="grid"?"grid-cols-1 md:grid-cols-2 lg:grid-cols-3":n.filters.view==="list"?"grid-cols-1":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4"}`,children:o.map((l,c)=>y.jsx(t4,{resource:l,index:c},l.id))}),s&&y.jsx(Re.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"text-center",children:y.jsxs(de,{onClick:a,variant:"outline",size:"lg",className:"px-8",children:["Show More (",e.length-i," remaining)"]})})]})}var Vp="Progress",zp=100,[r4,P4]=eo(Vp),[i4,o4]=r4(Vp),Vb=v.forwardRef((e,t)=>{const{__scopeProgress:n,value:r=null,max:i,getValueLabel:o=s4,...s}=e;(i||i===0)&&!yy(i)&&console.error(a4(`${i}`,"Progress"));const a=yy(i)?i:zp;r!==null&&!vy(r,a)&&console.error(l4(`${r}`,"Progress"));const l=vy(r,a)?r:null,c=bl(l)?o(l,a):void 0;return y.jsx(i4,{scope:n,value:l,max:a,children:y.jsx(we.div,{"aria-valuemax":a,"aria-valuemin":0,"aria-valuenow":bl(l)?l:void 0,"aria-valuetext":c,role:"progressbar","data-state":$b(l,a),"data-value":l??void 0,"data-max":a,...s,ref:t})})});Vb.displayName=Vp;var zb="ProgressIndicator",Bb=v.forwardRef((e,t)=>{const{__scopeProgress:n,...r}=e,i=o4(zb,n);return y.jsx(we.div,{"data-state":$b(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...r,ref:t})});Bb.displayName=zb;function s4(e,t){return`${Math.round(e/t*100)}%`}function $b(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function bl(e){return typeof e=="number"}function yy(e){return bl(e)&&!isNaN(e)&&e>0}function vy(e,t){return bl(e)&&!isNaN(e)&&e<=t&&e>=0}function a4(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${zp}\`.`}function l4(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be: 221 - a positive number 222 - less than the value passed to \`max\` (or ${zp} if no \`max\` prop is set) 223 - \`null\` or \`undefined\` if the progress is indeterminate. 224 225Defaulting to \`null\`.`}var Ub=Vb,c4=Bb;const Wb=v.forwardRef(({className:e,value:t,...n},r)=>y.jsx(Ub,{ref:r,className:xe("relative h-4 w-full overflow-hidden rounded-full bg-secondary",e),...n,children:y.jsx(c4,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));Wb.displayName=Ub.displayName;function u4(){const{state:e}=Gr(),t=ys.length,n=e.personalization.progress.size,r=e.personalization.bookmarks.size,i=n/t*100,o=()=>{const a=ys.filter(f=>e.personalization.progress.has(f.id)),l={exportDate:new Date().toISOString(),totalResources:t,completedCount:n,bookmarkedCount:r,completedResources:a.map(f=>({title:f.title,author:f.author||f.name,type:f.type,category:f.category,url:f.url}))},c=new Blob([JSON.stringify(l,null,2)],{type:"application/json"}),u=URL.createObjectURL(c),d=document.createElement("a");d.href=u,d.download=`the-code-progress-${new Date().toISOString().split("T")[0]}.json`,document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(u)},s=async()=>{var l,c;const a=`ð Progress on The Code resources: 226 227â Completed: ${n}/${t} resources 228ð Bookmarked: ${r} for later 229 230Check out this amazing collection: ${window.location.origin}`;if(navigator.share)try{await navigator.share({title:"My Engineering Leadership Progress",text:a,url:window.location.origin})}catch{(l=navigator.clipboard)==null||l.writeText(a)}else(c=navigator.clipboard)==null||c.writeText(a)};return y.jsxs(jp,{className:"sticky top-20 max-w-sm",children:[y.jsx(Dp,{className:"pb-3",children:y.jsxs(Lp,{className:"flex items-center justify-between text-lg",children:["Your Progress",y.jsx(Re.div,{animate:{rotate:n>0?360:0},transition:{duration:.5},children:y.jsx(RC,{className:`w-5 h-5 ${n>0?"text-green-600":"text-muted-foreground"}`})})]})}),y.jsxs(Op,{className:"space-y-4",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsxs("div",{className:"flex justify-between text-sm",children:[y.jsx("span",{children:"Resources Explored"}),y.jsxs("span",{className:"font-medium",children:[n,"/",t]})]}),y.jsx(Wb,{value:i,className:"h-2"}),y.jsxs("p",{className:"text-xs text-muted-foreground",children:[i.toFixed(1),"% complete"]})]}),y.jsxs("div",{className:"grid grid-cols-2 gap-4 py-3 border-t border-b",children:[y.jsxs(Re.div,{whileHover:{scale:1.05},className:"text-center",children:[y.jsx("div",{className:"text-2xl font-bold text-primary",children:n}),y.jsx("div",{className:"text-xs text-muted-foreground",children:"Completed"})]}),y.jsxs(Re.div,{whileHover:{scale:1.05},className:"text-center",children:[y.jsx("div",{className:"text-2xl font-bold text-primary",children:r}),y.jsx("div",{className:"text-xs text-muted-foreground",children:"Bookmarked"})]})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsxs(de,{onClick:o,variant:"outline",size:"sm",className:"w-full justify-start",children:[y.jsx(MC,{className:"w-4 h-4 mr-2"}),"Export Progress"]}),y.jsxs(de,{onClick:s,variant:"outline",size:"sm",className:"w-full justify-start",children:[y.jsx(OC,{className:"w-4 h-4 mr-2"}),"Share Progress"]})]}),n>0&&y.jsx(Re.div,{initial:{opacity:0,y:10}
230,animate:{opacity:1,y:0},className:"p-3 bg-primary/5 rounded-lg border-l-4 border-primary",children:y.jsx("p",{className:"text-sm text-primary font-medium",children:n<10?"Great start! Keep exploring!":n<50?"You're building momentum!":n<100?"Impressive progress!":"You're becoming a true leader! ð"})})]})]})}function d4(){return y.jsx("footer",{className:"bg-secondary/30 border-t mt-24",children:y.jsxs("div",{className:"container mx-auto px-6 py-16",children:[y.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[y.jsxs("div",{className:"space-y-4",children:[y.jsx("div",{className:"font-display text-2xl font-bold",children:"THE CODE"}),y.jsxs("p",{className:"text-muted-foreground leading-relaxed max-w-md",children:["Curated by team behind The Code newsletter. Read by Engineering Leaders and AI/ML Researchers at companies like ",y.jsx("strong",{children:"Anthropic"}),", ",y.jsx("strong",{children:"OpenAI"})," and ",y.jsx("strong",{children:"Google"}),"."]})]}),y.jsxs("div",{className:"space-y-4",children:[y.jsx("h4",{className:"font-display text-lg font-semibold",children:"Subscribe to The Code"}),y.jsx("p",{className:"text-sm text-muted-foreground",children:"Subscribe to The Code to become Top 1% Engineering Leader"}),y.jsx(de,{asChild:!0,className:"w-full btn-primary",children:y.jsx("a",{href:"https://codenewsletter.ai/subscribe",target:"_blank",rel:"noopener noreferrer",children:"Subscribe Now"})})]})]}),y.jsx("div",{className:"border-t mt-12 pt-8 text-center",children:y.jsx("div",{className:"text-sm text-muted-foreground",children:"© 2026 The Code. Curated with â¤ï¸ for engineering leaders."})})]})})}function f4(){const{state:e}=Gr(),t=v.useMemo(()=>{let r=ys;return e.searchQuery&&(r=_D(e.searchQuery)),r=r.filter(i=>i.category===e.ui.activeCategory),e.filters.types.length>0&&(r=r.filter(i=>e.filters.types.includes(i.type))),r.sort((i,o)=>{switch(e.filters.sort){case"popular":return(o.popularityScore||0)-(i.popularityScore||0);case"alphabetical":return i.title.localeCompare(o.title);case"recent":default:return new Date(o.dateAdded).getTime()-new Date(i.dateAdded).getTime()}}),r},[e.searchQuery,e.ui.activeCategory,e.filters]),n=()=>{var r;(r=document.getElementById("resources"))==null||r.scrollIntoView({behavior:"smooth"})};return y.jsxs("div",{className:"min-h-screen bg-background",children:[y.jsx(ID,{onExploreClick:n}),y.jsx(VD,{}),y.jsx(BD,{}),y.jsx("main",{className:"container mx-auto px-6 py-12",children:y.jsxs("div",{className:"flex gap-8",children:[y.jsx("div",{className:"flex-1",id:"resources",children:y.jsx(n4,{resources:t,category:e.ui.activeCategory})}),y.jsx("div",{className:"hidden lg:block w-80",children:y.jsx(u4,{})})]})}),y.jsx(d4,{})]})}const p4=()=>y.jsx(QA,{children:y.jsx(f4,{})}),h4=()=>{const e=Sx();return v.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),y.jsx("div",{className:"flex min-h-screen items-center justify-center bg-gray-100",children:y.jsxs("div",{className:"text-center",children:[y.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),y.jsx("p",{className:"mb-4 text-xl text-gray-600",children:"Oops! Page not found"}),y.jsx("a",{href:"/",className:"text-blue-500 underline hover:text-blue-700",children:"Return to Home"})]})})},m4=new sA,g4=()=>y.jsx(lA,{client:m4,children:y.jsxs(IP,{children:[y.jsx(yE,{}),y.jsx(QE,{}),y.jsx(KA,{children:y.jsxs(WA,{children:[y.jsx(yd,{path:"/",element:y.jsx(p4,{})}),y.jsx(yd,{path:"*",element:y.jsx(h4,{})})]})})]})});B0(document.getElementById("root")).render(y.jsx(g4,{}));
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.