vendor: 4,135 bytes, lines 1-9
1var pf=e=>{throw TypeError(e)};var ya=(e,t,n)=>t.has(e)||pf("Cannot "+n);var b=(e,t,n)=>(ya(e,t,"read from private field"),n?n.call(e):t.get(e)),V=(e,t,n)=>t.has(e)?pf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),_=(e,t,n,r)=>(ya(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),q=(e,t,n)=>(ya(e,t,"access private method"),n);var ui=(e,t,n,r)=>({set _(s){_(e,t,s,n)},get _(){return b(e,t,r)}});function $0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const o=Object.getOwnPropertyDescriptor(r,s);o&&Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>r[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function Eh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ph={exports:{}},Fl={},kh={exports:{}},X={};/** 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 Jo=Symbol.for("react.element"),V0=Symbol.for("react.portal"),B0=Symbol.for("react.fragment"),U0=Symbol.for("react.strict_mode"),H0=Symbol.for("react.profiler"),W0=Symbol.for("react.provider"),Q0=Symbol.for("react.context"),K0=Symbol.for("react.forward_ref"),G0=Symbol.for("react.suspense"),q0=Symbol.for("react.memo"),Y0=Symbol.for("react.lazy"),hf=Symbol.iterator;function X0(e){return e===null||typeof e!="object"?null:(e=hf&&e[hf]||e["@@iterator"],typeof e=="function"?e:null)}var Th={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Rh=Object.assign,Ih={};function Vs(e,t,n){this.props=e,this.context=t,this.refs=Ih,this.updater=n||Th}Vs.prototype.isReactComponent={};Vs.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")};Vs.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ah(){}Ah.prototype=Vs.prototype;function Mu(e,t,n){this.props=e,this.context=t,this.refs=Ih,this.updater=n||Th}var Ou=Mu.prototype=new Ah;Ou.constructor=Mu;Rh(Ou,Vs.prototype);Ou.isPureReactComponent=!0;var mf=Array.isArray,Mh=Object.prototype.hasOwnProperty,_u={current:null},Oh={key:!0,ref:!0,__self:!0,__source:!0};function _h(e,t,n){var r,s={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)Mh.call(t,r)&&!Oh.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:Jo,type:e,key:o,ref:l,props:s,_owner:_u.current}}function Z0(e,t){return{$$typeof:Jo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Du(e){return typeof e=="object"&&e!==null&&e.$$typeof===Jo}function J0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var vf=/\/+/g;function xa(e,t){return typeof e=="object"&&e!==null&&e.key!=null?J0(""+e.key):t.toString(36)}
vendor: 9,183 bytes, lines 9-25
9function Di(e,t,n,r,s){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Jo:case V0:l=!0}}if(l)return l=e,s=s(l),e=r===""?"."+xa(l,0):r,mf(s)?(n="",e!=null&&(n=e.replace(vf,"$&/")+"/"),Di(s,t,n,"",function(u){return u})):s!=null&&(Du(s)&&(s=Z0(s,n+(!s.key||l&&l.key===s.key?"":(""+s.key).replace(vf,"$&/")+"/")+e)),t.push(s)),1;if(l=0,r=r===""?".":r+":",mf(e))for(var a=0;a<e.length;a++){o=e[a];var c=r+xa(o,a);l+=Di(o,t,n,c,s)}else if(c=X0(e),typeof c=="function")for(e=c.call(e),a=0;!(o=e.next()).done;)o=o.value,c=r+xa(o,a++),l+=Di(o,t,n,c,s);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 l}function di(e,t,n){if(e==null)return e;var r=[],s=0;return Di(e,r,"","",function(o){return t.call(n,o,s++)}),r}function ew(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 Xe={current:null},Fi={transition:null},tw={ReactCurrentDispatcher:Xe,ReactCurrentBatchConfig:Fi,ReactCurrentOwner:_u};function Dh(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:di,forEach:function(e,t,n){di(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return di(e,function(){t++}),t},toArray:function(e){return di(e,function(t){return t})||[]},only:function(e){if(!Du(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=Vs;X.Fragment=B0;X.Profiler=H0;X.PureComponent=Mu;X.StrictMode=U0;X.Suspense=G0;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tw;X.act=Dh;X.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=Rh({},e.props),s=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=_u.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(c in t)Mh.call(t,c)&&!Oh.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&a!==void 0?a[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){a=Array(c);for(var u=0;u<c;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Jo,type:e.type,key:s,ref:o,props:r,_owner:l}};X.createContext=function(e){return e={$$typeof:Q0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:W0,_context:e},e.Consumer=e};X.createElement=_h;X.createFactory=function(e){var t=_h.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:K0,render:e}};X.isValidElement=Du;X.lazy=function(e){return{$$typeof:Y0,_payload:{_status:-1,_result:e},_init:ew}};X.memo=function(e,t){return{$$typeof:q0,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=Fi.transition;Fi.transition={};try{e()}finally{Fi.transition=t}};X.unstable_act=Dh;X.useCallback=function(e,t){return Xe.current.useCallback(e,t)};X.useContext=function(e){return Xe.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return Xe.current.useDeferredValue(e)};X.useEffect=function(e,t){return Xe.current.useEffect(e,t)};X.useId=function(){return Xe.current.useId()};X.useImperativeHandle=function(e,t,n){return Xe.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return Xe.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return Xe.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return Xe.current.useMemo(e,t)};X.useReducer=function(e,t,n){return Xe.current.useReducer(e,t,n)};X.useRef=function(e){return Xe.current.useRef(e)};X.useState=function(e){return Xe.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return Xe.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return Xe.current.useTransition()};X.version="18.3.1";kh.exports=X;var f=kh.exports;const Ee=Eh(f),Fh=$0({__proto__:null,default:Ee},[f]);/** 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 nw=f,rw=Symbol.for("react.element"),sw=Symbol.for("react.fragment"),ow=Object.prototype.hasOwnProperty,iw=nw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,lw={key:!0,ref:!0,__self:!0,__source:!0};function Lh(e,t,n){var r,s={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)ow.call(t,r)&&!lw.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:rw,type:e,key:o,ref:l,props:s,_owner:iw.current}}Fl.Fragment=sw;Fl.jsx=Lh;Fl.jsxs=Lh;Ph.exports=Fl;var i=Ph.exports,zh={exports:{}},mt={},$h={exports:{}},Vh={};/** 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(k,A){var z=k.length;k.push(A);e:for(;0<z;){var W=z-1>>>1,oe=k[W];if(0<s(oe,A))k[W]=A,k[z]=oe,z=W;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var A=k[0],z=k.pop();if(z!==A){k[0]=z;e:for(var W=0,oe=k.length,We=oe>>>1;W<We;){var ke=2*(W+1)-1,zt=k[ke],Qe=ke+1,B=k[Qe];if(0>s(zt,z))Qe<oe&&0>s(B,zt)?(k[W]=B,k[Qe]=z,W=Qe):(k[W]=zt,k[ke]=z,W=ke);else if(Qe<oe&&0>s(B,z))k[W]=B,k[Qe]=z,W=Qe;else break e}}return A}function s(k,A){var z=k.sortIndex-A.sortIndex;return z!==0?z:k.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var c=[],u=[],h=1,d=null,p=3,x=!1,S=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(k){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=k)r(u),A.sortIndex=A.expirationTime,t(c,A);else break;A=n(u)}}function j(k){if(v=!1,y(k),!S)if(n(c)!==null)S=!0,L(E);else{var A=n(u);A!==null&&K(j,A.startTime-k)}}function E(k,A){S=!1,v&&(v=!1,g(P),P=-1),x=!0;var z=p;try{for(y(A),d=n(c);d!==null&&(!(d.expirationTime>A)||k&&!D());){var W=d.callback;if(typeof W=="function"){d.callback=null,p=d.priorityLevel;var oe=W(d.expirationTime<=A);A=e.unstable_now(),typeof oe=="function"?d.callback=oe:d===n(c)&&r(c),y(A)}else r(c);d=n(c)}if(d!==null)var We=!0;else{var ke=n(u);ke!==null&&K(j,ke.startTime-A),We=!1}return We}finally{d=null,p=z,x=!1}}var C=!1,N=null,P=-1,T=5,I=-1;function D(){return!(e.unstable_now()-I<T)}function O(){if(N!==null){var k=e.unstable_now();I=k;var A=!0;try{A=N(!0,k)}finally{A?H():(C=!1,N=null)}}else C=!1}var H;if(typeof m=="function")H=function(){m(O)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,Q=M.port2;M.port1.onmessage=O,H=function(){Q.postMessage(null)}}else H=function(){w(O,0)};function L(k){N=k,C||(C=!0,H())}function K(k,A){P=w(function(){k(e.unstable_now())},A)}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(k){k.callback=null},e.unstable_continueExecution=function(){S||x||(S=!0,L(E))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(k){switch(p){case 1:case 2:case 3:var A=3;break;default:A=p}var z=p;p=A;try{return k()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,A){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var z=p;p=k;try{return A()}finally{p=z}},e.unstable_scheduleCallback=function(k,A,z){var W=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?W+z:W):z=W,k){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=z+oe,k={id:h++,callback:A,priorityLevel:k,startTime:z,expirationTime:oe,sortIndex:-1},z>W?(k.sortIndex=z,t(u,k),n(c)===null&&k===n(u)&&(v?(g(P),P=-1):v=!0,K(j,z-W))):(k.sortIndex=oe,t(c,k
vendor: 4,421 bytes, lines 25-33
25),S||x||(S=!0,L(E))),k},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(k){var A=p;return function(){var z=p;p=A;try{return k.apply(this,arguments)}finally{p=z}}}})(Vh);$h.exports=Vh;var aw=$h.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 cw=f,ht=aw;function R(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 Bh=new Set,To={};function zr(e,t){Rs(e,t),Rs(e+"Capture",t)}function Rs(e,t){for(To[e]=t,e=0;e<t.length;e++)Bh.add(t[e])}var yn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lc=Object.prototype.hasOwnProperty,uw=/^[: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]*$/,gf={},yf={};function dw(e){return lc.call(yf,e)?!0:lc.call(gf,e)?!1:uw.test(e)?yf[e]=!0:(gf[e]=!0,!1)}function fw(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 pw(e,t,n,r){if(t===null||typeof t>"u"||fw(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 Ze(e,t,n,r,s,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new Ze(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new Ze(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new Ze(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new Ze(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){De[e]=new Ze(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new Ze(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new Ze(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new Ze(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new Ze(e,5,!1,e.toLowerCase(),null,!1,!1)});var Fu=/[\-:]([a-z])/g;function Lu(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
33-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(Fu,Lu);De[t]=new Ze(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(Fu,Lu);De[t]=new Ze(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(Fu,Lu);De[t]=new Ze(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new Ze(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new Ze("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new Ze(e,1,!1,e.toLowerCase(),null,!0,!0)});function zu(e,t,n,r){var s=De.hasOwnProperty(t)?De[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(pw(t,n,s,r)&&(n=null),r||s===null?dw(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Nn=cw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fi=Symbol.for("react.element"),Gr=Symbol.for("react.portal"),qr=Symbol.for("react.fragment"),$u=Symbol.for("react.strict_mode"),ac=Symbol.for("react.profiler"),Uh=Symbol.for("react.provider"),Hh=Symbol.for("react.context"),Vu=Symbol.for("react.forward_ref"),cc=Symbol.for("react.suspense"),uc=Symbol.for("react.suspense_list"),Bu=Symbol.for("react.memo"),An=Symbol.for("react.lazy"),Wh=Symbol.for("react.offscreen"),xf=Symbol.iterator;function Zs(e){return e===null||typeof e!="object"?null:(e=xf&&e[xf]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Object.assign,wa;function co(e){if(wa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);wa=t&&t[1]||""}return` 34`+wa+e}var Sa=!1;function ja(e,t){if(!e||Sa)return"";Sa=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(` 35`),o=r.stack.split(` 36`),l=s.length-1,a=o.length-1;1<=l&&0<=a&&s[l]!==o[a];)a--;for(;1<=l&&0<=a;l--,a--)if(s[l]!==o[a]){if(l!==1||a!==1)do if(l--,a--,0>a||s[l]!==o[a]){var c=` 37`+s[l].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=l&&0<=a);break}}}finally{Sa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?co(e):""}function hw(e){switch(e.tag){case 5:return co(e.type);case 16:return co("Lazy");case 13:return co("Suspense");case 19:return co("SuspenseList");case 0:case 2:case 15:return e=ja(e.type,!1),e;case 11:return e=ja(e.type.render,!1),e;case 1:return e=ja(e.type,!0),e;default:return""}}function dc(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 qr:return"Fragment";case Gr:return"Portal";case ac:return"Profiler";case $u:return"StrictMode";case cc:return"Suspense";case uc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Hh:return(e.displayName||"Context")+".Consumer";case Uh:return(e._context.displayName||"Context")+".Provider";case Vu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Bu:return t=e.displayName||null,t!==null?t:dc(e.type)||"Memo";case An:t=e._payload,e=e._init;try{return dc(e(t))}catch{}}return null}function mw(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 dc(t);case 8:return t===$u?"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 tr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Qh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vw(e){var t=Qh(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 s=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pi(e){e._valueTracker||(e._valueTracker=vw(e))}function Kh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Qh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function el(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 fc(e,t){var n=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tr(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 Gh(e,t){t=t.checked,t!=null&&zu(e,"checked",t,!1)}function pc(e,t){Gh(e,t);var n=tr(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")?hc(e,t.type,n):t.hasOwnProperty("defaultValue")&&hc(e,t.type,tr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Sf(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 hc(e,t,n){(t!=="number"||el(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var uo=Array.isArray;function is(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+tr(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function mc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(R(91));return Se({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function jf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(R(92));if(uo(n)){if(1<n.length)throw Error(R(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:tr(n)}}function qh(e,t){var n=tr(t.value),r=tr(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 Cf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Yh(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 vc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Yh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var hi,Xh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(hi=hi||document.createElement("div"),hi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=hi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ro(e,t){if(t){var n=e.firstChild;
vendor: 8,942 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var xo={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},gw=["Webkit","ms","Moz","O"];Object.keys(xo).forEach(function(e){gw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xo[t]=xo[e]})});function Zh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||xo.hasOwnProperty(e)&&xo[e]?(""+t).trim():t+"px"}function Jh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=Zh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var yw=Se({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 gc(e,t){if(t){if(yw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function yc(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 xc=null;function Uu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wc=null,ls=null,as=null;function bf(e){if(e=ni(e)){if(typeof wc!="function")throw Error(R(280));var t=e.stateNode;t&&(t=Bl(t),wc(e.stateNode,e.type,t))}}function em(e){ls?as?as.push(e):as=[e]:ls=e}function tm(){if(ls){var e=ls,t=as;if(as=ls=null,bf(e),t)for(e=0;e<t.length;e++)bf(t[e])}}function nm(e,t){return e(t)}function rm(){}var Ca=!1;function sm(e,t,n){if(Ca)return e(t,n);Ca=!0;try{return nm(e,t,n)}finally{Ca=!1,(ls!==null||as!==null)&&(rm(),tm())}}function Io(e,t){var n=e.stateNode;if(n===null)return null;var r=Bl(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(R(231,t,typeof n));return n}var Sc=!1;if(yn)try{var Js={};Object.defineProperty(Js,"passive",{get:function(){Sc=!0}}),window.addEventListener("test",Js,Js),window.removeEventListener("test",Js,Js)}catch{Sc=!1}function xw(e,t,n,r,s,o,l,a,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(h){this.onError(h)}}var wo=!1,tl=null,nl=!1,jc=null,ww={onError:function(e){wo=!0,tl=e}};function Sw(e,t,n,r,s,o,l,a,c){wo=!1,tl=null,xw.apply(ww,arguments)}function jw(e,t,n,r,s,o,l,a,c){if(Sw.apply(this,arguments),wo){if(wo){var u=tl;wo=!1,tl=null}else throw Error(R(198));nl||(nl=!0,jc=u)}}function $r(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 om(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 Nf(e){if($r(e)!==e)throw Error(R(188))}function Cw(e){var t=e.alternate;if(!t){if(t=$r(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var o=s.alternate;if(o===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===n)return Nf(s),e;if(o===r)return Nf(s),t;o=o.sibling}throw Error(R(188))}if(n.return!==r.return)n=s,r=o;else{for(var l=!1,a=s.child;a;){if(a===n){l=!0,n=s,r=o;break}if(a===r){l=!0,r=s,n=o;break}a=a.sibling}if(!l){for(a=o.child;a;){if(a===n){l=!0,n=o,r=s;break}if(a===r){l=!0,r=o,n=s;break}a=a.sibling}if(!l)throw Error(R(189))}}if(n.alternate!==r)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function im(e){return e=Cw(e),e!==null?lm(e):null}function lm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=lm(e);if(t!==null)return t;e=e.sibling}return null}var am=ht.unstable_scheduleCallback,Ef=ht.unstable_cancelCallback,bw=ht.unstable_shouldYield,Nw=ht.unstable_requestPaint,be=ht.unstable_now,Ew=ht.unstable_getCurrentPriorityLevel,Hu=ht.unstable_ImmediatePriority,cm=ht.unstable_UserBlockingPriority,rl=ht.unstable_NormalPriority,Pw=ht.unstable_LowPriority,um=ht.unstable_IdlePriority,Ll=null,Zt=null;function kw(e){if(Zt&&typeof Zt.onCommitFiberRoot=="function")try{Zt.onCommitFiberRoot(Ll,e,void 0,(e.current.flags&128)===128)}catch{}}var Mt=Math.clz32?Math.clz32:Iw,Tw=Math.log,Rw=Math.LN2;function Iw(e){return e>>>=0,e===0?32:31-(Tw(e)/Rw|0)|0}var mi=64,vi=4194304;function fo(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 sl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~s;a!==0?r=fo(a):(o&=l,o!==0&&(r=fo(o)))}else l=n&~s,l!==0?r=fo(l):o!==0&&(r=fo(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,o=t&-t,s>=o||s===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-Mt(t),s=1<<n,r|=e[n],t&=~s;return r}function Aw(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 Mw(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-Mt(o),a=1<<l,c=s[l];c===-1?(!(a&n)||a&r)&&(s[l]=Aw(a,t)):c<=t&&(e.expiredLanes|=a),o&=~a}}function Cc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function dm(){var e=mi;return mi<<=1,!(mi&4194240)&&(mi=64),e}function ba(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ei(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Mt(t),e[t]=n}function Ow(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 s=31-Mt(n),o=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~o}}function Wu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Mt(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var se=0;function fm(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var pm,Qu,hm,mm,vm,bc=!1,gi=[],Kn=null,Gn=null,qn=null,Ao=new Map,Mo=new Map,On=[],_w="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 Pf(e,t){switch(e){case"focusin":case"focusout":Kn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":qn=null;break;case"pointerover":case"pointerout":Ao.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mo.delete(t.pointerId)}}function eo(e,t,n,r,s,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[s]},t!==null&&(t=ni(t),t!==null&&Qu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function Dw(e,t,n,r,s){switch(t){case"focusin":return Kn=eo(Kn,e,t,n,r,s),!0;
vendor: 12,904 bytes, line 37
37case"dragenter":return Gn=eo(Gn,e,t,n,r,s),!0;case"mouseover":return qn=eo(qn,e,t,n,r,s),!0;case"pointerover":var o=s.pointerId;return Ao.set(o,eo(Ao.get(o)||null,e,t,n,r,s)),!0;case"gotpointercapture":return o=s.pointerId,Mo.set(o,eo(Mo.get(o)||null,e,t,n,r,s)),!0}return!1}function gm(e){var t=mr(e.target);if(t!==null){var n=$r(t);if(n!==null){if(t=n.tag,t===13){if(t=om(n),t!==null){e.blockedOn=t,vm(e.priority,function(){hm(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 Li(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Nc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);xc=r,n.target.dispatchEvent(r),xc=null}else return t=ni(n),t!==null&&Qu(t),e.blockedOn=n,!1;t.shift()}return!0}function kf(e,t,n){Li(e)&&n.delete(t)}function Fw(){bc=!1,Kn!==null&&Li(Kn)&&(Kn=null),Gn!==null&&Li(Gn)&&(Gn=null),qn!==null&&Li(qn)&&(qn=null),Ao.forEach(kf),Mo.forEach(kf)}function to(e,t){e.blockedOn===t&&(e.blockedOn=null,bc||(bc=!0,ht.unstable_scheduleCallback(ht.unstable_NormalPriority,Fw)))}function Oo(e){function t(s){return to(s,e)}if(0<gi.length){to(gi[0],e);for(var n=1;n<gi.length;n++){var r=gi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Kn!==null&&to(Kn,e),Gn!==null&&to(Gn,e),qn!==null&&to(qn,e),Ao.forEach(t),Mo.forEach(t),n=0;n<On.length;n++)r=On[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<On.length&&(n=On[0],n.blockedOn===null);)gm(n),n.blockedOn===null&&On.shift()}var cs=Nn.ReactCurrentBatchConfig,ol=!0;function Lw(e,t,n,r){var s=se,o=cs.transition;cs.transition=null;try{se=1,Ku(e,t,n,r)}finally{se=s,cs.transition=o}}function zw(e,t,n,r){var s=se,o=cs.transition;cs.transition=null;try{se=4,Ku(e,t,n,r)}finally{se=s,cs.transition=o}}function Ku(e,t,n,r){if(ol){var s=Nc(e,t,n,r);if(s===null)Oa(e,t,r,il,n),Pf(e,r);else if(Dw(s,e,t,n,r))r.stopPropagation();else if(Pf(e,r),t&4&&-1<_w.indexOf(e)){for(;s!==null;){var o=ni(s);if(o!==null&&pm(o),o=Nc(e,t,n,r),o===null&&Oa(e,t,r,il,n),o===s)break;s=o}s!==null&&r.stopPropagation()}else Oa(e,t,r,null,n)}}var il=null;function Nc(e,t,n,r){if(il=null,e=Uu(r),e=mr(e),e!==null)if(t=$r(e),t===null)e=null;else if(n=t.tag,n===13){if(e=om(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 il=e,null}function ym(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(Ew()){case Hu:return 1;case cm:return 4;case rl:case Pw:return 16;case um:return 536870912;default:return 16}default:return 16}}var Wn=null,Gu=null,zi=null;function xm(){if(zi)return zi;var e,t=Gu,n=t.length,r,s="value"in Wn?Wn.value:Wn.textContent,o=s.length;for(e=0;e<n&&t[e]===s[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===s[o-r];r++);return zi=s.slice(e,1<r?1-r:void 0)}function $i(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 yi(){return!0}function Tf(){return!1}function vt(e){function t(n,r,s,o,l){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=o,this.target=l,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)?yi:Tf,this.isPropagationStopped=Tf,this}return Se(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=yi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=yi)},persist:function(){},isPersistent:yi}),t}var Bs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qu=vt(Bs),ti=Se({},Bs,{view:0,detail:0}),$w=vt(ti),Na,Ea,no,zl=Se({},ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yu,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!==no&&(no&&e.type==="mousemove"?(Na=e.screenX-no.screenX,Ea=e.screenY-no.screenY):Ea=Na=0,no=e),Na)},movementY:function(e){return"movementY"in e?e.movementY:Ea}}),Rf=vt(zl),Vw=Se({},zl,{dataTransfer:0}),Bw=vt(Vw),Uw=Se({},ti,{relatedTarget:0}),Pa=vt(Uw),Hw=Se({},Bs,{animationName:0,elapsedTime:0,pseudoElement:0}),Ww=vt(Hw),Qw=Se({},Bs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Kw=vt(Qw),Gw=Se({},Bs,{data:0}),If=vt(Gw),qw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Yw={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"},Xw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Xw[e])?!!t[e]:!1}function Yu(){return Zw}var Jw=Se({},ti,{key:function(e){if(e.key){var t=qw[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=$i(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Yw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yu,charCode:function(e){return e.type==="keypress"?$i(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?$i(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),e1=vt(Jw),t1=Se({},zl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Af=vt(t1),n1=Se({},ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yu}),r1=vt(n1),s1=Se({},Bs,{propertyName:0,elapsedTime:0,pseudoElement:0}),o1=vt(s1),i1=Se({},zl,{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}),l1=vt(i1),a1=[9,13,27,32],Xu=yn&&"CompositionEvent"in window,So=null;yn&&"documentMode"in document&&(So=document.documentMode);var c1=yn&&"TextEvent"in window&&!So,wm=yn&&(!Xu||So&&8<So&&11>=So),Mf=" ",Of=!1;function Sm(e,t){switch(e){case"keyup":return a1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yr=!1;function u1(e,t){switch(e){case"compositionend":return jm(t);case"keypress":return t.which!==32?null:(Of=!0,Mf);case"textInput":return e=t.data,e===Mf&&Of?null:e;default:return null}}function d1(e,t){if(Yr)return e==="compositionend"||!Xu&&Sm(e,t)?(e=xm(),zi=Gu=Wn=null,Yr=!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 wm&&t.locale!=="ko"?null:t.data;default:return null}}var f1={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 _f(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!f1[e.type]:t==="textarea"}function Cm(e,t,n,r){em(r),t=ll(t,"onChange"),0<t.length&&(n=new qu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var jo=null,_o=null;function p1(e){Om(e,0)}function $l(e){var t=Jr(e);if(Kh(t))return e}function h1(e,t){if(e==="change")return t}var bm=!1;if(yn){var ka;if(yn){var Ta="oninput"in document;if(!Ta){var Df=document.createElement("div");Df.setAttribute("oninput","return;"),Ta=typeof Df.oninput=="function"}ka=Ta}else ka=!1;bm=ka&&(!document.documentMode||9<document.documentMode)}function Ff(){jo&&(jo.detachEvent("onpropertychange",Nm),_o=jo=null)}function Nm(e){if(e.propertyName==="value"&&$l(_o)){var t=[];Cm(t,_o,e,Uu(e)),sm(p1,t)}}function m1(e,t,n){e==="focusin"?(Ff(),jo=t,_o=n,jo.attachEvent("onpropertychange",Nm)):e==="focusout"&&Ff()}function v1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $l(_o)}function g1(e,t){if(e==="click")return $l(t)}function y1(e,t){if(e==="input"||e==="change")return $l(t)}function x1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:x1;function Do(e,t){if(_t(e,t))return!0;if(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 s=n[r];if(!lc.call(t,s)||!_t(e[s],t[s]))return!1}return!0}function Lf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zf(e,t){var n=Lf(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=Lf(n)}}function Em(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Em(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Pm(){for(var e=window,t=el();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=el(e.document)}return t}function Zu(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 w1(e){var t=Pm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Em(n.ownerDocument.documentElement,n)){if(r!==null&&Zu(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 s=n.textContent.length,o=Math.min(r.start,s);r=r.end===void 0?o:Math.min(r.end,s),!e.extend&&o>r&&(s=r,r=o,o=s),s=zf(n,o);var l=zf(n,r);s&&l&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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 S1=yn&&"documentMode"in document&&11>=document.documentMode,Xr=null,Ec=null,Co=null,Pc=!1;function $f(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pc||Xr==null||Xr!==el(r)||(r=Xr,"selectionStart"in r&&Zu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,352 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Co&&Do(Co,r)||(Co=r,r=ll(Ec,"onSelect"),0<r.length&&(t=new qu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Xr)))}function xi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Zr={animationend:xi("Animation","AnimationEnd"),animationiteration:xi("Animation","AnimationIteration"),animationstart:xi("Animation","AnimationStart"),transitionend:xi("Transition","TransitionEnd")},Ra={},km={};yn&&(km=document.createElement("div").style,"AnimationEvent"in window||(delete Zr.animationend.animation,delete Zr.animationiteration.animation,delete Zr.animationstart.animation),"TransitionEvent"in window||delete Zr.transitionend.transition);function Vl(e){if(Ra[e])return Ra[e];if(!Zr[e])return e;var t=Zr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in km)return Ra[e]=t[n];return e}var Tm=Vl("animationend"),Rm=Vl("animationiteration"),Im=Vl("animationstart"),Am=Vl("transitionend"),Mm=new Map,Vf="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 ir(e,t){Mm.set(e,t),zr(t,[e])}for(var Ia=0;Ia<Vf.length;Ia++){var Aa=Vf[Ia],j1=Aa.toLowerCase(),C1=Aa[0].toUpperCase()+Aa.slice(1);ir(j1,"on"+C1)}ir(Tm,"onAnimationEnd");ir(Rm,"onAnimationIteration");ir(Im,"onAnimationStart");ir("dblclick","onDoubleClick");ir("focusin","onFocus");ir("focusout","onBlur");ir(Am,"onTransitionEnd");Rs("onMouseEnter",["mouseout","mouseover"]);Rs("onMouseLeave",["mouseout","mouseover"]);Rs("onPointerEnter",["pointerout","pointerover"]);Rs("onPointerLeave",["pointerout","pointerover"]);zr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));zr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));zr("onBeforeInput",["compositionend","keypress","textInput","paste"]);zr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));zr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));zr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var po="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(" "),b1=new Set("cancel close invalid load scroll toggle".split(" ").concat(po));function Bf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,jw(r,t,void 0,e),e.currentTarget=null}function Om(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var a=r[l],c=a.instance,u=a.currentTarget;if(a=a.listener,c!==o&&s.isPropagationStopped())break e;Bf(s,a,u),o=c}else for(l=0;l<r.length;l++){if(a=r[l],c=a.instance,u=a.currentTarget,a=a.listener,c!==o&&s.isPropagationStopped())break e;Bf(s,a,u),o=c}}}if(nl)throw e=jc,nl=!1,jc=null,e}function pe(e,t){var n=t[Ac];n===void 0&&(n=t[Ac]=new Set);var r=e+"__bubble";n.has(r)||(_m(t,e,2,!1),n.add(r))}function Ma(e,t,n){var r=0;t&&(r|=4),_m(n,e,r,t)}var wi="_reactListening"+Math.random().toString(36).slice(2);function Fo(e){if(!e[wi]){e[wi]=!0,Bh.forEach(function(n){n!=="selectionchange"&&(b1.has(n)||Ma(n,!1,e),Ma(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[wi]||(t[wi]=!0,Ma("selectionchange",!1,t))}}function _m(e,t,n,r){switch(ym(t)){case 1:var s=Lw;break;case 4:s=zw;break;default:s=Ku}n=s.bind(null,t,n,e),s=void 0,!Sc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}
vendor: 4,098 bytes, line 37
37function Oa(e,t,n,r,s){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var a=r.stateNode.containerInfo;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(l===4)for(l=r.return;l!==null;){var c=l.tag;if((c===3||c===4)&&(c=l.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;l=l.return}for(;a!==null;){if(l=mr(a),l===null)return;if(c=l.tag,c===5||c===6){r=o=l;continue e}a=a.parentNode}}r=r.return}sm(function(){var u=o,h=Uu(n),d=[];e:{var p=Mm.get(e);if(p!==void 0){var x=qu,S=e;switch(e){case"keypress":if($i(n)===0)break e;case"keydown":case"keyup":x=e1;break;case"focusin":S="focus",x=Pa;break;case"focusout":S="blur",x=Pa;break;case"beforeblur":case"afterblur":x=Pa;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":x=Rf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=Bw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=r1;break;case Tm:case Rm:case Im:x=Ww;break;case Am:x=o1;break;case"scroll":x=$w;break;case"wheel":x=l1;break;case"copy":case"cut":case"paste":x=Kw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=Af}var v=(t&4)!==0,w=!v&&e==="scroll",g=v?p!==null?p+"Capture":null:p;v=[];for(var m=u,y;m!==null;){y=m;var j=y.stateNode;if(y.tag===5&&j!==null&&(y=j,g!==null&&(j=Io(m,g),j!=null&&v.push(Lo(m,j,y)))),w)break;m=m.return}0<v.length&&(p=new x(p,S,null,n,h),d.push({event:p,listeners:v}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",p&&n!==xc&&(S=n.relatedTarget||n.fromElement)&&(mr(S)||S[xn]))break e;if((x||p)&&(p=h.window===h?h:(p=h.ownerDocument)?p.defaultView||p.parentWindow:window,x?(S=n.relatedTarget||n.toElement,x=u,S=S?mr(S):null,S!==null&&(w=$r(S),S!==w||S.tag!==5&&S.tag!==6)&&(S=null)):(x=null,S=u),x!==S)){if(v=Rf,j="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(v=Af,j="onPointerLeave",g="onPointerEnter",m="pointer"),w=x==null?p:Jr(x),y=S==null?p:Jr(S),p=new v(j,m+"leave",x,n,h),p.target=w,p.relatedTarget=y,j=null,mr(h)===u&&(v=new v(g,m+"enter",S,n,h),v.target=y,v.relatedTarget=w,j=v),w=j,x&&S)t:{for(v=x,g=S,m=0,y=v;y;y=Br(y))m++;for(y=0,j=g;j;j=Br(j))y++;for(;0<m-y;)v=Br(v),m--;for(;0<y-m;)g=Br(g),y--;for(;m--;){if(v===g||g!==null&&v===g.alternate)break t;v=Br(v),g=Br(g)}v=null}else v=null;x!==null&&Uf(d,p,x,v,!1),S!==null&&w!==null&&Uf(d,w,S,v,!0)}}e:{if(p=u?Jr(u):window,x=p.nodeName&&p.nodeName.toLowerCase(),x==="select"||x==="input"&&p.type==="file")var E=h1;else if(_f(p))if(bm)E=y1;else{E=v1;var C=m1}else(x=p.nodeName)&&x.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(E=g1);if(E&&(E=E(e,u))){Cm(d,E,n,h);break e}C&&C(e,p,u),e==="focusout"&&(C=p._wrapperState)&&C.controlled&&p.type==="number"&&hc(p,"number",p.value)}switch(C=u?Jr(u):window,e){case"focusin":(_f(C)||C.contentEditable==="true")&&(Xr=C,Ec=u,Co=null);break;case"focusout":Co=Ec=Xr=null;break;case"mousedown":Pc=!0;break;case"contextmenu":case"mouseup":case"dragend":Pc=!1,$f(d,n,h);break;case"selectionchange":if(S1)break;case"keydown":case"keyup":$f(d,n,h)}var N;if(Xu)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Yr?Sm(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(wm&&n.locale!=="ko"&&(Yr||P!=="onCompositionStart"?P==="onCompositionEnd"&&Yr&&(N=xm()):(Wn=h,Gu="value"in Wn?Wn.value:Wn.textContent,Yr=!0)),C=ll(u,P),0<C.length&&(P=new If(P,e,null,n,h),d.push({event:P,listeners:C}),N?P.data=N:(N=jm(n),N!==null&&(P.data=N)))),(N=c1?u1(e,n):d1(e,n))&&(u=ll(u,"onBeforeInput"),0<u.length&&(h=new If("onBeforeInput","beforeinput",null,n,h),d.push({event:h,listeners:u}),h.data=N))}Om(d,t)}
vendor: 4,259 bytes, lines 37-38
37)}function Lo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ll(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,o=s.stateNode;s.tag===5&&o!==null&&(s=o,o=Io(e,n),o!=null&&r.unshift(Lo(e,o,s)),o=Io(e,t),o!=null&&r.push(Lo(e,o,s))),e=e.return}return r}function Br(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Uf(e,t,n,r,s){for(var o=t._reactName,l=[];n!==null&&n!==r;){var a=n,c=a.alternate,u=a.stateNode;if(c!==null&&c===r)break;a.tag===5&&u!==null&&(a=u,s?(c=Io(n,o),c!=null&&l.unshift(Lo(n,c,a))):s||(c=Io(n,o),c!=null&&l.push(Lo(n,c,a)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var N1=/\r\n?/g,E1=/\u0000|\uFFFD/g;function Hf(e){return(typeof e=="string"?e:""+e).replace(N1,` 38`).replace(E1,"")}function Si(e,t,n){if(t=Hf(t),Hf(e)!==t&&n)throw Error(R(425))}function al(){}var kc=null,Tc=null;function Rc(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 Ic=typeof setTimeout=="function"?setTimeout:void 0,P1=typeof clearTimeout=="function"?clearTimeout:void 0,Wf=typeof Promise=="function"?Promise:void 0,k1=typeof queueMicrotask=="function"?queueMicrotask:typeof Wf<"u"?function(e){return Wf.resolve(null).then(e).catch(T1)}:Ic;function T1(e){setTimeout(function(){throw e})}function _a(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),Oo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Oo(t)}function Yn(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 Qf(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 Us=Math.random().toString(36).slice(2),Gt="__reactFiber$"+Us,zo="__reactProps$"+Us,xn="__reactContainer$"+Us,Ac="__reactEvents$"+Us,R1="__reactListeners$"+Us,I1="__reactHandles$"+Us;function mr(e){var t=e[Gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[xn]||n[Gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Qf(e);e!==null;){if(n=e[Gt])return n;e=Qf(e)}return t}e=n,n=e.parentNode}return null}function ni(e){return e=e[Gt]||e[xn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Jr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function Bl(e){return e[zo]||null}var Mc=[],es=-1;function lr(e){return{current:e}}function he(e){0>es||(e.current=Mc[es],Mc[es]=null,es--)}function ue(e,t){es++,Mc[es]=e.current,e.current=t}var nr={},He=lr(nr),rt=lr(!1),kr=nr;function Is(e,t){var n=e.type.contextTypes;if(!n)return nr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},o;for(o in n)s[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function st(e){return e=e.childContextTypes,e!=null}function cl(){he(rt),he(He)}function Kf(e,t,n){if(He.current!==nr)throw Error(R(168));ue(He,t),ue(rt,n)}function Dm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(R(108,mw(e)||"Unknown",s));return Se({},n,r)}function ul(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nr,kr=He.current,ue(He,e),ue(rt,rt.current),!0}function Gf(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=Dm(e,t,kr),r.__reactInternalMemoizedMergedChildContext=e,he(rt),he(He),ue(He,e)):he(rt),ue(rt,n)}var cn=null,Ul=!1,Da=!1;function Fm(e){cn===null?cn=[e]:cn.push(e)}function A1(e){Ul=!0,Fm(e)}function ar(){if(!Da&&cn!==null){Da=!0;var e=0,t=se;try{var n=cn;for(se=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}cn=null,Ul=!1}catch(s){throw cn!==null&&(cn=cn.slice(e+1)),am(Hu,ar),s}finally{se=t,Da=!1}}return null}var ts=[],ns=0,dl=null,fl=0,xt=[],wt=0,Tr=null,hn=1,mn="";function fr(e,t){ts[ns++]=fl,ts[ns++]=dl,dl=e,fl=t}
vendor: 25,296 bytes, lines 38-40
38function Lm(e,t,n){xt[wt++]=hn,xt[wt++]=mn,xt[wt++]=Tr,Tr=e;var r=hn;e=mn;var s=32-Mt(r)-1;r&=~(1<<s),n+=1;var o=32-Mt(t)+s;if(30<o){var l=s-s%5;o=(r&(1<<l)-1).toString(32),r>>=l,s-=l,hn=1<<32-Mt(t)+s|n<<s|r,mn=o+e}else hn=1<<o|n<<s|r,mn=e}function Ju(e){e.return!==null&&(fr(e,1),Lm(e,1,0))}function ed(e){for(;e===dl;)dl=ts[--ns],ts[ns]=null,fl=ts[--ns],ts[ns]=null;for(;e===Tr;)Tr=xt[--wt],xt[wt]=null,mn=xt[--wt],xt[wt]=null,hn=xt[--wt],xt[wt]=null}var ft=null,dt=null,ve=!1,It=null;function zm(e,t){var n=jt(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 qf(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,ft=e,dt=Yn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ft=e,dt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Tr!==null?{id:hn,overflow:mn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=jt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ft=e,dt=null,!0):!1;default:return!1}}function Oc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function _c(e){if(ve){var t=dt;if(t){var n=t;if(!qf(e,t)){if(Oc(e))throw Error(R(418));t=Yn(n.nextSibling);var r=ft;t&&qf(e,t)?zm(r,n):(e.flags=e.flags&-4097|2,ve=!1,ft=e)}}else{if(Oc(e))throw Error(R(418));e.flags=e.flags&-4097|2,ve=!1,ft=e}}}function Yf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ft=e}function ji(e){if(e!==ft)return!1;if(!ve)return Yf(e),ve=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Rc(e.type,e.memoizedProps)),t&&(t=dt)){if(Oc(e))throw $m(),Error(R(418));for(;t;)zm(e,t),t=Yn(t.nextSibling)}if(Yf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){dt=Yn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}dt=null}}else dt=ft?Yn(e.stateNode.nextSibling):null;return!0}function $m(){for(var e=dt;e;)e=Yn(e.nextSibling)}function As(){dt=ft=null,ve=!1}function td(e){It===null?It=[e]:It.push(e)}var M1=Nn.ReactCurrentBatchConfig;function ro(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(R(309));var r=n.stateNode}if(!r)throw Error(R(147,e));var s=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(l){var a=s.refs;l===null?delete a[o]:a[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(R(284));if(!n._owner)throw Error(R(290,e))}return e}function Ci(e,t){throw e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xf(e){var t=e._init;return t(e._payload)}function Vm(e){function t(g,m){if(e){var y=g.deletions;y===null?(g.deletions=[m],g.flags|=16):y.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function s(g,m){return g=er(g,m),g.index=0,g.sibling=null,g}function o(g,m,y){return g.index=y,e?(y=g.alternate,y!==null?(y=y.index,y<m?(g.flags|=2,m):y):(g.flags|=2,m)):(g.flags|=1048576,m)}function l(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,m,y,j){return m===null||m.tag!==6?(m=Ua(y,g.mode,j),m.return=g,m):(m=s(m,y),m.return=g,m)}function c(g,m,y,j){var E=y.type;return E===qr?h(g,m,y.props.children,j,y.key):m!==null&&(m.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===An&&Xf(E)===m.type)?(j=s(m,y.props),j.ref=ro(g,m,y),j.return=g,j):(j=Ki(y.type,y.key,y.props,null,g.mode,j),j.ref=ro(g,m,y),j.return=g,j)}function u(g,m,y,j){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=Ha(y,g.mode,j),m.return=g,m):(m=s(m,y.children||[]),m.return=g,m)}function h(g,m,y,j,E){return m===null||m.tag!==7?(m=Er(y,g.mode,j,E),m.return=g,m):(m=s(m,y),m.return=g,m)}function d(g,m,y){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Ua(""+m,g.mode,y),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case fi:return y=Ki(m.type,m.key,m.props,null,g.mode,y),y.ref=ro(g,null,m),y.return=g,y;case Gr:return m=Ha(m,g.mode,y),m.return=g,m;case An:var j=m._init;return d(g,j(m._payload),y)}if(uo(m)||Zs(m))return m=Er(m,g.mode,y,null),m.return=g,m;Ci(g,m)}return null}function p(g,m,y,j){var E=m!==null?m.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return E!==null?null:a(g,m,""+y,j);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case fi:return y.key===E?c(g,m,y,j):null;case Gr:return y.key===E?u(g,m,y,j):null;case An:return E=y._init,p(g,m,E(y._payload),j)}if(uo(y)||Zs(y))return E!==null?null:h(g,m,y,j,null);Ci(g,y)}return null}function x(g,m,y,j,E){if(typeof j=="string"&&j!==""||typeof j=="number")return g=g.get(y)||null,a(m,g,""+j,E);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case fi:return g=g.get(j.key===null?y:j.key)||null,c(m,g,j,E);case Gr:return g=g.get(j.key===null?y:j.key)||null,u(m,g,j,E);case An:var C=j._init;return x(g,m,y,C(j._payload),E)}if(uo(j)||Zs(j))return g=g.get(y)||null,h(m,g,j,E,null);Ci(m,j)}return null}function S(g,m,y,j){for(var E=null,C=null,N=m,P=m=0,T=null;N!==null&&P<y.length;P++){N.index>P?(T=N,N=null):T=N.sibling;var I=p(g,N,y[P],j);if(I===null){N===null&&(N=T);break}e&&N&&I.alternate===null&&t(g,N),m=o(I,m,P),C===null?E=I:C.sibling=I,C=I,N=T}if(P===y.length)return n(g,N),ve&&fr(g,P),E;if(N===null){for(;P<y.length;P++)N=d(g,y[P],j),N!==null&&(m=o(N,m,P),C===null?E=N:C.sibling=N,C=N);return ve&&fr(g,P),E}for(N=r(g,N);P<y.length;P++)T=x(N,g,P,y[P],j),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?P:T.key),m=o(T,m,P),C===null?E=T:C.sibling=T,C=T);return e&&N.forEach(function(D){return t(g,D)}),ve&&fr(g,P),E}function v(g,m,y,j){var E=Zs(y);if(typeof E!="function")throw Error(R(150));if(y=E.call(y),y==null)throw Error(R(151));for(var C=E=null,N=m,P=m=0,T=null,I=y.next();N!==null&&!I.done;P++,I=y.next()){N.index>P?(T=N,N=null):T=N.sibling;var D=p(g,N,I.value,j);if(D===null){N===null&&(N=T);break}e&&N&&D.alternate===null&&t(g,N),m=o(D,m,P),C===null?E=D:C.sibling=D,C=D,N=T}if(I.done)return n(g,N),ve&&fr(g,P),E;if(N===null){for(;!I.done;P++,I=y.next())I=d(g,I.value,j),I!==null&&(m=o(I,m,P),C===null?E=I:C.sibling=I,C=I);return ve&&fr(g,P),E}for(N=r(g,N);!I.done;P++,I=y.next())I=x(N,g,P,I.value,j),I!==null&&(e&&I.alternate!==null&&N.delete(I.key===null?P:I.key),m=o(I,m,P),C===null?E=I:C.sibling=I,C=I);return e&&N.forEach(function(O){return t(g,O)}),ve&&fr(g,P),E}function w(g,m,y,j){if(typeof y=="object"&&y!==null&&y.type===qr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case fi:e:{for(var E=y.key,C=m;C!==null;){if(C.key===E){if(E=y.type,E===qr){if(C.tag===7){n(g,C.sibling),m=s(C,y.props.children),m.return=g,g=m;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===An&&Xf(E)===C.type){n(g,C.sibling),m=s(C,y.props),m.ref=ro(g,C,y),m.return=g,g=m;break e}n(g,C);break}else t(g,C);C=C.sibling}y.type===qr?(m=Er(y.props.children,g.mode,j,y.key),m.return=g,g=m):(j=Ki(y.type,y.key,y.props,null,g.mode,j),j.ref=ro(g,m,y),j.return=g,g=j)}return l(g);case Gr:e:{for(C=y.key;m!==null;){if(m.key===C)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(g,m.sibling),m=s(m,y.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=Ha(y,g.mode,j),m.return=g,g=m}return l(g);case An:return C=y._init,w(g,m,C(y._payload),j)}if(uo(y))return S(g,m,y,j);if(Zs(y))return v(g,m,y,j);Ci(g,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(n(g,m.sibling),m=s(m,y),m.return=g,g=m):(n(g,m),m=Ua(y,g.mode,j),m.return=g,g=m),l(g)):n(g,m)}return w}var Ms=Vm(!0),Bm=Vm(!1),pl=lr(null),hl=null,rs=null,nd=null;function rd(){nd=rs=hl=null}function sd(e){var t=pl.current;he(pl),e._currentValue=t}function Dc(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 us(e,t){hl=e,nd=rs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(nt=!0),e.firstContext=null)}function bt(e){var t=e._currentValue;if(nd!==e)if(e={context:e,memoizedValue:t,next:null},rs===null){if(hl===null)throw Error(R(308));rs=e,hl.dependencies={lanes:0,firstContext:e}}else rs=rs.next=e;return t}var vr=null;function od(e){vr===null?vr=[e]:vr.push(e)}function Um(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,od(t)):(n.next=s.next,s.next=n),t.interleaved=n,wn(e,r)}function wn(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 Mn=!1;function id(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Hm(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 vn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,te&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,wn(e,n)}return s=r.interleaved,s===null?(t.next=t,od(r)):(t.next=s.next,s.next=t),r.interleaved=t,wn(e,n)}function Vi(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,Wu(e,n)}}function Zf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?s=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?s=o=t:o=o.next=t}else s=o=t;n={baseState:r.baseState,firstBaseUpdate:s,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 ml(e,t,n,r){var s=e.updateQueue;Mn=!1;var o=s.firstBaseUpdate,l=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var c=a,u=c.next;c.next=null,l===null?o=u:l.next=u,l=c;var h=e.alternate;h!==null&&(h=h.updateQueue,a=h.lastBaseUpdate,a!==l&&(a===null?h.firstBaseUpdate=u:a.next=u,h.lastBaseUpdate=c))}if(o!==null){var d=s.baseState;l=0,h=u=c=null,a=o;do{var p=a.lane,x=a.eventTime;if((r&p)===p){h!==null&&(h=h.next={eventTime:x,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var S=e,v=a;switch(p=t,x=n,v.tag){case 1:if(S=v.payload,typeof S=="function"){d=S.call(x,d,p);break e}d=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=v.payload,p=typeof S=="function"?S.call(x,d,p):S,p==null)break e;d=Se({},d,p);break e;case 2:Mn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=s.effects,p===null?s.effects=[a]:p.push(a))}else x={eventTime:x,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},h===null?(u=h=x,c=d):h=h.next=x,l|=p;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;p=a,a=p.next,p.next=null,s.lastBaseUpdate=p,s.shared.pending=null}}while(!0);if(h===null&&(c=d),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=h,t=s.shared.interleaved,t!==null){s=t;do l|=s.lane,s=s.next;while(s!==t)}else o===null&&(s.shared.lanes=0);Ir|=l,e.lanes=l,e.memoizedState=d}}function Jf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(R(191,s));s.call(r)}}}var ri={},Jt=lr(ri),$o=lr(ri),Vo=lr(ri);function gr(e){if(e===ri)throw Error(R(174));return e}function ld(e,t){switch(ue(Vo,t),ue($o,e),ue(Jt,ri),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:vc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=vc(t,e)}he(Jt),ue(Jt,t)}function Os(){he(Jt),he($o),he(Vo)}function Wm(e){gr(Vo.current);var t=gr(Jt.current),n=vc(t,e.type);t!==n&&(ue($o,e),ue(Jt,n))}function ad(e){$o.current===e&&(he(Jt),he($o))}var xe=lr(0);function vl(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 Fa=[];function cd(){for(var e=0;e<Fa.length;e++)Fa[e]._workInProgressVersionPrimary=null;Fa.length=0}var Bi=Nn.ReactCurrentDispatcher,La=Nn.ReactCurrentBatchConfig,Rr=0,we=null,Te=null,Ae=null,gl=!1,bo=!1,Bo=0,O1=0;function ze(){throw Error(R(321))}function ud(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!_t(e[n],t[n]))return!1;return!0}function dd(e,t,n,r,s,o){if(Rr=o,we=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Bi.current=e===null||e.memoizedState===null?L1:z1,e=n(r,s),bo){o=0;do{if(bo=!1,Bo=0,25<=o)throw Error(R(301));o+=1,Ae=Te=null,t.updateQueue=null,Bi.current=$1,e=n(r,s)}while(bo)}if(Bi.current=yl,t=Te!==null&&Te.next!==null,Rr=0,Ae=Te=we=null,gl=!1,t)throw Error(R(300));return e}function fd(){var e=Bo!==0;return Bo=0,e}function Bt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ae===null?we.memoizedState=Ae=e:Ae=Ae.next=e,Ae}function Nt(){if(Te===null){var e=we.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Ae===null?we.memoizedState:Ae.next;if(t!==null)Ae=t,Te=e;else{if(e===null)throw Error(R(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},Ae===null?we.memoizedState=Ae=e:Ae=Ae.next=e}return Ae}function Uo(e,t){return typeof t=="function"?t(e):t}function za(e){var t=Nt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=Te,s=r.baseQueue,o=n.pending;if(o!==null){if(s!==null){var l=s.next;s.next=o.next,o.next=l}r.baseQueue=s=o,n.pending=null}if(s!==null){o=s.next,r=r.baseState;var a=l=null,c=null,u=o;do{var h=u.lane;if((Rr&h)===h)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:h,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(a=c=d,l=r):c=c.next=d,we.lanes|=h,Ir|=h}u=u.next}while(u!==null&&u!==o);c===null?l=r:c.next=a,_t(r,t.memoizedState)||(nt=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do o=s.lane,we.lanes|=o,Ir|=o,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function $a(e){var t=Nt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,o=t.memoizedState;if(s!==null){n.pending=null;var l=s=s.next;do o=e(o,l.action),l=l.next;while(l!==s);_t(o,t.memoizedState)||(nt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Qm(){}function Km(e,t){var n=we,r=Nt(),s=t(),o=!_t(r.memoizedState,s);if(o&&(r.memoizedState=s,nt=!0),r=r.queue,pd(Ym.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Ae!==null&&Ae.memoizedState.tag&1){if(n.flags|=2048,Ho(9,qm.bind(null,n,r,s,t),void 0,null),Me===null)throw Error(R(349));Rr&30||Gm(n,t,s)}return s}function Gm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function qm(e,t,n,r){t.value=n,t.getSnapshot=r,Xm(t)&&Zm(e)}function Ym(e,t,n){return n(function(){Xm(t)&&Zm(e)})}function Xm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_t(e,n)}catch{return!0}}function Zm(e){var t=wn(e,1);t!==null&&Ot(t,e,1,-1)}function ep(e){var t=Bt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:e},t.queue=e,e=e.dispatch=F1.bind(null,we,e),[t.memoizedState,e]}function Ho(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.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 Jm(){return Nt().memoizedState}function Ui(e,t,n,r){var s=Bt();we.flags|=e,s.memoizedState=Ho(1|t,n,void 0,r===void 0?null:r)}function Hl(e,t,n,r){var s=Nt();r=r===void 0?null:r;var o=void 0;if(Te!==null){var l=Te.memoizedState;if(o=l.destroy,r!==null&&ud(r,l.deps)){s.memoizedState=Ho(t,n,o,r);return}}we.flags|=e,s.memoizedState=Ho(1|t,n,o,r)}function tp(e,t){return Ui(8390656,8,e,t)}function pd(e,t){return Hl(2048,8,e,t)}function ev(e,t){return Hl(4,2,e,t)}function tv(e,t){return Hl(4,4,e,t)}function nv(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 rv(e,t,n){return n=n!=null?n.concat([e]):null,Hl(4,4,nv.bind(null,t,e),n)}function hd(){}function sv(e,t){var n=Nt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ud(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ov(e,t){var n=Nt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ud(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function iv(e,t,n){return Rr&21?(_t(n,t)||(n=dm(),we.lanes|=n,Ir|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,nt=!0),e.memoizedState=n)}function _1(e,t){var n=se;se=n!==0&&4>n?n:4,e(!0);var r=La.transition;La.transition={};try{e(!1),t()}finally{se=n,La.transition=r}}function lv(){return Nt().memoizedState}function D1(e,t,n){var r=Jn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},av(e))cv(t,n);else if(n=Um(e,t,n,r),n!==null){var s=Ye();Ot(n,e,r,s),uv(n,t,r)}}function F1(e,t,n){var r=Jn(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(av(e))cv(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(s.hasEagerState=!0,s.eagerState=a,_t(a,l)){var c=t.interleaved;c===null?(s.next=s,od(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=Um(e,t,s,r),n!==null&&(s=Ye(),Ot(n,e,r,s),uv(n,t,r))}}function av(e){var t=e.alternate;return e===we||t!==null&&t===we}function cv(e,t){bo=gl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function uv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Wu(e,n)}}var yl={readContext:bt,useCallback:ze,useContext:ze,useEffect:ze,useImperativeHandle:ze,useInsertionEffect:ze,useLayoutEffect:ze,useMemo:ze,useReducer:ze,useRef:ze,useState:ze,useDebugValue:ze,useDeferredValue:ze,useTransition:ze,useMutableSource:ze,useSyncExternalStore:ze,useId:ze,unstable_isNewReconciler:!1},L1={readContext:bt,useCallback:function(e,t){return Bt().memoizedState=[e,t===void 0?null:t],e},useContext:bt,useEffect:tp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ui(4194308,4,nv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=Bt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bt();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=D1.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=Bt();return e={current:e},t.memoizedState=e},useState:ep,useDebugValue:hd,useDeferredValue:function(e){return Bt().memoizedState=e},useTransition:function(){var e=ep(!1),t=e[0];return e=_1.bind(null,e[1]),Bt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,s=Bt();if(ve){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Me===null)throw Error(R(349));Rr&30||Gm(r,t,n)}s.memoizedState=n;var o={value:n,getSnapshot:t};return s.queue=o,tp(Ym.bind(null,r,o,e),[e]),r.flags|=2048,Ho(9,qm.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Bt(),t=Me.identifierPrefix;if(ve){var n=mn,r=hn;n=(r&~(1<<32-Mt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Bo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=O1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},z1={readContext:bt,useCallback:sv,useContext:bt,useEffect:pd,useImperativeHandle:rv,useInsertionEffect:ev,useLayoutEffect:tv,useMemo:ov,useReducer:za,useRef:Jm,useState:function(){return za(Uo)},useDebugValue:hd,useDeferredValue:function(e){var t=Nt();return iv(t,Te.memoizedState,e)},useTransition:function(){var e=za(Uo)[0],t=Nt().memoizedState;return[e,t]},useMutableSource:Qm,useSyncExternalStore:Km,useId:lv,unstable_isNewReconciler:!1},$1={readContext:bt,useCallback:sv,useContext:bt,useEffect:pd,useImperativeHandle:rv,useInsertionEffect:ev,useLayoutEffect:tv,useMemo:ov,useReducer:$a,useRef:Jm,useState:function(){return $a(Uo)},useDebugValue:hd,useDeferredValue:function(e){var t=Nt();return Te===null?t.memoizedState=e:iv(t,Te.memoizedState,e)},useTransition:function(){var e=$a(Uo)[0],t=Nt().memoizedState;return[e,t]},useMutableSource:Qm,useSyncExternalStore:Km,useId:lv,unstable_isNewReconciler:!1};function kt(e,t){if(e&&e.defaultProps){t=Se({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Fc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Se({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Wl={isMounted:function(e){return(e=e._reactInternals)?$r(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ye(),s=Jn(e),o=vn(r,s);o.payload=t,n!=null&&(o.callback=n),t=Xn(e,o,s),t!==null&&(Ot(t,e,s,r),Vi(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ye(),s=Jn(e),o=vn(r,s);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Xn(e,o,s),t!==null&&(Ot(t,e,s,r),Vi(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ye(),r=Jn(e),s=vn(n,r);s.tag=2,t!=null&&(s.callback=t),t=Xn(e,s,r),t!==null&&(Ot(t,e,r,n),Vi(t,e,r))}};function np(e,t,n,r,s,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!Do(n,r)||!Do(s,o):!0}function dv(e,t,n){var r=!1,s=nr,o=t.contextType;return typeof o=="object"&&o!==null?o=bt(o):(s=st(t)?kr:He.current,r=t.contextTypes,o=(r=r!=null)?Is(e,s):nr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Wl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=o),t}function rp(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&&Wl.enqueueReplaceState(t,t.state,null)}function Lc(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},id(e);var o=t.contextType;typeof o=="object"&&o!==null?s.context=bt(o):(o=st(t)?kr:He.current,s.context=Is(e,o)),s.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Fc(e,t,o,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&Wl.enqueueReplaceState(s,s.state,null),ml(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function _s(e,t){try{var n="",r=t;do n+=hw(r),r=r.return;while(r);var s=n}catch(o){s=` 39Error generating stack: `+o.message+` 40`+o.stack}return{value:e,source:t,stack:s,digest:null}}function Va(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function zc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var V1=typeof WeakMap=="function"?WeakMap:Map;function fv(e,t,n){n=vn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){wl||(wl=!0,qc=r),zc(e,t)},n}function pv(e,t,n){n=vn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){zc(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){zc(e,t),typeof r!="function"&&(Zn===null?Zn=new Set([this]):Zn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}
vendor: 8,477 bytes, line 40
40function sp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new V1;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=tS.bind(null,e,t,n),t.then(e,e))}function op(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 ip(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,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=vn(-1,1),t.tag=2,Xn(n,t,1))),n.lanes|=1),e)}var B1=Nn.ReactCurrentOwner,nt=!1;function qe(e,t,n,r){t.child=e===null?Bm(t,null,n,r):Ms(t,e.child,n,r)}function lp(e,t,n,r,s){n=n.render;var o=t.ref;return us(t,s),r=dd(e,t,n,r,o,s),n=fd(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Sn(e,t,s)):(ve&&n&&Ju(t),t.flags|=1,qe(e,t,r,s),t.child)}function ap(e,t,n,r,s){if(e===null){var o=n.type;return typeof o=="function"&&!jd(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,hv(e,t,o,r,s)):(e=Ki(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&s)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Do,n(l,r)&&e.ref===t.ref)return Sn(e,t,s)}return t.flags|=1,e=er(o,r),e.ref=t.ref,e.return=t,t.child=e}function hv(e,t,n,r,s){if(e!==null){var o=e.memoizedProps;if(Do(o,r)&&e.ref===t.ref)if(nt=!1,t.pendingProps=r=o,(e.lanes&s)!==0)e.flags&131072&&(nt=!0);else return t.lanes=e.lanes,Sn(e,t,s)}return $c(e,t,n,r,s)}function mv(e,t,n){var r=t.pendingProps,s=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ue(os,ct),ct|=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,ue(os,ct),ct|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ue(os,ct),ct|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ue(os,ct),ct|=r;return qe(e,t,s,n),t.child}function vv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function $c(e,t,n,r,s){var o=st(n)?kr:He.current;return o=Is(t,o),us(t,s),n=dd(e,t,n,r,o,s),r=fd(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Sn(e,t,s)):(ve&&r&&Ju(t),t.flags|=1,qe(e,t,n,s),t.child)}function cp(e,t,n,r,s){if(st(n)){var o=!0;ul(t)}else o=!1;if(us(t,s),t.stateNode===null)Hi(e,t),dv(t,n,r),Lc(t,n,r,s),r=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var c=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=bt(u):(u=st(n)?kr:He.current,u=Is(t,u));var h=n.getDerivedStateFromProps,d=typeof h=="function"||typeof l.getSnapshotBeforeUpdate=="function";d||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==r||c!==u)&&rp(t,l,r,u),Mn=!1;var p=t.memoizedState;l.state=p,ml(t,r,l,s),c=t.memoizedState,a!==r||p!==c||rt.current||Mn?(typeof h=="function"&&(Fc(t,n,h,r),c=t.memoizedState),(a=Mn||np(t,n,a,r,p,c,u))?(d||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),l.props=r,l.state=c,l.context=u,r=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Hm(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:kt(t.type,a),l.props=u,d=t.pendingProps,p=l.context,c=n.contextType,typeof c=="object"&&c!==null?c=bt(c):(c=st(n)?kr:He.current,c=Is(t,c));var x=n.getDerivedStateFromProps;(h=typeof x=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==d||p!==c)&&rp(t,l,r,c),Mn=!1,p=t.memoizedState,l.state=p,ml(t,r,l,s);var S=t.memoizedState;a!==d||p!==S||rt.current||Mn?(typeof x=="function"&&(Fc(t,n,x,r),S=t.memoizedState),(u=Mn||np(t,n,u,r,p,S,c)||!1)?(h||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,S,c),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,S,c)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=S),l.props=r,l.state=S,l.context=c,r=u):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Vc(e,t,n,r,o,s)}function Vc(e,t,n,r,s,o){vv(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return s&&Gf(t,n,!1),Sn(e,t,o);r=t.stateNode,B1.current=t;var a=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Ms(t,e.child,null,o),t.child=Ms(t,null,a,o)):qe(e,t,a,o),t.memoizedState=r.state,s&&Gf(t,n,!0),t.child}function gv(e){var t=e.stateNode;t.pendingContext?Kf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Kf(e,t.context,!1),ld(e,t.containerInfo)}function up(e,t,n,r,s){return As(),td(s),t.flags|=256,qe(e,t,n,r),t.child}var Bc={dehydrated:null,treeContext:null,retryLane:0};function Uc(e){return{baseLanes:e,cachePool:null,transitions:null}}function yv(e,t,n){var r=t.pendingProps,s=xe.current,o=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),ue(xe,s&1),e===null)return _c(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):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Gl(l,r,0,null),e=Er(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Uc(n),t.memoizedState=Bc,e):md(t,l));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return U1(e,t,l,r,a,s,n);if(o){o=r.fallback,l=t.mode,s=e.child,a=s.sibling;var c={mode:"hidden",children:r.children};return!(l&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=er(s,c),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?o=er(a,o):(o=Er(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?Uc(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=Bc,r}return o=e.child,e=o.sibling,r=er(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 md(e,t){return t=Gl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function bi(e,t,n,r){return r!==null&&td(r),Ms(t,e.child,null,n),e=md(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function U1(e,t,n,r,s,o,l){if(n)return t.flags&256?(t.flags&=-257,r=Va(Error(R(422))),bi(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,s=t.mode,r=Gl({mode:"visible",children:r.children},s,0,null),o=Er(o,s,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Ms(t,e.child,null,l),t.child.memoizedState=Uc(l),t.memoizedState=Bc,o);if(!(t.mode&1))return bi(e,t,l,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(R(419)),r=Va(o,r,void 0),bi(e,t,l,r)}if(a=(l&e.childLanes)!==0,nt||a){if(r=Me,r!==null){switch(l&-l){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}
vendor: 5,346 bytes, line 40
40s=s&(r.suspendedLanes|l)?0:s,s!==0&&s!==o.retryLane&&(o.retryLane=s,wn(e,s),Ot(r,e,s,-1))}return Sd(),r=Va(Error(R(421))),bi(e,t,l,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=nS.bind(null,e),s._reactRetry=t,null):(e=o.treeContext,dt=Yn(s.nextSibling),ft=t,ve=!0,It=null,e!==null&&(xt[wt++]=hn,xt[wt++]=mn,xt[wt++]=Tr,hn=e.id,mn=e.overflow,Tr=t),t=md(t,r.children),t.flags|=4096,t)}function dp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Dc(e.return,t,n)}function Ba(e,t,n,r,s){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=s)}function xv(e,t,n){var r=t.pendingProps,s=r.revealOrder,o=r.tail;if(qe(e,t,r.children,n),r=xe.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&&dp(e,n,t);else if(e.tag===19)dp(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(ue(xe,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&vl(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),Ba(t,!1,s,n,o);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&vl(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}Ba(t,!0,n,null,o);break;case"together":Ba(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Sn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ir|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=er(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=er(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function H1(e,t,n){switch(t.tag){case 3:gv(t),As();break;case 5:Wm(t);break;case 1:st(t.type)&&ul(t);break;case 4:ld(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;ue(pl,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ue(xe,xe.current&1),t.flags|=128,null):n&t.child.childLanes?yv(e,t,n):(ue(xe,xe.current&1),e=Sn(e,t,n),e!==null?e.sibling:null);ue(xe,xe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return xv(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ue(xe,xe.current),r)break;return null;case 22:case 23:return t.lanes=0,mv(e,t,n)}return Sn(e,t,n)}var wv,Hc,Sv,jv;wv=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}};Hc=function(){};Sv=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,gr(Jt.current);var o=null;switch(n){case"input":s=fc(e,s),r=fc(e,r),o=[];break;case"select":s=Se({},s,{value:void 0}),r=Se({},r,{value:void 0}),o=[];break;case"textarea":s=mc(e,s),r=mc(e,r),o=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=al)}gc(n,r);var l;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var a=s[u];for(l in a)a.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(To.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var c=r[u];if(a=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&c!==a&&(c!=null||a!=null))if(u==="style")if(a){for(l in a)!a.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in c)c.hasOwnProperty(l)&&a[l]!==c[l]&&(n||(n={}),n[l]=c[l])}else n||(o||(o=[]),o.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,a=a?a.__html:void 0,c!=null&&a!==c&&(o=o||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(o=o||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(To.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&pe("scroll",e),o||a===c||(o=[])):(o=o||[]).push(u,c))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};jv=function(e,t,n,r){n!==r&&(t.flags|=4)};function so(e,t){if(!ve)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 $e(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}
vendor: 30,229 bytes, line 40
40function W1(e,t,n){var r=t.pendingProps;switch(ed(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $e(t),null;case 1:return st(t.type)&&cl(),$e(t),null;case 3:return r=t.stateNode,Os(),he(rt),he(He),cd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ji(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,It!==null&&(Zc(It),It=null))),Hc(e,t),$e(t),null;case 5:ad(t);var s=gr(Vo.current);if(n=t.type,e!==null&&t.stateNode!=null)Sv(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(R(166));return $e(t),null}if(e=gr(Jt.current),ji(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Gt]=t,r[zo]=o,e=(t.mode&1)!==0,n){case"dialog":pe("cancel",r),pe("close",r);break;case"iframe":case"object":case"embed":pe("load",r);break;case"video":case"audio":for(s=0;s<po.length;s++)pe(po[s],r);break;case"source":pe("error",r);break;case"img":case"image":case"link":pe("error",r),pe("load",r);break;case"details":pe("toggle",r);break;case"input":wf(r,o),pe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},pe("invalid",r);break;case"textarea":jf(r,o),pe("invalid",r)}gc(n,o),s=null;for(var l in o)if(o.hasOwnProperty(l)){var a=o[l];l==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&Si(r.textContent,a,e),s=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&Si(r.textContent,a,e),s=["children",""+a]):To.hasOwnProperty(l)&&a!=null&&l==="onScroll"&&pe("scroll",r)}switch(n){case"input":pi(r),Sf(r,o,!0);break;case"textarea":pi(r),Cf(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=al)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Yh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Gt]=t,e[zo]=r,wv(e,t,!1,!1),t.stateNode=e;e:{switch(l=yc(n,r),n){case"dialog":pe("cancel",e),pe("close",e),s=r;break;case"iframe":case"object":case"embed":pe("load",e),s=r;break;case"video":case"audio":for(s=0;s<po.length;s++)pe(po[s],e);s=r;break;case"source":pe("error",e),s=r;break;case"img":case"image":case"link":pe("error",e),pe("load",e),s=r;break;case"details":pe("toggle",e),s=r;break;case"input":wf(e,r),s=fc(e,r),pe("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=Se({},r,{value:void 0}),pe("invalid",e);break;case"textarea":jf(e,r),s=mc(e,r),pe("invalid",e);break;default:s=r}gc(n,s),a=s;for(o in a)if(a.hasOwnProperty(o)){var c=a[o];o==="style"?Jh(e,c):o==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Xh(e,c)):o==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Ro(e,c):typeof c=="number"&&Ro(e,""+c):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(To.hasOwnProperty(o)?c!=null&&o==="onScroll"&&pe("scroll",e):c!=null&&zu(e,o,c,l))}switch(n){case"input":pi(e),Sf(e,r,!1);break;case"textarea":pi(e),Cf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+tr(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?is(e,!!r.multiple,o,!1):r.defaultValue!=null&&is(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=al)}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 $e(t),null;case 6:if(e&&t.stateNode!=null)jv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(R(166));if(n=gr(Vo.current),gr(Jt.current),ji(t)){if(r=t.stateNode,n=t.memoizedProps,r[Gt]=t,(o=r.nodeValue!==n)&&(e=ft,e!==null))switch(e.tag){case 3:Si(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Si(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Gt]=t,t.stateNode=r}return $e(t),null;case 13:if(he(xe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ve&&dt!==null&&t.mode&1&&!(t.flags&128))$m(),As(),t.flags|=98560,o=!1;else if(o=ji(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(R(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(R(317));o[Gt]=t}else As(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;$e(t),o=!1}else It!==null&&(Zc(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||xe.current&1?Ie===0&&(Ie=3):Sd())),t.updateQueue!==null&&(t.flags|=4),$e(t),null);case 4:return Os(),Hc(e,t),e===null&&Fo(t.stateNode.containerInfo),$e(t),null;case 10:return sd(t.type._context),$e(t),null;case 17:return st(t.type)&&cl(),$e(t),null;case 19:if(he(xe),o=t.memoizedState,o===null)return $e(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)so(o,!1);else{if(Ie!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=vl(e),l!==null){for(t.flags|=128,so(o,!1),r=l.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,l=o.alternate,l===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=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ue(xe,xe.current&1|2),t.child}e=e.sibling}o.tail!==null&&be()>Ds&&(t.flags|=128,r=!0,so(o,!1),t.lanes=4194304)}else{if(!r)if(e=vl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),so(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!ve)return $e(t),null}else 2*be()-o.renderingStartTime>Ds&&n!==1073741824&&(t.flags|=128,r=!0,so(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=be(),t.sibling=null,n=xe.current,ue(xe,r?n&1|2:n&1),t):($e(t),null);case 22:case 23:return wd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ct&1073741824&&($e(t),t.subtreeFlags&6&&(t.flags|=8192)):$e(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function Q1(e,t){switch(ed(t),t.tag){case 1:return st(t.type)&&cl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Os(),he(rt),he(He),cd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ad(t),null;case 13:if(he(xe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));As()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return he(xe),null;case 4:return Os(),null;case 10:return sd(t.type._context),null;case 22:case 23:return wd(),null;case 24:return null;default:return null}}var Ni=!1,Be=!1,K1=typeof WeakSet=="function"?WeakSet:Set,F=null;function ss(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ce(e,t,r)}else n.current=null}function Wc(e,t,n){try{n()}catch(r){Ce(e,t,r)}}var fp=!1;function G1(e,t){if(kc=ol,e=Pm(),Zu(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 s=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,a=-1,c=-1,u=0,h=0,d=e,p=null;t:for(;;){for(var x;d!==n||s!==0&&d.nodeType!==3||(a=l+s),d!==o||r!==0&&d.nodeType!==3||(c=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(x=d.firstChild)!==null;)p=d,d=x;for(;;){if(d===e)break t;if(p===n&&++u===s&&(a=l),p===o&&++h===r&&(c=l),(x=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=x}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Tc={focusedElem:e,selectionRange:n},ol=!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 S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var v=S.memoizedProps,w=S.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:kt(t.type,v),w);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(j){Ce(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return S=fp,fp=!1,S}function No(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var o=s.destroy;s.destroy=void 0,o!==void 0&&Wc(t,n,o)}s=s.next}while(s!==r)}}function Ql(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 Qc(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 Cv(e){var t=e.alternate;t!==null&&(e.alternate=null,Cv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Gt],delete t[zo],delete t[Ac],delete t[R1],delete t[I1])),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 bv(e){return e.tag===5||e.tag===3||e.tag===4}function pp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||bv(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 Kc(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=al));else if(r!==4&&(e=e.child,e!==null))for(Kc(e,t,n),e=e.sibling;e!==null;)Kc(e,t,n),e=e.sibling}function Gc(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(Gc(e,t,n),e=e.sibling;e!==null;)Gc(e,t,n),e=e.sibling}var Oe=null,Rt=!1;function Pn(e,t,n){for(n=n.child;n!==null;)Nv(e,t,n),n=n.sibling}function Nv(e,t,n){if(Zt&&typeof Zt.onCommitFiberUnmount=="function")try{Zt.onCommitFiberUnmount(Ll,n)}catch{}switch(n.tag){case 5:Be||ss(n,t);case 6:var r=Oe,s=Rt;Oe=null,Pn(e,t,n),Oe=r,Rt=s,Oe!==null&&(Rt?(e=Oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Oe.removeChild(n.stateNode));break;case 18:Oe!==null&&(Rt?(e=Oe,n=n.stateNode,e.nodeType===8?_a(e.parentNode,n):e.nodeType===1&&_a(e,n),Oo(e)):_a(Oe,n.stateNode));break;case 4:r=Oe,s=Rt,Oe=n.stateNode.containerInfo,Rt=!0,Pn(e,t,n),Oe=r,Rt=s;break;case 0:case 11:case 14:case 15:if(!Be&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var o=s,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Wc(n,t,l),s=s.next}while(s!==r)}Pn(e,t,n);break;case 1:if(!Be&&(ss(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ce(n,t,a)}Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:n.mode&1?(Be=(r=Be)||n.memoizedState!==null,Pn(e,t,n),Be=r):Pn(e,t,n);break;default:Pn(e,t,n)}}function hp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new K1),t.forEach(function(r){var s=rS.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function Et(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var o=e,l=t,a=l;e:for(;a!==null;){switch(a.tag){case 5:Oe=a.stateNode,Rt=!1;break e;case 3:Oe=a.stateNode.containerInfo,Rt=!0;break e;case 4:Oe=a.stateNode.containerInfo,Rt=!0;break e}a=a.return}if(Oe===null)throw Error(R(160));Nv(o,l,s),Oe=null,Rt=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){Ce(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ev(t,e),t=t.sibling}function Ev(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Et(t,e),Vt(e),r&4){try{No(3,e,e.return),Ql(3,e)}catch(v){Ce(e,e.return,v)}try{No(5,e,e.return)}catch(v){Ce(e,e.return,v)}}break;case 1:Et(t,e),Vt(e),r&512&&n!==null&&ss(n,n.return);break;case 5:if(Et(t,e),Vt(e),r&512&&n!==null&&ss(n,n.return),e.flags&32){var s=e.stateNode;try{Ro(s,"")}catch(v){Ce(e,e.return,v)}}if(r&4&&(s=e.stateNode,s!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,a=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Gh(s,o),yc(a,l);var u=yc(a,o);for(l=0;l<c.length;l+=2){var h=c[l],d=c[l+1];h==="style"?Jh(s,d):h==="dangerouslySetInnerHTML"?Xh(s,d):h==="children"?Ro(s,d):zu(s,h,d,u)}switch(a){case"input":pc(s,o);break;case"textarea":qh(s,o);break;case"select":var p=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!o.multiple;var x=o.value;x!=null?is(s,!!o.multiple,x,!1):p!==!!o.multiple&&(o.defaultValue!=null?is(s,!!o.multiple,o.defaultValue,!0):is(s,!!o.multiple,o.multiple?[]:"",!1))}s[zo]=o}catch(v){Ce(e,e.return,v)}}break;case 6:if(Et(t,e),Vt(e),r&4){if(e.stateNode===null)throw Error(R(162));s=e.stateNode,o=e.memoizedProps;try{s.nodeValue=o}catch(v){Ce(e,e.return,v)}}break;case 3:if(Et(t,e),Vt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Oo(t.containerInfo)}catch(v){Ce(e,e.return,v)}break;case 4:Et(t,e),Vt(e);break;case 13:Et(t,e),Vt(e),s=e.child,s.flags&8192&&(o=s.memoizedState!==null,s.stateNode.isHidden=o,!o||s.alternate!==null&&s.alternate.memoizedState!==null||(yd=be())),r&4&&hp(e);break;case 22:if(h=n!==null&&n.memoizedState!==null,e.mode&1?(Be=(u=Be)||h,Et(t,e),Be=u):Et(t,e),Vt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!h&&e.mode&1)for(F=e,h=e.child;h!==null;){for(d=F=h;F!==null;){switch(p=F,x=p.child,p.tag){case 0:case 11:case 14:case 15:No(4,p,p.return);break;case 1:ss(p,p.return);var S=p.stateNode;if(typeof S.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,S.props=t.memoizedProps,S.state=t.memoizedState,S.componentWillUnmount()}catch(v){Ce(r,n,v)}}break;case 5:ss(p,p.return);break;case 22:if(p.memoizedState!==null){vp(d);continue}}x!==null?(x.return=p,F=x):vp(d)}h=h.sibling}e:for(h=null,d=e;;){if(d.tag===5){if(h===null){h=d;try{s=d.stateNode,u?(o=s.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=d.stateNode,c=d.memoizedProps.style,l=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=Zh("display",l))}catch(v){Ce(e,e.return,v)}}}else if(d.tag===6){if(h===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(v){Ce(e,e.return,v)}}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;h===d&&(h=null),d=d.return}h===d&&(h=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Et(t,e),Vt(e),r&4&&hp(e);break;case 21:break;default:Et(t,e),Vt(e)}}function Vt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(bv(n)){var r=n;break e}n=n.return}throw Error(R(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Ro(s,""),r.flags&=-33);var o=pp(e);Gc(e,o,s);break;case 3:case 4:var l=r.stateNode.containerInfo,a=pp(e);Kc(e,a,l);break;default:throw Error(R(161))}}catch(c){Ce(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function q1(e,t,n){F=e,Pv(e)}function Pv(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var s=F,o=s.child;if(s.tag===22&&r){var l=s.memoizedState!==null||Ni;if(!l){var a=s.alternate,c=a!==null&&a.memoizedState!==null||Be;a=Ni;var u=Be;if(Ni=l,(Be=c)&&!u)for(F=s;F!==null;)l=F,c=l.child,l.tag===22&&l.memoizedState!==null?gp(s):c!==null?(c.return=l,F=c):gp(s);for(;o!==null;)F=o,Pv(o),o=o.sibling;F=s,Ni=a,Be=u}mp(e)}else s.subtreeFlags&8772&&o!==null?(o.return=s,F=o):mp(e)}}function mp(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||Ql(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Be)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:kt(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Jf(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Jf(t,l,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var h=u.memoizedState;if(h!==null){var d=h.dehydrated;d!==null&&Oo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(R(163))}Be||t.flags&512&&Qc(t)}catch(p){Ce(t,t.return,p)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function vp(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 gp(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ql(4,t)}catch(c){Ce(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(c){Ce(t,s,c)}}var o=t.return;try{Qc(t)}catch(c){Ce(t,o,c)}break;case 5:var l=t.return;try{Qc(t)}catch(c){Ce(t,l,c)}}}catch(c){Ce(t,t.return,c)}if(t===e){F=null;break}var a=t.sibling;if(a!==null){a.return=t.return,F=a;break}F=t.return}}var Y1=Math.ceil,xl=Nn.ReactCurrentDispatcher,vd=Nn.ReactCurrentOwner,Ct=Nn.ReactCurrentBatchConfig,te=0,Me=null,Pe=null,_e=0,ct=0,os=lr(0),Ie=0,Wo=null,Ir=0,Kl=0,gd=0,Eo=null,tt=null,yd=0,Ds=1/0,an=null,wl=!1,qc=null,Zn=null,Ei=!1,Qn=null,Sl=0,Po=0,Yc=null,Wi=-1,Qi=0;function Ye(){return te&6?be():Wi!==-1?Wi:Wi=be()}function Jn(e){return e.mode&1?te&2&&_e!==0?_e&-_e:M1.transition!==null?(Qi===0&&(Qi=dm()),Qi):(e=se,e!==0||(e=window.event,e=e===void 0?16:ym(e.type)),e):1}function Ot(e,t,n,r){if(50<Po)throw Po=0,Yc=null,Error(R(185));ei(e,n,r),(!(te&2)||e!==Me)&&(e===Me&&(!(te&2)&&(Kl|=n),Ie===4&&_n(e,_e)),ot(e,r),n===1&&te===0&&!(t.mode&1)&&(Ds=be()+500,Ul&&ar()))}function ot(e,t){var n=e.callbackNode;Mw(e,t);var r=sl(e,e===Me?_e:0);if(r===0)n!==null&&Ef(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ef(n),t===1)e.tag===0?A1(yp.bind(null,e)):Fm(yp.bind(null,e)),k1(function(){!(te&6)&&ar()}),n=null;else{switch(fm(r)){case 1:n=Hu;break;case 4:n=cm;break;case 16:n=rl;break;case 536870912:n=um;break;default:n=rl}n=_v(n,kv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function kv(e,t){if(Wi=-1,Qi=0,te&6)throw Error(R(327));var n=e.callbackNode;if(ds()&&e.callbackNode!==n)return null;var r=sl(e,e===Me?_e:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=jl(e,r);else{t=r;var s=te;te|=2;var o=Rv();(Me!==e||_e!==t)&&(an=null,Ds=be()+500,Nr(e,t));do try{J1();break}catch(a){Tv(e,a)}while(!0);rd(),xl.current=o,te=s,Pe!==null?t=0:(Me=null,_e=0,t=Ie)}if(t!==0){if(t===2&&(s=Cc(e),s!==0&&(r=s,t=Xc(e,s))),t===1)throw n=Wo,Nr(e,0),_n(e,r),ot(e,be()),n;if(t===6)_n(e,r);else{if(s=e.current.alternate,!(r&30)&&!X1(s)&&(t=jl(e,r),t===2&&(o=Cc(e),o!==0&&(r=o,t=Xc(e,o))),t===1))throw n=Wo,Nr(e,0),_n(e,r),ot(e,be()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(R(345));case 2:pr(e,tt,an);break;case 3:if(_n(e,r),(r&130023424)===r&&(t=yd+500-be(),10<t)){if(sl(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){Ye(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=Ic(pr.bind(null,e,tt,an),t);break}pr(e,tt,an);break;case 4:if(_n(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var l=31-Mt(r);o=1<<l,l=t[l],l>s&&(s=l),r&=~o}if(r=s,r=be()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Y1(r/1960))-r,10<r){e.timeoutHandle=Ic(pr.bind(null,e,tt,an),r);break}pr(e,tt,an);break;case 5:pr(e,tt,an);break;default:throw Error(R(329))}}}return ot(e,be()),e.callbackNode===n?kv.bind(null,e):null}function Xc(e,t){var n=Eo;return e.current.memoizedState.isDehydrated&&(Nr(e,t).flags|=256),e=jl(e,t),e!==2&&(t=tt,tt=n,t!==null&&Zc(t)),e}function Zc(e){tt===null?tt=e:tt.push.apply(tt,e)}function X1(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 s=n[r],o=s.getSnapshot;s=s.value;try{if(!_t(o(),s))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 _n(e,t){for(t&=~gd,t&=~Kl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Mt(t),r=1<<n;e[n]=-1,t&=~r}}function yp(e){if(te&6)throw Error(R(327));ds();var t=sl(e,0);if(!(t&1))return ot(e,be()),null;var n=jl(e,t);if(e.tag!==0&&n===2){var r=Cc(e);r!==0&&(t=r,n=Xc(e,r))}if(n===1)throw n=Wo,Nr(e,0),_n(e,t),ot(e,be()),n;if(n===6)throw Error(R(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,pr(e,tt,an),ot(e,be()),null}function xd(e,t){var n=te;te|=1;try{return e(t)}finally{te=n,te===0&&(Ds=be()+500,Ul&&ar())}}function Ar(e){Qn!==null&&Qn.tag===0&&!(te&6)&&ds();var t=te;te|=1;var n=Ct.transition,r=se;try{if(Ct.transition=null,se=1,e)return e()}finally{se=r,Ct.transition=n,te=t,!(te&6)&&ar()}}function wd(){ct=os.current,he(os)}function Nr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,P1(n)),Pe!==null)for(n=Pe.return;n!==null;){var r=n;switch(ed(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&cl();break;case 3:Os(),he(rt),he(He),cd();break;case 5:ad(r);break;case 4:Os();break;case 13:he(xe);break;case 19:he(xe);break;case 10:sd(r.type._context);break;case 22:case 23:wd()}n=n.return}if(Me=e,Pe=e=er(e.current,null),_e=ct=t,Ie=0,Wo=null,gd=Kl=Ir=0,tt=Eo=null,vr!==null){for(t=0;t<vr.length;t++)if(n=vr[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=s,r.next=l}n.pending=r}vr=null}return e}function Tv(e,t){do{var n=Pe;try{if(rd(),Bi.current=yl,gl){for(var r=we.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}gl=!1}if(Rr=0,Ae=Te=we=null,bo=!1,Bo=0,vd.current=null,n===null||n.return===null){Ie=1,Wo=t,Pe=null;break}e:{var o=e,l=n.return,a=n,c=t;if(t=_e,a.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,h=a,d=h.tag;if(!(h.mode&1)&&(d===0||d===11||d===15)){var p=h.alternate;p?(h.updateQueue=p.updateQueue,h.memoizedState=p.memoizedState,h.lanes=p.lanes):(h.updateQueue=null,h.memoizedState=null)}var x=op(l);if(x!==null){x.flags&=-257,ip(x,l,a,o,t),x.mode&1&&sp(o,u,t),t=x,c=u;var S=t.updateQueue;if(S===null){var v=new Set;v.add(c),t.updateQueue=v}else S.add(c);break e}else{if(!(t&1)){sp(o,u,t),Sd();break e}c=Error(R(426))}}else if(ve&&a.mode&1){var w=op(l);if(w!==null){!(w.flags&65536)&&(w.flags|=256),ip(w,l,a,o,t),td(_s(c,a));break e}}o=c=_s(c,a),Ie!==4&&(Ie=2),Eo===null?Eo=[o]:Eo.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var g=fv(o,c,t);Zf(o,g);break e;case 1:a=c;var m=o.type,y=o.stateNode;if(!(o.flags&128)&&(typeof m.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Zn===null||!Zn.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var j=pv(o,a,t);Zf(o,j);break e}}o=o.return}while(o!==null)}Av(n)}catch(E){t=E,Pe===n&&n!==null&&(Pe=n=n.return);continue}break}while(!0)}function Rv(){var e=xl.current;return xl.current=yl,e===null?yl:e}function Sd(){(Ie===0||Ie===3||Ie===2)&&(Ie=4),Me===null||!(Ir&268435455)&&!(Kl&268435455)||_n(Me,_e)}function jl(e,t){var n=te;te|=2;var r=Rv();(Me!==e||_e!==t)&&(an=null,Nr(e,t));do try{Z1();break}catch(s){Tv(e,s)}while(!0);if(rd(),te=n,xl.current=r,Pe!==null)throw Error(R(261));return Me=null,_e=0,Ie}function Z1(){for(;Pe!==null;)Iv(Pe)}function J1(){for(;Pe!==null&&!bw();)Iv(Pe)}function Iv(e){var t=Ov(e.alternate,e,ct);e.memoizedProps=e.pendingProps,t===null?Av(e):Pe=t,vd.current=null}function Av(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Q1(n,t),n!==null){n.flags&=32767,Pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ie=6,Pe=null;return}}else if(n=W1(n,t,ct),n!==null){Pe=n;return}if(t=t.sibling,t!==null){Pe=t;return}Pe=t=e}while(t!==null);Ie===0&&(Ie=5)}function pr(e,t,n){var r=se,s=Ct.transition;try{Ct.transition=null,se=1,eS(e,t,n,r)}finally{Ct.transition=s,se=r}return null}function eS(e,t,n,r){do ds();while(Qn!==null);if(te&6)throw Error(R(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(R(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Ow(e,o),e===Me&&(Pe=Me=null,_e=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ei||(Ei=!0,_v(rl,function(){return ds(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Ct.transition,Ct.transition=null;var l=se;se=1;var a=te;te|=4,vd.current=null,G1(e,n),Ev(n,e),w1(Tc),ol=!!kc,Tc=kc=null,e.current=n,q1(n),Nw(),te=a,se=l,Ct.transition=o}else e.current=n;if(Ei&&(Ei=!1,Qn=e,Sl=s),o=e.pendingLanes,o===0&&(Zn=null),kw(n.stateNode),ot(e,be()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(wl)throw wl=!1,e=qc,qc=null,e;return Sl&1&&e.tag!==0&&ds(),o=e.pendingLanes,o&1?e===Yc?Po++:(Po=0,Yc=e):Po=0,ar(),null}function ds(){if(Qn!==null){var e=fm(Sl),t=Ct.transition,n=se;try{if(Ct.transition=null,se=16>e?16:e,Qn===null)var r=!1;else{if(e=Qn,Qn=null,Sl=0,te&6)throw Error(R(331));var s=te;for(te|=4,F=e.current;F!==null;){var o=F,l=o.child;if(F.flags&16){var a=o.deletions;if(a!==null){for(var c=0;c<a.length;c++){var u=a[c];for(F=u;F!==null;){var h=F;switch(h.tag){case 0:case 11:case 15:No(8,h,o)}var d=h.child;if(d!==null)d.return=h,F=d;else for(;F!==null;){h=F;var p=h.sibling,x=h.return;if(Cv(h),h===u){F=null;break}if(p!==null){p.return=x,F=p;break}F=x}}}var S=o.alternate;if(S!==null){var v=S.child;if(v!==null){S.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}F=o}}if(o.subtreeFlags&2064&&l!==null)l.return=o,F=l;else e:for(;F!==null;){if(o=F,o.flags&2048)switch(o.tag){case 0:case 11:case 15:No(9,o,o.return)}var g=o.sibling;if(g!==null){g.return=o.return,F=g;break e}F=o.return}}var m=e.current;for(F=m;F!==null;){l=F;var y=l.child;if(l.subtreeFlags&2064&&y!==null)y.return=l,F=y;else e:for(l=m;F!==null;){if(a=F,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Ql(9,a)}}catch(E){Ce(a,a.return,E)}if(a===l){F=null;break e}var j=a.sibling;if(j!==null){j.return=a.return,F=j;break e}F=a.return}}if(te=s,ar(),Zt&&typeof Zt.onPostCommitFiberRoot=="function")try{Zt.onPostCommitFiberRoot(Ll,e)}catch{}r=!0}return r}finally{se=n,Ct.transition=t}}return!1}function xp(e,t,n){t=_s(n,t),t=fv(e,t,1),e=Xn(e,t,1),t=Ye(),e!==null&&(ei(e,1,t),ot(e,t))}function Ce(e,t,n){if(e.tag===3)xp(e,e,n);else for(;t!==null;){if(t.tag===3){xp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Zn===null||!Zn.has(r))){e=_s(n,e),e=pv(t,e,1),t=Xn(t,e,1),e=Ye(),t!==null&&(ei(t,1,e),ot(t,e));break}}t=t.return}}function tS(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ye(),e.pingedLanes|=e.suspendedLanes&n,Me===e&&(_e&n)===n&&(Ie===4||Ie===3&&(_e&130023424)===_e&&500>be()-yd?Nr(e,0):gd|=n),ot(e,t)}function Mv(e,t){t===0&&(e.mode&1?(t=vi,vi<<=1,!(vi&130023424)&&(vi=4194304)):t=1);var n=Ye();e=wn(e,t),e!==null&&(ei(e,t,n),ot(e,n))}function nS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Mv(e,n)}function rS(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(R(314))}r!==null&&r.delete(t),Mv(e,n)}var Ov;Ov=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)nt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return nt=!1,H1(e,t,n);nt=!!(e.flags&131072)}else nt=!1,ve&&t.flags&1048576&&Lm(t,fl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hi(e,t),e=t.pendingProps;var s=Is(t,He.current);us(t,n),s=dd(null,t,r,e,s,n);var o=fd();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,st(r)?(o=!0,ul(t)):o=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,id(t),s.updater=Wl,t.stateNode=s,s._reactInternals=t,Lc(t,r,e,n),t=Vc(null,t,r,!0,o,n)):(t.tag=0,ve&&o&&Ju(t),qe(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hi(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=oS(r),e=kt(r,e),s){case 0:t=$c(null,t,r,e,n);break e;case 1:t=cp(null,t,r,e,n);break e;case 11:t=lp(null,t,r,e,n);break e;case 14:t=ap(null,t,r,kt(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:kt(r,s),$c(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:kt(r,s),cp(e,t,r,s,n);case 3:e:{if(gv(t),e===null)throw Error(R(387));
vendor: 4,225 bytes, line 40
40r=t.pendingProps,o=t.memoizedState,s=o.element,Hm(e,t),ml(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){s=_s(Error(R(423)),t),t=up(e,t,r,n,s);break e}else if(r!==s){s=_s(Error(R(424)),t),t=up(e,t,r,n,s);break e}else for(dt=Yn(t.stateNode.containerInfo.firstChild),ft=t,ve=!0,It=null,n=Bm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(As(),r===s){t=Sn(e,t,n);break e}qe(e,t,r,n)}t=t.child}return t;case 5:return Wm(t),e===null&&_c(t),r=t.type,s=t.pendingProps,o=e!==null?e.memoizedProps:null,l=s.children,Rc(r,s)?l=null:o!==null&&Rc(r,o)&&(t.flags|=32),vv(e,t),qe(e,t,l,n),t.child;case 6:return e===null&&_c(t),null;case 13:return yv(e,t,n);case 4:return ld(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ms(t,null,r,n):qe(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:kt(r,s),lp(e,t,r,s,n);case 7:return qe(e,t,t.pendingProps,n),t.child;case 8:return qe(e,t,t.pendingProps.children,n),t.child;case 12:return qe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,o=t.memoizedProps,l=s.value,ue(pl,r._currentValue),r._currentValue=l,o!==null)if(_t(o.value,l)){if(o.children===s.children&&!rt.current){t=Sn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=vn(-1,n&-n),c.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var h=u.pending;h===null?c.next=c:(c.next=h.next,h.next=c),u.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Dc(o.return,n,t),a.lanes|=n;break}c=c.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(R(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Dc(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}qe(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,us(t,n),s=bt(s),r=r(s),t.flags|=1,qe(e,t,r,n),t.child;case 14:return r=t.type,s=kt(r,t.pendingProps),s=kt(r.type,s),ap(e,t,r,s,n);case 15:return hv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:kt(r,s),Hi(e,t),t.tag=1,st(r)?(e=!0,ul(t)):e=!1,us(t,n),dv(t,r,s),Lc(t,r,s,n),Vc(null,t,r,!0,e,n);case 19:return xv(e,t,n);case 22:return mv(e,t,n)}throw Error(R(156,t.tag))};function _v(e,t){return am(e,t)}function sS(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 jt(e,t,n,r){return new sS(e,t,n,r)}function jd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function oS(e){if(typeof e=="function")return jd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Vu)return 11;if(e===Bu)return 14}return 2}function er(e,t){var n=e.alternate;return n===null?(n=jt(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 Ki(e,t,n,r,s,o){var l=2;if(r=e,typeof e=="function")jd(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case qr:return Er(n.children,s,o,t);case $u:l=8,s|=8;break;case ac:return e=jt(12,n,t,s|2),e.elementType=ac,e.lanes=o,e;case cc:return e=jt(13,n,t,s),e.elementType=cc,e.lanes=o,e;case uc:return e=jt(19,n,t,s),e.elementType=uc,e.lanes=o,e;
vendor: 10,024 bytes, lines 40-48
40case Wh:return Gl(n,s,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Uh:l=10;break e;case Hh:l=9;break e;case Vu:l=11;break e;case Bu:l=14;break e;case An:l=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=jt(l,n,t,s),t.elementType=e,t.type=r,t.lanes=o,t}function Er(e,t,n,r){return e=jt(7,e,r,t),e.lanes=n,e}function Gl(e,t,n,r){return e=jt(22,e,r,t),e.elementType=Wh,e.lanes=n,e.stateNode={isHidden:!1},e}function Ua(e,t,n){return e=jt(6,e,null,t),e.lanes=n,e}function Ha(e,t,n){return t=jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function iS(e,t,n,r,s){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=ba(0),this.expirationTimes=ba(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ba(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Cd(e,t,n,r,s,o,l,a,c){return e=new iS(e,t,n,a,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=jt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},id(o),e}function lS(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Gr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Dv(e){if(!e)return nr;e=e._reactInternals;e:{if($r(e)!==e||e.tag!==1)throw Error(R(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(st(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(R(171))}if(e.tag===1){var n=e.type;if(st(n))return Dm(e,n,t)}return t}function Fv(e,t,n,r,s,o,l,a,c){return e=Cd(n,r,!0,e,s,o,l,a,c),e.context=Dv(null),n=e.current,r=Ye(),s=Jn(n),o=vn(r,s),o.callback=t??null,Xn(n,o,s),e.current.lanes=s,ei(e,s,r),ot(e,r),e}function ql(e,t,n,r){var s=t.current,o=Ye(),l=Jn(s);return n=Dv(n),t.context===null?t.context=n:t.pendingContext=n,t=vn(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Xn(s,t,l),e!==null&&(Ot(e,s,l,o),Vi(e,s,l)),l}function Cl(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 wp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function bd(e,t){wp(e,t),(e=e.alternate)&&wp(e,t)}function aS(){return null}var Lv=typeof reportError=="function"?reportError:function(e){console.error(e)};function Nd(e){this._internalRoot=e}Yl.prototype.render=Nd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));ql(e,t,null,null)};Yl.prototype.unmount=Nd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ar(function(){ql(null,e,null,null)}),t[xn]=null}};function Yl(e){this._internalRoot=e}Yl.prototype.unstable_scheduleHydration=function(e){if(e){var t=mm();e={blockedOn:null,target:e,priority:t};for(var n=0;n<On.length&&t!==0&&t<On[n].priority;n++);On.splice(n,0,e),n===0&&gm(e)}};function Ed(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Xl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Sp(){}function cS(e,t,n,r,s){if(s){if(typeof r=="function"){var o=r;r=function(){var u=Cl(l);o.call(u)}}var l=Fv(t,r,e,0,null,!1,!1,"",Sp);return e._reactRootContainer=l,e[xn]=l.current,Fo(e.nodeType===8?e.parentNode:e),Ar(),l}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var a=r;r=function(){var u=Cl(c);a.call(u)}}var c=Cd(e,0,!1,null,null,!1,!1,"",Sp);return e._reactRootContainer=c,e[xn]=c.current,Fo(e.nodeType===8?e.parentNode:e),Ar(function(){ql(t,c,n,r)}),c}function Zl(e,t,n,r,s){var o=n._reactRootContainer;if(o){var l=o;if(typeof s=="function"){var a=s;s=function(){var c=Cl(l);a.call(c)}}ql(t,l,e,s)}else l=cS(n,t,e,s,r);return Cl(l)}pm=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=fo(t.pendingLanes);n!==0&&(Wu(t,n|1),ot(t,be()),!(te&6)&&(Ds=be()+500,ar()))}break;case 13:Ar(function(){var r=wn(e,1);if(r!==null){var s=Ye();Ot(r,e,1,s)}}),bd(e,1)}};Qu=function(e){if(e.tag===13){var t=wn(e,134217728);if(t!==null){var n=Ye();Ot(t,e,134217728,n)}bd(e,134217728)}};hm=function(e){if(e.tag===13){var t=Jn(e),n=wn(e,t);if(n!==null){var r=Ye();Ot(n,e,t,r)}bd(e,t)}};mm=function(){return se};vm=function(e,t){var n=se;try{return se=e,t()}finally{se=n}};wc=function(e,t,n){switch(t){case"input":if(pc(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 s=Bl(r);if(!s)throw Error(R(90));Kh(r),pc(r,s)}}}break;case"textarea":qh(e,n);break;case"select":t=n.value,t!=null&&is(e,!!n.multiple,t,!1)}};nm=xd;rm=Ar;var uS={usingClientEntryPoint:!1,Events:[ni,Jr,Bl,em,tm,xd]},oo={findFiberByHostInstance:mr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},dS={bundleType:oo.bundleType,version:oo.version,rendererPackageName:oo.rendererPackageName,rendererConfig:oo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Nn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=im(e),e===null?null:e.stateNode},findFiberByHostInstance:oo.findFiberByHostInstance||aS,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 Pi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pi.isDisabled&&Pi.supportsFiber)try{Ll=Pi.inject(dS),Zt=Pi}catch{}}mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uS;mt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ed(t))throw Error(R(200));return lS(e,t,null,n)};mt.createRoot=function(e,t){if(!Ed(e))throw Error(R(299));var n=!1,r="",s=Lv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Cd(e,1,!1,null,null,n,!1,r,s),e[xn]=t.current,Fo(e.nodeType===8?e.parentNode:e),new Nd(t)};mt.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(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=im(t),e=e===null?null:e.stateNode,e};mt.flushSync=function(e){return Ar(e)};mt.hydrate=function(e,t,n){if(!Xl(t))throw Error(R(200));return Zl(null,e,t,!0,n)};mt.hydrateRoot=function(e,t,n){if(!Ed(e))throw Error(R(405));var r=n!=null&&n.hydratedSources||null,s=!1,o="",l=Lv;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=Fv(t,null,e,1,n??null,s,!1,o,l),e[xn]=t.current,Fo(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new Yl(t)};mt.render=function(e,t,n){if(!Xl(t))throw Error(R(200));return Zl(null,e,t,!1,n)};mt.unmountComponentAtNode=function(e){if(!Xl(e))throw Error(R(40));return e._reactRootContainer?(Ar(function(){Zl(null,null,e,!1,function(){e._reactRootContainer=null,e[xn]=null})}),!0):!1};mt.unstable_batchedUpdates=xd;mt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xl(n))throw Error(R(200));if(e==null||e._reactInternals===void 0)throw Error(R(38));return Zl(e,t,n,!1,r)};mt.version="18.3.1-next-f1338f8080-20240426";function zv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(zv)}catch(e){console.error(e)}}zv(),zh.exports=mt;var Vr=zh.exports;const fS=Eh(Vr);var $v,jp=Vr;$v=jp.createRoot,jp.hydrateRoot;function pS(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,s,o,l=[],a="",c=e.split("/");for(c[0]||c.shift();s=c.shift();)n=s[0],n==="*"?(l.push(n),a+=s[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=s.indexOf("?",1),o=s.indexOf(".",1),l.push(s.substring(1,~r?r:~o?o:s.length)),a+=~r&&!~o?"(?:/([^/]+?))?":"/([^/]+?)",~o&&(a+=(~r?"?":"")+"\\"+s.substring(o))):a+="/"+s;return{keys:l,pattern:new RegExp("^"+a+(t?"(?=$|/)":"/?$"),"i")}}var Vv={exports:{}},Bv={};/** 41 * @license React 42 * use-sync-external-store-shim.production.min.js 43 * 44 * Copyright (c) Facebook, Inc. and its affiliates. 45 * 46 * This source code is licensed under the MIT license found in the 47 * LICENSE file in the root directory of this source tree. 48 */var Fs=f;function hS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var mS=typeof Object.is=="function"?Object.is:hS,vS=Fs.useState,gS=Fs.useEffect,yS=Fs.useLayoutEffect,xS=Fs.useDebugValue;function wS(e,t){var n=t(),r=vS({inst:{value:n,getSnapshot:t}}),s=r[0].inst,o=r[1];return yS(function(){s.value=n,s.getSnapshot=t,Wa(s)&&o({inst:s})},[e,n,t]),gS(function(){return Wa(s)&&o({inst:s}),e(function(){Wa(s)&&o({inst:s})})},[e]),xS(n),n}function Wa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!mS(e,n)}catch{return!0}}function SS(e,t){return t()}var jS=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?SS:wS;Bv.useSyncExternalStore=Fs.useSyncExternalStore!==void 0?Fs.useSyncExternalStore:jS;
48Vv.exports=Bv;var CS=Vv.exports;const bS=Fh.useInsertionEffect,NS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ES=NS?f.useLayoutEffect:f.useEffect,PS=bS||ES,Uv=e=>{const t=f.useRef([e,(...n)=>t[0](...n)]).current;return PS(()=>{t[0]=e}),t[1]},kS="popstate",Pd="pushState",kd="replaceState",TS="hashchange",Cp=[kS,Pd,kd,TS],RS=e=>{for(const t of Cp)addEventListener(t,e);return()=>{for(const t of Cp)removeEventListener(t,e)}},Hv=(e,t)=>CS.useSyncExternalStore(RS,e,t),IS=()=>location.search,AS=({ssrSearch:e=""}={})=>Hv(IS,()=>e),bp=()=>location.pathname,MS=({ssrPath:e}={})=>Hv(bp,e?()=>e:bp),OS=(e,{replace:t=!1,state:n=null}={})=>history[t?kd:Pd](n,"",e),_S=(e={})=>[MS(e),OS],Np=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Np]>"u"){for(const e of[Pd,kd]){const t=history[e];history[e]=function(){const n=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),n}}Object.defineProperty(window,Np,{value:!0})}const DS=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",Wv=(e="")=>e==="/"?"":e,FS=(e,t)=>e[0]==="~"?e.slice(1):Wv(t)+e,LS=(e="",t)=>DS(Ep(Wv(e)),Ep(t)),Ep=e=>{try{return decodeURI(e)}catch{return e}},Qv={hook:_S,searchHook:AS,parser:pS,base:"",ssrPath:void 0,ssrSearch:void 0,hrefs:e=>e},Kv=f.createContext(Qv),Jl=()=>f.useContext(Kv),Gv={},qv=f.createContext(Gv),zS=()=>f.useContext(qv),Td=e=>{const[t,n]=e.hook(e);return[LS(e.base,t),Uv((r,s)=>n(FS(r,e.base),s))]},Yv=(e,t,n,r)=>{const{pattern:s,keys:o}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),l=s.exec(n)||[],[a,...c]=l;return a!==void 0?[!0,(()=>{const u=o!==!1?Object.fromEntries(o.map((d,p)=>[d,c[p]])):l.groups;let h={...c};return u&&Object.assign(h,u),h})(),...r?[a]:[]]:[!1,null]},$S=({children:e,...t})=>{var h,d;const n=Jl(),r=t.hook?Qv:n;let s=r;const[o,l]=((h=t.ssrPath)==null?void 0:h.split("?"))??[];l&&(t.ssrSearch=l,t.ssrPath=o),t.hrefs=t.hrefs??((d=t.hook)==null?void 0:d.hrefs);let a=f.useRef({}),c=a.current,u=c;for(let p in r){const x=p==="base"?r[p]+(t[p]||""):t[p]||r[p];c===u&&x!==u[p]&&(a.current=u={...u}),u[p]=x,x!==r[p]&&(s=u)}return f.createElement(Kv.Provider,{value:s,children:e})},Pp=({children:e,component:t},n)=>t?f.createElement(t,{params:n}):typeof e=="function"?e(n):e,VS=e=>{let t=f.useRef(Gv),n=t.current;for(const r in e)e[r]!==n[r]&&(n=e);return Object.keys(e).length===0&&(n=e),t.current=n},io=({path:e,nest:t,match:n,...r})=>{const s=Jl(),[o]=Td(s),[l,a,c]=n??Yv(s.parser,e,o,t),u=VS({...zS(),...a});if(!l)return null;const h=c?f.createElement($S,{base:c},Pp(r,u)):Pp(r,u);return f.createElement(qv.Provider,{value:u,children:h})},kp=f.forwardRef((e,t)=>{const n=Jl(),[r,s]=Td(n),{to:o="",href:l=o,onClick:a,asChild:c,children:u,className:h,replace:d,state:p,...x}=e,S=Uv(w=>{w.ctrlKey||w.metaKey||w.altKey||w.shiftKey||w.button!==0||(a==null||a(w),w.defaultPrevented||(w.preventDefault(),s(l,e)))}),v=n.hrefs(l[0]==="~"?l.slice(1):n.base+l,n);return c&&f.isValidElement(u)?f.cloneElement(u,{onClick:S,href:v}):f.createElement("a",{...x,onClick:S,href:v,className:h!=null&&h.call?h(r===l):h,children:u,ref:t})}),Xv=e=>Array.isArray(e)?e.flatMap(t=>Xv(t&&t.type===f.Fragment?t.props.children:t)):[e],BS=({children:e,location:t})=>{const n=Jl(),[r]=Td(n);for(const s of Xv(e)){let o=0;if(f.isValidElement(s)&&(o=Yv(n.parser,s.props.path,t||r,s.props.nest))[0])return f.cloneElement(s,{match:o})}return null};var Hs=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(){}},Mr=typeof window>"u"||"Deno"in globalThis;function yt(){}function US(e,t){return typeof e=="function"?e(t):e}function Jc(e){return typeof e=="number"&&e>=0&&e!==1/0}function Zv(e,t){return Math.max(e+(t||0)-Date.now(),0)}function fs(e,t){return typeof e=="function"?e(t):e}function At(e,t){return typeof e=="function"?e(t):e}function Tp(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:o,queryKey:l,stale:a}=e;if(l){if(r){if(t.queryHash!==Rd(l,t.options))return!1}else if(!Qo(t.queryKey,l))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||s&&s!==t.state.fetchStatus||o&&!o(t))}function Rp(e,t){const{exact:n,status:r,predicate:s,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Or(t.options.mutationKey)!==Or(o))return!1}else if(!Qo(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Rd(e,t){return((t==null?void 0:t.queryKeyHashFn)||Or)(e)}function Or(e){return JSON.stringify(e,(t,n)=>eu(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Qo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Qo(e[n],t[n])):!1}function Jv(e,t){if(e===t)return e;const n=Ip(e)&&Ip(t);if(n||eu(e)&&eu(t)){const r=n?e:Object.keys(e),s=r.length,o=n?t:Object.keys(t),l=o.length,a=n?[]:{};let c=0;for(let u=0;u<l;u++){const h=n?u:o[u];(!n&&r.includes(h)||n)&&e[h]===void 0&&t[h]===void 0?(a[h]=void 0,c++):(a[h]=Jv(e[h],t[h]),a[h]===e[h]&&e[h]!==void 0&&c++)}return s===l&&c===s?e:a}return t}function bl(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Ip(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function eu(e){if(!Ap(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ap(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ap(e){return Object.prototype.toString.call(e)==="[object Object]"}function HS(e){return new Promise(t=>{setTimeout(t,e)})}function tu(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Jv(e,t):t}function WS(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function QS(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Id=Symbol();function eg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Id?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var yr,Dn,gs,vh,KS=(vh=class extends Hs{constructor(){super();V(this,yr);V(this,Dn);V(this,gs);_(this,gs,t=>{if(!Mr&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){b(this,Dn)||this.setEventListener(b(this,gs))}onUnsubscribe(){var t;this.hasListeners()||((t=b(this,Dn))==null||t.call(this),_(this,Dn,void 0))}setEventListener(t){var n;_(this,gs,t),(n=b(this,Dn))==null||n.call(this),_(this,Dn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){b(this,yr)!==t&&(_(this,yr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 33,174 bytes, line 48
48this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof b(this,yr)=="boolean"?b(this,yr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},yr=new WeakMap,Dn=new WeakMap,gs=new WeakMap,vh),Ad=new KS,ys,Fn,xs,gh,GS=(gh=class extends Hs{constructor(){super();V(this,ys,!0);V(this,Fn);V(this,xs);_(this,xs,t=>{if(!Mr&&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(){b(this,Fn)||this.setEventListener(b(this,xs))}onUnsubscribe(){var t;this.hasListeners()||((t=b(this,Fn))==null||t.call(this),_(this,Fn,void 0))}setEventListener(t){var n;_(this,xs,t),(n=b(this,Fn))==null||n.call(this),_(this,Fn,t(this.setOnline.bind(this)))}setOnline(t){b(this,ys)!==t&&(_(this,ys,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return b(this,ys)}},ys=new WeakMap,Fn=new WeakMap,xs=new WeakMap,gh),Nl=new GS;function nu(){let e,t;const n=new Promise((s,o)=>{e=s,t=o});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function qS(e){return Math.min(1e3*2**e,3e4)}function tg(e){return(e??"online")==="online"?Nl.isOnline():!0}var ng=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Qa(e){return e instanceof ng}function rg(e){let t=!1,n=0,r=!1,s;const o=nu(),l=v=>{var w;r||(p(new ng(v)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},c=()=>{t=!1},u=()=>Ad.isFocused()&&(e.networkMode==="always"||Nl.isOnline())&&e.canRun(),h=()=>tg(e.networkMode)&&e.canRun(),d=v=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,v),s==null||s(),o.resolve(v))},p=v=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,v),s==null||s(),o.reject(v))},x=()=>new Promise(v=>{var w;s=g=>{(r||u())&&v(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var v;s=void 0,r||(v=e.onContinue)==null||v.call(e)}),S=()=>{if(r)return;let v;const w=n===0?e.initialPromise:void 0;try{v=w??e.fn()}catch(g){v=Promise.reject(g)}Promise.resolve(v).then(d).catch(g=>{var C;if(r)return;const m=e.retry??(Mr?0:3),y=e.retryDelay??qS,j=typeof y=="function"?y(n,g):y,E=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!E){p(g);return}n++,(C=e.onFail)==null||C.call(e,n,g),HS(j).then(()=>u()?void 0:x()).then(()=>{t?p(g):S()})})};return{promise:o,cancel:l,continue:()=>(s==null||s(),o),cancelRetry:a,continueRetry:c,canStart:h,start:()=>(h()?S():x().then(S),o)}}function YS(){let e=[],t=0,n=a=>{a()},r=a=>{a()},s=a=>setTimeout(a,0);const o=a=>{t?e.push(a):s(()=>{n(a)})},l=()=>{const a=e;e=[],a.length&&s(()=>{r(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||l()}return c},batchCalls:a=>(...c)=>{o(()=>{a(...c)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var Re=YS(),xr,yh,sg=(yh=class{constructor(){V(this,xr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Jc(this.gcTime)&&_(this,xr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Mr?1/0:5*60*1e3))}clearGcTimeout(){b(this,xr)&&(clearTimeout(b(this,xr)),_(this,xr,void 0))}},xr=new WeakMap,yh),ws,Ss,gt,Ve,qo,wr,Tt,ln,xh,XS=(xh=class extends sg{constructor(t){super();V(this,Tt);V(this,ws);V(this,Ss);V(this,gt);V(this,Ve);V(this,qo);V(this,wr);_(this,wr,!1),_(this,qo,t.defaultOptions),this.setOptions(t.options),this.observers=[],_(this,gt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,_(this,ws,ZS(this.options)),this.state=t.state??b(this,ws),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=b(this,Ve))==null?void 0:t.promise}setOptions(t){this.options={...b(this,qo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&b(this,gt).remove(this)}setData(t,n){const r=tu(this.state.data,t,this.options);return q(this,Tt,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){q(this,Tt,ln).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=b(this,Ve))==null?void 0:r.promise;return(s=b(this,Ve))==null||s.cancel(t),n?n.then(yt).catch(yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(b(this,ws))}isActive(){return this.observers.some(t=>At(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Id||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Zv(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=b(this,Ve))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=b(this,Ve))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),b(this,gt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(b(this,Ve)&&(b(this,wr)?b(this,Ve).cancel({revert:!0}):b(this,Ve).cancelRetry()),this.scheduleGc()),b(this,gt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||q(this,Tt,ln).call(this,{type:"invalidate"})}fetch(t,n){var c,u,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(b(this,Ve))return b(this,Ve).continueRetry(),b(this,Ve).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,s=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(_(this,wr,!0),r.signal)})},o=()=>{const d=eg(this.options,n),p={queryKey:this.queryKey,meta:this.meta};return s(p),_(this,wr,!1),this.options.persister?this.options.persister(d,p,this):d(p)},l={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};s(l),(c=this.options.behavior)==null||c.onFetch(l,this),_(this,Ss,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=l.fetchOptions)==null?void 0:u.meta))&&q(this,Tt,ln).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const a=d=>{var p,x,S,v;Qa(d)&&d.silent||q(this,Tt,ln).call(this,{type:"error",error:d}),Qa(d)||((x=(p=b(this,gt).config).onError)==null||x.call(p,d,this),(v=(S=b(this,gt).config).onSettled)==null||v.call(S,this.state.data,d,this)),this.scheduleGc()};return _(this,Ve,rg({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var p,x,S,v;if(d===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(w){a(w);return}(x=(p=b(this,gt).config).onSuccess)==null||x.call(p,d,this),(v=(S=b(this,gt).config).onSettled)==null||v.call(S,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,p)=>{q(this,Tt,ln).call(this,{type:"failed",failureCount:d,error:p})},onPause:()=>{q(this,Tt,ln).call(this,{type:"pause"})},onContinue:()=>{q(this,Tt,ln).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),b(this,Ve).start()}},ws=new WeakMap,Ss=new WeakMap,gt=new WeakMap,Ve=new WeakMap,qo=new WeakMap,wr=new WeakMap,Tt=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,...og(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...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 s=t.error;return Qa(s)&&s.revert&&b(this,Ss)?{...b(this,Ss),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Re.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),b(this,gt).notify({query:this,type:"updated",action:t})})},xh);function og(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ZS(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,wh,JS=(wh=class extends Hs{constructor(t={}){super();V(this,Ht);this.config=t,_(this,Ht,new Map)}build(t,n,r){const s=n.queryKey,o=n.queryHash??Rd(s,n);let l=this.get(o);return l||(l=new XS({cache:this,queryKey:s,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(l)),l}add(t){b(this,Ht).has(t.queryHash)||(b(this,Ht).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=b(this,Ht).get(t.queryHash);n&&(t.destroy(),n===t&&b(this,Ht).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Re.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return b(this,Ht).get(t)}getAll(){return[...b(this,Ht).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Tp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Tp(t,r)):n}notify(t){Re.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Re.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Re.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ht=new WeakMap,wh),Wt,Ke,Sr,Qt,Rn,Sh,ej=(Sh=class extends sg{constructor(t){super();V(this,Qt);V(this,Wt);V(this,Ke);V(this,Sr);this.mutationId=t.mutationId,_(this,Ke,t.mutationCache),_(this,Wt,[]),this.state=t.state||ig(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){b(this,Wt).includes(t)||(b(this,Wt).push(t),this.clearGcTimeout(),b(this,Ke).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){_(this,Wt,b(this,Wt).filter(n=>n!==t)),this.scheduleGc(),b(this,Ke).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){b(this,Wt).length||(this.state.status==="pending"?this.scheduleGc():b(this,Ke).remove(this))}continue(){var t;return((t=b(this,Sr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,l,a,c,u,h,d,p,x,S,v,w,g,m,y,j,E,C,N;_(this,Sr,rg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,T)=>{q(this,Qt,Rn).call(this,{type:"failed",failureCount:P,error:T})},onPause:()=>{q(this,Qt,Rn).call(this,{type:"pause"})},onContinue:()=>{q(this,Qt,Rn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>b(this,Ke).canRun(this)}));const n=this.state.status==="pending",r=!b(this,Sr).canStart();try{if(!n){q(this,Qt,Rn).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(s=b(this,Ke).config).onMutate)==null?void 0:o.call(s,t,this));const T=await((a=(l=this.options).onMutate)==null?void 0:a.call(l,t));T!==this.state.context&&q(this,Qt,Rn).call(this,{type:"pending",context:T,variables:t,isPaused:r})}const P=await b(this,Sr).start();return await((u=(c=b(this,Ke).config).onSuccess)==null?void 0:u.call(c,P,t,this.state.context,this)),await((d=(h=this.options).onSuccess)==null?void 0:d.call(h,P,t,this.state.context)),await((x=(p=b(this,Ke).config).onSettled)==null?void 0:x.call(p,P,null,this.state.variables,this.state.context,this)),await((v=(S=this.options).onSettled)==null?void 0:v.call(S,P,null,t,this.state.context)),q(this,Qt,Rn).call(this,{type:"success",data:P}),P}catch(P){try{throw await((g=(w=b(this,Ke).config).onError)==null?void 0:g.call(w,P,t,this.state.context,this)),await((y=(m=this.options).onError)==null?void 0:y.call(m,P,t,this.state.context)),await((E=(j=b(this,Ke).config).onSettled)==null?void 0:E.call(j,void 0,P,this.state.variables,this.state.context,this)),await((N=(C=this.options).onSettled)==null?void 0:N.call(C,void 0,P,t,this.state.context)),P}finally{q(this,Qt,Rn).call(this,{type:"error",error:P})}}finally{b(this,Ke).runNext(this)}}},Wt=new WeakMap,Ke=new WeakMap,Sr=new WeakMap,Qt=new WeakSet,Rn=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),Re.batch(()=>{b(this,Wt).forEach(r=>{r.onMutationUpdate(t)}),b(this,Ke).notify({mutation:this,type:"updated",action:t})})},Sh);function ig(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var at,Yo,jh,tj=(jh=class extends Hs{constructor(t={}){super();V(this,at);V(this,Yo);this.config=t,_(this,at,new Map),_(this,Yo,Date.now())}build(t,n,r){const s=new ej({mutationCache:this,mutationId:++ui(this,Yo)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){const n=ki(t),r=b(this,at).get(n)??[];r.push(t),b(this,at).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=ki(t);if(b(this,at).has(n)){const s=(r=b(this,at).get(n))==null?void 0:r.filter(o=>o!==t);s&&(s.length===0?b(this,at).delete(n):b(this,at).set(n,s))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=b(this,at).get(ki(t)))==null?void 0:r.find(s=>s.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=b(this,at).get(ki(t)))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Re.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...b(this,at).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Rp(n,r))}findAll(t={}){return this.getAll().filter(n=>Rp(t,n))}notify(t){Re.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Re.batch(()=>Promise.all(t.map(n=>n.continue().catch(yt))))}},at=new WeakMap,Yo=new WeakMap,jh);function ki(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Mp(e){return{onFetch:(t,n)=>{var h,d,p,x,S;const r=t.options,s=(p=(d=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:d.fetchMore)==null?void 0:p.direction,o=((x=t.state.data)==null?void 0:x.pages)||[],l=((S=t.state.data)==null?void 0:S.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const u=async()=>{let v=!1;const w=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},g=eg(t.options,t.fetchOptions),m=async(y,j,E)=>{if(v)return Promise.reject();if(j==null&&y.pages.length)return Promise.resolve(y);const C={queryKey:t.queryKey,pageParam:j,direction:E?"backward":"forward",meta:t.options.meta};w(C);const N=await g(C),{maxPages:P}=t.options,T=E?QS:WS;return{pages:T(y.pages,N,P),pageParams:T(y.pageParams,j,P)}};if(s&&o.length){const y=s==="backward",j=y?nj:Op,E={pages:o,pageParams:l},C=j(r,E);a=await m(E,C,y)}else{const y=e??o.length;do{const j=c===0?l[0]??r.initialPageParam:Op(r,a);if(c>0&&j==null)break;a=await m(a,j),c++}while(c<y)}return a};t.options.persister?t.fetchFn=()=>{var v,w;return(w=(v=t.options).persister)==null?void 0:w.call(v,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Op(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 nj(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 je,Ln,zn,js,Cs,$n,bs,Ns,Ch,rj=(Ch=class{constructor(e={}){V(this,je);V(this,Ln);V(this,zn);V(this,js);V(this,Cs);V(this,$n);V(this,bs);V(this,Ns);_(this,je,e.queryCache||new JS),_(this,Ln,e.mutationCache||new tj),_(this,zn,e.defaultOptions||{}),_(this,js,new Map),_(this,Cs,new Map),_(this,$n,0)}mount(){ui(this,$n)._++,b(this,$n)===1&&(_(this,bs,Ad.subscribe(async e=>{e&&(await this.resumePausedMutations(),b(this,je).onFocus())})),_(this,Ns,Nl.subscribe(async e=>{e&&(await this.resumePausedMutations(),b(this,je).onOnline())})))}unmount(){var e,t;ui(this,$n)._--,b(this,$n)===0&&((e=b(this,bs))==null||e.call(this),_(this,bs,void 0),(t=b(this,Ns))==null||t.call(this),_(this,Ns,void 0))}isFetching(e){return b(this,je).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return b(this,Ln).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=b(this,je).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=b(this,je).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(fs(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return b(this,je).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=b(this,je).get(r.queryHash),o=s==null?void 0:s.state.data,l=US(t,o);if(l!==void 0)return b(this,je).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Re.batch(()=>b(this,je).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=b(this,je).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=b(this,je);Re.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=b(this,je),r={type:"active",...e};return Re.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Re.batch(()=>b(this,je).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(yt).catch(yt)}invalidateQueries(e={},t={}){return Re.batch(()=>{if(b(this,je).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Re.batch(()=>b(this,je).findAll(e).filter(s=>!s.isDisabled()).map(s=>{let o=s.fetch(void 0,n);return n.throwOnError||(o=o.catch(yt)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(yt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=b(this,je).build(this,t);return n.isStaleByTime(fs(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(yt).catch(yt)}fetchInfiniteQuery(e){return e.behavior=Mp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(yt).catch(yt)}ensureInfiniteQueryData(e){return e.behavior=Mp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Nl.isOnline()?b(this,Ln).resumePausedMutations():Promise.resolve()}getQueryCache(){return b(this,je)}getMutationCache(){return b(this,Ln)}getDefaultOptions(){return b(this,zn)}setDefaultOptions(e){_(this,zn,e)}setQueryDefaults(e,t){b(this,js).set(Or(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...b(this,js).values()];let n={};return t.forEach(r=>{Qo(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){b(this,Cs).set(Or(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...b(this,Cs).values()];let n={};return t.forEach(r=>{Qo(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...b(this,zn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Rd(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.enabled!==!0&&t.queryFn===Id&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...b(this,zn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){b(this,je).clear(),b(this,Ln).clear()}},je=new WeakMap,Ln=new WeakMap,zn=new WeakMap,js=new WeakMap,Cs=new WeakMap,$n=new WeakMap,bs=new WeakMap,Ns=new WeakMap,Ch),Je,Z,Xo,Ge,jr,Es,Vn,Kt,Zo,Ps,ks,Cr,br,Bn,Ts,re,ho,ru,su,ou,iu,lu,au,cu,lg,bh,sj=(bh=class extends Hs{constructor(t,n){super();V(this,re);V(this,Je);V(this,Z);V(this,Xo);V(this,Ge);V(this,jr);V(this,Es);V(this,Vn);V(this,Kt);V(this,Zo);V(this,Ps);V(this,ks);V(this,Cr);V(this,br);V(this,Bn);V(this,Ts,new Set);this.options=n,_(this,Je,t),_(this,Kt,null),_(this,Vn,nu()),this.options.experimental_prefetchInRender||b(this,Vn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(b(this,Z).addObserver(this),_p(b(this,Z),this.options)?q(this,re,ho).call(this):this.updateResult(),q(this,re,iu).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return uu(b(this,Z),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return uu(b(this,Z),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,q(this,re,lu).call(this),q(this,re,au).call(this),b(this,Z).removeObserver(this)}setOptions(t,n){const r=this.options,s=b(this,Z);if(this.options=b(this,Je).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof At(this.options.enabled,b(this,Z))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");q(this,re,cu).call(this),b(this,Z).setOptions(this.options),r._defaulted&&!bl(this.options,r)&&b(this,Je).getQueryCache().notify({type:"observerOptionsUpdated",query:b(this,Z),observer:this});const o=this.hasListeners();o&&Dp(b(this,Z),s,this.options,r)&&q(this,re,ho).call(this),this.updateResult(n),o&&(b(this,Z)!==s||At(this.options.enabled,b(this,Z))!==At(r.enabled,b(this,Z))||fs(this.options.staleTime,b(this,Z))!==fs(r.staleTime,b(this,Z)))&&q(this,re,ru).call(this);const l=q(this,re,su).call(this);o&&(b(this,Z)!==s||At(this.options.enabled,b(this,Z))!==At(r.enabled,b(this,Z))||l!==b(this,Bn))&&q(this,re,ou).call(this,l)}getOptimisticResult(t){const n=b(this,Je).getQueryCache().build(b(this,Je),t),r=this.createResult(n,t);return ij(this,r)&&(_(this,Ge,r),_(this,Es,this.options),_(this,jr,b(this,Z).state)),r}getCurrentResult(){return b(this,Ge)}trackResult(t,n){const r={};return Object.keys(t).forEach(s=>{Object.defineProperty(r,s,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(s),n==null||n(s),t[s])})}),r}trackProp(t){b(this,Ts).add(t)}getCurrentQuery(){return b(this,Z)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=b(this,Je).defaultQueryOptions(t),r=b(this,Je).getQueryCache().build(b(this,Je),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return q(this,re,ho).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),b(this,Ge)))}createResult(t,n){var P;const r=b(this,Z),s=this.options,o=b(this,Ge),l=b(this,jr),a=b(this,Es),u=t!==r?t.state:b(this,Xo),{state:h}=t;let d={...h},p=!1,x;if(n._optimisticResults){const T=this.hasListeners(),I=!T&&_p(t,n),D=T&&Dp(t,r,n,s);(I||D)&&(d={...d,...og(h.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:S,errorUpdatedAt:v,status:w}=d;if(n.select&&d.data!==void 0)if(o&&d.data===(l==null?void 0:l.data)&&n.select===b(this,Zo))x=b(this,Ps);else try{_(this,Zo,n.select),x=n.select(d.data),x=tu(o==null?void 0:o.data,x,n),_(this,Ps,x),_(this,Kt,null)}catch(T){_(this,Kt,T)}else x=d.data;if(n.placeholderData!==void 0&&x===void 0&&w==="pending"){let T;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))T=o.data;else if(T=typeof n.placeholderData=="function"?n.placeholderData((P=b(this,ks))==null?void 0:P.state.data,b(this,ks)):n.placeholderData,n.select&&T!==void 0)try{T=n.select(T),_(this,Kt,null)}catch(I){_(this,Kt,I)}T!==void 0&&(w="success",x=tu(o==null?void 0:o.data,T,n),p=!0)}b(this,Kt)&&(S=b(this,Kt),x=b(this,Ps),v=Date.now(),w="error");const g=d.fetchStatus==="fetching",m=w==="pending",y=w==="error",j=m&&g,E=x!==void 0,N={status:w,fetchStatus:d.fetchStatus,isPending:m,isSuccess:w==="success",isError:y,isInitialLoading:j,isLoading:j,data:x,dataUpdatedAt:d.dataUpdatedAt,error:S,errorUpdatedAt:v,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:g,isRefetching:g&&!m,isLoadingError:y&&!E,isPaused:d.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:y&&E,isStale:Md(t,n),refetch:this.refetch,promise:b(this,Vn)};if(this.options.experimental_prefetchInRender){const T=O=>{N.status==="error"?O.reject(N.error):N.data!==void 0&&O.resolve(N.data)},I=()=>{const O=_(this,Vn,N.promise=nu());T(O)},D=b(this,Vn);switch(D.status){case"pending":t.queryHash===r.queryHash&&T(D);break;case"fulfilled":(N.status==="error"||N.data!==D.value)&&I();break;case"rejected":(N.status!=="error"||N.error!==D.reason)&&I();break}}return N}updateResult(t){const n=b(this,Ge),r=this.createResult(b(this,Z),this.options);if(_(this,jr,b(this,Z).state),_(this,Es,this.options),b(this,jr).data!==void 0&&_(this,ks,b(this,Z)),bl(r,n))return;_(this,Ge,r);const s={},o=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,a=typeof l=="function"?l():l;if(a==="all"||!a&&!b(this,Ts).size)return!0;const c=new Set(a??b(this,Ts));return this.options.throwOnError&&c.add("error"),Object.keys(b(this,Ge)).some(u=>{const h=u;return b(this,Ge)[h]!==n[h]&&c.has(h)})};(t==null?void 0:t.listeners)!==!1&&o()&&(s.listeners=!0),q(this,re,lg).call(this,{...s,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&q(this,re,iu).call(this)}},Je=new WeakMap,Z=new WeakMap,Xo=new WeakMap,Ge=new WeakMap,jr=new WeakMap,Es=new WeakMap,Vn=new WeakMap,Kt=new WeakMap,Zo=new WeakMap,Ps=new WeakMap,ks=new WeakMap,Cr=new WeakMap,br=new WeakMap,Bn=new WeakMap,Ts=new WeakMap,re=new WeakSet,ho=function(t){q(this,re,cu).call(this);let n=b(this,Z).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(yt)),n},ru=function(){q(this,re,lu).call(this);const t=fs(this.options.staleTime,b(this,Z));if(Mr||b(this,Ge).isStale||!Jc(t))return;const r=Zv(b(this,Ge).dataUpdatedAt,t)+1;_(this,Cr,setTimeout(()=>{b(this,Ge).isStale||this.updateResult()},r))},su=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(b(this,Z)):this.options.refetchInterval)??!1},ou=function(t){q(this,re,au).call(this),_(this,Bn,t),!(Mr||At(this.options.enabled,b(this,Z))===!1||!Jc(b(this,Bn))||b(this,Bn)===0)&&_(this,br,setInterval(()=>{(this.options.refetchIntervalInBackground||Ad.isFocused())&&q(this,re,ho).call(this)},b(this,Bn)))},iu=function(){q(this,re,ru).call(this),q(this,re,ou).call(this,q(this,re,su).call(this))},lu=function(){b(this,Cr)&&(clearTimeout(b(this,Cr)),_(this,Cr,void 0))},au=function(){b(this,br)&&(clearInterval(b(this,br)),_(this,br,void 0))},cu=function(){const t=b(this,Je).getQueryCache().build(b(this,Je),this.options);if(t===b(this,Z))return;const n=b(this,Z);_(this,Z,t),_(this,Xo,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},lg=function(t){Re.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(b(this,Ge))}),b(this,Je).getQueryCache().notify({query:b(this,Z),type:"observerResultsUpdated"})})},bh);function oj(e,t){return At(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function _p(e,t){return oj(e,t)||e.state.data!==void 0&&uu(e,t,t.refetchOnMount)}function uu(e,t,n){if(At(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Md(e,t)}return!1}function Dp(e,t,n,r){return(e!==t||At(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Md(e,n)}function Md(e,t){return At(t.enabled,e)!==!1&&e.isStaleByTime(fs(t.staleTime,e))}function ij(e,t){return!bl(e.getCurrentResult(),t)}var Un,Hn,et,dn,gn,Gi,du,Nh,lj=(Nh=class extends Hs{constructor(n,r){super();V(this,gn);V(this,Un);V(this,Hn);V(this,et);V(this,dn);_(this,Un,n),this.setOptions(r),this.bindMethods(),q(this,gn,Gi).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const r=this.options;this.options=b(this,Un).defaultMutationOptions(n),bl(this.options,r)||b(this,Un).getMutationCache().notify({type:"observerOptionsUpdated",mutation:b(this,et),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&Or(r.mutationKey)!==Or(this.options.mutationKey)?this.reset():((s=b(this,et))==null?void 0:s.state.status)==="pending"&&b(this,et).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=b(this,et))==null||n.removeObserver(this)}onMutationUpdate(n){q(this,gn,Gi).call(this),q(this,gn,du).call(this,n)}getCurrentResult(){return b(this,Hn)}reset(){var n;(n=b(this,et))==null||n.removeObserver(this),_(this,et,void 0),q(this,gn,Gi).call(this),q(this,gn,du).call(this)}mutate(n,r){var s;return _(this,dn,r),(s=b(this,et))==null||s.removeObserver(this),_(this,et,b(this,Un).getMutationCache().build(b(this,Un),this.options)),b(this,et).addObserver(this),b(this,et).execute(n)}},Un=new WeakMap,Hn=new WeakMap,et=new WeakMap,dn=new WeakMap,gn=new WeakSet,Gi=function(){var r;const n=((r=b(this,et))==null?void 0:r.state)??ig();_(this,Hn,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},du=function(n){Re.batch(()=>{var r,s,o,l,a,c,u,h;if(b(this,dn)&&this.hasListeners()){const d=b(this,Hn).variables,p=b(this,Hn).context;(n==null?void 0:n.type)==="success"?((s=(r=b(this,dn)).onSuccess)==null||s.call(r,n.data,d,p),(l=(o=b(this,dn)).onSettled)==null||l.call(o,n.data,null,d,p)):(n==null?void 0:n.type)==="error"&&((c=(a=b(this,dn)).onError)==null||c.call(a,n.error,d,p),(h=(u=b(this,dn)).onSettled)==null||h.call(u,void 0,n.error,d,p))}this.listeners.forEach(d=>{d(b(this,Hn))})})},Nh),ag=f.createContext(void 0),cg=e=>{const t=f.useContext(ag);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},aj=({client:e,children:t})=>(f.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),i.jsx(ag.Provider,{value:e,children:t})),ug=f.createContext(!1),cj=()=>f.useContext(ug);ug.Provider;function uj(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var dj=f.createContext(uj()),fj=()=>f.useContext(dj);function dg(e,t){return typeof e=="function"?e(...t):!!e}function fu(){}var pj=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},hj=e=>{f.useEffect(()=>{e.clearReset()},[e])},mj=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&dg(n,[e.error,r]),vj=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},gj=(e,t)=>e.isLoading&&e.isFetching&&!t,yj=(e,t)=>
48(e==null?void 0:e.suspense)&&t.isPending,Fp=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function xj(e,t,n){var h,d,p,x,S;const r=cg(),s=cj(),o=fj(),l=r.defaultQueryOptions(e);(d=(h=r.getDefaultOptions().queries)==null?void 0:h._experimental_beforeQuery)==null||d.call(h,l),l._optimisticResults=s?"isRestoring":"optimistic",vj(l),pj(l,o),hj(o);const a=!r.getQueryCache().get(l.queryHash),[c]=f.useState(()=>new t(r,l)),u=c.getOptimisticResult(l);if(f.useSyncExternalStore(f.useCallback(v=>{const w=s?fu:c.subscribe(Re.batchCalls(v));return c.updateResult(),w},[c,s]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),f.useEffect(()=>{c.setOptions(l,{listeners:!1})},[l,c]),yj(l,u))throw Fp(l,c,o);if(mj({result:u,errorResetBoundary:o,throwOnError:l.throwOnError,query:r.getQueryCache().get(l.queryHash)}))throw u.error;if((x=(p=r.getDefaultOptions().queries)==null?void 0:p._experimental_afterQuery)==null||x.call(p,l,u),l.experimental_prefetchInRender&&!Mr&&gj(u,s)){const v=a?Fp(l,c,o):(S=r.getQueryCache().get(l.queryHash))==null?void 0:S.promise;v==null||v.catch(fu).finally(()=>{c.updateResult()})}return l.notifyOnChangeProps?u:c.trackResult(u)}function fg(e,t){return xj(e,sj)}function El(e,t){const n=cg(),[r]=f.useState(()=>new lj(n,e));f.useEffect(()=>{r.setOptions(e)},[r,e]);const s=f.useSyncExternalStore(f.useCallback(l=>r.subscribe(Re.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),o=f.useCallback((l,a)=>{r.mutate(l,a).catch(fu)},[r]);if(s.error&&dg(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:o,mutateAsync:s.mutate}}async function pg(e){if(!e.ok){const t=await e.text()||e.statusText;throw new Error(`${e.status}: ${t}`)}}async function ps(e,t,n){const r=await fetch(t,{method:e,headers:n?{"Content-Type":"application/json"}:{},body:n?JSON.stringify(n):void 0,credentials:"include"});return await pg(r),r}const wj=({on401:e})=>async({queryKey:t})=>{const n=await fetch(t[0],{credentials:"include"});return e==="returnNull"&&n.status===401?null:(await pg(n),await n.json())},Sj=new rj({defaultOptions:{queries:{queryFn:wj({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),jj=1,Cj=1e6;let Ka=0;function bj(){return Ka=(Ka+1)%Number.MAX_SAFE_INTEGER,Ka.toString()}const Ga=new Map,Lp=e=>{if(Ga.has(e))return;const t=setTimeout(()=>{Ga.delete(e),ko({type:"REMOVE_TOAST",toastId:e})},Cj);Ga.set(e,t)},Nj=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,jj)};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?Lp(n):e.toasts.forEach(r=>{Lp(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)}}},qi=[];let Yi={toasts:[]};function ko(e){Yi=Nj(Yi,e),qi.forEach(t=>{t(Yi)})}function Ej({...e}){const t=bj(),n=s=>ko({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>ko({type:"DISMISS_TOAST",toastId:t});return ko({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function hg(){const[e,t]=f.useState(Yi);return f.useEffect(()=>(qi.push(t),()=>{const n=qi.indexOf(t);n>-1&&qi.splice(n,1)}),[e]),{...e,toast:Ej,dismiss:n=>ko({type:"DISMISS_TOAST",toastId:n})}}function $(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function zp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function mg(...e){return t=>{let n=!1;const r=e.map(s=>{const o=zp(s,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let s=0;s<r.length;s++){const o=r[s];typeof o=="function"?o():zp(e[s],null)}}}}function ae(...e){return f.useCallback(mg(...e),e)}function Pj(e,t){const n=f.createContext(t),r=o=>{const{children:l,...a}=o,c=f.useMemo(()=>a,Object.values(a));return i.jsx(n.Provider,{value:c,children:l})};r.displayName=e+"Provider";function s(o){const l=f.useContext(n);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,s]}function rn(e,t=[]){let n=[];function r(o,l){const a=f.createContext(l),c=n.length;n=[...n,l];const u=d=>{var g;const{scope:p,children:x,...S}=d,v=((g=p==null?void 0:p[e])==null?void 0:g[c])||a,w=f.useMemo(()=>S,Object.values(S));return i.jsx(v.Provider,{value:w,children:x})};u.displayName=o+"Provider";function h(d,p){var v;const x=((v=p==null?void 0:p[e])==null?void 0:v[c])||a,S=f.useContext(x);if(S)return S;if(l!==void 0)return l;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[u,h]}const s=()=>{const o=n.map(l=>f.createContext(l));return function(a){const c=(a==null?void 0:a[e])||o;return f.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return s.scopeName=e,[r,kj(s,...t)]}function kj(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(o){const l=r.reduce((a,{useScope:c,scopeName:u})=>{const d=c(o)[`__scope${u}`];return{...a,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function Ls(e){const t=Rj(e),n=f.forwardRef((r,s)=>{const{children:o,...l}=r,a=f.Children.toArray(o),c=a.find(Aj);if(c){const u=c.props.children,h=a.map(d=>d===c?f.Children.count(u)>1?f.Children.only(null):f.isValidElement(u)?u.props.children:null:d);return i.jsx(t,{...l,ref:s,children:f.isValidElement(u)?f.cloneElement(u,void 0,h):null})}return i.jsx(t,{...l,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}var Tj=Ls("Slot");function Rj(e){const t=f.forwardRef((n,r)=>{const{children:s,...o}=n;if(f.isValidElement(s)){const l=Oj(s),a=Mj(o,s.props);return s.type!==f.Fragment&&(a.ref=r?mg(r,l):l),f.cloneElement(s,a)}return f.Children.count(s)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var vg=Symbol("radix.slottable");function Ij(e){const t=({children:n})=>i.jsx(i.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=vg,t}function Aj(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vg}function Mj(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...a)=>{o(...a),s(...a)}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}
vendor: 8,564 bytes, line 48
48:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function Oj(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function ea(e){const t=e+"CollectionProvider",[n,r]=rn(t),[s,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=v=>{const{scope:w,children:g}=v,m=Ee.useRef(null),y=Ee.useRef(new Map).current;return i.jsx(s,{scope:w,itemMap:y,collectionRef:m,children:g})};l.displayName=t;const a=e+"CollectionSlot",c=Ls(a),u=Ee.forwardRef((v,w)=>{const{scope:g,children:m}=v,y=o(a,g),j=ae(w,y.collectionRef);return i.jsx(c,{ref:j,children:m})});u.displayName=a;const h=e+"CollectionItemSlot",d="data-radix-collection-item",p=Ls(h),x=Ee.forwardRef((v,w)=>{const{scope:g,children:m,...y}=v,j=Ee.useRef(null),E=ae(w,j),C=o(h,g);return Ee.useEffect(()=>(C.itemMap.set(j,{ref:j,...y}),()=>void C.itemMap.delete(j))),i.jsx(p,{[d]:"",ref:E,children:m})});x.displayName=h;function S(v){const w=o(e+"CollectionConsumer",v);return Ee.useCallback(()=>{const m=w.collectionRef.current;if(!m)return[];const y=Array.from(m.querySelectorAll(`[${d}]`));return Array.from(w.itemMap.values()).sort((C,N)=>y.indexOf(C.ref.current)-y.indexOf(N.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:l,Slot:u,ItemSlot:x},S,r]}var _j=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],U=_j.reduce((e,t)=>{const n=Ls(`Primitive.${t}`),r=f.forwardRef((s,o)=>{const{asChild:l,...a}=s,c=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(c,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function gg(e,t){e&&Vr.flushSync(()=>e.dispatchEvent(t))}function it(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Dj(e,t=globalThis==null?void 0:globalThis.document){const n=it(e);f.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Fj="DismissableLayer",pu="dismissableLayer.update",Lj="dismissableLayer.pointerDownOutside",zj="dismissableLayer.focusOutside",$p,yg=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),si=f.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:l,onDismiss:a,...c}=e,u=f.useContext(yg),[h,d]=f.useState(null),p=(h==null?void 0:h.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,x]=f.useState({}),S=ae(t,N=>d(N)),v=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=v.indexOf(w),m=h?v.indexOf(h):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,j=m>=g,E=Vj(N=>{const P=N.target,T=[...u.branches].some(I=>I.contains(P));!j||T||(s==null||s(N),l==null||l(N),N.defaultPrevented||a==null||a())},p),C=Bj(N=>{const P=N.target;[...u.branches].some(I=>I.contains(P))||(o==null||o(N),l==null||l(N),N.defaultPrevented||a==null||a())},p);return Dj(N=>{m===u.layers.size-1&&(r==null||r(N),!N.defaultPrevented&&a&&(N.preventDefault(),a()))},p),f.useEffect(()=>{if(h)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&($p=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(h)),u.layers.add(h),Vp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=$p)}},[h,p,n,u]),f.useEffect(()=>()=>{h&&(u.layers.delete(h),u.layersWithOutsidePointerEventsDisabled.delete(h),Vp())},[h,u]),f.useEffect(()=>{const N=()=>x({});return document.addEventListener(pu,N),()=>document.removeEventListener(pu,N)},[]),i.jsx(U.div,{...c,ref:S,style:{pointerEvents:y?j?"auto":"none":void 0,...e.style},onFocusCapture:$(e.onFocusCapture,C.onFocusCapture),onBlurCapture:$(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:$(e.onPointerDownCapture,E.onPointerDownCapture)})});si.displayName=Fj;var $j="DismissableLayerBranch",xg=f.forwardRef((e,t)=>{const n=f.useContext(yg),r=f.useRef(null),s=ae(t,r);return f.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),i.jsx(U.div,{...e,ref:s})});xg.displayName=$j;function Vj(e,t=globalThis==null?void 0:globalThis.document){const n=it(e),r=f.useRef(!1),s=f.useRef(()=>{});return f.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let c=function(){wg(Lj,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",o),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Bj(e,t=globalThis==null?void 0:globalThis.document){const n=it(e),r=f.useRef(!1);return f.useEffect(()=>{const s=o=>{o.target&&!r.current&&wg(zj,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Vp(){const e=new CustomEvent(pu);document.dispatchEvent(e)}function wg(e,t,n,{discrete:r}){const s=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?gg(s,o):s.dispatchEvent(o)}var Uj=si,Hj=xg,Fe=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},Wj="Portal",ta=f.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[s,o]=f.useState(!1);Fe(()=>o(!0),[]);const l=n||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return l?fS.createPortal(i.jsx(U.div,{...r,ref:t}),l):null});ta.displayName=Wj;function Qj(e,t){return f.useReducer((n,r)=>t[n][r]??n,e)}var cr=e=>{const{present:t,children:n}=e,r=Kj(t),s=typeof n=="function"?n({present:r.isPresent}):f.Children.only(n),o=ae(r.ref,Gj(s));return typeof n=="function"||r.isPresent?f.cloneElement(s,{ref:o}):null};cr.displayName="Presence";function Kj(e){const[t,n]=f.useState(),r=f.useRef({}),s=f.useRef(e),o=f.useRef("none"),l=e?"mounted":"unmounted",[a,c]=Qj(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const u=Ti(r.current);o.current=a==="mounted"?u:"none"},[a]),Fe(()=>{const u=r.current,h=s.current;if(h!==e){const p=o.current,x=Ti(u);e?c("MOUNT"):x==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(h&&p!==x?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),Fe(()=>{if(t){let u;const h=t.ownerDocument.defaultView??window,d=x=>{const v=Ti(r.current).includes(x.animationName);if(x.target===t&&v&&(c("ANIMATION_END"),!s.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=h.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},p=x=>{x.target===t&&(o.current=Ti(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{h.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:f.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ti(e){return(e==null?void 0:e.animationName)||"none"}function Gj(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function jn({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,s]=qj({defaultProp:t,onChange:n}),o=e!==void 0,l=o?e:r,a=it(n),c=f.useCallback(u=>{if(o){const d=typeof u=="function"?u(e):u;d!==e&&a(d)}else s(u)},[o,e,s,a]);return[l,c]}function qj({defaultProp:e,onChange:t}){const n=f.useState(e),[r]=n,s=f.useRef(r),o=it(t);return f.useEffect(()=>{s.current!==r&&(o(r),s.current=r)},[r,s,o]),n}var Yj="VisuallyHidden",oi=f.forwardRef((e,t)=>
48i.jsx(U.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));oi.displayName=Yj;var Xj=oi,Od="ToastProvider",[_d,Zj,Jj]=ea("Toast"),[Sg,M2]=rn("Toast",[Jj]),[eC,na]=Sg(Od),jg=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:o=50,children:l}=e,[a,c]=f.useState(null),[u,h]=f.useState(0),d=f.useRef(!1),p=f.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Od}\`. Expected non-empty \`string\`.`),i.jsx(_d.Provider,{scope:t,children:i.jsx(eC,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:o,toastCount:u,viewport:a,onViewportChange:c,onToastAdd:f.useCallback(()=>h(x=>x+1),[]),onToastRemove:f.useCallback(()=>h(x=>x-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:p,children:l})})};jg.displayName=Od;var Cg="ToastViewport",tC=["F8"],hu="toast.viewportPause",mu="toast.viewportResume",bg=f.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=tC,label:s="Notifications ({hotkey})",...o}=e,l=na(Cg,n),a=Zj(n),c=f.useRef(null),u=f.useRef(null),h=f.useRef(null),d=f.useRef(null),p=ae(t,d,l.onViewportChange),x=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),S=l.toastCount>0;f.useEffect(()=>{const w=g=>{var y;r.length!==0&&r.every(j=>g[j]||g.code===j)&&((y=d.current)==null||y.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),f.useEffect(()=>{const w=c.current,g=d.current;if(S&&w&&g){const m=()=>{if(!l.isClosePausedRef.current){const C=new CustomEvent(hu);g.dispatchEvent(C),l.isClosePausedRef.current=!0}},y=()=>{if(l.isClosePausedRef.current){const C=new CustomEvent(mu);g.dispatchEvent(C),l.isClosePausedRef.current=!1}},j=C=>{!w.contains(C.relatedTarget)&&y()},E=()=>{w.contains(document.activeElement)||y()};return w.addEventListener("focusin",m),w.addEventListener("focusout",j),w.addEventListener("pointermove",m),w.addEventListener("pointerleave",E),window.addEventListener("blur",m),window.addEventListener("focus",y),()=>{w.removeEventListener("focusin",m),w.removeEventListener("focusout",j),w.removeEventListener("pointermove",m),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",m),window.removeEventListener("focus",y)}}},[S,l.isClosePausedRef]);const v=f.useCallback(({tabbingDirection:w})=>{const m=a().map(y=>{const j=y.ref.current,E=[j,...hC(j)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?m.reverse():m).flat()},[a]);return f.useEffect(()=>{const w=d.current;if(w){const g=m=>{var E,C,N;const y=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!y){const P=document.activeElement,T=m.shiftKey;if(m.target===w&&T){(E=u.current)==null||E.focus();return}const O=v({tabbingDirection:T?"backwards":"forwards"}),H=O.findIndex(M=>M===P);qa(O.slice(H+1))?m.preventDefault():T?(C=u.current)==null||C.focus():(N=h.current)==null||N.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[a,v]),i.jsxs(Hj,{ref:c,role:"region","aria-label":s.replace("{hotkey}",x),tabIndex:-1,style:{pointerEvents:S?void 0:"none"},children:[S&&i.jsx(vu,{ref:u,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});qa(w)}}),i.jsx(_d.Slot,{scope:n,children:i.jsx(U.ol,{tabIndex:-1,...o,ref:p})}),S&&i.jsx(vu,{ref:h,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});qa(w)}})]})});bg.displayName=Cg;var Ng="ToastFocusProxy",vu=f.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,o=na(Ng,n);return i.jsx(oi,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:l=>{var u;const a=l.relatedTarget;!((u=o.viewport)!=null&&u.contains(a))&&r()}})});vu.displayName=Ng;var ra="Toast",nC="toast.swipeStart",rC="toast.swipeMove",sC="toast.swipeCancel",oC="toast.swipeEnd",Eg=f.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:o,...l}=e,[a=!0,c]=jn({prop:r,defaultProp:s,onChange:o});return i.jsx(cr,{present:n||a,children:i.jsx(aC,{open:a,...l,ref:t,onClose:()=>c(!1),onPause:it(e.onPause),onResume:it(e.onResume),onSwipeStart:$(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:$(e.onSwipeMove,u=>{const{x:h,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${h}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:$(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:$(e.onSwipeEnd,u=>{const{x:h,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${h}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),c(!1)})})})});Eg.displayName=ra;var[iC,lC]=Sg(ra,{onClose(){}}),aC=f.forwardRef((e,t)=>
48{const{__scopeToast:n,type:r="foreground",duration:s,open:o,onClose:l,onEscapeKeyDown:a,onPause:c,onResume:u,onSwipeStart:h,onSwipeMove:d,onSwipeCancel:p,onSwipeEnd:x,...S}=e,v=na(ra,n),[w,g]=f.useState(null),m=ae(t,M=>g(M)),y=f.useRef(null),j=f.useRef(null),E=s||v.duration,C=f.useRef(0),N=f.useRef(E),P=f.useRef(0),{onToastAdd:T,onToastRemove:I}=v,D=it(()=>{var Q;(w==null?void 0:w.contains(document.activeElement))&&((Q=v.viewport)==null||Q.focus()),l()}),O=f.useCallback(M=>{!M||M===1/0||(window.clearTimeout(P.current),C.current=new Date().getTime(),P.current=window.setTimeout(D,M))},[D]);f.useEffect(()=>{const M=v.viewport;if(M){const Q=()=>{O(N.current),u==null||u()},L=()=>{const K=new Date().getTime()-C.current;N.current=N.current-K,window.clearTimeout(P.current),c==null||c()};return M.addEventListener(hu,L),M.addEventListener(mu,Q),()=>{M.removeEventListener(hu,L),M.removeEventListener(mu,Q)}}},[v.viewport,E,c,u,O]),f.useEffect(()=>{o&&!v.isClosePausedRef.current&&O(E)},[o,E,v.isClosePausedRef,O]),f.useEffect(()=>(T(),()=>I()),[T,I]);const H=f.useMemo(()=>w?Mg(w):null,[w]);return v.viewport?i.jsxs(i.Fragment,{children:[H&&i.jsx(cC,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),i.jsx(iC,{scope:n,onClose:D,children:Vr.createPortal(i.jsx(_d.ItemSlot,{scope:n,children:i.jsx(Uj,{asChild:!0,onEscapeKeyDown:$(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||D(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:i.jsx(U.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":v.swipeDirection,...S,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:$(e.onKeyDown,M=>{M.key==="Escape"&&(a==null||a(M.nativeEvent),M.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:$(e.onPointerDown,M=>{M.button===0&&(y.current={x:M.clientX,y:M.clientY})}),onPointerMove:$(e.onPointerMove,M=>{if(!y.current)return;const Q=M.clientX-y.current.x,L=M.clientY-y.current.y,K=!!j.current,k=["left","right"].includes(v.swipeDirection),A=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,z=k?A(0,Q):0,W=k?0:A(0,L),oe=M.pointerType==="touch"?10:2,We={x:z,y:W},ke={originalEvent:M,delta:We};K?(j.current=We,Ri(rC,d,ke,{discrete:!1})):Bp(We,v.swipeDirection,oe)?(j.current=We,Ri(nC,h,ke,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(Q)>oe||Math.abs(L)>oe)&&(y.current=null)}),onPointerUp:$(e.onPointerUp,M=>{const Q=j.current,L=M.target;if(L.hasPointerCapture(M.pointerId)&&L.releasePointerCapture(M.pointerId),j.current=null,y.current=null,Q){const K=M.currentTarget,k={originalEvent:M,delta:Q};Bp(Q,v.swipeDirection,v.swipeThreshold)?Ri(oC,x,k,{discrete:!0}):Ri(sC,p,k,{discrete:!0}),K.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),cC=e=>{const{__scopeToast:t,children:n,...r}=e,s=na(ra,t),[o,l]=f.useState(!1),[a,c]=f.useState(!1);return fC(()=>l(!0)),f.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:i.jsx(ta,{asChild:!0,children:i.jsx(oi,{...r,children:o&&i.jsxs(i.Fragment,{children:[s.label," ",n]})})})},uC="ToastTitle",Pg=f.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return i.jsx(U.div,{...r,ref:t})});Pg.displayName=uC;var dC="ToastDescription",kg=f.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return i.jsx(U.div,{...r,ref:t})});kg.displayName=dC;var Tg="ToastAction",Rg=f.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?i.jsx(Ag,{altText:n,asChild:!0,children:i.jsx(Dd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Tg}\`. Expected non-empty \`string\`.`),null)});Rg.displayName=Tg;var Ig="ToastClose",Dd=f.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=lC(Ig,n);return i.jsx(Ag,{asChild:!0,children:i.jsx(U.button,{type:"button",...r,ref:t,onClick:$(e.onClick,s.onClose)})})});Dd.displayName=Ig;var Ag=f.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return i.jsx(U.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function Mg(e){const t=[];
vendor: 4,825 bytes, lines 48-78
48return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),pC(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!s)if(o){const l=r.dataset.radixToastAnnounceAlt;l&&t.push(l)}else t.push(...Mg(r))}}),t}function Ri(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?gg(s,o):s.dispatchEvent(o)}var Bp=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),o=r>s;return t==="left"||t==="right"?o&&r>n:!o&&s>n};function fC(e=()=>{}){const t=it(e);Fe(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function pC(e){return e.nodeType===e.ELEMENT_NODE}function hC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function qa(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var mC=jg,Og=bg,_g=Eg,Dg=Pg,Fg=kg,Lg=Rg,zg=Dd;function $g(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=$g(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Vg(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=$g(e))&&(r&&(r+=" "),r+=t);return r}const Up=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Hp=Vg,ii=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Hp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:o}=t,l=Object.keys(s).map(u=>{const h=n==null?void 0:n[u],d=o==null?void 0:o[u];if(h===null)return null;const p=Up(h)||Up(d);return s[u][p]}),a=n&&Object.entries(n).reduce((u,h)=>{let[d,p]=h;return p===void 0||(u[d]=p),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,h)=>{let{class:d,className:p,...x}=h;return Object.entries(x).every(S=>{let[v,w]=S;return Array.isArray(w)?w.includes({...o,...a}[v]):{...o,...a}[v]===w})?[...u,d,p]:u},[]);return Hp(e,l,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** 49 * @license lucide-react v0.453.0 - ISC 50 * 51 * This source code is licensed under the ISC license. 52 * See the LICENSE file in the root directory of this source tree. 53 */const vC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Bg=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/** 54 * @license lucide-react v0.453.0 - ISC 55 * 56 * This source code is licensed under the ISC license. 57 * See the LICENSE file in the root directory of this source tree. 58 */var gC={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"};/** 59 * @license lucide-react v0.453.0 - ISC 60 * 61 * This source code is licensed under the ISC license. 62 * See the LICENSE file in the root directory of this source tree. 63 */const yC=f.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:o,iconNode:l,...a},c)=>f.createElement("svg",{ref:c,...gC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Bg("lucide",s),...a},[...l.map(([u,h])=>f.createElement(u,h)),...Array.isArray(o)?o:[o]]));/** 64 * @license lucide-react v0.453.0 - ISC 65 * 66 * This source code is licensed under the ISC license. 67 * See the LICENSE file in the root directory of this source tree. 68 */const me=(e,t)=>{const n=f.forwardRef(({className:r,...s},o)=>f.createElement(yC,{ref:o,iconNode:t,className:Bg(`lucide-${vC(e)}`,r),...s}));return n.displayName=`${e}`,n};/** 69 * @license lucide-react v0.453.0 - ISC 70 * 71 * This source code is licensed under the ISC license. 72 * See the LICENSE file in the root directory of this source tree. 73 */const gu=me("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"}]]);/** 74 * @license lucide-react v0.453.0 - ISC 75 * 76 * This source code is licensed under the ISC license. 77 * See the LICENSE file in the root directory of this source tree. 78 */const hr=me("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"}
78],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** 79 * @license lucide-react v0.453.0 - ISC 80 * 81 * This source code is licensed under the ISC license. 82 * See the LICENSE file in the root directory of this source tree. 83 */const xC=me("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/** 84 * @license lucide-react v0.453.0 - ISC 85 * 86 * This source code is licensed under the ISC license. 87 * See the LICENSE file in the root directory of this source tree. 88 */const _r=me("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/** 89 * @license lucide-react v0.453.0 - ISC 90 * 91 * This source code is licensed under the ISC license. 92 * See the LICENSE file in the root directory of this source tree. 93 */const wC=me("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"}]]);/** 94 * @license lucide-react v0.453.0 - ISC 95 * 96 * This source code is licensed under the ISC license. 97 * See the LICENSE file in the root directory of this source tree. 98 */const Wp=me("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** 99 * @license lucide-react v0.453.0 - ISC 100 * 101 * This source code is licensed under the ISC license. 102 * See the LICENSE file in the root directory of this source tree. 103 */const SC=me("ChartLine",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]);/** 104 * @license lucide-react v0.453.0 - ISC 105 * 106 * This source code is licensed under the ISC license. 107 * See the LICENSE file in the root directory of this source tree. 108 */const jC=me("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 109 * @license lucide-react v0.453.0 - ISC 110 * 111 * This source code is licensed under the ISC license. 112 * See the LICENSE file in the root directory of this source tree. 113 */const Fd=me("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 114 * @license lucide-react v0.453.0 - ISC 115 * 116 * This source code is licensed under the ISC license. 117 * See the LICENSE file in the root directory of this source tree. 118 */const CC=me("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 119 * @license lucide-react v0.453.0 - ISC 120 * 121 * This source code is licensed under the ISC license. 122 * See the LICENSE file in the root directory of this source tree. 123 */const bC=me("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 124 * @license lucide-react v0.453.0 - ISC 125 * 126 * This source code is licensed under the ISC license. 127 * See the LICENSE file in the root directory of this source tree. 128 */const yu=me("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** 129 * @license lucide-react v0.453.0 - ISC 130 * 131 * This source code is licensed under the ISC license. 132 * See the LICENSE file in the root directory of this source tree. 133 */const Pr=me("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 134 * @license lucide-react v0.453.0 - ISC 135 * 136 * This source code is licensed under the ISC license. 137 * See the LICENSE file in the root directory of this source tree. 138 */const NC=me("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/** 139 * @license lucide-react v0.453.0 - ISC 140 * 141 * This source code is licensed under the ISC license. 142 * See the LICENSE file in the root directory of this source tree. 143 */const Ug=me("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/** 144 * @license lucide-react v0.453.0 - ISC 145 * 146 * This source code is licensed under the ISC license. 147 * See the LICENSE file in the root directory of this source tree. 148 */const Hg=me("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"}]]);/** 149 * @license lucide-react v0.453.0 - ISC 150 * 151 * This source code is licensed under the ISC license. 152 * See the LICENSE file in the root directory of this source tree. 153 */const EC=me("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/** 154 * @license lucide-react v0.453.0 - ISC 155 * 156 * This source code is licensed under the ISC license. 157 * See the LICENSE file in the root directory of this source tree. 158 */const PC=me("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** 159 * @license lucide-react v0.453.0 - ISC 160 * 161 * This source code is licensed under the ISC license. 162 * See the LICENSE file in the root directory of this source tree. 163 */const kC=me("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** 164 * @license lucide-react v0.453.0 - ISC 165 * 166 * This source code is licensed under the ISC license. 167 * See the LICENSE file in the root directory of this source tree. 168 */const TC=me("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 169 * @license lucide-react v0.453.0 - ISC 170 * 171 * This source code is licensed under the ISC license. 172 * See the LICENSE file in the root directory of this source tree. 173 */const RC=me("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 8,974 bytes, lines 173-193
173y:"oel41y"}]]);/** 174 * @license lucide-react v0.453.0 - ISC 175 * 176 * This source code is licensed under the ISC license. 177 * See the LICENSE file in the root directory of this source tree. 178 */const IC=me("Sprout",[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]]);/** 179 * @license lucide-react v0.453.0 - ISC 180 * 181 * This source code is licensed under the ISC license. 182 * See the LICENSE file in the root directory of this source tree. 183 */const Pl=me("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** 184 * @license lucide-react v0.453.0 - ISC 185 * 186 * This source code is licensed under the ISC license. 187 * See the LICENSE file in the root directory of this source tree. 188 */const Qp=me("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"}]]);/** 189 * @license lucide-react v0.453.0 - ISC 190 * 191 * This source code is licensed under the ISC license. 192 * See the LICENSE file in the root directory of this source tree. 193 */const Ld=me("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),zd="-",AC=e=>{const t=OC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const a=l.split(zd);return a[0]===""&&a.length!==1&&a.shift(),Wg(a,t)||MC(l)},getConflictingClassGroupIds:(l,a)=>{const c=n[l]||[];return a&&r[l]?[...c,...r[l]]:c}}},Wg=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?Wg(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const o=e.join(zd);return(l=t.validators.find(({validator:a})=>a(o)))==null?void 0:l.classGroupId},Kp=/^\[(.+)\]$/,MC=e=>{if(Kp.test(e)){const t=Kp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},OC=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return DC(Object.entries(e.classGroups),n).forEach(([o,l])=>{xu(l,r,o,t)}),r},xu=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const o=s===""?t:Gp(t,s);o.classGroupId=n;return}if(typeof s=="function"){if(_C(s)){xu(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([o,l])=>{xu(l,Gp(t,o),n,r)})})},Gp=(e,t)=>{let n=e;return t.split(zd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},_C=e=>e.isThemeGetter,DC=(e,t)=>t?e.map(([n,r])=>{const s=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,a])=>[t+l,a])):o);return[n,s]}):e,FC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(o,l)=>{n.set(o,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let l=n.get(o);if(l!==void 0)return l;if((l=r.get(o))!==void 0)return s(o,l),l},set(o,l){n.has(o)?n.set(o,l):s(o,l)}}},Qg="!",LC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],o=t.length,l=a=>{const c=[];let u=0,h=0,d;for(let w=0;w<a.length;w++){let g=a[w];if(u===0){if(g===s&&(r||a.slice(w,w+o)===t)){c.push(a.slice(h,w)),h=w+o;continue}if(g==="/"){d=w;continue}}g==="["?u++:g==="]"&&u--}const p=c.length===0?a:a.substring(h),x=p.startsWith(Qg),S=x?p.substring(1):p,v=d&&d>h?d-h:void 0;return{modifiers:c,hasImportantModifier:x,baseClassName:S,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:l}):l},zC=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},$C=e=>({cache:FC(e.cacheSize),parseClassName:LC(e),...AC(e)}),VC=/\s+/,BC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,o=[],l=e.trim().split(VC);let a="";for(let c=l.length-1;c>=0;c-=1){const u=l[c],{modifiers:h,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:x}=n(u);let S=!!x,v=r(S?p.substring(0,x):p);if(!v){if(!S){a=u+(a.length>0?" "+a:a);continue}if(v=r(p),!v){a=u+(a.length>0?" "+a:a);continue}S=!1}const w=zC(h).join(":"),g=d?w+Qg:w,m=g+v;if(o.includes(m))continue;o.push(m);const y=s(v,S);for(let j=0;j<y.length;++j){const E=y[j];o.push(g+E)}a=u+(a.length>0?" "+a:a)}return a};function UC(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Kg(t))&&(r&&(r+=" "),r+=n);return r}const Kg=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Kg(e[r]))&&(n&&(n+=" "),n+=t);return n};function HC(e,...t){let n,r,s,o=l;function l(c){const u=t.reduce((h,d)=>d(h),e());return n=$C(u),r=n.cache.get,s=n.cache.set,o=a,a(c)}function a(c){const u=r(c);if(u)return u;const h=BC(c,n);return s(c,h),h}return function(){return o(UC.apply(null,arguments))}}const fe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Gg=/^\[(?:([a-z-]+):)?(.+)\]$/i,WC=/^\d+\/\d+$/,QC=new Set(["px","full","screen"]),KC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,GC=/\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$/,qC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,YC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,XC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,on=e=>hs(e)||QC.has(e)||WC.test(e),kn=e=>Ws(e,"length",ob),hs=e=>!!e&&!Number.isNaN(Number(e)),Ya=e=>Ws(e,"number",hs),lo=e=>!!e&&Number.isInteger(Number(e)),ZC=e=>e.endsWith("%")&&hs(e.slice(0,-1)),G=e=>Gg.test(e),Tn=e=>KC.test(e),JC=new Set(["length","size","percentage"]),eb=e=>Ws(e,JC,qg),tb=e=>Ws(e,"position",qg),nb=new Set(["image","url"]),rb=e=>Ws(e,nb,lb),sb=e=>Ws(e,"",ib),ao=()=>!0,Ws=(e,t,n)=>{const r=Gg.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},ob=e=>GC.test(e)&&!qC.test(e),qg=()=>!1,ib=e=>YC.test(e),lb=e=>XC.test(e),ab=()=>{const e=fe("colors"),t=fe("spacing"),n=fe("blur"),r=fe("brightness"),s=fe("borderColor"),o=fe("borderRadius"),l=fe("borderSpacing"),a=fe("borderWidth"),c=fe("contrast"),u=fe("grayscale"),h=fe("hueRotate"),d=fe("invert"),p=fe("gap"),x=fe("gradientColorStops"),S=fe("gradientColorStopPositions"),v=fe("inset"),w=fe("margin"),g=fe("opacity"),m=fe("padding"),y=fe("saturate"),j=fe("scale"),E=fe("sepia"),C=fe("skew"),N=fe("space"),P=fe("translate"),T=()=>["auto","contain","none"],I=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",G,t],O=()=>[G,t],H=()=>["",on,kn],M=()=>["auto",hs,G],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],L=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",G],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[hs,G];return{cacheSize:500,separator:":",theme:{colors:[ao],spacing:[on,kn],blur:["none","",Tn,G],brightness:W(),borderColor:[e],borderRadius:["none","","full",Tn,G],borderSpacing:O(),borderWidth:H(),contrast:W(),grayscale:A(),hueRotate:W(),invert:A(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[ZC,kn],inset:D(),margin:D(),opacity:W(),padding:O(),saturate:W(),scale:W(),sepia:A(),skew:W(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",G]}],container:["container"],columns:[{columns:[Tn]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}
vendor: 9,621 bytes, line 193
193],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",lo,G]}],basis:[{basis:D()}],"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:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",lo,G]}],"grid-cols":[{"grid-cols":[ao]}],"col-start-end":[{col:["auto",{span:["full",lo,G]},G]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[ao]}],"row-start-end":[{row:["auto",{span:[lo,G]},G]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"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:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"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:[Tn]},Tn]}],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",Tn,kn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ya]}],"font-family":[{font:[ao]}],"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",hs,Ya]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",on,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":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...L(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",on,kn]}],"underline-offset":[{"underline-offset":["auto",on,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:O()}],"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":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),tb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",eb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},rb]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],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":[g]}],"border-style":[{border:[...L(),"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":[g]}],"divide-style":[{divide:L()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...L()]}],"outline-offset":[{"outline-offset":[on,G]}],"outline-w":[{outline:[on,kn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[on,kn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Tn,sb]}],"shadow-color":[{shadow:[ao]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Tn,G]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",G]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",G]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",G]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[lo,G]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"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":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}
vendor: 4,936 bytes, line 193
193],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",G]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[on,kn,Ya]}],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"]}}},cb=HC(ab);function Y(...e){return cb(Vg(e))}const ub=mC,Yg=f.forwardRef(({className:e,...t},n)=>i.jsx(Og,{ref:n,className:Y("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}));Yg.displayName=Og.displayName;const db=ii("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"}}),Xg=f.forwardRef(({className:e,variant:t,...n},r)=>i.jsx(_g,{ref:r,className:Y(db({variant:t}),e),...n}));Xg.displayName=_g.displayName;const fb=f.forwardRef(({className:e,...t},n)=>i.jsx(Lg,{ref:n,className:Y("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 hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));fb.displayName=Lg.displayName;const Zg=f.forwardRef(({className:e,...t},n)=>i.jsx(zg,{ref:n,className:Y("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 4,158 bytes, line 193
193/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:i.jsx(Ld,{className:"h-4 w-4"})}));Zg.displayName=zg.displayName;const Jg=f.forwardRef(({className:e,...t},n)=>i.jsx(Dg,{ref:n,className:Y("text-sm font-semibold",e),...t}));Jg.displayName=Dg.displayName;const ey=f.forwardRef(({className:e,...t},n)=>i.jsx(Fg,{ref:n,className:Y("text-sm opacity-90",e),...t}));ey.displayName=Fg.displayName;function pb(){const{toasts:e}=hg();return i.jsxs(ub,{children:[e.map(function({id:t,title:n,description:r,action:s,...o}){return i.jsxs(Xg,{...o,children:[i.jsxs("div",{className:"grid gap-1",children:[n&&i.jsx(Jg,{children:n}),r&&i.jsx(ey,{children:r})]}),s,i.jsx(Zg,{})]},t)}),i.jsx(Yg,{})]})}var hb=Fh[" useId ".trim().toString()]||(()=>{}),mb=0;function en(e){const[t,n]=f.useState(hb());return Fe(()=>{n(r=>r??String(mb++))},[e]),t?`radix-${t}`:""}const vb=["top","right","bottom","left"],rr=Math.min,ut=Math.max,kl=Math.round,Ii=Math.floor,tn=e=>({x:e,y:e}),gb={left:"right",right:"left",bottom:"top",top:"bottom"},yb={start:"end",end:"start"};function wu(e,t,n){return ut(e,rr(t,n))}function Cn(e,t){return typeof e=="function"?e(t):e}function bn(e){return e.split("-")[0]}function Qs(e){return e.split("-")[1]}function $d(e){return e==="x"?"y":"x"}function Vd(e){return e==="y"?"height":"width"}function sr(e){return["top","bottom"].includes(bn(e))?"y":"x"}function Bd(e){return $d(sr(e))}function xb(e,t,n){n===void 0&&(n=!1);const r=Qs(e),s=Bd(e),o=Vd(s);let l=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=Tl(l)),[l,Tl(l)]}function wb(e){const t=Tl(e);return[Su(e),t,Su(t)]}function Su(e){return e.replace(/start|end/g,t=>yb[t])}function Sb(e,t,n){const r=["left","right"],s=["right","left"],o=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?o:l;default:return[]}}function jb(e,t,n,r){const s=Qs(e);let o=Sb(bn(e),n==="start",r);return s&&(o=o.map(l=>l+"-"+s),t&&(o=o.concat(o.map(Su)))),o}function Tl(e){return e.replace(/left|right|bottom|top/g,t=>gb[t])}function Cb(e){return{top:0,right:0,bottom:0,left:0,...e}}function ty(e){return typeof e!="number"?Cb(e):{top:e,right:e,bottom:e,left:e}}function Rl(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function qp(e,t,n){let{reference:r,floating:s}=e;const o=sr(t),l=Bd(t),a=Vd(l),c=bn(t),u=o==="y",h=r.x+r.width/2-s.width/2,d=r.y+r.height/2-s.height/2,p=r[a]/2-s[a]/2;let x;switch(c){case"top":x={x:h,y:r.y-s.height};break;case"bottom":x={x:h,y:r.y+r.height};break;case"right":x={x:r.x+r.width,y:d};break;case"left":x={x:r.x-s.width,y:d};break;default:x={x:r.x,y:r.y}}switch(Qs(t)){case"start":x[l]-=p*(n&&u?-1:1);break;case"end":x[l]+=p*(n&&u?-1:1);break}return x}const bb=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),c=await(l.isRTL==null?void 0:l.isRTL(t));let u=await l.getElementRects({reference:e,floating:t,strategy:s}),{x:h,y:d}=qp(u,r,c),p=r,x={},S=0;for(let v=0;v<a.length;v++){const{name:w,fn:g}=a[v],{x:m,y,data:j,reset:E}=await g({x:h,y:d,initialPlacement:r,placement:p,strategy:s,middlewareData:x,rects:u,platform:l,elements:{reference:e,floating:t}});h=m??h,d=y??d,x={...x,[w]:{...x[w],...j}},E&&S<=50&&(S++,typeof E=="object"&&(E.placement&&(p=E.placement),E.rects&&(u=E.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:s}):E.rects),{x:h,y:d}=qp(u,p,c)),v=-1)}return{x:h,y:d,placement:p,strategy:s,middlewareData:x}};async function Ko(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:l,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:d="floating",altBoundary:p=!1,padding:x=0}=Cn(t,e),S=ty(x),w=a[p?d==="floating"?"reference":"floating":d],g=Rl(await o.getClippingRect
vendor: 7,266 bytes, line 193
193({element:(n=await(o.isElement==null?void 0:o.isElement(w)))==null||n?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:h,strategy:c})),m=d==="floating"?{x:r,y:s,width:l.floating.width,height:l.floating.height}:l.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),j=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},E=Rl(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:y,strategy:c}):m);return{top:(g.top-E.top+S.top)/j.y,bottom:(E.bottom-g.bottom+S.bottom)/j.y,left:(g.left-E.left+S.left)/j.x,right:(E.right-g.right+S.right)/j.x}}const Nb=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:l,elements:a,middlewareData:c}=t,{element:u,padding:h=0}=Cn(e,t)||{};if(u==null)return{};const d=ty(h),p={x:n,y:r},x=Bd(s),S=Vd(x),v=await l.getDimensions(u),w=x==="y",g=w?"top":"left",m=w?"bottom":"right",y=w?"clientHeight":"clientWidth",j=o.reference[S]+o.reference[x]-p[x]-o.floating[S],E=p[x]-o.reference[x],C=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let N=C?C[y]:0;(!N||!await(l.isElement==null?void 0:l.isElement(C)))&&(N=a.floating[y]||o.floating[S]);const P=j/2-E/2,T=N/2-v[S]/2-1,I=rr(d[g],T),D=rr(d[m],T),O=I,H=N-v[S]-D,M=N/2-v[S]/2+P,Q=wu(O,M,H),L=!c.arrow&&Qs(s)!=null&&M!==Q&&o.reference[S]/2-(M<O?I:D)-v[S]/2<0,K=L?M<O?M-O:M-H:0;return{[x]:p[x]+K,data:{[x]:Q,centerOffset:M-Q-K,...L&&{alignmentOffset:K}},reset:L}}}),Eb=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:l,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:h=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:v=!0,...w}=Cn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const g=bn(s),m=sr(a),y=bn(a)===a,j=await(c.isRTL==null?void 0:c.isRTL(u.floating)),E=p||(y||!v?[Tl(a)]:wb(a)),C=S!=="none";!p&&C&&E.push(...jb(a,v,S,j));const N=[a,...E],P=await Ko(t,w),T=[];let I=((r=o.flip)==null?void 0:r.overflows)||[];if(h&&T.push(P[g]),d){const M=xb(s,l,j);T.push(P[M[0]],P[M[1]])}if(I=[...I,{placement:s,overflows:T}],!T.every(M=>M<=0)){var D,O;const M=(((D=o.flip)==null?void 0:D.index)||0)+1,Q=N[M];if(Q)return{data:{index:M,overflows:I},reset:{placement:Q}};let L=(O=I.filter(K=>K.overflows[0]<=0).sort((K,k)=>K.overflows[1]-k.overflows[1])[0])==null?void 0:O.placement;if(!L)switch(x){case"bestFit":{var H;const K=(H=I.filter(k=>{if(C){const A=sr(k.placement);return A===m||A==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(A=>A>0).reduce((A,z)=>A+z,0)]).sort((k,A)=>k[1]-A[1])[0])==null?void 0:H[0];K&&(L=K);break}case"initialPlacement":L=a;break}if(s!==L)return{reset:{placement:L}}}return{}}}};function Yp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xp(e){return vb.some(t=>e[t]>=0)}const Pb=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=Cn(e,t);switch(r){case"referenceHidden":{const o=await Ko(t,{...s,elementContext:"reference"}),l=Yp(o,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:Xp(l)}}}case"escaped":{const o=await Ko(t,{...s,altBoundary:!0}),l=Yp(o,n.floating);return{data:{escapedOffsets:l,escaped:Xp(l)}}}default:return{}}}}};async function kb(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),l=bn(n),a=Qs(n),c=sr(n)==="y",u=["left","top"].includes(l)?-1:1,h=o&&c?-1:1,d=Cn(t,e);let{mainAxis:p,crossAxis:x,alignmentAxis:S}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof S=="number"&&(x=a==="end"?S*-1:S),c?{x:x*h,y:p*u}:{x:p*u,y:x*h}}const Tb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:l,middlewareData:a}=t,c=await kb(t,e);return l===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:o+c.y,data:{...c,placement:l}}}}},Rb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:a={fn:w=>{let{x:g,y:m}=w;return{x:g,y:m}}},...c}=Cn(e,t),u={x:n,y:r},h=await Ko(t,c),d=sr(bn(s)),p=$d(d);let x=u[p],S=u[d];if(o){const w=p==="y"?"top":"left",g=p==="y"?"bottom":"right",m=x+h[w],y=x-h[g];x=wu(m,x,y)}if(l){const w=d==="y"?"top":"left",g=d==="y"?"bottom":"right",m=S+h[w],y=S-h[g];S=wu(m,S,y)}const v=a.fn({...t,[p]:x,[d]:S});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[p]:o,[d]:l}}}}}},Ib=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=Cn(e,t),h={x:n,y:r},d=sr(s),p=$d(d);let x=h[p],S=h[d];const v=Cn(a,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const y=p==="y"?"height":"width",j=o.reference[p]-o.floating[y]+w.mainAxis,E=o.reference[p]+o.reference[y]-w.mainAxis;x<j?x=j:x>E&&(x=E)}if(u){var g,m;const y=p==="y"?"width":"height",j=["top","left"].includes(bn(s)),E=o.reference[d]-o.floating[y]+(j&&((g=l.offset)==null?void 0:g[d])||0)+(j?0:w.crossAxis),C=o.reference[d]+o.reference[y]+(j?0:((m=l.offset)==null?void 0:m[d])||0)-(j?w.crossAxis:0);S<E?S=E:S>C&&(S=C)}return{[p]:x,[d]:S}}}},Ab=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:l,elements:a}=t,{apply:c=()=>{},...u}=Cn(e,t),h=await Ko(t,u),d=bn(s),p=Qs(s),x=sr(s)==="y",{width:S,height:v}=o.floating;let w,g;d==="top"||d==="bottom"?(w=d,g=p===(await(l.isRTL==null?void 0:l.isRTL(a.floating))?"start":"end")?"left":"right"):(g=d,w=p==="end"?"top":"bottom");const m=v-h.top-h.bottom,y=S-h.left-h.right,j=rr(v-h[w],m),E=rr(S-h[g],y),C=!t.middlewareData.shift;let N=j,P=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(N=m),C&&!p){const I=ut(h.left,0),D=ut(h.right,0),O=ut(h.top,0),H=ut(h.bottom,0);x?P=S-2*(I!==0||D!==0?I+D:ut(h.left,h.right)):N=v-2*(O!==0||H!==0?O+H:ut(h.top,h.bottom))}await c({...t,availableWidth:P,availableHeight:N});const T=await l.getDimensions(a.floating);return S!==T.width||v!==T.height?{reset:{rects:!0}}:{}}}};function sa(){return typeof window<"u"}function Ks(e){return ny(e)?(e.nodeName||"").toLowerCase():"#document"}function pt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function sn(e){var t;return(t=(ny(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ny(e){return sa()?e instanceof Node||e instanceof pt(e).Node:!1}function Dt(e){return sa()?e instanceof Element||e instanceof pt(e).Element:!1}function nn(e){return sa()?e instanceof HTMLElement||e instanceof pt(e).HTMLElement:!1}function Zp(e){return!sa()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof pt(e).ShadowRoot}function li(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Ft(e);
vendor: 6,254 bytes, line 193
193return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function Mb(e){return["table","td","th"].includes(Ks(e))}function oa(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ud(e){const t=Hd(),n=Dt(e)?Ft(e):e;return["transform","translate","scale","rotate","perspective"].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)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Ob(e){let t=or(e);for(;nn(t)&&!zs(t);){if(Ud(t))return t;if(oa(t))return null;t=or(t)}return null}function Hd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function zs(e){return["html","body","#document"].includes(Ks(e))}function Ft(e){return pt(e).getComputedStyle(e)}function ia(e){return Dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function or(e){if(Ks(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zp(e)&&e.host||sn(e);return Zp(t)?t.host:t}function ry(e){const t=or(e);return zs(t)?e.ownerDocument?e.ownerDocument.body:e.body:nn(t)&&li(t)?t:ry(t)}function Go(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=ry(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),l=pt(s);if(o){const a=ju(l);return t.concat(l,l.visualViewport||[],li(s)?s:[],a&&n?Go(a):[])}return t.concat(s,Go(s,[],n))}function ju(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sy(e){const t=Ft(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=nn(e),o=s?e.offsetWidth:n,l=s?e.offsetHeight:r,a=kl(n)!==o||kl(r)!==l;return a&&(n=o,r=l),{width:n,height:r,$:a}}function Wd(e){return Dt(e)?e:e.contextElement}function ms(e){const t=Wd(e);if(!nn(t))return tn(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=sy(t);let l=(o?kl(n.width):n.width)/r,a=(o?kl(n.height):n.height)/s;return(!l||!Number.isFinite(l))&&(l=1),(!a||!Number.isFinite(a))&&(a=1),{x:l,y:a}}const _b=tn(0);function oy(e){const t=pt(e);return!Hd()||!t.visualViewport?_b:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Db(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==pt(e)?!1:t}function Dr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=Wd(e);let l=tn(1);t&&(r?Dt(r)&&(l=ms(r)):l=ms(e));const a=Db(o,n,r)?oy(o):tn(0);let c=(s.left+a.x)/l.x,u=(s.top+a.y)/l.y,h=s.width/l.x,d=s.height/l.y;if(o){const p=pt(o),x=r&&Dt(r)?pt(r):r;let S=p,v=ju(S);for(;v&&r&&x!==S;){const w=ms(v),g=v.getBoundingClientRect(),m=Ft(v),y=g.left+(v.clientLeft+parseFloat(m.paddingLeft))*w.x,j=g.top+(v.clientTop+parseFloat(m.paddingTop))*w.y;c*=w.x,u*=w.y,h*=w.x,d*=w.y,c+=y,u+=j,S=pt(v),v=ju(S)}}return Rl({width:h,height:d,x:c,y:u})}function Qd(e,t){const n=ia(e).scrollLeft;return t?t.left+n:Dr(sn(e)).left+n}function iy(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-(n?0:Qd(e,r)),o=r.top+t.scrollTop;return{x:s,y:o}}function Fb(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",l=sn(r),a=t?oa(t.floating):!1;if(r===l||a&&o)return n;let c={scrollLeft:0,scrollTop:0},u=tn(1);const h=tn(0),d=nn(r);if((d||!d&&!o)&&((Ks(r)!=="body"||li(l))&&(c=ia(r)),nn(r))){const x=Dr(r);u=ms(r),h.x=x.x+r.clientLeft,h.y=x.y+r.clientTop}const p=l&&!d&&!o?iy(l,c,!0):tn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+h.x+p.x,y:n.y*u.y-c.scrollTop*u.y+h.y+p.y}}function Lb(e){return Array.from(e.getClientRects())}function zb(e){const t=sn(e),n=ia(e),r=e.ownerDocument.body,s=ut(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=ut(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Qd(e);const a=-n.scrollTop;return Ft(r).direction==="rtl"&&(l+=ut(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:l,y:a}}function $b(e,t){const n=pt(e),r=sn(e),s=n.visualViewport;let o=r.clientWidth,l=r.clientHeight,a=0,c=0;if(s){o=s.width,l=s.height;const u=Hd();(!u||u&&t==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:o,height:l,x:a,y:c}}function Vb(e,t){const n=Dr(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=nn(e)?ms(e):tn(1),l=e.clientWidth*o.x,a=e.clientHeight*o.y,c=s*o.x,u=r*o.y;return{width:l,height:a,x:c,y:u}}function Jp(e,t,n){let r;if(t==="viewport")r=$b(e,n);else if(t==="document")r=zb(sn(e));else if(Dt(t))r=Vb(t,n);else{const s=oy(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Rl(r)}function ly(e,t){const n=or(e);return n===t||!Dt(n)||zs(n)?!1:Ft(n).position==="fixed"||ly(n,t)}function Bb(e,t){const n=t.get(e);if(n)return n;let r=Go(e,[],!1).filter(a=>Dt(a)&&Ks(a)!=="body"),s=null;const o=Ft(e).position==="fixed";let l=o?or(e):e;for(;Dt(l)&&!zs(l);){const a=Ft(l),c=Ud(l);!c&&a.position==="fixed"&&(s=null),(o?!c&&!s:!c&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||li(l)&&!c&&ly(e,l))?r=r.filter(h=>h!==l):s=a,l=or(l)}return t.set(e,r),r}function Ub(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const l=[...n==="clippingAncestors"?oa(t)?[]:Bb(t,this._c):[].concat(n),r],a=l[0],c=l.reduce((u,h)=>{const d=Jp(t,h,s);return u.top=ut(d.top,u.top),u.right=rr(d.right,u.right),u.bottom=rr(d.bottom,u.bottom),u.left=ut(d.left,u.left),u},Jp(t,a,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Hb(e){const{width:t,height:n}=sy(e);return{width:t,height:n}}function Wb(e,t,n){const r=nn(t),s=sn(t),o=n==="fixed",l=Dr(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const c=tn(0);if(r||!r&&!o)if((Ks(t)!=="body"||li(s))&&(a=ia(t)),r){const p=Dr(t,!0,o,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else s&&(c.x=Qd(s));const u=s&&!r&&!o?iy(s,a):tn(0),h=l.left+a.scrollLeft-c.x-u.x,d=l.top+a.scrollTop-c.y-u.y;return{x:h,y:d,width:l.width,height:l.height}}function Xa(e){return Ft(e).position==="static"}function eh(e,t){if(!nn(e)||Ft(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return sn(e)===n&&(n=n.ownerDocument.body),n}function ay(e,t){const n=pt(e);
vendor: 8,712 bytes, line 193
193if(oa(e))return n;if(!nn(e)){let s=or(e);for(;s&&!zs(s);){if(Dt(s)&&!Xa(s))return s;s=or(s)}return n}let r=eh(e,t);for(;r&&Mb(r)&&Xa(r);)r=eh(r,t);return r&&zs(r)&&Xa(r)&&!Ud(r)?n:r||Ob(e)||n}const Qb=async function(e){const t=this.getOffsetParent||ay,n=this.getDimensions,r=await n(e.floating);return{reference:Wb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Kb(e){return Ft(e).direction==="rtl"}const Gb={convertOffsetParentRelativeRectToViewportRelativeRect:Fb,getDocumentElement:sn,getClippingRect:Ub,getOffsetParent:ay,getElementRects:Qb,getClientRects:Lb,getDimensions:Hb,getScale:ms,isElement:Dt,isRTL:Kb};function cy(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function qb(e,t){let n=null,r;const s=sn(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function l(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),o();const u=e.getBoundingClientRect(),{left:h,top:d,width:p,height:x}=u;if(a||t(),!p||!x)return;const S=Ii(d),v=Ii(s.clientWidth-(h+p)),w=Ii(s.clientHeight-(d+x)),g=Ii(h),y={rootMargin:-S+"px "+-v+"px "+-w+"px "+-g+"px",threshold:ut(0,rr(1,c))||1};let j=!0;function E(C){const N=C[0].intersectionRatio;if(N!==c){if(!j)return l();N?l(!1,N):r=setTimeout(()=>{l(!1,1e-7)},1e3)}N===1&&!cy(u,e.getBoundingClientRect())&&l(),j=!1}try{n=new IntersectionObserver(E,{...y,root:s.ownerDocument})}catch{n=new IntersectionObserver(E,y)}n.observe(e)}return l(!0),o}function Yb(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Wd(e),h=s||o?[...u?Go(u):[],...Go(t)]:[];h.forEach(g=>{s&&g.addEventListener("scroll",n,{passive:!0}),o&&g.addEventListener("resize",n)});const d=u&&a?qb(u,n):null;let p=-1,x=null;l&&(x=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&x&&(x.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=x)==null||y.observe(t)})),n()}),u&&!c&&x.observe(u),x.observe(t));let S,v=c?Dr(e):null;c&&w();function w(){const g=Dr(e);v&&!cy(v,g)&&n(),v=g,S=requestAnimationFrame(w)}return n(),()=>{var g;h.forEach(m=>{s&&m.removeEventListener("scroll",n),o&&m.removeEventListener("resize",n)}),d==null||d(),(g=x)==null||g.disconnect(),x=null,c&&cancelAnimationFrame(S)}}const Xb=Tb,Zb=Rb,Jb=Eb,eN=Ab,tN=Pb,th=Nb,nN=Ib,rN=(e,t,n)=>{const r=new Map,s={platform:Gb,...n},o={...s.platform,_c:r};return bb(e,t,{...s,platform:o})};var Xi=typeof document<"u"?f.useLayoutEffect:f.useEffect;function Il(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,s;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(!Il(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const o=s[r];if(!(o==="_owner"&&e.$$typeof)&&!Il(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function uy(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nh(e,t){const n=uy(e);return Math.round(t*n)/n}function Za(e){const t=f.useRef(e);return Xi(()=>{t.current=e}),t}function sN(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:o,floating:l}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[h,d]=f.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,x]=f.useState(r);Il(p,r)||x(r);const[S,v]=f.useState(null),[w,g]=f.useState(null),m=f.useCallback(k=>{k!==C.current&&(C.current=k,v(k))},[]),y=f.useCallback(k=>{k!==N.current&&(N.current=k,g(k))},[]),j=o||S,E=l||w,C=f.useRef(null),N=f.useRef(null),P=f.useRef(h),T=c!=null,I=Za(c),D=Za(s),O=Za(u),H=f.useCallback(()=>{if(!C.current||!N.current)return;const k={placement:t,strategy:n,middleware:p};D.current&&(k.platform=D.current),rN(C.current,N.current,k).then(A=>{const z={...A,isPositioned:O.current!==!1};M.current&&!Il(P.current,z)&&(P.current=z,Vr.flushSync(()=>{d(z)}))})},[p,t,n,D,O]);Xi(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const M=f.useRef(!1);Xi(()=>(M.current=!0,()=>{M.current=!1}),[]),Xi(()=>{if(j&&(C.current=j),E&&(N.current=E),j&&E){if(I.current)return I.current(j,E,H);H()}},[j,E,H,I,T]);const Q=f.useMemo(()=>({reference:C,floating:N,setReference:m,setFloating:y}),[m,y]),L=f.useMemo(()=>({reference:j,floating:E}),[j,E]),K=f.useMemo(()=>{const k={position:n,left:0,top:0};if(!L.floating)return k;const A=nh(L.floating,h.x),z=nh(L.floating,h.y);return a?{...k,transform:"translate("+A+"px, "+z+"px)",...uy(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:z}},[n,a,L.floating,h.x,h.y]);return f.useMemo(()=>({...h,update:H,refs:Q,elements:L,floatingStyles:K}),[h,H,Q,L,K])}const oN=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?th({element:r.current,padding:s}).fn(n):{}:r?th({element:r,padding:s}).fn(n):{}}}},iN=(e,t)=>({...Xb(e),options:[e,t]}),lN=(e,t)=>({...Zb(e),options:[e,t]}),aN=(e,t)=>({...nN(e),options:[e,t]}),cN=(e,t)=>({...Jb(e),options:[e,t]}),uN=(e,t)=>({...eN(e),options:[e,t]}),dN=(e,t)=>({...tN(e),options:[e,t]}),fN=(e,t)=>({...oN(e),options:[e,t]});var pN="Arrow",dy=f.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...o}=e;return i.jsx(U.svg,{...o,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});dy.displayName=pN;var hN=dy;function mN(e){const[t,n]=f.useState(void 0);return Fe(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const o=s[0];let l,a;if("borderBoxSize"in o){const c=o.borderBoxSize,u=Array.isArray(c)?c[0]:c;l=u.inlineSize,a=u.blockSize}else l=e.offsetWidth,a=e.offsetHeight;n({width:l,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Kd="Popper",[fy,la]=rn(Kd),[vN,py]=fy(Kd),hy=e=>{const{__scopePopper:t,children:n}=e,[r,s]=f.useState(null);return i.jsx(vN,{scope:t,anchor:r,onAnchorChange:s,children:n})};hy.displayName=Kd;var my="PopperAnchor",vy=f.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,o=py(my,n),l=f.useRef(null),a=ae(t,l);return f.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||l.current)}),r?null:i.jsx(U.div,{...s,ref:a})});vy.displayName=my;var Gd="PopperContent",[gN,yN]=fy(Gd),gy=f.forwardRef((e,t)=>{var B,de,Le,ce,ie,le;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:o="center",alignOffset:l=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:h=0,sticky:d="partial",hideWhenDetached:p=!1,updatePositionStrategy:x="optimized",onPlaced:S,...v}=e,w=py(Gd,n),[g,m]=f.useState(null),y=ae(t,lt=>m(lt)),[j,E]=f.useState(null),C=mN(j),N=(C==null?void 0:C.width)??0,P=(C==null?void 0:C.height)??0,T=r+(o!=="center"?"-"+o:""),I=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},D=Array.isArray(u)?u:[u],O=D.length>0,H={padding:I,boundary:D.filter(wN),altBoundary:O},{refs:M,floatingStyles:Q,placement:L,isPositioned:K,middlewareData:k}=sN({strategy:"fixed",placement:T,whileElementsMounted:(...lt)=>Yb(...lt,{animationFrame:x==="always"}),elements:{reference:w.anchor},middleware:[iN({mainAxis:s+P,alignmentAxis:l}),c&&lN({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?aN():void 0,...H}),c&&cN({...H}),uN({...H,apply:({elements:lt,rects:$t,availableWidth:qs,availableHeight:Ys})=>{const{width:Xs,height:z0}=$t.reference,ci=lt.floating.style;ci.setProperty("--radix-popper-available-width",`${qs}px`),ci.setProperty("--radix-popper-available-height",`${Ys}px`),ci.setProperty("--radix-popper-anchor-width",`${Xs}px`),ci.setProperty("--radix-popper-anchor-height",`${z0}px`)}}),j&&fN({element:j,padding:a}),SN({arrowWidth:N,arrowHeight:P}),p&&dN({strategy:"referenceHidden",...H})]}),[A,z]=wy(L),W=it(S);Fe(()=>{K&&(W==null||W())},[K,W]);const oe=(B=k.arrow)==null?void 0:B.x,We=(de=k.arrow)==null?void 0:de.y,ke=((Le=k.arrow)==null?void 0:Le.centerOffset)!==0,[zt,Qe]=f.useState();return Fe(()=>{g&&Qe(window.getComputedStyle(g).zIndex)},[g]),i.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:K?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:zt,"--radix-popper-transform-origin":[(ce=k.transformOrigin)==null?void 0:ce.x,(ie=k.transformOrigin)==null?void 0:ie.
vendor: 4,150 bytes, line 193
193y].join(" "),...((le=k.hide)==null?void 0:le.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(gN,{scope:n,placedSide:A,onArrowChange:E,arrowX:oe,arrowY:We,shouldHideArrow:ke,children:i.jsx(U.div,{"data-side":A,"data-align":z,...v,ref:y,style:{...v.style,animation:K?void 0:"none"}})})})});gy.displayName=Gd;var yy="PopperArrow",xN={top:"bottom",right:"left",bottom:"top",left:"right"},xy=f.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,o=yN(yy,r),l=xN[o.placedSide];return i.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[l]: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:i.jsx(hN,{...s,ref:n,style:{...s.style,display:"block"}})})});xy.displayName=yy;function wN(e){return e!==null}var SN=e=>({name:"transformOrigin",options:e,fn(t){var w,g,m;const{placement:n,rects:r,middlewareData:s}=t,l=((w=s.arrow)==null?void 0:w.centerOffset)!==0,a=l?0:e.arrowWidth,c=l?0:e.arrowHeight,[u,h]=wy(n),d={start:"0%",center:"50%",end:"100%"}[h],p=(((g=s.arrow)==null?void 0:g.x)??0)+a/2,x=(((m=s.arrow)==null?void 0:m.y)??0)+c/2;let S="",v="";return u==="bottom"?(S=l?d:`${p}px`,v=`${-c}px`):u==="top"?(S=l?d:`${p}px`,v=`${r.floating.height+c}px`):u==="right"?(S=`${-c}px`,v=l?d:`${x}px`):u==="left"&&(S=`${r.floating.width+c}px`,v=l?d:`${x}px`),{data:{x:S,y:v}}}});function wy(e){const[t,n="center"]=e.split("-");return[t,n]}var jN=hy,Sy=vy,jy=gy,Cy=xy,[aa,O2]=rn("Tooltip",[la]),qd=la(),by="TooltipProvider",CN=700,rh="tooltip.open",[bN,Ny]=aa(by),Ey=e=>{const{__scopeTooltip:t,delayDuration:n=CN,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:o}=e,l=f.useRef(!0),a=f.useRef(!1),c=f.useRef(0);return f.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),i.jsx(bN,{scope:t,isOpenDelayedRef:l,delayDuration:n,onOpen:f.useCallback(()=>{window.clearTimeout(c.current),l.current=!1},[]),onClose:f.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:f.useCallback(u=>{a.current=u},[]),disableHoverableContent:s,children:o})};Ey.displayName=by;var Py="Tooltip",[_2,ca]=aa(Py),Cu="TooltipTrigger",NN=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=ca(Cu,n),o=Ny(Cu,n),l=qd(n),a=f.useRef(null),c=ae(t,a,s.onTriggerChange),u=f.useRef(!1),h=f.useRef(!1),d=f.useCallback(()=>u.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),i.jsx(Sy,{asChild:!0,...l,children:i.jsx(U.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:c,onPointerMove:$(e.onPointerMove,p=>{p.pointerType!=="touch"&&!h.current&&!o.isPointerInTransitRef.current&&(s.onTriggerEnter(),h.current=!0)}),onPointerLeave:$(e.onPointerLeave,()=>{s.onTriggerLeave(),h.current=!1}),onPointerDown:$(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:$(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:$(e.onBlur,s.onClose),onClick:$(e.onClick,s.onClose)})})});NN.displayName=Cu;var EN="TooltipPortal",[D2,PN]=aa(EN,{forceMount:void 0}),$s="TooltipContent",ky=f.forwardRef((e,t)=>{const n=PN($s,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...o}=e,l=ca($s,e.__scopeTooltip);return i.jsx(cr,{present:r||l.open,children:l.disableHoverableContent?i.jsx(Ty,{side:s,...o,ref:t}):i.jsx(kN,{side:s,...o,ref:t})})}),kN=f.forwardRef((e,t)=>{const n=ca($s,e.__scopeTooltip),r=Ny($s,e.__scopeTooltip),s=f.useRef(null),o=ae(t,s),[l,a]=f.useState(null),{trigger:c,onClose:u}=n,h=s.current,{onPointerInTransitChange:d}=r,p=f.useCallback(()=>{a(null),d(!1)},[d]),x=f.useCallback((S,v)=>{const w=S.currentTarget,g={x:S.clientX,y:S.clientY},m=MN(g,w.getBoundingClientRect()),y=ON(g,m),j=_N(v.getBoundingClientRect()),E=FN([...y,...j]);a(E),d(!0)},[d]);return f.useEffect(()=>()=>
vendor: 4,229 bytes, line 193
193p(),[p]),f.useEffect(()=>{if(c&&h){const S=w=>x(w,h),v=w=>x(w,c);return c.addEventListener("pointerleave",S),h.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",S),h.removeEventListener("pointerleave",v)}}},[c,h,x,p]),f.useEffect(()=>{if(l){const S=v=>{const w=v.target,g={x:v.clientX,y:v.clientY},m=(c==null?void 0:c.contains(w))||(h==null?void 0:h.contains(w)),y=!DN(g,l);m?p():y&&(p(),u())};return document.addEventListener("pointermove",S),()=>document.removeEventListener("pointermove",S)}},[c,h,l,u,p]),i.jsx(Ty,{...e,ref:o})}),[TN,RN]=aa(Py,{isInside:!1}),IN=Ij("TooltipContent"),Ty=f.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:l,...a}=e,c=ca($s,n),u=qd(n),{onClose:h}=c;return f.useEffect(()=>(document.addEventListener(rh,h),()=>document.removeEventListener(rh,h)),[h]),f.useEffect(()=>{if(c.trigger){const d=p=>{const x=p.target;x!=null&&x.contains(c.trigger)&&h()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[c.trigger,h]),i.jsx(si,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:d=>d.preventDefault(),onDismiss:h,children:i.jsxs(jy,{"data-state":c.stateAttribute,...u,...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:[i.jsx(IN,{children:r}),i.jsx(TN,{scope:n,isInside:!0,children:i.jsx(Xj,{id:c.contentId,role:"tooltip",children:s||r})})]})})});ky.displayName=$s;var Ry="TooltipArrow",AN=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=qd(n);return RN(Ry,n).isInside?null:i.jsx(Cy,{...s,...r,ref:t})});AN.displayName=Ry;function MN(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,s,o)){case o:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function ON(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 _N(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function DN(e,t){const{x:n,y:r}=e;let s=!1;for(let o=0,l=t.length-1;o<t.length;l=o++){const a=t[o].x,c=t[o].y,u=t[l].x,h=t[l].y;c>r!=h>r&&n<(u-a)*(r-c)/(h-c)+a&&(s=!s)}return s}function FN(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),LN(t)}function LN(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const o=t[t.length-1],l=t[t.length-2];if((o.x-l.x)*(s.y-l.y)>=(o.y-l.y)*(s.x-l.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const o=n[n.length-1],l=n[n.length-2];if((o.x-l.x)*(s.y-l.y)>=(o.y-l.y)*(s.x-l.x))n.pop();else break}n.push(s)}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 zN=Ey,Iy=ky;const $N=zN,VN=f.forwardRef(({className:e,sideOffset:t=4,...n},r)=>i.jsx(Iy,{ref:r,sideOffset:t,className:Y("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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",e),...n}));VN.displayName=Iy.displayName;const J=f.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:Y("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));
193J.displayName="Card";const ge=f.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:Y("flex flex-col space-y-1.5 p-6",e),...t}));ge.displayName="CardHeader";const ye=f.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:Y("text-2xl font-semibold leading-none tracking-tight",e),...t}));ye.displayName="CardTitle";const Ut=f.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:Y("text-sm text-muted-foreground",e),...t}));Ut.displayName="CardDescription";const ee=f.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:Y("p-6 pt-0",e),...t}));ee.displayName="CardContent";const BN=f.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:Y("flex items-center p-6 pt-0",e),...t}));BN.displayName="CardFooter";const UN=ii("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"}}),Ne=f.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},o)=>{const l=r?Tj:"button";return i.jsx(l,{className:Y(UN({variant:t,size:n,className:e})),ref:o,...s})});Ne.displayName="Button";const HN=ii("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 St({className:e,variant:t,...n}){return i.jsx("div",{className:Y(HN({variant:t}),e),...n})}const WN=[{id:"manual",name:"Manual",description:"Current State - Multiple Systems",color:"text-red-600",bgColor:"bg-red-50",borderColor:"border-red-200",icon:"ð",features:["Multiple systems for carrier billing","Manual adjuster compensation tracking","Limited data insights","Spreadsheet-based fee management"]},{id:"proactive",name:"Phase I - Proactive",description:"Standardized Billing & Automation",color:"text-blue-600",bgColor:"bg-blue-50",borderColor:"border-blue-200",icon:"âï¸",features:["One system for carrier billing","Automated adjuster compensation","Fee schedule repository","Integration to estimating platforms"],pricing:{rate:3,cap:75},implementation:"No IT Resources Required",timeline:"6-8 weeks to implement"},{id:"optimized",name:"Phase II - Optimized",description:"Reporting & Industry Data",color:"text-green-600",bgColor:"bg-green-50",borderColor:"border-green-200",icon:"ð",features:["Holistic carrier & adjuster reporting","Revenue & payment cycle tracking","Industry benchmarking data","Performance insights for growth"],pricing:{rate:2,cap:50}},{id:"strategic",name:"Phase III - Strategic",description:"Claims Management Integration",color:"text-emerald-600",bgColor:"bg-emerald-50",borderColor:"border-emerald-200",icon:"ð",features:["Claims management system integration","Automated manual task elimination","Accurate payments & exposures","Payment remittance automation"],pricing:{rate:1.5,cap:40},timeline:"6-8 weeks to implement"}],QN=[{id:"manual",name:"Manual",description:"Current State - Multiple Systems",color:"text-red-600",bgColor:"bg-red-50",borderColor:"border-red-200",icon:"ð",features:["Multiple vendor billing systems","Manual invoice reconciliation","
193Limited data insights","No performance benchmarking"]},{id:"proactive",name:"Phase I - Proactive",description:"Standardized Vendor Management",color:"text-blue-600",bgColor:"bg-blue-50",borderColor:"border-blue-200",icon:"âï¸",features:["One system for vendor billing","Automated fee schedule management","Integration to estimating systems","100% invoice reconciliation"],pricing:{rate:3,cap:75},implementation:"No IT Resources Required",timeline:"6-8 weeks to implement"},{id:"optimized",name:"Phase II - Optimized",description:"SLA Compliance & Reporting",color:"text-green-600",bgColor:"bg-green-50",borderColor:"border-green-200",icon:"ð",features:["SLA compliance enforcement","Holistic vendor reporting","Industry benchmarking data","Performance-based vendor identification"],pricing:{rate:2,cap:50}},{id:"strategic",name:"Phase III - Strategic",description:"Claims Management Integration",color:"text-emerald-600",bgColor:"bg-emerald-50",borderColor:"border-emerald-200",icon:"ð",features:["Claims management system integration","Automated adjuster task elimination","Accurate payments & reserving","Payment remittance automation"],pricing:{rate:1.5,cap:40},timeline:"6-8 weeks to implement"}];function KN({selectedStage:e,onStageSelect:t}){const[n,r]=f.useState(null),[s,o]=f.useState("invision"),l=s==="invision"?WN:QN;return i.jsx(J,{className:"w-full",children:i.jsxs(ee,{className:"p-8",children:[i.jsxs("div",{className:"text-center mb-8",children:[i.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Claims Operations Maturity Curve"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"Choose your partner type to see the customized maturity path and Flex Plus⢠pricing"}),i.jsxs("div",{className:"flex justify-center gap-4 mb-8",children:[i.jsxs(Ne,{variant:s==="invision"?"default":"outline",onClick:()=>o("invision"),className:"flex items-center gap-2",children:[i.jsx(hr,{className:"h-4 w-4"}),"invision⢠(Service Providers)"]}),i.jsxs(Ne,{variant:s==="bap"?"default":"outline",onClick:()=>o("bap"),className:"flex items-center gap-2",children:[i.jsx(RC,{className:"h-4 w-4"}),"BAP⢠(Carriers)"]})]})]}),i.jsx("div",{className:"relative mb-8",children:i.jsxs("div",{className:"h-80 bg-gradient-to-r from-red-50 via-blue-50 to-green-50 rounded-xl relative overflow-hidden",children:[i.jsxs("svg",{className:"absolute inset-0 w-full h-full",viewBox:"0 0 800 300",children:[i.jsx("defs",{children:i.jsxs("linearGradient",{id:"curveGradient",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[i.jsx("stop",{offset:"0%",style:{stopColor:"#EF4444",stopOpacity:.3}}),i.jsx("stop",{offset:"33%",style:{stopColor:"#3B82F6",stopOpacity:.3}}),i.jsx("stop",{offset:"66%",style:{stopColor:"#10B981",stopOpacity:.3}}),i.jsx("stop",{offset:"100%",style:{stopColor:"#059669",stopOpacity:.3}})]})}),i.jsx("path",{d:"M50 250 Q200 200 350 150 Q500 100 650 75 Q750 50 750 25",stroke:"url(#curveGradient)",strokeWidth:"4",fill:"none",strokeLinecap:"round",className:"drop-shadow-sm"}),[{x:100,y:230,stage:"manual",color:"#EF4444"},{x:300,y:175,stage:"proactive",color:"#3B82F6"},{x:500,y:125,stage:"optimized",color:"#10B981"},{x:650,y:75,stage:"strategic",color:"#059669"}].map(a=>i.jsx("circle",{cx:a.x,cy:a.y,r:e===a.stage?12:n===a.stage?10:8,fill:a.color,className:"cursor-pointer transition-all duration-200 hover:drop-shadow-lg",onClick:()=>t==null?void 0:t(a.stage),onMouseEnter:()=>r(a.stage),onMouseLeave:()=>r(null)},a.stage))]}),i.jsx("div",{className:"absolute left-2 top-1/2 transform -rotate-90 -translate-y-1/2 text-gray-600 font-medium text-sm",children:"Value to Organization"}),i.jsx("div",{className:"absolute bottom-2 left-1/2 transform -translate-x-1/2 text-gray-600 font-medium text-sm",children:"Process Maturity"})]})}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:l.map(a=>i.jsx(J,{className:`cursor-pointer transition-all duration-200 hover:shadow-lg ${e===a.id?`ring-2 ring-blue-500 ${a.bgColor}`:`${a.bgColor} ${a.borderColor} border-2`}`,onClick:()=>t==null?void 0:t(a.id),children:i.jsxs(ee,{className:"p-4",children:[i.jsxs("div",{className:"text-center mb-4",children:[i.jsx("div",{className:`w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-3 text-2xl ${e===a.id?"bg-white shadow-md":"bg-white/50"}`,children:a.icon}),i.jsx("h4",{className:`font-semibold mb-2 ${a.color}`,children:a.name}),i.jsx("p",{className:"text-xs text-gray-600 mb-3",children:a.description}),a.pricing&&i.jsx("div",{className:"mb-2",children:i.jsxs(St,{variant:"secondary",className:"text-xs",children:["Flex Plus⢠",a.pricing.rate,"% / $",a.pricing.cap," cap"]})}),a.timeline&&i.jsx("div",{className:"mb-2",children:i.jsx(St,{variant:"outline",className:"text-xs text-blue-600",children:a.timeline})}),a.implementation&&i.jsx("p",{className:"text-xs text-green-600 font-medium mb-3",children:a.implementation})]}),i.jsx("ul",{className:"text-xs text-gray-600 space-y-1",children:a.features.map((c,u)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx("span",{className:"text-green-500 mr-1 flex-shrink-0",children:"â¢"}),i.jsx("span",{children:c})]},u))})]})},a.id))})]})})}var GN="Label",Ay=f.forwardRef((e,t)=>
vendor: 5,118 bytes, line 193
193i.jsx(U.label,{...e,ref:t,onMouseDown:n=>{var s;n.target.closest("button, input, select, textarea")||((s=e.onMouseDown)==null||s.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Ay.displayName=GN;var My=Ay;const qN=ii("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Ue=f.forwardRef(({className:e,...t},n)=>i.jsx(My,{ref:n,className:Y(qN(),e),...t}));Ue.displayName=My.displayName;function sh(e,[t,n]){return Math.min(n,Math.max(t,e))}var YN=f.createContext(void 0);function ua(e){const t=f.useContext(YN);return e||t||"ltr"}var Ja=0;function Oy(){f.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??oh()),document.body.insertAdjacentElement("beforeend",e[1]??oh()),Ja++,()=>{Ja===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ja--}},[])}function oh(){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 ec="focusScope.autoFocusOnMount",tc="focusScope.autoFocusOnUnmount",ih={bubbles:!1,cancelable:!0},XN="FocusScope",Yd=f.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:o,...l}=e,[a,c]=f.useState(null),u=it(s),h=it(o),d=f.useRef(null),p=ae(t,v=>c(v)),x=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let v=function(y){if(x.paused||!a)return;const j=y.target;a.contains(j)?d.current=j:In(d.current,{select:!0})},w=function(y){if(x.paused||!a)return;const j=y.relatedTarget;j!==null&&(a.contains(j)||In(d.current,{select:!0}))},g=function(y){if(document.activeElement===document.body)for(const E of y)E.removedNodes.length>0&&In(a)};document.addEventListener("focusin",v),document.addEventListener("focusout",w);const m=new MutationObserver(g);return a&&m.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",w),m.disconnect()}}},[r,a,x.paused]),f.useEffect(()=>{if(a){ah.add(x);const v=document.activeElement;if(!a.contains(v)){const g=new CustomEvent(ec,ih);a.addEventListener(ec,u),a.dispatchEvent(g),g.defaultPrevented||(ZN(rE(_y(a)),{select:!0}),document.activeElement===v&&In(a))}return()=>{a.removeEventListener(ec,u),setTimeout(()=>{const g=new CustomEvent(tc,ih);a.addEventListener(tc,h),a.dispatchEvent(g),g.defaultPrevented||In(v??document.body,{select:!0}),a.removeEventListener(tc,h),ah.remove(x)},0)}}},[a,u,h,x]);const S=f.useCallback(v=>{if(!n&&!r||x.paused)return;const w=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,g=document.activeElement;if(w&&g){const m=v.currentTarget,[y,j]=JN(m);y&&j?!v.shiftKey&&g===j?(v.preventDefault(),n&&In(y,{select:!0})):v.shiftKey&&g===y&&(v.preventDefault(),n&&In(j,{select:!0})):g===m&&v.preventDefault()}},[n,r,x.paused]);return i.jsx(U.div,{tabIndex:-1,...l,ref:p,onKeyDown:S})});Yd.displayName=XN;function ZN(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(In(r,{select:t}),document.activeElement!==n)return}function JN(e){const t=_y(e),n=lh(t,e),r=lh(t.reverse(),e);return[n,r]}function _y(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function lh(e,t){for(const n of e)if(!eE(n,{upTo:t}))return n}function eE(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 tE(e){return e instanceof HTMLInputElement&&"select"in e}function In(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&tE(e)&&t&&e.select()}}var ah=nE();function nE(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=ch(e,t),e.unshift(t)},remove(t){var n;e=ch(e,t),(n=e[0])==null||n.resume()}}}function ch(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function rE(e){return e.filter(t=>t.tagName!=="A")}function sE(e){const t=f.useRef({value:e,previous:e});return f.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var oE=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ur=new WeakMap,Ai=new WeakMap,Mi={},nc=0,Dy=function(e){return e&&(e.host||Dy(e.parentNode))},iE=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Dy(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})},lE=function(e,t,n,r){var s=iE(t,Array.isArray(e)?e:[e]);Mi[n]||(Mi[n]=new WeakMap);var o=Mi[n],l=[],a=new Set,c=new Set(s),u=function(d){!d||a.has(d)||(a.add(d),u(d.parentNode))};
vendor: 8,363 bytes, lines 193-230
193s.forEach(u);var h=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(p){if(a.has(p))h(p);else try{var x=p.getAttribute(r),S=x!==null&&x!=="false",v=(Ur.get(p)||0)+1,w=(o.get(p)||0)+1;Ur.set(p,v),o.set(p,w),l.push(p),v===1&&S&&Ai.set(p,!0),w===1&&p.setAttribute(n,"true"),S||p.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",p,g)}})};return h(t),a.clear(),nc++,function(){l.forEach(function(d){var p=Ur.get(d)-1,x=o.get(d)-1;Ur.set(d,p),o.set(d,x),p||(Ai.has(d)||d.removeAttribute(r),Ai.delete(d)),x||d.removeAttribute(n)}),nc--,nc||(Ur=new WeakMap,Ur=new WeakMap,Ai=new WeakMap,Mi={})}},Fy=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=oE(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live]"))),lE(r,s,n,"aria-hidden")):function(){return null}},qt=function(){return qt=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;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 Ly(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 s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function aE(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,o;r<s;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 Zi="right-scroll-bar-position",Ji="width-before-scroll-bar",cE="with-scroll-bars-hidden",uE="--removed-body-scroll-bar-size";function rc(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function dE(e,t){var n=f.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=t,n.facade}var fE=typeof window<"u"?f.useLayoutEffect:f.useEffect,uh=new WeakMap;function pE(e,t){var n=dE(null,function(r){return e.forEach(function(s){return rc(s,r)})});return fE(function(){var r=uh.get(n);if(r){var s=new Set(r),o=new Set(e),l=n.current;s.forEach(function(a){o.has(a)||rc(a,null)}),o.forEach(function(a){s.has(a)||rc(a,l)})}uh.set(n,e)},[e]),n}function hE(e){return e}function mE(e,t){t===void 0&&(t=hE);var n=[],r=!1,s={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 l=t(o,r);return n.push(l),function(){n=n.filter(function(a){return a!==l})}},assignSyncMedium:function(o){for(r=!0;n.length;){var l=n;n=[],l.forEach(o)}n={push:function(a){return o(a)},filter:function(){return n}}},assignMedium:function(o){r=!0;var l=[];if(n.length){var a=n;n=[],a.forEach(o),l=n}var c=function(){var h=l;l=[],h.forEach(o)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(h){l.push(h),u()},filter:function(h){return l=l.filter(h),n}}}};return s}function vE(e){e===void 0&&(e={});var t=mE(null);return t.options=qt({async:!0,ssr:!1},e),t}var zy=function(e){var t=e.sideCar,n=Ly(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 f.createElement(r,qt({},n))};zy.isSideCarExport=!0;function gE(e,t){return e.useMedium(t),zy}var $y=vE(),sc=function(){},da=f.forwardRef(function(e,t){var n=f.useRef(null),r=f.useState({onScrollCapture:sc,onWheelCapture:sc,onTouchMoveCapture:sc}),s=r[0],o=r[1],l=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,h=e.enabled,d=e.shards,p=e.sideCar,x=e.noIsolation,S=e.inert,v=e.allowPinchZoom,w=e.as,g=w===void 0?"div":w,m=e.gapMode,y=Ly(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=p,E=pE([n,t]),C=qt(qt({},y),s);return f.createElement(f.Fragment,null,h&&f.createElement(j,{sideCar:$y,removeScrollBar:u,shards:d,noIsolation:x,inert:S,setCallbacks:o,allowPinchZoom:!!v,lockRef:n,gapMode:m}),l?f.cloneElement(f.Children.only(a),qt(qt({},C),{ref:E})):f.createElement(g,qt({},C,{className:c,ref:E}),a))});da.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};da.classNames={fullWidth:Ji,zeroRight:Zi};var yE=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function xE(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=yE();return t&&e.setAttribute("nonce",t),e}function wE(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function SE(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var jE=function(){var e=0,t=null;return{add:function(n){e==0&&(t=xE())&&(wE(t,n),SE(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},CE=function(){var e=jE();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Vy=function(){var e=CE(),t=function(n){var r=n.styles,s=n.dynamic;return e(r,s),null};return t},bE={left:0,top:0,right:0,gap:0},oc=function(e){return parseInt(e||"",10)||0},NE=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[oc(n),oc(r),oc(s)]},EE=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return bE;var t=NE(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])}},PE=Vy(),vs="data-scroll-locked",kE=function(e,t,n,r){var s=e.left,o=e.top,l=e.right,a=e.gap;return n===void 0&&(n="margin"),` 194 .`.concat(cE,` { 195 overflow: hidden `).concat(r,`; 196 padding-right: `).concat(a,"px ").concat(r,`; 197 } 198 body[`).concat(vs,`] { 199 overflow: hidden `).concat(r,`; 200 overscroll-behavior: contain; 201 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 202 padding-left: `.concat(s,`px; 203 padding-top: `).concat(o,`px; 204 padding-right: `).concat(l,`px; 205 margin-left:0; 206 margin-top:0; 207 margin-right: `).concat(a,"px ").concat(r,`; 208 `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),` 209 } 210 211 .`).concat(Zi,` { 212 right: `).concat(a,"px ").concat(r,`; 213 } 214 215 .`).concat(Ji,` { 216 margin-right: `).concat(a,"px ").concat(r,`; 217 } 218 219 .`).concat(Zi," .").concat(Zi,` { 220 right: 0 `).concat(r,`; 221 } 222 223 .`).concat(Ji," .").concat(Ji,` { 224 margin-right: 0 `).concat(r,`; 225 } 226 227 body[`).concat(vs,`] { 228 `).concat(uE,": ").concat(a,`px; 229 } 230`)},dh=function(){var e=parseInt(document.body.getAttribute(vs)||"0",10);return isFinite(e)?e:0},TE=function(){f.useEffect(function(){return document.body.setAttribute(vs,(dh()+1).toString()),function(){var e=dh()-1;e<=0?document.body.removeAttribute(vs):document.body.setAttribute(vs,e.toString())}},[])},RE=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;TE();var o=f.useMemo(function(){return EE(s)},[s]);return f.createElement(PE,{styles:kE(o,!t,s,n?"":"!important")})},bu=!1;if(typeof window<"u")try{var Oi=Object.defineProperty({},"passive",{get:function(){return bu=!0,!0}});window.addEventListener("test",Oi,Oi),window.removeEventListener("test",Oi,Oi)}catch{bu=!1}var Hr=bu?{passive:!1}:!1,IE=function(e){return e.tagName==="TEXTAREA"},By=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!IE(e)&&n[t]==="visible")},AE=function(e){return By(e,"overflowY")},ME=function(e){return By(e,"overflowX")},fh=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=Uy(e,r);if(s){var o=Hy(e,r),l=o[1],a=o[2];if(l>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},OE=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},_E=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Uy=function(e,t){return e==="v"?AE(t):ME(t)},Hy=function(e,t){return e==="v"?OE(t):_E(t)},DE=function(e,t){return e==="h"&&t==="rtl"?-1:1}
vendor: 21,881 bytes, lines 230-233
230,FE=function(e,t,n,r,s){var o=DE(e,window.getComputedStyle(t).direction),l=o*r,a=n.target,c=t.contains(a),u=!1,h=l>0,d=0,p=0;do{var x=Hy(e,a),S=x[0],v=x[1],w=x[2],g=v-w-o*S;(S||g)&&Uy(e,a)&&(d+=g,p+=S),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(h&&(Math.abs(d)<1||!s)||!h&&(Math.abs(p)<1||!s))&&(u=!0),u},_i=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ph=function(e){return[e.deltaX,e.deltaY]},hh=function(e){return e&&"current"in e?e.current:e},LE=function(e,t){return e[0]===t[0]&&e[1]===t[1]},zE=function(e){return` 231 .block-interactivity-`.concat(e,` {pointer-events: none;} 232 .allow-interactivity-`).concat(e,` {pointer-events: all;} 233`)},$E=0,Wr=[];function VE(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),s=f.useState($E++)[0],o=f.useState(Vy)[0],l=f.useRef(e);f.useEffect(function(){l.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var v=aE([e.lockRef.current],(e.shards||[]).map(hh),!0).filter(Boolean);return v.forEach(function(w){return w.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),v.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var a=f.useCallback(function(v,w){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!l.current.allowPinchZoom;var g=_i(v),m=n.current,y="deltaX"in v?v.deltaX:m[0]-g[0],j="deltaY"in v?v.deltaY:m[1]-g[1],E,C=v.target,N=Math.abs(y)>Math.abs(j)?"h":"v";if("touches"in v&&N==="h"&&C.type==="range")return!1;var P=fh(N,C);if(!P)return!0;if(P?E=N:(E=N==="v"?"h":"v",P=fh(N,C)),!P)return!1;if(!r.current&&"changedTouches"in v&&(y||j)&&(r.current=E),!E)return!0;var T=r.current||E;return FE(T,w,v,T==="h"?y:j,!0)},[]),c=f.useCallback(function(v){var w=v;if(!(!Wr.length||Wr[Wr.length-1]!==o)){var g="deltaY"in w?ph(w):_i(w),m=t.current.filter(function(E){return E.name===w.type&&(E.target===w.target||w.target===E.shadowParent)&&LE(E.delta,g)})[0];if(m&&m.should){w.cancelable&&w.preventDefault();return}if(!m){var y=(l.current.shards||[]).map(hh).filter(Boolean).filter(function(E){return E.contains(w.target)}),j=y.length>0?a(w,y[0]):!l.current.noIsolation;j&&w.cancelable&&w.preventDefault()}}},[]),u=f.useCallback(function(v,w,g,m){var y={name:v,delta:w,target:g,should:m,shadowParent:BE(g)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(j){return j!==y})},1)},[]),h=f.useCallback(function(v){n.current=_i(v),r.current=void 0},[]),d=f.useCallback(function(v){u(v.type,ph(v),v.target,a(v,e.lockRef.current))},[]),p=f.useCallback(function(v){u(v.type,_i(v),v.target,a(v,e.lockRef.current))},[]);f.useEffect(function(){return Wr.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Hr),document.addEventListener("touchmove",c,Hr),document.addEventListener("touchstart",h,Hr),function(){Wr=Wr.filter(function(v){return v!==o}),document.removeEventListener("wheel",c,Hr),document.removeEventListener("touchmove",c,Hr),document.removeEventListener("touchstart",h,Hr)}},[]);var x=e.removeScrollBar,S=e.inert;return f.createElement(f.Fragment,null,S?f.createElement(o,{styles:zE(s)}):null,x?f.createElement(RE,{gapMode:e.gapMode}):null)}function BE(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const UE=gE($y,VE);var Xd=f.forwardRef(function(e,t){return f.createElement(da,qt({},e,{ref:t,sideCar:UE}))});Xd.classNames=da.classNames;var HE=[" ","Enter","ArrowUp","ArrowDown"],WE=[" ","Enter"],ai="Select",[fa,pa,QE]=ea(ai),[Gs,F2]=rn(ai,[QE,la]),ha=la(),[KE,ur]=Gs(ai),[GE,qE]=Gs(ai),Wy=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:s,onOpenChange:o,value:l,defaultValue:a,onValueChange:c,dir:u,name:h,autoComplete:d,disabled:p,required:x,form:S}=e,v=ha(t),[w,g]=f.useState(null),[m,y]=f.useState(null),[j,E]=f.useState(!1),C=ua(u),[N=!1,P]=jn({prop:r,defaultProp:s,onChange:o}),[T,I]=jn({prop:l,defaultProp:a,onChange:c}),D=f.useRef(null),O=w?S||!!w.closest("form"):!0,[H,M]=f.useState(new Set),Q=Array.from(H).map(L=>L.props.value).join(";");return i.jsx(jN,{...v,children:i.jsxs(KE,{required:x,scope:t,trigger:w,onTriggerChange:g,valueNode:m,onValueNodeChange:y,valueNodeHasChildren:j,onValueNodeHasChildrenChange:E,contentId:en(),value:T,onValueChange:I,open:N,onOpenChange:P,dir:C,triggerPointerDownPosRef:D,disabled:p,children:[i.jsx(fa.Provider,{scope:t,children:i.jsx(GE,{scope:e.__scopeSelect,onNativeOptionAdd:f.useCallback(L=>{M(K=>new Set(K).add(L))},[]),onNativeOptionRemove:f.useCallback(L=>{M(K=>{const k=new Set(K);return k.delete(L),k})},[]),children:n})}),O?i.jsxs(vx,{"aria-hidden":!0,required:x,tabIndex:-1,name:h,autoComplete:d,value:T,onChange:L=>I(L.target.value),disabled:p,form:S,children:[T===void 0?i.jsx("option",{value:""}):null,Array.from(H)]},Q):null]})})};Wy.displayName=ai;var Qy="SelectTrigger",Ky=f.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...s}=e,o=ha(n),l=ur(Qy,n),a=l.disabled||r,c=ae(t,l.onTriggerChange),u=pa(n),h=f.useRef("touch"),[d,p,x]=gx(v=>{const w=u().filter(y=>!y.disabled),g=w.find(y=>y.value===l.value),m=yx(w,v,g);m!==void 0&&l.onValueChange(m.value)}),S=v=>{a||(l.onOpenChange(!0),x()),v&&(l.triggerPointerDownPosRef.current={x:Math.round(v.pageX),y:Math.round(v.pageY)})};return i.jsx(Sy,{asChild:!0,...o,children:i.jsx(U.button,{type:"button",role:"combobox","aria-controls":l.contentId,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":mx(l.value)?"":void 0,...s,ref:c,onClick:$(s.onClick,v=>{v.currentTarget.focus(),h.current!=="mouse"&&S(v)}),onPointerDown:$(s.onPointerDown,v=>{h.current=v.pointerType;const w=v.target;w.hasPointerCapture(v.pointerId)&&w.releasePointerCapture(v.pointerId),v.button===0&&v.ctrlKey===!1&&v.pointerType==="mouse"&&(S(v),v.preventDefault())}),onKeyDown:$(s.onKeyDown,v=>{const w=d.current!=="";!(v.ctrlKey||v.altKey||v.metaKey)&&v.key.length===1&&p(v.key),!(w&&v.key===" ")&&HE.includes(v.key)&&(S(),v.preventDefault())})})})});Ky.displayName=Qy;var Gy="SelectValue",qy=f.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:s,children:o,placeholder:l="",...a}=e,c=ur(Gy,n),{onValueNodeHasChildrenChange:u}=c,h=o!==void 0,d=ae(t,c.onValueNodeChange);return Fe(()=>{u(h)},[u,h]),i.jsx(U.span,{...a,ref:d,style:{pointerEvents:"none"},children:mx(c.value)?i.jsx(i.Fragment,{children:l}):o})});qy.displayName=Gy;var YE="SelectIcon",Yy=f.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...s}=e;return i.jsx(U.span,{"aria-hidden":!0,...s,ref:t,children:r||"â¼"})});Yy.displayName=YE;var XE="SelectPortal",Xy=e=>i.jsx(ta,{asChild:!0,...e});Xy.displayName=XE;var Fr="SelectContent",Zy=f.forwardRef((e,t)=>{const n=ur(Fr,e.__scopeSelect),[r,s]=f.useState();if(Fe(()=>{s(new DocumentFragment)},[]),!n.open){const o=r;return o?Vr.createPortal(i.jsx(Jy,{scope:e.__scopeSelect,children:i.jsx(fa.Slot,{scope:e.__scopeSelect,children:i.jsx("div",{children:e.children})})}),o):null}return i.jsx(ex,{...e,ref:t})});Zy.displayName=Fr;var Pt=10,[Jy,dr]=Gs(Fr),ZE="SelectContentImpl",JE=Ls("SelectContent.RemoveScroll"),ex=f.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:o,onPointerDownOutside:l,side:a,sideOffset:c,align:u,alignOffset:h,arrowPadding:d,collisionBoundary:p,collisionPadding:x,sticky:S,hideWhenDetached:v,avoidCollisions:w,...g}=e,m=ur(Fr,n),[y,j]=f.useState(null),[E,C]=f.useState(null),N=ae(t,B=>j(B)),[P,T]=f.useState(null),[I,D]=f.useState(null),O=pa(n),[H,M]=f.useState(!1),Q=f.useRef(!1);f.useEffect(()=>{if(y)return Fy(y)},[y]),Oy();const L=f.useCallback(B=>{const[de,...Le]=O().map(le=>le.ref.current),[ce]=Le.slice(-1),ie=document.activeElement;for(const le of B)if(le===ie||(le==null||le.scrollIntoView({block:"nearest"}),le===de&&E&&(E.scrollTop=0),le===ce&&E&&(E.scrollTop=E.scrollHeight),le==null||le.focus(),document.activeElement!==ie))return},[O,E]),K=f.useCallback(()=>L([P,y]),[L,P,y]);f.useEffect(()=>{H&&K()},[H,K]);const{onOpenChange:k,triggerPointerDownPosRef:A}=m;f.useEffect(()=>{if(y){let B={x:0,y:0};const de=ce=>{var ie,le;B={x:Math.abs(Math.round(ce.pageX)-(((ie=A.current)==null?void 0:ie.x)??0)),y:Math.abs(Math.round(ce.pageY)-(((le=A.current)==null?void 0:le.y)??0))}},Le=ce=>{B.x<=10&&B.y<=10?ce.preventDefault():y.contains(ce.target)||k(!1),document.removeEventListener("pointermove",de),A.current=null};return A.current!==null&&(document.addEventListener("pointermove",de),document.addEventListener("pointerup",Le,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",de),document.removeEventListener("pointerup",Le,{capture:!0})}}},[y,k,A]),f.useEffect(()=>{const B=()=>k(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[k]);const[z,W]=gx(B=>{const de=O().filter(ie=>!ie.disabled),Le=de.find(ie=>ie.ref.current===document.activeElement),ce=yx(de,B,Le);ce&&setTimeout(()=>ce.ref.current.focus())}),oe=f.useCallback((B,de,Le)=>{const ce=!Q.current&&!Le;(m.value!==void 0&&m.value===de||ce)&&(T(B),ce&&(Q.current=!0))},[m.value]),We=f.useCallback(()=>y==null?void 0:y.focus(),[y]),ke=f.useCallback((B,de,Le)=>{const ce=!Q.current&&!Le;(m.value!==void 0&&m.value===de||ce)&&D(B)},[m.value]),zt=r==="popper"?Nu:tx,Qe=zt===Nu?{side:a,sideOffset:c,align:u,alignOffset:h,arrowPadding:d,collisionBoundary:p,collisionPadding:x,sticky:S,hideWhenDetached:v,avoidCollisions:w}:{};return i.jsx(Jy,{scope:n,content:y,viewport:E,onViewportChange:C,itemRefCallback:oe,selectedItem:P,onItemLeave:We,itemTextRefCallback:ke,focusSelectedItem:K,selectedItemText:I,position:r,isPositioned:H,searchRef:z,children:i.jsx(Xd,{as:JE,allowPinchZoom:!0,children:i.jsx(Yd,{asChild:!0,trapped:m.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:$(s,B=>{var de;(de=m.trigger)==null||de.focus({preventScroll:!0}),B.preventDefault()}),children:i.jsx(si,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>m.onOpenChange(!1),children:i.jsx(zt,{role:"listbox",id:m.contentId,"data-state":m.open?"open":"closed",dir:m.dir,onContextMenu:B=>B.preventDefault(),...g,...Qe,onPlaced:()=>M(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:$(g.onKeyDown,B=>{const de=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!de&&B.key.length===1&&W(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let ce=O().filter(ie=>!ie.disabled).map(ie=>ie.ref.current);if(["ArrowUp","End"].includes(B.key)&&(ce=ce.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const ie=B.target,le=ce.indexOf(ie);ce=ce.slice(le+1)}setTimeout(()=>L(ce)),B.preventDefault()}})})})})})})});ex.displayName=ZE;var eP="SelectItemAlignedPosition",tx=f.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...s}=e,o=ur(Fr,n),l=dr(Fr,n),[a,c]=f.useState(null),[u,h]=f.useState(null),d=ae(t,N=>h(N)),p=pa(n),x=f.useRef(!1),S=f.useRef(!0),{viewport:v,selectedItem:w,selectedItemText:g,focusSelectedItem:m}=l,y=f.useCallback(()=>{if(o.trigger&&o.valueNode&&a&&u&&v&&w&&g){const N=o.trigger.getBoundingClientRect(),P=u.getBoundingClientRect(),T=o.valueNode.getBoundingClientRect(),I=g.getBoundingClientRect();if(o.dir!=="rtl"){const ie=I.left-P.left,le=T.left-ie,lt=N.left-le,$t=N.width+lt,qs=Math.max($t,P.width),Ys=window.innerWidth-Pt,Xs=sh(le,[Pt,Math.max(Pt,Ys-qs)]);a.style.minWidth=$t+"px",a.style.left=Xs+"px"}else{const ie=P.right-I.right,le=window.innerWidth-T.right-ie,lt=window.innerWidth-N.right-le,$t=N.width+lt,qs=Math.max($t,P.width),Ys=window.innerWidth-Pt,Xs=sh(le,[Pt,Math.max(Pt,Ys-qs)]);a.style.minWidth=$t+"px",a.style.right=Xs+"px"}const D=p(),O=window.innerHeight-Pt*2,H=v.scrollHeight,M=window.getComputedStyle(u),Q=parseInt(M.borderTopWidth,10),L=parseInt(M.paddingTop,10),K=parseInt(M.borderBottomWidth,10),k=parseInt(M.paddingBottom,10),A=Q+L+H+k+K,z=Math.min(w.offsetHeight*5,A),W=window.getComputedStyle(v),oe=parseInt(W.paddingTop,10),We=parseInt(W.paddingBottom,10),ke=N.top+N.height/2-Pt,zt=O-ke,Qe=w.offsetHeight/2,B=w.offsetTop+Qe,de=Q+L+B,Le=A-de;if(de<=ke){const ie=D.length>0&&w===D[D.length-1].ref.current;a.style.bottom="0px";const le=u.clientHeight-v.offsetTop-v.offsetHeight,lt=Math.max(zt,Qe+(ie?We:0)+le+K),$t=de+lt;a.style.height=$t+"px"}else{const ie=D.length>0&&w===D[0].ref.current;a.style.top="0px";const lt=Math.max(ke,Q+v.offsetTop+(ie?oe:0)+Qe)+Le;a.style.height=lt+"px",v.scrollTop=de-ke+v.offsetTop}a.style.margin=`${Pt}px 0`,a.style.minHeight=z+"px",a.style.maxHeight=O+"px",r==null||r(),requestAnimationFrame(()=>x.current=!0)}},[p,o.trigger,o.valueNode,a,u,v,w,g,o.dir,r]);Fe(()=>y(),[y]);const[j,E]=f.useState();Fe(()=>{u&&E(window.getComputedStyle(u).zIndex)},[u]);const C=f.useCallback(N=>{N&&S.current===!0&&(y(),m==null||m(),S.current=!1)},[y,m]);return i.jsx(nP,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:x,onScrollButtonChange:C,children:i.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:i.jsx(U.div,{...s,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});tx.displayName=eP;var tP="SelectPopperPosition",Nu=f.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:s=Pt,...o}=e,l=ha(n);return i.jsx(jy,{...l,...o,ref:t,align:r,collisionPadding:s,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Nu.displayName=tP;var[nP,Zd]=Gs(Fr,{}),Eu="SelectViewport",nx=f.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...s}=e,o=dr(Eu,n),l=Zd(Eu,n),a=ae(t,o.onViewportChange),c=f.useRef(0);return i.jsxs(i.Fragment,{children:[i.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),i.jsx(fa.Slot,{scope:n,children:i.jsx(U.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:$(s.onScroll,u=>{const h=u.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:p}=l;if(p!=null&&p.current&&d){const x=Math.abs(c.current-h.scrollTop);if(x>0){const S=window.innerHeight-Pt*2,v=parseFloat(d.style.minHeight),w=parseFloat(d.style.height),g=Math.max(v,w);if(g<S){const m=g+x,y=Math.min(S,m),j=m-y;d.style.height=y+"px",d.style.bottom==="0px"&&(h.scrollTop=j>0?j:0,d.style.justifyContent="flex-end")}}}c.current=h.scrollTop})})})]})});nx.displayName=Eu;var rx="SelectGroup",[rP,sP]=Gs(rx),oP=f.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=en();return i.jsx(rP,{scope:n,id:s,children:i.jsx(U.div,{role:"group","aria-labelledby":s,...r,ref:t})})});oP.displayName=rx;var sx="SelectLabel",ox=f.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=sP(sx,n);return i.jsx(U.div,{id:s.id,...r,ref:t})});ox.displayName=sx;var Al="SelectItem",[iP,ix]=Gs(Al),lx=f.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:s=!1,textValue:o,...l}=e,a=ur(Al,n),c=dr(Al,n),u=a.value===r,[h,d]=f.useState(o??""),[p,x]=f.useState(!1),S=ae(t,m=>{var y;return(y=c.itemRefCallback)==null?void 0:y.call(c,m,r,s)}),v=en(),w=f.useRef("touch"),g=()=>{s||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return i.jsx(iP,{scope:n,value:r,disabled:s,textId:v,isSelected:u,onItemTextChange:f.useCallback(m=>{d(y=>y||((m==null?void 0:m.textContent)??"").trim())},[]),children:i.jsx(fa.ItemSlot,{scope:n,value:r,disabled:s,textValue:h,children:i.jsx(U.div,{role:"option","aria-labelledby":v,"data-highlighted":p?"":void 0,"aria-selected":u&&p,"data-state":u?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...l,ref:S,onFocus:$(l.onFocus,()=>x(!0)),onBlur:$(l.onBlur,()=>x(!1)),onClick:$(l.onClick,()=>{w.current!=="mouse"&&g()}),onPointerUp:$(l.onPointerUp,()=>{w.current==="mouse"&&g()}),onPointerDown:$(l.onPointerDown,m=>{w.current=m.pointerType}),onPointerMove:$(l.onPointerMove,m=>{var y;w.current=m.pointerType,s?(y=c.onItemLeave)==null||y.call(c):w.current==="mouse"&&m.currentTarget.focus({preventScroll:!0})}),onPointerLeave:$(l.onPointerLeave,m=>{var y;m.currentTarget===document.activeElement&&((y=c.onItemLeave)==null||y.call(c))}),onKeyDown:$(l.onKeyDown,m=>{var j;((j=c.searchRef)==null?void 0:j.current)!==""&&m.key===" "||(WE.includes(m.key)&&g(),m.key===" "&&m.preventDefault())})})})})});lx.displayName=Al;var mo="SelectItemText",ax=f.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:s,...o}=e,l=ur(mo,n),a=dr(mo,n),c=ix(mo,n),u=qE(mo,n),[h,d]=f.useState(null),p=ae(t,g=>d(g),c.onItemTextChange,g=>{var m;return(m=a.itemTextRefCallback)==null?void 0:m.call(a,g,c.value,c.disabled)}),x=h==null?void 0:h.textContent,S=f.useMemo(()=>i.jsx("option",{value:c.value,disabled:c.disabled,children:x},c.value),[c.disabled,c.value,x]),{onNativeOptionAdd:v,onNativeOptionRemove:w}=u;return Fe(()=>(v(S),()=>w(S)),[v,w,S]),i.jsxs(i.Fragment,{children:[i.jsx(U.span,{id:c.textId,...o,ref:p}),c.isSelected&&l.valueNode&&!l.valueNodeHasChildren?Vr.createPortal(o.children,l.valueNode):null]})});ax.displayName=mo;var cx="SelectItemIndicator",ux=f.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return ix(cx,n).isSelected?i.jsx(U.span,{"aria-hidden":!0,...r,ref:t}):null});ux.displayName=cx;var Pu="SelectScrollUpButton",dx=f.forwardRef((e,t)=>{const n=dr(Pu,e.__scopeSelect),r=Zd(Pu,e.__scopeSelect),[s,o]=f.useState(!1),l=ae(t,r.onScrollButtonChange);return Fe(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=c.scrollTop>0;o(u)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),s?i.jsx(px,{...e,ref:l,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});dx.displayName=Pu;var ku="SelectScrollDownButton",fx=f.forwardRef((e,t)=>{const n=dr(ku,e.__scopeSelect),r=Zd(ku,e.__scopeSelect),[s,o]=f.useState(!1),l=ae(t,r.onScrollButtonChange);return Fe(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=c.scrollHeight-c.clientHeight,h=Math.ceil(c.scrollTop)<u;o(h)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),s?i.jsx(px,{...e,ref:l,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});fx.displayName=ku;var px=f.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...s}=e,o=dr("SelectScrollButton",n),l=f.useRef(null),a=pa(n),c=f.useCallback(()=>{l.current!==null&&(window.clearInterval(l.current),l.current=null)},[]);return f.useEffect(()=>()=>c(),[c]),Fe(()=>{var h;const u=a().find(d=>d.ref.current===document.activeElement);(h=u==null?void 0:u.ref.current)==null||h.scrollIntoView({block:"nearest"})},[a]),i.jsx(U.div,{"aria-hidden":!0,...s,ref:t,style:{flexShrink:0,...s.style},onPointerDown:$(s.onPointerDown,()=>{l.current===null&&(l.current=window.setInterval(r,50))}),onPointerMove:$(s.onPointerMove,()=>{var u;(u=o.onItemLeave)==null||u.call(o),l.current===null&&(l.current=window.setInterval(r,50))}),onPointerLeave:$(s.onPointerLeave,()=>{c()})})}),lP="SelectSeparator",hx=f.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return i.jsx(U.div,{"aria-hidden":!0,...r,ref:t})});hx.displayName=lP;var Tu="SelectArrow",aP=f.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=ha(n),o=ur(Tu,n),l=dr(Tu,n);return o.open&&l.position==="popper"?i.jsx(Cy,{...s,...r,ref:t}):null});aP.displayName=Tu;function mx(e){return e===""||e===void 0}var vx=f.forwardRef((e,t)=>{const{value:n,...r}=e,s=f.useRef(null),o=ae(t,s),l=sE(n);return f.useEffect(()=>{const a=s.current,c=window.HTMLSelectElement.prototype,h=Object.getOwnPropertyDescriptor(c,"value").set;if(l!==n&&h){const d=new Event("change",{bubbles:!0});h.call(a,n),a.dispatchEvent(d)}},[l,n]),i.jsx(oi,{asChild:!0,children:i.jsx("select",{...r,ref:o,defaultValue:n})})});vx.displayName="BubbleSelect";function gx(e){const t=it(e),n=f.useRef(""),r=f.useRef(0),s=f.useCallback(l=>{const a=n.current+l;t(a),function c(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>c(""),1e3))}(a)},[t]),o=f.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return f.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,s,o]}function yx(e,t,n){const s=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let l=cP(e,Math.max(o,0));s.length===1&&(l=l.filter(u=>u!==n));const c=l.find(u=>u.textValue.toLowerCase().startsWith(s.toLowerCase()));return c!==n?c:void 0}function cP(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var uP=Wy,xx=Ky,dP=qy,fP=Yy,pP=Xy,wx=Zy,hP=nx,Sx=ox,jx=lx,mP=ax,vP=ux,Cx=dx,bx=fx,Nx=hx;const fn=uP,pn=dP,Yt=f.forwardRef(({className:e,children:t,...n},r)=>i.jsxs(xx,{ref:r,className:Y("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
233ing-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,i.jsx(fP,{asChild:!0,children:i.jsx(Fd,{className:"h-4 w-4 opacity-50"})})]}));Yt.displayName=xx.displayName;const Ex=f.forwardRef(({className:e,...t},n)=>i.jsx(Cx,{ref:n,className:Y("flex cursor-default items-center justify-center py-1",e),...t,children:i.jsx(bC,{className:"h-4 w-4"})}));Ex.displayName=Cx.displayName;const Px=f.forwardRef(({className:e,...t},n)=>i.jsx(bx,{ref:n,className:Y("flex cursor-default items-center justify-center py-1",e),...t,children:i.jsx(Fd,{className:"h-4 w-4"})}));Px.displayName=bx.displayName;const Xt=f.forwardRef(({className:e,children:t,position:n="popper",...r},s)=>i.jsx(pP,{children:i.jsxs(wx,{ref:s,className:Y("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[i.jsx(Ex,{}),i.jsx(hP,{className:Y("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),i.jsx(Px,{})]})}));Xt.displayName=wx.displayName;const gP=f.forwardRef(({className:e,...t},n)=>i.jsx(Sx,{ref:n,className:Y("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));gP.displayName=Sx.displayName;const ne=f.forwardRef(({className:e,children:t,...n},r)=>i.jsxs(jx,{ref:r,className:Y("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[i.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i.jsx(vP,{children:i.jsx(jC,{className:"h-4 w-4"})})}),i.jsx(mP,{children:t})]}));ne.displayName=jx.displayName;const yP=f.forwardRef(({className:e,...t},n)=>i.jsx(Nx,{ref:n,className:Y("-mx-1 my-1 h-px bg-muted",e),...t}));yP.displayName=Nx.displayName;const xP=ii("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Ml=f.forwardRef(({className:e,variant:t,...n},r)=>i.jsx("div",{ref:r,role:"alert",className:Y(xP({variant:t}),e),...n}));Ml.displayName="Alert";const wP=f.forwardRef(({className:e,...t},n)=>i.jsx("h5",{ref:n,className:Y("mb-1 font-medium leading-none tracking-tight",e),...t}));wP.displayName="AlertTitle";const Ol=f.forwardRef(({className:e,...t},n)=>i.jsx("div",{ref:n,className:Y("text-sm [&_p]:leading-relaxed",e),...t}));Ol.displayName="AlertDescription";function SP({onAssessmentComplete:e}){const[t,n]=f.useState("assessment"),[r,s]=f.useState({partnerType:"",organizationType:"",claimsVolume:"",techStack:"",vendorManagement:""}),[o,l]=f.useState(null),a=El({mutationFn:async d=>{const p=c(d),S=await(await ps("POST","/api/assessments",{partnerType:d.partnerType,organizationType:d.organizationType,claimsVolume:d.claimsVolume,techStack:d.techStack,vendorManagement:d.vendorManagement,maturityStage:p.stage.toLowerCase(),maturityScore:p.score})).json();try{await ps("POST","/api/hubspot/track-assessment",{contactInfo:{email:`assessment-${Date.now()}@vipsoftware.com`,firstname:"Assessment",lastname:"User",company:"VIP Software Assessment"},assessmentData:d,assessmentResult:p})}catch(v){console.warn("HubSpot tracking failed:",v)}return{result:p,assessment:S}},onSuccess:({result:d})=>{l(d),n("results"),e==null||e(d)}}),c=d=>{let p=0;const x=[],S=d.partnerType==="invision";switch(d.techStack){case"manual":p+=1,x.push(S?"Implement invision⢠for standardized carrier billing":"Start with BAP⢠for vendor management standardization");break;case"basic":p+=2,x.push(S?"Add adjuster compensation management":"Implement automated fee schedule management");break;case"integrated":p+=3,x.push(S?"Enable industry benchmarking and reporting":"Add SLA compliance and vendor reporting");break;case"advanced":p+=4,x.push(S?"Integrate with claims management system":"Complete claims management integration");break}switch(d.vendorManagement){case"limited":p+=1,x.push(S?"Organize carrier fee schedules in one system":"Centralize vendor billing processes");break;case"expanding":p+=2,x.push(S?"Automate bulk invoicing and compensation tracking":"Implement 100% invoice reconciliation");break;case"diverse":p+=3,x.push(S?"Add carrier performance reporting":"Enable vendor performance benchmarking");break;case"optimized":p+=4,x.push(S?"Leverage full ecosystem for competitive advantage":"Maintain strategic vendor oversight");break}d.organizationType==="new-ia"||d.organizationType==="carrier-new"?(p=Math.max(1,p-1),x.push(S?"Start with Phase I: standardized billing setup":"Begin with vendor management centralization")):(d.organizationType==="legacy-ia"||d.organizationType==="carrier-enterprise")&&(p=Math.min(8,p+1),x.push("Leverage existing processes while implementing automation")),d.claimsVolume==="enterprise"&&p<6&&x.push(S?"High carrier volume justifies full automation investment":"Large vendor networks require comprehensive management");let v,w;return p<=2?(v="Manual",w=S?"Multiple systems managing carrier billing. Focus on Phase I: standardized billing and adjuster compensation.":"Multiple vendor billing systems. Start with centralized vendor management and fee schedules."):p<=4?(v="Proactive",w=S?"Ready for Phase I implementation: one system for carrier billing with automated compensation management."
233:"Ready for Phase I: standardized vendor billing with automated fee schedule management."):p<=6?(v="Optimized",w=S?"Ready for Phase II: comprehensive reporting and industry benchmarking data for growth.":"Ready for Phase II: SLA compliance enforcement and holistic vendor reporting."):(v="Strategic",w=S?"Ready for Phase III: claims management integration with full automation capabilities.":"Ready for Phase III: complete claims management integration with automated processes."),{stage:v,score:p,description:w,recommendations:x}},u=()=>{!r.partnerType||!r.organizationType||!r.claimsVolume||!r.techStack||!r.vendorManagement||a.mutate(r)},h=r.partnerType&&r.organizationType&&r.claimsVolume&&r.techStack&&r.vendorManagement;return t==="results"&&o?i.jsxs(J,{className:"w-full",children:[i.jsx(ge,{children:i.jsx(ye,{className:"text-center",children:i.jsxs("div",{className:"flex items-center justify-center gap-2 mb-2",children:[i.jsx(Pr,{className:"h-8 w-8 text-green-600"}),i.jsx("span",{className:"text-2xl",children:"Your Assessment Results"})]})})}),i.jsxs(ee,{className:"space-y-6",children:[i.jsxs(Ml,{children:[i.jsx(Pr,{className:"h-4 w-4"}),i.jsxs(Ol,{children:[i.jsxs("strong",{children:["Maturity Stage: ",o.stage]}),i.jsx("br",{}),o.description]})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsx("h3",{className:"text-lg font-semibold",children:"Recommendations for Growth:"}),i.jsx("ul",{className:"space-y-2",children:o.recommendations.map((d,p)=>i.jsxs("li",{className:"flex items-start gap-2",children:[i.jsx(St,{variant:"outline",className:"mt-1 flex-shrink-0",children:p+1}),i.jsx("span",{className:"text-gray-700",children:d})]},p))})]}),i.jsx("div",{className:"mt-6 p-4 bg-green-50 rounded-lg",children:i.jsx("p",{className:"text-green-800 text-center font-medium",children:"Thank you for completing the assessment! Your information has been securely captured and a VIP Software specialist will reach out to discuss your customized growth pathway."})}),i.jsx("div",{className:"text-center space-y-4",children:i.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[i.jsxs(Ne,{onClick:async()=>{try{const d=await fetch("/api/generate-assessment-pdf",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({assessmentData:r,assessmentResult:o,contactInfo:{email:"[email protected]"}})});if(d.ok){const p=await d.blob(),x=window.URL.createObjectURL(p),S=document.createElement("a");S.href=x,S.download="assessment-report.pdf",document.body.appendChild(S),S.click(),window.URL.revokeObjectURL(x),document.body.removeChild(S)}}catch(d){console.error("PDF download failed:",d)}},className:"bg-gradient-to-r from-blue-600 to-green-600 hover:from-blue-700 hover:to-green-700 text-white",children:[i.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),"Download PDF Report"]}),i.jsx(Ne,{onClick:()=>{n("assessment"),l(null),s({partnerType:"",organizationType:"",claimsVolume:"",techStack:"",vendorManagement:""})},variant:"outline",children:"Take Another Assessment"})]})})]})]}):i.jsxs(J,{className:"w-full",children:[i.jsx(ge,{children:i.jsxs(ye,{className:"text-center",children:[i.jsxs("div",{className:"flex items-center justify-center gap-2 mb-2",children:[i.jsx(SC,{className:"h-8 w-8 text-blue-600"}),i.jsx("span",{className:"text-2xl",children:"Claims Operations Maturity Assessment"})]}),i.jsx("p",{className:"text-base font-normal text-gray-600 max-w-3xl mx-auto",children:"Complete this assessment to discover your maturity stage and growth opportunities"})]})}),i.jsxs(ee,{className:"space-y-6",children:[i.jsxs("div",{className:"bg-blue-50 rounded-lg p-6",children:[i.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Quick Partner Assessment"}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ue,{htmlFor:"partnerType",children:"Partner Type"}),i.jsxs(fn,{value:r.partnerType,onValueChange:d=>s(p=>({...p,partnerType:d,organizationType:""})),children:[i.jsx(Yt,{children:i.jsx(pn,{placeholder:"Select partner type..."})}),i.jsxs(Xt,{children:[i.jsx(ne,{value:"invision",children:"invision⢠(Service Providers)"}),i.jsx(ne,{value:"bap",children:"BAP⢠(Carriers)"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ue,{htmlFor:"orgType",children:"Organization Type"}),i.jsxs(fn,{value:r.organizationType,onValueChange:d=>s(p=>({...p,organizationType:d}
233)),disabled:!r.partnerType,children:[i.jsx(Yt,{children:i.jsx(pn,{placeholder:"Select organization type..."})}),i.jsxs(Xt,{children:[r.partnerType==="invision"?i.jsxs(i.Fragment,{children:[i.jsx(ne,{value:"new-ia",children:"New Service Provider"}),i.jsx(ne,{value:"growth-ia",children:"Growing Service Provider"}),i.jsx(ne,{value:"legacy-ia",children:"Legacy Service Provider"})]}):r.partnerType==="bap"?i.jsxs(i.Fragment,{children:[i.jsx(ne,{value:"carrier-new",children:"New/Regional Carrier"}),i.jsx(ne,{value:"carrier-mid",children:"Mid-Size Carrier"}),i.jsx(ne,{value:"carrier-enterprise",children:"Enterprise Carrier"})]}):null,i.jsx(ne,{value:"carrier",children:"Insurance Carrier"}),i.jsx(ne,{value:"vendor",children:"Service Provider/Vendor"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ue,{htmlFor:"claimsVolume",children:"Current Claims Volume (Monthly)"}),i.jsxs(fn,{value:r.claimsVolume,onValueChange:d=>s(p=>({...p,claimsVolume:d})),children:[i.jsx(Yt,{children:i.jsx(pn,{placeholder:"Select volume range..."})}),i.jsxs(Xt,{children:[i.jsx(ne,{value:"low",children:"Under 100 claims"}),i.jsx(ne,{value:"medium",children:"100-500 claims"}),i.jsx(ne,{value:"high",children:"500-1,000 claims"}),i.jsx(ne,{value:"enterprise",children:"1,000+ claims"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ue,{htmlFor:"techStack",children:"Current Technology Stack"}),i.jsxs(fn,{value:r.techStack,onValueChange:d=>s(p=>({...p,techStack:d})),children:[i.jsx(Yt,{children:i.jsx(pn,{placeholder:"Select current approach..."})}),i.jsxs(Xt,{children:[i.jsx(ne,{value:"manual",children:"Mostly manual processes"}),i.jsx(ne,{value:"basic",children:"Basic digital tools"}),i.jsx(ne,{value:"integrated",children:"Some integrated systems"}),i.jsx(ne,{value:"advanced",children:"Advanced automation"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ue,{htmlFor:"vendorMgmt",children:"Vendor Management"}),i.jsxs(fn,{value:r.vendorManagement,onValueChange:d=>s(p=>({...p,vendorManagement:d})),children:[i.jsx(Yt,{children:i.jsx(pn,{placeholder:"Select current capabilities..."})}),i.jsxs(Xt,{children:[i.jsx(ne,{value:"limited",children:"Limited to few partners"}),i.jsx(ne,{value:"expanding",children:"Expanding network"}),i.jsx(ne,{value:"diverse",children:"Diverse, complex network"}),i.jsx(ne,{value:"optimized",children:"Fully optimized management"})]})]})]})]})]}),i.jsx("div",{className:"flex justify-center",children:i.jsx(Ne,{onClick:u,disabled:!h||a.isPending,size:"lg",className:"bg-gradient-to-r from-blue-600 to-green-600 hover:from-blue-700 hover:to-green-700 text-white font-semibold px-8 py-3",children:a.isPending?i.jsxs(i.Fragment,{children:[i.jsx(yu,{className:"h-4 w-4 mr-2 animate-spin"}),"Calculating Assessment..."]}):i.jsxs(i.Fragment,{children:[i.jsx(Pr,{className:"h-4 w-4 mr-2"}),"Get My Assessment Results"]})})}),a.isError&&i.jsxs(Ml,{children:[i.jsx(yu,{className:"h-4 w-4"}),i.jsx(Ol,{children:"There was an error processing your assessment. Please try again."})]})]})]})}const un=f.forwardRef(({className:e,type:t,...n},r)=>i.jsx("input",{type:t,className:Y("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}));un.displayName="Input";function jP(){const[e,t]=f.useState({invoiceVolume:0,avgInvoiceAmount:0,maturityLevel:""}),[n,r]=f.useState("invision"),[s,o]=f.useState(null),l=[{value:"proactive",label:"Phase I - Proactive (3.0% / $75 cap)",rate:.03,cap:75},{value:"optimized",label:"Phase II - Optimized (2.0% / $50 cap)",rate:.02,cap:50},{value:"strategic",label:"Phase III - Strategic (1.5% / $40 cap)",rate:.015,cap:40}],a=El({mutationFn:async d=>{const p=c(d),x=await ps("POST","/api/pricing-calculations",{assessmentId:null,invoiceVolume:d.invoiceVolume,avgInvoiceAmount:d.avgInvoiceAmount,maturityLevel:d.maturityLevel,monthlyFee:p.monthlyFee,annualFee:p.annualFee,effectiveRate:p.effectiveRate});return{result:p,calculation:await x.json()}},onSuccess:({result:d})=>{o(d)}}),c=d=>{const p=l.find(E=>E.value===d.maturityLevel);if(!p)throw new Error("Invalid maturity level");
233const x=Math.min(d.avgInvoiceAmount*p.rate,p.cap),S=x*d.invoiceVolume,v=S*12,w=x/d.avgInvoiceAmount*100,g=l[0],y=Math.min(d.avgInvoiceAmount*g.rate,g.cap)*d.invoiceVolume,j=p.value!=="reactive"?(y-S)*12:void 0;return{monthlyFee:S,annualFee:v,effectiveRate:w,tier:p.label,savings:j}},u=()=>{!e.invoiceVolume||!e.avgInvoiceAmount||!e.maturityLevel||a.mutate(e)},h=e.invoiceVolume>0&&e.avgInvoiceAmount>0&&e.maturityLevel;return i.jsxs(J,{className:"w-full",children:[i.jsx(ge,{children:i.jsxs(ye,{className:"text-center",children:[i.jsxs("div",{className:"flex items-center justify-center gap-2 mb-2",children:[i.jsx(_r,{className:"h-8 w-8 text-amber-600"}),i.jsx("span",{className:"text-2xl",children:"Flex Plus⢠Pricing Calculator"})]}),i.jsx("p",{className:"text-base font-normal text-gray-600",children:"Calculate your smart, scalable pricing based on maturity and volume"})]})}),i.jsx(ee,{children:i.jsxs("div",{className:"grid lg:grid-cols-2 gap-8",children:[i.jsxs("div",{className:"space-y-6",children:[i.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:"Calculate Your Pricing"}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ue,{htmlFor:"partnerType",children:"Partner Type"}),i.jsxs(fn,{value:n,onValueChange:d=>r(d),children:[i.jsx(Yt,{children:i.jsx(pn,{placeholder:"Select partner type..."})}),i.jsxs(Xt,{children:[i.jsx(ne,{value:"invision",children:"invision⢠(Service Providers)"}),i.jsx(ne,{value:"bap",children:"BAP⢠(Carriers)"})]})]}),i.jsx("p",{className:"text-xs text-gray-500",children:n==="invision"?"Independent adjuster firms managing carrier billing and compensations":"Carriers managing vendor networks and invoice processing"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ue,{htmlFor:"invoiceVolume",children:n==="invision"?"Monthly Carrier Invoice Volume":"Monthly Vendor Invoice Volume"}),i.jsx(un,{id:"invoiceVolume",type:"number",placeholder:"Enter total monthly volume",value:e.invoiceVolume||"",onChange:d=>t(p=>({...p,invoiceVolume:parseInt(d.target.value)||0}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ue,{htmlFor:"avgInvoice",children:"Average Invoice Amount"}),i.jsx(un,{id:"avgInvoice",type:"number",placeholder:n==="invision"?"Average carrier invoice amount":"Average vendor invoice amount",value:e.avgInvoiceAmount||"",onChange:d=>t(p=>({...p,avgInvoiceAmount:parseFloat(d.target.value)||0}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(Ue,{htmlFor:"maturityLevel",children:"Current Maturity Level"}),i.jsxs(fn,{value:e.maturityLevel,onValueChange:d=>t(p=>({...p,maturityLevel:d})),children:[i.jsx(Yt,{children:i.jsx(pn,{placeholder:"Select maturity level..."})}),i.jsx(Xt,{children:l.map(d=>i.jsx(ne,{value:d.value,children:d.label},d.value))})]})]}),i.jsx(Ne,{onClick:u,disabled:!h||a.isPending,className:"w-full",children:a.isPending?"Calculating...":i.jsxs(i.Fragment,{children:[i.jsx(_r,{className:"mr-2 h-4 w-4"}),"Calculate FlexPlus⢠Cost"]})})]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:"Pricing Breakdown"}),i.jsx("div",{className:"bg-gray-50 rounded-lg p-6",children:i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"text-left border-b border-gray-200",children:[i.jsx("th",{className:"pb-2 text-sm font-medium text-gray-700",children:"Tier"}),i.jsx("th",{className:"pb-2 text-sm font-medium text-gray-700",children:"Rate"}),i.jsx("th",{className:"pb-2 text-sm font-medium text-gray-700",children:"Cap/Invoice"})]})}),i.jsxs("tbody",{className:"text-sm",children:[i.jsxs("tr",{className:"border-b border-gray-100",children:[i.jsx("td",{className:"py-2 font-medium",children:"Reactive"}),i.jsx("td",{className:"py-2",children:"4.0%"}),i.jsx("td",{className:"py-2",children:"$100"})]}),i.jsxs("tr",{className:"border-b border-gray-100",children:[i.jsx("td",{className:"py-2 font-medium",children:"Proactive"}),i.jsx("td",{className:"py-2",children:"3.0%"}),i.jsx("td",{className:"py-2",children:"$75"})]}),i.jsxs("tr",{children:[i.jsx("td",{className:"py-2 font-medium",children:"Strategic"}),i.jsx("td",{className:"py-2",children:"1.5%"}),i.jsx("td",{className:"py-2",children:"$40"})]})]})]})})}),s&&i.jsx("div",{className:"space-y-4",children:i.jsxs(Ml,{className:"border-green-200 bg-green-50",children:[i.jsx(Ug,{className:"h-4 w-4 text-green-600"}),i.jsx(Ol,{children:i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsx("span",{className:"text-gray-700",children:"Monthly FlexPlus⢠Cost:"}),i.jsxs("span",{className:"text-2xl font-bold text-blue-600",children:["$",s.monthlyFee.toLocaleStr
233ing()]})]}),i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsx("span",{className:"text-gray-700",children:"Annual Estimate:"}),i.jsxs("span",{className:"text-xl font-semibold text-gray-900",children:["$",s.annualFee.toLocaleString()]})]}),i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsx("span",{className:"text-gray-700",children:"Effective Rate:"}),i.jsxs(St,{variant:"secondary",className:"text-lg",children:[s.effectiveRate.toFixed(2),"%"]})]}),s.savings&&i.jsxs("div",{className:"flex justify-between items-center pt-2 border-t",children:[i.jsx("span",{className:"text-green-700 font-medium",children:"Annual Savings vs Reactive:"}),i.jsxs("span",{className:"text-xl font-bold text-green-600 flex items-center",children:[i.jsx(Pl,{className:"h-4 w-4 mr-1"}),"$",s.savings.toLocaleString()]})]})]})})]})})]})]})})]})}const CP=[{id:"new-ia",name:"New Service Provider",description:"Manual â Reactive",maturityRange:"Starting digital transformation",pricing:"Flat or Entry FlexPlusâ¢",enablement:"Intake setup & vendor onboarding",platform:"Basic invision⢠features",icon:"seedling",color:"red"},{id:"growth-ia",name:"Growth Firm",description:"Reactive â Proactive",maturityRange:"Scaling operations",pricing:"FlexPlus⢠Mid-Tier",enablement:"mimia⢠analytics & workflows",platform:"Full invision⢠+ automation",icon:"chart",color:"blue"},{id:"legacy-ia",name:"Legacy Partner",description:"Optimized â Strategic",maturityRange:"Peak efficiency",pricing:"Lowest FlexPlus⢠Tier",enablement:"Full platform optimization",platform:"Complete VIP ecosystem",icon:"crown",color:"green"}];function bP(){const[e,t]=f.useState(""),[n,r]=f.useState(null),{data:s=[]}=fg({queryKey:["/api/vendor-categories"]}),o=a=>{switch(a){case"seedling":return i.jsx(IC,{className:"h-6 w-6"});case"chart":return i.jsx(Wp,{className:"h-6 w-6"});case"crown":return i.jsx(NC,{className:"h-6 w-6"});default:return i.jsx(hr,{className:"h-6 w-6"})}},l=a=>{switch(a){case"red":return"bg-red-100 text-red-600 border-red-200";case"blue":return"bg-blue-100 text-blue-600 border-blue-200";case"green":return"bg-green-100 text-green-600 border-green-200";default:return"bg-gray-100 text-gray-600 border-gray-200"}};return i.jsxs("div",{className:"min-h-screen bg-gray-50",children:[i.jsx("header",{className:"bg-white shadow-sm border-b border-gray-200 sticky top-0 z-50",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"flex justify-between items-center h-16",children:[i.jsxs("div",{className:"flex items-center space-x-4",children:[i.jsx("div",{className:"text-2xl font-bold text-blue-600",children:"Flex Plus Pricing"}),i.jsx("div",{className:"hidden sm:block text-gray-500",children:"|"}),i.jsx("div",{className:"hidden sm:block text-gray-700 font-medium",children:"VIP Core Connect - The Blueprint For Success"})]}),i.jsx("div",{className:"flex items-center space-x-4"})]})})}),i.jsxs("main",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-8",children:[i.jsx(J,{className:"w-full",children:i.jsxs(ee,{className:"p-8",children:[i.jsxs("div",{className:"text-center mb-6",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Meeting Partners Where They're At"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-4xl mx-auto leading-relaxed",children:"Our Flex Plus Pricing combines intelligent pricing with customized maturity pathways. We recognize that Independent Adjuster firms and Carriers operate in fundamentally different environments with unique challenges and growth trajectories."})]}),i.jsxs("div",{className:"grid md:grid-cols-2 gap-8 mt-8",children:[i.jsxs("div",{className:"bg-blue-50 rounded-lg p-6",children:[i.jsxs("h3",{className:"text-xl font-semibold text-blue-900 mb-3 flex items-center",children:[i.jsx(hr,{className:"h-6 w-6 mr-2"}),"invision⢠(Service Providers)"]}),i.jsx("p",{className:"text-blue-800 mb-4",children:"Navigate carrier relationships, compensation tracking, and scaling challenges with a pathway designed for independent adjusters."}),i.jsxs("ul",{className:"text-blue-700 space-y-2 text-sm",children:[i.jsx("li",{children:"⢠Unified carrier billing systems"}),i.jsx("li",{children:"⢠Automated adjuster compensation"}),i.jsx("li",{children:"⢠Performance insights and benchmarking"}),i.jsx("li",{children:"⢠Progressive 6-8 week implementations"})]})]}),i.jsxs("div",{className:"bg-green-50 rounded-lg p-6",children:[i.jsxs("h3",{className:"text-xl font-semibold text-green-900 mb-3 flex items-center",children:[i.jsx(hr,{className:"h-6 w-6 mr-2"}),"BAP⢠(Carriers)"]}),i.jsx("p",{className:"text-green-800 mb-4",children:"Optimize vendor networks, enforce SLA compliance, and achieve operational excellence with carrier-focused solutions."}),i.jsxs("ul",{className:"text-green-700 space-y-2 text-sm",children:[i.jsx("li",{children:"⢠Centralized vendor management"}),i.jsx("li",{children:"⢠Automated invoice reconciliation"}),i.jsx("li",{children:"⢠SLA enforcement and reporting"}),i.jsx("li",{children:"⢠Strategic vendor optimization"})]})]})]}),i.jsx("div",{className:"mt-8 text-center",children:i.jsxs("div",{className:"inline-flex items-center px-6 py-3 bg-gradient-to-r from-blue-600 to-green-600 text-white rounded-lg font-medium",children:[i.jsx(Pl,{className:"h-5 w-5 mr-2"}),"Progressive Pricing: 3.0% â 2.0% â 1.5% as capabilities advance"]})})]})}),i.jsx(SP,{onAssessmentComplete:r}),i.jsx(KN,{selectedStage:e,onStageSelect:t}),i.jsxs(J,{children:[i.jsx(ge,{children:i.jsxs(ye,{className:"text-center",children:[i.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"VIP Software Integrated Platform"}),i.jsx("p",{className:"text-base font-normal text-gray-600",children:"Three pillars working together to transform your claims operations"})]})}),i.jsx(ee,{children:i.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[i.jsxs("div",{className:"text-center space-y-4",children:[i.jsx("div",{className:"w-20 h-20 bg-blue-600 rounded-full flex items-center justify-center mx-auto",children:i.jsx(hr,{className:"text-white text-2xl h-8 w-8"})}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:"invisionâ¢"}),i.jsx("p",{className:"text-gray-600 mb-4",children:"Your Digital Claims Engine"})]}),i.jsx("ul",{className:"text-sm text-gray-700 space-y-2 text-left",children:["Centralized intake & vendor management","Workflow automation & allocation","Real-time invoice tracking","Comprehensive reporting"].map((a,c)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx(Pr,{className:"text-blue-600 mr-2 mt-1 h-4 w-4 flex-shrink-0"}),a]},c))})]}),i.jsxs("div",{className:"text-center space-y-4",children:[i.jsx("div",{className:"w-20 h-20 bg-emerald-600 rounded-full flex items-center justify-center mx-auto",children:i.jsx(EC,{className:"text-white text-2xl h-8 w-8"})}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:"VIP Connect Core"}),i.jsx("p",{className:"text-gray-600 mb-4",children:"Blueprint for Success"})]}),i.jsx("ul",{className:"text-sm text-gray-700 space-y-2 text-left",children:["Guided onboarding & setup","Intake workflow automation","Adjuster pipeline development","Brand & sales support"].map((a,c)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx(Pr,{className:"text-emerald-600 mr-2 mt-1 h-4 w-4 flex-shrink-0"}),a]},c))})]}),i.jsxs("div",{className:"text-center space-y-4",children:[i.jsx("div",{className:"w-20 h-20 bg-amber-500 rounded-full flex items-center justify-center mx-auto",children:i.jsx(_r,{className:"text-white text-2xl h-8 w-8"})}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:"FlexPlus⢠Pricing"}),i.jsx("p",{className:"text-gray-600 mb-4",children:"Smart, Scalable Pricing"})]}),i.jsx("ul",{className:"text-sm text-gray-700 space-y-2 text-left",children:["% of vendor invoice with caps","Discounts increase with adoption","Aligns to maturity tier","Transparent usage tracking"].map((a,c)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx(Pr,{className:"text-amber-500 mr-2 mt-1 h-4 w-4 flex-shrink-0"}),a]},c))})]})]})})]}),i.jsx(jP,{}),i.jsxs(J,{children:[i.jsx(ge,{children:i.jsxs(ye,{className:"text-center",children:[i.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Partner Success Profiles"}),i.jsx("p",{className:"text-base font-normal text-gray-600",children:"See how different organizations leverage VIP Software's integrated platform"})]})}),i.jsx(ee,{children:i.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:CP.map(a=>i.jsx(J,{className:"hover:shadow-lg transition-shadow",children:i.jsxs(ee,{className:"p-6",children:[i.jsxs("div",{className:"text-center mb-4",children:[i.jsx("div",{className:`w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-3 ${l(a.color)}`,children:o(a.icon)}),i.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:a.name}),i.jsx("p",{className:"text-gray-600 text-sm",children:a.description})]}),i.jsxs("div",{className:"space-y-3 text-sm",children:[i.jsxs("div",{className:"flex items-start",children:[i.jsx("div",{className:"w-2 h-2 bg-amber-500 rounded-full mr-2 mt
233-2 flex-shrink-0"}),i.jsxs("div",{children:[i.jsx("div",{className:"font-medium",children:"Pricing:"}),i.jsx("div",{className:"text-gray-600",children:a.pricing})]})]}),i.jsxs("div",{className:"flex items-start",children:[i.jsx("div",{className:"w-2 h-2 bg-emerald-500 rounded-full mr-2 mt-2 flex-shrink-0"}),i.jsxs("div",{children:[i.jsx("div",{className:"font-medium",children:"Connect Core Focus:"}),i.jsx("div",{className:"text-gray-600",children:a.enablement})]})]}),i.jsxs("div",{className:"flex items-start",children:[i.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full mr-2 mt-2 flex-shrink-0"}),i.jsxs("div",{children:[i.jsx("div",{className:"font-medium",children:"Platform:"}),i.jsx("div",{className:"text-gray-600",children:a.platform})]})]})]})]})},a.id))})})]}),i.jsxs(J,{children:[i.jsx(ge,{children:i.jsxs(ye,{className:"text-center",children:[i.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Vendor Category Insights"}),i.jsx("p",{className:"text-base font-normal text-gray-600",children:"FlexPlus⢠pricing covers 35+ vendor categories with transparent cost benchmarks"})]})}),i.jsxs(ee,{children:[i.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4 text-sm",children:s.slice(0,12).map(a=>i.jsx("div",{className:"bg-gray-50 rounded-lg p-4",children:i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsx("span",{className:"font-medium",children:a.name}),i.jsxs(St,{variant:"secondary",className:"text-blue-600 font-semibold",children:["$",a.averageInvoice.toFixed(2)]})]})},a.id))}),s.length>12&&i.jsx("div",{className:"mt-6 text-center",children:i.jsxs(Ne,{variant:"outline",children:[i.jsx(Pl,{className:"mr-2 h-4 w-4"}),"View All ",s.length," Categories"]})})]})]}),i.jsx("div",{className:"text-center",children:i.jsx(J,{className:"bg-gradient-to-r from-blue-600 to-blue-800 text-white border-0",children:i.jsxs(ee,{className:"p-8",children:[i.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Ready to Transform Your Claims Operations?"}),i.jsx("p",{className:"text-xl mb-8 opacity-90",children:"Let's map your growth path and unlock your potential with VIP Software's integrated ecosystem."}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[i.jsxs(Ne,{size:"lg",className:"bg-white text-blue-600 hover:bg-gray-100",children:[i.jsx(wC,{className:"mr-2 h-5 w-5"}),"Book Strategy Session"]}),i.jsxs(Ne,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white hover:text-blue-600",children:[i.jsx(Wp,{className:"mr-2 h-5 w-5"}),"Get Maturity Assessment"]}),i.jsx(kp,{href:"/vip-connect-core/knowledge",children:i.jsxs(Ne,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white hover:text-blue-600 w-full sm:w-auto",children:[i.jsx(gu,{className:"mr-2 h-5 w-5"}),"Training & Knowledge"]})}),i.jsx(kp,{href:"/bap",children:i.jsxs(Ne,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white hover:text-blue-600 w-full sm:w-auto",children:[i.jsx(hr,{className:"mr-2 h-5 w-5"}),"BAP⢠Pricing Chart"]})})]})]})})})]})]})}function NP(){return i.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:i.jsx(J,{className:"w-full max-w-md mx-4",children:i.jsxs(ee,{className:"pt-6",children:[i.jsxs("div",{className:"flex mb-4 gap-2",children:[i.jsx(yu,{className:"h-8 w-8 text-red-500"}),i.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),i.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}var EP="Separator",mh="horizontal",PP=["horizontal","vertical"],kx=f.forwardRef((e,t)=>{const{decorative:n,orientation:r=mh,...s}=e,o=kP(r)?r:mh,a=n?{role:"none"}:{"aria-orientation":o==="vertical"?o:void 0,role:"separator"};return i.jsx(U.div,{"data-orientation":o,...a,...s,ref:t})});kx.displayName=EP;function kP(e){return PP.includes(e)}var Tx=kx;const Ru=f.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},s)=>i.jsx(Tx,{ref:s,decorative:n,orientation:t,className:Y("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));Ru.displayName=Tx.displayName;var Jd="Dialog",[Rx,L2]=rn(Jd),[TP,Lt]=Rx(Jd),Ix=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:o,modal:l=!0}=e,a=f.useRef(null),c=f.useRef(null),[u=!1,h]=jn({prop:r,defaultProp:s,onChange:o});return i.jsx(TP,{scope:t,triggerRef:a,contentRef:c,contentId:en(),titleId:en(),descriptionId:en(),open:u,onOpenChange:h,onOpenToggle:f.useCallback(()=>h(d=>!d),[h]),modal:l,children:n})};Ix.displayName=Jd;var Ax="DialogTrigger",Mx=f.forwardRef((e,t)=>
vendor: 5,512 bytes, lines 233-237
233{const{__scopeDialog:n,...r}=e,s=Lt(Ax,n),o=ae(t,s.triggerRef);return i.jsx(U.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":nf(s.open),...r,ref:o,onClick:$(e.onClick,s.onOpenToggle)})});Mx.displayName=Ax;var ef="DialogPortal",[RP,Ox]=Rx(ef,{forceMount:void 0}),_x=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,o=Lt(ef,t);return i.jsx(RP,{scope:t,forceMount:n,children:f.Children.map(r,l=>i.jsx(cr,{present:n||o.open,children:i.jsx(ta,{asChild:!0,container:s,children:l})}))})};_x.displayName=ef;var _l="DialogOverlay",Dx=f.forwardRef((e,t)=>{const n=Ox(_l,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=Lt(_l,e.__scopeDialog);return o.modal?i.jsx(cr,{present:r||o.open,children:i.jsx(AP,{...s,ref:t})}):null});Dx.displayName=_l;var IP=Ls("DialogOverlay.RemoveScroll"),AP=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Lt(_l,n);return i.jsx(Xd,{as:IP,allowPinchZoom:!0,shards:[s.contentRef],children:i.jsx(U.div,{"data-state":nf(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Lr="DialogContent",Fx=f.forwardRef((e,t)=>{const n=Ox(Lr,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=Lt(Lr,e.__scopeDialog);return i.jsx(cr,{present:r||o.open,children:o.modal?i.jsx(MP,{...s,ref:t}):i.jsx(OP,{...s,ref:t})})});Fx.displayName=Lr;var MP=f.forwardRef((e,t)=>{const n=Lt(Lr,e.__scopeDialog),r=f.useRef(null),s=ae(t,n.contentRef,r);return f.useEffect(()=>{const o=r.current;if(o)return Fy(o)},[]),i.jsx(Lx,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:$(e.onCloseAutoFocus,o=>{var l;o.preventDefault(),(l=n.triggerRef.current)==null||l.focus()}),onPointerDownOutside:$(e.onPointerDownOutside,o=>{const l=o.detail.originalEvent,a=l.button===0&&l.ctrlKey===!0;(l.button===2||a)&&o.preventDefault()}),onFocusOutside:$(e.onFocusOutside,o=>o.preventDefault())})}),OP=f.forwardRef((e,t)=>{const n=Lt(Lr,e.__scopeDialog),r=f.useRef(!1),s=f.useRef(!1);return i.jsx(Lx,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var l,a;(l=e.onCloseAutoFocus)==null||l.call(e,o),o.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),o.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:o=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const l=o.target;((u=n.triggerRef.current)==null?void 0:u.contains(l))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),Lx=f.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:o,...l}=e,a=Lt(Lr,n),c=f.useRef(null),u=ae(t,c);return Oy(),i.jsxs(i.Fragment,{children:[i.jsx(Yd,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:o,children:i.jsx(si,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":nf(a.open),...l,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),i.jsxs(i.Fragment,{children:[i.jsx(_P,{titleId:a.titleId}),i.jsx(FP,{contentRef:c,descriptionId:a.descriptionId})]})]})}),tf="DialogTitle",zx=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Lt(tf,n);return i.jsx(U.h2,{id:s.titleId,...r,ref:t})});zx.displayName=tf;var $x="DialogDescription",Vx=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Lt($x,n);return i.jsx(U.p,{id:s.descriptionId,...r,ref:t})});Vx.displayName=$x;var Bx="DialogClose",Ux=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Lt(Bx,n);return i.jsx(U.button,{type:"button",...r,ref:t,onClick:$(e.onClick,()=>s.onOpenChange(!1))})});Ux.displayName=Bx;function nf(e){return e?"open":"closed"}var Hx="DialogTitleWarning",[z2,Wx]=Pj(Hx,{contentName:Lr,titleName:tf,docsSlug:"dialog"}),_P=({titleId:e})=>{const t=Wx(Hx),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 234 235If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 236 237For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return f.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},DP="DialogDescriptionWarning",FP=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Wx(DP).contentName}}.`;return f.useEffect(()=>{var o;const s=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},LP=Ix,zP=Mx,$P=_x,Qx=Dx,Kx=Fx,Gx=zx,qx=Vx,VP=Ux;const BP=LP,UP=zP,HP=$P,Yx=f.forwardRef(({className:e,...t},n)=>i.jsx(Qx,{ref:n,className:Y("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}));Yx.displayName=Qx.displayName;const Xx=f.forwardRef(({className:e,children:t,...n},r)=>i.jsxs(HP,{children:[i.jsx(Yx,{}),i.jsxs(Kx,{ref:r,className:Y("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
237nded-lg",e),...n,children:[t,i.jsxs(VP,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[i.jsx(Ld,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Xx.displayName=Kx.displayName;const Zx=({className:e,...t})=>i.jsx("div",{className:Y("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Zx.displayName="DialogHeader";const Jx=f.forwardRef(({className:e,...t},n)=>i.jsx(Gx,{ref:n,className:Y("text-lg font-semibold leading-none tracking-tight",e),...t}));Jx.displayName=Gx.displayName;const e0=f.forwardRef(({className:e,...t},n)=>i.jsx(qx,{ref:n,className:Y("text-sm text-muted-foreground",e),...t}));e0.displayName=qx.displayName;function WP(){const{toast:e}=hg(),[t,n]=f.useState(""),[r,s]=f.useState([]),[o,l]=f.useState(!1),[a,c]=f.useState({email:"",firstname:"",lastname:"",company:""}),[u,h]=f.useState(null),{data:d=[]}=fg({queryKey:["/api/vendor-categories"]}),p=El({mutationFn:async C=>await(await ps("POST","/api/pricing/calculate",C)).json(),onSuccess:(C,N)=>{const P=r.reduce((I,D)=>I+D.estimatedVolume,0),T=r.reduce((I,D)=>I+D.estimatedVolume*D.category.averageInvoice,0);console.log("Pricing API Result:",C),console.log("Calculated totals:",{totalVolume:P,totalValue:T}),h({tier:(C==null?void 0:C.tier)||"Standard",monthlyFee:(C==null?void 0:C.monthlyFee)||0,annualFee:(C==null?void 0:C.annualFee)||0,effectiveRate:(C==null?void 0:C.effectiveRate)||0,totalVolume:P,totalValue:T,categories:r})},onError:C=>{e({title:"Calculation Error",description:"Failed to calculate pricing. Please try again.",variant:"destructive"})}}),x=El({mutationFn:async C=>({pdfBlob:await(await ps("POST","/api/reports/flex-plus-calculator",C)).blob()}),onSuccess:async C=>{try{await ps("POST","/api/hubspot/track-assessment",{contactInfo:a,assessmentData:{partnerType:"flex-plus-calculator",organizationType:"calculator-user",claimsVolume:j(),techStack:t,vendorManagement:"calculator"},assessmentResult:{stage:t,score:r.length,description:`Flex Plus Calculator - ${r.length} categories selected`,recommendations:r.map(D=>D.category.name)},pricingData:{formData:{invoiceVolume:(u==null?void 0:u.totalVolume)||0,avgInvoiceAmount:y(),maturityLevel:t},result:u}})}catch(D){console.warn("HubSpot tracking failed:",D)}const N=window.URL.createObjectURL(C.pdfBlob),P=document.createElement("a");P.href=N;const T=new Date().toISOString().slice(0,10),I=a.company?a.company.replace(/[^a-zA-Z0-9\s]/g,"").replace(/\s+/g,"-"):"My-Company";P.download=`${T}_VIP-Software_FlexPlus-Calculator_${I}_${a.firstname}-${a.lastname}.pdf`,document.body.appendChild(P),P.click(),window.URL.revokeObjectURL(N),document.body.removeChild(P),e({title:"PDF Report Downloaded",description:"Your FlexPlus⢠pricing report has been downloaded as a PDF file and saved to HubSpot."}),l(!1)},onError:C=>{e({title:"Download Error",description:"Failed to generate report. Please try again.",variant:"destructive"})}}),S=C=>{const N=d.find(P=>P.id===parseInt(C));N&&!r.find(P=>P.category.id===N.id)&&s(P=>[...P,{category:N,estimatedVolume:100,notes:""}])},v=C=>{s(N=>N.filter(P=>P.category.id!==C))},w=(C,N)=>{s(P=>P.map(T=>T.category.id===C?{...T,estimatedVolume:N}:T))},g=(C,N)=>{s(P=>P.map(T=>T.category.id===C?{...T,notes:N}:T))},m=()=>{if(!t||r.length===0){e({title:"Missing Information",description:"Please select a maturity level and at least one vendor category.",variant:"destructive"});return}const C=r.reduce((P,T)=>P+T.estimatedVolume,0),N=y();console.log("Sending to API:",{invoiceVolume:C,avgInvoiceAmount:N,maturityLevel:t,selectedCategories:r}),p.mutate({invoiceVolume:C,avgInvoiceAmount:N,maturityLevel:t})},y=()=>{if(r.length===0)return 0;const C=r.reduce((P,T)=>P+T.estimatedVolume*T.category.averageInvoice,0),N=r.reduce((P,T)=>P+T.estimatedVolume,0);return C/N},j=()=>{const C=r.reduce((N,P)=>N+P.estimatedVolume,0);return C<500?"low":C<2e3?"medium":"high"},E=()=>
237{if(u){if(!a.email||!a.firstname||!a.lastname){e({title:"Contact Information Required",description:"Please provide your contact details to download the report.",variant:"destructive"});return}x.mutate({contactInfo:a,pricingResult:u,selectedCategories:r,maturityLevel:t})}};return i.jsxs("div",{className:"max-w-6xl mx-auto p-6 space-y-6",children:[i.jsxs("div",{className:"text-center space-y-4",children:[i.jsx("h1",{className:"text-4xl font-bold text-blue-600",children:"Flex Plus⢠Pricing Calculator"}),i.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"Calculate your smart, scalable pricing based on maturity and volume. FlexPlus⢠pricing covers 35+ service provider categories with transparent cost benchmarks."})]}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[i.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[i.jsxs(J,{children:[i.jsxs(ge,{children:[i.jsxs(ye,{className:"flex items-center gap-2",children:[i.jsx(xC,{className:"h-5 w-5"}),"Organization Maturity Level"]}),i.jsx(Ut,{children:"Select your current operational maturity to determine appropriate pricing tier."})]}),i.jsx(ee,{children:i.jsxs(fn,{value:t,onValueChange:n,children:[i.jsx(Yt,{children:i.jsx(pn,{placeholder:"Select your maturity level"})}),i.jsxs(Xt,{children:[i.jsx(ne,{value:"reactive",children:"Reactive - Basic claims processing"}),i.jsx(ne,{value:"proactive",children:"Proactive - Structured operations"}),i.jsx(ne,{value:"optimized",children:"Optimized - Efficient workflows"}),i.jsx(ne,{value:"strategic",children:"Strategic - Advanced analytics"})]})]})})]}),i.jsxs(J,{children:[i.jsxs(ge,{children:[i.jsx(ye,{children:"Service Provider Category Insights"}),i.jsx(Ut,{children:"Add service provider categories relevant to your organization. Each category includes benchmark pricing and volume estimates."})]}),i.jsxs(ee,{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsxs(fn,{onValueChange:S,children:[i.jsx(Yt,{className:"flex-1",children:i.jsx(pn,{placeholder:"Select a service provider category to add"})}),i.jsx(Xt,{children:d.filter(C=>!r.find(N=>N.category.id===C.id)).map(C=>i.jsxs(ne,{value:C.id.toString(),children:[C.name," (Avg: $",(C.averageInvoice||0).toLocaleString(),")"]},C.id))})]}),i.jsx(Ne,{variant:"outline",size:"icon",children:i.jsx(kC,{className:"h-4 w-4"})})]}),i.jsx("div",{className:"space-y-3",children:r.map(C=>i.jsxs("div",{className:"border rounded-lg p-4 space-y-3",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("h4",{className:"font-medium",children:C.category.name}),i.jsxs("p",{className:"text-sm text-gray-600",children:["Avg Invoice: $",(C.category.averageInvoice||0).toLocaleString()]})]}),i.jsx(Ne,{variant:"ghost",size:"sm",onClick:()=>v(C.category.id),children:i.jsx(Ld,{className:"h-4 w-4"})})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:[i.jsxs("div",{children:[i.jsx(Ue,{htmlFor:`volume-${C.category.id}`,children:"Estimated Monthly Volume"}),i.jsx(un,{id:`volume-${C.category.id}`,type:"number",value:C.estimatedVolume===0?"":C.estimatedVolume,onChange:N=>w(C.category.id,N.target.value===""?0:parseInt(N.target.value)||0),min:"0",placeholder:"0"})]}),i.jsxs("div",{children:[i.jsx(Ue,{htmlFor:`notes-${C.category.id}`,children:"Notes (Optional)"}),i.jsx(un,{id:`notes-${C.category.id}`,value:C.notes||"",onChange:N=>g(C.category.id,N.target.value),placeholder:"Special considerations..."})]})]})]},C.category.id))}),r.length===0&&i.jsx("div",{className:"text-center py-8 text-gray-500",children:"No service provider categories selected. Add categories above to see pricing estimates."})]})]}),i.jsx(J,{children:i.jsx(ee,{className:"pt-6",children:i.jsxs(Ne,{onClick:m,disabled:p.isPending||!t||r.length===0,className:"w-full",size:"lg",children:[i.jsx(_r,{className:"h-5 w-5 mr-2"}),p.isPending?"Calculating...":"Calculate Flex Plus⢠Pricing"]})})})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs(J,{children:[i.jsx(ge,{children:i.jsxs(ye,{className:"flex items-center gap-2",children:[i.jsx(Ug,{className:"h-5 w-5"}),"Pricing Summary"]})}),i.jsx(ee,{children:u?i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"text-center",children:[i.jsxs("div",{className:"text-3xl font-bold text-blue-600",children:["$",((u==null?void 0:u.monthlyFee)||0).toLocaleStr
237ing(),"/mo"]}),i.jsxs("div",{className:"text-sm text-gray-600",children:["$",((u==null?void 0:u.annualFee)||0).toLocaleString(),"/year"]}),i.jsxs(St,{variant:"secondary",className:"mt-2",children:[(u==null?void 0:u.tier)||"Standard"," Tier"]})]}),i.jsx(Ru,{}),i.jsxs("div",{className:"space-y-2 text-sm",children:[i.jsxs("div",{className:"flex justify-between",children:[i.jsx("span",{children:"Total Monthly Volume:"}),i.jsx("span",{className:"font-medium",children:((u==null?void 0:u.totalVolume)||0).toLocaleString()})]}),i.jsxs("div",{className:"flex justify-between",children:[i.jsx("span",{children:"Total Monthly Value:"}),i.jsxs("span",{className:"font-medium",children:["$",((u==null?void 0:u.totalValue)||0).toLocaleString()]})]}),i.jsxs("div",{className:"flex justify-between",children:[i.jsx("span",{children:"Effective Rate:"}),i.jsxs("span",{className:"font-medium",children:[((u==null?void 0:u.effectiveRate)||0).toFixed(2),"%"]})]}),i.jsxs("div",{className:"flex justify-between",children:[i.jsx("span",{children:"Categories:"}),i.jsx("span",{className:"font-medium",children:r.length})]})]}),i.jsx(Ru,{}),i.jsxs(BP,{open:o,onOpenChange:l,children:[i.jsx(UP,{asChild:!0,children:i.jsxs(Ne,{className:"w-full",variant:"default",children:[i.jsx(Hg,{className:"h-4 w-4 mr-2"}),"Download Report"]})}),i.jsxs(Xx,{children:[i.jsxs(Zx,{children:[i.jsx(Jx,{children:"Contact Information"}),i.jsx(e0,{children:"Please provide your contact details to download your customized Flex Plus⢠pricing report."})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{children:[i.jsx(Ue,{htmlFor:"firstname",children:"First Name"}),i.jsx(un,{id:"firstname",value:a.firstname,onChange:C=>c(N=>({...N,firstname:C.target.value})),required:!0})]}),i.jsxs("div",{children:[i.jsx(Ue,{htmlFor:"lastname",children:"Last Name"}),i.jsx(un,{id:"lastname",value:a.lastname,onChange:C=>c(N=>({...N,lastname:C.target.value})),required:!0})]})]}),i.jsxs("div",{children:[i.jsx(Ue,{htmlFor:"email",children:"Email Address"}),i.jsx(un,{id:"email",type:"email",value:a.email,onChange:C=>c(N=>({...N,email:C.target.value})),required:!0})]}),i.jsxs("div",{children:[i.jsx(Ue,{htmlFor:"company",children:"Company"}),i.jsx(un,{id:"company",value:a.company,onChange:C=>c(N=>({...N,company:C.target.value}))})]}),i.jsx(Ne,{onClick:E,disabled:x.isPending,className:"w-full",children:x.isPending?"Generating...":"Download Report"})]})]})]})]}):i.jsx("div",{className:"text-center py-8 text-gray-500",children:'Complete the configuration and click "Calculate" to see your pricing.'})})]}),u&&r.length>0&&i.jsxs(J,{children:[i.jsx(ge,{children:i.jsx(ye,{children:"Category Breakdown"})}),i.jsx(ee,{children:i.jsx("div",{className:"space-y-3",children:r.map(C=>i.jsxs("div",{className:"flex justify-between items-center p-3 bg-gray-50 rounded",children:[i.jsxs("div",{children:[i.jsx("div",{className:"font-medium text-sm",children:C.category.name}),i.jsxs("div",{className:"text-xs text-gray-600",children:[C.estimatedVolume," invoices/mo"]})]}),i.jsxs("div",{className:"text-right",children:[i.jsxs("div",{className:"font-medium text-sm",children:["$",((C.estimatedVolume||0)*(C.category.averageInvoice||0)).toLocaleString()]}),i.jsx("div",{className:"text-xs text-gray-600",children:"monthly value"})]})]},C.category.id))})})]})]})]})]})}var ic="rovingFocusGroup.onEntryFocus",QP={bubbles:!1,cancelable:!0},ma="RovingFocusGroup",[Iu,t0,KP]=ea(ma),[GP,n0]=rn(ma,[KP]),[qP,YP]=GP(ma),r0=f.forwardRef((e,t)=>i.jsx(Iu.Provider,{scope:e.__scopeRovingFocusGroup,children:i.jsx(Iu.Slot,{scope:e.__scopeRovingFocusGroup,children:i.jsx(XP,{...e,ref:t})})}));r0.displayName=ma;var XP=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:s=!1,dir:o,currentTabStopId:l,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:h=!1,...d}=e,p=f.useRef(null),x=ae(t,p),S=ua(o),[v=null,w]=jn({prop:l,defaultProp:a,onChange:c}),[g,m]=f.useState(!1),y=it(u),j=t0(n),E=f.useRef(!1),[C,N]=f.useState(0);return f.useEffect(()=>{const P=p.current;if(P)return P.addEventListener(ic,y),()=>P.removeEventListener(ic,y)},[y]),i.jsx(qP,{scope:n,orientation:r,dir:S,loop:s,currentTabStopId:v,onItemFocus:f.useCallback(P=>w(P),[w]),onItemShiftTab:f.useCallback(()=>m(!0),[]),onFocusableItemAdd:f.useCallback(()=>N(P=>P+1),[]),onFocusableItemRemove:f.useCallback(()=>N(P=>P-1),[]),children:i.jsx(U.div,{tabIndex:g||C===0?-1:0,"data-orientation":r,...d,ref:x,style:{outline:"none",...e.style},onMouseDown:$(e.onMouseDown,()=>{E.current=!0}),onFocus:$(e.onFocus,P=>{const T=!E.current;if(P.target===P.currentTarget&&T&&!g){const I=new CustomEvent(ic,QP);if(P.currentTarget.dispatchEvent(I),!I.defaultPrevented){const D=j().filter(L=>L.focusable),O=D.find(L=>L.active),H=D.find(L=>
vendor: 4,924 bytes, line 237
237L.id===v),Q=[O,H,...D].filter(Boolean).map(L=>L.ref.current);i0(Q,h)}}E.current=!1}),onBlur:$(e.onBlur,()=>m(!1))})})}),s0="RovingFocusGroupItem",o0=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:s=!1,tabStopId:o,...l}=e,a=en(),c=o||a,u=YP(s0,n),h=u.currentTabStopId===c,d=t0(n),{onFocusableItemAdd:p,onFocusableItemRemove:x}=u;return f.useEffect(()=>{if(r)return p(),()=>x()},[r,p,x]),i.jsx(Iu.ItemSlot,{scope:n,id:c,focusable:r,active:s,children:i.jsx(U.span,{tabIndex:h?0:-1,"data-orientation":u.orientation,...l,ref:t,onMouseDown:$(e.onMouseDown,S=>{r?u.onItemFocus(c):S.preventDefault()}),onFocus:$(e.onFocus,()=>u.onItemFocus(c)),onKeyDown:$(e.onKeyDown,S=>{if(S.key==="Tab"&&S.shiftKey){u.onItemShiftTab();return}if(S.target!==S.currentTarget)return;const v=e2(S,u.orientation,u.dir);if(v!==void 0){if(S.metaKey||S.ctrlKey||S.altKey||S.shiftKey)return;S.preventDefault();let g=d().filter(m=>m.focusable).map(m=>m.ref.current);if(v==="last")g.reverse();else if(v==="prev"||v==="next"){v==="prev"&&g.reverse();const m=g.indexOf(S.currentTarget);g=u.loop?t2(g,m+1):g.slice(m+1)}setTimeout(()=>i0(g))}})})})});o0.displayName=s0;var ZP={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function JP(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function e2(e,t,n){const r=JP(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return ZP[r]}function i0(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function t2(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var n2=r0,r2=o0,rf="Tabs",[s2,$2]=rn(rf,[n0]),l0=n0(),[o2,sf]=s2(rf),a0=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:s,defaultValue:o,orientation:l="horizontal",dir:a,activationMode:c="automatic",...u}=e,h=ua(a),[d,p]=jn({prop:r,onChange:s,defaultProp:o});return i.jsx(o2,{scope:n,baseId:en(),value:d,onValueChange:p,orientation:l,dir:h,activationMode:c,children:i.jsx(U.div,{dir:h,"data-orientation":l,...u,ref:t})})});a0.displayName=rf;var c0="TabsList",u0=f.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...s}=e,o=sf(c0,n),l=l0(n);return i.jsx(n2,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:r,children:i.jsx(U.div,{role:"tablist","aria-orientation":o.orientation,...s,ref:t})})});u0.displayName=c0;var d0="TabsTrigger",f0=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:s=!1,...o}=e,l=sf(d0,n),a=l0(n),c=m0(l.baseId,r),u=v0(l.baseId,r),h=r===l.value;return i.jsx(r2,{asChild:!0,...a,focusable:!s,active:h,children:i.jsx(U.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":u,"data-state":h?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:c,...o,ref:t,onMouseDown:$(e.onMouseDown,d=>{!s&&d.button===0&&d.ctrlKey===!1?l.onValueChange(r):d.preventDefault()}),onKeyDown:$(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&l.onValueChange(r)}),onFocus:$(e.onFocus,()=>{const d=l.activationMode!=="manual";!h&&!s&&d&&l.onValueChange(r)})})})});f0.displayName=d0;var p0="TabsContent",h0=f.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:s,children:o,...l}=e,a=sf(p0,n),c=m0(a.baseId,r),u=v0(a.baseId,r),h=r===a.value,d=f.useRef(h);return f.useEffect(()=>{const p=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(p)},[]),i.jsx(cr,{present:s||h,children:({present:p})=>i.jsx(U.div,{"data-state":h?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":c,hidden:!p,id:u,tabIndex:0,...l,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:p&&o})})});h0.displayName=p0;function m0(e,t){return`${e}-trigger-${t}`}function v0(e,t){return`${e}-content-${t}`}var i2=a0,g0=u0,y0=f0,x0=h0;const l2=i2,w0=f.forwardRef(({className:e,...t},n)=>i.jsx(g0,{ref:n,className:Y("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));w0.displayName=g0.displayName;const Qr=f.forwardRef(({className:e,...t},n)=>i.jsx(y0,{ref:n,className:Y("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));Qr.displayName=y0.displayName;const Kr=f.forwardRef(({className:e,...t},n)=>i.jsx(x0,{ref:n,className:Y("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));Kr.displayName=x0.displayName;var of="Collapsible",[a2,S0]=rn(of),[c2,lf]=a2(of),j0=f.forwardRef((e,t)=>
237{const{__scopeCollapsible:n,open:r,defaultOpen:s,disabled:o,onOpenChange:l,...a}=e,[c=!1,u]=jn({prop:r,defaultProp:s,onChange:l});return i.jsx(c2,{scope:n,disabled:o,contentId:en(),open:c,onOpenToggle:f.useCallback(()=>u(h=>!h),[u]),children:i.jsx(U.div,{"data-state":cf(c),"data-disabled":o?"":void 0,...a,ref:t})})});j0.displayName=of;var C0="CollapsibleTrigger",b0=f.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,s=lf(C0,n);return i.jsx(U.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":cf(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:t,onClick:$(e.onClick,s.onOpenToggle)})});b0.displayName=C0;var af="CollapsibleContent",N0=f.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=lf(af,e.__scopeCollapsible);return i.jsx(cr,{present:n||s.open,children:({present:o})=>i.jsx(u2,{...r,ref:t,present:o})})});N0.displayName=af;var u2=f.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:s,...o}=e,l=lf(af,n),[a,c]=f.useState(r),u=f.useRef(null),h=ae(t,u),d=f.useRef(0),p=d.current,x=f.useRef(0),S=x.current,v=l.open||a,w=f.useRef(v),g=f.useRef(void 0);return f.useEffect(()=>{const m=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(m)},[]),Fe(()=>{const m=u.current;if(m){g.current=g.current||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const y=m.getBoundingClientRect();d.current=y.height,x.current=y.width,w.current||(m.style.transitionDuration=g.current.transitionDuration,m.style.animationName=g.current.animationName),c(r)}},[l.open,r]),i.jsx(U.div,{"data-state":cf(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!v,...o,ref:h,style:{"--radix-collapsible-content-height":p?`${p}px`:void 0,"--radix-collapsible-content-width":S?`${S}px`:void 0,...e.style},children:v&&s})});function cf(e){return e?"open":"closed"}var d2=j0,f2=b0,p2=N0,En="Accordion",h2=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[uf,m2,v2]=ea(En),[va,V2]=rn(En,[v2,S0]),df=S0(),E0=Ee.forwardRef((e,t)=>{const{type:n,...r}=e,s=r,o=r;return i.jsx(uf.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?i.jsx(w2,{...o,ref:t}):i.jsx(x2,{...s,ref:t})})});E0.displayName=En;var[P0,g2]=va(En),[k0,y2]=va(En,{collapsible:!1}),x2=Ee.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},collapsible:o=!1,...l}=e,[a,c]=jn({prop:n,defaultProp:r,onChange:s});return i.jsx(P0,{scope:e.__scopeAccordion,value:a?[a]:[],onItemOpen:c,onItemClose:Ee.useCallback(()=>o&&c(""),[o,c]),children:i.jsx(k0,{scope:e.__scopeAccordion,collapsible:o,children:i.jsx(T0,{...l,ref:t})})})}),w2=Ee.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},...o}=e,[l=[],a]=jn({prop:n,defaultProp:r,onChange:s}),c=Ee.useCallback(h=>a((d=[])=>[...d,h]),[a]),u=Ee.useCallback(h=>a((d=[])=>d.filter(p=>p!==h)),[a]);return i.jsx(P0,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:u,children:i.jsx(k0,{scope:e.__scopeAccordion,collapsible:!0,children:i.jsx(T0,{...o,ref:t})})})}),[S2,ga]=va(En),T0=Ee.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:s,orientation:o="vertical",...l}=e,a=Ee.useRef(null),c=ae(a,t),u=m2(n),d=ua(s)==="ltr",p=$(e.onKeyDown,x=>{var P;if(!h2.includes(x.key))return;const S=x.target,v=u().filter(T=>{var I;return!((I=T.ref.current)!=null&&I.disabled)}),w=v.findIndex(T=>T.ref.current===S),g=v.length;if(w===-1)return;x.preventDefault();let m=w;const y=0,j=g-1,E=()=>{m=w+1,m>j&&(m=y)},C=()=>{m=w-1,m<y&&(m=j)};switch(x.key){case"Home":m=y;break;case"End":m=j;break;case"ArrowRight":o==="horizontal"&&(d?E():C());break;case"ArrowDown":o==="vertical"&&E();break;case"ArrowLeft":o==="horizontal"&&(d?C():E());break;case"ArrowUp":o==="vertical"&&C();break}const N=m%g;(P=v[N].ref.current)==null||P.focus()});return i.jsx(S2,{scope:n,disabled:r,direction:s,orientation:o,children:i.jsx(uf.Slot,{scope:n,children:i.jsx(U.div,{...l,"data-orientation":o,ref:c,onKeyDown:r?void 0:p})})})}),Dl="AccordionItem",[j2,ff]=va(Dl),R0=Ee.forwardRef((e,t)=>
vendor: 1,391 bytes, line 237
237{const{__scopeAccordion:n,value:r,...s}=e,o=ga(Dl,n),l=g2(Dl,n),a=df(n),c=en(),u=r&&l.value.includes(r)||!1,h=o.disabled||e.disabled;return i.jsx(j2,{scope:n,open:u,disabled:h,triggerId:c,children:i.jsx(d2,{"data-orientation":o.orientation,"data-state":D0(u),...a,...s,ref:t,disabled:h,open:u,onOpenChange:d=>{d?l.onItemOpen(r):l.onItemClose(r)}})})});R0.displayName=Dl;var I0="AccordionHeader",A0=Ee.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=ga(En,n),o=ff(I0,n);return i.jsx(U.h3,{"data-orientation":s.orientation,"data-state":D0(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});A0.displayName=I0;var Au="AccordionTrigger",M0=Ee.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=ga(En,n),o=ff(Au,n),l=y2(Au,n),a=df(n);return i.jsx(uf.ItemSlot,{scope:n,children:i.jsx(f2,{"aria-disabled":o.open&&!l.collapsible||void 0,"data-orientation":s.orientation,id:o.triggerId,...a,...r,ref:t})})});M0.displayName=Au;var O0="AccordionContent",_0=Ee.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=ga(En,n),o=ff(O0,n),l=df(n);return i.jsx(p2,{role:"region","aria-labelledby":o.triggerId,"data-orientation":s.orientation,...l,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});_0.displayName=O0;function D0(e){return e?"open":"closed"}
237var C2=E0,b2=R0,N2=A0,F0=M0,L0=_0;const E2=C2,vo=f.forwardRef(({className:e,...t},n)=>i.jsx(b2,{ref:n,className:Y("border-b",e),...t}));vo.displayName="AccordionItem";const go=f.forwardRef(({className:e,children:t,...n},r)=>i.jsx(N2,{className:"flex",children:i.jsxs(F0,{ref:r,className:Y("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,i.jsx(Fd,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));go.displayName=F0.displayName;const yo=f.forwardRef(({className:e,children:t,...n},r)=>i.jsx(L0,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:i.jsx("div",{className:Y("pb-4 pt-0",e),children:t})}));yo.displayName=L0.displayName;function P2(){const[e,t]=f.useState("overview"),n=[{name:"Reactive - Manual Operations",percentage:"4.0%",description:"Basic manual processing with limited automation",monthlyBase:2500,conditions:["Manual claim processing","Basic reporting","Email-based communications"],affectedParties:["Small law firms","Independent adjusters","Basic service providers"]},{name:"Proactive - Structured Operations",percentage:"3.0%",description:"Structured processes with some automation",monthlyBase:7500,conditions:["Structured workflows","Basic automation","Standard reporting"],affectedParties:["Mid-size law firms","Regional service providers","Established practices"]},{name:"Predictive - Advanced Operations",percentage:"2.5%",description:"Advanced automation and predictive analytics",monthlyBase:15e3,conditions:["Advanced automation","Predictive analytics","Custom integrations"],affectedParties:["Large law firms","Enterprise service providers","National organizations"]},{name:"Prescriptive - Optimized Operations",percentage:"2.0%",description:"Fully optimized with AI-driven recommendations",monthlyBase:25e3,conditions:["AI-driven optimization","Full automation","Advanced analytics"],affectedParties:["Enterprise clients","National law firms","Large service provider networks"]}],r=[{name:"Legal Services",averageInvoice:"$1,200 - $15,000",volume:"High",impact:"Major revenue driver"},{name:"Engineering Firms",averageInvoice:"$2,500 - $8,000",volume:"Medium-High",impact:"Significant fees"},{name:"Medical Services",averageInvoice:"$500 - $3,000",volume:"High",impact:"Volume-based revenue"},{name:"Investigation Services",averageInvoice:"$800 - $2,500",volume:"Medium",impact:"Specialized services"},{name:"Technology Services",averageInvoice:"$5 - $500",volume:"Very High",impact:"Low individual, high volume"}];return i.jsxs("div",{className:"container mx-auto px-6 py-8 max-w-7xl",children:[i.jsxs("div",{className:"mb-8",children:[i.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[i.jsx(gu,{className:"h-8 w-8 text-blue-600"}),i.jsxs("div",{children:[i.jsx("h1",{className:"text-3xl font-bold text-gray-900",children:"Flex Plus⢠Knowledge Base"}),i.jsx("p",{className:"text-gray-600",children:"Training & Documentation for VIP Software Employees and Partners"})]})]}),i.jsx("div",{className:"bg-blue-50 border-l-4 border-blue-400 p-4 rounded-r-lg",children:i.jsxs("div",{className:"flex items-center",children:[i.jsx(PC,{className:"h-5 w-5 text-blue-400 mr-2"}),i.jsx("p",{className:"text-blue-800",children:"This knowledge base provides comprehensive documentation on Flex Plus⢠pricing methodology, conditions, and operational guidelines for VIP Software team members and partners."})]})})]}),i.jsxs(l2,{value:e,onValueChange:t,className:"w-full",children:[i.jsxs(w0,{className:"grid w-full grid-cols-5",children:[i.jsx(Qr,{value:"overview",children:"Overview"}),i.jsx(Qr,{value:"pricing",children:"Pricing Structure"}),i.jsx(Qr,{value:"conditions",children:"Conditions & Rules"}),i.jsx(Qr,{value:"calculations",children:"Calculations"}),i.jsx(Qr,{value:"training",children:"Training Guide"})]}),i.jsxs(Kr,{value:"overview",className:"mt-6",children:[i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[i.jsxs(J,{children:[i.jsx(ge,{children:i.jsxs(ye,{className:"flex items-center gap-2",children:[i.jsx(_r,{className:"h-5 w-5"}),"What is Flex Plus�"]})}),i.jsxs(ee,{className:"space-y-4",children:[i.jsx("p",{className:"text-gray-700",children:"Flex Plus⢠is V
237IP Software's dynamic pricing model that adjusts fees based on client maturity, operational efficiency, and service provider complexity."}),i.jsxs("div",{className:"space-y-2",children:[i.jsx("h4",{className:"font-semibold",children:"Key Benefits:"}),i.jsxs("ul",{className:"list-disc list-inside space-y-1 text-sm text-gray-600",children:[i.jsx("li",{children:"Fair pricing based on actual operational complexity"}),i.jsx("li",{children:"Incentivizes client operational improvements"}),i.jsx("li",{children:"Transparent fee structure"}),i.jsx("li",{children:"Scalable for organizations of all sizes"})]})]})]})]}),i.jsxs(J,{children:[i.jsx(ge,{children:i.jsxs(ye,{className:"flex items-center gap-2",children:[i.jsx(Qp,{className:"h-5 w-5"}),"Who Uses This System?"]})}),i.jsx(ee,{className:"space-y-4",children:i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{children:[i.jsx(St,{variant:"secondary",children:"VIP Software Employees"}),i.jsx("p",{className:"text-sm text-gray-600 mt-1",children:"Sales, support, and implementation teams"})]}),i.jsxs("div",{children:[i.jsx(St,{variant:"secondary",children:"Partners"}),i.jsx("p",{className:"text-sm text-gray-600 mt-1",children:"Implementation partners and resellers"})]}),i.jsxs("div",{children:[i.jsx(St,{variant:"secondary",children:"Clients"}),i.jsx("p",{className:"text-sm text-gray-600 mt-1",children:"Law firms, service providers, and organizations using VIP Connect Core"})]})]})})]})]}),i.jsxs(J,{className:"mt-6",children:[i.jsxs(ge,{children:[i.jsx(ye,{children:"Pricing Philosophy"}),i.jsx(Ut,{children:"Understanding the foundation of Flex Plus⢠pricing"})]}),i.jsx(ee,{children:i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[i.jsxs("div",{className:"text-center p-4 bg-green-50 rounded-lg",children:[i.jsx(Pr,{className:"h-8 w-8 text-green-600 mx-auto mb-2"}),i.jsx("h4",{className:"font-semibold text-green-800",children:"Value-Based"}),i.jsx("p",{className:"text-sm text-green-700",children:"Pricing reflects the value delivered to each client"})]}),i.jsxs("div",{className:"text-center p-4 bg-blue-50 rounded-lg",children:[i.jsx(TC,{className:"h-8 w-8 text-blue-600 mx-auto mb-2"}),i.jsx("h4",{className:"font-semibold text-blue-800",children:"Complexity-Aware"}),i.jsx("p",{className:"text-sm text-blue-700",children:"Accounts for operational complexity and service provider mix"})]}),i.jsxs("div",{className:"text-center p-4 bg-purple-50 rounded-lg",children:[i.jsx(CC,{className:"h-8 w-8 text-purple-600 mx-auto mb-2"}),i.jsx("h4",{className:"font-semibold text-purple-800",children:"Growth-Oriented"}),i.jsx("p",{className:"text-sm text-purple-700",children:"Incentivizes operational improvements and efficiency gains"})]})]})})]})]}),i.jsx(Kr,{value:"pricing",className:"mt-6",children:i.jsxs("div",{className:"space-y-6",children:[i.jsxs(J,{children:[i.jsxs(ge,{children:[i.jsx(ye,{children:"Maturity-Based Pricing Tiers"}),i.jsx(Ut,{children:"Pricing adjusts based on client operational maturity and automation level"})]}),i.jsx(ee,{children:i.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:n.map((s,o)=>i.jsxs(J,{className:"border-l-4 border-l-blue-500",children:[i.jsx(ge,{className:"pb-3",children:i.jsxs("div",{className:"flex justify-between items-start",children:[i.jsxs("div",{children:[i.jsx(ye,{className:"text-lg",children:s.name}),i.jsx(Ut,{children:s.description})]}),i.jsx(St,{variant:"outline",className:"text-lg font-bold",children:s.percentage})]})}),i.jsx(ee,{className:"pt-0",children:i.jsxs("div",{className:"space-y-3",children:[i.jsx("div",{children:i.jsxs("p",{className:"text-sm font-medium text-gray-700",children:["Monthly Base: $",s.monthlyBase.toLocaleString()]})}),i.jsxs("div",{children:[i.jsx("h5",{className:"text-sm font-medium text-gray-700 mb-1",children:"Conditions:"}),i.jsx("ul",{className:"text-xs text-gray-600 space-y-1",children:s.conditions.map((l,a)=>i.jsxs("li",{className:"flex items-center gap-1",children:[i.jsx("div",{className:"w-1 h-1 bg-gray-400 rounded-full"}),l]},a))})]}),i.jsxs("div",{children:[i.jsx("h5",{className:"text-sm font-medium text-gray-700 mb-1",children:"Typical Clients:"}),i.jsx("div",{className:"flex flex-wrap gap-1",children:s.affectedParties.map((l,a)=>i.jsx(St,{variant:"secondary",className:"text-xs",children:l},a))})]})]})})]},o))})})]}),i.jsxs(J,{children:[i.jsxs(ge,{children:[i.jsx(ye,{children:"Service Provider Category Impact"}),i.jsx(Ut,{children:"How different service provider types affect pricing calculations"})]}),i.jsx(ee,{children:i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full border-collapse",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"border-b",children:[i.jsx("th",{className:"text-left p-3 font-medium",children:"Category"}),i.jsx("th",{className:"text-left p-3 font-medium",children:"Average Invoice Range"}),i.jsx("th",{className:"text-left p-3 font-medium",children:"Typical Volume"}),i.jsx("th",{className:"text-left p-3 font-medium",children:"Revenue Impact"})]})}),i.jsx("tbody",{children:r.map((s,o)=>i.jsxs("tr",{className:"border-b hover:bg-gray-50",children:[i.jsx("td",{className:"p-3 font-medium",children:s.name}),i.jsx("td",{className:"p-3 text-gray-600",children:s.averageInvoice}),i.jsx("td",{className:"p-3",children:i.jsx(St,{variant:s.volume==="Very High"?"default":s.volume==="High"?"secondary":"outline",children:s.volume})}),i.jsx("td",{className:"p-3 text-gray-600",children:s.impact})]},o))})]})})})]})]})}),i.jsx(Kr,{value:"conditions",className:"mt-6",children:i.jsx("div",{className:"space-y-6",children:i.jsxs(J,{children:[i.jsxs(ge,{children:[i.jsx(ye,{children:"Pricing Conditions & Rules"}),i.jsx(Ut,{children:"Comprehensive rules governing Flex Plus⢠pricing application"})]}),i.jsx(ee,{children:i.jsxs(E2,{type:"single",collapsible:!0,className:"w-full",children:[i.jsxs(vo,{value:"eligibility",children:[i.jsx(go,{children:"Client Eligibility Requirements"}),i.jsxs(yo,{className:"space-y-3",children:[i.jsxs("div",{className:"bg-green-50 p-4 rounded-lg",children:[i.jsx("h5",{className:"font-medium text-green-800 mb-2",children:"Eligible Clients:"}),i.jsxs("ul",{className:"space-y-1 text-sm text-green-700",children:[i.jsx("li",{children:"⢠Active VIP Connect Core subscribers"}),i.jsx("li",{children:"⢠Minimum 6-month commitment"}),i.jsx("li",{children:"⢠Monthly invoice volume of 50+ invoices"}),i.jsx("li",{children:"⢠Completed operational assessment"})]})]}),i.jsxs("div",{className:"bg-red-50 p-4 rounded-lg",children:[i.jsx("h5",{className:"font-medium text-red-800 mb
237-2",children:"Ineligible Clients:"}),i.jsxs("ul",{className:"space-y-1 text-sm text-red-700",children:[i.jsx("li",{children:"⢠Trial or pilot accounts"}),i.jsx("li",{children:"⢠Clients with outstanding payment issues"}),i.jsx("li",{children:"⢠Organizations under 25 claims annually"})]})]})]})]}),i.jsxs(vo,{value:"calculation-rules",children:[i.jsx(go,{children:"Calculation Rules & Methodology"}),i.jsxs(yo,{className:"space-y-4",children:[i.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg",children:[i.jsx("h5",{className:"font-medium text-blue-800 mb-2",children:"Base Calculation Formula:"}),i.jsx("code",{className:"bg-blue-100 px-2 py-1 rounded text-sm",children:"Monthly Fee = Base Fee + (Total Invoice Value à Percentage Rate)"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx("h5",{className:"font-medium",children:"Key Rules:"}),i.jsxs("ul",{className:"space-y-1 text-sm text-gray-700",children:[i.jsx("li",{children:"⢠Percentage rate determined by operational maturity assessment"}),i.jsx("li",{children:"⢠Invoice values calculated using category averages"}),i.jsx("li",{children:"⢠Monthly minimums apply to each tier"}),i.jsx("li",{children:"⢠Annual contracts receive 10% discount"}),i.jsx("li",{children:"⢠Rates reviewed annually or upon significant operational changes"})]})]})]})]}),i.jsxs(vo,{value:"tier-transitions",children:[i.jsx(go,{children:"Tier Transitions & Upgrades"}),i.jsx(yo,{className:"space-y-3",children:i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"bg-purple-50 p-4 rounded-lg",children:[i.jsx("h5",{className:"font-medium text-purple-800 mb-2",children:"Upgrade Triggers:"}),i.jsxs("ul",{className:"space-y-1 text-sm text-purple-700",children:[i.jsx("li",{children:"⢠Automation implementation"}),i.jsx("li",{children:"⢠Process standardization"}),i.jsx("li",{children:"⢠Integration improvements"}),i.jsx("li",{children:"⢠Volume growth (50%+ increase)"})]})]}),i.jsxs("div",{className:"bg-orange-50 p-4 rounded-lg",children:[i.jsx("h5",{className:"font-medium text-orange-800 mb-2",children:"Downgrade Conditions:"}),i.jsxs("ul",{className:"space-y-1 text-sm text-orange-700",children:[i.jsx("li",{children:"⢠Automation removal"}),i.jsx("li",{children:"⢠Process regression"}),i.jsx("li",{children:"⢠Significant volume decrease"}),i.jsx("li",{children:"⢠Client request (with assessment)"})]})]})]})})]}),i.jsxs(vo,{value:"exceptions",children:[i.jsx(go,{children:"Exceptions & Special Cases"}),i.jsxs(yo,{className:"space-y-3",children:[i.jsxs("div",{className:"bg-yellow-50 p-4 rounded-lg",children:[i.jsx("h5",{className:"font-medium text-yellow-800 mb-2",children:"When to Escalate:"}),i.jsxs("ul",{className:"space-y-1 text-sm text-yellow-700",children:[i.jsx("li",{children:"⢠Client requests below minimum pricing"}),i.jsx("li",{children:"⢠Unique operational circumstances"}),i.jsx("li",{children:"⢠Large enterprise custom requirements"}),i.jsx("li",{children:"⢠Multi-year strategic partnerships"})]})]}),i.jsxs("p",{className:"text-sm text-gray-600",children:[i.jsx("strong",{children:"Escalation Path:"})," Account Manager â Sales Manager â VP Sales â CEO (for strategic accounts)"]})]})]})]})})]})})}),i.jsx(Kr,{value:"calculations",className:"mt-6",children:i.jsx("div",{className:"space-y-6",children:i.jsxs(J,{children:[i.jsxs(ge,{children:[i.jsx(ye,{children:"Calculation Examples"}),i.jsx(Ut,{children:"Step-by-step examples of Flex Plus⢠pricing calculations"})]}),i.jsxs(ee,{className:"space-y-6",children:[i.jsxs("div",{className:"bg-gray-50 p-6 rounded-lg",children:[i.jsx("h4",{className:"font-semibold mb-4",children:"Example 1: Mid-Size Law Firm"}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[i.jsxs("div",{children:[i.jsx("h5",{className:"font-medium mb-2",children:"Client Profile:"}),i.jsxs("ul",{className:"text-sm space-y-1",children:[i.jsx("li",{children:"⢠Maturity Level: Proactive (3.0%)"}),i.jsx("li",{children:"⢠Monthly Volume: 150 invoices"}),i.jsx("li",{children:"⢠Service Mix:"}),i.jsx("li",{className:"ml-4",children:"- Legal Services: 50 invoices @ $2,500 avg"}
vendor: 6,231 bytes, line 237
237),i.jsx("li",{className:"ml-4",children:"- Engineering: 75 invoices @ $3,200 avg"}),i.jsx("li",{className:"ml-4",children:"- Medical: 25 invoices @ $800 avg"})]})]}),i.jsxs("div",{children:[i.jsx("h5",{className:"font-medium mb-2",children:"Calculation:"}),i.jsxs("div",{className:"text-sm space-y-1 font-mono bg-white p-3 rounded",children:[i.jsx("div",{children:"Legal: 50 à $2,500 = $125,000"}),i.jsx("div",{children:"Engineering: 75 à $3,200 = $240,000"}),i.jsx("div",{children:"Medical: 25 à $800 = $20,000"}),i.jsx("div",{className:"border-t pt-1",children:"Total Value: $385,000"}),i.jsx("div",{children:"Base Fee: $7,500"}),i.jsx("div",{children:"Variable Fee: $385,000 à 3.0% = $11,550"}),i.jsx("div",{className:"border-t pt-1 font-bold",children:"Monthly Total: $19,050"})]})]})]})]}),i.jsxs("div",{className:"bg-gray-50 p-6 rounded-lg",children:[i.jsx("h4",{className:"font-semibold mb-4",children:"Example 2: Small Independent Practice"}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[i.jsxs("div",{children:[i.jsx("h5",{className:"font-medium mb-2",children:"Client Profile:"}),i.jsxs("ul",{className:"text-sm space-y-1",children:[i.jsx("li",{children:"⢠Maturity Level: Reactive (4.0%)"}),i.jsx("li",{children:"⢠Monthly Volume: 75 invoices"}),i.jsx("li",{children:"⢠Service Mix:"}),i.jsx("li",{className:"ml-4",children:"- Legal Services: 60 invoices @ $1,800 avg"}),i.jsx("li",{className:"ml-4",children:"- Investigation: 15 invoices @ $1,200 avg"})]})]}),i.jsxs("div",{children:[i.jsx("h5",{className:"font-medium mb-2",children:"Calculation:"}),i.jsxs("div",{className:"text-sm space-y-1 font-mono bg-white p-3 rounded",children:[i.jsx("div",{children:"Legal: 60 à $1,800 = $108,000"}),i.jsx("div",{children:"Investigation: 15 à $1,200 = $18,000"}),i.jsx("div",{className:"border-t pt-1",children:"Total Value: $126,000"}),i.jsx("div",{children:"Base Fee: $2,500"}),i.jsx("div",{children:"Variable Fee: $126,000 à 4.0% = $5,040"}),i.jsx("div",{className:"border-t pt-1 font-bold",children:"Monthly Total: $7,540"})]})]})]})]}),i.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg",children:[i.jsx("h5",{className:"font-medium text-blue-800 mb-2",children:"Quick Reference Tools:"}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 text-sm",children:[i.jsxs("div",{children:[i.jsx("strong",{children:"Effective Rate Calculator:"}),i.jsx("br",{}),"Fee per invoice ÷ Average invoice amount à 100"]}),i.jsxs("div",{children:[i.jsx("strong",{children:"Annual Pricing:"}),i.jsx("br",{}),"Monthly total à 12 à 0.9 (10% annual discount)"]}),i.jsxs("div",{children:[i.jsx("strong",{children:"ROI Estimation:"}),i.jsx("br",{}),"Client savings from efficiency gains vs. fee increase"]})]})]})]})]})})}),i.jsx(Kr,{value:"training",className:"mt-6",children:i.jsxs("div",{className:"space-y-6",children:[i.jsxs(J,{children:[i.jsxs(ge,{children:[i.jsx(ye,{children:"Training & Certification Guide"}),i.jsx(Ut,{children:"Complete training program for VIP Software team members and partners"})]}),i.jsxs(ee,{className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsx("h4",{className:"font-semibold",children:"For Sales Team:"}),i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"bg-green-50 p-3 rounded",children:[i.jsx("h5",{className:"font-medium text-green-800",children:"Module 1: Pricing Philosophy"}),i.jsx("p",{className:"text-sm text-green-700",children:"Understanding value-based pricing principles"})]}),i.jsxs("div",{className:"bg-green-50 p-3 rounded",children:[i.jsx("h5",{className:"font-medium text-green-800",children:"Module 2: Client Assessment"}),i.jsx("p",{className:"text-sm text-green-700",children:"How to evaluate client maturity and complexity"})]}),i.jsxs("div",{className:"bg-green-50 p-3 rounded",children:[i.jsx("h5",{className:"font-medium text-green-800",children:"Module 3: Pricing Presentation"}),i.jsx("p",{className:"text-sm text-green-700",children:"Presenting Flex Plus⢠value to prospects"})]})]})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsx("h4",{className:"font-semibold",children:"For Implementation Team:"}),i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"bg-blue-50 p-3 rounded",children:[i.jsx("h5",{className:"font-medium text-blue-800",children:"Module 1: Technical Assessment"}),i.jsx("p",{className:"text-sm text-blue-700",children:"Evaluating client systems and processes"})]}),i.jsxs("div",{className:"bg-blue-50 p-3 rounded",children:[i.jsx("h5",{className:"font-medium text-blue-800",children:"Module 2: Optimization Planning"}),i.jsx("p",{className:"text-sm text-blue-700",children:"Creating roadmaps for tier advancement"})]}),i.jsxs("div",{className:"bg-blue-50 p-3 rounded",children:[i.jsx("h5",{className:"font-medium text-blue-800",children:"Module 3: ROI Demonstration"}),i.jsx("p",{className:"text-sm text-blue-700",children:"Measuring and reporting efficiency gains"})]})]})]})]}),i.jsxs("div",{className:"bg-purple-50 p-6 rounded-lg",children:[i.jsx("h4",{className:"font-semibold text-purple-800 mb-4",children:"Certification Requirements"}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[i.jsxs("div",{children:[i.jsx("h5",{className:"font-medium mb-2",children:"Written Assessment:"}),i.jsxs("ul",{className:"text-sm space-y-1",children:[i.jsx("li",{children:"⢠Pricing methodology (25 questions)"}),i.jsx("li",{children:"⢠Calculation scenarios (10 problems)"}),i.jsx("li",{children:"⢠Conditions and exceptions (15 questions)"}),i.jsx("li",{children:"⢠Minimum passing score: 85%"})]})]}),i.jsxs("div",{children:[i.jsx("h5",{className:"font-medium mb-2",children:"Practical Exercise:"}),i.jsxs("ul",{className:"text-sm space-y-1",children:[i.jsx("li",{children:"⢠Role-play client presentation"}),i.jsx("li",{children:"⢠Complete pricing calculation"}),i.jsx("li",{children:"⢠Handle objections and questions"}),i.jsx("li",{children:"⢠Demonstrate tier advancement planning"})]})]})]})]}),i.jsxs("div",{className:"bg-yellow-50 p-4 rounded-lg",children:[i.jsx("h5",{className:"font-medium text-yellow-800 mb
237-2",children:"Ongoing Education:"}),i.jsxs("ul",{className:"text-sm text-yellow-700 space-y-1",children:[i.jsx("li",{children:"⢠Quarterly pricing updates and adjustments"}),i.jsx("li",{children:"⢠New service category additions"}),i.jsx("li",{children:"⢠Market condition impacts"}),i.jsx("li",{children:"⢠Client success stories and case studies"})]})]})]})]}),i.jsxs(J,{children:[i.jsx(ge,{children:i.jsx(ye,{children:"Quick Reference Resources"})}),i.jsx(ee,{children:i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[i.jsxs(Ne,{variant:"outline",className:"h-20 flex flex-col",children:[i.jsx(_r,{className:"h-6 w-6 mb-2"}),i.jsx("span",{children:"Pricing Calculator"})]}),i.jsxs(Ne,{variant:"outline",className:"h-20 flex flex-col",children:[i.jsx(gu,{className:"h-6 w-6 mb-2"}),i.jsx("span",{children:"Knowledge Base"})]}),i.jsxs(Ne,{variant:"outline",className:"h-20 flex flex-col",children:[i.jsx(Qp,{className:"h-6 w-6 mb-2"}),i.jsx("span",{children:"Support Team"})]})]})})]})]})})]})]})}function k2(){const e=[{type:"Building Materials Valuation",benchmark:150,flexPlusPrice:.66},{type:"Ladder Assist",benchmark:75,flexPlusPrice:.33},{type:"Engineering",benchmark:375,flexPlusPrice:1.6500000000000001},{type:"Aerial Imagery",benchmark:125,flexPlusPrice:.55},{type:"Legal",benchmark:650,flexPlusPrice:2.8600000000000003}],t=r=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2}).format(r),n=async()=>{try{const r=await fetch("/api/generate-bap-pricing-pdf");if(!r.ok)throw new Error("Failed to generate PDF");const s=await r.text(),o=window.open("","_blank");o&&(o.document.write(s),o.document.close(),o.onload=()=>{setTimeout(()=>{o.print()},500)})}catch(r){console.error("Error downloading PDF:",r),alert("Failed to generate PDF. Please try again.")}};return i.jsxs("div",{className:"container mx-auto px-6 py-8 max-w-7xl",children:[i.jsxs("div",{className:"mb-8",children:[i.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[i.jsx(hr,{className:"h-8 w-8 text-blue-600"}),i.jsxs("div",{children:[i.jsx("h1",{className:"text-3xl font-bold text-gray-900",children:"BAP⢠FlexPlus Pricing"}),i.jsx("p",{className:"text-gray-600",children:"Published pricing for mainstream service provider types"}),i.jsx("p",{className:"text-lg font-medium text-blue-700 mt-2",children:"Over 45 unique catastrophe events have been processed through BAP⢠by VIP Software"})]})]}),i.jsxs("div",{className:"bg-blue-50 border-l-4 border-blue-400 p-4 rounded-r-lg",children:[i.jsxs("div",{className:"flex items-center mb-2",children:[i.jsx(_r,{className:"h-5 w-5 text-blue-400 mr-2"}),i.jsx("h3",{className:"font-semibold text-blue-800",children:"Pricing Methodology"})]}),i.jsx("p",{className:"text-blue-800 text-sm",children:"FlexPlus pricing provides transparent and consistent rates across all service provider categories. All pricing is based on established mimia⢠benchmark values for industry-standard service types."}),i.jsx("div",{className:"mt-4",children:i.jsxs(Ne,{onClick:n,className:"bg-blue-600 hover:bg-blue-700",children:[i.jsx(Hg,{className:"mr-2 h-4 w-4"}),"Download PDF Report"]})})]})]}),i.jsxs(J,{className:"mb-8",children:[i.jsx(ge,{children:i.jsxs(ye,{className:"flex items-center gap-2",children:[i.jsx(Pl,{className:"h-5 w-5"}),"FlexPlus Published Pricing Chart"]})}),i.jsx(ee,{children:i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full border-collapse",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"border-b-2 border-gray-200",children:[i.jsx("th",{className:"text-left py-4 px-4 font-semibold text-gray-900",children:"Service Provider Type"}),i.jsx("th",{className:"text-right py-4 px-4 font-semibold text-gray-900",children:"Benchmark Pricing (mimiaâ¢)"}),i.jsx("th",{className:"text-right py-4 px-4 font-semibold text-gray-900",children:"FlexPlus Price"})]})}),i.jsx("tbody",{children:e.map((r,s)=>i.jsxs("tr",{className:"border-b border-gray-100 hover:bg-gray-50",children:[i.jsx("td",{className:"py-4 px-4 font-medium text-gray-900",children:r.type}),i.jsx("td",{className:"py-4 px-4 text-right text-gray-700 font-mono",children:t(r.benchmark)}),i.jsx("td",{className:"py-4 px-4 text-right font-semibold text-blue-600 font-mono",children:t(r.flexPlusPrice)})]},s))})]})})})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-8",children:[i.jsx(J,{children:i.jsxs(ee,{className:"p-6 text-center",children:[i.jsx("div",{className:"text-2xl font-bold text-blue-600 mb-2",children:"45+"}),i.jsx("div",{className:"text-sm text-gray-600",children:"Unique Categories"}),i.jsx("p",{className:"text-xs text-gray-500 mt-2",children:"Service provider types supported"})]})}),i.jsx(J,{children:i.jsxs(ee,{className:"p-6 text-center",children:[i.jsx("div",{className:"text-2xl font-bold text-green-600 mb-2",children:t(e.reduce((r,s)=>r+s.benchmark,0)/e.length)}),i.jsx("div",{className:"text-sm text-gray-600",children:"Average Benchmark"}),i.jsx("p",{className:"text-xs text-gray-500 mt-2",children:"Across all service types"})]})}),i.jsx(J,{children:i.jsxs(ee,{className:"p-6 text-center",children:[i.jsx("div",{className:"text-2xl font-bold text-purple-600 mb-2",children:t(e.reduce((r,s)=>r+s.flexPlusPrice,0)/e.length)}),i.jsx("div",{className:"text-sm text-gray-600",children:"Average FlexPlus"}),i.jsx("p",{className:"text-xs text-gray-500 mt-2",children:"Calculated fee per service"})]})})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-1 gap-6 mb-8 max-w-2xl mx-auto",children:i.jsx(J,{className:"bg-gradient-to-br from-blue-50 to-indigo-50 border-blue-200",children:i.jsxs(ee,{className:"p-6",children:[i.jsxs("div",{className:"mb-4",children:[i.jsx("div",{className:"text-3xl text-blue-600 mb-2",children:'"'}),i.jsx("p",{className:"text-gray-800 italic text-sm leading-relaxed",children:"Easy to implement, the simplest solution we've rolled out, and required very little operational time."})]}),i.jsx("div",{className:"text-right",children:i.jsx("p",{className:"text-blue-700 font-semibold text-sm",children:"â Top 10 Insurance Carrier"})})]})})}),i.jsxs(J,{children:[i.jsx(ge,{children:i.jsx(ye,{children:"Key Information"})}),i.jsxs(ee,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-2",children:"Pricing Structure"}),i.jsxs("ul",{className:"text-sm text-gray-700 space-y-1",children:[i.jsx("li",{children:"⢠Transparent pricing across all categories"}),i.jsx("li",{children:"⢠Based on established mimia⢠benchmark pricing"}),i.jsx("li",{children:"⢠No hidden fees or variable rates"}),i.jsx("li",{children:"⢠Consistent pricing for all BAP⢠clients"})]})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-2",children:"Service Categories"}),i.jsxs("ul",{className:"text-sm text-gray-700 space-y-1",children:[i.jsx("li",{children:"⢠Covers mainstream service provider types"}),i.jsx("li",{children:"⢠Industry-standard benchmark pricing"}),i.jsx("li",{children:"⢠Regular pricing updates and reviews"}),i.jsx("li",{children:"⢠Scalable across all client sizes"})]})]})]}),i.jsx("div",{className:"bg-gray-50 p-4 rounded-lg",children:i.jsxs("p",{className:"text-sm text-gray-700",children:[i.jsx("strong",{children:"Note:"})," This pricing applies to BAP⢠clients using VIP Software's carrier-focused solutions. FlexPlus pricing provides predictable costs while maintaining service quality and vendor network optimization."]})})]})]})]})}function T2(){return i.jsxs(BS,{children:[i.jsx(io,{path:"/",component:bP}),i.jsx(io,{path:"/flex-plus-calculator",component:WP}),i.jsx(io,{path:"/vip-connect-core/knowledge",component:P2}),i.jsx(io,{path:"/bap",component:k2}),i.jsx(io,{component:NP})]})}function R2(){return i.jsx(aj,{client:Sj,children:i.jsxs($N,{children:[i.jsx(pb,{}),i.jsx(T2,{})]})})}$v(document.getElementById("root")).render(i.jsx(R2,{}));
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.